@maggioli-design-system/mds-list 3.0.1 → 3.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (66) hide show
  1. package/dist/cjs/{index-3c3cf8ce.js → index-9b88f3c8.js} +76 -4
  2. package/dist/cjs/loader.cjs.js +3 -2
  3. package/dist/cjs/mds-list.cjs.entry.js +1 -1
  4. package/dist/cjs/mds-list.cjs.js +6 -2
  5. package/dist/collection/collection-manifest.json +2 -2
  6. package/dist/collection/common/keyboard-manager.js +40 -0
  7. package/dist/collection/components/mds-list/test/mds-list.stories.js +1 -7
  8. package/dist/collection/dictionary/icon.js +3 -1
  9. package/dist/collection/dictionary/typography.js +5 -1
  10. package/dist/components/index.d.ts +9 -0
  11. package/dist/components/index.js +1 -1
  12. package/dist/esm/{index-0497c2b2.js → index-35c9c7b9.js} +76 -5
  13. package/dist/esm/loader.js +3 -2
  14. package/dist/esm/mds-list.entry.js +1 -1
  15. package/dist/esm/mds-list.js +3 -2
  16. package/dist/esm/polyfills/css-shim.js +1 -1
  17. package/dist/esm-es5/index-35c9c7b9.js +2 -0
  18. package/dist/esm-es5/loader.js +1 -1
  19. package/dist/esm-es5/mds-list.entry.js +1 -1
  20. package/dist/esm-es5/mds-list.js +1 -1
  21. package/dist/mds-list/mds-list.esm.js +1 -1
  22. package/dist/mds-list/mds-list.js +1 -1
  23. package/dist/mds-list/p-41726a86.js +2 -0
  24. package/dist/mds-list/p-7981ed9e.system.js +1 -0
  25. package/dist/mds-list/{p-16684a5a.system.entry.js → p-8a953f63.system.entry.js} +1 -1
  26. package/dist/mds-list/{p-bcc83db0.entry.js → p-be44e136.entry.js} +1 -1
  27. package/dist/mds-list/p-f9c13cf7.system.js +2 -0
  28. package/dist/stats.json +30 -27
  29. package/dist/types/common/keyboard-manager.d.ts +11 -0
  30. package/dist/types/components/mds-list/test/mds-list.stories.d.ts +0 -9
  31. package/dist/types/dictionary/icon.d.ts +2 -1
  32. package/dist/types/dictionary/typography.d.ts +2 -1
  33. package/dist/types/stencil-public-runtime.d.ts +59 -3
  34. package/dist/types/types/autocomplete.d.ts +2 -2
  35. package/dist/types/types/button.d.ts +4 -4
  36. package/dist/types/types/floating-ui.d.ts +2 -2
  37. package/dist/types/types/form-rel.d.ts +1 -1
  38. package/dist/types/types/input-text-type.d.ts +1 -1
  39. package/dist/types/types/input-value-type.d.ts +1 -1
  40. package/dist/types/types/loading.d.ts +1 -1
  41. package/dist/types/types/typography.d.ts +9 -8
  42. package/dist/types/types/variant.d.ts +10 -10
  43. package/loader/index.d.ts +9 -0
  44. package/package.json +5 -4
  45. package/src/common/keyboard-manager.ts +46 -0
  46. package/src/components/mds-list/test/mds-list.stories.tsx +2 -8
  47. package/src/dictionary/icon.ts +4 -0
  48. package/src/dictionary/typography.ts +9 -3
  49. package/src/fixtures/icons.json +177 -0
  50. package/src/fixtures/iconsauce.json +175 -0
  51. package/src/tailwind/components.css +1 -0
  52. package/src/types/typography.ts +4 -0
  53. package/www/build/mds-list.esm.js +1 -1
  54. package/www/build/mds-list.js +1 -1
  55. package/www/build/p-41726a86.js +2 -0
  56. package/www/build/p-7981ed9e.system.js +1 -0
  57. package/www/build/{p-16684a5a.system.entry.js → p-8a953f63.system.entry.js} +1 -1
  58. package/www/build/{p-bcc83db0.entry.js → p-be44e136.entry.js} +1 -1
  59. package/www/build/p-f9c13cf7.system.js +2 -0
  60. package/dist/esm-es5/index-0497c2b2.js +0 -2
  61. package/dist/mds-list/p-10206fc6.system.js +0 -1
  62. package/dist/mds-list/p-1cb99ed5.js +0 -2
  63. package/dist/mds-list/p-ab75225f.system.js +0 -2
  64. package/www/build/p-10206fc6.system.js +0 -1
  65. package/www/build/p-1cb99ed5.js +0 -2
  66. package/www/build/p-ab75225f.system.js +0 -2
@@ -47,13 +47,25 @@ const uniqueTime = (key, measureText) => {
47
47
  };
48
48
  }
49
49
  };
50
- const HYDRATED_CSS = '{visibility:hidden}.hydrated{visibility:inherit}';
50
+ const HYDRATED_CSS = '{visibility:hidden}[hydrated]{visibility:inherit}';
51
51
  const isDef = (v) => v != null;
52
52
  const isComplexType = (o) => {
53
53
  // https://jsperf.com/typeof-fn-object/5
54
54
  o = typeof o;
55
55
  return o === 'object' || o === 'function';
56
56
  };
57
+ /**
58
+ * Helper method for querying a `meta` tag that contains a nonce value
59
+ * out of a DOM's head.
60
+ *
61
+ * @param doc The DOM containing the `head` to query against
62
+ * @returns The content of the meta tag representing the nonce value, or `undefined` if no tag
63
+ * exists or the tag has no content.
64
+ */
65
+ function queryNonceMetaTagContent(doc) {
66
+ var _a, _b, _c;
67
+ return (_c = (_b = (_a = doc.head) === null || _a === void 0 ? void 0 : _a.querySelector('meta[name="csp-nonce"]')) === null || _b === void 0 ? void 0 : _b.getAttribute('content')) !== null && _c !== void 0 ? _c : undefined;
68
+ }
57
69
  /**
58
70
  * Production h() function based on Preact by
59
71
  * Jason Miller (@developit)
@@ -62,7 +74,6 @@ const isComplexType = (o) => {
62
74
  *
63
75
  * Modified for Stencil's compiler and vdom
64
76
  */
65
- // const stack: any[] = [];
66
77
  // export function h(nodeName: string | d.FunctionalComponent, vnodeData: d.PropsType, child?: d.ChildType): d.VNode;
67
78
  // export function h(nodeName: string | d.FunctionalComponent, vnodeData: d.PropsType, ...children: d.ChildType[]): d.VNode;
68
79
  const h = (nodeName, vnodeData, ...children) => {
@@ -100,6 +111,14 @@ const h = (nodeName, vnodeData, ...children) => {
100
111
  }
101
112
  return vnode;
102
113
  };
