@maggioli-design-system/mds-progress 2.6.1 → 2.6.2

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 (41) hide show
  1. package/dist/cjs/{index-91e137c8.js → index-4c39a7df.js} +72 -7
  2. package/dist/cjs/loader.cjs.js +1 -1
  3. package/dist/cjs/mds-progress.cjs.entry.js +1 -1
  4. package/dist/cjs/mds-progress.cjs.js +2 -2
  5. package/dist/collection/collection-manifest.json +2 -2
  6. package/dist/collection/common/keyboard-manager.js +2 -2
  7. package/dist/documentation.json +3 -3
  8. package/dist/esm/{index-fbed50ee.js → index-84dce283.js} +72 -7
  9. package/dist/esm/loader.js +2 -2
  10. package/dist/esm/mds-progress.entry.js +1 -1
  11. package/dist/esm/mds-progress.js +3 -3
  12. package/dist/esm-es5/index-84dce283.js +1 -0
  13. package/dist/esm-es5/loader.js +1 -1
  14. package/dist/esm-es5/mds-progress.entry.js +1 -1
  15. package/dist/esm-es5/mds-progress.js +1 -1
  16. package/dist/mds-progress/mds-progress.esm.js +1 -1
  17. package/dist/mds-progress/mds-progress.js +1 -1
  18. package/{www/build/p-0f4e300d.entry.js → dist/mds-progress/p-1ab5e470.entry.js} +1 -1
  19. package/dist/mds-progress/p-576b3fa7.js +2 -0
  20. package/dist/mds-progress/p-a257dbdb.system.js +2 -0
  21. package/dist/mds-progress/{p-bce00c63.system.entry.js → p-aeb5044e.system.entry.js} +1 -1
  22. package/dist/mds-progress/p-f0741149.system.js +1 -0
  23. package/dist/stats.json +26 -24
  24. package/dist/types/stencil-public-runtime.d.ts +19 -0
  25. package/documentation.json +3 -3
  26. package/package.json +1 -1
  27. package/src/common/keyboard-manager.ts +2 -2
  28. package/www/build/mds-progress.esm.js +1 -1
  29. package/www/build/mds-progress.js +1 -1
  30. package/{dist/mds-progress/p-0f4e300d.entry.js → www/build/p-1ab5e470.entry.js} +1 -1
  31. package/www/build/p-576b3fa7.js +2 -0
  32. package/www/build/p-a257dbdb.system.js +2 -0
  33. package/www/build/{p-bce00c63.system.entry.js → p-aeb5044e.system.entry.js} +1 -1
  34. package/www/build/p-f0741149.system.js +1 -0
  35. package/dist/esm-es5/index-fbed50ee.js +0 -2
  36. package/dist/mds-progress/p-83f968eb.js +0 -2
  37. package/dist/mds-progress/p-e8e08781.system.js +0 -2
  38. package/dist/mds-progress/p-fdd5b8c4.system.js +0 -1
  39. package/www/build/p-83f968eb.js +0 -2
  40. package/www/build/p-e8e08781.system.js +0 -2
  41. package/www/build/p-fdd5b8c4.system.js +0 -1