114
+ /**
115
+ * A utility function for creating a virtual DOM node from a tag and some
116
+ * possible text content.
117
+ *
118
+ * @param tag the tag for this element
119
+ * @param text possible text content for the node
120
+ * @returns a newly-minted virtual DOM node
121
+ */
103
122
  const newVNode = (tag, text) => {
104
123
  const vnode = {
105
124
  $flags$: 0,
@@ -111,6 +130,12 @@ const newVNode = (tag, text) => {
111
130
  return vnode;
112
131
  };
113
132
  const Host = {};
133
+ /**
134
+ * Check whether a given node is a Host node or not
135
+ *
136
+ * @param node the virtual DOM node to check
137
+ * @returns whether it's a Host node or not
138
+ */
114
139
  const isHost = (node) => node && node.$tag$ === Host;
115
140
  /**
116
141
  * Helper function to create & dispatch a custom Event on a provided target
@@ -142,6 +167,7 @@ const registerStyle = (scopeId, cssText, allowCS) => {
142
167
  styles.set(scopeId, style);
143
168
  };
144
169
  const addStyle = (styleContainerNode, cmpMeta, mode, hostElm) => {
170
+ var _a;
145
171
  let scopeId = getScopeId(cmpMeta);
146
172
  const style = styles.get(scopeId);
147
173
  // if an element is NOT connected then getRootNode() will return the wrong root node
@@ -161,6 +187,11 @@ const addStyle = (styleContainerNode, cmpMeta, mode, hostElm) => {
161
187
  styleElm = doc.createElement('style');
162
188
  styleElm.innerHTML = style;
163
189
  }
190
+ // Apply CSP nonce to the style tag if it exists
191
+ const nonce = (_a = plt.$nonce$) !== null && _a !== void 0 ? _a : queryNonceMetaTagContent(doc);
192
+ if (nonce != null) {
193
+ styleElm.setAttribute('nonce', nonce);
194
+ }
164
195
  styleContainerNode.insertBefore(styleElm, styleContainerNode.querySelector('link'));
165
196
  }
166
197
  if (appliedStyles) {
@@ -232,6 +263,21 @@ const createElm = (oldParentVNode, newParentVNode, childIndex, parentElm) => {
232
263
  }
233
264
  return elm;
234
265
  };
266
+ /**
267
+ * Create DOM nodes corresponding to a list of {@link d.Vnode} objects and
268
+ * add them to the DOM in the appropriate place.
269
+ *
270
+ * @param parentElm the DOM node which should be used as a parent for the new
271
+ * DOM nodes
272
+ * @param before a child of the `parentElm` which the new children should be
273
+ * inserted before (optional)
274
+ * @param parentVNode the parent virtual DOM node
275
+ * @param vnodes the new child virtual DOM nodes to produce DOM nodes for
276
+ * @param startIdx the index in the child virtual DOM nodes at which to start
277
+ * creating DOM nodes (inclusive)
278
+ * @param endIdx the index in the child virtual DOM nodes at which to stop
279
+ * creating DOM nodes (inclusive)
280
+ */
235
281
  const addVnodes = (parentElm, before, parentVNode, vnodes, startIdx, endIdx) => {
236
282
  let containerElm = (parentElm);
237
283
  let childNode;
@@ -267,6 +313,18 @@ const patch = (oldVNode, newVNode) => {
267
313
  else ;
268
314
  }
269
315
  };
316
+ /**
317
+ * The main entry point for Stencil's virtual DOM-based rendering engine
318
+ *
319
+ * Given a {@link d.HostRef} container and some virtual DOM nodes, this
320
+ * function will handle creating a virtual DOM tree with a single root, patching
321
+ * the current virtual DOM tree onto an old one (if any), dealing with slot
322
+ * relocation, and reflecting attributes.
323
+ *
324
+ * @param hostRef data needed to root and render the virtual DOM tree, such as
325
+ * the DOM node into which it should be rendered.
326
+ * @param renderFnResults the virtual DOM nodes to be rendered
327
+ */
270
328
  const renderVdom = (hostRef, renderFnResults) => {
271
329
  const hostElm = hostRef.$hostElement$;
272
330
  const oldVNode = hostRef.$vnode$ || newVNode(null, null);
@@ -412,8 +470,8 @@ const appDidLoad = (who) => {
412
470
  const then = (promise, thenFn) => {
413
471
  return promise && promise.then ? promise.then(thenFn) : thenFn();
414
472
  };
415
- const addHydratedFlag = (elm) => elm.classList.add('hydrated')
416
- ;
473
+ const addHydratedFlag = (elm) => elm.setAttribute('hydrated', '')
474
+ ;
417
475
  /**
418
476
  * Attach a series of runtime constructs to a compiled Stencil component
419
477
  * constructor, including getters and setters for the `@Prop` and `@State`
@@ -519,6 +577,7 @@ const disconnectedCallback = (elm) => {
519
577
  }
520
578
  };
521
579
  const bootstrapLazy = (lazyBundles, options = {}) => {
580
+ var _a;
522
581
  const endBootstrap = createTime();
523
582
  const cmpTags = [];
524
583
  const exclude = options.exclude || [];
@@ -589,6 +648,11 @@ const bootstrapLazy = (lazyBundles, options = {}) => {
589
648
  {
590
649
  visibilityStyle.innerHTML = cmpTags + HYDRATED_CSS;
591
650
  visibilityStyle.setAttribute('data-styles', '');
651
+ // Apply CSP nonce to the style tag if it exists
652
+ const nonce = (_a = plt.$nonce$) !== null && _a !== void 0 ? _a : queryNonceMetaTagContent(doc);
653
+ if (nonce != null) {
654
+ visibilityStyle.setAttribute('nonce', nonce);
655
+ }
592
656
  head.insertBefore(visibilityStyle, metaCharset ? metaCharset.nextSibling : head.firstChild);
593
657
  }
594
658
  // Process deferred connectedCallbacks now all components have been registered
@@ -604,6 +668,13 @@ const bootstrapLazy = (lazyBundles, options = {}) => {
604
668
  // Fallback appLoad event
605
669
  endBootstrap();
606
670
  };
671
+ /**
672
+ * Assigns the given value to the nonce property on the runtime platform object.
673
+ * During runtime, this value is used to set the nonce attribute on all dynamically created script and style tags.
674
+ * @param nonce The value to be assigned to the platform nonce property.
675
+ * @returns void
676
+ */
677
+ const setNonce = (nonce) => (plt.$nonce$ = nonce);
607
678
  const hostRefs = /*@__PURE__*/ new WeakMap();
608
679
  const getHostRef = (ref) => hostRefs.get(ref);
609
680
  const registerInstance = (lazyInstance, hostRef) => hostRefs.set((hostRef.$lazyInstance$ = lazyInstance), hostRef);
@@ -714,3 +785,4 @@ exports.bootstrapLazy = bootstrapLazy;
714
785
  exports.h = h;
715
786
  exports.promiseResolve = promiseResolve;
716
787
  exports.registerInstance = registerInstance;
788
+ exports.setNonce = setNonce;
@@ -2,10 +2,10 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-3c3cf8ce.js');
5
+ const index = require('./index-9b88f3c8.js');
6
6
 
7
7
  /*
8
- Stencil Client Patch Esm v2.19.3 | MIT Licensed | https://stenciljs.com
8
+ Stencil Client Patch Esm v2.22.2 | MIT Licensed | https://stenciljs.com
9
9
  */
10
10
  const patchEsm = () => {
11
11
  return index.promiseResolve();
@@ -18,4 +18,5 @@ const defineCustomElements = (win, options) => {
18
18
  });
19
19
  };
20
20
 
21
+ exports.setNonce = index.setNonce;
21
22
  exports.defineCustomElements = defineCustomElements;
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-3c3cf8ce.js');
5
+ const index = require('./index-9b88f3c8.js');
6
6
 
7
7
  const mdsListCss = ".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{display:grid;gap:1rem;padding-left:1rem}ul{margin:0px;padding:0px}";
8
8
 
@@ -1,9 +1,11 @@
1
1
  'use strict';
2
2
 
3
- const index = require('./index-3c3cf8ce.js');
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ const index = require('./index-9b88f3c8.js');
4
6
 
5
7
  /*
6
- Stencil Client Patch Browser v2.19.3 | MIT Licensed | https://stenciljs.com
8
+ Stencil Client Patch Browser v2.22.2 | MIT Licensed | https://stenciljs.com
7
9
  */
8
10
  const patchBrowser = () => {
9
11
  const importMeta = (typeof document === 'undefined' ? new (require('u' + 'rl').URL)('file:' + __filename).href : (document.currentScript && document.currentScript.src || new URL('mds-list.cjs.js', document.baseURI).href));
@@ -17,3 +19,5 @@ const patchBrowser = () => {
17
19
  patchBrowser().then(options => {
18
20
  return index.bootstrapLazy([["mds-list.cjs",[[1,"mds-list"]]]], options);
19
21
  });
22
+
23
+ exports.setNonce = index.setNonce;
@@ -4,8 +4,8 @@
4
4
  ],
5
5
  "compiler": {
6
6
  "name": "@stencil/core",
7
- "version": "2.19.3",
8
- "typescriptVersion": "4.7.4"
7
+ "version": "2.22.2",
8
+ "typescriptVersion": "4.9.4"
9
9
  },
10
10
  "collections": [],
11
11
  "bundles": []
@@ -0,0 +1,40 @@
1
+ export class KeyboardManager {
2
+ constructor() {
3
+ this.elements = [];
4
+ this.handleClickBehaviorDispatchEvent = (event) => {
5
+ if (event.code === 'Space' || event.code === 'Enter' || event.code === 'NumpadEnter') {
6
+ event.target.click();
7
+ }
8
+ };
9
+ this.handleEscapeBehaviorDispatchEvent = (event) => {
10
+ if (event.code === 'Escape' && this.escapeCallback) {
11
+ this.escapeCallback();
12
+ }
13
+ };
14
+ this.addElement = (el, name = 'element') => {
15
+ this.elements[name] = el;
16
+ };
17
+ this.attachClickBehavior = (name = 'element') => {
18
+ if (this.elements[name]) {
19
+ this.elements[name].addEventListener('keydown', this.handleClickBehaviorDispatchEvent);
20
+ }
21
+ };
22
+ this.detachClickBehavior = (name = 'element') => {
23
+ if (this.elements[name]) {
24
+ this.elements[name].removeEventListener('keydown', this.handleClickBehaviorDispatchEvent);
25
+ }
26
+ };
27
+ this.attachEscapeBehavior = (callBack) => {
28
+ this.escapeCallback = callBack;
29
+ if (typeof window !== undefined) {
30
+ window.addEventListener('keydown', this.handleEscapeBehaviorDispatchEvent.bind(this));
31
+ }
32
+ };
33
+ this.detachEscapeBehavior = () => {
34
+ this.escapeCallback = null;
35
+ if (typeof window !== undefined) {
36
+ window.removeEventListener('keydown', this.handleEscapeBehaviorDispatchEvent.bind(this));
37
+ }
38
+ };
39
+ }
40
+ }
@@ -1,12 +1,6 @@
1
1
  import { h } from '@stencil/core';
2
2
  export default {
3
3
  title: 'UI / List',
4
- argTypes: {
5
- type: {
6
- type: { name: 'string', required: false },
7
- description: 'Defines if the list is ordered or unordered',
8
- },
9
- },
10
4
  };
11
- const Template = args => h("mds-list", Object.assign({}, args), h("mds-list-item", null, "Pane"), h("mds-list-item", null, "Acqua"), h("mds-list-item", null, "Pasta"));
5
+ const Template = () => h("mds-list", null, h("mds-list-item", null, "Pane"), h("mds-list-item", null, "Acqua"), h("mds-list-item", null, "Pasta"));
12
6
  export const Default = Template.bind({});
@@ -1,3 +1,5 @@
1
1
  import jsonIconsDictionary from '../fixtures/icons.json';
2
+ import jsonMggIconsDictionary from '../fixtures/iconsauce.json';
2
3
  const iconsDictionary = jsonIconsDictionary;
3
- export { iconsDictionary, };
4
+ const mggIconsDictionary = jsonMggIconsDictionary;
5
+ export { iconsDictionary, mggIconsDictionary, };
@@ -21,6 +21,10 @@ const typographyVariationsDictionary = [
21
21
  'read',
22
22
  'code',
23
23
  ];
24
+ const typographyReadingVariationsDictionary = [
25
+ 'info',
26
+ 'read',
27
+ ];
24
28
  const typographyMonoDictionary = [
25
29
  'snippet',
26
30
  'hack',
@@ -56,4 +60,4 @@ const typographyTooltipDictionary = [
56
60
  'detail',
57
61
  'tip',
58
62
  ];
59
- export { typographyDictionary, typographyVariationsDictionary, typographyMonoDictionary, typographyTitleDictionary, typographyInfoDictionary, typographyReadDictionary, typographySmallerDictionary, typographyTooltipDictionary, };
63
+ export { typographyDictionary, typographyInfoDictionary, typographyReadingVariationsDictionary, typographyMonoDictionary, typographyReadDictionary, typographySmallerDictionary, typographyTitleDictionary, typographyTooltipDictionary, typographyVariationsDictionary, };
@@ -13,6 +13,15 @@ export { MdsList as MdsList } from '../types/components/mds-list/mds-list';
13
13
  */
14
14
  export declare const setAssetPath: (path: string) => void;
15
15
 
16
+ /**
17
+ * Used to specify a nonce value that corresponds with an application's CSP.
18
+ * When set, the nonce will be added to all dynamically created script and style tags at runtime.
19
+ * Alternatively, the nonce value can be set on a meta tag in the DOM head
20
+ * (<meta name="csp-nonce" content="{ nonce value here }" />) which
21
+ * will result in the same behavior.
22
+ */
23
+ export declare const setNonce: (nonce: string) => void
24
+
16
25
  export interface SetPlatformOptions {
17
26
  raf?: (c: FrameRequestCallback) => number;
18
27
  ael?: (el: EventTarget, eventName: string, listener: EventListenerOrEventListenerObject, options: boolean | AddEventListenerOptions) => void;
@@ -1,2 +1,2 @@
1
- export { setAssetPath, setPlatformOptions } from '@stencil/core/internal/client';
1
+ export { setAssetPath, setNonce, setPlatformOptions } from '@stencil/core/internal/client';
2
2
  export { MdsList, defineCustomElement as defineCustomElementMdsList } from './mds-list.js';
@@ -25,13 +25,25 @@ const uniqueTime = (key, measureText) => {
25
25
  };
26
26
  }
27
27
  };
28
- const HYDRATED_CSS = '{visibility:hidden}.hydrated{visibility:inherit}';
28
+ const HYDRATED_CSS = '{visibility:hidden}[hydrated]{visibility:inherit}';
29
29
  const isDef = (v) => v != null;
30
30
  const isComplexType = (o) => {
31
31
  // https://jsperf.com/typeof-fn-object/5
32
32
  o = typeof o;
33
33
  return o === 'object' || o === 'function';
34
34
  };
35
+ /**
36
+ * Helper method for querying a `meta` tag that contains a nonce value
37
+ * out of a DOM's head.
38
+ *
39
+ * @param doc The DOM containing the `head` to query against
40
+ * @returns The content of the meta tag representing the nonce value, or `undefined` if no tag
41
+ * exists or the tag has no content.
42
+ */
43
+ function queryNonceMetaTagContent(doc) {
44
+ var _a, _b, _c;
45
+ return (_c = (_b = (_a = doc.head) === null || _a === void 0 ? void 0 : _a.querySelector('meta[name="csp-nonce"]')) === null || _b === void 0 ? void 0 : _b.getAttribute('content')) !== null && _c !== void 0 ? _c : undefined;
46
+ }
35
47
  /**
36
48
  * Production h() function based on Preact by
37
49
  * Jason Miller (@developit)
@@ -40,7 +52,6 @@ const isComplexType = (o) => {
40
52
  *
41
53
  * Modified for Stencil's compiler and vdom
42
54
  */
43
- // const stack: any[] = [];
44
55
  // export function h(nodeName: string | d.FunctionalComponent, vnodeData: d.PropsType, child?: d.ChildType): d.VNode;
45
56
  // export function h(nodeName: string | d.FunctionalComponent, vnodeData: d.PropsType, ...children: d.ChildType[]): d.VNode;
46
57
  const h = (nodeName, vnodeData, ...children) => {
@@ -78,6 +89,14 @@ const h = (nodeName, vnodeData, ...children) => {
78
89
  }
79
90
  return vnode;
80
91
  };
92
+ /**
93
+ * A utility function for creating a virtual DOM node from a tag and some
94
+ * possible text content.
95
+ *
96
+ * @param tag the tag for this element
97
+ * @param text possible text content for the node
98
+ * @returns a newly-minted virtual DOM node
99
+ */
81
100
  const newVNode = (tag, text) => {
82
101
  const vnode = {
83
102
  $flags$: 0,
@@ -89,6 +108,12 @@ const newVNode = (tag, text) => {
89
108
  return vnode;
90
109
  };
91
110
  const Host = {};
111
+ /**
112
+ * Check whether a given node is a Host node or not
113
+ *
114
+ * @param node the virtual DOM node to check
115
+ * @returns whether it's a Host node or not
116
+ */
92
117
  const isHost = (node) => node && node.$tag$ === Host;
93
118
  /**
94
119
  * Helper function to create & dispatch a custom Event on a provided target
@@ -120,6 +145,7 @@ const registerStyle = (scopeId, cssText, allowCS) => {
120
145
  styles.set(scopeId, style);
121
146
  };
122
147
  const addStyle = (styleContainerNode, cmpMeta, mode, hostElm) => {
148
+ var _a;
123
149
  let scopeId = getScopeId(cmpMeta);
124
150
  const style = styles.get(scopeId);
125
151
  // if an element is NOT connected then getRootNode() will return the wrong root node
@@ -139,6 +165,11 @@ const addStyle = (styleContainerNode, cmpMeta, mode, hostElm) => {
139
165
  styleElm = doc.createElement('style');
140
166
  styleElm.innerHTML = style;
141
167
  }
168
+ // Apply CSP nonce to the style tag if it exists
169
+ const nonce = (_a = plt.$nonce$) !== null && _a !== void 0 ? _a : queryNonceMetaTagContent(doc);
170
+ if (nonce != null) {
171
+ styleElm.setAttribute('nonce', nonce);
172
+ }
142
173
  styleContainerNode.insertBefore(styleElm, styleContainerNode.querySelector('link'));
143
174
  }
144
175
  if (appliedStyles) {
@@ -210,6 +241,21 @@ const createElm = (oldParentVNode, newParentVNode, childIndex, parentElm) => {
210
241
  }
211
242
  return elm;
212
243
  };
244
+ /**
245
+ * Create DOM nodes corresponding to a list of {@link d.Vnode} objects and
246
+ * add them to the DOM in the appropriate place.
247
+ *
248
+ * @param parentElm the DOM node which should be used as a parent for the new
249
+ * DOM nodes
250
+ * @param before a child of the `parentElm` which the new children should be
251
+ * inserted before (optional)
252
+ * @param parentVNode the parent virtual DOM node
253
+ * @param vnodes the new child virtual DOM nodes to produce DOM nodes for
254
+ * @param startIdx the index in the child virtual DOM nodes at which to start
255
+ * creating DOM nodes (inclusive)
256
+ * @param endIdx the index in the child virtual DOM nodes at which to stop
257
+ * creating DOM nodes (inclusive)
258
+ */
213
259
  const addVnodes = (parentElm, before, parentVNode, vnodes, startIdx, endIdx) => {
214
260
  let containerElm = (parentElm);
215
261
  let childNode;
@@ -245,6 +291,18 @@ const patch = (oldVNode, newVNode) => {
245
291
  else ;
246
292
  }
247
293
  };
294
+ /**
295
+ * The main entry point for Stencil's virtual DOM-based rendering engine
296
+ *
297
+ * Given a {@link d.HostRef} container and some virtual DOM nodes, this
298
+ * function will handle creating a virtual DOM tree with a single root, patching
299
+ * the current virtual DOM tree onto an old one (if any), dealing with slot
300
+ * relocation, and reflecting attributes.
301
+ *
302
+ * @param hostRef data needed to root and render the virtual DOM tree, such as
303
+ * the DOM node into which it should be rendered.
304
+ * @param renderFnResults the virtual DOM nodes to be rendered
305
+ */
248
306
  const renderVdom = (hostRef, renderFnResults) => {
249
307
  const hostElm = hostRef.$hostElement$;
250
308
  const oldVNode = hostRef.$vnode$ || newVNode(null, null);
@@ -390,8 +448,8 @@ const appDidLoad = (who) => {
390
448
  const then = (promise, thenFn) => {
391
449
  return promise && promise.then ? promise.then(thenFn) : thenFn();
392
450
  };
393
- const addHydratedFlag = (elm) => elm.classList.add('hydrated')
394
- ;
451
+ const addHydratedFlag = (elm) => elm.setAttribute('hydrated', '')
452
+ ;
395
453
  /**
396
454
  * Attach a series of runtime constructs to a compiled Stencil component
397
455
  * constructor, including getters and setters for the `@Prop` and `@State`
@@ -497,6 +555,7 @@ const disconnectedCallback = (elm) => {
497
555
  }
498
556
  };
499
557
  const bootstrapLazy = (lazyBundles, options = {}) => {
558
+ var _a;
500
559
  const endBootstrap = createTime();
501
560
  const cmpTags = [];
502
561
  const exclude = options.exclude || [];
@@ -567,6 +626,11 @@ const bootstrapLazy = (lazyBundles, options = {}) => {
567
626
  {
568
627
  visibilityStyle.innerHTML = cmpTags + HYDRATED_CSS;
569
628
  visibilityStyle.setAttribute('data-styles', '');
629
+ // Apply CSP nonce to the style tag if it exists
630
+ const nonce = (_a = plt.$nonce$) !== null && _a !== void 0 ? _a : queryNonceMetaTagContent(doc);
631
+ if (nonce != null) {
632
+ visibilityStyle.setAttribute('nonce', nonce);
633
+ }
570
634
  head.insertBefore(visibilityStyle, metaCharset ? metaCharset.nextSibling : head.firstChild);
571
635
  }
572
636
  // Process deferred connectedCallbacks now all components have been registered
@@ -582,6 +646,13 @@ const bootstrapLazy = (lazyBundles, options = {}) => {
582
646
  // Fallback appLoad event
583
647
  endBootstrap();
584
648
  };
649
+ /**
650
+ * Assigns the given value to the nonce property on the runtime platform object.
651
+ * During runtime, this value is used to set the nonce attribute on all dynamically created script and style tags.
652
+ * @param nonce The value to be assigned to the platform nonce property.
653
+ * @returns void
654
+ */
655
+ const setNonce = (nonce) => (plt.$nonce$ = nonce);
585
656
  const hostRefs = /*@__PURE__*/ new WeakMap();
586
657
  const getHostRef = (ref) => hostRefs.get(ref);
587
658
  const registerInstance = (lazyInstance, hostRef) => hostRefs.set((hostRef.$lazyInstance$ = lazyInstance), hostRef);
@@ -687,4 +758,4 @@ const flush = () => {
687
758
  const nextTick = /*@__PURE__*/ (cb) => promiseResolve().then(cb);
688
759
  const writeTask = /*@__PURE__*/ queueTask(queueDomWrites, true);
689
760
 
690
- export { Host as H, bootstrapLazy as b, h, promiseResolve as p, registerInstance as r };
761
+ export { Host as H, bootstrapLazy as b, h, promiseResolve as p, registerInstance as r, setNonce as s };
@@ -1,7 +1,8 @@
1
- import { p as promiseResolve, b as bootstrapLazy } from './index-0497c2b2.js';
1
+ import { p as promiseResolve, b as bootstrapLazy } from './index-35c9c7b9.js';
2
+ export { s as setNonce } from './index-35c9c7b9.js';
2
3
 
3
4
  /*
4
- Stencil Client Patch Esm v2.19.3 | MIT Licensed | https://stenciljs.com
5
+ Stencil Client Patch Esm v2.22.2 | MIT Licensed | https://stenciljs.com
5
6
  */
6
7
  const patchEsm = () => {
7
8
  return promiseResolve();
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h, H as Host } from './index-0497c2b2.js';
1
+ import { r as registerInstance, h, H as Host } from './index-35c9c7b9.js';
2
2
 
3
3
  const mdsListCss = ".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{display:grid;gap:1rem;padding-left:1rem}ul{margin:0px;padding:0px}";
4
4
 
@@ -1,7 +1,8 @@
1
- import { p as promiseResolve, b as bootstrapLazy } from './index-0497c2b2.js';
1
+ import { p as promiseResolve, b as bootstrapLazy } from './index-35c9c7b9.js';
2
+ export { s as setNonce } from './index-35c9c7b9.js';
2
3
 
3
4
  /*
4
- Stencil Client Patch Browser v2.19.3 | MIT Licensed | https://stenciljs.com
5
+ Stencil Client Patch Browser v2.22.2 | MIT Licensed | https://stenciljs.com
5
6
  */
6
7
  const patchBrowser = () => {
7
8
  const importMeta = import.meta.url;
@@ -1 +1 @@
1
- var __assign=this&&this.__assign||function(){return(__assign=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var s in t=arguments[r])Object.prototype.hasOwnProperty.call(t,s)&&(e[s]=t[s]);return e}).apply(this,arguments)},StyleNode=function(){this.start=0,this.end=0,this.previous=null,this.parent=null,this.rules=null,this.parsedCssText="",this.cssText="",this.atRule=!1,this.type=0,this.keyframesName="",this.selector="",this.parsedSelector=""};function parse(e){return parseCss(lex(e=clean(e)),e)}function clean(e){return e.replace(RX.comments,"").replace(RX.port,"")}function lex(e){var t=new StyleNode;t.start=0,t.end=e.length;for(var r=t,n=0,s=e.length;n<s;n++)if(e[n]===OPEN_BRACE){r.rules||(r.rules=[]);var o=r,a=o.rules[o.rules.length-1]||null;(r=new StyleNode).start=n+1,r.parent=o,r.previous=a,o.rules.push(r)}else e[n]===CLOSE_BRACE&&(r.end=n+1,r=r.parent||t);return t}function parseCss(e,t){var r=t.substring(e.start,e.end-1);if(e.parsedCssText=e.cssText=r.trim(),e.parent){var n=e.previous?e.previous.end:e.parent.start;r=(r=(r=_expandUnicodeEscapes(r=t.substring(n,e.start-1))).replace(RX.multipleSpaces," ")).substring(r.lastIndexOf(";")+1);var s=e.parsedSelector=e.selector=r.trim();e.atRule=0===s.indexOf(AT_START),e.atRule?0===s.indexOf(MEDIA_START)?e.type=types.MEDIA_RULE:s.match(RX.keyframesRule)&&(e.type=types.KEYFRAMES_RULE,e.keyframesName=e.selector.split(RX.multipleSpaces).pop()):0===s.indexOf(VAR_START)?e.type=types.MIXIN_RULE:e.type=types.STYLE_RULE}var o=e.rules;if(o)for(var a=0,i=o.length,l=void 0;a<i&&(l=o[a]);a++)parseCss(l,t);return e}function _expandUnicodeEscapes(e){return e.replace(/\\([0-9a-f]{1,6})\s/gi,(function(){for(var e=arguments[1],t=6-e.length;t--;)e="0"+e;return"\\"+e}))}var types={STYLE_RULE:1,KEYFRAMES_RULE:7,MEDIA_RULE:4,MIXIN_RULE:1e3},OPEN_BRACE="{",CLOSE_BRACE="}",RX={comments:/\/\*[^*]*\*+([^/*][^*]*\*+)*\//gim,port:/@import[^;]*;/gim,customProp:/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?(?:[;\n]|$)/gim,mixinProp:/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?{[^}]*?}(?:[;\n]|$)?/gim,mixinApply:/@apply\s*\(?[^);]*\)?\s*(?:[;\n]|$)?/gim,varApply:/[^;:]*?:[^;]*?var\([^;]*\)(?:[;\n]|$)?/gim,keyframesRule:/^@[^\s]*keyframes/,multipleSpaces:/\s+/g},VAR_START="--",MEDIA_START="@media",AT_START="@",VAR_USAGE_START=/\bvar\(/,VAR_ASSIGN_START=/\B--[\w-]+\s*:/,COMMENTS=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//gim,TRAILING_LINES=/^[\t ]+\n/gm;function findRegex(e,t,r){e.lastIndex=0;var n=t.substring(r).match(e);if(n){var s=r+n.index;return{start:s,end:s+n[0].length}}return null}function resolveVar(e,t,r){return e[t]?e[t]:r?executeTemplate(r,e):""}function findVarEndIndex(e,t){for(var r=0,n=t;n<e.length;n++){var s=e[n];if("("===s)r++;else if(")"===s&&--r<=0)return n+1}return n}function parseVar(e,t){var r=findRegex(VAR_USAGE_START,e,t);if(!r)return null;var n=findVarEndIndex(e,r.start),s=e.substring(r.end,n-1).split(","),o=s[0],a=s.slice(1);return{start:r.start,end:n,propName:o.trim(),fallback:a.length>0?a.join(",").trim():void 0}}function compileVar(e,t,r){var n=parseVar(e,r);if(!n)return t.push(e.substring(r,e.length)),e.length;var s=n.propName,o=null!=n.fallback?compileTemplate(n.fallback):void 0;return t.push(e.substring(r,n.start),(function(e){return resolveVar(e,s,o)})),n.end}function executeTemplate(e,t){for(var r="",n=0;n<e.length;n++){var s=e[n];r+="string"==typeof s?s:s(t)}return r}function findEndValue(e,t){for(var r=!1,n=!1,s=t;s<e.length;s++){var o=e[s];if(r)n&&'"'===o&&(r=!1),n||"'"!==o||(r=!1);else if('"'===o)r=!0,n=!0;else if("'"===o)r=!0,n=!1;else{if(";"===o)return s+1;if("}"===o)return s}}return s}function removeCustomAssigns(e){for(var t="",r=0;;){var n=findRegex(VAR_ASSIGN_START,e,r),s=n?n.start:e.length;if(t+=e.substring(r,s),!n)break;r=findEndValue(e,s)}return t}function compileTemplate(e){var t=0;e=removeCustomAssigns(e=e.replace(COMMENTS,"")).replace(TRAILING_LINES,"");for(var r=[];t<e.length;)t=compileVar(e,r,t);return r}function resolveValues(e){var t={};e.forEach((function(e){e.declarations.forEach((function(e){t[e.prop]=e.value}))}));for(var r={},n=Object.entries(t),s=function(e){var t=!1;if(n.forEach((function(e){var n=e[0],s=executeTemplate(e[1],r);s!==r[n]&&(r[n]=s,t=!0)})),!t)return"break"},o=0;o<10;o++){if("break"===s())break}return r}function getSelectors(e,t){if(void 0===t&&(t=0),!e.rules)return[];var r=[];return e.rules.filter((function(e){return e.type===types.STYLE_RULE})).forEach((function(e){var n=getDeclarations(e.cssText);n.length>0&&e.parsedSelector.split(",").forEach((function(e){e=e.trim(),r.push({selector:e,declarations:n,specificity:computeSpecificity(),nu:t})})),t++})),r}function computeSpecificity(e){return 1}var IMPORTANT="!important",FIND_DECLARATIONS=/(?:^|[;\s{]\s*)(--[\w-]*?)\s*:\s*(?:((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};{])+)|\{([^}]*)\}(?:(?=[;\s}])|$))/gm;function getDeclarations(e){for(var t,r=[];t=FIND_DECLARATIONS.exec(e.trim());){var n=normalizeValue(t[2]),s=n.value,o=n.important;r.push({prop:t[1].trim(),value:compileTemplate(s),important:o})}return r}function normalizeValue(e){var t=(e=e.replace(/\s+/gim," ").trim()).endsWith(IMPORTANT);return t&&(e=e.slice(0,e.length-IMPORTANT.length).trim()),{value:e,important:t}}function getActiveSelectors(e,t,r){var n=[],s=getScopesForElement(t,e);return r.forEach((function(e){return n.push(e)})),s.forEach((function(e){return n.push(e)})),sortSelectors(getSelectorsForScopes(n).filter((function(t){return matches(e,t.selector)})))}function getScopesForElement(e,t){for(var r=[];t;){var n=e.get(t);n&&r.push(n),t=t.parentElement}return r}function getSelectorsForScopes(e){var t=[];return e.forEach((function(e){t.push.apply(t,e.selectors)})),t}function sortSelectors(e){return e.sort((function(e,t){return e.specificity===t.specificity?e.nu-t.nu:e.specificity-t.specificity})),e}function matches(e,t){return":root"===t||"html"===t||e.matches(t)}function parseCSS(e){var t=parse(e),r=compileTemplate(e);return{original:e,template:r,selectors:getSelectors(t),usesCssVars:r.length>1}}function addGlobalStyle(e,t){if(e.some((function(e){return e.styleEl===t})))return!1;var r=parseCSS(t.textContent);return r.styleEl=t,e.push(r),!0}function updateGlobalScopes(e){var t=resolveValues(getSelectorsForScopes(e));e.forEach((function(e){e.usesCssVars&&(e.styleEl.textContent=executeTemplate(e.template,t))}))}function reScope(e,t){var r=e.template.map((function(r){return"string"==typeof r?replaceScope(r,e.scopeId,t):r})),n=e.selectors.map((function(r){return __assign(__assign({},r),{selector:replaceScope(r.selector,e.scopeId,t)})}));return __assign(__assign({},e),{template:r,selectors:n,scopeId:t})}function replaceScope(e,t,r){return e=replaceAll(e,"\\.".concat(t),".".concat(r))}function replaceAll(e,t,r){return e.replace(new RegExp(t,"g"),r)}function loadDocument(e,t){return loadDocumentStyles(e,t),loadDocumentLinks(e,t).then((function(){updateGlobalScopes(t)}))}function startWatcher(e,t){"undefined"!=typeof MutationObserver&&new MutationObserver((function(){loadDocumentStyles(e,t)&&updateGlobalScopes(t)})).observe(document.head,{childList:!0})}function loadDocumentLinks(e,t){for(var r=[],n=e.querySelectorAll('link[rel="stylesheet"][href]:not([data-no-shim])'),s=0;s<n.length;s++)r.push(addGlobalLink(e,t,n[s]));return Promise.all(r)}function loadDocumentStyles(e,t){return Array.from(e.querySelectorAll("style:not([data-styles]):not([data-no-shim])")).map((function(e){return addGlobalStyle(t,e)})).some(Boolean)}function addGlobalLink(e,t,r){var n=r.href;return fetch(n).then((function(e){return e.text()})).then((function(s){if(hasCssVariables(s)&&r.parentNode){hasRelativeUrls(s)&&(s=fixRelativeUrls(s,n));var o=e.createElement("style");o.setAttribute("data-styles",""),o.textContent=s,addGlobalStyle(t,o),r.parentNode.insertBefore(o,r),r.remove()}})).catch((function(e){console.error(e)}))}var CSS_VARIABLE_REGEXP=/[\s;{]--[-a-zA-Z0-9]+\s*:/m;function hasCssVariables(e){return e.indexOf("var(")>-1||CSS_VARIABLE_REGEXP.test(e)}var CSS_URL_REGEXP=/url[\s]*\([\s]*['"]?(?!(?:https?|data)\:|\/)([^\'\"\)]*)[\s]*['"]?\)[\s]*/gim;function hasRelativeUrls(e){return CSS_URL_REGEXP.lastIndex=0,CSS_URL_REGEXP.test(e)}function fixRelativeUrls(e,t){var r=t.replace(/[^/]*$/,"");return e.replace(CSS_URL_REGEXP,(function(e,t){var n=r+t;return e.replace(t,n)}))}var CustomStyle=function(){function e(e,t){this.win=e,this.doc=t,this.count=0,this.hostStyleMap=new WeakMap,this.hostScopeMap=new WeakMap,this.globalScopes=[],this.scopesMap=new Map,this.didInit=!1}return e.prototype.i=function(){var e=this;return this.didInit||!this.win.requestAnimationFrame?Promise.resolve():(this.didInit=!0,new Promise((function(t){e.win.requestAnimationFrame((function(){startWatcher(e.doc,e.globalScopes),loadDocument(e.doc,e.globalScopes).then((function(){return t()}))}))})))},e.prototype.addLink=function(e){var t=this;return addGlobalLink(this.doc,this.globalScopes,e).then((function(){t.updateGlobal()}))},e.prototype.addGlobalStyle=function(e){addGlobalStyle(this.globalScopes,e)&&this.updateGlobal()},e.prototype.createHostStyle=function(e,t,r,n){if(this.hostScopeMap.has(e))throw new Error("host style already created");var s=this.registerHostTemplate(r,t,n),o=this.doc.createElement("style");return o.setAttribute("data-no-shim",""),s.usesCssVars?n?(o["s-sc"]=t="".concat(s.scopeId,"-").concat(this.count),o.textContent="/*needs update*/",this.hostStyleMap.set(e,o),this.hostScopeMap.set(e,reScope(s,t)),this.count++):(s.styleEl=o,s.usesCssVars||(o.textContent=executeTemplate(s.template,{})),this.globalScopes.push(s),this.updateGlobal(),this.hostScopeMap.set(e,s)):o.textContent=r,o},e.prototype.removeHost=function(e){var t=this.hostStyleMap.get(e);t&&t.remove(),this.hostStyleMap.delete(e),this.hostScopeMap.delete(e)},e.prototype.updateHost=function(e){var t=this.hostScopeMap.get(e);if(t&&t.usesCssVars&&t.isScoped){var r=this.hostStyleMap.get(e);if(r){var n=resolveValues(getActiveSelectors(e,this.hostScopeMap,this.globalScopes));r.textContent=executeTemplate(t.template,n)}}},e.prototype.updateGlobal=function(){updateGlobalScopes(this.globalScopes)},e.prototype.registerHostTemplate=function(e,t,r){var n=this.scopesMap.get(t);return n||((n=parseCSS(e)).scopeId=t,n.isScoped=r,this.scopesMap.set(t,n)),n},e}();!function(e){!e||e.__cssshim||e.CSS&&e.CSS.supports&&e.CSS.supports("color","var(--c)")||(e.__cssshim=new CustomStyle(e,e.document))}("undefined"!=typeof window&&window);
1
+ var __assign=this&&this.__assign||function(){return __assign=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var s in t=arguments[r])Object.prototype.hasOwnProperty.call(t,s)&&(e[s]=t[s]);return e},__assign.apply(this,arguments)},StyleNode=function(){this.start=0,this.end=0,this.previous=null,this.parent=null,this.rules=null,this.parsedCssText="",this.cssText="",this.atRule=!1,this.type=0,this.keyframesName="",this.selector="",this.parsedSelector=""};function parse(e){return parseCss(lex(e=clean(e)),e)}function clean(e){return e.replace(RX.comments,"").replace(RX.port,"")}function lex(e){var t=new StyleNode;t.start=0,t.end=e.length;for(var r=t,n=0,s=e.length;n<s;n++)if(e[n]===OPEN_BRACE){r.rules||(r.rules=[]);var o=r,a=o.rules[o.rules.length-1]||null;(r=new StyleNode).start=n+1,r.parent=o,r.previous=a,o.rules.push(r)}else e[n]===CLOSE_BRACE&&(r.end=n+1,r=r.parent||t);return t}function parseCss(e,t){var r=t.substring(e.start,e.end-1);if(e.parsedCssText=e.cssText=r.trim(),e.parent){var n=e.previous?e.previous.end:e.parent.start;r=(r=(r=_expandUnicodeEscapes(r=t.substring(n,e.start-1))).replace(RX.multipleSpaces," ")).substring(r.lastIndexOf(";")+1);var s=e.parsedSelector=e.selector=r.trim();e.atRule=0===s.indexOf(AT_START),e.atRule?0===s.indexOf(MEDIA_START)?e.type=types.MEDIA_RULE:s.match(RX.keyframesRule)&&(e.type=types.KEYFRAMES_RULE,e.keyframesName=e.selector.split(RX.multipleSpaces).pop()):0===s.indexOf(VAR_START)?e.type=types.MIXIN_RULE:e.type=types.STYLE_RULE}var o=e.rules;if(o)for(var a=0,i=o.length,l=void 0;a<i&&(l=o[a]);a++)parseCss(l,t);return e}function _expandUnicodeEscapes(e){return e.replace(/\\([0-9a-f]{1,6})\s/gi,(function(){for(var e=arguments[1],t=6-e.length;t--;)e="0"+e;return"\\"+e}))}var types={STYLE_RULE:1,KEYFRAMES_RULE:7,MEDIA_RULE:4,MIXIN_RULE:1e3},OPEN_BRACE="{",CLOSE_BRACE="}",RX={comments:/\/\*[^*]*\*+([^/*][^*]*\*+)*\//gim,port:/@import[^;]*;/gim,customProp:/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?(?:[;\n]|$)/gim,mixinProp:/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?{[^}]*?}(?:[;\n]|$)?/gim,mixinApply:/@apply\s*\(?[^);]*\)?\s*(?:[;\n]|$)?/gim,varApply:/[^;:]*?:[^;]*?var\([^;]*\)(?:[;\n]|$)?/gim,keyframesRule:/^@[^\s]*keyframes/,multipleSpaces:/\s+/g},VAR_START="--",MEDIA_START="@media",AT_START="@",VAR_USAGE_START=/\bvar\(/,VAR_ASSIGN_START=/\B--[\w-]+\s*:/,COMMENTS=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//gim,TRAILING_LINES=/^[\t ]+\n/gm;function findRegex(e,t,r){e.lastIndex=0;var n=t.substring(r).match(e);if(n){var s=r+n.index;return{start:s,end:s+n[0].length}}return null}function resolveVar(e,t,r){return e[t]?e[t]:r?executeTemplate(r,e):""}function findVarEndIndex(e,t){for(var r=0,n=t;n<e.length;n++){var s=e[n];if("("===s)r++;else if(")"===s&&--r<=0)return n+1}return n}function parseVar(e,t){var r=findRegex(VAR_USAGE_START,e,t);if(!r)return null;var n=findVarEndIndex(e,r.start),s=e.substring(r.end,n-1).split(","),o=s[0],a=s.slice(1);return{start:r.start,end:n,propName:o.trim(),fallback:a.length>0?a.join(",").trim():void 0}}function compileVar(e,t,r){var n=parseVar(e,r);if(!n)return t.push(e.substring(r,e.length)),e.length;var s=n.propName,o=null!=n.fallback?compileTemplate(n.fallback):void 0;return t.push(e.substring(r,n.start),(function(e){return resolveVar(e,s,o)})),n.end}function executeTemplate(e,t){for(var r="",n=0;n<e.length;n++){var s=e[n];r+="string"==typeof s?s:s(t)}return r}function findEndValue(e,t){for(var r=!1,n=!1,s=t;s<e.length;s++){var o=e[s];if(r)n&&'"'===o&&(r=!1),n||"'"!==o||(r=!1);else if('"'===o)r=!0,n=!0;else if("'"===o)r=!0,n=!1;else{if(";"===o)return s+1;if("}"===o)return s}}return s}function removeCustomAssigns(e){for(var t="",r=0;;){var n=findRegex(VAR_ASSIGN_START,e,r),s=n?n.start:e.length;if(t+=e.substring(r,s),!n)break;r=findEndValue(e,s)}return t}function compileTemplate(e){var t=0;e=removeCustomAssigns(e=e.replace(COMMENTS,"")).replace(TRAILING_LINES,"");for(var r=[];t<e.length;)t=compileVar(e,r,t);return r}function resolveValues(e){var t={};e.forEach((function(e){e.declarations.forEach((function(e){t[e.prop]=e.value}))}));for(var r={},n=Object.entries(t),s=function(e){var t=!1;if(n.forEach((function(e){var n=e[0],s=executeTemplate(e[1],r);s!==r[n]&&(r[n]=s,t=!0)})),!t)return"break"},o=0;o<10;o++){if("break"===s())break}return r}function getSelectors(e,t){if(void 0===t&&(t=0),!e.rules)return[];var r=[];return e.rules.filter((function(e){return e.type===types.STYLE_RULE})).forEach((function(e){var n=getDeclarations(e.cssText);n.length>0&&e.parsedSelector.split(",").forEach((function(e){e=e.trim(),r.push({selector:e,declarations:n,specificity:computeSpecificity(),nu:t})})),t++})),r}function computeSpecificity(e){return 1}var IMPORTANT="!important",FIND_DECLARATIONS=/(?:^|[;\s{]\s*)(--[\w-]*?)\s*:\s*(?:((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};{])+)|\{([^}]*)\}(?:(?=[;\s}])|$))/gm;function getDeclarations(e){for(var t,r=[];t=FIND_DECLARATIONS.exec(e.trim());){var n=normalizeValue(t[2]),s=n.value,o=n.important;r.push({prop:t[1].trim(),value:compileTemplate(s),important:o})}return r}function normalizeValue(e){var t=(e=e.replace(/\s+/gim," ").trim()).endsWith(IMPORTANT);return t&&(e=e.slice(0,e.length-IMPORTANT.length).trim()),{value:e,important:t}}function getActiveSelectors(e,t,r){var n=[],s=getScopesForElement(t,e);return r.forEach((function(e){return n.push(e)})),s.forEach((function(e){return n.push(e)})),sortSelectors(getSelectorsForScopes(n).filter((function(t){return matches(e,t.selector)})))}function getScopesForElement(e,t){for(var r=[];t;){var n=e.get(t);n&&r.push(n),t=t.parentElement}return r}function getSelectorsForScopes(e){var t=[];return e.forEach((function(e){t.push.apply(t,e.selectors)})),t}function sortSelectors(e){return e.sort((function(e,t){return e.specificity===t.specificity?e.nu-t.nu:e.specificity-t.specificity})),e}function matches(e,t){return":root"===t||"html"===t||e.matches(t)}function parseCSS(e){var t=parse(e),r=compileTemplate(e);return{original:e,template:r,selectors:getSelectors(t),usesCssVars:r.length>1}}function addGlobalStyle(e,t){if(e.some((function(e){return e.styleEl===t})))return!1;var r=parseCSS(t.textContent);return r.styleEl=t,e.push(r),!0}function updateGlobalScopes(e){var t=resolveValues(getSelectorsForScopes(e));e.forEach((function(e){e.usesCssVars&&(e.styleEl.textContent=executeTemplate(e.template,t))}))}function reScope(e,t){var r=e.template.map((function(r){return"string"==typeof r?replaceScope(r,e.scopeId,t):r})),n=e.selectors.map((function(r){return __assign(__assign({},r),{selector:replaceScope(r.selector,e.scopeId,t)})}));return __assign(__assign({},e),{template:r,selectors:n,scopeId:t})}function replaceScope(e,t,r){return e=replaceAll(e,"\\.".concat(t),".".concat(r))}function replaceAll(e,t,r){return e.replace(new RegExp(t,"g"),r)}function loadDocument(e,t){return loadDocumentStyles(e,t),loadDocumentLinks(e,t).then((function(){updateGlobalScopes(t)}))}function startWatcher(e,t){"undefined"!=typeof MutationObserver&&new MutationObserver((function(){loadDocumentStyles(e,t)&&updateGlobalScopes(t)})).observe(document.head,{childList:!0})}function loadDocumentLinks(e,t){for(var r=[],n=e.querySelectorAll('link[rel="stylesheet"][href]:not([data-no-shim])'),s=0;s<n.length;s++)r.push(addGlobalLink(e,t,n[s]));return Promise.all(r)}function loadDocumentStyles(e,t){return Array.from(e.querySelectorAll("style:not([data-styles]):not([data-no-shim])")).map((function(e){return addGlobalStyle(t,e)})).some(Boolean)}function addGlobalLink(e,t,r){var n=r.href;return fetch(n).then((function(e){return e.text()})).then((function(s){if(hasCssVariables(s)&&r.parentNode){hasRelativeUrls(s)&&(s=fixRelativeUrls(s,n));var o=e.createElement("style");o.setAttribute("data-styles",""),o.textContent=s,addGlobalStyle(t,o),r.parentNode.insertBefore(o,r),r.remove()}})).catch((function(e){console.error(e)}))}var CSS_VARIABLE_REGEXP=/[\s;{]--[-a-zA-Z0-9]+\s*:/m;function hasCssVariables(e){return e.indexOf("var(")>-1||CSS_VARIABLE_REGEXP.test(e)}var CSS_URL_REGEXP=/url[\s]*\([\s]*['"]?(?!(?:https?|data)\:|\/)([^\'\"\)]*)[\s]*['"]?\)[\s]*/gim;function hasRelativeUrls(e){return CSS_URL_REGEXP.lastIndex=0,CSS_URL_REGEXP.test(e)}function fixRelativeUrls(e,t){var r=t.replace(/[^/]*$/,"");return e.replace(CSS_URL_REGEXP,(function(e,t){var n=r+t;return e.replace(t,n)}))}var CustomStyle=function(){function e(e,t){this.win=e,this.doc=t,this.count=0,this.hostStyleMap=new WeakMap,this.hostScopeMap=new WeakMap,this.globalScopes=[],this.scopesMap=new Map,this.didInit=!1}return e.prototype.i=function(){var e=this;return this.didInit||!this.win.requestAnimationFrame?Promise.resolve():(this.didInit=!0,new Promise((function(t){e.win.requestAnimationFrame((function(){startWatcher(e.doc,e.globalScopes),loadDocument(e.doc,e.globalScopes).then((function(){return t()}))}))})))},e.prototype.addLink=function(e){var t=this;return addGlobalLink(this.doc,this.globalScopes,e).then((function(){t.updateGlobal()}))},e.prototype.addGlobalStyle=function(e){addGlobalStyle(this.globalScopes,e)&&this.updateGlobal()},e.prototype.createHostStyle=function(e,t,r,n){if(this.hostScopeMap.has(e))throw new Error("host style already created");var s=this.registerHostTemplate(r,t,n),o=this.doc.createElement("style");return o.setAttribute("data-no-shim",""),s.usesCssVars?n?(o["s-sc"]=t="".concat(s.scopeId,"-").concat(this.count),o.textContent="/*needs update*/",this.hostStyleMap.set(e,o),this.hostScopeMap.set(e,reScope(s,t)),this.count++):(s.styleEl=o,s.usesCssVars||(o.textContent=executeTemplate(s.template,{})),this.globalScopes.push(s),this.updateGlobal(),this.hostScopeMap.set(e,s)):o.textContent=r,o},e.prototype.removeHost=function(e){var t=this.hostStyleMap.get(e);t&&t.remove(),this.hostStyleMap.delete(e),this.hostScopeMap.delete(e)},e.prototype.updateHost=function(e){var t=this.hostScopeMap.get(e);if(t&&t.usesCssVars&&t.isScoped){var r=this.hostStyleMap.get(e);if(r){var n=resolveValues(getActiveSelectors(e,this.hostScopeMap,this.globalScopes));r.textContent=executeTemplate(t.template,n)}}},e.prototype.updateGlobal=function(){updateGlobalScopes(this.globalScopes)},e.prototype.registerHostTemplate=function(e,t,r){var n=this.scopesMap.get(t);return n||((n=parseCSS(e)).scopeId=t,n.isScoped=r,this.scopesMap.set(t,n)),n},e}();!function(e){!e||e.__cssshim||e.CSS&&e.CSS.supports&&e.CSS.supports("color","var(--c)")||(e.__cssshim=new CustomStyle(e,e.document))}("undefined"!=typeof window&&window);
@@ -0,0 +1,2 @@
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 i(e){try{l(r.next(e))}catch(e){o(e)}}function s(e){try{l(r["throw"](e))}catch(e){o(e)}}function l(e){e.done?n(e.value):a(e.value).then(i,s)}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,i;return i={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(i[Symbol.iterator]=function(){return this}),i;function s(e){return function(t){return l([e,t])}}function l(s){if(r)throw new TypeError("Generator is already executing.");while(i&&(i=0,s[0]&&(n=0)),n)try{if(r=1,a&&(o=s[0]&2?a["return"]:s[0]?a["throw"]||((o=a["return"])&&o.call(a),0):a.next)&&!(o=o.call(a,s[1])).done)return o;if(a=0,o)s=[s[0]&2,o.value];switch(s[0]){case 0:case 1:o=s;break;case 4:n.label++;return{value:s[1],done:false};case 5:n.label++;a=s[1];s=[0];continue;case 7:s=n.ops.pop();n.trys.pop();continue;default:if(!(o=n.trys,o=o.length>0&&o[o.length-1])&&(s[0]===6||s[0]===2)){n=0;continue}if(s[0]===3&&(!o||s[1]>o[0]&&s[1]<o[3])){n.label=s[1];break}if(s[0]===6&&n.label<o[1]){n.label=o[1];o=s;break}if(o&&n.label<o[2]){n.label=o[2];n.ops.push(s);break}if(o[2])n.ops.pop();n.trys.pop();continue}s=t.call(e,n)}catch(e){s=[6,e];a=0}finally{r=o=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(e,t,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-list";var scopeId;var hostTagName;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 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 i=false;var s=[];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&&i){s[s.length-1].$text$+=a}else{s.push(o?newVNode(null,a):a)}i=o}}};l(n);var c=newVNode(e,null);c.$attrs$=t;if(s.length>0){c.$children$=s}return c};var newVNode=function(e,t){var n={$flags$:0,$tag$:e,$text$:t,$elm$:null,$children$:null};return n};var Host={};var isHost=function(e){return e&&e.$tag$===Host};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,r){var a;var o=getScopeId(t);var i=styles.get(o);e=e.nodeType===11?e:doc;if(i){if(typeof i==="string"){e=e.head||e;var s=rootAppliedStyles.get(e);var l=void 0;if(!s){rootAppliedStyles.set(e,s=new Set)}if(!s.has(o)){{{l=doc.createElement("style");l.innerHTML=i}var c=(a=plt.$nonce$)!==null&&a!==void 0?a:queryNonceMetaTagContent(doc);if(c!=null){l.setAttribute("nonce",c)}e.insertBefore(l,e.querySelector("link"))}if(s){s.add(o)}}}else if(!e.adoptedStyleSheets.includes(i)){e.adoptedStyleSheets=__spreadArray(__spreadArray([],e.adoptedStyleSheets,true),[i],false)}}return o};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 createElm=function(e,t,n,r){var a=t.$children$[n];var o=0;var i;var s;{i=a.$elm$=doc.createElement(a.$tag$);if(isDef(scopeId)&&i["s-si"]!==scopeId){i.classList.add(i["s-si"]=scopeId)}if(a.$children$){for(o=0;o<a.$children$.length;++o){s=createElm(e,a,o);if(s){i.appendChild(s)}}}}return i};var addVnodes=function(e,t,n,r,a,o){var i=e;var s;if(i.shadowRoot&&i.tagName===hostTagName){i=i.shadowRoot}for(;a<=o;++a){if(r[a]){s=createElm(null,n,a);if(s){r[a].$elm$=s;i.insertBefore(s,t)}}}};var patch=function(e,t){var n=t.$elm$=e.$elm$;var r=t.$children$;{if(r!==null){addVnodes(n,null,t,r,0,r.length-1)}else;}};var renderVdom=function(e,t){var n=e.$hostElement$;var r=e.$vnode$||newVNode(null,null);var a=isHost(t)?t:h(null,null,t);hostTagName=n.tagName;a.$tag$=null;a.$flags$|=4;e.$vnode$=a;a.$elm$=r.$elm$=n.shadowRoot||n;{scopeId=n["s-sc"]}patch(r,a)};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){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;n();return then(a,(function(){return updateComponent(e,r,t)}))};var updateComponent=function(e,t,n){return __awaiter(void 0,void 0,void 0,(function(){var r,a,o,i,s,l;return __generator(this,(function(c){r=e.$hostElement$;a=createTime("update",e.$cmpMeta$.$tagName$);o=r["s-rc"];if(n){attachStyles(e)}i=createTime("render",e.$cmpMeta$.$tagName$);{callRender(e,t)}if(o){o.map((function(e){return e()}));r["s-rc"]=undefined}i();a();{s=r["s-p"];l=function(){return postUpdateComponent(e)};if(s.length===0){l()}else{Promise.all(s).then(l);e.$flags$|=4;s.length=0}}return[2]}))}))};var callRender=function(e,t,n){try{t=t.render();{e.$flags$|=2}{{{renderVdom(e,t)}}}}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 then=function(e,t){return e&&e.then?e.then(t):t()};var addHydratedFlag=function(e){return e.setAttribute("hydrated","")};var proxyComponent=function(e,t,n){return e};var initializeComponent=function(e,t,n,r,a){return __awaiter(void 0,void 0,void 0,(function(){var e,r,o,i,s,l,c;return __generator(this,(function(u){switch(u.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=u.sent();e();u.label=2;case 2:r=createTime("createInstance",n.$tagName$);try{new a(t)}catch(e){consoleError(e)}r();if(a.style){o=a.style;i=getScopeId(n);if(!styles.has(i)){s=createTime("registerStyles",n.$tagName$);registerStyle(i,o,!!(n.$flags$&1));s()}}u.label=3;case 3:l=t.$ancestorComponent$;c=function(){return scheduleUpdate(t,true)};if(l&&l["s-rc"]){l["s-rc"].push(c)}else{c()}return[2]}}))}))};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}}}{initializeComponent(e,t,n)}}r()}};var disconnectedCallback=function(e){if((plt.$flags$&1)===0){getHostRef(e)}};var bootstrapLazy=function(e,t){if(t===void 0){t={}}var n;var r=createTime();var a=[];var o=t.exclude||[];var i=win.customElements;var s=doc.head;var l=s.querySelector("meta[charset]");var c=doc.createElement("style");var u=[];var f;var d=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={$flags$:t[0],$tagName$:t[1],$members$:t[2],$listeners$:t[3]};var r=n.$tagName$;var s=function(e){__extends(t,e);function t(t){var r=e.call(this,t)||this;t=r;registerHost(t,n);if(n.$flags$&1){{{t.attachShadow({mode:"open"})}}}return r}t.prototype.connectedCallback=function(){var e=this;if(f){clearTimeout(f);f=null}if(d){u.push(this)}else{plt.jmp((function(){return connectedCallback(e)}))}};t.prototype.disconnectedCallback=function(){var e=this;plt.jmp((function(){return disconnectedCallback(e)}))};t.prototype.componentOnReady=function(){return getHostRef(this).$onReadyPromise$};return t}(HTMLElement);n.$lazyBundleId$=e[0];if(!o.includes(r)&&!i.get(r)){a.push(r);i.define(r,proxyComponent(s))}}))}));{c.innerHTML=a+HYDRATED_CSS;c.setAttribute("data-styles","");var $=(n=plt.$nonce$)!==null&&n!==void 0?n:queryNonceMetaTagContent(doc);if($!=null){c.setAttribute("nonce",$)}s.insertBefore(c,l?l.nextSibling:s.firstChild)}d=false;if(u.length){u.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 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,h,promiseResolve as p,registerInstance as r,setNonce as s};
@@ -1 +1 @@
1
- import{p as promiseResolve,b as bootstrapLazy}from"./index-0497c2b2.js";var patchEsm=function(){return promiseResolve()};var defineCustomElements=function(e,t){if(typeof window==="undefined")return Promise.resolve();return patchEsm().then((function(){return bootstrapLazy([["mds-list",[[1,"mds-list"]]]],t)}))};export{defineCustomElements};
1
+ import{p as promiseResolve,b as bootstrapLazy}from"./index-35c9c7b9.js";export{s as setNonce}from"./index-35c9c7b9.js";var patchEsm=function(){return promiseResolve()};var defineCustomElements=function(e,s){if(typeof window==="undefined")return Promise.resolve();return patchEsm().then((function(){return bootstrapLazy([["mds-list",[[1,"mds-list"]]]],s)}))};export{defineCustomElements};
@@ -1 +1 @@
1
- import{r as registerInstance,h,H as Host}from"./index-0497c2b2.js";var mdsListCss=".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{display:grid;gap:1rem;padding-left:1rem}ul{margin:0px;padding:0px}";var MdsList=function(){function s(s){registerInstance(this,s)}s.prototype.render=function(){return h(Host,null,h("slot",null))};return s}();MdsList.style=mdsListCss;export{MdsList as mds_list};
1
+ import{r as registerInstance,h,H as Host}from"./index-35c9c7b9.js";var mdsListCss=".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{display:grid;gap:1rem;padding-left:1rem}ul{margin:0px;padding:0px}";var MdsList=function(){function s(s){registerInstance(this,s)}s.prototype.render=function(){return h(Host,null,h("slot",null))};return s}();MdsList.style=mdsListCss;export{MdsList as mds_list};
@@ -1 +1 @@
1
- import{p as promiseResolve,b as bootstrapLazy}from"./index-0497c2b2.js";var patchBrowser=function(){var r=import.meta.url;var e={};if(r!==""){e.resourcesUrl=new URL(".",r).href}return promiseResolve(e)};patchBrowser().then((function(r){return bootstrapLazy([["mds-list",[[1,"mds-list"]]]],r)}));
1
+ import{p as promiseResolve,b as bootstrapLazy}from"./index-35c9c7b9.js";export{s as setNonce}from"./index-35c9c7b9.js";var patchBrowser=function(){var r=import.meta.url;var e={};if(r!==""){e.resourcesUrl=new URL(".",r).href}return promiseResolve(e)};patchBrowser().then((function(r){return bootstrapLazy([["mds-list",[[1,"mds-list"]]]],r)}));