@@ -954,6 +954,10 @@ const updateComponent = async (hostRef, instance, isInitialLoad) => {
954
954
  */
955
955
  const callRender = (hostRef, instance, elm, isInitialLoad) => {
956
956
  try {
957
+ /**
958
+ * minification optimization: `allRenderFn` is `true` if all components have a `render`
959
+ * method, so we can call the method immediately. If not, check before calling it.
960
+ */
957
961
  instance = instance.render() ;
958
962
  {
959
963
  hostRef.$flags$ &= ~16 /* HOST_FLAGS.isQueuedForUpdate */;
@@ -1023,6 +1027,16 @@ const appDidLoad = (who) => {
1023
1027
  }
1024
1028
  nextTick(() => emitEvent(win, 'appload', { detail: { namespace: NAMESPACE } }));
1025
1029
  };
1030
+ /**
1031
+ * Allows to safely call a method, e.g. `componentDidLoad`, on an instance,
1032
+ * e.g. custom element node. If a build figures out that e.g. no component
1033
+ * has a `componentDidLoad` method, the instance method gets removed from the
1034
+ * output bundle and this function returns `undefined`.
1035
+ * @param instance any object that may or may not contain methods
1036
+ * @param method method name
1037
+ * @param arg single arbitrary argument
1038
+ * @returns result of method call if it exists, otherwise `undefined`
1039
+ */
1026
1040
  const safeCall = (instance, method, arg) => {
1027
1041
  if (instance && instance[method]) {
1028
1042
  try {
@@ -1213,7 +1227,18 @@ const proxyComponent = (Cstr, cmpMeta, flags) => {
1213
1227
  }
1214
1228
  return Cstr;
1215
1229
  };
1216
- const initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId, Cstr) => {
1230
+ /**
1231
+ * Initialize a Stencil component given a reference to its host element, its
1232
+ * runtime bookkeeping data structure, runtime metadata about the component,
1233
+ * and (optionally) an HMR version ID.
1234
+ *
1235
+ * @param elm a host element
1236
+ * @param hostRef the element's runtime bookkeeping object
1237
+ * @param cmpMeta runtime metadata for the Stencil component
1238
+ * @param hmrVersionId an (optional) HMR version ID
1239
+ */
1240
+ const initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
1241
+ let Cstr;
1217
1242
  // initializeComponent
1218
1243
  if ((hostRef.$flags$ & 32 /* HOST_FLAGS.hasInitializedComponent */) === 0) {
1219
1244
  // Let the runtime know that the component has been initialized
@@ -1461,22 +1486,49 @@ const bootstrapLazy = (lazyBundles, options = {}) => {
1461
1486
  * @returns void
1462
1487
  */
1463
1488
  const setNonce = (nonce) => (plt.$nonce$ = nonce);
1489
+ /**
1490
+ * A WeakMap mapping runtime component references to their corresponding host reference
1491
+ * instances.
1492
+ */
1464
1493
  const hostRefs = /*@__PURE__*/ new WeakMap();
1494
+ /**
1495
+ * Given a {@link d.RuntimeRef} retrieve the corresponding {@link d.HostRef}
1496
+ *
1497
+ * @param ref the runtime ref of interest
1498
+ * @returns the Host reference (if found) or undefined
1499
+ */
1465
1500
  const getHostRef = (ref) => hostRefs.get(ref);
1501
+ /**
1502
+ * Register a lazy instance with the {@link hostRefs} object so it's
1503
+ * corresponding {@link d.HostRef} can be retrieved later.
1504
+ *
1505
+ * @param lazyInstance the lazy instance of interest
1506
+ * @param hostRef that instances `HostRef` object
1507
+ * @returns a reference to the host ref WeakMap
1508
+ */
1466
1509
  const registerInstance = (lazyInstance, hostRef) => hostRefs.set((hostRef.$lazyInstance$ = lazyInstance), hostRef);
1467
- const registerHost = (elm, cmpMeta) => {
1510
+ /**
1511
+ * Register a host element for a Stencil component, setting up various metadata
1512
+ * and callbacks based on {@link BUILD} flags as well as the component's runtime
1513
+ * metadata.
1514
+ *
1515
+ * @param hostElement the host element to register
1516
+ * @param cmpMeta runtime metadata for that component
1517
+ * @returns a reference to the host ref WeakMap
1518
+ */
1519
+ const registerHost = (hostElement, cmpMeta) => {
1468
1520
  const hostRef = {
1469
1521
  $flags$: 0,
1470
- $hostElement$: elm,
1522
+ $hostElement$: hostElement,
1471
1523
  $cmpMeta$: cmpMeta,
1472
1524
  $instanceValues$: new Map(),
1473
1525
  };
1474
1526
  {
1475
1527
  hostRef.$onReadyPromise$ = new Promise((r) => (hostRef.$onReadyResolve$ = r));
1476
- elm['s-p'] = [];
1477
- elm['s-rc'] = [];
1528
+ hostElement['s-p'] = [];
1529
+ hostElement['s-rc'] = [];
1478
1530
  }
1479
- return hostRefs.set(elm, hostRef);
1531
+ return hostRefs.set(hostElement, hostRef);
1480
1532
  };
1481
1533
  const isMemberInElement = (elm, memberName) => memberName in elm;
1482
1534
  const consoleError = (e, el) => (0, console.error)(e, el);
@@ -1489,7 +1541,20 @@ const loadModule = (cmpMeta, hostRef, hmrVersionId) => {
1489
1541
  if (module) {
1490
1542
  return module[exportName];
1491
1543
  }
1492
- /*!__STENCIL_STATIC_IMPORT_SWITCH__*/
1544
+
1545
+ if (!hmrVersionId || !BUILD.hotModuleReplacement) {
1546
+ const processMod = importedModule => {
1547
+ cmpModules.set(bundleId, importedModule);
1548
+ return importedModule[exportName];
1549
+ }
1550
+ switch(bundleId) {
1551
+
1552
+ case 'mds-progress.cjs':
1553
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
1554
+ /* webpackMode: "lazy" */
1555
+ './mds-progress.cjs.entry.js')); }).then(processMod, consoleError);
1556
+ }
1557
+ }
1493
1558
  return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
1494
1559
  /* @vite-ignore */
1495
1560
  /* webpackInclude: /\.entry\.js$/ */
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-91e137c8.js');
5
+ const index = require('./index-4c39a7df.js');
6
6
 
7
7
  const defineCustomElements = (win, options) => {
8
8
  if (typeof window === 'undefined') return undefined;
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-91e137c8.js');
5
+ const index = require('./index-4c39a7df.js');
6
6
 
7
7
  const mdsProgressCss = "@tailwind utilities; :host{--mds-progress-background:rgb(var(--tone-neutral-08));--mds-progress-color:rgb(var(--brand-maggioli-03));--mds-progress-duration:750ms;--mds-progress-radius:0.5rem;--mds-progress-thickness:0.5rem;-webkit-transition-property:color, background-color, border-color, fill, stroke, -webkit-text-decoration-color;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-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transition-duration:150ms;transition-duration:150ms;background-color:var(--mds-progress-background);border-radius:var(--mds-progress-radius);display:-ms-flexbox;display:flex;height:var(--mds-progress-thickness);min-width:var(--mds-progress-thickness);overflow:hidden;width:100%}:host([direction=\"vertical\"]){-ms-flex-direction:column;flex-direction:column;height:unset;min-height:var(--mds-progress-thickness);width:var(--mds-progress-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(--mds-progress-color);border-radius:var(--mds-progress-radius);-webkit-transition-duration:var(--mds-progress-duration);transition-duration:var(--mds-progress-duration);-webkit-transition-property:background-color, flex-grow;transition-property:background-color, flex-grow;transition-property:background-color, flex-grow, -ms-flex-positive}.fixed{position:fixed}.absolute{position:absolute}.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\"]){--mds-progress-color:rgb(var(--tone-neutral-04));--mds-progress-background:rgb(var(--tone-neutral-08))}:host([variant=\"light\"]){--mds-progress-color:rgb(var(--tone-neutral));--mds-progress-background:rgb(var(--tone-neutral-05))}:host([variant=\"error\"]){--mds-progress-color:rgb(var(--status-error-06));--mds-progress-background:rgb(var(--status-error-09))}:host([variant=\"warning\"]){--mds-progress-color:rgb(var(--status-warning-06));--mds-progress-background:rgb(var(--status-warning-09))}:host([variant=\"success\"]){--mds-progress-color:rgb(var(--status-success-06));--mds-progress-background:rgb(var(--status-success-09))}:host([variant=\"info\"]){--mds-progress-color:rgb(var(--status-info-06));--mds-progress-background:rgb(var(--status-info-09))}:host([variant=\"primary\"]){--mds-progress-color:rgb(var(--brand-maggioli-03));--mds-progress-background:rgb(var(--tone-neutral-08))}";
8
8
 
@@ -2,10 +2,10 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-91e137c8.js');
5
+ const index = require('./index-4c39a7df.js');
6
6
 
7
7
  /*
8
- Stencil Client Patch Browser v4.3.0 | MIT Licensed | https://stenciljs.com
8
+ Stencil Client Patch Browser v4.5.0 | MIT Licensed | https://stenciljs.com
9
9
  */
10
10
  const patchBrowser = () => {
11
11
  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": "4.3.0",
8
- "typescriptVersion": "5.1.6"
7
+ "version": "4.5.0",
8
+ "typescriptVersion": "5.2.2"
9
9
  },
10
10
  "collections": [],
11
11
  "bundles": []
@@ -26,13 +26,13 @@ export class KeyboardManager {
26
26
  };
27
27
  this.attachEscapeBehavior = (callBack) => {
28
28
  this.escapeCallback = callBack;
29
- if (typeof window !== undefined) {
29
+ if (window !== undefined) {
30
30
  window.addEventListener('keydown', this.handleEscapeBehaviorDispatchEvent.bind(this));
31
31
  }
32
32
  };
33
33
  this.detachEscapeBehavior = () => {
34
34
  this.escapeCallback = () => { return; };
35
- if (typeof window !== undefined) {
35
+ if (window !== undefined) {
36
36
  window.removeEventListener('keydown', this.handleEscapeBehaviorDispatchEvent.bind(this));
37
37
  }
38
38
  };
@@ -1,9 +1,9 @@
1
1
  {
2
- "timestamp": "2023-09-27T11:27:42",
2
+ "timestamp": "2023-10-19T09:57:20",
3
3
  "compiler": {
4
4
  "name": "@stencil/core",
5
- "version": "4.3.0",
6
- "typescriptVersion": "5.1.6"
5
+ "version": "4.5.0",
6
+ "typescriptVersion": "5.2.2"
7
7
  },
8
8
  "components": [
9
9
  {
@@ -932,6 +932,10 @@ const updateComponent = async (hostRef, instance, isInitialLoad) => {
932
932
  */
933
933
  const callRender = (hostRef, instance, elm, isInitialLoad) => {
934
934
  try {
935
+ /**
936
+ * minification optimization: `allRenderFn` is `true` if all components have a `render`
937
+ * method, so we can call the method immediately. If not, check before calling it.
938
+ */
935
939
  instance = instance.render() ;
936
940
  {
937
941
  hostRef.$flags$ &= ~16 /* HOST_FLAGS.isQueuedForUpdate */;
@@ -1001,6 +1005,16 @@ const appDidLoad = (who) => {
1001
1005
  }
1002
1006
  nextTick(() => emitEvent(win, 'appload', { detail: { namespace: NAMESPACE } }));
1003
1007
  };
1008
+ /**
1009
+ * Allows to safely call a method, e.g. `componentDidLoad`, on an instance,
1010
+ * e.g. custom element node. If a build figures out that e.g. no component
1011
+ * has a `componentDidLoad` method, the instance method gets removed from the
1012
+ * output bundle and this function returns `undefined`.
1013
+ * @param instance any object that may or may not contain methods
1014
+ * @param method method name
1015
+ * @param arg single arbitrary argument
1016
+ * @returns result of method call if it exists, otherwise `undefined`
1017
+ */
1004
1018
  const safeCall = (instance, method, arg) => {
1005
1019
  if (instance && instance[method]) {
1006
1020
  try {
@@ -1191,7 +1205,18 @@ const proxyComponent = (Cstr, cmpMeta, flags) => {
1191
1205
  }
1192
1206
  return Cstr;
1193
1207
  };
1194
- const initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId, Cstr) => {
1208
+ /**
1209
+ * Initialize a Stencil component given a reference to its host element, its
1210
+ * runtime bookkeeping data structure, runtime metadata about the component,
1211
+ * and (optionally) an HMR version ID.
1212
+ *
1213
+ * @param elm a host element
1214
+ * @param hostRef the element's runtime bookkeeping object
1215
+ * @param cmpMeta runtime metadata for the Stencil component
1216
+ * @param hmrVersionId an (optional) HMR version ID
1217
+ */
1218
+ const initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
1219
+ let Cstr;
1195
1220
  // initializeComponent
1196
1221
  if ((hostRef.$flags$ & 32 /* HOST_FLAGS.hasInitializedComponent */) === 0) {
1197
1222
  // Let the runtime know that the component has been initialized
@@ -1439,22 +1464,49 @@ const bootstrapLazy = (lazyBundles, options = {}) => {
1439
1464
  * @returns void
1440
1465
  */
1441
1466
  const setNonce = (nonce) => (plt.$nonce$ = nonce);
1467
+ /**
1468
+ * A WeakMap mapping runtime component references to their corresponding host reference
1469
+ * instances.
1470
+ */
1442
1471
  const hostRefs = /*@__PURE__*/ new WeakMap();
1472
+ /**
1473
+ * Given a {@link d.RuntimeRef} retrieve the corresponding {@link d.HostRef}
1474
+ *
1475
+ * @param ref the runtime ref of interest
1476
+ * @returns the Host reference (if found) or undefined
1477
+ */
1443
1478
  const getHostRef = (ref) => hostRefs.get(ref);
1479
+ /**
1480
+ * Register a lazy instance with the {@link hostRefs} object so it's
1481
+ * corresponding {@link d.HostRef} can be retrieved later.
1482
+ *
1483
+ * @param lazyInstance the lazy instance of interest
1484
+ * @param hostRef that instances `HostRef` object
1485
+ * @returns a reference to the host ref WeakMap
1486
+ */
1444
1487
  const registerInstance = (lazyInstance, hostRef) => hostRefs.set((hostRef.$lazyInstance$ = lazyInstance), hostRef);
1445
- const registerHost = (elm, cmpMeta) => {
1488
+ /**
1489
+ * Register a host element for a Stencil component, setting up various metadata
1490
+ * and callbacks based on {@link BUILD} flags as well as the component's runtime
1491
+ * metadata.
1492
+ *
1493
+ * @param hostElement the host element to register
1494
+ * @param cmpMeta runtime metadata for that component
1495
+ * @returns a reference to the host ref WeakMap
1496
+ */
1497
+ const registerHost = (hostElement, cmpMeta) => {
1446
1498
  const hostRef = {
1447
1499
  $flags$: 0,
1448
- $hostElement$: elm,
1500
+ $hostElement$: hostElement,
1449
1501
  $cmpMeta$: cmpMeta,
1450
1502
  $instanceValues$: new Map(),
1451
1503
  };
1452
1504
  {
1453
1505
  hostRef.$onReadyPromise$ = new Promise((r) => (hostRef.$onReadyResolve$ = r));
1454
- elm['s-p'] = [];
1455
- elm['s-rc'] = [];
1506
+ hostElement['s-p'] = [];
1507
+ hostElement['s-rc'] = [];
1456
1508
  }
1457
- return hostRefs.set(elm, hostRef);
1509
+ return hostRefs.set(hostElement, hostRef);
1458
1510
  };
1459
1511
  const isMemberInElement = (elm, memberName) => memberName in elm;
1460
1512
  const consoleError = (e, el) => (0, console.error)(e, el);
@@ -1467,7 +1519,20 @@ const loadModule = (cmpMeta, hostRef, hmrVersionId) => {
1467
1519
  if (module) {
1468
1520
  return module[exportName];
1469
1521
  }
1470
- /*!__STENCIL_STATIC_IMPORT_SWITCH__*/
1522
+
1523
+ if (!hmrVersionId || !BUILD.hotModuleReplacement) {
1524
+ const processMod = importedModule => {
1525
+ cmpModules.set(bundleId, importedModule);
1526
+ return importedModule[exportName];
1527
+ }
1528
+ switch(bundleId) {
1529
+
1530
+ case 'mds-progress':
1531
+ return import(
1532
+ /* webpackMode: "lazy" */
1533
+ './mds-progress.entry.js').then(processMod, consoleError);
1534
+ }
1535
+ }
1471
1536
  return import(
1472
1537
  /* @vite-ignore */
1473
1538
  /* webpackInclude: /\.entry\.js$/ */
@@ -1,5 +1,5 @@
1
- import { b as bootstrapLazy } from './index-fbed50ee.js';
2
- export { s as setNonce } from './index-fbed50ee.js';
1
+ import { b as bootstrapLazy } from './index-84dce283.js';
2
+ export { s as setNonce } from './index-84dce283.js';
3
3
 
4
4
  const defineCustomElements = (win, options) => {
5
5
  if (typeof window === 'undefined') return undefined;
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h, H as Host, g as getElement } from './index-fbed50ee.js';
1
+ import { r as registerInstance, h, H as Host, g as getElement } from './index-84dce283.js';
2
2
 
3
3
  const mdsProgressCss = "@tailwind utilities; :host{--mds-progress-background:rgb(var(--tone-neutral-08));--mds-progress-color:rgb(var(--brand-maggioli-03));--mds-progress-duration:750ms;--mds-progress-radius:0.5rem;--mds-progress-thickness:0.5rem;-webkit-transition-property:color, background-color, border-color, fill, stroke, -webkit-text-decoration-color;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-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transition-duration:150ms;transition-duration:150ms;background-color:var(--mds-progress-background);border-radius:var(--mds-progress-radius);display:-ms-flexbox;display:flex;height:var(--mds-progress-thickness);min-width:var(--mds-progress-thickness);overflow:hidden;width:100%}:host([direction=\"vertical\"]){-ms-flex-direction:column;flex-direction:column;height:unset;min-height:var(--mds-progress-thickness);width:var(--mds-progress-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(--mds-progress-color);border-radius:var(--mds-progress-radius);-webkit-transition-duration:var(--mds-progress-duration);transition-duration:var(--mds-progress-duration);-webkit-transition-property:background-color, flex-grow;transition-property:background-color, flex-grow;transition-property:background-color, flex-grow, -ms-flex-positive}.fixed{position:fixed}.absolute{position:absolute}.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\"]){--mds-progress-color:rgb(var(--tone-neutral-04));--mds-progress-background:rgb(var(--tone-neutral-08))}:host([variant=\"light\"]){--mds-progress-color:rgb(var(--tone-neutral));--mds-progress-background:rgb(var(--tone-neutral-05))}:host([variant=\"error\"]){--mds-progress-color:rgb(var(--status-error-06));--mds-progress-background:rgb(var(--status-error-09))}:host([variant=\"warning\"]){--mds-progress-color:rgb(var(--status-warning-06));--mds-progress-background:rgb(var(--status-warning-09))}:host([variant=\"success\"]){--mds-progress-color:rgb(var(--status-success-06));--mds-progress-background:rgb(var(--status-success-09))}:host([variant=\"info\"]){--mds-progress-color:rgb(var(--status-info-06));--mds-progress-background:rgb(var(--status-info-09))}:host([variant=\"primary\"]){--mds-progress-color:rgb(var(--brand-maggioli-03));--mds-progress-background:rgb(var(--tone-neutral-08))}";
4
4
 
@@ -1,8 +1,8 @@
1
- import { p as promiseResolve, b as bootstrapLazy } from './index-fbed50ee.js';
2
- export { s as setNonce } from './index-fbed50ee.js';
1
+ import { p as promiseResolve, b as bootstrapLazy } from './index-84dce283.js';
2
+ export { s as setNonce } from './index-84dce283.js';
3
3
 
4
4
  /*
5
- Stencil Client Patch Browser v4.3.0 | MIT Licensed | https://stenciljs.com
5
+ Stencil Client Patch Browser v4.5.0 | MIT Licensed | https://stenciljs.com
6
6
  */
7
7
  const patchBrowser = () => {
8
8
  const importMeta = import.meta.url;
@@ -0,0 +1 @@
1
+ var __extends=this&&this.__extends||function(){var e=function(r,n){e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,r){e.__proto__=r}||function(e,r){for(var n in r)if(Object.prototype.hasOwnProperty.call(r,n))e[n]=r[n]};return e(r,n)};return function(r,n){if(typeof n!=="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");e(r,n);function t(){this.constructor=r}r.prototype=n===null?Object.create(n):(t.prototype=n.prototype,new t)}}();var __awaiter=this&&this.__awaiter||function(e,r,n,t){function a(e){return e instanceof n?e:new n((function(r){r(e)}))}return new(n||(n=Promise))((function(n,i){function o(e){try{s(t.next(e))}catch(e){i(e)}}function u(e){try{s(t["throw"](e))}catch(e){i(e)}}function s(e){e.done?n(e.value):a(e.value).then(o,u)}s((t=t.apply(e,r||[])).next())}))};var __generator=this&&this.__generator||function(e,r){var n={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},t,a,i,o;return o={next:u(0),throw:u(1),return:u(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function u(e){return function(r){return s([e,r])}}function s(u){if(t)throw new TypeError("Generator is already executing.");while(o&&(o=0,u[0]&&(n=0)),n)try{if(t=1,a&&(i=u[0]&2?a["return"]:u[0]?a["throw"]||((i=a["return"])&&i.call(a),0):a.next)&&!(i=i.call(a,u[1])).done)return i;if(a=0,i)u=[u[0]&2,i.value];switch(u[0]){case 0:case 1:i=u;break;case 4:n.label++;return{value:u[1],done:false};case 5:n.label++;a=u[1];u=[0];continue;case 7:u=n.ops.pop();n.trys.pop();continue;default:if(!(i=n.trys,i=i.length>0&&i[i.length-1])&&(u[0]===6||u[0]===2)){n=0;continue}if(u[0]===3&&(!i||u[1]>i[0]&&u[1]<i[3])){n.label=u[1];break}if(u[0]===6&&n.label<i[1]){n.label=i[1];i=u;break}if(i&&n.label<i[2]){n.label=i[2];n.ops.push(u);break}if(i[2])n.ops.pop();n.trys.pop();continue}u=r.call(e,n)}catch(e){u=[6,e];a=0}finally{t=i=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(e,r,n){if(n||arguments.length===2)for(var t=0,a=r.length,i;t<a;t++){if(i||!(t in r)){if(!i)i=Array.prototype.slice.call(r,0,t);i[t]=r[t]}}return e.concat(i||Array.prototype.slice.call(r))};var NAMESPACE="mds-progress";var scopeId;var hostTagName;var isSvgMode=false;var queuePending=false;var createTime=function(e,r){if(r===void 0){r=""}{return function(){return}}};var uniqueTime=function(e,r){{return function(){return}}};var HYDRATED_CSS="{visibility:hidden}[hydrated]{visibility:inherit}";var EMPTY_OBJ={};var isDef=function(e){return e!=null};var isComplexType=function(e){e=typeof e;return e==="object"||e==="function"};function queryNonceMetaTagContent(e){var r,n,t;return(t=(n=(r=e.head)===null||r===void 0?void 0:r.querySelector('meta[name="csp-nonce"]'))===null||n===void 0?void 0:n.getAttribute("content"))!==null&&t!==void 0?t:undefined}var h=function(e,r){var n=[];for(var t=2;t<arguments.length;t++){n[t-2]=arguments[t]}var a=null;var i=false;var o=false;var u=[];var s=function(r){for(var n=0;n<r.length;n++){a=r[n];if(Array.isArray(a)){s(a)}else if(a!=null&&typeof a!=="boolean"){if(i=typeof e!=="function"&&!isComplexType(a)){a=String(a)}if(i&&o){u[u.length-1].t+=a}else{u.push(i?newVNode(null,a):a)}o=i}}};s(n);if(r){{var f=r.className||r.class;if(f){r.class=typeof f!=="object"?f:Object.keys(f).filter((function(e){return f[e]})).join(" ")}}}var l=newVNode(e,null);l.i=r;if(u.length>0){l.o=u}return l};var newVNode=function(e,r){var n={u:0,l:e,t:r,v:null,o:null};{n.i=null}return n};var Host={};var isHost=function(e){return e&&e.l===Host};var parsePropertyValue=function(e,r){if(e!=null&&!isComplexType(e)){if(r&2){return parseFloat(e)}if(r&1){return String(e)}return e}return e};var getElement=function(e){return getHostRef(e).$hostElement$};var emitEvent=function(e,r,n){var t=plt.ce(r,n);e.dispatchEvent(t);return t};var rootAppliedStyles=new WeakMap;var registerStyle=function(e,r,n){var t=styles.get(e);if(supportsConstructableStylesheets&&n){t=t||new CSSStyleSheet;if(typeof t==="string"){t=r}else{t.replaceSync(r)}}else{t=r}styles.set(e,t)};var addStyle=function(e,r,n){var t;var a=getScopeId(r);var i=styles.get(a);e=e.nodeType===11?e:doc;if(i){if(typeof i==="string"){e=e.head||e;var o=rootAppliedStyles.get(e);var u=void 0;if(!o){rootAppliedStyles.set(e,o=new Set)}if(!o.has(a)){{u=doc.createElement("style");u.innerHTML=i;var s=(t=plt.p)!==null&&t!==void 0?t:queryNonceMetaTagContent(doc);if(s!=null){u.setAttribute("nonce",s)}e.insertBefore(u,e.querySelector("link"))}if(o){o.add(a)}}}else if(!e.adoptedStyleSheets.includes(i)){e.adoptedStyleSheets=__spreadArray(__spreadArray([],e.adoptedStyleSheets,true),[i],false)}}return a};var attachStyles=function(e){var r=e.m;var n=e.$hostElement$;var t=r.u;var a=createTime("attachStyles",r.h);var i=addStyle(n.shadowRoot?n.shadowRoot:n.getRootNode(),r);if(t&10){n["s-sc"]=i;n.classList.add(i+"-h")}a()};var getScopeId=function(e,r){return"sc-"+e.h};var setAccessor=function(e,r,n,t,a,i){if(n!==t){var o=isMemberInElement(e,r);r.toLowerCase();if(r==="class"){var u=e.classList;var s=parseClassList(n);var f=parseClassList(t);u.remove.apply(u,s.filter((function(e){return e&&!f.includes(e)})));u.add.apply(u,f.filter((function(e){return e&&!s.includes(e)})))}else if(r==="style"){{for(var l in n){if(!t||t[l]==null){if(l.includes("-")){e.style.removeProperty(l)}else{e.style[l]=""}}}}for(var l in t){if(!n||t[l]!==n[l]){if(l.includes("-")){e.style.setProperty(l,t[l])}else{e.style[l]=t[l]}}}}else{var c=isComplexType(t);if((o||c&&t!==null)&&!a){try{if(!e.tagName.includes("-")){var v=t==null?"":t;if(r==="list"){o=false}else if(n==null||e[r]!=v){e[r]=v}}else{e[r]=t}}catch(e){}}if(t==null||t===false){if(t!==false||e.getAttribute(r)===""){{e.removeAttribute(r)}}}else if((!o||i&4||a)&&!c){t=t===true?"":t;{e.setAttribute(r,t)}}}}};var parseClassListRegex=/\s/;var parseClassList=function(e){return!e?[]:e.split(parseClassListRegex)};var updateElement=function(e,r,n,t){var a=r.v.nodeType===11&&r.v.host?r.v.host:r.v;var i=e&&e.i||EMPTY_OBJ;var o=r.i||EMPTY_OBJ;{for(t in i){if(!(t in o)){setAccessor(a,t,i[t],undefined,n,r.u)}}}for(t in o){setAccessor(a,t,i[t],o[t],n,r.u)}};var createElm=function(e,r,n,t){var a=r.o[n];var i=0;var o;var u;{o=a.v=doc.createElement(a.l);{updateElement(null,a,isSvgMode)}if(isDef(scopeId)&&o["s-si"]!==scopeId){o.classList.add(o["s-si"]=scopeId)}if(a.o){for(i=0;i<a.o.length;++i){u=createElm(e,a,i);if(u){o.appendChild(u)}}}}return o};var addVnodes=function(e,r,n,t,a,i){var o=e;var u;if(o.shadowRoot&&o.tagName===hostTagName){o=o.shadowRoot}for(;a<=i;++a){if(t[a]){u=createElm(null,n,a);if(u){t[a].v=u;o.insertBefore(u,r)}}}};var removeVnodes=function(e,r,n){for(var t=r;t<=n;++t){var a=e[t];if(a){var i=a.v;if(i){i.remove()}}}};var updateChildren=function(e,r,n,t){var a=0;var i=0;var o=r.length-1;var u=r[0];var s=r[o];var f=t.length-1;var l=t[0];var c=t[f];var v;while(a<=o&&i<=f){if(u==null){u=r[++a]}else if(s==null){s=r[--o]}else if(l==null){l=t[++i]}else if(c==null){c=t[--f]}else if(isSameVnode(u,l)){patch(u,l);u=r[++a];l=t[++i]}else if(isSameVnode(s,c)){patch(s,c);s=r[--o];c=t[--f]}else if(isSameVnode(u,c)){patch(u,c);e.insertBefore(u.v,s.v.nextSibling);u=r[++a];c=t[--f]}else if(isSameVnode(s,l)){patch(s,l);e.insertBefore(s.v,u.v);s=r[--o];l=t[++i]}else{{v=createElm(r&&r[i],n,i);l=t[++i]}if(v){{u.v.parentNode.insertBefore(v,u.v)}}}}if(a>o){addVnodes(e,t[f+1]==null?null:t[f+1].v,n,t,i,f)}else if(i>f){removeVnodes(r,a,o)}};var isSameVnode=function(e,r){if(e.l===r.l){return true}return false};var patch=function(e,r){var n=r.v=e.v;var t=e.o;var a=r.o;{{{updateElement(e,r,isSvgMode)}}if(t!==null&&a!==null){updateChildren(n,t,r,a)}else if(a!==null){addVnodes(n,null,r,a,0,a.length-1)}else if(t!==null){removeVnodes(t,0,t.length-1)}}};var renderVdom=function(e,r,n){if(n===void 0){n=false}var t=e.$hostElement$;var a=e.m;var i=e.S||newVNode(null,null);var o=isHost(r)?r:h(null,null,r);hostTagName=t.tagName;if(a.C){o.i=o.i||{};a.C.map((function(e){var r=e[0],n=e[1];return o.i[n]=t[r]}))}if(n&&o.i){for(var u=0,s=Object.keys(o.i);u<s.length;u++){var f=s[u];if(t.hasAttribute(f)&&!["key","ref","style","class"].includes(f)){o.i[f]=t[f]}}}o.l=null;o.u|=4;e.S=o;o.v=i.v=t.shadowRoot||t;{scopeId=t["s-sc"]}patch(i,o)};var attachToAncestor=function(e,r){if(r&&!e.T&&r["s-p"]){r["s-p"].push(new Promise((function(r){return e.T=r})))}};var scheduleUpdate=function(e,r){{e.u|=16}if(e.u&4){e.u|=512;return}attachToAncestor(e,e._);var n=function(){return dispatchHooks(e,r)};return writeTask(n)};var dispatchHooks=function(e,r){var n=createTime("scheduleUpdate",e.m.h);var t=e.$;var a;if(r){{a=safeCall(t,"componentWillLoad")}}n();return enqueue(a,(function(){return updateComponent(e,t,r)}))};var enqueue=function(e,r){return isPromisey(e)?e.then(r):r()};var isPromisey=function(e){return e instanceof Promise||e&&e.then&&typeof e.then==="function"};var updateComponent=function(e,r,n){return __awaiter(void 0,void 0,void 0,(function(){var t,a,i,o,u,s,f;return __generator(this,(function(l){a=e.$hostElement$;i=createTime("update",e.m.h);o=a["s-rc"];if(n){attachStyles(e)}u=createTime("render",e.m.h);{callRender(e,r,a,n)}if(o){o.map((function(e){return e()}));a["s-rc"]=undefined}u();i();{s=(t=a["s-p"])!==null&&t!==void 0?t:[];f=function(){return postUpdateComponent(e)};if(s.length===0){f()}else{Promise.all(s).then(f);e.u|=4;s.length=0}}return[2]}))}))};var callRender=function(e,r,n,t){try{r=r.render();{e.u&=~16}{e.u|=2}{{{renderVdom(e,r,t)}}}}catch(r){consoleError(r,e.$hostElement$)}return null};var postUpdateComponent=function(e){var r=e.m.h;var n=e.$hostElement$;var t=createTime("postUpdate",r);var a=e._;if(!(e.u&64)){e.u|=64;{addHydratedFlag(n)}t();{e.M(n);if(!a){appDidLoad()}}}else{t()}{if(e.T){e.T();e.T=undefined}if(e.u&512){nextTick((function(){return scheduleUpdate(e,false)}))}e.u&=~(4|512)}};var appDidLoad=function(e){{addHydratedFlag(doc.documentElement)}nextTick((function(){return emitEvent(win,"appload",{detail:{namespace:NAMESPACE}})}))};var safeCall=function(e,r,n){if(e&&e[r]){try{return e[r](n)}catch(e){consoleError(e)}}return undefined};var addHydratedFlag=function(e){return e.setAttribute("hydrated","")};var getValue=function(e,r){return getHostRef(e).k.get(r)};var setValue=function(e,r,n,t){var a=getHostRef(e);var i=a.$hostElement$;var o=a.k.get(r);var u=a.u;var s=a.$;n=parsePropertyValue(n,t.A[r][0]);var f=Number.isNaN(o)&&Number.isNaN(n);var l=n!==o&&!f;if((!(u&8)||o===undefined)&&l){a.k.set(r,n);if(s){if(t.R&&u&128){var c=t.R[r];if(c){c.map((function(e){try{s[e](n,o,r)}catch(e){consoleError(e,i)}}))}}if((u&(2|16))===2){scheduleUpdate(a,false)}}}};var proxyComponent=function(e,r,n){var t;if(r.A){if(e.watchers){r.R=e.watchers}var a=Object.entries(r.A);var i=e.prototype;a.map((function(e){var t=e[0],a=e[1][0];if(a&31||n&2&&a&32){Object.defineProperty(i,t,{get:function(){return getValue(this,t)},set:function(e){setValue(this,t,e,r)},configurable:true,enumerable:true})}}));if(n&1){var o=new Map;i.attributeChangedCallback=function(e,n,t){var a=this;plt.jmp((function(){var u=o.get(e);if(a.hasOwnProperty(u)){t=a[u];delete a[u]}else if(i.hasOwnProperty(u)&&typeof a[u]==="number"&&a[u]==t){return}else if(u==null){var s=getHostRef(a);var f=s===null||s===void 0?void 0:s.u;if(!(f&8)&&f&128&&t!==n){var l=s.$;var c=r.R[e];c===null||c===void 0?void 0:c.forEach((function(r){if(l[r]!=null){l[r].call(l,t,n,e)}}))}return}a[u]=t===null&&typeof a[u]==="boolean"?false:t}))};e.observedAttributes=Array.from(new Set(__spreadArray(__spreadArray([],Object.keys((t=r.R)!==null&&t!==void 0?t:{}),true),a.filter((function(e){var r=e[0],n=e[1];return n[0]&15})).map((function(e){var n=e[0],t=e[1];var a=t[1]||n;o.set(a,n);if(t[0]&512){r.C.push([n,a])}return a})),true)))}}return e};var initializeComponent=function(e,r,n,t){return __awaiter(void 0,void 0,void 0,(function(){var e,t,a,i,o,u,s,f;return __generator(this,(function(l){switch(l.label){case 0:if(!((r.u&32)===0))return[3,3];r.u|=32;e=loadModule(n);if(!e.then)return[3,2];t=uniqueTime();return[4,e];case 1:e=l.sent();t();l.label=2;case 2:if(!e.isProxied){{n.R=e.watchers}proxyComponent(e,n,2);e.isProxied=true}a=createTime("createInstance",n.h);{r.u|=8}try{new e(r)}catch(e){consoleError(e)}{r.u&=~8}{r.u|=128}a();if(e.style){i=e.style;o=getScopeId(n);if(!styles.has(o)){u=createTime("registerStyles",n.h);registerStyle(o,i,!!(n.u&1));u()}}l.label=3;case 3:s=r._;f=function(){return scheduleUpdate(r,true)};if(s&&s["s-rc"]){s["s-rc"].push(f)}else{f()}return[2]}}))}))};var fireConnectedCallback=function(e){};var connectedCallback=function(e){if((plt.u&1)===0){var r=getHostRef(e);var n=r.m;var t=createTime("connectedCallback",n.h);if(!(r.u&1)){r.u|=1;{var a=e;while(a=a.parentNode||a.host){if(a["s-p"]){attachToAncestor(r,r._=a);break}}}if(n.A){Object.entries(n.A).map((function(r){var n=r[0],t=r[1][0];if(t&31&&e.hasOwnProperty(n)){var a=e[n];delete e[n];e[n]=a}}))}{initializeComponent(e,r,n)}}else{if(r===null||r===void 0?void 0:r.$);else if(r===null||r===void 0?void 0:r.H){r.H.then((function(){return fireConnectedCallback()}))}}t()}};var disconnectInstance=function(e){};var disconnectedCallback=function(e){return __awaiter(void 0,void 0,void 0,(function(){var r;return __generator(this,(function(n){if((plt.u&1)===0){r=getHostRef(e);if(r===null||r===void 0?void 0:r.$);else if(r===null||r===void 0?void 0:r.H){r.H.then((function(){return disconnectInstance()}))}}return[2]}))}))};var bootstrapLazy=function(e,r){if(r===void 0){r={}}var n;var t=createTime();var a=[];var i=r.exclude||[];var o=win.customElements;var u=doc.head;var s=u.querySelector("meta[charset]");var f=doc.createElement("style");var l=[];var c;var v=true;Object.assign(plt,r);plt.V=new URL(r.resourcesUrl||"./",doc.baseURI).href;e.map((function(e){e[1].map((function(r){var n;var t={u:r[0],h:r[1],A:r[2],q:r[3]};{t.A=r[2]}{t.C=[]}{t.R=(n=r[4])!==null&&n!==void 0?n:{}}var u=t.h;var s=function(e){__extends(r,e);function r(r){var n=e.call(this,r)||this;r=n;registerHost(r,t);if(t.u&1){{{r.attachShadow({mode:"open"})}}}return n}r.prototype.connectedCallback=function(){var e=this;if(c){clearTimeout(c);c=null}if(v){l.push(this)}else{plt.jmp((function(){return connectedCallback(e)}))}};r.prototype.disconnectedCallback=function(){var e=this;plt.jmp((function(){return disconnectedCallback(e)}))};r.prototype.componentOnReady=function(){return getHostRef(this).H};return r}(HTMLElement);t.P=e[0];if(!i.includes(u)&&!o.get(u)){a.push(u);o.define(u,proxyComponent(s,t,1))}}))}));{f.innerHTML=a+HYDRATED_CSS;f.setAttribute("data-styles","");var d=(n=plt.p)!==null&&n!==void 0?n:queryNonceMetaTagContent(doc);if(d!=null){f.setAttribute("nonce",d)}u.insertBefore(f,s?s.nextSibling:u.firstChild)}v=false;if(l.length){l.map((function(e){return e.connectedCallback()}))}else{{plt.jmp((function(){return c=setTimeout(appDidLoad,30)}))}}t()};var setNonce=function(e){return plt.p=e};var hostRefs=new WeakMap;var getHostRef=function(e){return hostRefs.get(e)};var registerInstance=function(e,r){return hostRefs.set(r.$=e,r)};var registerHost=function(e,r){var n={u:0,$hostElement$:e,m:r,k:new Map};{n.H=new Promise((function(e){return n.M=e}));e["s-p"]=[];e["s-rc"]=[]}return hostRefs.set(e,n)};var isMemberInElement=function(e,r){return r in e};var consoleError=function(e,r){return(0,console.error)(e,r)};var cmpModules=new Map;var loadModule=function(e,r,n){var t=e.h.replace(/-/g,"_");var a=e.P;var i=cmpModules.get(a);if(i){return i[t]}if(!n||!BUILD.hotModuleReplacement){var o=function(e){cmpModules.set(a,e);return e[t]};switch(a){case"mds-progress":return import("./mds-progress.entry.js").then(o,consoleError)}}return import("./".concat(a,".entry.js").concat("")).then((function(e){{cmpModules.set(a,e)}return e[t]}),consoleError)};var styles=new Map;var win=typeof window!=="undefined"?window:{};var doc=win.document||{head:{}};var plt={u:0,V:"",jmp:function(e){return e()},raf:function(e){return requestAnimationFrame(e)},ael:function(e,r,n,t){return e.addEventListener(r,n,t)},rel:function(e,r,n,t){return e.removeEventListener(r,n,t)},ce:function(e,r){return new CustomEvent(e,r)}};var promiseResolve=function(e){return Promise.resolve(e)};var supportsConstructableStylesheets=function(){try{new CSSStyleSheet;return typeof(new CSSStyleSheet).replaceSync==="function"}catch(e){}return false}();var queueDomReads=[];var queueDomWrites=[];var queueTask=function(e,r){return function(n){e.push(n);if(!queuePending){queuePending=true;if(r&&plt.u&4){nextTick(flush)}else{plt.raf(flush)}}}};var consume=function(e){for(var r=0;r<e.length;r++){try{e[r](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,getElement as g,h,promiseResolve as p,registerInstance as r,setNonce as s};
@@ -1 +1 @@
1
- import{b as bootstrapLazy}from"./index-fbed50ee.js";export{s as setNonce}from"./index-fbed50ee.js";var defineCustomElements=function(e,s){if(typeof window==="undefined")return undefined;return bootstrapLazy([["mds-progress",[[1,"mds-progress",{progress:[2],direction:[513],variant:[513],steps:[1],currentStep:[32]},null,{progress:["progressChanged"],steps:["stepsChanged"]}]]]],s)};export{defineCustomElements};
1
+ import{b as bootstrapLazy}from"./index-84dce283.js";export{s as setNonce}from"./index-84dce283.js";var defineCustomElements=function(e,s){if(typeof window==="undefined")return undefined;return bootstrapLazy([["mds-progress",[[1,"mds-progress",{progress:[2],direction:[513],variant:[513],steps:[1],currentStep:[32]},null,{progress:["progressChanged"],steps:["stepsChanged"]}]]]],s)};export{defineCustomElements};
@@ -1 +1 @@
1
- import{r as registerInstance,h,H as Host,g as getElement}from"./index-fbed50ee.js";var mdsProgressCss='@tailwind utilities; :host{--mds-progress-background:rgb(var(--tone-neutral-08));--mds-progress-color:rgb(var(--brand-maggioli-03));--mds-progress-duration:750ms;--mds-progress-radius:0.5rem;--mds-progress-thickness:0.5rem;-webkit-transition-property:color, background-color, border-color, fill, stroke, -webkit-text-decoration-color;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-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transition-duration:150ms;transition-duration:150ms;background-color:var(--mds-progress-background);border-radius:var(--mds-progress-radius);display:-ms-flexbox;display:flex;height:var(--mds-progress-thickness);min-width:var(--mds-progress-thickness);overflow:hidden;width:100%}:host([direction="vertical"]){-ms-flex-direction:column;flex-direction:column;height:unset;min-height:var(--mds-progress-thickness);width:var(--mds-progress-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(--mds-progress-color);border-radius:var(--mds-progress-radius);-webkit-transition-duration:var(--mds-progress-duration);transition-duration:var(--mds-progress-duration);-webkit-transition-property:background-color, flex-grow;transition-property:background-color, flex-grow;transition-property:background-color, flex-grow, -ms-flex-positive}.fixed{position:fixed}.absolute{position:absolute}.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"]){--mds-progress-color:rgb(var(--tone-neutral-04));--mds-progress-background:rgb(var(--tone-neutral-08))}:host([variant="light"]){--mds-progress-color:rgb(var(--tone-neutral));--mds-progress-background:rgb(var(--tone-neutral-05))}:host([variant="error"]){--mds-progress-color:rgb(var(--status-error-06));--mds-progress-background:rgb(var(--status-error-09))}:host([variant="warning"]){--mds-progress-color:rgb(var(--status-warning-06));--mds-progress-background:rgb(var(--status-warning-09))}:host([variant="success"]){--mds-progress-color:rgb(var(--status-success-06));--mds-progress-background:rgb(var(--status-success-09))}:host([variant="info"]){--mds-progress-color:rgb(var(--status-info-06));--mds-progress-background:rgb(var(--status-info-09))}:host([variant="primary"]){--mds-progress-color:rgb(var(--brand-maggioli-03));--mds-progress-background:rgb(var(--tone-neutral-08))}';var MdsProgress=function(){function r(r){registerInstance(this,r);this.stepsList=new Array;this.currentStep=undefined;this.progress=0;this.direction="horizontal";this.variant="primary";this.steps="Inizio,Un quarto,Metà,Tre quarti,Fine"}r.prototype.componentWillLoad=function(){this.stepsList=this.steps.split(",");this.setProgress(this.progress)};r.prototype.setProgress=function(r){if(this.steps){this.currentStep=this.stepsList[Math.round(r*(this.stepsList.length-1))];this.element.setAttribute("aria-valuetext",this.currentStep)}};r.prototype.progressChanged=function(r){this.setProgress(r)};r.prototype.stepsChanged=function(r){this.stepsList=r.split(",")};r.prototype.render=function(){return h(Host,{"aria-valuemax":"100","aria-valuemin":"0","aria-valuenow":Math.round(this.progress*100),role:"progressbar"},h("div",{class:"progress",style:this.direction==="horizontal"?{flexGrow:"".concat(this.progress)}:{flexGrow:"".concat(this.progress),width:"100%"}}))};Object.defineProperty(r.prototype,"element",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(r,"watchers",{get:function(){return{progress:["progressChanged"],steps:["stepsChanged"]}},enumerable:false,configurable:true});return r}();MdsProgress.style=mdsProgressCss;export{MdsProgress as mds_progress};
1
+ import{r as registerInstance,h,H as Host,g as getElement}from"./index-84dce283.js";var mdsProgressCss='@tailwind utilities; :host{--mds-progress-background:rgb(var(--tone-neutral-08));--mds-progress-color:rgb(var(--brand-maggioli-03));--mds-progress-duration:750ms;--mds-progress-radius:0.5rem;--mds-progress-thickness:0.5rem;-webkit-transition-property:color, background-color, border-color, fill, stroke, -webkit-text-decoration-color;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-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transition-duration:150ms;transition-duration:150ms;background-color:var(--mds-progress-background);border-radius:var(--mds-progress-radius);display:-ms-flexbox;display:flex;height:var(--mds-progress-thickness);min-width:var(--mds-progress-thickness);overflow:hidden;width:100%}:host([direction="vertical"]){-ms-flex-direction:column;flex-direction:column;height:unset;min-height:var(--mds-progress-thickness);width:var(--mds-progress-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(--mds-progress-color);border-radius:var(--mds-progress-radius);-webkit-transition-duration:var(--mds-progress-duration);transition-duration:var(--mds-progress-duration);-webkit-transition-property:background-color, flex-grow;transition-property:background-color, flex-grow;transition-property:background-color, flex-grow, -ms-flex-positive}.fixed{position:fixed}.absolute{position:absolute}.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"]){--mds-progress-color:rgb(var(--tone-neutral-04));--mds-progress-background:rgb(var(--tone-neutral-08))}:host([variant="light"]){--mds-progress-color:rgb(var(--tone-neutral));--mds-progress-background:rgb(var(--tone-neutral-05))}:host([variant="error"]){--mds-progress-color:rgb(var(--status-error-06));--mds-progress-background:rgb(var(--status-error-09))}:host([variant="warning"]){--mds-progress-color:rgb(var(--status-warning-06));--mds-progress-background:rgb(var(--status-warning-09))}:host([variant="success"]){--mds-progress-color:rgb(var(--status-success-06));--mds-progress-background:rgb(var(--status-success-09))}:host([variant="info"]){--mds-progress-color:rgb(var(--status-info-06));--mds-progress-background:rgb(var(--status-info-09))}:host([variant="primary"]){--mds-progress-color:rgb(var(--brand-maggioli-03));--mds-progress-background:rgb(var(--tone-neutral-08))}';var MdsProgress=function(){function r(r){registerInstance(this,r);this.stepsList=new Array;this.currentStep=undefined;this.progress=0;this.direction="horizontal";this.variant="primary";this.steps="Inizio,Un quarto,Metà,Tre quarti,Fine"}r.prototype.componentWillLoad=function(){this.stepsList=this.steps.split(",");this.setProgress(this.progress)};r.prototype.setProgress=function(r){if(this.steps){this.currentStep=this.stepsList[Math.round(r*(this.stepsList.length-1))];this.element.setAttribute("aria-valuetext",this.currentStep)}};r.prototype.progressChanged=function(r){this.setProgress(r)};r.prototype.stepsChanged=function(r){this.stepsList=r.split(",")};r.prototype.render=function(){return h(Host,{"aria-valuemax":"100","aria-valuemin":"0","aria-valuenow":Math.round(this.progress*100),role:"progressbar"},h("div",{class:"progress",style:this.direction==="horizontal"?{flexGrow:"".concat(this.progress)}:{flexGrow:"".concat(this.progress),width:"100%"}}))};Object.defineProperty(r.prototype,"element",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(r,"watchers",{get:function(){return{progress:["progressChanged"],steps:["stepsChanged"]}},enumerable:false,configurable:true});return r}();MdsProgress.style=mdsProgressCss;export{MdsProgress as mds_progress};
@@ -1 +1 @@
1
- import{p as promiseResolve,b as bootstrapLazy}from"./index-fbed50ee.js";export{s as setNonce}from"./index-fbed50ee.js";var patchBrowser=function(){var e=import.meta.url;var r={};if(e!==""){r.resourcesUrl=new URL(".",e).href}return promiseResolve(r)};patchBrowser().then((function(e){return bootstrapLazy([["mds-progress",[[1,"mds-progress",{progress:[2],direction:[513],variant:[513],steps:[1],currentStep:[32]},null,{progress:["progressChanged"],steps:["stepsChanged"]}]]]],e)}));
1
+ import{p as promiseResolve,b as bootstrapLazy}from"./index-84dce283.js";export{s as setNonce}from"./index-84dce283.js";var patchBrowser=function(){var r=import.meta.url;var s={};if(r!==""){s.resourcesUrl=new URL(".",r).href}return promiseResolve(s)};patchBrowser().then((function(r){return bootstrapLazy([["mds-progress",[[1,"mds-progress",{progress:[2],direction:[513],variant:[513],steps:[1],currentStep:[32]},null,{progress:["progressChanged"],steps:["stepsChanged"]}]]]],r)}));
@@ -1 +1 @@
1
- import{p as e,b as r}from"./p-83f968eb.js";export{s as setNonce}from"./p-83f968eb.js";(()=>{const s=import.meta.url,r={};return""!==s&&(r.resourcesUrl=new URL(".",s).href),e(r)})().then((s=>r([["p-0f4e300d",[[1,"mds-progress",{progress:[2],direction:[513],variant:[513],steps:[1],currentStep:[32]},null,{progress:["progressChanged"],steps:["stepsChanged"]}]]]],s)));
1
+ import{p as e,b as r}from"./p-576b3fa7.js";export{s as setNonce}from"./p-576b3fa7.js";(()=>{const s=import.meta.url,r={};return""!==s&&(r.resourcesUrl=new URL(".",s).href),e(r)})().then((s=>r([["p-1ab5e470",[[1,"mds-progress",{progress:[2],direction:[513],variant:[513],steps:[1],currentStep:[32]},null,{progress:["progressChanged"],steps:["stepsChanged"]}]]]],s)));
@@ -115,7 +115,7 @@ DOMTokenList
115
115
  var resourcesUrl = scriptElm ? scriptElm.getAttribute('data-resources-url') || scriptElm.src : '';
116
116
  var start = function() {
117
117
  // if src is not present then origin is "null", and new URL() throws TypeError: Failed to construct 'URL': Invalid base URL
118
- var url = new URL('./p-fdd5b8c4.system.js', new URL(resourcesUrl, window.location.origin !== 'null' ? window.location.origin : undefined));
118
+ var url = new URL('./p-f0741149.system.js', new URL(resourcesUrl, window.location.origin !== 'null' ? window.location.origin : undefined));
119
119
  System.import(url.href);
120
120
  };
121
121
 
@@ -1 +1 @@
1
- import{r,h as o,H as s,g as t}from"./p-83f968eb.js";const i=class{constructor(o){r(this,o),this.stepsList=new Array,this.currentStep=void 0,this.progress=0,this.direction="horizontal",this.variant="primary",this.steps="Inizio,Un quarto,Metà,Tre quarti,Fine"}componentWillLoad(){this.stepsList=this.steps.split(","),this.setProgress(this.progress)}setProgress(r){this.steps&&(this.currentStep=this.stepsList[Math.round(r*(this.stepsList.length-1))],this.element.setAttribute("aria-valuetext",this.currentStep))}progressChanged(r){this.setProgress(r)}stepsChanged(r){this.stepsList=r.split(",")}render(){return o(s,{"aria-valuemax":"100","aria-valuemin":"0","aria-valuenow":Math.round(100*this.progress),role:"progressbar"},o("div",{class:"progress",style:"horizontal"===this.direction?{flexGrow:`${this.progress}`}:{flexGrow:`${this.progress}`,width:"100%"}}))}get element(){return t(this)}static get watchers(){return{progress:["progressChanged"],steps:["stepsChanged"]}}};i.style='@tailwind utilities; :host{--mds-progress-background:rgb(var(--tone-neutral-08));--mds-progress-color:rgb(var(--brand-maggioli-03));--mds-progress-duration:750ms;--mds-progress-radius:0.5rem;--mds-progress-thickness:0.5rem;-webkit-transition-property:color, background-color, border-color, fill, stroke, -webkit-text-decoration-color;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-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transition-duration:150ms;transition-duration:150ms;background-color:var(--mds-progress-background);border-radius:var(--mds-progress-radius);display:-ms-flexbox;display:flex;height:var(--mds-progress-thickness);min-width:var(--mds-progress-thickness);overflow:hidden;width:100%}:host([direction="vertical"]){-ms-flex-direction:column;flex-direction:column;height:unset;min-height:var(--mds-progress-thickness);width:var(--mds-progress-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(--mds-progress-color);border-radius:var(--mds-progress-radius);-webkit-transition-duration:var(--mds-progress-duration);transition-duration:var(--mds-progress-duration);-webkit-transition-property:background-color, flex-grow;transition-property:background-color, flex-grow;transition-property:background-color, flex-grow, -ms-flex-positive}.fixed{position:fixed}.absolute{position:absolute}.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"]){--mds-progress-color:rgb(var(--tone-neutral-04));--mds-progress-background:rgb(var(--tone-neutral-08))}:host([variant="light"]){--mds-progress-color:rgb(var(--tone-neutral));--mds-progress-background:rgb(var(--tone-neutral-05))}:host([variant="error"]){--mds-progress-color:rgb(var(--status-error-06));--mds-progress-background:rgb(var(--status-error-09))}:host([variant="warning"]){--mds-progress-color:rgb(var(--status-warning-06));--mds-progress-background:rgb(var(--status-warning-09))}:host([variant="success"]){--mds-progress-color:rgb(var(--status-success-06));--mds-progress-background:rgb(var(--status-success-09))}:host([variant="info"]){--mds-progress-color:rgb(var(--status-info-06));--mds-progress-background:rgb(var(--status-info-09))}:host([variant="primary"]){--mds-progress-color:rgb(var(--brand-maggioli-03));--mds-progress-background:rgb(var(--tone-neutral-08))}';export{i as mds_progress}
1
+ import{r,h as o,H as s,g as t}from"./p-576b3fa7.js";const i=class{constructor(o){r(this,o),this.stepsList=new Array,this.currentStep=void 0,this.progress=0,this.direction="horizontal",this.variant="primary",this.steps="Inizio,Un quarto,Metà,Tre quarti,Fine"}componentWillLoad(){this.stepsList=this.steps.split(","),this.setProgress(this.progress)}setProgress(r){this.steps&&(this.currentStep=this.stepsList[Math.round(r*(this.stepsList.length-1))],this.element.setAttribute("aria-valuetext",this.currentStep))}progressChanged(r){this.setProgress(r)}stepsChanged(r){this.stepsList=r.split(",")}render(){return o(s,{"aria-valuemax":"100","aria-valuemin":"0","aria-valuenow":Math.round(100*this.progress),role:"progressbar"},o("div",{class:"progress",style:"horizontal"===this.direction?{flexGrow:`${this.progress}`}:{flexGrow:`${this.progress}`,width:"100%"}}))}get element(){return t(this)}static get watchers(){return{progress:["progressChanged"],steps:["stepsChanged"]}}};i.style='@tailwind utilities; :host{--mds-progress-background:rgb(var(--tone-neutral-08));--mds-progress-color:rgb(var(--brand-maggioli-03));--mds-progress-duration:750ms;--mds-progress-radius:0.5rem;--mds-progress-thickness:0.5rem;-webkit-transition-property:color, background-color, border-color, fill, stroke, -webkit-text-decoration-color;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-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transition-duration:150ms;transition-duration:150ms;background-color:var(--mds-progress-background);border-radius:var(--mds-progress-radius);display:-ms-flexbox;display:flex;height:var(--mds-progress-thickness);min-width:var(--mds-progress-thickness);overflow:hidden;width:100%}:host([direction="vertical"]){-ms-flex-direction:column;flex-direction:column;height:unset;min-height:var(--mds-progress-thickness);width:var(--mds-progress-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(--mds-progress-color);border-radius:var(--mds-progress-radius);-webkit-transition-duration:var(--mds-progress-duration);transition-duration:var(--mds-progress-duration);-webkit-transition-property:background-color, flex-grow;transition-property:background-color, flex-grow;transition-property:background-color, flex-grow, -ms-flex-positive}.fixed{position:fixed}.absolute{position:absolute}.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"]){--mds-progress-color:rgb(var(--tone-neutral-04));--mds-progress-background:rgb(var(--tone-neutral-08))}:host([variant="light"]){--mds-progress-color:rgb(var(--tone-neutral));--mds-progress-background:rgb(var(--tone-neutral-05))}:host([variant="error"]){--mds-progress-color:rgb(var(--status-error-06));--mds-progress-background:rgb(var(--status-error-09))}:host([variant="warning"]){--mds-progress-color:rgb(var(--status-warning-06));--mds-progress-background:rgb(var(--status-warning-09))}:host([variant="success"]){--mds-progress-color:rgb(var(--status-success-06));--mds-progress-background:rgb(var(--status-success-09))}:host([variant="info"]){--mds-progress-color:rgb(var(--status-info-06));--mds-progress-background:rgb(var(--status-info-09))}:host([variant="primary"]){--mds-progress-color:rgb(var(--brand-maggioli-03));--mds-progress-background:rgb(var(--tone-neutral-08))}';export{i as mds_progress}
@@ -0,0 +1,2 @@
1
+ let n,t,e=!1;const l={},o=n=>"object"==(n=typeof n)||"function"===n;function s(n){var t,e,l;return null!==(l=null===(e=null===(t=n.head)||void 0===t?void 0:t.querySelector('meta[name="csp-nonce"]'))||void 0===e?void 0:e.getAttribute("content"))&&void 0!==l?l:void 0}const i=(n,t,...e)=>{let l=null,s=!1,i=!1;const r=[],u=t=>{for(let e=0;e<t.length;e++)l=t[e],Array.isArray(l)?u(l):null!=l&&"boolean"!=typeof l&&((s="function"!=typeof n&&!o(l))&&(l+=""),s&&i?r[r.length-1].t+=l:r.push(s?c(null,l):l),i=s)};if(u(e),t){const n=t.className||t.class;n&&(t.class="object"!=typeof n?n:Object.keys(n).filter((t=>n[t])).join(" "))}const a=c(n,null);return a.l=t,r.length>0&&(a.o=r),a},c=(n,t)=>({i:0,u:n,t,h:null,o:null,l:null}),r={},u=n=>F(n).$hostElement$,a=new WeakMap,f=n=>"sc-"+n.p,d=(n,t,e,l,s,i)=>{if(e!==l){let c=U(n,t);if(t.toLowerCase(),"class"===t){const t=n.classList,o=h(e),s=h(l);t.remove(...o.filter((n=>n&&!s.includes(n)))),t.add(...s.filter((n=>n&&!o.includes(n))))}else if("style"===t){for(const t in e)l&&null!=l[t]||(t.includes("-")?n.style.removeProperty(t):n.style[t]="");for(const t in l)e&&l[t]===e[t]||(t.includes("-")?n.style.setProperty(t,l[t]):n.style[t]=l[t])}else{const r=o(l);if((c||r&&null!==l)&&!s)try{if(n.tagName.includes("-"))n[t]=l;else{const o=null==l?"":l;"list"===t?c=!1:null!=e&&n[t]==o||(n[t]=o)}}catch(n){}null==l||!1===l?!1===l&&""!==n.getAttribute(t)||n.removeAttribute(t):(!c||4&i||s)&&!r&&n.setAttribute(t,l=!0===l?"":l)}}},y=/\s/,h=n=>n?n.split(y):[],p=(n,t,e,o)=>{const s=11===t.h.nodeType&&t.h.host?t.h.host:t.h,i=n&&n.l||l,c=t.l||l;for(o in i)o in c||d(s,o,i[o],void 0,e,t.i);for(o in c)d(s,o,i[o],c[o],e,t.i)},$=(t,e,l)=>{const o=e.o[l];let s,i,c=0;if(s=o.h=D.createElement(o.u),p(null,o,!1),null!=n&&s["s-si"]!==n&&s.classList.add(s["s-si"]=n),o.o)for(c=0;c<o.o.length;++c)i=$(t,o,c),i&&s.appendChild(i);return s},m=(n,e,l,o,s,i)=>{let c,r=n;for(r.shadowRoot&&r.tagName===t&&(r=r.shadowRoot);s<=i;++s)o[s]&&(c=$(null,l,s),c&&(o[s].h=c,r.insertBefore(c,e)))},v=(n,t,e)=>{for(let l=t;l<=e;++l){const t=n[l];if(t){const n=t.h;n&&n.remove()}}},b=(n,t)=>n.u===t.u,w=(n,t)=>{const e=t.h=n.h,l=n.o,o=t.o;p(n,t,!1),null!==l&&null!==o?((n,t,e,l)=>{let o,s=0,i=0,c=t.length-1,r=t[0],u=t[c],a=l.length-1,f=l[0],d=l[a];for(;s<=c&&i<=a;)null==r?r=t[++s]:null==u?u=t[--c]:null==f?f=l[++i]:null==d?d=l[--a]:b(r,f)?(w(r,f),r=t[++s],f=l[++i]):b(u,d)?(w(u,d),u=t[--c],d=l[--a]):b(r,d)?(w(r,d),n.insertBefore(r.h,u.h.nextSibling),r=t[++s],d=l[--a]):b(u,f)?(w(u,f),n.insertBefore(u.h,r.h),u=t[--c],f=l[++i]):(o=$(t&&t[i],e,i),f=l[++i],o&&r.h.parentNode.insertBefore(o,r.h));s>c?m(n,null==l[a+1]?null:l[a+1].h,e,l,i,a):i>a&&v(t,s,c)})(e,l,t,o):null!==o?m(e,null,t,o,0,o.length-1):null!==l&&v(l,0,l.length-1)},S=(n,t)=>{t&&!n.$&&t["s-p"]&&t["s-p"].push(new Promise((t=>n.$=t)))},g=(n,t)=>{if(n.i|=16,!(4&n.i))return S(n,n.m),tn((()=>j(n,t)));n.i|=512},j=(n,t)=>{const e=n.v;let l;return t&&(l=A(e,"componentWillLoad")),M(l,(()=>k(n,e,t)))},M=(n,t)=>O(n)?n.then(t):t(),O=n=>n instanceof Promise||n&&n.then&&"function"==typeof n.then,k=async(n,t,e)=>{var l;const o=n.$hostElement$,i=o["s-rc"];e&&(n=>{const t=n.S,e=n.$hostElement$,l=t.i,o=((n,t)=>{var e;const l=f(t),o=z.get(l);if(n=11===n.nodeType?n:D,o)if("string"==typeof o){let t,i=a.get(n=n.head||n);if(i||a.set(n,i=new Set),!i.has(l)){{t=D.createElement("style"),t.innerHTML=o;const l=null!==(e=G.j)&&void 0!==e?e:s(D);null!=l&&t.setAttribute("nonce",l),n.insertBefore(t,n.querySelector("link"))}i&&i.add(l)}}else n.adoptedStyleSheets.includes(o)||(n.adoptedStyleSheets=[...n.adoptedStyleSheets,o]);return l})(e.shadowRoot?e.shadowRoot:e.getRootNode(),t);10&l&&(e["s-sc"]=o,e.classList.add(o+"-h"))})(n);C(n,t,o,e),i&&(i.map((n=>n())),o["s-rc"]=void 0);{const t=null!==(l=o["s-p"])&&void 0!==l?l:[],e=()=>P(n);0===t.length?e():(Promise.all(t).then(e),n.i|=4,t.length=0)}},C=(e,l,o,s)=>{try{l=l.render(),e.i&=-17,e.i|=2,((e,l,o=!1)=>{const s=e.$hostElement$,u=e.S,a=e.M||c(null,null),f=(n=>n&&n.u===r)(l)?l:i(null,null,l);if(t=s.tagName,u.O&&(f.l=f.l||{},u.O.map((([n,t])=>f.l[t]=s[n]))),o&&f.l)for(const n of Object.keys(f.l))s.hasAttribute(n)&&!["key","ref","style","class"].includes(n)&&(f.l[n]=s[n]);f.u=null,f.i|=4,e.M=f,f.h=a.h=s.shadowRoot||s,n=s["s-sc"],w(a,f)})(e,l,s)}catch(n){q(n,e.$hostElement$)}return null},P=n=>{const t=n.$hostElement$,e=n.m;64&n.i||(n.i|=64,E(t),n.k(t),e||x()),n.$&&(n.$(),n.$=void 0),512&n.i&&nn((()=>g(n,!1))),n.i&=-517},x=()=>{E(D.documentElement),nn((()=>(n=>{const t=G.ce("appload",{detail:{namespace:"mds-progress"}});return n.dispatchEvent(t),t})(B)))},A=(n,t,e)=>{if(n&&n[t])try{return n[t](e)}catch(n){q(n)}},E=n=>n.setAttribute("hydrated",""),L=(n,t,e)=>{var l;if(t.C){n.watchers&&(t.P=n.watchers);const s=Object.entries(t.C),i=n.prototype;if(s.map((([n,[l]])=>{(31&l||2&e&&32&l)&&Object.defineProperty(i,n,{get(){return((n,t)=>F(this).A.get(t))(0,n)},set(e){((n,t,e,l)=>{const s=F(n),i=s.$hostElement$,c=s.A.get(t),r=s.i,u=s.v;if(e=((n,t)=>null==n||o(n)?n:2&t?parseFloat(n):1&t?n+"":n)(e,l.C[t][0]),(!(8&r)||void 0===c)&&e!==c&&(!Number.isNaN(c)||!Number.isNaN(e))&&(s.A.set(t,e),u)){if(l.P&&128&r){const n=l.P[t];n&&n.map((n=>{try{u[n](e,c,t)}catch(n){q(n,i)}}))}2==(18&r)&&g(s,!1)}})(this,n,e,t)},configurable:!0,enumerable:!0})})),1&e){const e=new Map;i.attributeChangedCallback=function(n,l,o){G.jmp((()=>{const s=e.get(n);if(this.hasOwnProperty(s))o=this[s],delete this[s];else{if(i.hasOwnProperty(s)&&"number"==typeof this[s]&&this[s]==o)return;if(null==s){const e=F(this),s=null==e?void 0:e.i;if(!(8&s)&&128&s&&o!==l){const s=e.v,i=t.P[n];null==i||i.forEach((t=>{null!=s[t]&&s[t].call(s,o,l,n)}))}return}}this[s]=(null!==o||"boolean"!=typeof this[s])&&o}))},n.observedAttributes=Array.from(new Set([...Object.keys(null!==(l=t.P)&&void 0!==l?l:{}),...s.filter((([n,t])=>15&t[0])).map((([n,l])=>{const o=l[1]||n;return e.set(o,n),512&l[0]&&t.O.push([n,o]),o}))]))}}return n},N=(n,t={})=>{var e;const l=[],o=t.exclude||[],i=B.customElements,c=D.head,r=c.querySelector("meta[charset]"),u=D.createElement("style"),a=[];let d,y=!0;Object.assign(G,t),G.L=new URL(t.resourcesUrl||"./",D.baseURI).href,n.map((n=>{n[1].map((t=>{var e;const s={i:t[0],p:t[1],C:t[2],N:t[3]};s.C=t[2],s.O=[],s.P=null!==(e=t[4])&&void 0!==e?e:{};const c=s.p,r=class extends HTMLElement{constructor(n){super(n),R(n=this,s),1&s.i&&n.attachShadow({mode:"open"})}connectedCallback(){d&&(clearTimeout(d),d=null),y?a.push(this):G.jmp((()=>(n=>{if(0==(1&G.i)){const t=F(n),e=t.S,l=()=>{};if(1&t.i)(null==t?void 0:t.v)||(null==t?void 0:t.T)&&t.T.then((()=>{}));else{t.i|=1;{let e=n;for(;e=e.parentNode||e.host;)if(e["s-p"]){S(t,t.m=e);break}}e.C&&Object.entries(e.C).map((([t,[e]])=>{if(31&e&&n.hasOwnProperty(t)){const e=n[t];delete n[t],n[t]=e}})),(async(n,t,e)=>{let l;if(0==(32&t.i)){t.i|=32;{if(l=_(e),l.then){const n=()=>{};l=await l,n()}l.isProxied||(e.P=l.watchers,L(l,e,2),l.isProxied=!0);const n=()=>{};t.i|=8;try{new l(t)}catch(n){q(n)}t.i&=-9,t.i|=128,n()}if(l.style){let n=l.style;const t=f(e);if(!z.has(t)){const l=()=>{};((n,t,e)=>{let l=z.get(n);J&&e?(l=l||new CSSStyleSheet,"string"==typeof l?l=t:l.replaceSync(t)):l=t,z.set(n,l)})(t,n,!!(1&e.i)),l()}}}const o=t.m,s=()=>g(t,!0);o&&o["s-rc"]?o["s-rc"].push(s):s()})(0,t,e)}l()}})(this)))}disconnectedCallback(){G.jmp((()=>(async()=>{if(0==(1&G.i)){const n=F(this);(null==n?void 0:n.v)||(null==n?void 0:n.T)&&n.T.then((()=>{}))}})()))}componentOnReady(){return F(this).T}};s.W=n[0],o.includes(c)||i.get(c)||(l.push(c),i.define(c,L(r,s,1)))}))}));{u.innerHTML=l+"{visibility:hidden}[hydrated]{visibility:inherit}",u.setAttribute("data-styles","");const n=null!==(e=G.j)&&void 0!==e?e:s(D);null!=n&&u.setAttribute("nonce",n),c.insertBefore(u,r?r.nextSibling:c.firstChild)}y=!1,a.length?a.map((n=>n.connectedCallback())):G.jmp((()=>d=setTimeout(x,30)))},T=n=>G.j=n,W=new WeakMap,F=n=>W.get(n),H=(n,t)=>W.set(t.v=n,t),R=(n,t)=>{const e={i:0,$hostElement$:n,S:t,A:new Map};return e.T=new Promise((n=>e.k=n)),n["s-p"]=[],n["s-rc"]=[],W.set(n,e)},U=(n,t)=>t in n,q=(n,t)=>(0,console.error)(n,t),V=new Map,_=n=>{const t=n.p.replace(/-/g,"_"),e=n.W,l=V.get(e);return l?l[t]:import(`./${e}.entry.js`).then((n=>(V.set(e,n),n[t])),q)
2
+ /*!__STENCIL_STATIC_IMPORT_SWITCH__*/},z=new Map,B="undefined"!=typeof window?window:{},D=B.document||{head:{}},G={i:0,L:"",jmp:n=>n(),raf:n=>requestAnimationFrame(n),ael:(n,t,e,l)=>n.addEventListener(t,e,l),rel:(n,t,e,l)=>n.removeEventListener(t,e,l),ce:(n,t)=>new CustomEvent(n,t)},I=n=>Promise.resolve(n),J=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(n){}return!1})(),K=[],Q=[],X=(n,t)=>l=>{n.push(l),e||(e=!0,t&&4&G.i?nn(Z):G.raf(Z))},Y=n=>{for(let t=0;t<n.length;t++)try{n[t](performance.now())}catch(n){q(n)}n.length=0},Z=()=>{Y(K),Y(Q),(e=K.length>0)&&G.raf(Z)},nn=n=>I().then(n),tn=X(Q,!0);export{r as H,N as b,u as g,i as h,I as p,H as r,T as s}
@@ -0,0 +1,2 @@
1
+ var __extends=this&&this.__extends||function(){var r=function(n,e){r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var e in n)if(Object.prototype.hasOwnProperty.call(n,e))r[e]=n[e]};return r(n,e)};return function(n,e){if(typeof e!=="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");r(n,e);function t(){this.constructor=n}n.prototype=e===null?Object.create(e):(t.prototype=e.prototype,new t)}}();var __awaiter=this&&this.__awaiter||function(r,n,e,t){function i(r){return r instanceof e?r:new e((function(n){n(r)}))}return new(e||(e=Promise))((function(e,a){function u(r){try{o(t.next(r))}catch(r){a(r)}}function f(r){try{o(t["throw"](r))}catch(r){a(r)}}function o(r){r.done?e(r.value):i(r.value).then(u,f)}o((t=t.apply(r,n||[])).next())}))};var __generator=this&&this.__generator||function(r,n){var e={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},t,i,a,u;return u={next:f(0),throw:f(1),return:f(2)},typeof Symbol==="function"&&(u[Symbol.iterator]=function(){return this}),u;function f(r){return function(n){return o([r,n])}}function o(f){if(t)throw new TypeError("Generator is already executing.");while(u&&(u=0,f[0]&&(e=0)),e)try{if(t=1,i&&(a=f[0]&2?i["return"]:f[0]?i["throw"]||((a=i["return"])&&a.call(i),0):i.next)&&!(a=a.call(i,f[1])).done)return a;if(i=0,a)f=[f[0]&2,a.value];switch(f[0]){case 0:case 1:a=f;break;case 4:e.label++;return{value:f[1],done:false};case 5:e.label++;i=f[1];f=[0];continue;case 7:f=e.ops.pop();e.trys.pop();continue;default:if(!(a=e.trys,a=a.length>0&&a[a.length-1])&&(f[0]===6||f[0]===2)){e=0;continue}if(f[0]===3&&(!a||f[1]>a[0]&&f[1]<a[3])){e.label=f[1];break}if(f[0]===6&&e.label<a[1]){e.label=a[1];a=f;break}if(a&&e.label<a[2]){e.label=a[2];e.ops.push(f);break}if(a[2])e.ops.pop();e.trys.pop();continue}f=n.call(r,e)}catch(r){f=[6,r];i=0}finally{t=a=0}if(f[0]&5)throw f[1];return{value:f[0]?f[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(r,n,e){if(e||arguments.length===2)for(var t=0,i=n.length,a;t<i;t++){if(a||!(t in n)){if(!a)a=Array.prototype.slice.call(n,0,t);a[t]=n[t]}}return r.concat(a||Array.prototype.slice.call(n))};System.register([],(function(r,n){"use strict";return{execute:function(){var e=this;var t="mds-progress";var i;var a;var u=false;var f=false;var o=function(r,n){if(n===void 0){n=""}{return function(){return}}};var v=function(r,n){{return function(){return}}};var l="{visibility:hidden}[hydrated]{visibility:inherit}";var c={};var s=function(r){return r!=null};var d=function(r){r=typeof r;return r==="object"||r==="function"};function h(r){var n,e,t;return(t=(e=(n=r.head)===null||n===void 0?void 0:n.querySelector('meta[name="csp-nonce"]'))===null||e===void 0?void 0:e.getAttribute("content"))!==null&&t!==void 0?t:undefined}var y=r("h",(function(r,n){var e=[];for(var t=2;t<arguments.length;t++){e[t-2]=arguments[t]}var i=null;var a=false;var u=false;var f=[];var o=function(n){for(var e=0;e<n.length;e++){i=n[e];if(Array.isArray(i)){o(i)}else if(i!=null&&typeof i!=="boolean"){if(a=typeof r!=="function"&&!d(i)){i=String(i)}if(a&&u){f[f.length-1].t+=i}else{f.push(a?p(null,i):i)}u=a}}};o(e);if(n){{var v=n.className||n.class;if(v){n.class=typeof v!=="object"?v:Object.keys(v).filter((function(r){return v[r]})).join(" ")}}}var l=p(r,null);l.i=n;if(f.length>0){l.u=f}return l}));var p=function(r,n){var e={o:0,v:r,t:n,l:null,u:null};{e.i=null}return e};var w=r("H",{});var _=function(r){return r&&r.v===w};var m=function(r,n){if(r!=null&&!d(r)){if(n&2){return parseFloat(r)}if(n&1){return String(r)}return r}return r};var b=r("g",(function(r){return ur(r).$hostElement$}));var $=function(r,n,e){var t=pr.ce(n,e);r.dispatchEvent(t);return t};var g=new WeakMap;var S=function(r,n,e){var t=dr.get(r);if(_r&&e){t=t||new CSSStyleSheet;if(typeof t==="string"){t=n}else{t.replaceSync(n)}}else{t=n}dr.set(r,t)};var j=function(r,n,e){var t;var i=k(n);var a=dr.get(i);r=r.nodeType===11?r:yr;if(a){if(typeof a==="string"){r=r.head||r;var u=g.get(r);var f=void 0;if(!u){g.set(r,u=new Set)}if(!u.has(i)){{f=yr.createElement("style");f.innerHTML=a;var o=(t=pr.h)!==null&&t!==void 0?t:h(yr);if(o!=null){f.setAttribute("nonce",o)}r.insertBefore(f,r.querySelector("link"))}if(u){u.add(i)}}}else if(!r.adoptedStyleSheets.includes(a)){r.adoptedStyleSheets=__spreadArray(__spreadArray([],r.adoptedStyleSheets,true),[a],false)}}return i};var A=function(r){var n=r.p;var e=r.$hostElement$;var t=n.o;var i=o("attachStyles",n._);var a=j(e.shadowRoot?e.shadowRoot:e.getRootNode(),n);if(t&10){e["s-sc"]=a;e.classList.add(a+"-h")}i()};var k=function(r,n){return"sc-"+r._};var O=function(r,n,e,t,i,a){if(e!==t){var u=vr(r,n);n.toLowerCase();if(n==="class"){var f=r.classList;var o=x(e);var v=x(t);f.remove.apply(f,o.filter((function(r){return r&&!v.includes(r)})));f.add.apply(f,v.filter((function(r){return r&&!o.includes(r)})))}else if(n==="style"){{for(var l in e){if(!t||t[l]==null){if(l.includes("-")){r.style.removeProperty(l)}else{r.style[l]=""}}}}for(var l in t){if(!e||t[l]!==e[l]){if(l.includes("-")){r.style.setProperty(l,t[l])}else{r.style[l]=t[l]}}}}else{var c=d(t);if((u||c&&t!==null)&&!i){try{if(!r.tagName.includes("-")){var s=t==null?"":t;if(n==="list"){u=false}else if(e==null||r[n]!=s){r[n]=s}}else{r[n]=t}}catch(r){}}if(t==null||t===false){if(t!==false||r.getAttribute(n)===""){{r.removeAttribute(n)}}}else if((!u||a&4||i)&&!c){t=t===true?"":t;{r.setAttribute(n,t)}}}}};var M=/\s/;var x=function(r){return!r?[]:r.split(M)};var C=function(r,n,e,t){var i=n.l.nodeType===11&&n.l.host?n.l.host:n.l;var a=r&&r.i||c;var u=n.i||c;{for(t in a){if(!(t in u)){O(i,t,a[t],undefined,e,n.o)}}}for(t in u){O(i,t,a[t],u[t],e,n.o)}};var P=function(r,n,e,t){var a=n.u[e];var f=0;var o;var v;{o=a.l=yr.createElement(a.v);{C(null,a,u)}if(s(i)&&o["s-si"]!==i){o.classList.add(o["s-si"]=i)}if(a.u){for(f=0;f<a.u.length;++f){v=P(r,a,f);if(v){o.appendChild(v)}}}}return o};var E=function(r,n,e,t,i,u){var f=r;var o;if(f.shadowRoot&&f.tagName===a){f=f.shadowRoot}for(;i<=u;++i){if(t[i]){o=P(null,e,i);if(o){t[i].l=o;f.insertBefore(o,n)}}}};var T=function(r,n,e){for(var t=n;t<=e;++t){var i=r[t];if(i){var a=i.l;if(a){a.remove()}}}};var U=function(r,n,e,t){var i=0;var a=0;var u=n.length-1;var f=n[0];var o=n[u];var v=t.length-1;var l=t[0];var c=t[v];var s;while(i<=u&&a<=v){if(f==null){f=n[++i]}else if(o==null){o=n[--u]}else if(l==null){l=t[++a]}else if(c==null){c=t[--v]}else if(L(f,l)){N(f,l);f=n[++i];l=t[++a]}else if(L(o,c)){N(o,c);o=n[--u];c=t[--v]}else if(L(f,c)){N(f,c);r.insertBefore(f.l,o.l.nextSibling);f=n[++i];c=t[--v]}else if(L(o,l)){N(o,l);r.insertBefore(o.l,f.l);o=n[--u];l=t[++a]}else{{s=P(n&&n[a],e,a);l=t[++a]}if(s){{f.l.parentNode.insertBefore(s,f.l)}}}}if(i>u){E(r,t[v+1]==null?null:t[v+1].l,e,t,a,v)}else if(a>v){T(n,i,u)}};var L=function(r,n){if(r.v===n.v){return true}return false};var N=function(r,n){var e=n.l=r.l;var t=r.u;var i=n.u;{{{C(r,n,u)}}if(t!==null&&i!==null){U(e,t,n,i)}else if(i!==null){E(e,null,n,i,0,i.length-1)}else if(t!==null){T(t,0,t.length-1)}}};var W=function(r,n,e){if(e===void 0){e=false}var t=r.$hostElement$;var u=r.p;var f=r.m||p(null,null);var o=_(n)?n:y(null,null,n);a=t.tagName;if(u.$){o.i=o.i||{};u.$.map((function(r){var n=r[0],e=r[1];return o.i[e]=t[n]}))}if(e&&o.i){for(var v=0,l=Object.keys(o.i);v<l.length;v++){var c=l[v];if(t.hasAttribute(c)&&!["key","ref","style","class"].includes(c)){o.i[c]=t[c]}}}o.v=null;o.o|=4;r.m=o;o.l=f.l=t.shadowRoot||t;{i=t["s-sc"]}N(f,o)};var F=function(r,n){if(n&&!r.S&&n["s-p"]){n["s-p"].push(new Promise((function(n){return r.S=n})))}};var H=function(r,n){{r.o|=16}if(r.o&4){r.o|=512;return}F(r,r.j);var e=function(){return q(r,n)};return Ar(e)};var q=function(r,n){var e=o("scheduleUpdate",r.p._);var t=r.A;var i;if(n){{i=D(t,"componentWillLoad")}}e();return G(i,(function(){return R(r,t,n)}))};var G=function(r,n){return I(r)?r.then(n):n()};var I=function(r){return r instanceof Promise||r&&r.then&&typeof r.then==="function"};var R=function(r,n,t){return __awaiter(e,void 0,void 0,(function(){var e,i,a,u,f,v,l;return __generator(this,(function(c){i=r.$hostElement$;a=o("update",r.p._);u=i["s-rc"];if(t){A(r)}f=o("render",r.p._);{V(r,n,i,t)}if(u){u.map((function(r){return r()}));i["s-rc"]=undefined}f();a();{v=(e=i["s-p"])!==null&&e!==void 0?e:[];l=function(){return z(r)};if(v.length===0){l()}else{Promise.all(v).then(l);r.o|=4;v.length=0}}return[2]}))}))};var V=function(r,n,e,t){try{n=n.render();{r.o&=~16}{r.o|=2}{{{W(r,n,t)}}}}catch(n){lr(n,r.$hostElement$)}return null};var z=function(r){var n=r.p._;var e=r.$hostElement$;var t=o("postUpdate",n);var i=r.j;if(!(r.o&64)){r.o|=64;{J(e)}t();{r.k(e);if(!i){B()}}}else{t()}{if(r.S){r.S();r.S=undefined}if(r.o&512){jr((function(){return H(r,false)}))}r.o&=~(4|512)}};var B=function(r){{J(yr.documentElement)}jr((function(){return $(hr,"appload",{detail:{namespace:t}})}))};var D=function(r,n,e){if(r&&r[n]){try{return r[n](e)}catch(r){lr(r)}}return undefined};var J=function(r){return r.setAttribute("hydrated","")};var K=function(r,n){return ur(r).O.get(n)};var Q=function(r,n,e,t){var i=ur(r);var a=i.$hostElement$;var u=i.O.get(n);var f=i.o;var o=i.A;e=m(e,t.M[n][0]);var v=Number.isNaN(u)&&Number.isNaN(e);var l=e!==u&&!v;if((!(f&8)||u===undefined)&&l){i.O.set(n,e);if(o){if(t.C&&f&128){var c=t.C[n];if(c){c.map((function(r){try{o[r](e,u,n)}catch(r){lr(r,a)}}))}}if((f&(2|16))===2){H(i,false)}}}};var X=function(r,n,e){var t;if(n.M){if(r.watchers){n.C=r.watchers}var i=Object.entries(n.M);var a=r.prototype;i.map((function(r){var t=r[0],i=r[1][0];if(i&31||e&2&&i&32){Object.defineProperty(a,t,{get:function(){return K(this,t)},set:function(r){Q(this,t,r,n)},configurable:true,enumerable:true})}}));if(e&1){var u=new Map;a.attributeChangedCallback=function(r,e,t){var i=this;pr.jmp((function(){var f=u.get(r);if(i.hasOwnProperty(f)){t=i[f];delete i[f]}else if(a.hasOwnProperty(f)&&typeof i[f]==="number"&&i[f]==t){return}else if(f==null){var o=ur(i);var v=o===null||o===void 0?void 0:o.o;if(!(v&8)&&v&128&&t!==e){var l=o.A;var c=n.C[r];c===null||c===void 0?void 0:c.forEach((function(n){if(l[n]!=null){l[n].call(l,t,e,r)}}))}return}i[f]=t===null&&typeof i[f]==="boolean"?false:t}))};r.observedAttributes=Array.from(new Set(__spreadArray(__spreadArray([],Object.keys((t=n.C)!==null&&t!==void 0?t:{}),true),i.filter((function(r){var n=r[0],e=r[1];return e[0]&15})).map((function(r){var e=r[0],t=r[1];var i=t[1]||e;u.set(i,e);if(t[0]&512){n.$.push([e,i])}return i})),true)))}}return r};var Y=function(r,n,t,i){return __awaiter(e,void 0,void 0,(function(){var r,e,i,a,u,f,l,c;return __generator(this,(function(s){switch(s.label){case 0:if(!((n.o&32)===0))return[3,3];n.o|=32;r=sr(t);if(!r.then)return[3,2];e=v();return[4,r];case 1:r=s.sent();e();s.label=2;case 2:if(!r.isProxied){{t.C=r.watchers}X(r,t,2);r.isProxied=true}i=o("createInstance",t._);{n.o|=8}try{new r(n)}catch(r){lr(r)}{n.o&=~8}{n.o|=128}i();if(r.style){a=r.style;u=k(t);if(!dr.has(u)){f=o("registerStyles",t._);S(u,a,!!(t.o&1));f()}}s.label=3;case 3:l=n.j;c=function(){return H(n,true)};if(l&&l["s-rc"]){l["s-rc"].push(c)}else{c()}return[2]}}))}))};var Z=function(r){};var rr=function(r){if((pr.o&1)===0){var n=ur(r);var e=n.p;var t=o("connectedCallback",e._);if(!(n.o&1)){n.o|=1;{var i=r;while(i=i.parentNode||i.host){if(i["s-p"]){F(n,n.j=i);break}}}if(e.M){Object.entries(e.M).map((function(n){var e=n[0],t=n[1][0];if(t&31&&r.hasOwnProperty(e)){var i=r[e];delete r[e];r[e]=i}}))}{Y(r,n,e)}}else{if(n===null||n===void 0?void 0:n.A);else if(n===null||n===void 0?void 0:n.P){n.P.then((function(){return Z()}))}}t()}};var nr=function(r){};var er=function(r){return __awaiter(e,void 0,void 0,(function(){var n;return __generator(this,(function(e){if((pr.o&1)===0){n=ur(r);if(n===null||n===void 0?void 0:n.A);else if(n===null||n===void 0?void 0:n.P){n.P.then((function(){return nr()}))}}return[2]}))}))};var tr=r("b",(function(r,n){if(n===void 0){n={}}var e;var t=o();var i=[];var a=n.exclude||[];var u=hr.customElements;var f=yr.head;var v=f.querySelector("meta[charset]");var c=yr.createElement("style");var s=[];var d;var y=true;Object.assign(pr,n);pr.T=new URL(n.resourcesUrl||"./",yr.baseURI).href;r.map((function(r){r[1].map((function(n){var e;var t={o:n[0],_:n[1],M:n[2],U:n[3]};{t.M=n[2]}{t.$=[]}{t.C=(e=n[4])!==null&&e!==void 0?e:{}}var f=t._;var o=function(r){__extends(n,r);function n(n){var e=r.call(this,n)||this;n=e;or(n,t);if(t.o&1){{{n.attachShadow({mode:"open"})}}}return e}n.prototype.connectedCallback=function(){var r=this;if(d){clearTimeout(d);d=null}if(y){s.push(this)}else{pr.jmp((function(){return rr(r)}))}};n.prototype.disconnectedCallback=function(){var r=this;pr.jmp((function(){return er(r)}))};n.prototype.componentOnReady=function(){return ur(this).P};return n}(HTMLElement);t.L=r[0];if(!a.includes(f)&&!u.get(f)){i.push(f);u.define(f,X(o,t,1))}}))}));{c.innerHTML=i+l;c.setAttribute("data-styles","");var p=(e=pr.h)!==null&&e!==void 0?e:h(yr);if(p!=null){c.setAttribute("nonce",p)}f.insertBefore(c,v?v.nextSibling:f.firstChild)}y=false;if(s.length){s.map((function(r){return r.connectedCallback()}))}else{{pr.jmp((function(){return d=setTimeout(B,30)}))}}t()}));var ir=r("s",(function(r){return pr.h=r}));var ar=new WeakMap;var ur=function(r){return ar.get(r)};var fr=r("r",(function(r,n){return ar.set(n.A=r,n)}));var or=function(r,n){var e={o:0,$hostElement$:r,p:n,O:new Map};{e.P=new Promise((function(r){return e.k=r}));r["s-p"]=[];r["s-rc"]=[]}return ar.set(r,e)};var vr=function(r,n){return n in r};var lr=function(r,n){return(0,console.error)(r,n)};var cr=new Map;var sr=function(r,e,t){var i=r._.replace(/-/g,"_");var a=r.L;var u=cr.get(a);if(u){return u[i]}
2
+ /*!__STENCIL_STATIC_IMPORT_SWITCH__*/return n.import("./".concat(a,".entry.js").concat("")).then((function(r){{cr.set(a,r)}return r[i]}),lr)};var dr=new Map;var hr=typeof window!=="undefined"?window:{};var yr=hr.document||{head:{}};var pr={o:0,T:"",jmp:function(r){return r()},raf:function(r){return requestAnimationFrame(r)},ael:function(r,n,e,t){return r.addEventListener(n,e,t)},rel:function(r,n,e,t){return r.removeEventListener(n,e,t)},ce:function(r,n){return new CustomEvent(r,n)}};var wr=r("p",(function(r){return Promise.resolve(r)}));var _r=function(){try{new CSSStyleSheet;return typeof(new CSSStyleSheet).replaceSync==="function"}catch(r){}return false}();var mr=[];var br=[];var $r=function(r,n){return function(e){r.push(e);if(!f){f=true;if(n&&pr.o&4){jr(Sr)}else{pr.raf(Sr)}}}};var gr=function(r){for(var n=0;n<r.length;n++){try{r[n](performance.now())}catch(r){lr(r)}}r.length=0};var Sr=function(){gr(mr);{gr(br);if(f=mr.length>0){pr.raf(Sr)}}};var jr=function(r){return wr().then(r)};var Ar=$r(br,true)}}}));
@@ -1 +1 @@
1
- System.register(["./p-e8e08781.system.js"],(function(r){"use strict";var o,s,t,e;return{setters:[function(r){o=r.r;s=r.h;t=r.H;e=r.g}],execute:function(){var i='@tailwind utilities; :host{--mds-progress-background:rgb(var(--tone-neutral-08));--mds-progress-color:rgb(var(--brand-maggioli-03));--mds-progress-duration:750ms;--mds-progress-radius:0.5rem;--mds-progress-thickness:0.5rem;-webkit-transition-property:color, background-color, border-color, fill, stroke, -webkit-text-decoration-color;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-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transition-duration:150ms;transition-duration:150ms;background-color:var(--mds-progress-background);border-radius:var(--mds-progress-radius);display:-ms-flexbox;display:flex;height:var(--mds-progress-thickness);min-width:var(--mds-progress-thickness);overflow:hidden;width:100%}:host([direction="vertical"]){-ms-flex-direction:column;flex-direction:column;height:unset;min-height:var(--mds-progress-thickness);width:var(--mds-progress-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(--mds-progress-color);border-radius:var(--mds-progress-radius);-webkit-transition-duration:var(--mds-progress-duration);transition-duration:var(--mds-progress-duration);-webkit-transition-property:background-color, flex-grow;transition-property:background-color, flex-grow;transition-property:background-color, flex-grow, -ms-flex-positive}.fixed{position:fixed}.absolute{position:absolute}.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"]){--mds-progress-color:rgb(var(--tone-neutral-04));--mds-progress-background:rgb(var(--tone-neutral-08))}:host([variant="light"]){--mds-progress-color:rgb(var(--tone-neutral));--mds-progress-background:rgb(var(--tone-neutral-05))}:host([variant="error"]){--mds-progress-color:rgb(var(--status-error-06));--mds-progress-background:rgb(var(--status-error-09))}:host([variant="warning"]){--mds-progress-color:rgb(var(--status-warning-06));--mds-progress-background:rgb(var(--status-warning-09))}:host([variant="success"]){--mds-progress-color:rgb(var(--status-success-06));--mds-progress-background:rgb(var(--status-success-09))}:host([variant="info"]){--mds-progress-color:rgb(var(--status-info-06));--mds-progress-background:rgb(var(--status-info-09))}:host([variant="primary"]){--mds-progress-color:rgb(var(--brand-maggioli-03));--mds-progress-background:rgb(var(--tone-neutral-08))}';var n=r("mds_progress",function(){function r(r){o(this,r);this.stepsList=new Array;this.currentStep=undefined;this.progress=0;this.direction="horizontal";this.variant="primary";this.steps="Inizio,Un quarto,Metà,Tre quarti,Fine"}r.prototype.componentWillLoad=function(){this.stepsList=this.steps.split(",");this.setProgress(this.progress)};r.prototype.setProgress=function(r){if(this.steps){this.currentStep=this.stepsList[Math.round(r*(this.stepsList.length-1))];this.element.setAttribute("aria-valuetext",this.currentStep)}};r.prototype.progressChanged=function(r){this.setProgress(r)};r.prototype.stepsChanged=function(r){this.stepsList=r.split(",")};r.prototype.render=function(){return s(t,{"aria-valuemax":"100","aria-valuemin":"0","aria-valuenow":Math.round(this.progress*100),role:"progressbar"},s("div",{class:"progress",style:this.direction==="horizontal"?{flexGrow:"".concat(this.progress)}:{flexGrow:"".concat(this.progress),width:"100%"}}))};Object.defineProperty(r.prototype,"element",{get:function(){return e(this)},enumerable:false,configurable:true});Object.defineProperty(r,"watchers",{get:function(){return{progress:["progressChanged"],steps:["stepsChanged"]}},enumerable:false,configurable:true});return r}());n.style=i}}}));
1
+ System.register(["./p-a257dbdb.system.js"],(function(r){"use strict";var o,s,t,i;return{setters:[function(r){o=r.r;s=r.h;t=r.H;i=r.g}],execute:function(){var e='@tailwind utilities; :host{--mds-progress-background:rgb(var(--tone-neutral-08));--mds-progress-color:rgb(var(--brand-maggioli-03));--mds-progress-duration:750ms;--mds-progress-radius:0.5rem;--mds-progress-thickness:0.5rem;-webkit-transition-property:color, background-color, border-color, fill, stroke, -webkit-text-decoration-color;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-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transition-duration:150ms;transition-duration:150ms;background-color:var(--mds-progress-background);border-radius:var(--mds-progress-radius);display:-ms-flexbox;display:flex;height:var(--mds-progress-thickness);min-width:var(--mds-progress-thickness);overflow:hidden;width:100%}:host([direction="vertical"]){-ms-flex-direction:column;flex-direction:column;height:unset;min-height:var(--mds-progress-thickness);width:var(--mds-progress-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(--mds-progress-color);border-radius:var(--mds-progress-radius);-webkit-transition-duration:var(--mds-progress-duration);transition-duration:var(--mds-progress-duration);-webkit-transition-property:background-color, flex-grow;transition-property:background-color, flex-grow;transition-property:background-color, flex-grow, -ms-flex-positive}.fixed{position:fixed}.absolute{position:absolute}.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"]){--mds-progress-color:rgb(var(--tone-neutral-04));--mds-progress-background:rgb(var(--tone-neutral-08))}:host([variant="light"]){--mds-progress-color:rgb(var(--tone-neutral));--mds-progress-background:rgb(var(--tone-neutral-05))}:host([variant="error"]){--mds-progress-color:rgb(var(--status-error-06));--mds-progress-background:rgb(var(--status-error-09))}:host([variant="warning"]){--mds-progress-color:rgb(var(--status-warning-06));--mds-progress-background:rgb(var(--status-warning-09))}:host([variant="success"]){--mds-progress-color:rgb(var(--status-success-06));--mds-progress-background:rgb(var(--status-success-09))}:host([variant="info"]){--mds-progress-color:rgb(var(--status-info-06));--mds-progress-background:rgb(var(--status-info-09))}:host([variant="primary"]){--mds-progress-color:rgb(var(--brand-maggioli-03));--mds-progress-background:rgb(var(--tone-neutral-08))}';var a=r("mds_progress",function(){function r(r){o(this,r);this.stepsList=new Array;this.currentStep=undefined;this.progress=0;this.direction="horizontal";this.variant="primary";this.steps="Inizio,Un quarto,Metà,Tre quarti,Fine"}r.prototype.componentWillLoad=function(){this.stepsList=this.steps.split(",");this.setProgress(this.progress)};r.prototype.setProgress=function(r){if(this.steps){this.currentStep=this.stepsList[Math.round(r*(this.stepsList.length-1))];this.element.setAttribute("aria-valuetext",this.currentStep)}};r.prototype.progressChanged=function(r){this.setProgress(r)};r.prototype.stepsChanged=function(r){this.stepsList=r.split(",")};r.prototype.render=function(){return s(t,{"aria-valuemax":"100","aria-valuemin":"0","aria-valuenow":Math.round(this.progress*100),role:"progressbar"},s("div",{class:"progress",style:this.direction==="horizontal"?{flexGrow:"".concat(this.progress)}:{flexGrow:"".concat(this.progress),width:"100%"}}))};Object.defineProperty(r.prototype,"element",{get:function(){return i(this)},enumerable:false,configurable:true});Object.defineProperty(r,"watchers",{get:function(){return{progress:["progressChanged"],steps:["stepsChanged"]}},enumerable:false,configurable:true});return r}());a.style=e}}}));
@@ -0,0 +1 @@
1
+ System.register(["./p-a257dbdb.system.js"],(function(e,s){"use strict";var r,t;return{setters:[function(s){r=s.p;t=s.b;e("setNonce",s.s)}],execute:function(){var e=function(){var e=s.meta.url;var t={};if(e!==""){t.resourcesUrl=new URL(".",e).href}return r(t)};e().then((function(e){return t([["p-aeb5044e.system",[[1,"mds-progress",{progress:[2],direction:[513],variant:[513],steps:[1],currentStep:[32]},null,{progress:["progressChanged"],steps:["stepsChanged"]}]]]],e)}))}}}));
package/dist/stats.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "timestamp": "2023-09-27T11:27:42",
2
+ "timestamp": "2023-10-19T09:57:20",
3
3
  "compiler": {
4
4
  "name": "node",
5
5
  "version": "18.16.1"
@@ -59,17 +59,17 @@
59
59
  "name": "dist-lazy",
60
60
  "files": 35,
61
61
  "generatedFiles": [
62
- "./dist/cjs/index-91e137c8.js",
62
+ "./dist/cjs/index-4c39a7df.js",
63
63
  "./dist/cjs/index.cjs.js",
64
64
  "./dist/cjs/loader.cjs.js",
65
65
  "./dist/cjs/mds-progress.cjs.entry.js",
66
66
  "./dist/cjs/mds-progress.cjs.js",
67
- "./dist/esm-es5/index-fbed50ee.js",
67
+ "./dist/esm-es5/index-84dce283.js",
68
68
  "./dist/esm-es5/index.js",
69
69
  "./dist/esm-es5/loader.js",
70
70
  "./dist/esm-es5/mds-progress.entry.js",
71
71
  "./dist/esm-es5/mds-progress.js",
72
- "./dist/esm/index-fbed50ee.js",
72
+ "./dist/esm/index-84dce283.js",
73
73
  "./dist/esm/index.js",
74
74
  "./dist/esm/loader.js",
75
75
  "./dist/esm/mds-progress.entry.js",
@@ -79,21 +79,21 @@
79
79
  "./dist/mds-progress/index.esm.js",
80
80
  "./dist/mds-progress/mds-progress.esm.js",
81
81
  "./dist/mds-progress/mds-progress.js",
82
- "./dist/mds-progress/p-0f4e300d.entry.js",
82
+ "./dist/mds-progress/p-1ab5e470.entry.js",
83
83
  "./dist/mds-progress/p-50ea2036.system.js",
84
- "./dist/mds-progress/p-83f968eb.js",
85
- "./dist/mds-progress/p-bce00c63.system.entry.js",
86
- "./dist/mds-progress/p-e8e08781.system.js",
87
- "./dist/mds-progress/p-fdd5b8c4.system.js",
84
+ "./dist/mds-progress/p-576b3fa7.js",
85
+ "./dist/mds-progress/p-a257dbdb.system.js",
86
+ "./dist/mds-progress/p-aeb5044e.system.entry.js",
87
+ "./dist/mds-progress/p-f0741149.system.js",
88
88
  "./www/build/index.esm.js",
89
89
  "./www/build/mds-progress.esm.js",
90
90
  "./www/build/mds-progress.js",
91
- "./www/build/p-0f4e300d.entry.js",
91
+ "./www/build/p-1ab5e470.entry.js",
92
92
  "./www/build/p-50ea2036.system.js",
93
- "./www/build/p-83f968eb.js",
94
- "./www/build/p-bce00c63.system.entry.js",
95
- "./www/build/p-e8e08781.system.js",
96
- "./www/build/p-fdd5b8c4.system.js"
93
+ "./www/build/p-576b3fa7.js",
94
+ "./www/build/p-a257dbdb.system.js",
95
+ "./www/build/p-aeb5044e.system.entry.js",
96
+ "./www/build/p-f0741149.system.js"
97
97
  ]
98
98
  },
99
99
  {
@@ -126,10 +126,10 @@
126
126
  "components": [
127
127
  "mds-progress"
128
128
  ],
129
- "bundleId": "p-0f4e300d",
130
- "fileName": "p-0f4e300d.entry.js",
129
+ "bundleId": "p-1ab5e470",
130
+ "fileName": "p-1ab5e470.entry.js",
131
131
  "imports": [
132
- "p-83f968eb.js"
132
+ "p-576b3fa7.js"
133
133
  ],
134
134
  "originalByteSize": 4569
135
135
  }
@@ -143,7 +143,7 @@
143
143
  "bundleId": "mds-progress",
144
144
  "fileName": "mds-progress.entry.js",
145
145
  "imports": [
146
- "index-fbed50ee.js"
146
+ "index-84dce283.js"
147
147
  ],
148
148
  "originalByteSize": 4573
149
149
  }
@@ -157,7 +157,7 @@
157
157
  "bundleId": "mds-progress",
158
158
  "fileName": "mds-progress.entry.js",
159
159
  "imports": [
160
- "index-fbed50ee.js"
160
+ "index-84dce283.js"
161
161
  ],
162
162
  "originalByteSize": 4573
163
163
  }
@@ -168,10 +168,10 @@
168
168
  "components": [
169
169
  "mds-progress"
170
170
  ],
171
- "bundleId": "p-bce00c63.system",
172
- "fileName": "p-bce00c63.system.entry.js",
171
+ "bundleId": "p-aeb5044e.system",
172
+ "fileName": "p-aeb5044e.system.entry.js",
173
173
  "imports": [
174
- "p-e8e08781.system.js"
174
+ "p-a257dbdb.system.js"
175
175
  ],
176
176
  "originalByteSize": 5028
177
177
  }
@@ -185,7 +185,7 @@
185
185
  "bundleId": "mds-progress.cjs",
186
186
  "fileName": "mds-progress.cjs.entry.js",
187
187
  "imports": [
188
- "index-91e137c8.js"
188
+ "index-4c39a7df.js"
189
189
  ],
190
190
  "originalByteSize": 4632
191
191
  }
@@ -320,6 +320,8 @@
320
320
  {
321
321
  "cmps": [
322
322
  {
323
+ "attachInternalsMemberName": null,
324
+ "formAssociated": false,
323
325
  "tagName": "mds-progress",
324
326
  "excludeFromCollection": false,
325
327
  "isCollectionDependency": false,
@@ -562,7 +564,7 @@
562
564
  ],
563
565
  "componentGraph": {
564
566
  "sc-mds-progress": [
565
- "p-83f968eb.js"
567
+ "p-576b3fa7.js"
566
568
  ]
567
569
  },
568
570
  "sourceGraph": {
@@ -3,6 +3,16 @@ export interface ComponentDecorator {
3
3
  (opts?: ComponentOptions): ClassDecorator;
4
4
  }
5
5
  export interface ComponentOptions {
6
+ /**
7
+ * When set to `true` this component will be form-associated. See
8
+ * https://stenciljs.com/docs/next/form-associated documentation on how to
9
+ * build form-associated Stencil components that integrate into forms like
10
+ * native browser elements such as `<input>` and `<textarea>`.
11
+ *
12
+ * The {@link AttachInternals} decorator allows for access to the
13
+ * `ElementInternals` object to modify the associated form.
14
+ */
15
+ formAssociated?: boolean;
6
16
  /**
7
17
  * Tag name of the web component. Ideally, the tag name must be globally unique,
8
18
  * so it's recommended to choose an unique prefix for all your components within the same collection.
@@ -107,6 +117,9 @@ export interface EventOptions {
107
117
  */
108
118
  composed?: boolean;
109
119
  }
120
+ export interface AttachInternalsDecorator {
121
+ (): PropertyDecorator;
122
+ }
110
123
  export interface ListenDecorator {
111
124
  (eventName: string, opts?: ListenOptions): CustomMethodDecorator<any>;
112
125
  }
@@ -175,6 +188,12 @@ export declare const Element: ElementDecorator;
175
188
  * https://stenciljs.com/docs/events
176
189
  */
177
190
  export declare const Event: EventDecorator;
191
+ /**
192
+ * If the `formAssociated` option is set in options passed to the
193
+ * `@Component()` decorator then this decorator may be used to get access to the
194
+ * `ElementInternals` instance associated with the component.
195
+ */
196
+ export declare const AttachInternals: AttachInternalsDecorator;
178
197
  /**
179
198
  * The `Listen()` decorator is for listening DOM events, including the ones
180
199
  * dispatched from `@Events()`.
@@ -1,9 +1,9 @@
1
1
  {
2
- "timestamp": "2023-09-27T10:36:27",
2
+ "timestamp": "2023-10-19T09:23:19",
3
3
  "compiler": {
4
4
  "name": "@stencil/core",
5
- "version": "4.3.0",
6
- "typescriptVersion": "5.1.6"
5
+ "version": "4.5.0",
6
+ "typescriptVersion": "5.2.2"
7
7
  },
8
8
  "components": [
9
9
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maggioli-design-system/mds-progress",
3
- "version": "2.6.1",
3
+ "version": "2.6.2",
4
4
  "description": "mds-progress is a web-component from Magma Design System, 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",
@@ -32,14 +32,14 @@ export class KeyboardManager {
32
32
 
33
33
  attachEscapeBehavior = (callBack: () => void): void => {
34
34
  this.escapeCallback = callBack
35
- if (typeof window !== undefined) {
35
+ if (window !== undefined) {
36
36
  window.addEventListener('keydown', this.handleEscapeBehaviorDispatchEvent.bind(this))
37
37
  }
38
38
  }
39
39
 
40
40
  detachEscapeBehavior = (): void => {
41
41
  this.escapeCallback = () => {return}
42
- if (typeof window !== undefined) {
42
+ if (window !== undefined) {
43
43
  window.removeEventListener('keydown', this.handleEscapeBehaviorDispatchEvent.bind(this))
44
44
  }
45
45
  }
@@ -1 +1 @@
1
- import{p as e,b as r}from"./p-83f968eb.js";export{s as setNonce}from"./p-83f968eb.js";(()=>{const s=import.meta.url,r={};return""!==s&&(r.resourcesUrl=new URL(".",s).href),e(r)})().then((s=>r([["p-0f4e300d",[[1,"mds-progress",{progress:[2],direction:[513],variant:[513],steps:[1],currentStep:[32]},null,{progress:["progressChanged"],steps:["stepsChanged"]}]]]],s)));
1
+ import{p as e,b as r}from"./p-576b3fa7.js";export{s as setNonce}from"./p-576b3fa7.js";(()=>{const s=import.meta.url,r={};return""!==s&&(r.resourcesUrl=new URL(".",s).href),e(r)})().then((s=>r([["p-1ab5e470",[[1,"mds-progress",{progress:[2],direction:[513],variant:[513],steps:[1],currentStep:[32]},null,{progress:["progressChanged"],steps:["stepsChanged"]}]]]],s)));
@@ -115,7 +115,7 @@ DOMTokenList
115
115
  var resourcesUrl = scriptElm ? scriptElm.getAttribute('data-resources-url') || scriptElm.src : '';
116
116
  var start = function() {
117
117
  // if src is not present then origin is "null", and new URL() throws TypeError: Failed to construct 'URL': Invalid base URL
118
- var url = new URL('./p-fdd5b8c4.system.js', new URL(resourcesUrl, window.location.origin !== 'null' ? window.location.origin : undefined));
118
+ var url = new URL('./p-f0741149.system.js', new URL(resourcesUrl, window.location.origin !== 'null' ? window.location.origin : undefined));
119
119
  System.import(url.href);
120
120
  };
121
121
 
@@ -1 +1 @@
1
- import{r,h as o,H as s,g as t}from"./p-83f968eb.js";const i=class{constructor(o){r(this,o),this.stepsList=new Array,this.currentStep=void 0,this.progress=0,this.direction="horizontal",this.variant="primary",this.steps="Inizio,Un quarto,Metà,Tre quarti,Fine"}componentWillLoad(){this.stepsList=this.steps.split(","),this.setProgress(this.progress)}setProgress(r){this.steps&&(this.currentStep=this.stepsList[Math.round(r*(this.stepsList.length-1))],this.element.setAttribute("aria-valuetext",this.currentStep))}progressChanged(r){this.setProgress(r)}stepsChanged(r){this.stepsList=r.split(",")}render(){return o(s,{"aria-valuemax":"100","aria-valuemin":"0","aria-valuenow":Math.round(100*this.progress),role:"progressbar"},o("div",{class:"progress",style:"horizontal"===this.direction?{flexGrow:`${this.progress}`}:{flexGrow:`${this.progress}`,width:"100%"}}))}get element(){return t(this)}static get watchers(){return{progress:["progressChanged"],steps:["stepsChanged"]}}};i.style='@tailwind utilities; :host{--mds-progress-background:rgb(var(--tone-neutral-08));--mds-progress-color:rgb(var(--brand-maggioli-03));--mds-progress-duration:750ms;--mds-progress-radius:0.5rem;--mds-progress-thickness:0.5rem;-webkit-transition-property:color, background-color, border-color, fill, stroke, -webkit-text-decoration-color;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-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transition-duration:150ms;transition-duration:150ms;background-color:var(--mds-progress-background);border-radius:var(--mds-progress-radius);display:-ms-flexbox;display:flex;height:var(--mds-progress-thickness);min-width:var(--mds-progress-thickness);overflow:hidden;width:100%}:host([direction="vertical"]){-ms-flex-direction:column;flex-direction:column;height:unset;min-height:var(--mds-progress-thickness);width:var(--mds-progress-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(--mds-progress-color);border-radius:var(--mds-progress-radius);-webkit-transition-duration:var(--mds-progress-duration);transition-duration:var(--mds-progress-duration);-webkit-transition-property:background-color, flex-grow;transition-property:background-color, flex-grow;transition-property:background-color, flex-grow, -ms-flex-positive}.fixed{position:fixed}.absolute{position:absolute}.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"]){--mds-progress-color:rgb(var(--tone-neutral-04));--mds-progress-background:rgb(var(--tone-neutral-08))}:host([variant="light"]){--mds-progress-color:rgb(var(--tone-neutral));--mds-progress-background:rgb(var(--tone-neutral-05))}:host([variant="error"]){--mds-progress-color:rgb(var(--status-error-06));--mds-progress-background:rgb(var(--status-error-09))}:host([variant="warning"]){--mds-progress-color:rgb(var(--status-warning-06));--mds-progress-background:rgb(var(--status-warning-09))}:host([variant="success"]){--mds-progress-color:rgb(var(--status-success-06));--mds-progress-background:rgb(var(--status-success-09))}:host([variant="info"]){--mds-progress-color:rgb(var(--status-info-06));--mds-progress-background:rgb(var(--status-info-09))}:host([variant="primary"]){--mds-progress-color:rgb(var(--brand-maggioli-03));--mds-progress-background:rgb(var(--tone-neutral-08))}';export{i as mds_progress}
1
+ import{r,h as o,H as s,g as t}from"./p-576b3fa7.js";const i=class{constructor(o){r(this,o),this.stepsList=new Array,this.currentStep=void 0,this.progress=0,this.direction="horizontal",this.variant="primary",this.steps="Inizio,Un quarto,Metà,Tre quarti,Fine"}componentWillLoad(){this.stepsList=this.steps.split(","),this.setProgress(this.progress)}setProgress(r){this.steps&&(this.currentStep=this.stepsList[Math.round(r*(this.stepsList.length-1))],this.element.setAttribute("aria-valuetext",this.currentStep))}progressChanged(r){this.setProgress(r)}stepsChanged(r){this.stepsList=r.split(",")}render(){return o(s,{"aria-valuemax":"100","aria-valuemin":"0","aria-valuenow":Math.round(100*this.progress),role:"progressbar"},o("div",{class:"progress",style:"horizontal"===this.direction?{flexGrow:`${this.progress}`}:{flexGrow:`${this.progress}`,width:"100%"}}))}get element(){return t(this)}static get watchers(){return{progress:["progressChanged"],steps:["stepsChanged"]}}};i.style='@tailwind utilities; :host{--mds-progress-background:rgb(var(--tone-neutral-08));--mds-progress-color:rgb(var(--brand-maggioli-03));--mds-progress-duration:750ms;--mds-progress-radius:0.5rem;--mds-progress-thickness:0.5rem;-webkit-transition-property:color, background-color, border-color, fill, stroke, -webkit-text-decoration-color;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-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transition-duration:150ms;transition-duration:150ms;background-color:var(--mds-progress-background);border-radius:var(--mds-progress-radius);display:-ms-flexbox;display:flex;height:var(--mds-progress-thickness);min-width:var(--mds-progress-thickness);overflow:hidden;width:100%}:host([direction="vertical"]){-ms-flex-direction:column;flex-direction:column;height:unset;min-height:var(--mds-progress-thickness);width:var(--mds-progress-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(--mds-progress-color);border-radius:var(--mds-progress-radius);-webkit-transition-duration:var(--mds-progress-duration);transition-duration:var(--mds-progress-duration);-webkit-transition-property:background-color, flex-grow;transition-property:background-color, flex-grow;transition-property:background-color, flex-grow, -ms-flex-positive}.fixed{position:fixed}.absolute{position:absolute}.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"]){--mds-progress-color:rgb(var(--tone-neutral-04));--mds-progress-background:rgb(var(--tone-neutral-08))}:host([variant="light"]){--mds-progress-color:rgb(var(--tone-neutral));--mds-progress-background:rgb(var(--tone-neutral-05))}:host([variant="error"]){--mds-progress-color:rgb(var(--status-error-06));--mds-progress-background:rgb(var(--status-error-09))}:host([variant="warning"]){--mds-progress-color:rgb(var(--status-warning-06));--mds-progress-background:rgb(var(--status-warning-09))}:host([variant="success"]){--mds-progress-color:rgb(var(--status-success-06));--mds-progress-background:rgb(var(--status-success-09))}:host([variant="info"]){--mds-progress-color:rgb(var(--status-info-06));--mds-progress-background:rgb(var(--status-info-09))}:host([variant="primary"]){--mds-progress-color:rgb(var(--brand-maggioli-03));--mds-progress-background:rgb(var(--tone-neutral-08))}';export{i as mds_progress}
@@ -0,0 +1,2 @@
1
+ let n,t,e=!1;const l={},o=n=>"object"==(n=typeof n)||"function"===n;function s(n){var t,e,l;return null!==(l=null===(e=null===(t=n.head)||void 0===t?void 0:t.querySelector('meta[name="csp-nonce"]'))||void 0===e?void 0:e.getAttribute("content"))&&void 0!==l?l:void 0}const i=(n,t,...e)=>{let l=null,s=!1,i=!1;const r=[],u=t=>{for(let e=0;e<t.length;e++)l=t[e],Array.isArray(l)?u(l):null!=l&&"boolean"!=typeof l&&((s="function"!=typeof n&&!o(l))&&(l+=""),s&&i?r[r.length-1].t+=l:r.push(s?c(null,l):l),i=s)};if(u(e),t){const n=t.className||t.class;n&&(t.class="object"!=typeof n?n:Object.keys(n).filter((t=>n[t])).join(" "))}const a=c(n,null);return a.l=t,r.length>0&&(a.o=r),a},c=(n,t)=>({i:0,u:n,t,h:null,o:null,l:null}),r={},u=n=>F(n).$hostElement$,a=new WeakMap,f=n=>"sc-"+n.p,d=(n,t,e,l,s,i)=>{if(e!==l){let c=U(n,t);if(t.toLowerCase(),"class"===t){const t=n.classList,o=h(e),s=h(l);t.remove(...o.filter((n=>n&&!s.includes(n)))),t.add(...s.filter((n=>n&&!o.includes(n))))}else if("style"===t){for(const t in e)l&&null!=l[t]||(t.includes("-")?n.style.removeProperty(t):n.style[t]="");for(const t in l)e&&l[t]===e[t]||(t.includes("-")?n.style.setProperty(t,l[t]):n.style[t]=l[t])}else{const r=o(l);if((c||r&&null!==l)&&!s)try{if(n.tagName.includes("-"))n[t]=l;else{const o=null==l?"":l;"list"===t?c=!1:null!=e&&n[t]==o||(n[t]=o)}}catch(n){}null==l||!1===l?!1===l&&""!==n.getAttribute(t)||n.removeAttribute(t):(!c||4&i||s)&&!r&&n.setAttribute(t,l=!0===l?"":l)}}},y=/\s/,h=n=>n?n.split(y):[],p=(n,t,e,o)=>{const s=11===t.h.nodeType&&t.h.host?t.h.host:t.h,i=n&&n.l||l,c=t.l||l;for(o in i)o in c||d(s,o,i[o],void 0,e,t.i);for(o in c)d(s,o,i[o],c[o],e,t.i)},$=(t,e,l)=>{const o=e.o[l];let s,i,c=0;if(s=o.h=D.createElement(o.u),p(null,o,!1),null!=n&&s["s-si"]!==n&&s.classList.add(s["s-si"]=n),o.o)for(c=0;c<o.o.length;++c)i=$(t,o,c),i&&s.appendChild(i);return s},m=(n,e,l,o,s,i)=>{let c,r=n;for(r.shadowRoot&&r.tagName===t&&(r=r.shadowRoot);s<=i;++s)o[s]&&(c=$(null,l,s),c&&(o[s].h=c,r.insertBefore(c,e)))},v=(n,t,e)=>{for(let l=t;l<=e;++l){const t=n[l];if(t){const n=t.h;n&&n.remove()}}},b=(n,t)=>n.u===t.u,w=(n,t)=>{const e=t.h=n.h,l=n.o,o=t.o;p(n,t,!1),null!==l&&null!==o?((n,t,e,l)=>{let o,s=0,i=0,c=t.length-1,r=t[0],u=t[c],a=l.length-1,f=l[0],d=l[a];for(;s<=c&&i<=a;)null==r?r=t[++s]:null==u?u=t[--c]:null==f?f=l[++i]:null==d?d=l[--a]:b(r,f)?(w(r,f),r=t[++s],f=l[++i]):b(u,d)?(w(u,d),u=t[--c],d=l[--a]):b(r,d)?(w(r,d),n.insertBefore(r.h,u.h.nextSibling),r=t[++s],d=l[--a]):b(u,f)?(w(u,f),n.insertBefore(u.h,r.h),u=t[--c],f=l[++i]):(o=$(t&&t[i],e,i),f=l[++i],o&&r.h.parentNode.insertBefore(o,r.h));s>c?m(n,null==l[a+1]?null:l[a+1].h,e,l,i,a):i>a&&v(t,s,c)})(e,l,t,o):null!==o?m(e,null,t,o,0,o.length-1):null!==l&&v(l,0,l.length-1)},S=(n,t)=>{t&&!n.$&&t["s-p"]&&t["s-p"].push(new Promise((t=>n.$=t)))},g=(n,t)=>{if(n.i|=16,!(4&n.i))return S(n,n.m),tn((()=>j(n,t)));n.i|=512},j=(n,t)=>{const e=n.v;let l;return t&&(l=A(e,"componentWillLoad")),M(l,(()=>k(n,e,t)))},M=(n,t)=>O(n)?n.then(t):t(),O=n=>n instanceof Promise||n&&n.then&&"function"==typeof n.then,k=async(n,t,e)=>{var l;const o=n.$hostElement$,i=o["s-rc"];e&&(n=>{const t=n.S,e=n.$hostElement$,l=t.i,o=((n,t)=>{var e;const l=f(t),o=z.get(l);if(n=11===n.nodeType?n:D,o)if("string"==typeof o){let t,i=a.get(n=n.head||n);if(i||a.set(n,i=new Set),!i.has(l)){{t=D.createElement("style"),t.innerHTML=o;const l=null!==(e=G.j)&&void 0!==e?e:s(D);null!=l&&t.setAttribute("nonce",l),n.insertBefore(t,n.querySelector("link"))}i&&i.add(l)}}else n.adoptedStyleSheets.includes(o)||(n.adoptedStyleSheets=[...n.adoptedStyleSheets,o]);return l})(e.shadowRoot?e.shadowRoot:e.getRootNode(),t);10&l&&(e["s-sc"]=o,e.classList.add(o+"-h"))})(n);C(n,t,o,e),i&&(i.map((n=>n())),o["s-rc"]=void 0);{const t=null!==(l=o["s-p"])&&void 0!==l?l:[],e=()=>P(n);0===t.length?e():(Promise.all(t).then(e),n.i|=4,t.length=0)}},C=(e,l,o,s)=>{try{l=l.render(),e.i&=-17,e.i|=2,((e,l,o=!1)=>{const s=e.$hostElement$,u=e.S,a=e.M||c(null,null),f=(n=>n&&n.u===r)(l)?l:i(null,null,l);if(t=s.tagName,u.O&&(f.l=f.l||{},u.O.map((([n,t])=>f.l[t]=s[n]))),o&&f.l)for(const n of Object.keys(f.l))s.hasAttribute(n)&&!["key","ref","style","class"].includes(n)&&(f.l[n]=s[n]);f.u=null,f.i|=4,e.M=f,f.h=a.h=s.shadowRoot||s,n=s["s-sc"],w(a,f)})(e,l,s)}catch(n){q(n,e.$hostElement$)}return null},P=n=>{const t=n.$hostElement$,e=n.m;64&n.i||(n.i|=64,E(t),n.k(t),e||x()),n.$&&(n.$(),n.$=void 0),512&n.i&&nn((()=>g(n,!1))),n.i&=-517},x=()=>{E(D.documentElement),nn((()=>(n=>{const t=G.ce("appload",{detail:{namespace:"mds-progress"}});return n.dispatchEvent(t),t})(B)))},A=(n,t,e)=>{if(n&&n[t])try{return n[t](e)}catch(n){q(n)}},E=n=>n.setAttribute("hydrated",""),L=(n,t,e)=>{var l;if(t.C){n.watchers&&(t.P=n.watchers);const s=Object.entries(t.C),i=n.prototype;if(s.map((([n,[l]])=>{(31&l||2&e&&32&l)&&Object.defineProperty(i,n,{get(){return((n,t)=>F(this).A.get(t))(0,n)},set(e){((n,t,e,l)=>{const s=F(n),i=s.$hostElement$,c=s.A.get(t),r=s.i,u=s.v;if(e=((n,t)=>null==n||o(n)?n:2&t?parseFloat(n):1&t?n+"":n)(e,l.C[t][0]),(!(8&r)||void 0===c)&&e!==c&&(!Number.isNaN(c)||!Number.isNaN(e))&&(s.A.set(t,e),u)){if(l.P&&128&r){const n=l.P[t];n&&n.map((n=>{try{u[n](e,c,t)}catch(n){q(n,i)}}))}2==(18&r)&&g(s,!1)}})(this,n,e,t)},configurable:!0,enumerable:!0})})),1&e){const e=new Map;i.attributeChangedCallback=function(n,l,o){G.jmp((()=>{const s=e.get(n);if(this.hasOwnProperty(s))o=this[s],delete this[s];else{if(i.hasOwnProperty(s)&&"number"==typeof this[s]&&this[s]==o)return;if(null==s){const e=F(this),s=null==e?void 0:e.i;if(!(8&s)&&128&s&&o!==l){const s=e.v,i=t.P[n];null==i||i.forEach((t=>{null!=s[t]&&s[t].call(s,o,l,n)}))}return}}this[s]=(null!==o||"boolean"!=typeof this[s])&&o}))},n.observedAttributes=Array.from(new Set([...Object.keys(null!==(l=t.P)&&void 0!==l?l:{}),...s.filter((([n,t])=>15&t[0])).map((([n,l])=>{const o=l[1]||n;return e.set(o,n),512&l[0]&&t.O.push([n,o]),o}))]))}}return n},N=(n,t={})=>{var e;const l=[],o=t.exclude||[],i=B.customElements,c=D.head,r=c.querySelector("meta[charset]"),u=D.createElement("style"),a=[];let d,y=!0;Object.assign(G,t),G.L=new URL(t.resourcesUrl||"./",D.baseURI).href,n.map((n=>{n[1].map((t=>{var e;const s={i:t[0],p:t[1],C:t[2],N:t[3]};s.C=t[2],s.O=[],s.P=null!==(e=t[4])&&void 0!==e?e:{};const c=s.p,r=class extends HTMLElement{constructor(n){super(n),R(n=this,s),1&s.i&&n.attachShadow({mode:"open"})}connectedCallback(){d&&(clearTimeout(d),d=null),y?a.push(this):G.jmp((()=>(n=>{if(0==(1&G.i)){const t=F(n),e=t.S,l=()=>{};if(1&t.i)(null==t?void 0:t.v)||(null==t?void 0:t.T)&&t.T.then((()=>{}));else{t.i|=1;{let e=n;for(;e=e.parentNode||e.host;)if(e["s-p"]){S(t,t.m=e);break}}e.C&&Object.entries(e.C).map((([t,[e]])=>{if(31&e&&n.hasOwnProperty(t)){const e=n[t];delete n[t],n[t]=e}})),(async(n,t,e)=>{let l;if(0==(32&t.i)){t.i|=32;{if(l=_(e),l.then){const n=()=>{};l=await l,n()}l.isProxied||(e.P=l.watchers,L(l,e,2),l.isProxied=!0);const n=()=>{};t.i|=8;try{new l(t)}catch(n){q(n)}t.i&=-9,t.i|=128,n()}if(l.style){let n=l.style;const t=f(e);if(!z.has(t)){const l=()=>{};((n,t,e)=>{let l=z.get(n);J&&e?(l=l||new CSSStyleSheet,"string"==typeof l?l=t:l.replaceSync(t)):l=t,z.set(n,l)})(t,n,!!(1&e.i)),l()}}}const o=t.m,s=()=>g(t,!0);o&&o["s-rc"]?o["s-rc"].push(s):s()})(0,t,e)}l()}})(this)))}disconnectedCallback(){G.jmp((()=>(async()=>{if(0==(1&G.i)){const n=F(this);(null==n?void 0:n.v)||(null==n?void 0:n.T)&&n.T.then((()=>{}))}})()))}componentOnReady(){return F(this).T}};s.W=n[0],o.includes(c)||i.get(c)||(l.push(c),i.define(c,L(r,s,1)))}))}));{u.innerHTML=l+"{visibility:hidden}[hydrated]{visibility:inherit}",u.setAttribute("data-styles","");const n=null!==(e=G.j)&&void 0!==e?e:s(D);null!=n&&u.setAttribute("nonce",n),c.insertBefore(u,r?r.nextSibling:c.firstChild)}y=!1,a.length?a.map((n=>n.connectedCallback())):G.jmp((()=>d=setTimeout(x,30)))},T=n=>G.j=n,W=new WeakMap,F=n=>W.get(n),H=(n,t)=>W.set(t.v=n,t),R=(n,t)=>{const e={i:0,$hostElement$:n,S:t,A:new Map};return e.T=new Promise((n=>e.k=n)),n["s-p"]=[],n["s-rc"]=[],W.set(n,e)},U=(n,t)=>t in n,q=(n,t)=>(0,console.error)(n,t),V=new Map,_=n=>{const t=n.p.replace(/-/g,"_"),e=n.W,l=V.get(e);return l?l[t]:import(`./${e}.entry.js`).then((n=>(V.set(e,n),n[t])),q)
2
+ /*!__STENCIL_STATIC_IMPORT_SWITCH__*/},z=new Map,B="undefined"!=typeof window?window:{},D=B.document||{head:{}},G={i:0,L:"",jmp:n=>n(),raf:n=>requestAnimationFrame(n),ael:(n,t,e,l)=>n.addEventListener(t,e,l),rel:(n,t,e,l)=>n.removeEventListener(t,e,l),ce:(n,t)=>new CustomEvent(n,t)},I=n=>Promise.resolve(n),J=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(n){}return!1})(),K=[],Q=[],X=(n,t)=>l=>{n.push(l),e||(e=!0,t&&4&G.i?nn(Z):G.raf(Z))},Y=n=>{for(let t=0;t<n.length;t++)try{n[t](performance.now())}catch(n){q(n)}n.length=0},Z=()=>{Y(K),Y(Q),(e=K.length>0)&&G.raf(Z)},nn=n=>I().then(n),tn=X(Q,!0);export{r as H,N as b,u as g,i as h,I as p,H as r,T as s}
@@ -0,0 +1,2 @@
1
+ var __extends=this&&this.__extends||function(){var r=function(n,e){r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var e in n)if(Object.prototype.hasOwnProperty.call(n,e))r[e]=n[e]};return r(n,e)};return function(n,e){if(typeof e!=="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");r(n,e);function t(){this.constructor=n}n.prototype=e===null?Object.create(e):(t.prototype=e.prototype,new t)}}();var __awaiter=this&&this.__awaiter||function(r,n,e,t){function i(r){return r instanceof e?r:new e((function(n){n(r)}))}return new(e||(e=Promise))((function(e,a){function u(r){try{o(t.next(r))}catch(r){a(r)}}function f(r){try{o(t["throw"](r))}catch(r){a(r)}}function o(r){r.done?e(r.value):i(r.value).then(u,f)}o((t=t.apply(r,n||[])).next())}))};var __generator=this&&this.__generator||function(r,n){var e={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},t,i,a,u;return u={next:f(0),throw:f(1),return:f(2)},typeof Symbol==="function"&&(u[Symbol.iterator]=function(){return this}),u;function f(r){return function(n){return o([r,n])}}function o(f){if(t)throw new TypeError("Generator is already executing.");while(u&&(u=0,f[0]&&(e=0)),e)try{if(t=1,i&&(a=f[0]&2?i["return"]:f[0]?i["throw"]||((a=i["return"])&&a.call(i),0):i.next)&&!(a=a.call(i,f[1])).done)return a;if(i=0,a)f=[f[0]&2,a.value];switch(f[0]){case 0:case 1:a=f;break;case 4:e.label++;return{value:f[1],done:false};case 5:e.label++;i=f[1];f=[0];continue;case 7:f=e.ops.pop();e.trys.pop();continue;default:if(!(a=e.trys,a=a.length>0&&a[a.length-1])&&(f[0]===6||f[0]===2)){e=0;continue}if(f[0]===3&&(!a||f[1]>a[0]&&f[1]<a[3])){e.label=f[1];break}if(f[0]===6&&e.label<a[1]){e.label=a[1];a=f;break}if(a&&e.label<a[2]){e.label=a[2];e.ops.push(f);break}if(a[2])e.ops.pop();e.trys.pop();continue}f=n.call(r,e)}catch(r){f=[6,r];i=0}finally{t=a=0}if(f[0]&5)throw f[1];return{value:f[0]?f[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(r,n,e){if(e||arguments.length===2)for(var t=0,i=n.length,a;t<i;t++){if(a||!(t in n)){if(!a)a=Array.prototype.slice.call(n,0,t);a[t]=n[t]}}return r.concat(a||Array.prototype.slice.call(n))};System.register([],(function(r,n){"use strict";return{execute:function(){var e=this;var t="mds-progress";var i;var a;var u=false;var f=false;var o=function(r,n){if(n===void 0){n=""}{return function(){return}}};var v=function(r,n){{return function(){return}}};var l="{visibility:hidden}[hydrated]{visibility:inherit}";var c={};var s=function(r){return r!=null};var d=function(r){r=typeof r;return r==="object"||r==="function"};function h(r){var n,e,t;return(t=(e=(n=r.head)===null||n===void 0?void 0:n.querySelector('meta[name="csp-nonce"]'))===null||e===void 0?void 0:e.getAttribute("content"))!==null&&t!==void 0?t:undefined}var y=r("h",(function(r,n){var e=[];for(var t=2;t<arguments.length;t++){e[t-2]=arguments[t]}var i=null;var a=false;var u=false;var f=[];var o=function(n){for(var e=0;e<n.length;e++){i=n[e];if(Array.isArray(i)){o(i)}else if(i!=null&&typeof i!=="boolean"){if(a=typeof r!=="function"&&!d(i)){i=String(i)}if(a&&u){f[f.length-1].t+=i}else{f.push(a?p(null,i):i)}u=a}}};o(e);if(n){{var v=n.className||n.class;if(v){n.class=typeof v!=="object"?v:Object.keys(v).filter((function(r){return v[r]})).join(" ")}}}var l=p(r,null);l.i=n;if(f.length>0){l.u=f}return l}));var p=function(r,n){var e={o:0,v:r,t:n,l:null,u:null};{e.i=null}return e};var w=r("H",{});var _=function(r){return r&&r.v===w};var m=function(r,n){if(r!=null&&!d(r)){if(n&2){return parseFloat(r)}if(n&1){return String(r)}return r}return r};var b=r("g",(function(r){return ur(r).$hostElement$}));var $=function(r,n,e){var t=pr.ce(n,e);r.dispatchEvent(t);return t};var g=new WeakMap;var S=function(r,n,e){var t=dr.get(r);if(_r&&e){t=t||new CSSStyleSheet;if(typeof t==="string"){t=n}else{t.replaceSync(n)}}else{t=n}dr.set(r,t)};var j=function(r,n,e){var t;var i=k(n);var a=dr.get(i);r=r.nodeType===11?r:yr;if(a){if(typeof a==="string"){r=r.head||r;var u=g.get(r);var f=void 0;if(!u){g.set(r,u=new Set)}if(!u.has(i)){{f=yr.createElement("style");f.innerHTML=a;var o=(t=pr.h)!==null&&t!==void 0?t:h(yr);if(o!=null){f.setAttribute("nonce",o)}r.insertBefore(f,r.querySelector("link"))}if(u){u.add(i)}}}else if(!r.adoptedStyleSheets.includes(a)){r.adoptedStyleSheets=__spreadArray(__spreadArray([],r.adoptedStyleSheets,true),[a],false)}}return i};var A=function(r){var n=r.p;var e=r.$hostElement$;var t=n.o;var i=o("attachStyles",n._);var a=j(e.shadowRoot?e.shadowRoot:e.getRootNode(),n);if(t&10){e["s-sc"]=a;e.classList.add(a+"-h")}i()};var k=function(r,n){return"sc-"+r._};var O=function(r,n,e,t,i,a){if(e!==t){var u=vr(r,n);n.toLowerCase();if(n==="class"){var f=r.classList;var o=x(e);var v=x(t);f.remove.apply(f,o.filter((function(r){return r&&!v.includes(r)})));f.add.apply(f,v.filter((function(r){return r&&!o.includes(r)})))}else if(n==="style"){{for(var l in e){if(!t||t[l]==null){if(l.includes("-")){r.style.removeProperty(l)}else{r.style[l]=""}}}}for(var l in t){if(!e||t[l]!==e[l]){if(l.includes("-")){r.style.setProperty(l,t[l])}else{r.style[l]=t[l]}}}}else{var c=d(t);if((u||c&&t!==null)&&!i){try{if(!r.tagName.includes("-")){var s=t==null?"":t;if(n==="list"){u=false}else if(e==null||r[n]!=s){r[n]=s}}else{r[n]=t}}catch(r){}}if(t==null||t===false){if(t!==false||r.getAttribute(n)===""){{r.removeAttribute(n)}}}else if((!u||a&4||i)&&!c){t=t===true?"":t;{r.setAttribute(n,t)}}}}};var M=/\s/;var x=function(r){return!r?[]:r.split(M)};var C=function(r,n,e,t){var i=n.l.nodeType===11&&n.l.host?n.l.host:n.l;var a=r&&r.i||c;var u=n.i||c;{for(t in a){if(!(t in u)){O(i,t,a[t],undefined,e,n.o)}}}for(t in u){O(i,t,a[t],u[t],e,n.o)}};var P=function(r,n,e,t){var a=n.u[e];var f=0;var o;var v;{o=a.l=yr.createElement(a.v);{C(null,a,u)}if(s(i)&&o["s-si"]!==i){o.classList.add(o["s-si"]=i)}if(a.u){for(f=0;f<a.u.length;++f){v=P(r,a,f);if(v){o.appendChild(v)}}}}return o};var E=function(r,n,e,t,i,u){var f=r;var o;if(f.shadowRoot&&f.tagName===a){f=f.shadowRoot}for(;i<=u;++i){if(t[i]){o=P(null,e,i);if(o){t[i].l=o;f.insertBefore(o,n)}}}};var T=function(r,n,e){for(var t=n;t<=e;++t){var i=r[t];if(i){var a=i.l;if(a){a.remove()}}}};var U=function(r,n,e,t){var i=0;var a=0;var u=n.length-1;var f=n[0];var o=n[u];var v=t.length-1;var l=t[0];var c=t[v];var s;while(i<=u&&a<=v){if(f==null){f=n[++i]}else if(o==null){o=n[--u]}else if(l==null){l=t[++a]}else if(c==null){c=t[--v]}else if(L(f,l)){N(f,l);f=n[++i];l=t[++a]}else if(L(o,c)){N(o,c);o=n[--u];c=t[--v]}else if(L(f,c)){N(f,c);r.insertBefore(f.l,o.l.nextSibling);f=n[++i];c=t[--v]}else if(L(o,l)){N(o,l);r.insertBefore(o.l,f.l);o=n[--u];l=t[++a]}else{{s=P(n&&n[a],e,a);l=t[++a]}if(s){{f.l.parentNode.insertBefore(s,f.l)}}}}if(i>u){E(r,t[v+1]==null?null:t[v+1].l,e,t,a,v)}else if(a>v){T(n,i,u)}};var L=function(r,n){if(r.v===n.v){return true}return false};var N=function(r,n){var e=n.l=r.l;var t=r.u;var i=n.u;{{{C(r,n,u)}}if(t!==null&&i!==null){U(e,t,n,i)}else if(i!==null){E(e,null,n,i,0,i.length-1)}else if(t!==null){T(t,0,t.length-1)}}};var W=function(r,n,e){if(e===void 0){e=false}var t=r.$hostElement$;var u=r.p;var f=r.m||p(null,null);var o=_(n)?n:y(null,null,n);a=t.tagName;if(u.$){o.i=o.i||{};u.$.map((function(r){var n=r[0],e=r[1];return o.i[e]=t[n]}))}if(e&&o.i){for(var v=0,l=Object.keys(o.i);v<l.length;v++){var c=l[v];if(t.hasAttribute(c)&&!["key","ref","style","class"].includes(c)){o.i[c]=t[c]}}}o.v=null;o.o|=4;r.m=o;o.l=f.l=t.shadowRoot||t;{i=t["s-sc"]}N(f,o)};var F=function(r,n){if(n&&!r.S&&n["s-p"]){n["s-p"].push(new Promise((function(n){return r.S=n})))}};var H=function(r,n){{r.o|=16}if(r.o&4){r.o|=512;return}F(r,r.j);var e=function(){return q(r,n)};return Ar(e)};var q=function(r,n){var e=o("scheduleUpdate",r.p._);var t=r.A;var i;if(n){{i=D(t,"componentWillLoad")}}e();return G(i,(function(){return R(r,t,n)}))};var G=function(r,n){return I(r)?r.then(n):n()};var I=function(r){return r instanceof Promise||r&&r.then&&typeof r.then==="function"};var R=function(r,n,t){return __awaiter(e,void 0,void 0,(function(){var e,i,a,u,f,v,l;return __generator(this,(function(c){i=r.$hostElement$;a=o("update",r.p._);u=i["s-rc"];if(t){A(r)}f=o("render",r.p._);{V(r,n,i,t)}if(u){u.map((function(r){return r()}));i["s-rc"]=undefined}f();a();{v=(e=i["s-p"])!==null&&e!==void 0?e:[];l=function(){return z(r)};if(v.length===0){l()}else{Promise.all(v).then(l);r.o|=4;v.length=0}}return[2]}))}))};var V=function(r,n,e,t){try{n=n.render();{r.o&=~16}{r.o|=2}{{{W(r,n,t)}}}}catch(n){lr(n,r.$hostElement$)}return null};var z=function(r){var n=r.p._;var e=r.$hostElement$;var t=o("postUpdate",n);var i=r.j;if(!(r.o&64)){r.o|=64;{J(e)}t();{r.k(e);if(!i){B()}}}else{t()}{if(r.S){r.S();r.S=undefined}if(r.o&512){jr((function(){return H(r,false)}))}r.o&=~(4|512)}};var B=function(r){{J(yr.documentElement)}jr((function(){return $(hr,"appload",{detail:{namespace:t}})}))};var D=function(r,n,e){if(r&&r[n]){try{return r[n](e)}catch(r){lr(r)}}return undefined};var J=function(r){return r.setAttribute("hydrated","")};var K=function(r,n){return ur(r).O.get(n)};var Q=function(r,n,e,t){var i=ur(r);var a=i.$hostElement$;var u=i.O.get(n);var f=i.o;var o=i.A;e=m(e,t.M[n][0]);var v=Number.isNaN(u)&&Number.isNaN(e);var l=e!==u&&!v;if((!(f&8)||u===undefined)&&l){i.O.set(n,e);if(o){if(t.C&&f&128){var c=t.C[n];if(c){c.map((function(r){try{o[r](e,u,n)}catch(r){lr(r,a)}}))}}if((f&(2|16))===2){H(i,false)}}}};var X=function(r,n,e){var t;if(n.M){if(r.watchers){n.C=r.watchers}var i=Object.entries(n.M);var a=r.prototype;i.map((function(r){var t=r[0],i=r[1][0];if(i&31||e&2&&i&32){Object.defineProperty(a,t,{get:function(){return K(this,t)},set:function(r){Q(this,t,r,n)},configurable:true,enumerable:true})}}));if(e&1){var u=new Map;a.attributeChangedCallback=function(r,e,t){var i=this;pr.jmp((function(){var f=u.get(r);if(i.hasOwnProperty(f)){t=i[f];delete i[f]}else if(a.hasOwnProperty(f)&&typeof i[f]==="number"&&i[f]==t){return}else if(f==null){var o=ur(i);var v=o===null||o===void 0?void 0:o.o;if(!(v&8)&&v&128&&t!==e){var l=o.A;var c=n.C[r];c===null||c===void 0?void 0:c.forEach((function(n){if(l[n]!=null){l[n].call(l,t,e,r)}}))}return}i[f]=t===null&&typeof i[f]==="boolean"?false:t}))};r.observedAttributes=Array.from(new Set(__spreadArray(__spreadArray([],Object.keys((t=n.C)!==null&&t!==void 0?t:{}),true),i.filter((function(r){var n=r[0],e=r[1];return e[0]&15})).map((function(r){var e=r[0],t=r[1];var i=t[1]||e;u.set(i,e);if(t[0]&512){n.$.push([e,i])}return i})),true)))}}return r};var Y=function(r,n,t,i){return __awaiter(e,void 0,void 0,(function(){var r,e,i,a,u,f,l,c;return __generator(this,(function(s){switch(s.label){case 0:if(!((n.o&32)===0))return[3,3];n.o|=32;r=sr(t);if(!r.then)return[3,2];e=v();return[4,r];case 1:r=s.sent();e();s.label=2;case 2:if(!r.isProxied){{t.C=r.watchers}X(r,t,2);r.isProxied=true}i=o("createInstance",t._);{n.o|=8}try{new r(n)}catch(r){lr(r)}{n.o&=~8}{n.o|=128}i();if(r.style){a=r.style;u=k(t);if(!dr.has(u)){f=o("registerStyles",t._);S(u,a,!!(t.o&1));f()}}s.label=3;case 3:l=n.j;c=function(){return H(n,true)};if(l&&l["s-rc"]){l["s-rc"].push(c)}else{c()}return[2]}}))}))};var Z=function(r){};var rr=function(r){if((pr.o&1)===0){var n=ur(r);var e=n.p;var t=o("connectedCallback",e._);if(!(n.o&1)){n.o|=1;{var i=r;while(i=i.parentNode||i.host){if(i["s-p"]){F(n,n.j=i);break}}}if(e.M){Object.entries(e.M).map((function(n){var e=n[0],t=n[1][0];if(t&31&&r.hasOwnProperty(e)){var i=r[e];delete r[e];r[e]=i}}))}{Y(r,n,e)}}else{if(n===null||n===void 0?void 0:n.A);else if(n===null||n===void 0?void 0:n.P){n.P.then((function(){return Z()}))}}t()}};var nr=function(r){};var er=function(r){return __awaiter(e,void 0,void 0,(function(){var n;return __generator(this,(function(e){if((pr.o&1)===0){n=ur(r);if(n===null||n===void 0?void 0:n.A);else if(n===null||n===void 0?void 0:n.P){n.P.then((function(){return nr()}))}}return[2]}))}))};var tr=r("b",(function(r,n){if(n===void 0){n={}}var e;var t=o();var i=[];var a=n.exclude||[];var u=hr.customElements;var f=yr.head;var v=f.querySelector("meta[charset]");var c=yr.createElement("style");var s=[];var d;var y=true;Object.assign(pr,n);pr.T=new URL(n.resourcesUrl||"./",yr.baseURI).href;r.map((function(r){r[1].map((function(n){var e;var t={o:n[0],_:n[1],M:n[2],U:n[3]};{t.M=n[2]}{t.$=[]}{t.C=(e=n[4])!==null&&e!==void 0?e:{}}var f=t._;var o=function(r){__extends(n,r);function n(n){var e=r.call(this,n)||this;n=e;or(n,t);if(t.o&1){{{n.attachShadow({mode:"open"})}}}return e}n.prototype.connectedCallback=function(){var r=this;if(d){clearTimeout(d);d=null}if(y){s.push(this)}else{pr.jmp((function(){return rr(r)}))}};n.prototype.disconnectedCallback=function(){var r=this;pr.jmp((function(){return er(r)}))};n.prototype.componentOnReady=function(){return ur(this).P};return n}(HTMLElement);t.L=r[0];if(!a.includes(f)&&!u.get(f)){i.push(f);u.define(f,X(o,t,1))}}))}));{c.innerHTML=i+l;c.setAttribute("data-styles","");var p=(e=pr.h)!==null&&e!==void 0?e:h(yr);if(p!=null){c.setAttribute("nonce",p)}f.insertBefore(c,v?v.nextSibling:f.firstChild)}y=false;if(s.length){s.map((function(r){return r.connectedCallback()}))}else{{pr.jmp((function(){return d=setTimeout(B,30)}))}}t()}));var ir=r("s",(function(r){return pr.h=r}));var ar=new WeakMap;var ur=function(r){return ar.get(r)};var fr=r("r",(function(r,n){return ar.set(n.A=r,n)}));var or=function(r,n){var e={o:0,$hostElement$:r,p:n,O:new Map};{e.P=new Promise((function(r){return e.k=r}));r["s-p"]=[];r["s-rc"]=[]}return ar.set(r,e)};var vr=function(r,n){return n in r};var lr=function(r,n){return(0,console.error)(r,n)};var cr=new Map;var sr=function(r,e,t){var i=r._.replace(/-/g,"_");var a=r.L;var u=cr.get(a);if(u){return u[i]}
2
+ /*!__STENCIL_STATIC_IMPORT_SWITCH__*/return n.import("./".concat(a,".entry.js").concat("")).then((function(r){{cr.set(a,r)}return r[i]}),lr)};var dr=new Map;var hr=typeof window!=="undefined"?window:{};var yr=hr.document||{head:{}};var pr={o:0,T:"",jmp:function(r){return r()},raf:function(r){return requestAnimationFrame(r)},ael:function(r,n,e,t){return r.addEventListener(n,e,t)},rel:function(r,n,e,t){return r.removeEventListener(n,e,t)},ce:function(r,n){return new CustomEvent(r,n)}};var wr=r("p",(function(r){return Promise.resolve(r)}));var _r=function(){try{new CSSStyleSheet;return typeof(new CSSStyleSheet).replaceSync==="function"}catch(r){}return false}();var mr=[];var br=[];var $r=function(r,n){return function(e){r.push(e);if(!f){f=true;if(n&&pr.o&4){jr(Sr)}else{pr.raf(Sr)}}}};var gr=function(r){for(var n=0;n<r.length;n++){try{r[n](performance.now())}catch(r){lr(r)}}r.length=0};var Sr=function(){gr(mr);{gr(br);if(f=mr.length>0){pr.raf(Sr)}}};var jr=function(r){return wr().then(r)};var Ar=$r(br,true)}}}));
@@ -1 +1 @@
1
- System.register(["./p-e8e08781.system.js"],(function(r){"use strict";var o,s,t,e;return{setters:[function(r){o=r.r;s=r.h;t=r.H;e=r.g}],execute:function(){var i='@tailwind utilities; :host{--mds-progress-background:rgb(var(--tone-neutral-08));--mds-progress-color:rgb(var(--brand-maggioli-03));--mds-progress-duration:750ms;--mds-progress-radius:0.5rem;--mds-progress-thickness:0.5rem;-webkit-transition-property:color, background-color, border-color, fill, stroke, -webkit-text-decoration-color;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-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transition-duration:150ms;transition-duration:150ms;background-color:var(--mds-progress-background);border-radius:var(--mds-progress-radius);display:-ms-flexbox;display:flex;height:var(--mds-progress-thickness);min-width:var(--mds-progress-thickness);overflow:hidden;width:100%}:host([direction="vertical"]){-ms-flex-direction:column;flex-direction:column;height:unset;min-height:var(--mds-progress-thickness);width:var(--mds-progress-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(--mds-progress-color);border-radius:var(--mds-progress-radius);-webkit-transition-duration:var(--mds-progress-duration);transition-duration:var(--mds-progress-duration);-webkit-transition-property:background-color, flex-grow;transition-property:background-color, flex-grow;transition-property:background-color, flex-grow, -ms-flex-positive}.fixed{position:fixed}.absolute{position:absolute}.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"]){--mds-progress-color:rgb(var(--tone-neutral-04));--mds-progress-background:rgb(var(--tone-neutral-08))}:host([variant="light"]){--mds-progress-color:rgb(var(--tone-neutral));--mds-progress-background:rgb(var(--tone-neutral-05))}:host([variant="error"]){--mds-progress-color:rgb(var(--status-error-06));--mds-progress-background:rgb(var(--status-error-09))}:host([variant="warning"]){--mds-progress-color:rgb(var(--status-warning-06));--mds-progress-background:rgb(var(--status-warning-09))}:host([variant="success"]){--mds-progress-color:rgb(var(--status-success-06));--mds-progress-background:rgb(var(--status-success-09))}:host([variant="info"]){--mds-progress-color:rgb(var(--status-info-06));--mds-progress-background:rgb(var(--status-info-09))}:host([variant="primary"]){--mds-progress-color:rgb(var(--brand-maggioli-03));--mds-progress-background:rgb(var(--tone-neutral-08))}';var n=r("mds_progress",function(){function r(r){o(this,r);this.stepsList=new Array;this.currentStep=undefined;this.progress=0;this.direction="horizontal";this.variant="primary";this.steps="Inizio,Un quarto,Metà,Tre quarti,Fine"}r.prototype.componentWillLoad=function(){this.stepsList=this.steps.split(",");this.setProgress(this.progress)};r.prototype.setProgress=function(r){if(this.steps){this.currentStep=this.stepsList[Math.round(r*(this.stepsList.length-1))];this.element.setAttribute("aria-valuetext",this.currentStep)}};r.prototype.progressChanged=function(r){this.setProgress(r)};r.prototype.stepsChanged=function(r){this.stepsList=r.split(",")};r.prototype.render=function(){return s(t,{"aria-valuemax":"100","aria-valuemin":"0","aria-valuenow":Math.round(this.progress*100),role:"progressbar"},s("div",{class:"progress",style:this.direction==="horizontal"?{flexGrow:"".concat(this.progress)}:{flexGrow:"".concat(this.progress),width:"100%"}}))};Object.defineProperty(r.prototype,"element",{get:function(){return e(this)},enumerable:false,configurable:true});Object.defineProperty(r,"watchers",{get:function(){return{progress:["progressChanged"],steps:["stepsChanged"]}},enumerable:false,configurable:true});return r}());n.style=i}}}));
1
+ System.register(["./p-a257dbdb.system.js"],(function(r){"use strict";var o,s,t,i;return{setters:[function(r){o=r.r;s=r.h;t=r.H;i=r.g}],execute:function(){var e='@tailwind utilities; :host{--mds-progress-background:rgb(var(--tone-neutral-08));--mds-progress-color:rgb(var(--brand-maggioli-03));--mds-progress-duration:750ms;--mds-progress-radius:0.5rem;--mds-progress-thickness:0.5rem;-webkit-transition-property:color, background-color, border-color, fill, stroke, -webkit-text-decoration-color;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-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transition-duration:150ms;transition-duration:150ms;background-color:var(--mds-progress-background);border-radius:var(--mds-progress-radius);display:-ms-flexbox;display:flex;height:var(--mds-progress-thickness);min-width:var(--mds-progress-thickness);overflow:hidden;width:100%}:host([direction="vertical"]){-ms-flex-direction:column;flex-direction:column;height:unset;min-height:var(--mds-progress-thickness);width:var(--mds-progress-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(--mds-progress-color);border-radius:var(--mds-progress-radius);-webkit-transition-duration:var(--mds-progress-duration);transition-duration:var(--mds-progress-duration);-webkit-transition-property:background-color, flex-grow;transition-property:background-color, flex-grow;transition-property:background-color, flex-grow, -ms-flex-positive}.fixed{position:fixed}.absolute{position:absolute}.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"]){--mds-progress-color:rgb(var(--tone-neutral-04));--mds-progress-background:rgb(var(--tone-neutral-08))}:host([variant="light"]){--mds-progress-color:rgb(var(--tone-neutral));--mds-progress-background:rgb(var(--tone-neutral-05))}:host([variant="error"]){--mds-progress-color:rgb(var(--status-error-06));--mds-progress-background:rgb(var(--status-error-09))}:host([variant="warning"]){--mds-progress-color:rgb(var(--status-warning-06));--mds-progress-background:rgb(var(--status-warning-09))}:host([variant="success"]){--mds-progress-color:rgb(var(--status-success-06));--mds-progress-background:rgb(var(--status-success-09))}:host([variant="info"]){--mds-progress-color:rgb(var(--status-info-06));--mds-progress-background:rgb(var(--status-info-09))}:host([variant="primary"]){--mds-progress-color:rgb(var(--brand-maggioli-03));--mds-progress-background:rgb(var(--tone-neutral-08))}';var a=r("mds_progress",function(){function r(r){o(this,r);this.stepsList=new Array;this.currentStep=undefined;this.progress=0;this.direction="horizontal";this.variant="primary";this.steps="Inizio,Un quarto,Metà,Tre quarti,Fine"}r.prototype.componentWillLoad=function(){this.stepsList=this.steps.split(",");this.setProgress(this.progress)};r.prototype.setProgress=function(r){if(this.steps){this.currentStep=this.stepsList[Math.round(r*(this.stepsList.length-1))];this.element.setAttribute("aria-valuetext",this.currentStep)}};r.prototype.progressChanged=function(r){this.setProgress(r)};r.prototype.stepsChanged=function(r){this.stepsList=r.split(",")};r.prototype.render=function(){return s(t,{"aria-valuemax":"100","aria-valuemin":"0","aria-valuenow":Math.round(this.progress*100),role:"progressbar"},s("div",{class:"progress",style:this.direction==="horizontal"?{flexGrow:"".concat(this.progress)}:{flexGrow:"".concat(this.progress),width:"100%"}}))};Object.defineProperty(r.prototype,"element",{get:function(){return i(this)},enumerable:false,configurable:true});Object.defineProperty(r,"watchers",{get:function(){return{progress:["progressChanged"],steps:["stepsChanged"]}},enumerable:false,configurable:true});return r}());a.style=e}}}));
@@ -0,0 +1 @@
1
+ System.register(["./p-a257dbdb.system.js"],(function(e,s){"use strict";var r,t;return{setters:[function(s){r=s.p;t=s.b;e("setNonce",s.s)}],execute:function(){var e=function(){var e=s.meta.url;var t={};if(e!==""){t.resourcesUrl=new URL(".",e).href}return r(t)};e().then((function(e){return t([["p-aeb5044e.system",[[1,"mds-progress",{progress:[2],direction:[513],variant:[513],steps:[1],currentStep:[32]},null,{progress:["progressChanged"],steps:["stepsChanged"]}]]]],e)}))}}}));
@@ -1,2 +0,0 @@
1
- var __extends=this&&this.__extends||function(){var e=function(t,n){e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n))e[n]=t[n]};return e(t,n)};return function(t,n){if(typeof n!=="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");e(t,n);function r(){this.constructor=t}t.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}();var __awaiter=this&&this.__awaiter||function(e,t,n,r){function a(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function s(e){try{l(r.next(e))}catch(e){o(e)}}function i(e){try{l(r["throw"](e))}catch(e){o(e)}}function l(e){e.done?n(e.value):a(e.value).then(s,i)}l((r=r.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var n={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},r,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(i){if(r)throw new TypeError("Generator is already executing.");while(s&&(s=0,i[0]&&(n=0)),n)try{if(r=1,a&&(o=i[0]&2?a["return"]:i[0]?a["throw"]||((o=a["return"])&&o.call(a),0):a.next)&&!(o=o.call(a,i[1])).done)return o;if(a=0,o)i=[i[0]&2,o.value];switch(i[0]){case 0:case 1:o=i;break;case 4:n.label++;return{value:i[1],done:false};case 5:n.label++;a=i[1];i=[0];continue;case 7:i=n.ops.pop();n.trys.pop();continue;default:if(!(o=n.trys,o=o.length>0&&o[o.length-1])&&(i[0]===6||i[0]===2)){n=0;continue}if(i[0]===3&&(!o||i[1]>o[0]&&i[1]<o[3])){n.label=i[1];break}if(i[0]===6&&n.label<o[1]){n.label=o[1];o=i;break}if(o&&n.label<o[2]){n.label=o[2];n.ops.push(i);break}if(o[2])n.ops.pop();n.trys.pop();continue}i=t.call(e,n)}catch(e){i=[6,e];a=0}finally{r=o=0}if(i[0]&5)throw i[1];return{value:i[0]?i[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(e,t,n){if(n||arguments.length===2)for(var r=0,a=t.length,o;r<a;r++){if(o||!(r in t)){if(!o)o=Array.prototype.slice.call(t,0,r);o[r]=t[r]}}return e.concat(o||Array.prototype.slice.call(t))};var NAMESPACE="mds-progress";var scopeId;var hostTagName;var isSvgMode=false;var queuePending=false;var createTime=function(e,t){if(t===void 0){t=""}{return function(){return}}};var uniqueTime=function(e,t){{return function(){return}}};var HYDRATED_CSS="{visibility:hidden}[hydrated]{visibility:inherit}";var EMPTY_OBJ={};var isDef=function(e){return e!=null};var isComplexType=function(e){e=typeof e;return e==="object"||e==="function"};function queryNonceMetaTagContent(e){var t,n,r;return(r=(n=(t=e.head)===null||t===void 0?void 0:t.querySelector('meta[name="csp-nonce"]'))===null||n===void 0?void 0:n.getAttribute("content"))!==null&&r!==void 0?r:undefined}var h=function(e,t){var n=[];for(var r=2;r<arguments.length;r++){n[r-2]=arguments[r]}var a=null;var o=false;var s=false;var i=[];var l=function(t){for(var n=0;n<t.length;n++){a=t[n];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(n);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 n={$flags$:0,$tag$:e,$text$:t,$elm$:null,$children$:null};{n.$attrs$=null}return n};var Host={};var isHost=function(e){return e&&e.$tag$===Host};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 getElement=function(e){return getHostRef(e).$hostElement$};var emitEvent=function(e,t,n){var r=plt.ce(t,n);e.dispatchEvent(r);return r};var rootAppliedStyles=new WeakMap;var registerStyle=function(e,t,n){var r=styles.get(e);if(supportsConstructableStylesheets&&n){r=r||new CSSStyleSheet;if(typeof r==="string"){r=t}else{r.replaceSync(t)}}else{r=t}styles.set(e,r)};var addStyle=function(e,t,n){var r;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;var l=(r=plt.$nonce$)!==null&&r!==void 0?r:queryNonceMetaTagContent(doc);if(l!=null){i.setAttribute("nonce",l)}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 n=e.$hostElement$;var r=t.$flags$;var a=createTime("attachStyles",t.$tagName$);var o=addStyle(n.shadowRoot?n.shadowRoot:n.getRootNode(),t);if(r&10){n["s-sc"]=o;n.classList.add(o+"-h")}a()};var getScopeId=function(e,t){return"sc-"+e.$tagName$};var setAccessor=function(e,t,n,r,a,o){if(n!==r){var s=isMemberInElement(e,t);t.toLowerCase();if(t==="class"){var i=e.classList;var l=parseClassList(n);var u=parseClassList(r);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 n){if(!r||r[c]==null){if(c.includes("-")){e.style.removeProperty(c)}else{e.style[c]=""}}}}for(var c in r){if(!n||r[c]!==n[c]){if(c.includes("-")){e.style.setProperty(c,r[c])}else{e.style[c]=r[c]}}}}else{var f=isComplexType(r);if((s||f&&r!==null)&&!a){try{if(!e.tagName.includes("-")){var $=r==null?"":r;if(t==="list"){s=false}else if(n==null||e[t]!=$){e[t]=$}}else{e[t]=r}}catch(e){}}if(r==null||r===false){if(r!==false||e.getAttribute(t)===""){{e.removeAttribute(t)}}}else if((!s||o&4||a)&&!f){r=r===true?"":r;{e.setAttribute(t,r)}}}}};var parseClassListRegex=/\s/;var parseClassList=function(e){return!e?[]:e.split(parseClassListRegex)};var updateElement=function(e,t,n,r){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(r in o){if(!(r in s)){setAccessor(a,r,o[r],undefined,n,t.$flags$)}}}for(r in s){setAccessor(a,r,o[r],s[r],n,t.$flags$)}};var createElm=function(e,t,n,r){var a=t.$children$[n];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,n,r,a,o){var s=e;var i;if(s.shadowRoot&&s.tagName===hostTagName){s=s.shadowRoot}for(;a<=o;++a){if(r[a]){i=createElm(null,n,a);if(i){r[a].$elm$=i;s.insertBefore(i,t)}}}};var removeVnodes=function(e,t,n){for(var r=t;r<=n;++r){var a=e[r];if(a){var o=a.$elm$;if(o){o.remove()}}}};var updateChildren=function(e,t,n,r){var a=0;var o=0;var s=t.length-1;var i=t[0];var l=t[s];var u=r.length-1;var c=r[0];var f=r[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=r[++o]}else if(f==null){f=r[--u]}else if(isSameVnode(i,c)){patch(i,c);i=t[++a];c=r[++o]}else if(isSameVnode(l,f)){patch(l,f);l=t[--s];f=r[--u]}else if(isSameVnode(i,f)){patch(i,f);e.insertBefore(i.$elm$,l.$elm$.nextSibling);i=t[++a];f=r[--u]}else if(isSameVnode(l,c)){patch(l,c);e.insertBefore(l.$elm$,i.$elm$);l=t[--s];c=r[++o]}else{{$=createElm(t&&t[o],n,o);c=r[++o]}if($){{i.$elm$.parentNode.insertBefore($,i.$elm$)}}}}if(a>s){addVnodes(e,r[u+1]==null?null:r[u+1].$elm$,n,r,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 n=t.$elm$=e.$elm$;var r=e.$children$;var a=t.$children$;{{{updateElement(e,t,isSvgMode)}}if(r!==null&&a!==null){updateChildren(n,r,t,a)}else if(a!==null){addVnodes(n,null,t,a,0,a.length-1)}else if(r!==null){removeVnodes(r,0,r.length-1)}}};var renderVdom=function(e,t,n){if(n===void 0){n=false}var r=e.$hostElement$;var a=e.$cmpMeta$;var o=e.$vnode$||newVNode(null,null);var s=isHost(t)?t:h(null,null,t);hostTagName=r.tagName;if(a.$attrsToReflect$){s.$attrs$=s.$attrs$||{};a.$attrsToReflect$.map((function(e){var t=e[0],n=e[1];return s.$attrs$[n]=r[t]}))}if(n&&s.$attrs$){for(var i=0,l=Object.keys(s.$attrs$);i<l.length;i++){var u=l[i];if(r.hasAttribute(u)&&!["key","ref","style","class"].includes(u)){s.$attrs$[u]=r[u]}}}s.$tag$=null;s.$flags$|=4;e.$vnode$=s;s.$elm$=o.$elm$=r.shadowRoot||r;{scopeId=r["s-sc"]}patch(o,s)};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 n=function(){return dispatchHooks(e,t)};return writeTask(n)};var dispatchHooks=function(e,t){var n=createTime("scheduleUpdate",e.$cmpMeta$.$tagName$);var r=e.$lazyInstance$;var a;if(t){{a=safeCall(r,"componentWillLoad")}}n();return enqueue(a,(function(){return updateComponent(e,r,t)}))};var enqueue=function(e,t){return isPromisey(e)?e.then(t):t()};var isPromisey=function(e){return e instanceof Promise||e&&e.then&&typeof e.then==="function"};var updateComponent=function(e,t,n){return __awaiter(void 0,void 0,void 0,(function(){var r,a,o,s,i,l,u;return __generator(this,(function(c){a=e.$hostElement$;o=createTime("update",e.$cmpMeta$.$tagName$);s=a["s-rc"];if(n){attachStyles(e)}i=createTime("render",e.$cmpMeta$.$tagName$);{callRender(e,t,a,n)}if(s){s.map((function(e){return e()}));a["s-rc"]=undefined}i();o();{l=(r=a["s-p"])!==null&&r!==void 0?r:[];u=function(){return postUpdateComponent(e)};if(l.length===0){u()}else{Promise.all(l).then(u);e.$flags$|=4;l.length=0}}return[2]}))}))};var callRender=function(e,t,n,r){try{t=t.render();{e.$flags$&=~16}{e.$flags$|=2}{{{renderVdom(e,t,r)}}}}catch(t){consoleError(t,e.$hostElement$)}return null};var postUpdateComponent=function(e){var t=e.$cmpMeta$.$tagName$;var n=e.$hostElement$;var r=createTime("postUpdate",t);var a=e.$ancestorComponent$;if(!(e.$flags$&64)){e.$flags$|=64;{addHydratedFlag(n)}r();{e.$onReadyResolve$(n);if(!a){appDidLoad()}}}else{r()}{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 safeCall=function(e,t,n){if(e&&e[t]){try{return e[t](n)}catch(e){consoleError(e)}}return undefined};var addHydratedFlag=function(e){return e.setAttribute("hydrated","")};var getValue=function(e,t){return getHostRef(e).$instanceValues$.get(t)};var setValue=function(e,t,n,r){var a=getHostRef(e);var o=a.$hostElement$;var s=a.$instanceValues$.get(t);var i=a.$flags$;var l=a.$lazyInstance$;n=parsePropertyValue(n,r.$members$[t][0]);var u=Number.isNaN(s)&&Number.isNaN(n);var c=n!==s&&!u;if((!(i&8)||s===undefined)&&c){a.$instanceValues$.set(t,n);if(l){if(r.$watchers$&&i&128){var f=r.$watchers$[t];if(f){f.map((function(e){try{l[e](n,s,t)}catch(e){consoleError(e,o)}}))}}if((i&(2|16))===2){scheduleUpdate(a,false)}}}};var proxyComponent=function(e,t,n){var r;if(t.$members$){if(e.watchers){t.$watchers$=e.watchers}var a=Object.entries(t.$members$);var o=e.prototype;a.map((function(e){var r=e[0],a=e[1][0];if(a&31||n&2&&a&32){Object.defineProperty(o,r,{get:function(){return getValue(this,r)},set:function(e){setValue(this,r,e,t)},configurable:true,enumerable:true})}}));if(n&1){var s=new Map;o.attributeChangedCallback=function(e,n,r){var a=this;plt.jmp((function(){var i=s.get(e);if(a.hasOwnProperty(i)){r=a[i];delete a[i]}else if(o.hasOwnProperty(i)&&typeof a[i]==="number"&&a[i]==r){return}else if(i==null){var l=getHostRef(a);var u=l===null||l===void 0?void 0:l.$flags$;if(!(u&8)&&u&128&&r!==n){var c=l.$lazyInstance$;var f=t.$watchers$[e];f===null||f===void 0?void 0:f.forEach((function(t){if(c[t]!=null){c[t].call(c,r,n,e)}}))}return}a[i]=r===null&&typeof a[i]==="boolean"?false:r}))};e.observedAttributes=Array.from(new Set(__spreadArray(__spreadArray([],Object.keys((r=t.$watchers$)!==null&&r!==void 0?r:{}),true),a.filter((function(e){var t=e[0],n=e[1];return n[0]&15})).map((function(e){var n=e[0],r=e[1];var a=r[1]||n;s.set(a,n);if(r[0]&512){t.$attrsToReflect$.push([n,a])}return a})),true)))}}return e};var initializeComponent=function(e,t,n,r,a){return __awaiter(void 0,void 0,void 0,(function(){var e,r,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(n);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){{n.$watchers$=a.watchers}proxyComponent(a,n,2);a.isProxied=true}r=createTime("createInstance",n.$tagName$);{t.$flags$|=8}try{new a(t)}catch(e){consoleError(e)}{t.$flags$&=~8}{t.$flags$|=128}r();if(a.style){o=a.style;s=getScopeId(n);if(!styles.has(s)){i=createTime("registerStyles",n.$tagName$);registerStyle(s,o,!!(n.$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 fireConnectedCallback=function(e){};var connectedCallback=function(e){if((plt.$flags$&1)===0){var t=getHostRef(e);var n=t.$cmpMeta$;var r=createTime("connectedCallback",n.$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(n.$members$){Object.entries(n.$members$).map((function(t){var n=t[0],r=t[1][0];if(r&31&&e.hasOwnProperty(n)){var a=e[n];delete e[n];e[n]=a}}))}{initializeComponent(e,t,n)}}else{if(t===null||t===void 0?void 0:t.$lazyInstance$);else if(t===null||t===void 0?void 0:t.$onReadyPromise$){t.$onReadyPromise$.then((function(){return fireConnectedCallback()}))}}r()}};var disconnectInstance=function(e){};var disconnectedCallback=function(e){return __awaiter(void 0,void 0,void 0,(function(){var t;return __generator(this,(function(n){if((plt.$flags$&1)===0){t=getHostRef(e);if(t===null||t===void 0?void 0:t.$lazyInstance$);else if(t===null||t===void 0?void 0:t.$onReadyPromise$){t.$onReadyPromise$.then((function(){return disconnectInstance()}))}}return[2]}))}))};var bootstrapLazy=function(e,t){if(t===void 0){t={}}var n;var r=createTime();var a=[];var o=t.exclude||[];var s=win.customElements;var i=doc.head;var l=i.querySelector("meta[charset]");var u=doc.createElement("style");var c=[];var f;var $=true;Object.assign(plt,t);plt.$resourcesUrl$=new URL(t.resourcesUrl||"./",doc.baseURI).href;e.map((function(e){e[1].map((function(t){var n;var r={$flags$:t[0],$tagName$:t[1],$members$:t[2],$listeners$:t[3]};{r.$members$=t[2]}{r.$attrsToReflect$=[]}{r.$watchers$=(n=t[4])!==null&&n!==void 0?n:{}}var i=r.$tagName$;var l=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(f){clearTimeout(f);f=null}if($){c.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(!o.includes(i)&&!s.get(i)){a.push(i);s.define(i,proxyComponent(l,r,1))}}))}));{u.innerHTML=a+HYDRATED_CSS;u.setAttribute("data-styles","");var d=(n=plt.$nonce$)!==null&&n!==void 0?n:queryNonceMetaTagContent(doc);if(d!=null){u.setAttribute("nonce",d)}i.insertBefore(u,l?l.nextSibling:i.firstChild)}$=false;if(c.length){c.map((function(e){return e.connectedCallback()}))}else{{plt.jmp((function(){return f=setTimeout(appDidLoad,30)}))}}r()};var setNonce=function(e){return plt.$nonce$=e};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 n={$flags$:0,$hostElement$:e,$cmpMeta$:t,$instanceValues$:new Map};{n.$onReadyPromise$=new Promise((function(e){return n.$onReadyResolve$=e}));e["s-p"]=[];e["s-rc"]=[]}return hostRefs.set(e,n)};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,n){var r=e.$tagName$.replace(/-/g,"_");var a=e.$lazyBundleId$;var o=cmpModules.get(a);if(o){return o[r]}
2
- /*!__STENCIL_STATIC_IMPORT_SWITCH__*/return import("./".concat(a,".entry.js").concat("")).then((function(e){{cmpModules.set(a,e)}return e[r]}),consoleError)};var styles=new Map;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,n,r){return e.addEventListener(t,n,r)},rel:function(e,t,n,r){return e.removeEventListener(t,n,r)},ce:function(e,t){return new CustomEvent(e,t)}};var promiseResolve=function(e){return Promise.resolve(e)};var supportsConstructableStylesheets=function(){try{new CSSStyleSheet;return typeof(new CSSStyleSheet).replaceSync==="function"}catch(e){}return false}();var queueDomReads=[];var queueDomWrites=[];var queueTask=function(e,t){return function(n){e.push(n);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,getElement as g,h,promiseResolve as p,registerInstance as r,setNonce as s};
@@ -1,2 +0,0 @@
1
- let n,t,e=!1;const l={},o=n=>"object"==(n=typeof n)||"function"===n;function s(n){var t,e,l;return null!==(l=null===(e=null===(t=n.head)||void 0===t?void 0:t.querySelector('meta[name="csp-nonce"]'))||void 0===e?void 0:e.getAttribute("content"))&&void 0!==l?l:void 0}const i=(n,t,...e)=>{let l=null,s=!1,i=!1;const r=[],u=t=>{for(let e=0;e<t.length;e++)l=t[e],Array.isArray(l)?u(l):null!=l&&"boolean"!=typeof l&&((s="function"!=typeof n&&!o(l))&&(l+=""),s&&i?r[r.length-1].t+=l:r.push(s?c(null,l):l),i=s)};if(u(e),t){const n=t.className||t.class;n&&(t.class="object"!=typeof n?n:Object.keys(n).filter((t=>n[t])).join(" "))}const a=c(n,null);return a.l=t,r.length>0&&(a.o=r),a},c=(n,t)=>({i:0,u:n,t,h:null,o:null,l:null}),r={},u=n=>F(n).p,a=new WeakMap,f=n=>"sc-"+n.$,d=(n,t,e,l,s,i)=>{if(e!==l){let c=U(n,t);if(t.toLowerCase(),"class"===t){const t=n.classList,o=h(e),s=h(l);t.remove(...o.filter((n=>n&&!s.includes(n)))),t.add(...s.filter((n=>n&&!o.includes(n))))}else if("style"===t){for(const t in e)l&&null!=l[t]||(t.includes("-")?n.style.removeProperty(t):n.style[t]="");for(const t in l)e&&l[t]===e[t]||(t.includes("-")?n.style.setProperty(t,l[t]):n.style[t]=l[t])}else{const r=o(l);if((c||r&&null!==l)&&!s)try{if(n.tagName.includes("-"))n[t]=l;else{const o=null==l?"":l;"list"===t?c=!1:null!=e&&n[t]==o||(n[t]=o)}}catch(n){}null==l||!1===l?!1===l&&""!==n.getAttribute(t)||n.removeAttribute(t):(!c||4&i||s)&&!r&&n.setAttribute(t,l=!0===l?"":l)}}},y=/\s/,h=n=>n?n.split(y):[],p=(n,t,e,o)=>{const s=11===t.h.nodeType&&t.h.host?t.h.host:t.h,i=n&&n.l||l,c=t.l||l;for(o in i)o in c||d(s,o,i[o],void 0,e,t.i);for(o in c)d(s,o,i[o],c[o],e,t.i)},$=(t,e,l)=>{const o=e.o[l];let s,i,c=0;if(s=o.h=D.createElement(o.u),p(null,o,!1),null!=n&&s["s-si"]!==n&&s.classList.add(s["s-si"]=n),o.o)for(c=0;c<o.o.length;++c)i=$(t,o,c),i&&s.appendChild(i);return s},m=(n,e,l,o,s,i)=>{let c,r=n;for(r.shadowRoot&&r.tagName===t&&(r=r.shadowRoot);s<=i;++s)o[s]&&(c=$(null,l,s),c&&(o[s].h=c,r.insertBefore(c,e)))},v=(n,t,e)=>{for(let l=t;l<=e;++l){const t=n[l];if(t){const n=t.h;n&&n.remove()}}},b=(n,t)=>n.u===t.u,w=(n,t)=>{const e=t.h=n.h,l=n.o,o=t.o;p(n,t,!1),null!==l&&null!==o?((n,t,e,l)=>{let o,s=0,i=0,c=t.length-1,r=t[0],u=t[c],a=l.length-1,f=l[0],d=l[a];for(;s<=c&&i<=a;)null==r?r=t[++s]:null==u?u=t[--c]:null==f?f=l[++i]:null==d?d=l[--a]:b(r,f)?(w(r,f),r=t[++s],f=l[++i]):b(u,d)?(w(u,d),u=t[--c],d=l[--a]):b(r,d)?(w(r,d),n.insertBefore(r.h,u.h.nextSibling),r=t[++s],d=l[--a]):b(u,f)?(w(u,f),n.insertBefore(u.h,r.h),u=t[--c],f=l[++i]):(o=$(t&&t[i],e,i),f=l[++i],o&&r.h.parentNode.insertBefore(o,r.h));s>c?m(n,null==l[a+1]?null:l[a+1].h,e,l,i,a):i>a&&v(t,s,c)})(e,l,t,o):null!==o?m(e,null,t,o,0,o.length-1):null!==l&&v(l,0,l.length-1)},S=(n,t)=>{t&&!n.m&&t["s-p"]&&t["s-p"].push(new Promise((t=>n.m=t)))},g=(n,t)=>{if(n.i|=16,!(4&n.i))return S(n,n.v),tn((()=>j(n,t)));n.i|=512},j=(n,t)=>{const e=n.S;let l;return t&&(l=A(e,"componentWillLoad")),M(l,(()=>k(n,e,t)))},M=(n,t)=>O(n)?n.then(t):t(),O=n=>n instanceof Promise||n&&n.then&&"function"==typeof n.then,k=async(n,t,e)=>{var l;const o=n.p,i=o["s-rc"];e&&(n=>{const t=n.g,e=n.p,l=t.i,o=((n,t)=>{var e;const l=f(t),o=z.get(l);if(n=11===n.nodeType?n:D,o)if("string"==typeof o){let t,i=a.get(n=n.head||n);if(i||a.set(n,i=new Set),!i.has(l)){{t=D.createElement("style"),t.innerHTML=o;const l=null!==(e=G.j)&&void 0!==e?e:s(D);null!=l&&t.setAttribute("nonce",l),n.insertBefore(t,n.querySelector("link"))}i&&i.add(l)}}else n.adoptedStyleSheets.includes(o)||(n.adoptedStyleSheets=[...n.adoptedStyleSheets,o]);return l})(e.shadowRoot?e.shadowRoot:e.getRootNode(),t);10&l&&(e["s-sc"]=o,e.classList.add(o+"-h"))})(n);C(n,t,o,e),i&&(i.map((n=>n())),o["s-rc"]=void 0);{const t=null!==(l=o["s-p"])&&void 0!==l?l:[],e=()=>P(n);0===t.length?e():(Promise.all(t).then(e),n.i|=4,t.length=0)}},C=(e,l,o,s)=>{try{l=l.render(),e.i&=-17,e.i|=2,((e,l,o=!1)=>{const s=e.p,u=e.g,a=e.M||c(null,null),f=(n=>n&&n.u===r)(l)?l:i(null,null,l);if(t=s.tagName,u.O&&(f.l=f.l||{},u.O.map((([n,t])=>f.l[t]=s[n]))),o&&f.l)for(const n of Object.keys(f.l))s.hasAttribute(n)&&!["key","ref","style","class"].includes(n)&&(f.l[n]=s[n]);f.u=null,f.i|=4,e.M=f,f.h=a.h=s.shadowRoot||s,n=s["s-sc"],w(a,f)})(e,l,s)}catch(n){q(n,e.p)}return null},P=n=>{const t=n.p,e=n.v;64&n.i||(n.i|=64,E(t),n.k(t),e||x()),n.m&&(n.m(),n.m=void 0),512&n.i&&nn((()=>g(n,!1))),n.i&=-517},x=()=>{E(D.documentElement),nn((()=>(n=>{const t=G.ce("appload",{detail:{namespace:"mds-progress"}});return n.dispatchEvent(t),t})(B)))},A=(n,t,e)=>{if(n&&n[t])try{return n[t](e)}catch(n){q(n)}},E=n=>n.setAttribute("hydrated",""),L=(n,t,e)=>{var l;if(t.C){n.watchers&&(t.P=n.watchers);const s=Object.entries(t.C),i=n.prototype;if(s.map((([n,[l]])=>{(31&l||2&e&&32&l)&&Object.defineProperty(i,n,{get(){return((n,t)=>F(this).A.get(t))(0,n)},set(e){((n,t,e,l)=>{const s=F(n),i=s.p,c=s.A.get(t),r=s.i,u=s.S;if(e=((n,t)=>null==n||o(n)?n:2&t?parseFloat(n):1&t?n+"":n)(e,l.C[t][0]),(!(8&r)||void 0===c)&&e!==c&&(!Number.isNaN(c)||!Number.isNaN(e))&&(s.A.set(t,e),u)){if(l.P&&128&r){const n=l.P[t];n&&n.map((n=>{try{u[n](e,c,t)}catch(n){q(n,i)}}))}2==(18&r)&&g(s,!1)}})(this,n,e,t)},configurable:!0,enumerable:!0})})),1&e){const e=new Map;i.attributeChangedCallback=function(n,l,o){G.jmp((()=>{const s=e.get(n);if(this.hasOwnProperty(s))o=this[s],delete this[s];else{if(i.hasOwnProperty(s)&&"number"==typeof this[s]&&this[s]==o)return;if(null==s){const e=F(this),s=null==e?void 0:e.i;if(!(8&s)&&128&s&&o!==l){const s=e.S,i=t.P[n];null==i||i.forEach((t=>{null!=s[t]&&s[t].call(s,o,l,n)}))}return}}this[s]=(null!==o||"boolean"!=typeof this[s])&&o}))},n.observedAttributes=Array.from(new Set([...Object.keys(null!==(l=t.P)&&void 0!==l?l:{}),...s.filter((([n,t])=>15&t[0])).map((([n,l])=>{const o=l[1]||n;return e.set(o,n),512&l[0]&&t.O.push([n,o]),o}))]))}}return n},N=(n,t={})=>{var e;const l=[],o=t.exclude||[],i=B.customElements,c=D.head,r=c.querySelector("meta[charset]"),u=D.createElement("style"),a=[];let d,y=!0;Object.assign(G,t),G.L=new URL(t.resourcesUrl||"./",D.baseURI).href,n.map((n=>{n[1].map((t=>{var e;const s={i:t[0],$:t[1],C:t[2],N:t[3]};s.C=t[2],s.O=[],s.P=null!==(e=t[4])&&void 0!==e?e:{};const c=s.$,r=class extends HTMLElement{constructor(n){super(n),R(n=this,s),1&s.i&&n.attachShadow({mode:"open"})}connectedCallback(){d&&(clearTimeout(d),d=null),y?a.push(this):G.jmp((()=>(n=>{if(0==(1&G.i)){const t=F(n),e=t.g,l=()=>{};if(1&t.i)(null==t?void 0:t.S)||(null==t?void 0:t.T)&&t.T.then((()=>{}));else{t.i|=1;{let e=n;for(;e=e.parentNode||e.host;)if(e["s-p"]){S(t,t.v=e);break}}e.C&&Object.entries(e.C).map((([t,[e]])=>{if(31&e&&n.hasOwnProperty(t)){const e=n[t];delete n[t],n[t]=e}})),(async(n,t,e,l,o)=>{if(0==(32&t.i)){t.i|=32;{if((o=_(e)).then){const n=()=>{};o=await o,n()}o.isProxied||(e.P=o.watchers,L(o,e,2),o.isProxied=!0);const n=()=>{};t.i|=8;try{new o(t)}catch(n){q(n)}t.i&=-9,t.i|=128,n()}if(o.style){let n=o.style;const t=f(e);if(!z.has(t)){const l=()=>{};((n,t,e)=>{let l=z.get(n);J&&e?(l=l||new CSSStyleSheet,"string"==typeof l?l=t:l.replaceSync(t)):l=t,z.set(n,l)})(t,n,!!(1&e.i)),l()}}}const s=t.v,i=()=>g(t,!0);s&&s["s-rc"]?s["s-rc"].push(i):i()})(0,t,e)}l()}})(this)))}disconnectedCallback(){G.jmp((()=>(async()=>{if(0==(1&G.i)){const n=F(this);(null==n?void 0:n.S)||(null==n?void 0:n.T)&&n.T.then((()=>{}))}})()))}componentOnReady(){return F(this).T}};s.W=n[0],o.includes(c)||i.get(c)||(l.push(c),i.define(c,L(r,s,1)))}))}));{u.innerHTML=l+"{visibility:hidden}[hydrated]{visibility:inherit}",u.setAttribute("data-styles","");const n=null!==(e=G.j)&&void 0!==e?e:s(D);null!=n&&u.setAttribute("nonce",n),c.insertBefore(u,r?r.nextSibling:c.firstChild)}y=!1,a.length?a.map((n=>n.connectedCallback())):G.jmp((()=>d=setTimeout(x,30)))},T=n=>G.j=n,W=new WeakMap,F=n=>W.get(n),H=(n,t)=>W.set(t.S=n,t),R=(n,t)=>{const e={i:0,p:n,g:t,A:new Map};return e.T=new Promise((n=>e.k=n)),n["s-p"]=[],n["s-rc"]=[],W.set(n,e)},U=(n,t)=>t in n,q=(n,t)=>(0,console.error)(n,t),V=new Map,_=n=>{const t=n.$.replace(/-/g,"_"),e=n.W,l=V.get(e);return l?l[t]:import(`./${e}.entry.js`).then((n=>(V.set(e,n),n[t])),q)
2
- /*!__STENCIL_STATIC_IMPORT_SWITCH__*/},z=new Map,B="undefined"!=typeof window?window:{},D=B.document||{head:{}},G={i:0,L:"",jmp:n=>n(),raf:n=>requestAnimationFrame(n),ael:(n,t,e,l)=>n.addEventListener(t,e,l),rel:(n,t,e,l)=>n.removeEventListener(t,e,l),ce:(n,t)=>new CustomEvent(n,t)},I=n=>Promise.resolve(n),J=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(n){}return!1})(),K=[],Q=[],X=(n,t)=>l=>{n.push(l),e||(e=!0,t&&4&G.i?nn(Z):G.raf(Z))},Y=n=>{for(let t=0;t<n.length;t++)try{n[t](performance.now())}catch(n){q(n)}n.length=0},Z=()=>{Y(K),Y(Q),(e=K.length>0)&&G.raf(Z)},nn=n=>I().then(n),tn=X(Q,!0);export{r as H,N as b,u as g,i as h,I as p,H as r,T as s}
@@ -1,2 +0,0 @@
1
- var __extends=this&&this.__extends||function(){var e=function(r,t){e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,r){e.__proto__=r}||function(e,r){for(var t in r)if(Object.prototype.hasOwnProperty.call(r,t))e[t]=r[t]};return e(r,t)};return function(r,t){if(typeof t!=="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");e(r,t);function n(){this.constructor=r}r.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}}();var __awaiter=this&&this.__awaiter||function(e,r,t,n){function a(e){return e instanceof t?e:new t((function(r){r(e)}))}return new(t||(t=Promise))((function(t,i){function o(e){try{u(n.next(e))}catch(e){i(e)}}function l(e){try{u(n["throw"](e))}catch(e){i(e)}}function u(e){e.done?t(e.value):a(e.value).then(o,l)}u((n=n.apply(e,r||[])).next())}))};var __generator=this&&this.__generator||function(e,r){var t={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},n,a,i,o;return o={next:l(0),throw:l(1),return:l(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function l(e){return function(r){return u([e,r])}}function u(l){if(n)throw new TypeError("Generator is already executing.");while(o&&(o=0,l[0]&&(t=0)),t)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:t.label++;return{value:l[1],done:false};case 5:t.label++;a=l[1];l=[0];continue;case 7:l=t.ops.pop();t.trys.pop();continue;default:if(!(i=t.trys,i=i.length>0&&i[i.length-1])&&(l[0]===6||l[0]===2)){t=0;continue}if(l[0]===3&&(!i||l[1]>i[0]&&l[1]<i[3])){t.label=l[1];break}if(l[0]===6&&t.label<i[1]){t.label=i[1];i=l;break}if(i&&t.label<i[2]){t.label=i[2];t.ops.push(l);break}if(i[2])t.ops.pop();t.trys.pop();continue}l=r.call(e,t)}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,r,t){if(t||arguments.length===2)for(var n=0,a=r.length,i;n<a;n++){if(i||!(n in r)){if(!i)i=Array.prototype.slice.call(r,0,n);i[n]=r[n]}}return e.concat(i||Array.prototype.slice.call(r))};System.register([],(function(e,r){"use strict";return{execute:function(){var t=this;var n="mds-progress";var a;var i;var o=false;var l=false;var u=function(e,r){if(r===void 0){r=""}{return function(){return}}};var s=function(e,r){{return function(){return}}};var f="{visibility:hidden}[hydrated]{visibility:inherit}";var c={};var $=function(e){return e!=null};var v=function(e){e=typeof e;return e==="object"||e==="function"};function d(e){var r,t,n;return(n=(t=(r=e.head)===null||r===void 0?void 0:r.querySelector('meta[name="csp-nonce"]'))===null||t===void 0?void 0:t.getAttribute("content"))!==null&&n!==void 0?n:undefined}var h=e("h",(function(e,r){var t=[];for(var n=2;n<arguments.length;n++){t[n-2]=arguments[n]}var a=null;var i=false;var o=false;var l=[];var u=function(r){for(var t=0;t<r.length;t++){a=r[t];if(Array.isArray(a)){u(a)}else if(a!=null&&typeof a!=="boolean"){if(i=typeof e!=="function"&&!v(a)){a=String(a)}if(i&&o){l[l.length-1].$text$+=a}else{l.push(i?p(null,a):a)}o=i}}};u(t);if(r){{var s=r.className||r.class;if(s){r.class=typeof s!=="object"?s:Object.keys(s).filter((function(e){return s[e]})).join(" ")}}}var f=p(e,null);f.$attrs$=r;if(l.length>0){f.$children$=l}return f}));var p=function(e,r){var t={$flags$:0,$tag$:e,$text$:r,$elm$:null,$children$:null};{t.$attrs$=null}return t};var m=e("H",{});var y=function(e){return e&&e.$tag$===m};var g=function(e,r){if(e!=null&&!v(e)){if(r&2){return parseFloat(e)}if(r&1){return String(e)}return e}return e};var b=e("g",(function(e){return oe(e).$hostElement$}));var w=function(e,r,t){var n=pe.ce(r,t);e.dispatchEvent(n);return n};var _=new WeakMap;var S=function(e,r,t){var n=ve.get(e);if(ye&&t){n=n||new CSSStyleSheet;if(typeof n==="string"){n=r}else{n.replaceSync(r)}}else{n=r}ve.set(e,n)};var R=function(e,r,t){var n;var a=A(r);var i=ve.get(a);e=e.nodeType===11?e:he;if(i){if(typeof i==="string"){e=e.head||e;var o=_.get(e);var l=void 0;if(!o){_.set(e,o=new Set)}if(!o.has(a)){{l=he.createElement("style");l.innerHTML=i;var u=(n=pe.$nonce$)!==null&&n!==void 0?n:d(he);if(u!=null){l.setAttribute("nonce",u)}e.insertBefore(l,e.querySelector("link"))}if(o){o.add(a)}}}else if(!e.adoptedStyleSheets.includes(i)){e.adoptedStyleSheets=__spreadArray(__spreadArray([],e.adoptedStyleSheets,true),[i],false)}}return a};var N=function(e){var r=e.$cmpMeta$;var t=e.$hostElement$;var n=r.$flags$;var a=u("attachStyles",r.$tagName$);var i=R(t.shadowRoot?t.shadowRoot:t.getRootNode(),r);if(n&10){t["s-sc"]=i;t.classList.add(i+"-h")}a()};var A=function(e,r){return"sc-"+e.$tagName$};var P=function(e,r,t,n,a,i){if(t!==n){var o=se(e,r);r.toLowerCase();if(r==="class"){var l=e.classList;var u=j(t);var s=j(n);l.remove.apply(l,u.filter((function(e){return e&&!s.includes(e)})));l.add.apply(l,s.filter((function(e){return e&&!u.includes(e)})))}else if(r==="style"){{for(var f in t){if(!n||n[f]==null){if(f.includes("-")){e.style.removeProperty(f)}else{e.style[f]=""}}}}for(var f in n){if(!t||n[f]!==t[f]){if(f.includes("-")){e.style.setProperty(f,n[f])}else{e.style[f]=n[f]}}}}else{var c=v(n);if((o||c&&n!==null)&&!a){try{if(!e.tagName.includes("-")){var $=n==null?"":n;if(r==="list"){o=false}else if(t==null||e[r]!=$){e[r]=$}}else{e[r]=n}}catch(e){}}if(n==null||n===false){if(n!==false||e.getAttribute(r)===""){{e.removeAttribute(r)}}}else if((!o||i&4||a)&&!c){n=n===true?"":n;{e.setAttribute(r,n)}}}}};var E=/\s/;var j=function(e){return!e?[]:e.split(E)};var C=function(e,r,t,n){var a=r.$elm$.nodeType===11&&r.$elm$.host?r.$elm$.host:r.$elm$;var i=e&&e.$attrs$||c;var o=r.$attrs$||c;{for(n in i){if(!(n in o)){P(a,n,i[n],undefined,t,r.$flags$)}}}for(n in o){P(a,n,i[n],o[n],t,r.$flags$)}};var k=function(e,r,t,n){var i=r.$children$[t];var l=0;var u;var s;{u=i.$elm$=he.createElement(i.$tag$);{C(null,i,o)}if($(a)&&u["s-si"]!==a){u.classList.add(u["s-si"]=a)}if(i.$children$){for(l=0;l<i.$children$.length;++l){s=k(e,i,l);if(s){u.appendChild(s)}}}}return u};var x=function(e,r,t,n,a,o){var l=e;var u;if(l.shadowRoot&&l.tagName===i){l=l.shadowRoot}for(;a<=o;++a){if(n[a]){u=k(null,t,a);if(u){n[a].$elm$=u;l.insertBefore(u,r)}}}};var M=function(e,r,t){for(var n=r;n<=t;++n){var a=e[n];if(a){var i=a.$elm$;if(i){i.remove()}}}};var O=function(e,r,t,n){var a=0;var i=0;var o=r.length-1;var l=r[0];var u=r[o];var s=n.length-1;var f=n[0];var c=n[s];var $;while(a<=o&&i<=s){if(l==null){l=r[++a]}else if(u==null){u=r[--o]}else if(f==null){f=n[++i]}else if(c==null){c=n[--s]}else if(T(l,f)){L(l,f);l=r[++a];f=n[++i]}else if(T(u,c)){L(u,c);u=r[--o];c=n[--s]}else if(T(l,c)){L(l,c);e.insertBefore(l.$elm$,u.$elm$.nextSibling);l=r[++a];c=n[--s]}else if(T(u,f)){L(u,f);e.insertBefore(u.$elm$,l.$elm$);u=r[--o];f=n[++i]}else{{$=k(r&&r[i],t,i);f=n[++i]}if($){{l.$elm$.parentNode.insertBefore($,l.$elm$)}}}}if(a>o){x(e,n[s+1]==null?null:n[s+1].$elm$,t,n,i,s)}else if(i>s){M(r,a,o)}};var T=function(e,r){if(e.$tag$===r.$tag$){return true}return false};var L=function(e,r){var t=r.$elm$=e.$elm$;var n=e.$children$;var a=r.$children$;{{{C(e,r,o)}}if(n!==null&&a!==null){O(t,n,r,a)}else if(a!==null){x(t,null,r,a,0,a.length-1)}else if(n!==null){M(n,0,n.length-1)}}};var I=function(e,r,t){if(t===void 0){t=false}var n=e.$hostElement$;var o=e.$cmpMeta$;var l=e.$vnode$||p(null,null);var u=y(r)?r:h(null,null,r);i=n.tagName;if(o.$attrsToReflect$){u.$attrs$=u.$attrs$||{};o.$attrsToReflect$.map((function(e){var r=e[0],t=e[1];return u.$attrs$[t]=n[r]}))}if(t&&u.$attrs$){for(var s=0,f=Object.keys(u.$attrs$);s<f.length;s++){var c=f[s];if(n.hasAttribute(c)&&!["key","ref","style","class"].includes(c)){u.$attrs$[c]=n[c]}}}u.$tag$=null;u.$flags$|=4;e.$vnode$=u;u.$elm$=l.$elm$=n.shadowRoot||n;{a=n["s-sc"]}L(l,u)};var z=function(e,r){if(r&&!e.$onRenderResolve$&&r["s-p"]){r["s-p"].push(new Promise((function(r){return e.$onRenderResolve$=r})))}};var B=function(e,r){{e.$flags$|=16}if(e.$flags$&4){e.$flags$|=512;return}z(e,e.$ancestorComponent$);var t=function(){return U(e,r)};return Ne(t)};var U=function(e,r){var t=u("scheduleUpdate",e.$cmpMeta$.$tagName$);var n=e.$lazyInstance$;var a;if(r){{a=D(n,"componentWillLoad")}}t();return q(a,(function(){return V(e,n,r)}))};var q=function(e,r){return H(e)?e.then(r):r()};var H=function(e){return e instanceof Promise||e&&e.then&&typeof e.then==="function"};var V=function(e,r,n){return __awaiter(t,void 0,void 0,(function(){var t,a,i,o,l,s,f;return __generator(this,(function(c){a=e.$hostElement$;i=u("update",e.$cmpMeta$.$tagName$);o=a["s-rc"];if(n){N(e)}l=u("render",e.$cmpMeta$.$tagName$);{W(e,r,a,n)}if(o){o.map((function(e){return e()}));a["s-rc"]=undefined}l();i();{s=(t=a["s-p"])!==null&&t!==void 0?t:[];f=function(){return F(e)};if(s.length===0){f()}else{Promise.all(s).then(f);e.$flags$|=4;s.length=0}}return[2]}))}))};var W=function(e,r,t,n){try{r=r.render();{e.$flags$&=~16}{e.$flags$|=2}{{{I(e,r,n)}}}}catch(r){fe(r,e.$hostElement$)}return null};var F=function(e){var r=e.$cmpMeta$.$tagName$;var t=e.$hostElement$;var n=u("postUpdate",r);var a=e.$ancestorComponent$;if(!(e.$flags$&64)){e.$flags$|=64;{J(t)}n();{e.$onReadyResolve$(t);if(!a){G()}}}else{n()}{if(e.$onRenderResolve$){e.$onRenderResolve$();e.$onRenderResolve$=undefined}if(e.$flags$&512){Re((function(){return B(e,false)}))}e.$flags$&=~(4|512)}};var G=function(e){{J(he.documentElement)}Re((function(){return w(de,"appload",{detail:{namespace:n}})}))};var D=function(e,r,t){if(e&&e[r]){try{return e[r](t)}catch(e){fe(e)}}return undefined};var J=function(e){return e.setAttribute("hydrated","")};var K=function(e,r){return oe(e).$instanceValues$.get(r)};var Q=function(e,r,t,n){var a=oe(e);var i=a.$hostElement$;var o=a.$instanceValues$.get(r);var l=a.$flags$;var u=a.$lazyInstance$;t=g(t,n.$members$[r][0]);var s=Number.isNaN(o)&&Number.isNaN(t);var f=t!==o&&!s;if((!(l&8)||o===undefined)&&f){a.$instanceValues$.set(r,t);if(u){if(n.$watchers$&&l&128){var c=n.$watchers$[r];if(c){c.map((function(e){try{u[e](t,o,r)}catch(e){fe(e,i)}}))}}if((l&(2|16))===2){B(a,false)}}}};var X=function(e,r,t){var n;if(r.$members$){if(e.watchers){r.$watchers$=e.watchers}var a=Object.entries(r.$members$);var i=e.prototype;a.map((function(e){var n=e[0],a=e[1][0];if(a&31||t&2&&a&32){Object.defineProperty(i,n,{get:function(){return K(this,n)},set:function(e){Q(this,n,e,r)},configurable:true,enumerable:true})}}));if(t&1){var o=new Map;i.attributeChangedCallback=function(e,t,n){var a=this;pe.jmp((function(){var l=o.get(e);if(a.hasOwnProperty(l)){n=a[l];delete a[l]}else if(i.hasOwnProperty(l)&&typeof a[l]==="number"&&a[l]==n){return}else if(l==null){var u=oe(a);var s=u===null||u===void 0?void 0:u.$flags$;if(!(s&8)&&s&128&&n!==t){var f=u.$lazyInstance$;var c=r.$watchers$[e];c===null||c===void 0?void 0:c.forEach((function(r){if(f[r]!=null){f[r].call(f,n,t,e)}}))}return}a[l]=n===null&&typeof a[l]==="boolean"?false:n}))};e.observedAttributes=Array.from(new Set(__spreadArray(__spreadArray([],Object.keys((n=r.$watchers$)!==null&&n!==void 0?n:{}),true),a.filter((function(e){var r=e[0],t=e[1];return t[0]&15})).map((function(e){var t=e[0],n=e[1];var a=n[1]||t;o.set(a,t);if(n[0]&512){r.$attrsToReflect$.push([t,a])}return a})),true)))}}return e};var Y=function(e,r,n,a,i){return __awaiter(t,void 0,void 0,(function(){var e,t,a,o,l,f,c;return __generator(this,(function($){switch($.label){case 0:if(!((r.$flags$&32)===0))return[3,3];r.$flags$|=32;i=$e(n);if(!i.then)return[3,2];e=s();return[4,i];case 1:i=$.sent();e();$.label=2;case 2:if(!i.isProxied){{n.$watchers$=i.watchers}X(i,n,2);i.isProxied=true}t=u("createInstance",n.$tagName$);{r.$flags$|=8}try{new i(r)}catch(e){fe(e)}{r.$flags$&=~8}{r.$flags$|=128}t();if(i.style){a=i.style;o=A(n);if(!ve.has(o)){l=u("registerStyles",n.$tagName$);S(o,a,!!(n.$flags$&1));l()}}$.label=3;case 3:f=r.$ancestorComponent$;c=function(){return B(r,true)};if(f&&f["s-rc"]){f["s-rc"].push(c)}else{c()}return[2]}}))}))};var Z=function(e){};var ee=function(e){if((pe.$flags$&1)===0){var r=oe(e);var t=r.$cmpMeta$;var n=u("connectedCallback",t.$tagName$);if(!(r.$flags$&1)){r.$flags$|=1;{var a=e;while(a=a.parentNode||a.host){if(a["s-p"]){z(r,r.$ancestorComponent$=a);break}}}if(t.$members$){Object.entries(t.$members$).map((function(r){var t=r[0],n=r[1][0];if(n&31&&e.hasOwnProperty(t)){var a=e[t];delete e[t];e[t]=a}}))}{Y(e,r,t)}}else{if(r===null||r===void 0?void 0:r.$lazyInstance$);else if(r===null||r===void 0?void 0:r.$onReadyPromise$){r.$onReadyPromise$.then((function(){return Z()}))}}n()}};var re=function(e){};var te=function(e){return __awaiter(t,void 0,void 0,(function(){var r;return __generator(this,(function(t){if((pe.$flags$&1)===0){r=oe(e);if(r===null||r===void 0?void 0:r.$lazyInstance$);else if(r===null||r===void 0?void 0:r.$onReadyPromise$){r.$onReadyPromise$.then((function(){return re()}))}}return[2]}))}))};var ne=e("b",(function(e,r){if(r===void 0){r={}}var t;var n=u();var a=[];var i=r.exclude||[];var o=de.customElements;var l=he.head;var s=l.querySelector("meta[charset]");var c=he.createElement("style");var $=[];var v;var h=true;Object.assign(pe,r);pe.$resourcesUrl$=new URL(r.resourcesUrl||"./",he.baseURI).href;e.map((function(e){e[1].map((function(r){var t;var n={$flags$:r[0],$tagName$:r[1],$members$:r[2],$listeners$:r[3]};{n.$members$=r[2]}{n.$attrsToReflect$=[]}{n.$watchers$=(t=r[4])!==null&&t!==void 0?t:{}}var l=n.$tagName$;var u=function(e){__extends(r,e);function r(r){var t=e.call(this,r)||this;r=t;ue(r,n);if(n.$flags$&1){{{r.attachShadow({mode:"open"})}}}return t}r.prototype.connectedCallback=function(){var e=this;if(v){clearTimeout(v);v=null}if(h){$.push(this)}else{pe.jmp((function(){return ee(e)}))}};r.prototype.disconnectedCallback=function(){var e=this;pe.jmp((function(){return te(e)}))};r.prototype.componentOnReady=function(){return oe(this).$onReadyPromise$};return r}(HTMLElement);n.$lazyBundleId$=e[0];if(!i.includes(l)&&!o.get(l)){a.push(l);o.define(l,X(u,n,1))}}))}));{c.innerHTML=a+f;c.setAttribute("data-styles","");var p=(t=pe.$nonce$)!==null&&t!==void 0?t:d(he);if(p!=null){c.setAttribute("nonce",p)}l.insertBefore(c,s?s.nextSibling:l.firstChild)}h=false;if($.length){$.map((function(e){return e.connectedCallback()}))}else{{pe.jmp((function(){return v=setTimeout(G,30)}))}}n()}));var ae=e("s",(function(e){return pe.$nonce$=e}));var ie=new WeakMap;var oe=function(e){return ie.get(e)};var le=e("r",(function(e,r){return ie.set(r.$lazyInstance$=e,r)}));var ue=function(e,r){var t={$flags$:0,$hostElement$:e,$cmpMeta$:r,$instanceValues$:new Map};{t.$onReadyPromise$=new Promise((function(e){return t.$onReadyResolve$=e}));e["s-p"]=[];e["s-rc"]=[]}return ie.set(e,t)};var se=function(e,r){return r in e};var fe=function(e,r){return(0,console.error)(e,r)};var ce=new Map;var $e=function(e,t,n){var a=e.$tagName$.replace(/-/g,"_");var i=e.$lazyBundleId$;var o=ce.get(i);if(o){return o[a]}
2
- /*!__STENCIL_STATIC_IMPORT_SWITCH__*/return r.import("./".concat(i,".entry.js").concat("")).then((function(e){{ce.set(i,e)}return e[a]}),fe)};var ve=new Map;var de=typeof window!=="undefined"?window:{};var he=de.document||{head:{}};var pe={$flags$:0,$resourcesUrl$:"",jmp:function(e){return e()},raf:function(e){return requestAnimationFrame(e)},ael:function(e,r,t,n){return e.addEventListener(r,t,n)},rel:function(e,r,t,n){return e.removeEventListener(r,t,n)},ce:function(e,r){return new CustomEvent(e,r)}};var me=e("p",(function(e){return Promise.resolve(e)}));var ye=function(){try{new CSSStyleSheet;return typeof(new CSSStyleSheet).replaceSync==="function"}catch(e){}return false}();var ge=[];var be=[];var we=function(e,r){return function(t){e.push(t);if(!l){l=true;if(r&&pe.$flags$&4){Re(Se)}else{pe.raf(Se)}}}};var _e=function(e){for(var r=0;r<e.length;r++){try{e[r](performance.now())}catch(e){fe(e)}}e.length=0};var Se=function(){_e(ge);{_e(be);if(l=ge.length>0){pe.raf(Se)}}};var Re=function(e){return me().then(e)};var Ne=we(be,true)}}}));
@@ -1 +0,0 @@
1
- System.register(["./p-e8e08781.system.js"],(function(e,r){"use strict";var s,t;return{setters:[function(r){s=r.p;t=r.b;e("setNonce",r.s)}],execute:function(){var e=function(){var e=r.meta.url;var t={};if(e!==""){t.resourcesUrl=new URL(".",e).href}return s(t)};e().then((function(e){return t([["p-bce00c63.system",[[1,"mds-progress",{progress:[2],direction:[513],variant:[513],steps:[1],currentStep:[32]},null,{progress:["progressChanged"],steps:["stepsChanged"]}]]]],e)}))}}}));
@@ -1,2 +0,0 @@
1
- let n,t,e=!1;const l={},o=n=>"object"==(n=typeof n)||"function"===n;function s(n){var t,e,l;return null!==(l=null===(e=null===(t=n.head)||void 0===t?void 0:t.querySelector('meta[name="csp-nonce"]'))||void 0===e?void 0:e.getAttribute("content"))&&void 0!==l?l:void 0}const i=(n,t,...e)=>{let l=null,s=!1,i=!1;const r=[],u=t=>{for(let e=0;e<t.length;e++)l=t[e],Array.isArray(l)?u(l):null!=l&&"boolean"!=typeof l&&((s="function"!=typeof n&&!o(l))&&(l+=""),s&&i?r[r.length-1].t+=l:r.push(s?c(null,l):l),i=s)};if(u(e),t){const n=t.className||t.class;n&&(t.class="object"!=typeof n?n:Object.keys(n).filter((t=>n[t])).join(" "))}const a=c(n,null);return a.l=t,r.length>0&&(a.o=r),a},c=(n,t)=>({i:0,u:n,t,h:null,o:null,l:null}),r={},u=n=>F(n).p,a=new WeakMap,f=n=>"sc-"+n.$,d=(n,t,e,l,s,i)=>{if(e!==l){let c=U(n,t);if(t.toLowerCase(),"class"===t){const t=n.classList,o=h(e),s=h(l);t.remove(...o.filter((n=>n&&!s.includes(n)))),t.add(...s.filter((n=>n&&!o.includes(n))))}else if("style"===t){for(const t in e)l&&null!=l[t]||(t.includes("-")?n.style.removeProperty(t):n.style[t]="");for(const t in l)e&&l[t]===e[t]||(t.includes("-")?n.style.setProperty(t,l[t]):n.style[t]=l[t])}else{const r=o(l);if((c||r&&null!==l)&&!s)try{if(n.tagName.includes("-"))n[t]=l;else{const o=null==l?"":l;"list"===t?c=!1:null!=e&&n[t]==o||(n[t]=o)}}catch(n){}null==l||!1===l?!1===l&&""!==n.getAttribute(t)||n.removeAttribute(t):(!c||4&i||s)&&!r&&n.setAttribute(t,l=!0===l?"":l)}}},y=/\s/,h=n=>n?n.split(y):[],p=(n,t,e,o)=>{const s=11===t.h.nodeType&&t.h.host?t.h.host:t.h,i=n&&n.l||l,c=t.l||l;for(o in i)o in c||d(s,o,i[o],void 0,e,t.i);for(o in c)d(s,o,i[o],c[o],e,t.i)},$=(t,e,l)=>{const o=e.o[l];let s,i,c=0;if(s=o.h=D.createElement(o.u),p(null,o,!1),null!=n&&s["s-si"]!==n&&s.classList.add(s["s-si"]=n),o.o)for(c=0;c<o.o.length;++c)i=$(t,o,c),i&&s.appendChild(i);return s},m=(n,e,l,o,s,i)=>{let c,r=n;for(r.shadowRoot&&r.tagName===t&&(r=r.shadowRoot);s<=i;++s)o[s]&&(c=$(null,l,s),c&&(o[s].h=c,r.insertBefore(c,e)))},v=(n,t,e)=>{for(let l=t;l<=e;++l){const t=n[l];if(t){const n=t.h;n&&n.remove()}}},b=(n,t)=>n.u===t.u,w=(n,t)=>{const e=t.h=n.h,l=n.o,o=t.o;p(n,t,!1),null!==l&&null!==o?((n,t,e,l)=>{let o,s=0,i=0,c=t.length-1,r=t[0],u=t[c],a=l.length-1,f=l[0],d=l[a];for(;s<=c&&i<=a;)null==r?r=t[++s]:null==u?u=t[--c]:null==f?f=l[++i]:null==d?d=l[--a]:b(r,f)?(w(r,f),r=t[++s],f=l[++i]):b(u,d)?(w(u,d),u=t[--c],d=l[--a]):b(r,d)?(w(r,d),n.insertBefore(r.h,u.h.nextSibling),r=t[++s],d=l[--a]):b(u,f)?(w(u,f),n.insertBefore(u.h,r.h),u=t[--c],f=l[++i]):(o=$(t&&t[i],e,i),f=l[++i],o&&r.h.parentNode.insertBefore(o,r.h));s>c?m(n,null==l[a+1]?null:l[a+1].h,e,l,i,a):i>a&&v(t,s,c)})(e,l,t,o):null!==o?m(e,null,t,o,0,o.length-1):null!==l&&v(l,0,l.length-1)},S=(n,t)=>{t&&!n.m&&t["s-p"]&&t["s-p"].push(new Promise((t=>n.m=t)))},g=(n,t)=>{if(n.i|=16,!(4&n.i))return S(n,n.v),tn((()=>j(n,t)));n.i|=512},j=(n,t)=>{const e=n.S;let l;return t&&(l=A(e,"componentWillLoad")),M(l,(()=>k(n,e,t)))},M=(n,t)=>O(n)?n.then(t):t(),O=n=>n instanceof Promise||n&&n.then&&"function"==typeof n.then,k=async(n,t,e)=>{var l;const o=n.p,i=o["s-rc"];e&&(n=>{const t=n.g,e=n.p,l=t.i,o=((n,t)=>{var e;const l=f(t),o=z.get(l);if(n=11===n.nodeType?n:D,o)if("string"==typeof o){let t,i=a.get(n=n.head||n);if(i||a.set(n,i=new Set),!i.has(l)){{t=D.createElement("style"),t.innerHTML=o;const l=null!==(e=G.j)&&void 0!==e?e:s(D);null!=l&&t.setAttribute("nonce",l),n.insertBefore(t,n.querySelector("link"))}i&&i.add(l)}}else n.adoptedStyleSheets.includes(o)||(n.adoptedStyleSheets=[...n.adoptedStyleSheets,o]);return l})(e.shadowRoot?e.shadowRoot:e.getRootNode(),t);10&l&&(e["s-sc"]=o,e.classList.add(o+"-h"))})(n);C(n,t,o,e),i&&(i.map((n=>n())),o["s-rc"]=void 0);{const t=null!==(l=o["s-p"])&&void 0!==l?l:[],e=()=>P(n);0===t.length?e():(Promise.all(t).then(e),n.i|=4,t.length=0)}},C=(e,l,o,s)=>{try{l=l.render(),e.i&=-17,e.i|=2,((e,l,o=!1)=>{const s=e.p,u=e.g,a=e.M||c(null,null),f=(n=>n&&n.u===r)(l)?l:i(null,null,l);if(t=s.tagName,u.O&&(f.l=f.l||{},u.O.map((([n,t])=>f.l[t]=s[n]))),o&&f.l)for(const n of Object.keys(f.l))s.hasAttribute(n)&&!["key","ref","style","class"].includes(n)&&(f.l[n]=s[n]);f.u=null,f.i|=4,e.M=f,f.h=a.h=s.shadowRoot||s,n=s["s-sc"],w(a,f)})(e,l,s)}catch(n){q(n,e.p)}return null},P=n=>{const t=n.p,e=n.v;64&n.i||(n.i|=64,E(t),n.k(t),e||x()),n.m&&(n.m(),n.m=void 0),512&n.i&&nn((()=>g(n,!1))),n.i&=-517},x=()=>{E(D.documentElement),nn((()=>(n=>{const t=G.ce("appload",{detail:{namespace:"mds-progress"}});return n.dispatchEvent(t),t})(B)))},A=(n,t,e)=>{if(n&&n[t])try{return n[t](e)}catch(n){q(n)}},E=n=>n.setAttribute("hydrated",""),L=(n,t,e)=>{var l;if(t.C){n.watchers&&(t.P=n.watchers);const s=Object.entries(t.C),i=n.prototype;if(s.map((([n,[l]])=>{(31&l||2&e&&32&l)&&Object.defineProperty(i,n,{get(){return((n,t)=>F(this).A.get(t))(0,n)},set(e){((n,t,e,l)=>{const s=F(n),i=s.p,c=s.A.get(t),r=s.i,u=s.S;if(e=((n,t)=>null==n||o(n)?n:2&t?parseFloat(n):1&t?n+"":n)(e,l.C[t][0]),(!(8&r)||void 0===c)&&e!==c&&(!Number.isNaN(c)||!Number.isNaN(e))&&(s.A.set(t,e),u)){if(l.P&&128&r){const n=l.P[t];n&&n.map((n=>{try{u[n](e,c,t)}catch(n){q(n,i)}}))}2==(18&r)&&g(s,!1)}})(this,n,e,t)},configurable:!0,enumerable:!0})})),1&e){const e=new Map;i.attributeChangedCallback=function(n,l,o){G.jmp((()=>{const s=e.get(n);if(this.hasOwnProperty(s))o=this[s],delete this[s];else{if(i.hasOwnProperty(s)&&"number"==typeof this[s]&&this[s]==o)return;if(null==s){const e=F(this),s=null==e?void 0:e.i;if(!(8&s)&&128&s&&o!==l){const s=e.S,i=t.P[n];null==i||i.forEach((t=>{null!=s[t]&&s[t].call(s,o,l,n)}))}return}}this[s]=(null!==o||"boolean"!=typeof this[s])&&o}))},n.observedAttributes=Array.from(new Set([...Object.keys(null!==(l=t.P)&&void 0!==l?l:{}),...s.filter((([n,t])=>15&t[0])).map((([n,l])=>{const o=l[1]||n;return e.set(o,n),512&l[0]&&t.O.push([n,o]),o}))]))}}return n},N=(n,t={})=>{var e;const l=[],o=t.exclude||[],i=B.customElements,c=D.head,r=c.querySelector("meta[charset]"),u=D.createElement("style"),a=[];let d,y=!0;Object.assign(G,t),G.L=new URL(t.resourcesUrl||"./",D.baseURI).href,n.map((n=>{n[1].map((t=>{var e;const s={i:t[0],$:t[1],C:t[2],N:t[3]};s.C=t[2],s.O=[],s.P=null!==(e=t[4])&&void 0!==e?e:{};const c=s.$,r=class extends HTMLElement{constructor(n){super(n),R(n=this,s),1&s.i&&n.attachShadow({mode:"open"})}connectedCallback(){d&&(clearTimeout(d),d=null),y?a.push(this):G.jmp((()=>(n=>{if(0==(1&G.i)){const t=F(n),e=t.g,l=()=>{};if(1&t.i)(null==t?void 0:t.S)||(null==t?void 0:t.T)&&t.T.then((()=>{}));else{t.i|=1;{let e=n;for(;e=e.parentNode||e.host;)if(e["s-p"]){S(t,t.v=e);break}}e.C&&Object.entries(e.C).map((([t,[e]])=>{if(31&e&&n.hasOwnProperty(t)){const e=n[t];delete n[t],n[t]=e}})),(async(n,t,e,l,o)=>{if(0==(32&t.i)){t.i|=32;{if((o=_(e)).then){const n=()=>{};o=await o,n()}o.isProxied||(e.P=o.watchers,L(o,e,2),o.isProxied=!0);const n=()=>{};t.i|=8;try{new o(t)}catch(n){q(n)}t.i&=-9,t.i|=128,n()}if(o.style){let n=o.style;const t=f(e);if(!z.has(t)){const l=()=>{};((n,t,e)=>{let l=z.get(n);J&&e?(l=l||new CSSStyleSheet,"string"==typeof l?l=t:l.replaceSync(t)):l=t,z.set(n,l)})(t,n,!!(1&e.i)),l()}}}const s=t.v,i=()=>g(t,!0);s&&s["s-rc"]?s["s-rc"].push(i):i()})(0,t,e)}l()}})(this)))}disconnectedCallback(){G.jmp((()=>(async()=>{if(0==(1&G.i)){const n=F(this);(null==n?void 0:n.S)||(null==n?void 0:n.T)&&n.T.then((()=>{}))}})()))}componentOnReady(){return F(this).T}};s.W=n[0],o.includes(c)||i.get(c)||(l.push(c),i.define(c,L(r,s,1)))}))}));{u.innerHTML=l+"{visibility:hidden}[hydrated]{visibility:inherit}",u.setAttribute("data-styles","");const n=null!==(e=G.j)&&void 0!==e?e:s(D);null!=n&&u.setAttribute("nonce",n),c.insertBefore(u,r?r.nextSibling:c.firstChild)}y=!1,a.length?a.map((n=>n.connectedCallback())):G.jmp((()=>d=setTimeout(x,30)))},T=n=>G.j=n,W=new WeakMap,F=n=>W.get(n),H=(n,t)=>W.set(t.S=n,t),R=(n,t)=>{const e={i:0,p:n,g:t,A:new Map};return e.T=new Promise((n=>e.k=n)),n["s-p"]=[],n["s-rc"]=[],W.set(n,e)},U=(n,t)=>t in n,q=(n,t)=>(0,console.error)(n,t),V=new Map,_=n=>{const t=n.$.replace(/-/g,"_"),e=n.W,l=V.get(e);return l?l[t]:import(`./${e}.entry.js`).then((n=>(V.set(e,n),n[t])),q)
2
- /*!__STENCIL_STATIC_IMPORT_SWITCH__*/},z=new Map,B="undefined"!=typeof window?window:{},D=B.document||{head:{}},G={i:0,L:"",jmp:n=>n(),raf:n=>requestAnimationFrame(n),ael:(n,t,e,l)=>n.addEventListener(t,e,l),rel:(n,t,e,l)=>n.removeEventListener(t,e,l),ce:(n,t)=>new CustomEvent(n,t)},I=n=>Promise.resolve(n),J=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(n){}return!1})(),K=[],Q=[],X=(n,t)=>l=>{n.push(l),e||(e=!0,t&&4&G.i?nn(Z):G.raf(Z))},Y=n=>{for(let t=0;t<n.length;t++)try{n[t](performance.now())}catch(n){q(n)}n.length=0},Z=()=>{Y(K),Y(Q),(e=K.length>0)&&G.raf(Z)},nn=n=>I().then(n),tn=X(Q,!0);export{r as H,N as b,u as g,i as h,I as p,H as r,T as s}
@@ -1,2 +0,0 @@
1
- var __extends=this&&this.__extends||function(){var e=function(r,t){e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,r){e.__proto__=r}||function(e,r){for(var t in r)if(Object.prototype.hasOwnProperty.call(r,t))e[t]=r[t]};return e(r,t)};return function(r,t){if(typeof t!=="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");e(r,t);function n(){this.constructor=r}r.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}}();var __awaiter=this&&this.__awaiter||function(e,r,t,n){function a(e){return e instanceof t?e:new t((function(r){r(e)}))}return new(t||(t=Promise))((function(t,i){function o(e){try{u(n.next(e))}catch(e){i(e)}}function l(e){try{u(n["throw"](e))}catch(e){i(e)}}function u(e){e.done?t(e.value):a(e.value).then(o,l)}u((n=n.apply(e,r||[])).next())}))};var __generator=this&&this.__generator||function(e,r){var t={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},n,a,i,o;return o={next:l(0),throw:l(1),return:l(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function l(e){return function(r){return u([e,r])}}function u(l){if(n)throw new TypeError("Generator is already executing.");while(o&&(o=0,l[0]&&(t=0)),t)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:t.label++;return{value:l[1],done:false};case 5:t.label++;a=l[1];l=[0];continue;case 7:l=t.ops.pop();t.trys.pop();continue;default:if(!(i=t.trys,i=i.length>0&&i[i.length-1])&&(l[0]===6||l[0]===2)){t=0;continue}if(l[0]===3&&(!i||l[1]>i[0]&&l[1]<i[3])){t.label=l[1];break}if(l[0]===6&&t.label<i[1]){t.label=i[1];i=l;break}if(i&&t.label<i[2]){t.label=i[2];t.ops.push(l);break}if(i[2])t.ops.pop();t.trys.pop();continue}l=r.call(e,t)}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,r,t){if(t||arguments.length===2)for(var n=0,a=r.length,i;n<a;n++){if(i||!(n in r)){if(!i)i=Array.prototype.slice.call(r,0,n);i[n]=r[n]}}return e.concat(i||Array.prototype.slice.call(r))};System.register([],(function(e,r){"use strict";return{execute:function(){var t=this;var n="mds-progress";var a;var i;var o=false;var l=false;var u=function(e,r){if(r===void 0){r=""}{return function(){return}}};var s=function(e,r){{return function(){return}}};var f="{visibility:hidden}[hydrated]{visibility:inherit}";var c={};var $=function(e){return e!=null};var v=function(e){e=typeof e;return e==="object"||e==="function"};function d(e){var r,t,n;return(n=(t=(r=e.head)===null||r===void 0?void 0:r.querySelector('meta[name="csp-nonce"]'))===null||t===void 0?void 0:t.getAttribute("content"))!==null&&n!==void 0?n:undefined}var h=e("h",(function(e,r){var t=[];for(var n=2;n<arguments.length;n++){t[n-2]=arguments[n]}var a=null;var i=false;var o=false;var l=[];var u=function(r){for(var t=0;t<r.length;t++){a=r[t];if(Array.isArray(a)){u(a)}else if(a!=null&&typeof a!=="boolean"){if(i=typeof e!=="function"&&!v(a)){a=String(a)}if(i&&o){l[l.length-1].$text$+=a}else{l.push(i?p(null,a):a)}o=i}}};u(t);if(r){{var s=r.className||r.class;if(s){r.class=typeof s!=="object"?s:Object.keys(s).filter((function(e){return s[e]})).join(" ")}}}var f=p(e,null);f.$attrs$=r;if(l.length>0){f.$children$=l}return f}));var p=function(e,r){var t={$flags$:0,$tag$:e,$text$:r,$elm$:null,$children$:null};{t.$attrs$=null}return t};var m=e("H",{});var y=function(e){return e&&e.$tag$===m};var g=function(e,r){if(e!=null&&!v(e)){if(r&2){return parseFloat(e)}if(r&1){return String(e)}return e}return e};var b=e("g",(function(e){return oe(e).$hostElement$}));var w=function(e,r,t){var n=pe.ce(r,t);e.dispatchEvent(n);return n};var _=new WeakMap;var S=function(e,r,t){var n=ve.get(e);if(ye&&t){n=n||new CSSStyleSheet;if(typeof n==="string"){n=r}else{n.replaceSync(r)}}else{n=r}ve.set(e,n)};var R=function(e,r,t){var n;var a=A(r);var i=ve.get(a);e=e.nodeType===11?e:he;if(i){if(typeof i==="string"){e=e.head||e;var o=_.get(e);var l=void 0;if(!o){_.set(e,o=new Set)}if(!o.has(a)){{l=he.createElement("style");l.innerHTML=i;var u=(n=pe.$nonce$)!==null&&n!==void 0?n:d(he);if(u!=null){l.setAttribute("nonce",u)}e.insertBefore(l,e.querySelector("link"))}if(o){o.add(a)}}}else if(!e.adoptedStyleSheets.includes(i)){e.adoptedStyleSheets=__spreadArray(__spreadArray([],e.adoptedStyleSheets,true),[i],false)}}return a};var N=function(e){var r=e.$cmpMeta$;var t=e.$hostElement$;var n=r.$flags$;var a=u("attachStyles",r.$tagName$);var i=R(t.shadowRoot?t.shadowRoot:t.getRootNode(),r);if(n&10){t["s-sc"]=i;t.classList.add(i+"-h")}a()};var A=function(e,r){return"sc-"+e.$tagName$};var P=function(e,r,t,n,a,i){if(t!==n){var o=se(e,r);r.toLowerCase();if(r==="class"){var l=e.classList;var u=j(t);var s=j(n);l.remove.apply(l,u.filter((function(e){return e&&!s.includes(e)})));l.add.apply(l,s.filter((function(e){return e&&!u.includes(e)})))}else if(r==="style"){{for(var f in t){if(!n||n[f]==null){if(f.includes("-")){e.style.removeProperty(f)}else{e.style[f]=""}}}}for(var f in n){if(!t||n[f]!==t[f]){if(f.includes("-")){e.style.setProperty(f,n[f])}else{e.style[f]=n[f]}}}}else{var c=v(n);if((o||c&&n!==null)&&!a){try{if(!e.tagName.includes("-")){var $=n==null?"":n;if(r==="list"){o=false}else if(t==null||e[r]!=$){e[r]=$}}else{e[r]=n}}catch(e){}}if(n==null||n===false){if(n!==false||e.getAttribute(r)===""){{e.removeAttribute(r)}}}else if((!o||i&4||a)&&!c){n=n===true?"":n;{e.setAttribute(r,n)}}}}};var E=/\s/;var j=function(e){return!e?[]:e.split(E)};var C=function(e,r,t,n){var a=r.$elm$.nodeType===11&&r.$elm$.host?r.$elm$.host:r.$elm$;var i=e&&e.$attrs$||c;var o=r.$attrs$||c;{for(n in i){if(!(n in o)){P(a,n,i[n],undefined,t,r.$flags$)}}}for(n in o){P(a,n,i[n],o[n],t,r.$flags$)}};var k=function(e,r,t,n){var i=r.$children$[t];var l=0;var u;var s;{u=i.$elm$=he.createElement(i.$tag$);{C(null,i,o)}if($(a)&&u["s-si"]!==a){u.classList.add(u["s-si"]=a)}if(i.$children$){for(l=0;l<i.$children$.length;++l){s=k(e,i,l);if(s){u.appendChild(s)}}}}return u};var x=function(e,r,t,n,a,o){var l=e;var u;if(l.shadowRoot&&l.tagName===i){l=l.shadowRoot}for(;a<=o;++a){if(n[a]){u=k(null,t,a);if(u){n[a].$elm$=u;l.insertBefore(u,r)}}}};var M=function(e,r,t){for(var n=r;n<=t;++n){var a=e[n];if(a){var i=a.$elm$;if(i){i.remove()}}}};var O=function(e,r,t,n){var a=0;var i=0;var o=r.length-1;var l=r[0];var u=r[o];var s=n.length-1;var f=n[0];var c=n[s];var $;while(a<=o&&i<=s){if(l==null){l=r[++a]}else if(u==null){u=r[--o]}else if(f==null){f=n[++i]}else if(c==null){c=n[--s]}else if(T(l,f)){L(l,f);l=r[++a];f=n[++i]}else if(T(u,c)){L(u,c);u=r[--o];c=n[--s]}else if(T(l,c)){L(l,c);e.insertBefore(l.$elm$,u.$elm$.nextSibling);l=r[++a];c=n[--s]}else if(T(u,f)){L(u,f);e.insertBefore(u.$elm$,l.$elm$);u=r[--o];f=n[++i]}else{{$=k(r&&r[i],t,i);f=n[++i]}if($){{l.$elm$.parentNode.insertBefore($,l.$elm$)}}}}if(a>o){x(e,n[s+1]==null?null:n[s+1].$elm$,t,n,i,s)}else if(i>s){M(r,a,o)}};var T=function(e,r){if(e.$tag$===r.$tag$){return true}return false};var L=function(e,r){var t=r.$elm$=e.$elm$;var n=e.$children$;var a=r.$children$;{{{C(e,r,o)}}if(n!==null&&a!==null){O(t,n,r,a)}else if(a!==null){x(t,null,r,a,0,a.length-1)}else if(n!==null){M(n,0,n.length-1)}}};var I=function(e,r,t){if(t===void 0){t=false}var n=e.$hostElement$;var o=e.$cmpMeta$;var l=e.$vnode$||p(null,null);var u=y(r)?r:h(null,null,r);i=n.tagName;if(o.$attrsToReflect$){u.$attrs$=u.$attrs$||{};o.$attrsToReflect$.map((function(e){var r=e[0],t=e[1];return u.$attrs$[t]=n[r]}))}if(t&&u.$attrs$){for(var s=0,f=Object.keys(u.$attrs$);s<f.length;s++){var c=f[s];if(n.hasAttribute(c)&&!["key","ref","style","class"].includes(c)){u.$attrs$[c]=n[c]}}}u.$tag$=null;u.$flags$|=4;e.$vnode$=u;u.$elm$=l.$elm$=n.shadowRoot||n;{a=n["s-sc"]}L(l,u)};var z=function(e,r){if(r&&!e.$onRenderResolve$&&r["s-p"]){r["s-p"].push(new Promise((function(r){return e.$onRenderResolve$=r})))}};var B=function(e,r){{e.$flags$|=16}if(e.$flags$&4){e.$flags$|=512;return}z(e,e.$ancestorComponent$);var t=function(){return U(e,r)};return Ne(t)};var U=function(e,r){var t=u("scheduleUpdate",e.$cmpMeta$.$tagName$);var n=e.$lazyInstance$;var a;if(r){{a=D(n,"componentWillLoad")}}t();return q(a,(function(){return V(e,n,r)}))};var q=function(e,r){return H(e)?e.then(r):r()};var H=function(e){return e instanceof Promise||e&&e.then&&typeof e.then==="function"};var V=function(e,r,n){return __awaiter(t,void 0,void 0,(function(){var t,a,i,o,l,s,f;return __generator(this,(function(c){a=e.$hostElement$;i=u("update",e.$cmpMeta$.$tagName$);o=a["s-rc"];if(n){N(e)}l=u("render",e.$cmpMeta$.$tagName$);{W(e,r,a,n)}if(o){o.map((function(e){return e()}));a["s-rc"]=undefined}l();i();{s=(t=a["s-p"])!==null&&t!==void 0?t:[];f=function(){return F(e)};if(s.length===0){f()}else{Promise.all(s).then(f);e.$flags$|=4;s.length=0}}return[2]}))}))};var W=function(e,r,t,n){try{r=r.render();{e.$flags$&=~16}{e.$flags$|=2}{{{I(e,r,n)}}}}catch(r){fe(r,e.$hostElement$)}return null};var F=function(e){var r=e.$cmpMeta$.$tagName$;var t=e.$hostElement$;var n=u("postUpdate",r);var a=e.$ancestorComponent$;if(!(e.$flags$&64)){e.$flags$|=64;{J(t)}n();{e.$onReadyResolve$(t);if(!a){G()}}}else{n()}{if(e.$onRenderResolve$){e.$onRenderResolve$();e.$onRenderResolve$=undefined}if(e.$flags$&512){Re((function(){return B(e,false)}))}e.$flags$&=~(4|512)}};var G=function(e){{J(he.documentElement)}Re((function(){return w(de,"appload",{detail:{namespace:n}})}))};var D=function(e,r,t){if(e&&e[r]){try{return e[r](t)}catch(e){fe(e)}}return undefined};var J=function(e){return e.setAttribute("hydrated","")};var K=function(e,r){return oe(e).$instanceValues$.get(r)};var Q=function(e,r,t,n){var a=oe(e);var i=a.$hostElement$;var o=a.$instanceValues$.get(r);var l=a.$flags$;var u=a.$lazyInstance$;t=g(t,n.$members$[r][0]);var s=Number.isNaN(o)&&Number.isNaN(t);var f=t!==o&&!s;if((!(l&8)||o===undefined)&&f){a.$instanceValues$.set(r,t);if(u){if(n.$watchers$&&l&128){var c=n.$watchers$[r];if(c){c.map((function(e){try{u[e](t,o,r)}catch(e){fe(e,i)}}))}}if((l&(2|16))===2){B(a,false)}}}};var X=function(e,r,t){var n;if(r.$members$){if(e.watchers){r.$watchers$=e.watchers}var a=Object.entries(r.$members$);var i=e.prototype;a.map((function(e){var n=e[0],a=e[1][0];if(a&31||t&2&&a&32){Object.defineProperty(i,n,{get:function(){return K(this,n)},set:function(e){Q(this,n,e,r)},configurable:true,enumerable:true})}}));if(t&1){var o=new Map;i.attributeChangedCallback=function(e,t,n){var a=this;pe.jmp((function(){var l=o.get(e);if(a.hasOwnProperty(l)){n=a[l];delete a[l]}else if(i.hasOwnProperty(l)&&typeof a[l]==="number"&&a[l]==n){return}else if(l==null){var u=oe(a);var s=u===null||u===void 0?void 0:u.$flags$;if(!(s&8)&&s&128&&n!==t){var f=u.$lazyInstance$;var c=r.$watchers$[e];c===null||c===void 0?void 0:c.forEach((function(r){if(f[r]!=null){f[r].call(f,n,t,e)}}))}return}a[l]=n===null&&typeof a[l]==="boolean"?false:n}))};e.observedAttributes=Array.from(new Set(__spreadArray(__spreadArray([],Object.keys((n=r.$watchers$)!==null&&n!==void 0?n:{}),true),a.filter((function(e){var r=e[0],t=e[1];return t[0]&15})).map((function(e){var t=e[0],n=e[1];var a=n[1]||t;o.set(a,t);if(n[0]&512){r.$attrsToReflect$.push([t,a])}return a})),true)))}}return e};var Y=function(e,r,n,a,i){return __awaiter(t,void 0,void 0,(function(){var e,t,a,o,l,f,c;return __generator(this,(function($){switch($.label){case 0:if(!((r.$flags$&32)===0))return[3,3];r.$flags$|=32;i=$e(n);if(!i.then)return[3,2];e=s();return[4,i];case 1:i=$.sent();e();$.label=2;case 2:if(!i.isProxied){{n.$watchers$=i.watchers}X(i,n,2);i.isProxied=true}t=u("createInstance",n.$tagName$);{r.$flags$|=8}try{new i(r)}catch(e){fe(e)}{r.$flags$&=~8}{r.$flags$|=128}t();if(i.style){a=i.style;o=A(n);if(!ve.has(o)){l=u("registerStyles",n.$tagName$);S(o,a,!!(n.$flags$&1));l()}}$.label=3;case 3:f=r.$ancestorComponent$;c=function(){return B(r,true)};if(f&&f["s-rc"]){f["s-rc"].push(c)}else{c()}return[2]}}))}))};var Z=function(e){};var ee=function(e){if((pe.$flags$&1)===0){var r=oe(e);var t=r.$cmpMeta$;var n=u("connectedCallback",t.$tagName$);if(!(r.$flags$&1)){r.$flags$|=1;{var a=e;while(a=a.parentNode||a.host){if(a["s-p"]){z(r,r.$ancestorComponent$=a);break}}}if(t.$members$){Object.entries(t.$members$).map((function(r){var t=r[0],n=r[1][0];if(n&31&&e.hasOwnProperty(t)){var a=e[t];delete e[t];e[t]=a}}))}{Y(e,r,t)}}else{if(r===null||r===void 0?void 0:r.$lazyInstance$);else if(r===null||r===void 0?void 0:r.$onReadyPromise$){r.$onReadyPromise$.then((function(){return Z()}))}}n()}};var re=function(e){};var te=function(e){return __awaiter(t,void 0,void 0,(function(){var r;return __generator(this,(function(t){if((pe.$flags$&1)===0){r=oe(e);if(r===null||r===void 0?void 0:r.$lazyInstance$);else if(r===null||r===void 0?void 0:r.$onReadyPromise$){r.$onReadyPromise$.then((function(){return re()}))}}return[2]}))}))};var ne=e("b",(function(e,r){if(r===void 0){r={}}var t;var n=u();var a=[];var i=r.exclude||[];var o=de.customElements;var l=he.head;var s=l.querySelector("meta[charset]");var c=he.createElement("style");var $=[];var v;var h=true;Object.assign(pe,r);pe.$resourcesUrl$=new URL(r.resourcesUrl||"./",he.baseURI).href;e.map((function(e){e[1].map((function(r){var t;var n={$flags$:r[0],$tagName$:r[1],$members$:r[2],$listeners$:r[3]};{n.$members$=r[2]}{n.$attrsToReflect$=[]}{n.$watchers$=(t=r[4])!==null&&t!==void 0?t:{}}var l=n.$tagName$;var u=function(e){__extends(r,e);function r(r){var t=e.call(this,r)||this;r=t;ue(r,n);if(n.$flags$&1){{{r.attachShadow({mode:"open"})}}}return t}r.prototype.connectedCallback=function(){var e=this;if(v){clearTimeout(v);v=null}if(h){$.push(this)}else{pe.jmp((function(){return ee(e)}))}};r.prototype.disconnectedCallback=function(){var e=this;pe.jmp((function(){return te(e)}))};r.prototype.componentOnReady=function(){return oe(this).$onReadyPromise$};return r}(HTMLElement);n.$lazyBundleId$=e[0];if(!i.includes(l)&&!o.get(l)){a.push(l);o.define(l,X(u,n,1))}}))}));{c.innerHTML=a+f;c.setAttribute("data-styles","");var p=(t=pe.$nonce$)!==null&&t!==void 0?t:d(he);if(p!=null){c.setAttribute("nonce",p)}l.insertBefore(c,s?s.nextSibling:l.firstChild)}h=false;if($.length){$.map((function(e){return e.connectedCallback()}))}else{{pe.jmp((function(){return v=setTimeout(G,30)}))}}n()}));var ae=e("s",(function(e){return pe.$nonce$=e}));var ie=new WeakMap;var oe=function(e){return ie.get(e)};var le=e("r",(function(e,r){return ie.set(r.$lazyInstance$=e,r)}));var ue=function(e,r){var t={$flags$:0,$hostElement$:e,$cmpMeta$:r,$instanceValues$:new Map};{t.$onReadyPromise$=new Promise((function(e){return t.$onReadyResolve$=e}));e["s-p"]=[];e["s-rc"]=[]}return ie.set(e,t)};var se=function(e,r){return r in e};var fe=function(e,r){return(0,console.error)(e,r)};var ce=new Map;var $e=function(e,t,n){var a=e.$tagName$.replace(/-/g,"_");var i=e.$lazyBundleId$;var o=ce.get(i);if(o){return o[a]}
2
- /*!__STENCIL_STATIC_IMPORT_SWITCH__*/return r.import("./".concat(i,".entry.js").concat("")).then((function(e){{ce.set(i,e)}return e[a]}),fe)};var ve=new Map;var de=typeof window!=="undefined"?window:{};var he=de.document||{head:{}};var pe={$flags$:0,$resourcesUrl$:"",jmp:function(e){return e()},raf:function(e){return requestAnimationFrame(e)},ael:function(e,r,t,n){return e.addEventListener(r,t,n)},rel:function(e,r,t,n){return e.removeEventListener(r,t,n)},ce:function(e,r){return new CustomEvent(e,r)}};var me=e("p",(function(e){return Promise.resolve(e)}));var ye=function(){try{new CSSStyleSheet;return typeof(new CSSStyleSheet).replaceSync==="function"}catch(e){}return false}();var ge=[];var be=[];var we=function(e,r){return function(t){e.push(t);if(!l){l=true;if(r&&pe.$flags$&4){Re(Se)}else{pe.raf(Se)}}}};var _e=function(e){for(var r=0;r<e.length;r++){try{e[r](performance.now())}catch(e){fe(e)}}e.length=0};var Se=function(){_e(ge);{_e(be);if(l=ge.length>0){pe.raf(Se)}}};var Re=function(e){return me().then(e)};var Ne=we(be,true)}}}));
@@ -1 +0,0 @@
1
- System.register(["./p-e8e08781.system.js"],(function(e,r){"use strict";var s,t;return{setters:[function(r){s=r.p;t=r.b;e("setNonce",r.s)}],execute:function(){var e=function(){var e=r.meta.url;var t={};if(e!==""){t.resourcesUrl=new URL(".",e).href}return s(t)};e().then((function(e){return t([["p-bce00c63.system",[[1,"mds-progress",{progress:[2],direction:[513],variant:[513],steps:[1],currentStep:[32]},null,{progress:["progressChanged"],steps:["stepsChanged"]}]]]],e)}))}}}));