@maggioli-design-system/mds-accordion-timer 3.6.2 → 3.6.4

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 (37) hide show
  1. package/dist/cjs/{index-2cfccbaa.js → index-c7a5e0c6.js} +22 -14
  2. package/dist/cjs/loader.cjs.js +1 -1
  3. package/dist/cjs/mds-accordion-timer.cjs.entry.js +1 -1
  4. package/dist/cjs/mds-accordion-timer.cjs.js +2 -2
  5. package/dist/collection/collection-manifest.json +1 -1
  6. package/dist/documentation.d.ts +1 -21
  7. package/dist/documentation.json +2 -2
  8. package/dist/esm/{index-df0a164e.js → index-05afffb2.js} +22 -14
  9. package/dist/esm/loader.js +2 -2
  10. package/dist/esm/mds-accordion-timer.entry.js +1 -1
  11. package/dist/esm/mds-accordion-timer.js +3 -3
  12. package/dist/esm-es5/index-05afffb2.js +1 -0
  13. package/dist/esm-es5/loader.js +1 -1
  14. package/dist/esm-es5/mds-accordion-timer.entry.js +1 -1
  15. package/dist/esm-es5/mds-accordion-timer.js +1 -1
  16. package/dist/mds-accordion-timer/mds-accordion-timer.esm.js +1 -1
  17. package/dist/mds-accordion-timer/mds-accordion-timer.js +1 -1
  18. package/dist/mds-accordion-timer/{p-e57978cc.entry.js → p-25b4e062.entry.js} +1 -1
  19. package/{www/build/p-09cc1589.system.entry.js → dist/mds-accordion-timer/p-8a701c9c.system.entry.js} +1 -1
  20. package/dist/mds-accordion-timer/p-ba38686d.system.js +2 -0
  21. package/dist/mds-accordion-timer/p-d3af5915.js +2 -0
  22. package/dist/mds-accordion-timer/{p-8dd76b31.system.js → p-d589761b.system.js} +1 -1
  23. package/dist/stats.json +31 -28
  24. package/documentation.json +2 -2
  25. package/package.json +4 -4
  26. package/www/build/mds-accordion-timer.esm.js +1 -1
  27. package/www/build/mds-accordion-timer.js +1 -1
  28. package/www/build/{p-e57978cc.entry.js → p-25b4e062.entry.js} +1 -1
  29. package/{dist/mds-accordion-timer/p-09cc1589.system.entry.js → www/build/p-8a701c9c.system.entry.js} +1 -1
  30. package/www/build/p-ba38686d.system.js +2 -0
  31. package/www/build/p-d3af5915.js +2 -0
  32. package/www/build/{p-8dd76b31.system.js → p-d589761b.system.js} +1 -1
  33. package/dist/esm-es5/index-df0a164e.js +0 -1
  34. package/dist/mds-accordion-timer/p-0da95646.system.js +0 -2
  35. package/dist/mds-accordion-timer/p-36be1c3e.js +0 -2
  36. package/www/build/p-0da95646.system.js +0 -2
  37. package/www/build/p-36be1c3e.js +0 -2
@@ -328,6 +328,9 @@ const createElm = (oldParentVNode, newParentVNode, childIndex, parentElm) => {
328
328
  }
329
329
  }
330
330
  }
331
+ // This needs to always happen so we can hide nodes that are projected
332
+ // to another component but don't end up in a slot
333
+ elm['s-hn'] = hostTagName;
331
334
  return elm;
332
335
  };
333
336
  /**
@@ -451,8 +454,9 @@ const removeVnodes = (vnodes, startIdx, endIdx) => {
451
454
  * @param oldCh the old children of the parent node
452
455
  * @param newVNode the new VNode which will replace the parent
453
456
  * @param newCh the new children of the parent node
457
+ * @param isInitialRender whether or not this is the first render of the vdom
454
458
  */
455
- const updateChildren = (parentElm, oldCh, newVNode, newCh) => {
459
+ const updateChildren = (parentElm, oldCh, newVNode, newCh, isInitialRender = false) => {
456
460
  let oldStartIdx = 0;
457
461
  let newStartIdx = 0;
458
462
  let oldEndIdx = oldCh.length - 1;
@@ -476,25 +480,25 @@ const updateChildren = (parentElm, oldCh, newVNode, newCh) => {
476
480
  else if (newEndVnode == null) {
477
481
  newEndVnode = newCh[--newEndIdx];
478
482
  }
479
- else if (isSameVnode(oldStartVnode, newStartVnode)) {
483
+ else if (isSameVnode(oldStartVnode, newStartVnode, isInitialRender)) {
480
484
  // if the start nodes are the same then we should patch the new VNode
481
485
  // onto the old one, and increment our `newStartIdx` and `oldStartIdx`
482
486
  // indices to reflect that. We don't need to move any DOM Nodes around
483
487
  // since things are matched up in order.
484
- patch(oldStartVnode, newStartVnode);
488
+ patch(oldStartVnode, newStartVnode, isInitialRender);
485
489
  oldStartVnode = oldCh[++oldStartIdx];
486
490
  newStartVnode = newCh[++newStartIdx];
487
491
  }
488
- else if (isSameVnode(oldEndVnode, newEndVnode)) {
492
+ else if (isSameVnode(oldEndVnode, newEndVnode, isInitialRender)) {
489
493
  // likewise, if the end nodes are the same we patch new onto old and
490
494
  // decrement our end indices, and also likewise in this case we don't
491
495
  // need to move any DOM Nodes.
492
- patch(oldEndVnode, newEndVnode);
496
+ patch(oldEndVnode, newEndVnode, isInitialRender);
493
497
  oldEndVnode = oldCh[--oldEndIdx];
494
498
  newEndVnode = newCh[--newEndIdx];
495
499
  }
496
- else if (isSameVnode(oldStartVnode, newEndVnode)) {
497
- patch(oldStartVnode, newEndVnode);
500
+ else if (isSameVnode(oldStartVnode, newEndVnode, isInitialRender)) {
501
+ patch(oldStartVnode, newEndVnode, isInitialRender);
498
502
  // We need to move the element for `oldStartVnode` into a position which
499
503
  // will be appropriate for `newEndVnode`. For this we can use
500
504
  // `.insertBefore` and `oldEndVnode.$elm$.nextSibling`. If there is a
@@ -516,8 +520,8 @@ const updateChildren = (parentElm, oldCh, newVNode, newCh) => {
516
520
  oldStartVnode = oldCh[++oldStartIdx];
517
521
  newEndVnode = newCh[--newEndIdx];
518
522
  }
519
- else if (isSameVnode(oldEndVnode, newStartVnode)) {
520
- patch(oldEndVnode, newStartVnode);
523
+ else if (isSameVnode(oldEndVnode, newStartVnode, isInitialRender)) {
524
+ patch(oldEndVnode, newStartVnode, isInitialRender);
521
525
  // We've already checked above if `oldStartVnode` and `newStartVnode` are
522
526
  // the same node, so since we're here we know that they are not. Thus we
523
527
  // can move the element for `oldEndVnode` _before_ the element for
@@ -571,9 +575,10 @@ const updateChildren = (parentElm, oldCh, newVNode, newCh) => {
571
575
  *
572
576
  * @param leftVNode the first VNode to check
573
577
  * @param rightVNode the second VNode to check
578
+ * @param isInitialRender whether or not this is the first render of the vdom
574
579
  * @returns whether they're equal or not
575
580
  */
576
- const isSameVnode = (leftVNode, rightVNode) => {
581
+ const isSameVnode = (leftVNode, rightVNode, isInitialRender = false) => {
577
582
  // compare if two vnode to see if they're "technically" the same
578
583
  // need to have the same element tag, and same key to be the same
579
584
  if (leftVNode.$tag$ === rightVNode.$tag$) {
@@ -588,8 +593,9 @@ const isSameVnode = (leftVNode, rightVNode) => {
588
593
  *
589
594
  * @param oldVNode an old VNode whose DOM element and children we want to update
590
595
  * @param newVNode a new VNode representing an updated version of the old one
596
+ * @param isInitialRender whether or not this is the first render of the vdom
591
597
  */
592
- const patch = (oldVNode, newVNode) => {
598
+ const patch = (oldVNode, newVNode, isInitialRender = false) => {
593
599
  const elm = (newVNode.$elm$ = oldVNode.$elm$);
594
600
  const oldChildren = oldVNode.$children$;
595
601
  const newChildren = newVNode.$children$;
@@ -597,7 +603,7 @@ const patch = (oldVNode, newVNode) => {
597
603
  if (oldChildren !== null && newChildren !== null) {
598
604
  // looks like there's child vnodes for both the old and new vnodes
599
605
  // so we need to call `updateChildren` to reconcile them
600
- updateChildren(elm, oldChildren, newVNode, newChildren);
606
+ updateChildren(elm, oldChildren, newVNode, newChildren, isInitialRender);
601
607
  }
602
608
  else if (newChildren !== null) {
603
609
  // add the new vnode children
@@ -661,7 +667,7 @@ const renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
661
667
  scopeId = hostElm['s-sc'];
662
668
  }
663
669
  // synchronous patch
664
- patch(oldVNode, rootVnode);
670
+ patch(oldVNode, rootVnode, isInitialLoad);
665
671
  };
666
672
  const attachToAncestor = (hostRef, ancestorComponent) => {
667
673
  if (ancestorComponent && !hostRef.$onRenderResolve$ && ancestorComponent['s-p']) {
@@ -1313,12 +1319,14 @@ const bootstrapLazy = (lazyBundles, options = {}) => {
1313
1319
  // If we have styles, add them to the DOM
1314
1320
  if (dataStyles.innerHTML.length) {
1315
1321
  dataStyles.setAttribute('data-styles', '');
1316
- head.insertBefore(dataStyles, metaCharset ? metaCharset.nextSibling : head.firstChild);
1317
1322
  // Apply CSP nonce to the style tag if it exists
1318
1323
  const nonce = (_a = plt.$nonce$) !== null && _a !== void 0 ? _a : queryNonceMetaTagContent(doc);
1319
1324
  if (nonce != null) {
1320
1325
  dataStyles.setAttribute('nonce', nonce);
1321
1326
  }
1327
+ // Insert the styles into the document head
1328
+ // NOTE: this _needs_ to happen last so we can ensure the nonce (and other attributes) are applied
1329
+ head.insertBefore(dataStyles, metaCharset ? metaCharset.nextSibling : head.firstChild);
1322
1330
  }
1323
1331
  // Process deferred connectedCallbacks now all components have been registered
1324
1332
  isBootstrapping = false;
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-2cfccbaa.js');
5
+ const index = require('./index-c7a5e0c6.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-2cfccbaa.js');
5
+ const index = require('./index-c7a5e0c6.js');
6
6
 
7
7
  const mdsAccordionTimerCss = ":host{--mds-accordion-timer-progress-bar-color:rgb(var(--tone-neutral-03));--mds-accordion-timer-progress-bar-background:rgb(var(--tone-neutral-08));--mds-accordion-timer-progress-bar-thickness:0.25rem;--mds-accordion-timer-duration:500ms;display:block}";
8
8
 
@@ -2,10 +2,10 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-2cfccbaa.js');
5
+ const index = require('./index-c7a5e0c6.js');
6
6
 
7
7
  /*
8
- Stencil Client Patch Browser v4.8.0 | MIT Licensed | https://stenciljs.com
8
+ Stencil Client Patch Browser v4.9.1 | 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-accordion-timer.cjs.js', document.baseURI).href));
@@ -4,7 +4,7 @@
4
4
  ],
5
5
  "compiler": {
6
6
  "name": "@stencil/core",
7
- "version": "4.8.0",
7
+ "version": "4.9.1",
8
8
  "typescriptVersion": "5.2.2"
9
9
  },
10
10
  "collections": [],
@@ -60,30 +60,10 @@ interface ComponentCompilerEventComplexType {
60
60
  }
61
61
  interface ComponentCompilerMethodComplexType {
62
62
  signature: string;
63
- parameters: CompilerJsDoc[];
63
+ parameters: JsonDocMethodParameter[];
64
64
  references: ComponentCompilerTypeReferences;
65
65
  return: string;
66
66
  }
67
- interface CompilerJsDoc {
68
- /**
69
- * The text associated with the JSDoc
70
- */
71
- text: string;
72
- /**
73
- * Tags included in the JSDoc
74
- */
75
- tags: CompilerJsDocTagInfo[];
76
- }
77
- interface CompilerJsDocTagInfo {
78
- /**
79
- * The name of the tag - e.g. `@deprecated`
80
- */
81
- name: string;
82
- /**
83
- * Additional text that is associated with the tag - e.g. `@deprecated use v2 of this API`
84
- */
85
- text?: string;
86
- }
87
67
  /**
88
68
  * The Type Library holds information about the types which are used in a
89
69
  * Stencil project. During compilation, Stencil gathers information about the
@@ -1,8 +1,8 @@
1
1
  {
2
- "timestamp": "2023-12-20T08:46:16",
2
+ "timestamp": "2024-01-10T08:22:23",
3
3
  "compiler": {
4
4
  "name": "@stencil/core",
5
- "version": "4.8.0",
5
+ "version": "4.9.1",
6
6
  "typescriptVersion": "5.2.2"
7
7
  },
8
8
  "components": [
@@ -306,6 +306,9 @@ const createElm = (oldParentVNode, newParentVNode, childIndex, parentElm) => {
306
306
  }
307
307
  }
308
308
  }
309
+ // This needs to always happen so we can hide nodes that are projected
310
+ // to another component but don't end up in a slot
311
+ elm['s-hn'] = hostTagName;
309
312
  return elm;
310
313
  };
311
314
  /**
@@ -429,8 +432,9 @@ const removeVnodes = (vnodes, startIdx, endIdx) => {
429
432
  * @param oldCh the old children of the parent node
430
433
  * @param newVNode the new VNode which will replace the parent
431
434
  * @param newCh the new children of the parent node
435
+ * @param isInitialRender whether or not this is the first render of the vdom
432
436
  */
433
- const updateChildren = (parentElm, oldCh, newVNode, newCh) => {
437
+ const updateChildren = (parentElm, oldCh, newVNode, newCh, isInitialRender = false) => {
434
438
  let oldStartIdx = 0;
435
439
  let newStartIdx = 0;
436
440
  let oldEndIdx = oldCh.length - 1;
@@ -454,25 +458,25 @@ const updateChildren = (parentElm, oldCh, newVNode, newCh) => {
454
458
  else if (newEndVnode == null) {
455
459
  newEndVnode = newCh[--newEndIdx];
456
460
  }
457
- else if (isSameVnode(oldStartVnode, newStartVnode)) {
461
+ else if (isSameVnode(oldStartVnode, newStartVnode, isInitialRender)) {
458
462
  // if the start nodes are the same then we should patch the new VNode
459
463
  // onto the old one, and increment our `newStartIdx` and `oldStartIdx`
460
464
  // indices to reflect that. We don't need to move any DOM Nodes around
461
465
  // since things are matched up in order.
462
- patch(oldStartVnode, newStartVnode);
466
+ patch(oldStartVnode, newStartVnode, isInitialRender);
463
467
  oldStartVnode = oldCh[++oldStartIdx];
464
468
  newStartVnode = newCh[++newStartIdx];
465
469
  }
466
- else if (isSameVnode(oldEndVnode, newEndVnode)) {
470
+ else if (isSameVnode(oldEndVnode, newEndVnode, isInitialRender)) {
467
471
  // likewise, if the end nodes are the same we patch new onto old and
468
472
  // decrement our end indices, and also likewise in this case we don't
469
473
  // need to move any DOM Nodes.
470
- patch(oldEndVnode, newEndVnode);
474
+ patch(oldEndVnode, newEndVnode, isInitialRender);
471
475
  oldEndVnode = oldCh[--oldEndIdx];
472
476
  newEndVnode = newCh[--newEndIdx];
473
477
  }
474
- else if (isSameVnode(oldStartVnode, newEndVnode)) {
475
- patch(oldStartVnode, newEndVnode);
478
+ else if (isSameVnode(oldStartVnode, newEndVnode, isInitialRender)) {
479
+ patch(oldStartVnode, newEndVnode, isInitialRender);
476
480
  // We need to move the element for `oldStartVnode` into a position which
477
481
  // will be appropriate for `newEndVnode`. For this we can use
478
482
  // `.insertBefore` and `oldEndVnode.$elm$.nextSibling`. If there is a
@@ -494,8 +498,8 @@ const updateChildren = (parentElm, oldCh, newVNode, newCh) => {
494
498
  oldStartVnode = oldCh[++oldStartIdx];
495
499
  newEndVnode = newCh[--newEndIdx];
496
500
  }
497
- else if (isSameVnode(oldEndVnode, newStartVnode)) {
498
- patch(oldEndVnode, newStartVnode);
501
+ else if (isSameVnode(oldEndVnode, newStartVnode, isInitialRender)) {
502
+ patch(oldEndVnode, newStartVnode, isInitialRender);
499
503
  // We've already checked above if `oldStartVnode` and `newStartVnode` are
500
504
  // the same node, so since we're here we know that they are not. Thus we
501
505
  // can move the element for `oldEndVnode` _before_ the element for
@@ -549,9 +553,10 @@ const updateChildren = (parentElm, oldCh, newVNode, newCh) => {
549
553
  *
550
554
  * @param leftVNode the first VNode to check
551
555
  * @param rightVNode the second VNode to check
556
+ * @param isInitialRender whether or not this is the first render of the vdom
552
557
  * @returns whether they're equal or not
553
558
  */
554
- const isSameVnode = (leftVNode, rightVNode) => {
559
+ const isSameVnode = (leftVNode, rightVNode, isInitialRender = false) => {
555
560
  // compare if two vnode to see if they're "technically" the same
556
561
  // need to have the same element tag, and same key to be the same
557
562
  if (leftVNode.$tag$ === rightVNode.$tag$) {
@@ -566,8 +571,9 @@ const isSameVnode = (leftVNode, rightVNode) => {
566
571
  *
567
572
  * @param oldVNode an old VNode whose DOM element and children we want to update
568
573
  * @param newVNode a new VNode representing an updated version of the old one
574
+ * @param isInitialRender whether or not this is the first render of the vdom
569
575
  */
570
- const patch = (oldVNode, newVNode) => {
576
+ const patch = (oldVNode, newVNode, isInitialRender = false) => {
571
577
  const elm = (newVNode.$elm$ = oldVNode.$elm$);
572
578
  const oldChildren = oldVNode.$children$;
573
579
  const newChildren = newVNode.$children$;
@@ -575,7 +581,7 @@ const patch = (oldVNode, newVNode) => {
575
581
  if (oldChildren !== null && newChildren !== null) {
576
582
  // looks like there's child vnodes for both the old and new vnodes
577
583
  // so we need to call `updateChildren` to reconcile them
578
- updateChildren(elm, oldChildren, newVNode, newChildren);
584
+ updateChildren(elm, oldChildren, newVNode, newChildren, isInitialRender);
579
585
  }
580
586
  else if (newChildren !== null) {
581
587
  // add the new vnode children
@@ -639,7 +645,7 @@ const renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
639
645
  scopeId = hostElm['s-sc'];
640
646
  }
641
647
  // synchronous patch
642
- patch(oldVNode, rootVnode);
648
+ patch(oldVNode, rootVnode, isInitialLoad);
643
649
  };
644
650
  const attachToAncestor = (hostRef, ancestorComponent) => {
645
651
  if (ancestorComponent && !hostRef.$onRenderResolve$ && ancestorComponent['s-p']) {
@@ -1291,12 +1297,14 @@ const bootstrapLazy = (lazyBundles, options = {}) => {
1291
1297
  // If we have styles, add them to the DOM
1292
1298
  if (dataStyles.innerHTML.length) {
1293
1299
  dataStyles.setAttribute('data-styles', '');
1294
- head.insertBefore(dataStyles, metaCharset ? metaCharset.nextSibling : head.firstChild);
1295
1300
  // Apply CSP nonce to the style tag if it exists
1296
1301
  const nonce = (_a = plt.$nonce$) !== null && _a !== void 0 ? _a : queryNonceMetaTagContent(doc);
1297
1302
  if (nonce != null) {
1298
1303
  dataStyles.setAttribute('nonce', nonce);
1299
1304
  }
1305
+ // Insert the styles into the document head
1306
+ // NOTE: this _needs_ to happen last so we can ensure the nonce (and other attributes) are applied
1307
+ head.insertBefore(dataStyles, metaCharset ? metaCharset.nextSibling : head.firstChild);
1300
1308
  }
1301
1309
  // Process deferred connectedCallbacks now all components have been registered
1302
1310
  isBootstrapping = false;
@@ -1,5 +1,5 @@
1
- import { b as bootstrapLazy } from './index-df0a164e.js';
2
- export { s as setNonce } from './index-df0a164e.js';
1
+ import { b as bootstrapLazy } from './index-05afffb2.js';
2
+ export { s as setNonce } from './index-05afffb2.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, c as createEvent, h, H as Host, g as getElement } from './index-df0a164e.js';
1
+ import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-05afffb2.js';
2
2
 
3
3
  const mdsAccordionTimerCss = ":host{--mds-accordion-timer-progress-bar-color:rgb(var(--tone-neutral-03));--mds-accordion-timer-progress-bar-background:rgb(var(--tone-neutral-08));--mds-accordion-timer-progress-bar-thickness:0.25rem;--mds-accordion-timer-duration:500ms;display:block}";
4
4
 
@@ -1,8 +1,8 @@
1
- import { p as promiseResolve, b as bootstrapLazy } from './index-df0a164e.js';
2
- export { s as setNonce } from './index-df0a164e.js';
1
+ import { p as promiseResolve, b as bootstrapLazy } from './index-05afffb2.js';
2
+ export { s as setNonce } from './index-05afffb2.js';
3
3
 
4
4
  /*
5
- Stencil Client Patch Browser v4.8.0 | MIT Licensed | https://stenciljs.com
5
+ Stencil Client Patch Browser v4.9.1 | 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(n,r){e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,n){e.__proto__=n}||function(e,n){for(var r in n)if(Object.prototype.hasOwnProperty.call(n,r))e[r]=n[r]};return e(n,r)};return function(n,r){if(typeof r!=="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");e(n,r);function t(){this.constructor=n}n.prototype=r===null?Object.create(r):(t.prototype=r.prototype,new t)}}();var __awaiter=this&&this.__awaiter||function(e,n,r,t){function a(e){return e instanceof r?e:new r((function(n){n(e)}))}return new(r||(r=Promise))((function(r,i){function o(e){try{f(t.next(e))}catch(e){i(e)}}function u(e){try{f(t["throw"](e))}catch(e){i(e)}}function f(e){e.done?r(e.value):a(e.value).then(o,u)}f((t=t.apply(e,n||[])).next())}))};var __generator=this&&this.__generator||function(e,n){var r={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(n){return f([e,n])}}function f(u){if(t)throw new TypeError("Generator is already executing.");while(o&&(o=0,u[0]&&(r=0)),r)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:r.label++;return{value:u[1],done:false};case 5:r.label++;a=u[1];u=[0];continue;case 7:u=r.ops.pop();r.trys.pop();continue;default:if(!(i=r.trys,i=i.length>0&&i[i.length-1])&&(u[0]===6||u[0]===2)){r=0;continue}if(u[0]===3&&(!i||u[1]>i[0]&&u[1]<i[3])){r.label=u[1];break}if(u[0]===6&&r.label<i[1]){r.label=i[1];i=u;break}if(i&&r.label<i[2]){r.label=i[2];r.ops.push(u);break}if(i[2])r.ops.pop();r.trys.pop();continue}u=n.call(e,r)}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,n,r){if(r||arguments.length===2)for(var t=0,a=n.length,i;t<a;t++){if(i||!(t in n)){if(!i)i=Array.prototype.slice.call(n,0,t);i[t]=n[t]}}return e.concat(i||Array.prototype.slice.call(n))};var NAMESPACE="mds-accordion-timer";var scopeId;var hostTagName;var queuePending=false;var createTime=function(e,n){if(n===void 0){n=""}{return function(){return}}};var uniqueTime=function(e,n){{return function(){return}}};var HYDRATED_CSS="{visibility:hidden}[hydrated]{visibility:inherit}";var SLOT_FB_CSS="slot-fb{display:contents}slot-fb[hidden]{display:none}";var isDef=function(e){return e!=null};var isComplexType=function(e){e=typeof e;return e==="object"||e==="function"};function queryNonceMetaTagContent(e){var n,r,t;return(t=(r=(n=e.head)===null||n===void 0?void 0:n.querySelector('meta[name="csp-nonce"]'))===null||r===void 0?void 0:r.getAttribute("content"))!==null&&t!==void 0?t:undefined}var h=function(e,n){var r=[];for(var t=2;t<arguments.length;t++){r[t-2]=arguments[t]}var a=null;var i=false;var o=false;var u=[];var f=function(n){for(var r=0;r<n.length;r++){a=n[r];if(Array.isArray(a)){f(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}}};f(r);var c=newVNode(e,null);c.i=n;if(u.length>0){c.o=u}return c};var newVNode=function(e,n){var r={u:0,l:e,t:n,v:null,o:null};return r};var Host={};var isHost=function(e){return e&&e.l===Host};var parsePropertyValue=function(e,n){if(e!=null&&!isComplexType(e)){if(n&2){return parseFloat(e)}return e}return e};var getElement=function(e){return getHostRef(e).$hostElement$};var createEvent=function(e,n,r){var t=getElement(e);return{emit:function(e){return emitEvent(t,n,{bubbles:!!(r&4),composed:!!(r&2),cancelable:!!(r&1),detail:e})}}};var emitEvent=function(e,n,r){var t=plt.ce(n,r);e.dispatchEvent(t);return t};var rootAppliedStyles=new WeakMap;var registerStyle=function(e,n,r){var t=styles.get(e);if(supportsConstructableStylesheets&&r){t=t||new CSSStyleSheet;if(typeof t==="string"){t=n}else{t.replaceSync(n)}}else{t=n}styles.set(e,t)};var addStyle=function(e,n,r){var t;var a=getScopeId(n);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 f=(t=plt.p)!==null&&t!==void 0?t:queryNonceMetaTagContent(doc);if(f!=null){u.setAttribute("nonce",f)}e.insertBefore(u,e.querySelector("link"))}if(n.u&4){u.innerHTML+=SLOT_FB_CSS}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 n=e.m;var r=e.$hostElement$;var t=n.u;var a=createTime("attachStyles",n.h);var i=addStyle(r.shadowRoot?r.shadowRoot:r.getRootNode(),n);if(t&10){r["s-sc"]=i;r.classList.add(i+"-h")}a()};var getScopeId=function(e,n){return"sc-"+e.h};var createElm=function(e,n,r,t){var a=n.o[r];var i=0;var o;var u;{o=a.v=doc.createElement(a.l);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)}}}}o["s-hn"]=hostTagName;return o};var addVnodes=function(e,n,r,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,r,a);if(u){t[a].v=u;o.insertBefore(u,n)}}}};var removeVnodes=function(e,n,r){for(var t=n;t<=r;++t){var a=e[t];if(a){var i=a.v;if(i){i.remove()}}}};var updateChildren=function(e,n,r,t,a){if(a===void 0){a=false}var i=0;var o=0;var u=n.length-1;var f=n[0];var c=n[u];var s=t.length-1;var l=t[0];var v=t[s];var d;while(i<=u&&o<=s){if(f==null){f=n[++i]}else if(c==null){c=n[--u]}else if(l==null){l=t[++o]}else if(v==null){v=t[--s]}else if(isSameVnode(f,l,a)){patch(f,l,a);f=n[++i];l=t[++o]}else if(isSameVnode(c,v,a)){patch(c,v,a);c=n[--u];v=t[--s]}else if(isSameVnode(f,v,a)){patch(f,v,a);e.insertBefore(f.v,c.v.nextSibling);f=n[++i];v=t[--s]}else if(isSameVnode(c,l,a)){patch(c,l,a);e.insertBefore(c.v,f.v);c=n[--u];l=t[++o]}else{{d=createElm(n&&n[o],r,o);l=t[++o]}if(d){{f.v.parentNode.insertBefore(d,f.v)}}}}if(i>u){addVnodes(e,t[s+1]==null?null:t[s+1].v,r,t,o,s)}else if(o>s){removeVnodes(n,i,u)}};var isSameVnode=function(e,n,r){if(r===void 0){r=false}if(e.l===n.l){return true}return false};var patch=function(e,n,r){if(r===void 0){r=false}var t=n.v=e.v;var a=e.o;var i=n.o;{if(a!==null&&i!==null){updateChildren(t,a,n,i,r)}else if(i!==null){addVnodes(t,null,n,i,0,i.length-1)}else if(a!==null){removeVnodes(a,0,a.length-1)}}};var renderVdom=function(e,n,r){if(r===void 0){r=false}var t=e.$hostElement$;var a=e.S||newVNode(null,null);var i=isHost(n)?n:h(null,null,n);hostTagName=t.tagName;if(r&&i.i){for(var o=0,u=Object.keys(i.i);o<u.length;o++){var f=u[o];if(t.hasAttribute(f)&&!["key","ref","style","class"].includes(f)){i.i[f]=t[f]}}}i.l=null;i.u|=4;e.S=i;i.v=a.v=t.shadowRoot||t;{scopeId=t["s-sc"]}patch(a,i,r)};var attachToAncestor=function(e,n){if(n&&!e.C&&n["s-p"]){n["s-p"].push(new Promise((function(n){return e.C=n})))}};var scheduleUpdate=function(e,n){{e.u|=16}if(e.u&4){e.u|=512;return}attachToAncestor(e,e.T);var r=function(){return dispatchHooks(e,n)};return writeTask(r)};var dispatchHooks=function(e,n){var r=createTime("scheduleUpdate",e.m.h);var t=e._;var a;if(n){{e.u|=256;if(e.$){e.$.map((function(e){var n=e[0],r=e[1];return safeCall(t,n,r)}));e.$=undefined}}}r();return enqueue(a,(function(){return updateComponent(e,t,n)}))};var enqueue=function(e,n){return isPromisey(e)?e.then(n):n()};var isPromisey=function(e){return e instanceof Promise||e&&e.then&&typeof e.then==="function"};var updateComponent=function(e,n,r){return __awaiter(void 0,void 0,void 0,(function(){var t,a,i,o,u,f,c;return __generator(this,(function(s){a=e.$hostElement$;i=createTime("update",e.m.h);o=a["s-rc"];if(r){attachStyles(e)}u=createTime("render",e.m.h);{callRender(e,n,a,r)}if(o){o.map((function(e){return e()}));a["s-rc"]=undefined}u();i();{f=(t=a["s-p"])!==null&&t!==void 0?t:[];c=function(){return postUpdateComponent(e)};if(f.length===0){c()}else{Promise.all(f).then(c);e.u|=4;f.length=0}}return[2]}))}))};var callRender=function(e,n,r,t){try{n=n.render();{e.u&=~16}{e.u|=2}{{{renderVdom(e,n,t)}}}}catch(n){consoleError(n,e.$hostElement$)}return null};var postUpdateComponent=function(e){var n=e.m.h;var r=e.$hostElement$;var t=createTime("postUpdate",n);var a=e._;var i=e.T;if(!(e.u&64)){e.u|=64;{addHydratedFlag(r)}{safeCall(a,"componentDidLoad")}t();{e.k(r);if(!i){appDidLoad()}}}else{t()}{if(e.C){e.C();e.C=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,n,r){if(e&&e[n]){try{return e[n](r)}catch(e){consoleError(e)}}return undefined};var addHydratedFlag=function(e){return e.setAttribute("hydrated","")};var getValue=function(e,n){return getHostRef(e).H.get(n)};var setValue=function(e,n,r,t){var a=getHostRef(e);var i=a.H.get(n);var o=a.u;var u=a._;r=parsePropertyValue(r,t.V[n][0]);var f=Number.isNaN(i)&&Number.isNaN(r);var c=r!==i&&!f;if((!(o&8)||i===undefined)&&c){a.H.set(n,r);if(u){if((o&(2|16))===2){scheduleUpdate(a,false)}}}};var proxyComponent=function(e,n,r){var t;var a=e.prototype;if(n.V){var i=Object.entries(n.V);i.map((function(e){var t=e[0],i=e[1][0];if(i&31||r&2&&i&32){Object.defineProperty(a,t,{get:function(){return getValue(this,t)},set:function(e){setValue(this,t,e,n)},configurable:true,enumerable:true})}}));if(r&1){var o=new Map;a.attributeChangedCallback=function(e,r,t){var i=this;plt.jmp((function(){var u;var f=o.get(e);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 c=getHostRef(i);var s=c===null||c===void 0?void 0:c.u;if(s&&!(s&8)&&s&128&&t!==r){var l=c._;var v=(u=n.A)===null||u===void 0?void 0:u[e];v===null||v===void 0?void 0:v.forEach((function(n){if(l[n]!=null){l[n].call(l,t,r,e)}}))}return}i[f]=t===null&&typeof i[f]==="boolean"?false:t}))};e.observedAttributes=Array.from(new Set(__spreadArray(__spreadArray([],Object.keys((t=n.A)!==null&&t!==void 0?t:{}),true),i.filter((function(e){var n=e[0],r=e[1];return r[0]&15})).map((function(e){var n=e[0],r=e[1];var t=r[1]||n;o.set(t,n);return t})),true)))}}return e};var initializeComponent=function(e,n,r,t){return __awaiter(void 0,void 0,void 0,(function(){var e,t,a,i,o,u,f,c;return __generator(this,(function(s){switch(s.label){case 0:if(!((n.u&32)===0))return[3,3];n.u|=32;e=loadModule(r);if(!e.then)return[3,2];t=uniqueTime();return[4,e];case 1:e=s.sent();t();s.label=2;case 2:if(!e.isProxied){proxyComponent(e,r,2);e.isProxied=true}a=createTime("createInstance",r.h);{n.u|=8}try{new e(n)}catch(e){consoleError(e)}{n.u&=~8}a();if(e.style){i=e.style;o=getScopeId(r);if(!styles.has(o)){u=createTime("registerStyles",r.h);registerStyle(o,i,!!(r.u&1));u()}}s.label=3;case 3:f=n.T;c=function(){return scheduleUpdate(n,true)};if(f&&f["s-rc"]){f["s-rc"].push(c)}else{c()}return[2]}}))}))};var fireConnectedCallback=function(e){};var connectedCallback=function(e){if((plt.u&1)===0){var n=getHostRef(e);var r=n.m;var t=createTime("connectedCallback",r.h);if(!(n.u&1)){n.u|=1;{var a=e;while(a=a.parentNode||a.host){if(a["s-p"]){attachToAncestor(n,n.T=a);break}}}if(r.V){Object.entries(r.V).map((function(n){var r=n[0],t=n[1][0];if(t&31&&e.hasOwnProperty(r)){var a=e[r];delete e[r];e[r]=a}}))}{initializeComponent(e,n,r)}}else{addHostEventListeners(e,n,r.R);if(n===null||n===void 0?void 0:n._);else if(n===null||n===void 0?void 0:n.q){n.q.then((function(){return fireConnectedCallback()}))}}t()}};var disconnectInstance=function(e){{safeCall(e,"disconnectedCallback")}};var disconnectedCallback=function(e){return __awaiter(void 0,void 0,void 0,(function(){var n;return __generator(this,(function(r){if((plt.u&1)===0){n=getHostRef(e);{if(n.L){n.L.map((function(e){return e()}));n.L=undefined}}if(n===null||n===void 0?void 0:n._){disconnectInstance(n._)}else if(n===null||n===void 0?void 0:n.q){n.q.then((function(){return disconnectInstance(n._)}))}}return[2]}))}))};var bootstrapLazy=function(e,n){if(n===void 0){n={}}var r;var t=createTime();var a=[];var i=n.exclude||[];var o=win.customElements;var u=doc.head;var f=u.querySelector("meta[charset]");var c=doc.createElement("style");var s=[];var l;var v=true;Object.assign(plt,n);plt.M=new URL(n.resourcesUrl||"./",doc.baseURI).href;var d=false;e.map((function(e){e[1].map((function(n){var r={u:n[0],h:n[1],V:n[2],R:n[3]};if(r.u&4){d=true}{r.V=n[2]}{r.R=n[3]}var t=r.h;var u=function(e){__extends(n,e);function n(n){var t=e.call(this,n)||this;n=t;registerHost(n,r);if(r.u&1){{{n.attachShadow({mode:"open"})}}}return t}n.prototype.connectedCallback=function(){var e=this;if(l){clearTimeout(l);l=null}if(v){s.push(this)}else{plt.jmp((function(){return connectedCallback(e)}))}};n.prototype.disconnectedCallback=function(){var e=this;plt.jmp((function(){return disconnectedCallback(e)}))};n.prototype.componentOnReady=function(){return getHostRef(this).q};return n}(HTMLElement);r.N=e[0];if(!i.includes(t)&&!o.get(t)){a.push(t);o.define(t,proxyComponent(u,r,1))}}))}));if(d){c.innerHTML+=SLOT_FB_CSS}{c.innerHTML+=a+HYDRATED_CSS}if(c.innerHTML.length){c.setAttribute("data-styles","");var p=(r=plt.p)!==null&&r!==void 0?r:queryNonceMetaTagContent(doc);if(p!=null){c.setAttribute("nonce",p)}u.insertBefore(c,f?f.nextSibling:u.firstChild)}v=false;if(s.length){s.map((function(e){return e.connectedCallback()}))}else{{plt.jmp((function(){return l=setTimeout(appDidLoad,30)}))}}t()};var addHostEventListeners=function(e,n,r,t){if(r){r.map((function(r){var t=r[0],a=r[1],i=r[2];var o=e;var u=hostListenerProxy(n,i);var f=hostListenerOpts(t);plt.ael(o,a,u,f);(n.L=n.L||[]).push((function(){return plt.rel(o,a,u,f)}))}))}};var hostListenerProxy=function(e,n){return function(r){try{{if(e.u&256){e._[n](r)}else{(e.$=e.$||[]).push([n,r])}}}catch(e){consoleError(e)}}};var hostListenerOpts=function(e){return(e&2)!==0};var setNonce=function(e){return plt.p=e};var hostRefs=new WeakMap;var getHostRef=function(e){return hostRefs.get(e)};var registerInstance=function(e,n){return hostRefs.set(n._=e,n)};var registerHost=function(e,n){var r={u:0,$hostElement$:e,m:n,H:new Map};{r.q=new Promise((function(e){return r.k=e}));e["s-p"]=[];e["s-rc"]=[]}addHostEventListeners(e,r,n.R);return hostRefs.set(e,r)};var consoleError=function(e,n){return(0,console.error)(e,n)};var cmpModules=new Map;var loadModule=function(e,n,r){var t=e.h.replace(/-/g,"_");var a=e.N;var i=cmpModules.get(a);if(i){return i[t]}if(!r||!BUILD.hotModuleReplacement){var o=function(e){cmpModules.set(a,e);return e[t]};switch(a){case"mds-accordion-timer":return import("./mds-accordion-timer.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,M:"",jmp:function(e){return e()},raf:function(e){return requestAnimationFrame(e)},ael:function(e,n,r,t){return e.addEventListener(n,r,t)},rel:function(e,n,r,t){return e.removeEventListener(n,r,t)},ce:function(e,n){return new CustomEvent(e,n)}};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,n){return function(r){e.push(r);if(!queuePending){queuePending=true;if(n&&plt.u&4){nextTick(flush)}else{plt.raf(flush)}}}};var consume=function(e){for(var n=0;n<e.length;n++){try{e[n](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,createEvent as c,getElement as g,h,promiseResolve as p,registerInstance as r,setNonce as s};
@@ -1 +1 @@
1
- import{b as bootstrapLazy}from"./index-df0a164e.js";export{s as setNonce}from"./index-df0a164e.js";var defineCustomElements=function(e,o){if(typeof window==="undefined")return undefined;return bootstrapLazy([["mds-accordion-timer",[[1,"mds-accordion-timer",{duration:[2],time:[32]},[[0,"mdsAccordionTimerItemClickSelect","onClickActive"],[0,"mdsAccordionTimerItemMouseEnterSelect","onMouseEnterSelect"],[0,"mdsAccordionTimerItemMouseLeaveSelect","onMouseLeaveSelect"]]]]]],o)};export{defineCustomElements};
1
+ import{b as bootstrapLazy}from"./index-05afffb2.js";export{s as setNonce}from"./index-05afffb2.js";var defineCustomElements=function(e,o){if(typeof window==="undefined")return undefined;return bootstrapLazy([["mds-accordion-timer",[[1,"mds-accordion-timer",{duration:[2],time:[32]},[[0,"mdsAccordionTimerItemClickSelect","onClickActive"],[0,"mdsAccordionTimerItemMouseEnterSelect","onMouseEnterSelect"],[0,"mdsAccordionTimerItemMouseLeaveSelect","onMouseLeaveSelect"]]]]]],o)};export{defineCustomElements};
@@ -1 +1 @@
1
- import{r as registerInstance,c as createEvent,h,H as Host,g as getElement}from"./index-df0a164e.js";var mdsAccordionTimerCss=":host{--mds-accordion-timer-progress-bar-color:rgb(var(--tone-neutral-03));--mds-accordion-timer-progress-bar-background:rgb(var(--tone-neutral-08));--mds-accordion-timer-progress-bar-thickness:0.25rem;--mds-accordion-timer-duration:500ms;display:block}";var MdsAccordionTimer=function(){function i(i){var t=this;registerInstance(this,i);this.changeEvent=createEvent(this,"mdsAccordionTimerChange",7);this.clearIntervals=function(){window.clearInterval(t.timer);window.clearInterval(t.timeChecker);t.timeChecker=0};this.progress=function(){return Math.abs(t.remainingTime()/t.duration-1)};this.addTimeListener=function(){t.timeChecker=window.setInterval((function(){var i=t.progress();if(t.selectedItem!==undefined){t.selectedItem.progress=i}if(i===1){t.selectedItem.progress=0;t.startNext()}}),100)};this.beginningTime=function(){t.timeStarted=(new Date).getTime();return t.timeStarted};this.remainingTime=function(){var i=t.selectedItemDurationTime-((new Date).getTime()-t.timeStarted);return i>=0?i:0};this.setSelectedItem=function(i){t.children.forEach((function(n,s){if(s===i){n.selected=true;t.selectedItem=n;t.changeEvent.emit()}else{n.selected=false}}))};this.startNext=function(){var i=t.selectedItem.uuid+1>t.children.length-1?0:t.selectedItem.uuid+1;t.setSelectedItem(i);t.startTimer()};this.startTimer=function(){t.clearIntervals();t.time=t.beginningTime();t.selectedItemDurationTime=t.duration;t.addTimeListener()};this.playTimer=function(){t.beginningTime();t.addTimeListener()};this.pauseTimer=function(){t.clearIntervals();t.selectedItemDurationTime=t.remainingTime()};this.stopTimer=function(){t.clearIntervals()};this.time=0;this.duration=1e4}i.prototype.componentDidLoad=function(){var i=this;this.children=this.element.querySelectorAll("mds-accordion-timer-item");this.children.forEach((function(t,n){t.uuid=n;if(t.selected){i.selectedItem=t}}));if(this.selectedItem!==undefined){this.startTimer()}};i.prototype.disconnectedCallback=function(){this.stopTimer();this.clearIntervals()};i.prototype.onClickActive=function(i){if(this.selectedItem){this.selectedItem.progress=0}this.setSelectedItem(i.detail.uuid);this.startTimer();this.pauseTimer()};i.prototype.onMouseEnterSelect=function(){this.pauseTimer()};i.prototype.onMouseLeaveSelect=function(){if(this.timeChecker===0){this.playTimer()}};i.prototype.render=function(){return h(Host,null,h("slot",null))};Object.defineProperty(i.prototype,"element",{get:function(){return getElement(this)},enumerable:false,configurable:true});return i}();MdsAccordionTimer.style=mdsAccordionTimerCss;export{MdsAccordionTimer as mds_accordion_timer};
1
+ import{r as registerInstance,c as createEvent,h,H as Host,g as getElement}from"./index-05afffb2.js";var mdsAccordionTimerCss=":host{--mds-accordion-timer-progress-bar-color:rgb(var(--tone-neutral-03));--mds-accordion-timer-progress-bar-background:rgb(var(--tone-neutral-08));--mds-accordion-timer-progress-bar-thickness:0.25rem;--mds-accordion-timer-duration:500ms;display:block}";var MdsAccordionTimer=function(){function i(i){var t=this;registerInstance(this,i);this.changeEvent=createEvent(this,"mdsAccordionTimerChange",7);this.clearIntervals=function(){window.clearInterval(t.timer);window.clearInterval(t.timeChecker);t.timeChecker=0};this.progress=function(){return Math.abs(t.remainingTime()/t.duration-1)};this.addTimeListener=function(){t.timeChecker=window.setInterval((function(){var i=t.progress();if(t.selectedItem!==undefined){t.selectedItem.progress=i}if(i===1){t.selectedItem.progress=0;t.startNext()}}),100)};this.beginningTime=function(){t.timeStarted=(new Date).getTime();return t.timeStarted};this.remainingTime=function(){var i=t.selectedItemDurationTime-((new Date).getTime()-t.timeStarted);return i>=0?i:0};this.setSelectedItem=function(i){t.children.forEach((function(n,s){if(s===i){n.selected=true;t.selectedItem=n;t.changeEvent.emit()}else{n.selected=false}}))};this.startNext=function(){var i=t.selectedItem.uuid+1>t.children.length-1?0:t.selectedItem.uuid+1;t.setSelectedItem(i);t.startTimer()};this.startTimer=function(){t.clearIntervals();t.time=t.beginningTime();t.selectedItemDurationTime=t.duration;t.addTimeListener()};this.playTimer=function(){t.beginningTime();t.addTimeListener()};this.pauseTimer=function(){t.clearIntervals();t.selectedItemDurationTime=t.remainingTime()};this.stopTimer=function(){t.clearIntervals()};this.time=0;this.duration=1e4}i.prototype.componentDidLoad=function(){var i=this;this.children=this.element.querySelectorAll("mds-accordion-timer-item");this.children.forEach((function(t,n){t.uuid=n;if(t.selected){i.selectedItem=t}}));if(this.selectedItem!==undefined){this.startTimer()}};i.prototype.disconnectedCallback=function(){this.stopTimer();this.clearIntervals()};i.prototype.onClickActive=function(i){if(this.selectedItem){this.selectedItem.progress=0}this.setSelectedItem(i.detail.uuid);this.startTimer();this.pauseTimer()};i.prototype.onMouseEnterSelect=function(){this.pauseTimer()};i.prototype.onMouseLeaveSelect=function(){if(this.timeChecker===0){this.playTimer()}};i.prototype.render=function(){return h(Host,null,h("slot",null))};Object.defineProperty(i.prototype,"element",{get:function(){return getElement(this)},enumerable:false,configurable:true});return i}();MdsAccordionTimer.style=mdsAccordionTimerCss;export{MdsAccordionTimer as mds_accordion_timer};
@@ -1 +1 @@
1
- import{p as promiseResolve,b as bootstrapLazy}from"./index-df0a164e.js";export{s as setNonce}from"./index-df0a164e.js";var patchBrowser=function(){var e=import.meta.url;var o={};if(e!==""){o.resourcesUrl=new URL(".",e).href}return promiseResolve(o)};patchBrowser().then((function(e){return bootstrapLazy([["mds-accordion-timer",[[1,"mds-accordion-timer",{duration:[2],time:[32]},[[0,"mdsAccordionTimerItemClickSelect","onClickActive"],[0,"mdsAccordionTimerItemMouseEnterSelect","onMouseEnterSelect"],[0,"mdsAccordionTimerItemMouseLeaveSelect","onMouseLeaveSelect"]]]]]],e)}));
1
+ import{p as promiseResolve,b as bootstrapLazy}from"./index-05afffb2.js";export{s as setNonce}from"./index-05afffb2.js";var patchBrowser=function(){var e=import.meta.url;var o={};if(e!==""){o.resourcesUrl=new URL(".",e).href}return promiseResolve(o)};patchBrowser().then((function(e){return bootstrapLazy([["mds-accordion-timer",[[1,"mds-accordion-timer",{duration:[2],time:[32]},[[0,"mdsAccordionTimerItemClickSelect","onClickActive"],[0,"mdsAccordionTimerItemMouseEnterSelect","onMouseEnterSelect"],[0,"mdsAccordionTimerItemMouseLeaveSelect","onMouseLeaveSelect"]]]]]],e)}));
@@ -1 +1 @@
1
- import{p as e,b as o}from"./p-36be1c3e.js";export{s as setNonce}from"./p-36be1c3e.js";(()=>{const o=import.meta.url,c={};return""!==o&&(c.resourcesUrl=new URL(".",o).href),e(c)})().then((e=>o([["p-e57978cc",[[1,"mds-accordion-timer",{duration:[2],time:[32]},[[0,"mdsAccordionTimerItemClickSelect","onClickActive"],[0,"mdsAccordionTimerItemMouseEnterSelect","onMouseEnterSelect"],[0,"mdsAccordionTimerItemMouseLeaveSelect","onMouseLeaveSelect"]]]]]],e)));
1
+ import{p as e,b as o}from"./p-d3af5915.js";export{s as setNonce}from"./p-d3af5915.js";(()=>{const o=import.meta.url,t={};return""!==o&&(t.resourcesUrl=new URL(".",o).href),e(t)})().then((e=>o([["p-25b4e062",[[1,"mds-accordion-timer",{duration:[2],time:[32]},[[0,"mdsAccordionTimerItemClickSelect","onClickActive"],[0,"mdsAccordionTimerItemMouseEnterSelect","onMouseEnterSelect"],[0,"mdsAccordionTimerItemMouseLeaveSelect","onMouseLeaveSelect"]]]]]],e)));
@@ -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-8dd76b31.system.js', new URL(resourcesUrl, window.location.origin !== 'null' ? window.location.origin : undefined));
118
+ var url = new URL('./p-d589761b.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 as t,c as s,h as i,H as h,g as e}from"./p-36be1c3e.js";const o=class{constructor(i){t(this,i),this.changeEvent=s(this,"mdsAccordionTimerChange",7),this.clearIntervals=()=>{window.clearInterval(this.timer),window.clearInterval(this.timeChecker),this.timeChecker=0},this.progress=()=>Math.abs(this.remainingTime()/this.duration-1),this.addTimeListener=()=>{this.timeChecker=window.setInterval((()=>{const t=this.progress();void 0!==this.selectedItem&&(this.selectedItem.progress=t),1===t&&(this.selectedItem.progress=0,this.startNext())}),100)},this.beginningTime=()=>(this.timeStarted=(new Date).getTime(),this.timeStarted),this.remainingTime=()=>{const t=this.selectedItemDurationTime-((new Date).getTime()-this.timeStarted);return t>=0?t:0},this.setSelectedItem=t=>{this.children.forEach(((s,i)=>{i===t?(s.selected=!0,this.selectedItem=s,this.changeEvent.emit()):s.selected=!1}))},this.startNext=()=>{this.setSelectedItem(this.selectedItem.uuid+1>this.children.length-1?0:this.selectedItem.uuid+1),this.startTimer()},this.startTimer=()=>{this.clearIntervals(),this.time=this.beginningTime(),this.selectedItemDurationTime=this.duration,this.addTimeListener()},this.playTimer=()=>{this.beginningTime(),this.addTimeListener()},this.pauseTimer=()=>{this.clearIntervals(),this.selectedItemDurationTime=this.remainingTime()},this.stopTimer=()=>{this.clearIntervals()},this.time=0,this.duration=1e4}componentDidLoad(){this.children=this.element.querySelectorAll("mds-accordion-timer-item"),this.children.forEach(((t,s)=>{t.uuid=s,t.selected&&(this.selectedItem=t)})),void 0!==this.selectedItem&&this.startTimer()}disconnectedCallback(){this.stopTimer(),this.clearIntervals()}onClickActive(t){this.selectedItem&&(this.selectedItem.progress=0),this.setSelectedItem(t.detail.uuid),this.startTimer(),this.pauseTimer()}onMouseEnterSelect(){this.pauseTimer()}onMouseLeaveSelect(){0===this.timeChecker&&this.playTimer()}render(){return i(h,null,i("slot",null))}get element(){return e(this)}};o.style=":host{--mds-accordion-timer-progress-bar-color:rgb(var(--tone-neutral-03));--mds-accordion-timer-progress-bar-background:rgb(var(--tone-neutral-08));--mds-accordion-timer-progress-bar-thickness:0.25rem;--mds-accordion-timer-duration:500ms;display:block}";export{o as mds_accordion_timer}
1
+ import{r as t,c as s,h as i,H as h,g as o}from"./p-d3af5915.js";const r=class{constructor(i){t(this,i),this.changeEvent=s(this,"mdsAccordionTimerChange",7),this.clearIntervals=()=>{window.clearInterval(this.timer),window.clearInterval(this.timeChecker),this.timeChecker=0},this.progress=()=>Math.abs(this.remainingTime()/this.duration-1),this.addTimeListener=()=>{this.timeChecker=window.setInterval((()=>{const t=this.progress();void 0!==this.selectedItem&&(this.selectedItem.progress=t),1===t&&(this.selectedItem.progress=0,this.startNext())}),100)},this.beginningTime=()=>(this.timeStarted=(new Date).getTime(),this.timeStarted),this.remainingTime=()=>{const t=this.selectedItemDurationTime-((new Date).getTime()-this.timeStarted);return t>=0?t:0},this.setSelectedItem=t=>{this.children.forEach(((s,i)=>{i===t?(s.selected=!0,this.selectedItem=s,this.changeEvent.emit()):s.selected=!1}))},this.startNext=()=>{this.setSelectedItem(this.selectedItem.uuid+1>this.children.length-1?0:this.selectedItem.uuid+1),this.startTimer()},this.startTimer=()=>{this.clearIntervals(),this.time=this.beginningTime(),this.selectedItemDurationTime=this.duration,this.addTimeListener()},this.playTimer=()=>{this.beginningTime(),this.addTimeListener()},this.pauseTimer=()=>{this.clearIntervals(),this.selectedItemDurationTime=this.remainingTime()},this.stopTimer=()=>{this.clearIntervals()},this.time=0,this.duration=1e4}componentDidLoad(){this.children=this.element.querySelectorAll("mds-accordion-timer-item"),this.children.forEach(((t,s)=>{t.uuid=s,t.selected&&(this.selectedItem=t)})),void 0!==this.selectedItem&&this.startTimer()}disconnectedCallback(){this.stopTimer(),this.clearIntervals()}onClickActive(t){this.selectedItem&&(this.selectedItem.progress=0),this.setSelectedItem(t.detail.uuid),this.startTimer(),this.pauseTimer()}onMouseEnterSelect(){this.pauseTimer()}onMouseLeaveSelect(){0===this.timeChecker&&this.playTimer()}render(){return i(h,null,i("slot",null))}get element(){return o(this)}};r.style=":host{--mds-accordion-timer-progress-bar-color:rgb(var(--tone-neutral-03));--mds-accordion-timer-progress-bar-background:rgb(var(--tone-neutral-08));--mds-accordion-timer-progress-bar-thickness:0.25rem;--mds-accordion-timer-duration:500ms;display:block}";export{r as mds_accordion_timer}
@@ -1 +1 @@
1
- System.register(["./p-0da95646.system.js"],(function(t){"use strict";var i,n,s,r,e;return{setters:[function(t){i=t.r;n=t.c;s=t.h;r=t.H;e=t.g}],execute:function(){var o=":host{--mds-accordion-timer-progress-bar-color:rgb(var(--tone-neutral-03));--mds-accordion-timer-progress-bar-background:rgb(var(--tone-neutral-08));--mds-accordion-timer-progress-bar-thickness:0.25rem;--mds-accordion-timer-duration:500ms;display:block}";var c=t("mds_accordion_timer",function(){function t(t){var s=this;i(this,t);this.changeEvent=n(this,"mdsAccordionTimerChange",7);this.clearIntervals=function(){window.clearInterval(s.timer);window.clearInterval(s.timeChecker);s.timeChecker=0};this.progress=function(){return Math.abs(s.remainingTime()/s.duration-1)};this.addTimeListener=function(){s.timeChecker=window.setInterval((function(){var t=s.progress();if(s.selectedItem!==undefined){s.selectedItem.progress=t}if(t===1){s.selectedItem.progress=0;s.startNext()}}),100)};this.beginningTime=function(){s.timeStarted=(new Date).getTime();return s.timeStarted};this.remainingTime=function(){var t=s.selectedItemDurationTime-((new Date).getTime()-s.timeStarted);return t>=0?t:0};this.setSelectedItem=function(t){s.children.forEach((function(i,n){if(n===t){i.selected=true;s.selectedItem=i;s.changeEvent.emit()}else{i.selected=false}}))};this.startNext=function(){var t=s.selectedItem.uuid+1>s.children.length-1?0:s.selectedItem.uuid+1;s.setSelectedItem(t);s.startTimer()};this.startTimer=function(){s.clearIntervals();s.time=s.beginningTime();s.selectedItemDurationTime=s.duration;s.addTimeListener()};this.playTimer=function(){s.beginningTime();s.addTimeListener()};this.pauseTimer=function(){s.clearIntervals();s.selectedItemDurationTime=s.remainingTime()};this.stopTimer=function(){s.clearIntervals()};this.time=0;this.duration=1e4}t.prototype.componentDidLoad=function(){var t=this;this.children=this.element.querySelectorAll("mds-accordion-timer-item");this.children.forEach((function(i,n){i.uuid=n;if(i.selected){t.selectedItem=i}}));if(this.selectedItem!==undefined){this.startTimer()}};t.prototype.disconnectedCallback=function(){this.stopTimer();this.clearIntervals()};t.prototype.onClickActive=function(t){if(this.selectedItem){this.selectedItem.progress=0}this.setSelectedItem(t.detail.uuid);this.startTimer();this.pauseTimer()};t.prototype.onMouseEnterSelect=function(){this.pauseTimer()};t.prototype.onMouseLeaveSelect=function(){if(this.timeChecker===0){this.playTimer()}};t.prototype.render=function(){return s(r,null,s("slot",null))};Object.defineProperty(t.prototype,"element",{get:function(){return e(this)},enumerable:false,configurable:true});return t}());c.style=o}}}));
1
+ System.register(["./p-ba38686d.system.js"],(function(t){"use strict";var i,n,s,r,e;return{setters:[function(t){i=t.r;n=t.c;s=t.h;r=t.H;e=t.g}],execute:function(){var o=":host{--mds-accordion-timer-progress-bar-color:rgb(var(--tone-neutral-03));--mds-accordion-timer-progress-bar-background:rgb(var(--tone-neutral-08));--mds-accordion-timer-progress-bar-thickness:0.25rem;--mds-accordion-timer-duration:500ms;display:block}";var c=t("mds_accordion_timer",function(){function t(t){var s=this;i(this,t);this.changeEvent=n(this,"mdsAccordionTimerChange",7);this.clearIntervals=function(){window.clearInterval(s.timer);window.clearInterval(s.timeChecker);s.timeChecker=0};this.progress=function(){return Math.abs(s.remainingTime()/s.duration-1)};this.addTimeListener=function(){s.timeChecker=window.setInterval((function(){var t=s.progress();if(s.selectedItem!==undefined){s.selectedItem.progress=t}if(t===1){s.selectedItem.progress=0;s.startNext()}}),100)};this.beginningTime=function(){s.timeStarted=(new Date).getTime();return s.timeStarted};this.remainingTime=function(){var t=s.selectedItemDurationTime-((new Date).getTime()-s.timeStarted);return t>=0?t:0};this.setSelectedItem=function(t){s.children.forEach((function(i,n){if(n===t){i.selected=true;s.selectedItem=i;s.changeEvent.emit()}else{i.selected=false}}))};this.startNext=function(){var t=s.selectedItem.uuid+1>s.children.length-1?0:s.selectedItem.uuid+1;s.setSelectedItem(t);s.startTimer()};this.startTimer=function(){s.clearIntervals();s.time=s.beginningTime();s.selectedItemDurationTime=s.duration;s.addTimeListener()};this.playTimer=function(){s.beginningTime();s.addTimeListener()};this.pauseTimer=function(){s.clearIntervals();s.selectedItemDurationTime=s.remainingTime()};this.stopTimer=function(){s.clearIntervals()};this.time=0;this.duration=1e4}t.prototype.componentDidLoad=function(){var t=this;this.children=this.element.querySelectorAll("mds-accordion-timer-item");this.children.forEach((function(i,n){i.uuid=n;if(i.selected){t.selectedItem=i}}));if(this.selectedItem!==undefined){this.startTimer()}};t.prototype.disconnectedCallback=function(){this.stopTimer();this.clearIntervals()};t.prototype.onClickActive=function(t){if(this.selectedItem){this.selectedItem.progress=0}this.setSelectedItem(t.detail.uuid);this.startTimer();this.pauseTimer()};t.prototype.onMouseEnterSelect=function(){this.pauseTimer()};t.prototype.onMouseLeaveSelect=function(){if(this.timeChecker===0){this.playTimer()}};t.prototype.render=function(){return s(r,null,s("slot",null))};Object.defineProperty(t.prototype,"element",{get:function(){return e(this)},enumerable:false,configurable:true});return t}());c.style=o}}}));
@@ -0,0 +1,2 @@
1
+ var __extends=this&&this.__extends||function(){var n=function(r,e){n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,r){n.__proto__=r}||function(n,r){for(var e in r)if(Object.prototype.hasOwnProperty.call(r,e))n[e]=r[e]};return n(r,e)};return function(r,e){if(typeof e!=="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");n(r,e);function t(){this.constructor=r}r.prototype=e===null?Object.create(e):(t.prototype=e.prototype,new t)}}();var __awaiter=this&&this.__awaiter||function(n,r,e,t){function i(n){return n instanceof e?n:new e((function(r){r(n)}))}return new(e||(e=Promise))((function(e,a){function u(n){try{o(t.next(n))}catch(n){a(n)}}function f(n){try{o(t["throw"](n))}catch(n){a(n)}}function o(n){n.done?e(n.value):i(n.value).then(u,f)}o((t=t.apply(n,r||[])).next())}))};var __generator=this&&this.__generator||function(n,r){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(n){return function(r){return o([n,r])}}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=r.call(n,e)}catch(n){f=[6,n];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(n,r,e){if(e||arguments.length===2)for(var t=0,i=r.length,a;t<i;t++){if(a||!(t in r)){if(!a)a=Array.prototype.slice.call(r,0,t);a[t]=r[t]}}return n.concat(a||Array.prototype.slice.call(r))};System.register([],(function(n,r){"use strict";return{execute:function(){var e=this;var t="mds-accordion-timer";var i;var a;var u=false;var f=function(n,r){if(r===void 0){r=""}{return function(){return}}};var o=function(n,r){{return function(){return}}};var v="{visibility:hidden}[hydrated]{visibility:inherit}";var c="slot-fb{display:contents}slot-fb[hidden]{display:none}";var l=function(n){return n!=null};var s=function(n){n=typeof n;return n==="object"||n==="function"};function d(n){var r,e,t;return(t=(e=(r=n.head)===null||r===void 0?void 0:r.querySelector('meta[name="csp-nonce"]'))===null||e===void 0?void 0:e.getAttribute("content"))!==null&&t!==void 0?t:undefined}var h=n("h",(function(n,r){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(r){for(var e=0;e<r.length;e++){i=r[e];if(Array.isArray(i)){o(i)}else if(i!=null&&typeof i!=="boolean"){if(a=typeof n!=="function"&&!s(i)){i=String(i)}if(a&&u){f[f.length-1].t+=i}else{f.push(a?y(null,i):i)}u=a}}};o(e);var v=y(n,null);v.i=r;if(f.length>0){v.u=f}return v}));var y=function(n,r){var e={o:0,v:n,t:r,l:null,u:null};return e};var p=n("H",{});var w=function(n){return n&&n.v===p};var b=function(n,r){if(n!=null&&!s(n)){if(r&2){return parseFloat(n)}return n}return n};var m=n("g",(function(n){return un(n).$hostElement$}));var _=n("c",(function(n,r,e){var t=m(n);return{emit:function(n){return $(t,r,{bubbles:!!(e&4),composed:!!(e&2),cancelable:!!(e&1),detail:n})}}}));var $=function(n,r,e){var t=yn.ce(r,e);n.dispatchEvent(t);return t};var S=new WeakMap;var g=function(n,r,e){var t=sn.get(n);if(wn&&e){t=t||new CSSStyleSheet;if(typeof t==="string"){t=r}else{t.replaceSync(r)}}else{t=r}sn.set(n,t)};var j=function(n,r,e){var t;var i=A(r);var a=sn.get(i);n=n.nodeType===11?n:hn;if(a){if(typeof a==="string"){n=n.head||n;var u=S.get(n);var f=void 0;if(!u){S.set(n,u=new Set)}if(!u.has(i)){{f=hn.createElement("style");f.innerHTML=a;var o=(t=yn.h)!==null&&t!==void 0?t:d(hn);if(o!=null){f.setAttribute("nonce",o)}n.insertBefore(f,n.querySelector("link"))}if(r.o&4){f.innerHTML+=c}if(u){u.add(i)}}}else if(!n.adoptedStyleSheets.includes(a)){n.adoptedStyleSheets=__spreadArray(__spreadArray([],n.adoptedStyleSheets,true),[a],false)}}return i};var k=function(n){var r=n.p;var e=n.$hostElement$;var t=r.o;var i=f("attachStyles",r.m);var a=j(e.shadowRoot?e.shadowRoot:e.getRootNode(),r);if(t&10){e["s-sc"]=a;e.classList.add(a+"-h")}i()};var A=function(n,r){return"sc-"+n.m};var O=function(n,r,e,t){var u=r.u[e];var f=0;var o;var v;{o=u.l=hn.createElement(u.v);if(l(i)&&o["s-si"]!==i){o.classList.add(o["s-si"]=i)}if(u.u){for(f=0;f<u.u.length;++f){v=O(n,u,f);if(v){o.appendChild(v)}}}}o["s-hn"]=a;return o};var M=function(n,r,e,t,i,u){var f=n;var o;if(f.shadowRoot&&f.tagName===a){f=f.shadowRoot}for(;i<=u;++i){if(t[i]){o=O(null,e,i);if(o){t[i].l=o;f.insertBefore(o,r)}}}};var x=function(n,r,e){for(var t=r;t<=e;++t){var i=n[t];if(i){var a=i.l;if(a){a.remove()}}}};var C=function(n,r,e,t,i){if(i===void 0){i=false}var a=0;var u=0;var f=r.length-1;var o=r[0];var v=r[f];var c=t.length-1;var l=t[0];var s=t[c];var d;while(a<=f&&u<=c){if(o==null){o=r[++a]}else if(v==null){v=r[--f]}else if(l==null){l=t[++u]}else if(s==null){s=t[--c]}else if(P(o,l,i)){E(o,l,i);o=r[++a];l=t[++u]}else if(P(v,s,i)){E(v,s,i);v=r[--f];s=t[--c]}else if(P(o,s,i)){E(o,s,i);n.insertBefore(o.l,v.l.nextSibling);o=r[++a];s=t[--c]}else if(P(v,l,i)){E(v,l,i);n.insertBefore(v.l,o.l);v=r[--f];l=t[++u]}else{{d=O(r&&r[u],e,u);l=t[++u]}if(d){{o.l.parentNode.insertBefore(d,o.l)}}}}if(a>f){M(n,t[c+1]==null?null:t[c+1].l,e,t,u,c)}else if(u>c){x(r,a,f)}};var P=function(n,r,e){if(e===void 0){e=false}if(n.v===r.v){return true}return false};var E=function(n,r,e){if(e===void 0){e=false}var t=r.l=n.l;var i=n.u;var a=r.u;{if(i!==null&&a!==null){C(t,i,r,a,e)}else if(a!==null){M(t,null,r,a,0,a.length-1)}else if(i!==null){x(i,0,i.length-1)}}};var T=function(n,r,e){if(e===void 0){e=false}var t=n.$hostElement$;var u=n._||y(null,null);var f=w(r)?r:h(null,null,r);a=t.tagName;if(e&&f.i){for(var o=0,v=Object.keys(f.i);o<v.length;o++){var c=v[o];if(t.hasAttribute(c)&&!["key","ref","style","class"].includes(c)){f.i[c]=t[c]}}}f.v=null;f.o|=4;n._=f;f.l=u.l=t.shadowRoot||t;{i=t["s-sc"]}E(u,f,e)};var U=function(n,r){if(r&&!n.$&&r["s-p"]){r["s-p"].push(new Promise((function(r){return n.$=r})))}};var L=function(n,r){{n.o|=16}if(n.o&4){n.o|=512;return}U(n,n.S);var e=function(){return N(n,r)};return jn(e)};var N=function(n,r){var e=f("scheduleUpdate",n.p.m);var t=n.j;var i;if(r){{n.o|=256;if(n.k){n.k.map((function(n){var r=n[0],e=n[1];return I(t,r,e)}));n.k=undefined}}}e();return F(i,(function(){return W(n,t,r)}))};var F=function(n,r){return H(n)?n.then(r):r()};var H=function(n){return n instanceof Promise||n&&n.then&&typeof n.then==="function"};var W=function(n,r,t){return __awaiter(e,void 0,void 0,(function(){var e,i,a,u,o,v,c;return __generator(this,(function(l){i=n.$hostElement$;a=f("update",n.p.m);u=i["s-rc"];if(t){k(n)}o=f("render",n.p.m);{q(n,r,i,t)}if(u){u.map((function(n){return n()}));i["s-rc"]=undefined}o();a();{v=(e=i["s-p"])!==null&&e!==void 0?e:[];c=function(){return D(n)};if(v.length===0){c()}else{Promise.all(v).then(c);n.o|=4;v.length=0}}return[2]}))}))};var q=function(n,r,e,t){try{r=r.render();{n.o&=~16}{n.o|=2}{{{T(n,r,t)}}}}catch(r){vn(r,n.$hostElement$)}return null};var D=function(n){var r=n.p.m;var e=n.$hostElement$;var t=f("postUpdate",r);var i=n.j;var a=n.S;if(!(n.o&64)){n.o|=64;{R(e)}{I(i,"componentDidLoad")}t();{n.A(e);if(!a){G()}}}else{t()}{if(n.$){n.$();n.$=undefined}if(n.o&512){gn((function(){return L(n,false)}))}n.o&=~(4|512)}};var G=function(n){{R(hn.documentElement)}gn((function(){return $(dn,"appload",{detail:{namespace:t}})}))};var I=function(n,r,e){if(n&&n[r]){try{return n[r](e)}catch(n){vn(n)}}return undefined};var R=function(n){return n.setAttribute("hydrated","")};var V=function(n,r){return un(n).O.get(r)};var z=function(n,r,e,t){var i=un(n);var a=i.O.get(r);var u=i.o;var f=i.j;e=b(e,t.M[r][0]);var o=Number.isNaN(a)&&Number.isNaN(e);var v=e!==a&&!o;if((!(u&8)||a===undefined)&&v){i.O.set(r,e);if(f){if((u&(2|16))===2){L(i,false)}}}};var B=function(n,r,e){var t;var i=n.prototype;if(r.M){var a=Object.entries(r.M);a.map((function(n){var t=n[0],a=n[1][0];if(a&31||e&2&&a&32){Object.defineProperty(i,t,{get:function(){return V(this,t)},set:function(n){z(this,t,n,r)},configurable:true,enumerable:true})}}));if(e&1){var u=new Map;i.attributeChangedCallback=function(n,e,t){var a=this;yn.jmp((function(){var f;var o=u.get(n);if(a.hasOwnProperty(o)){t=a[o];delete a[o]}else if(i.hasOwnProperty(o)&&typeof a[o]==="number"&&a[o]==t){return}else if(o==null){var v=un(a);var c=v===null||v===void 0?void 0:v.o;if(c&&!(c&8)&&c&128&&t!==e){var l=v.j;var s=(f=r.C)===null||f===void 0?void 0:f[n];s===null||s===void 0?void 0:s.forEach((function(r){if(l[r]!=null){l[r].call(l,t,e,n)}}))}return}a[o]=t===null&&typeof a[o]==="boolean"?false:t}))};n.observedAttributes=Array.from(new Set(__spreadArray(__spreadArray([],Object.keys((t=r.C)!==null&&t!==void 0?t:{}),true),a.filter((function(n){var r=n[0],e=n[1];return e[0]&15})).map((function(n){var r=n[0],e=n[1];var t=e[1]||r;u.set(t,r);return t})),true)))}}return n};var J=function(n,r,t,i){return __awaiter(e,void 0,void 0,(function(){var n,e,i,a,u,v,c,l;return __generator(this,(function(s){switch(s.label){case 0:if(!((r.o&32)===0))return[3,3];r.o|=32;n=ln(t);if(!n.then)return[3,2];e=o();return[4,n];case 1:n=s.sent();e();s.label=2;case 2:if(!n.isProxied){B(n,t,2);n.isProxied=true}i=f("createInstance",t.m);{r.o|=8}try{new n(r)}catch(n){vn(n)}{r.o&=~8}i();if(n.style){a=n.style;u=A(t);if(!sn.has(u)){v=f("registerStyles",t.m);g(u,a,!!(t.o&1));v()}}s.label=3;case 3:c=r.S;l=function(){return L(r,true)};if(c&&c["s-rc"]){c["s-rc"].push(l)}else{l()}return[2]}}))}))};var K=function(n){};var Q=function(n){if((yn.o&1)===0){var r=un(n);var e=r.p;var t=f("connectedCallback",e.m);if(!(r.o&1)){r.o|=1;{var i=n;while(i=i.parentNode||i.host){if(i["s-p"]){U(r,r.S=i);break}}}if(e.M){Object.entries(e.M).map((function(r){var e=r[0],t=r[1][0];if(t&31&&n.hasOwnProperty(e)){var i=n[e];delete n[e];n[e]=i}}))}{J(n,r,e)}}else{nn(n,r,e.P);if(r===null||r===void 0?void 0:r.j);else if(r===null||r===void 0?void 0:r.T){r.T.then((function(){return K()}))}}t()}};var X=function(n){{I(n,"disconnectedCallback")}};var Y=function(n){return __awaiter(e,void 0,void 0,(function(){var r;return __generator(this,(function(e){if((yn.o&1)===0){r=un(n);{if(r.U){r.U.map((function(n){return n()}));r.U=undefined}}if(r===null||r===void 0?void 0:r.j){X(r.j)}else if(r===null||r===void 0?void 0:r.T){r.T.then((function(){return X(r.j)}))}}return[2]}))}))};var Z=n("b",(function(n,r){if(r===void 0){r={}}var e;var t=f();var i=[];var a=r.exclude||[];var u=dn.customElements;var o=hn.head;var l=o.querySelector("meta[charset]");var s=hn.createElement("style");var h=[];var y;var p=true;Object.assign(yn,r);yn.L=new URL(r.resourcesUrl||"./",hn.baseURI).href;var w=false;n.map((function(n){n[1].map((function(r){var e={o:r[0],m:r[1],M:r[2],P:r[3]};if(e.o&4){w=true}{e.M=r[2]}{e.P=r[3]}var t=e.m;var f=function(n){__extends(r,n);function r(r){var t=n.call(this,r)||this;r=t;on(r,e);if(e.o&1){{{r.attachShadow({mode:"open"})}}}return t}r.prototype.connectedCallback=function(){var n=this;if(y){clearTimeout(y);y=null}if(p){h.push(this)}else{yn.jmp((function(){return Q(n)}))}};r.prototype.disconnectedCallback=function(){var n=this;yn.jmp((function(){return Y(n)}))};r.prototype.componentOnReady=function(){return un(this).T};return r}(HTMLElement);e.N=n[0];if(!a.includes(t)&&!u.get(t)){i.push(t);u.define(t,B(f,e,1))}}))}));if(w){s.innerHTML+=c}{s.innerHTML+=i+v}if(s.innerHTML.length){s.setAttribute("data-styles","");var b=(e=yn.h)!==null&&e!==void 0?e:d(hn);if(b!=null){s.setAttribute("nonce",b)}o.insertBefore(s,l?l.nextSibling:o.firstChild)}p=false;if(h.length){h.map((function(n){return n.connectedCallback()}))}else{{yn.jmp((function(){return y=setTimeout(G,30)}))}}t()}));var nn=function(n,r,e,t){if(e){e.map((function(e){var t=e[0],i=e[1],a=e[2];var u=n;var f=rn(r,a);var o=en(t);yn.ael(u,i,f,o);(r.U=r.U||[]).push((function(){return yn.rel(u,i,f,o)}))}))}};var rn=function(n,r){return function(e){try{{if(n.o&256){n.j[r](e)}else{(n.k=n.k||[]).push([r,e])}}}catch(n){vn(n)}}};var en=function(n){return(n&2)!==0};var tn=n("s",(function(n){return yn.h=n}));var an=new WeakMap;var un=function(n){return an.get(n)};var fn=n("r",(function(n,r){return an.set(r.j=n,r)}));var on=function(n,r){var e={o:0,$hostElement$:n,p:r,O:new Map};{e.T=new Promise((function(n){return e.A=n}));n["s-p"]=[];n["s-rc"]=[]}nn(n,e,r.P);return an.set(n,e)};var vn=function(n,r){return(0,console.error)(n,r)};var cn=new Map;var ln=function(n,e,t){var i=n.m.replace(/-/g,"_");var a=n.N;var u=cn.get(a);if(u){return u[i]}
2
+ /*!__STENCIL_STATIC_IMPORT_SWITCH__*/return r.import("./".concat(a,".entry.js").concat("")).then((function(n){{cn.set(a,n)}return n[i]}),vn)};var sn=new Map;var dn=typeof window!=="undefined"?window:{};var hn=dn.document||{head:{}};var yn={o:0,L:"",jmp:function(n){return n()},raf:function(n){return requestAnimationFrame(n)},ael:function(n,r,e,t){return n.addEventListener(r,e,t)},rel:function(n,r,e,t){return n.removeEventListener(r,e,t)},ce:function(n,r){return new CustomEvent(n,r)}};var pn=n("p",(function(n){return Promise.resolve(n)}));var wn=function(){try{new CSSStyleSheet;return typeof(new CSSStyleSheet).replaceSync==="function"}catch(n){}return false}();var bn=[];var mn=[];var _n=function(n,r){return function(e){n.push(e);if(!u){u=true;if(r&&yn.o&4){gn(Sn)}else{yn.raf(Sn)}}}};var $n=function(n){for(var r=0;r<n.length;r++){try{n[r](performance.now())}catch(n){vn(n)}}n.length=0};var Sn=function(){$n(bn);{$n(mn);if(u=bn.length>0){yn.raf(Sn)}}};var gn=function(n){return pn().then(n)};var jn=_n(mn,true)}}}));
@@ -0,0 +1,2 @@
1
+ let n,t,e=!1;const l="slot-fb{display:contents}slot-fb[hidden]{display:none}",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=[],a=t=>{for(let e=0;e<t.length;e++)l=t[e],Array.isArray(l)?a(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)};a(e);const u=c(n,null);return u.l=t,r.length>0&&(u.o=r),u},c=(n,t)=>({i:0,u:n,t,m:null,o:null}),r={},a=n=>U(n).$hostElement$,u=(n,t,e)=>{const l=a(n);return{emit:n=>f(l,t,{bubbles:!!(4&e),composed:!!(2&e),cancelable:!!(1&e),detail:n})}},f=(n,t,e)=>{const l=I.ce(t,e);return n.dispatchEvent(l),l},d=new WeakMap,y=n=>"sc-"+n.h,m=(e,l,o)=>{const s=l.o[o];let i,c,r=0;if(i=s.m=G.createElement(s.u),null!=n&&i["s-si"]!==n&&i.classList.add(i["s-si"]=n),s.o)for(r=0;r<s.o.length;++r)c=m(e,s,r),c&&i.appendChild(c);return i["s-hn"]=t,i},h=(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=m(null,l,s),c&&(o[s].m=c,r.insertBefore(c,e)))},p=(n,t,e)=>{for(let l=t;l<=e;++l){const t=n[l];if(t){const n=t.m;n&&n.remove()}}},v=(n,t)=>n.u===t.u,$=(n,t,e=!1)=>{const l=t.m=n.m,o=n.o,s=t.o;null!==o&&null!==s?((n,t,e,l,o=!1)=>{let s,i=0,c=0,r=t.length-1,a=t[0],u=t[r],f=l.length-1,d=l[0],y=l[f];for(;i<=r&&c<=f;)null==a?a=t[++i]:null==u?u=t[--r]:null==d?d=l[++c]:null==y?y=l[--f]:v(a,d)?($(a,d,o),a=t[++i],d=l[++c]):v(u,y)?($(u,y,o),u=t[--r],y=l[--f]):v(a,y)?($(a,y,o),n.insertBefore(a.m,u.m.nextSibling),a=t[++i],y=l[--f]):v(u,d)?($(u,d,o),n.insertBefore(u.m,a.m),u=t[--r],d=l[++c]):(s=m(t&&t[c],e,c),d=l[++c],s&&a.m.parentNode.insertBefore(s,a.m));i>r?h(n,null==l[f+1]?null:l[f+1].m,e,l,c,f):c>f&&p(t,i,r)})(l,o,t,s,e):null!==s?h(l,null,t,s,0,s.length-1):null!==o&&p(o,0,o.length-1)},b=(n,t)=>{t&&!n.p&&t["s-p"]&&t["s-p"].push(new Promise((t=>n.p=t)))},w=(n,t)=>{if(n.i|=16,!(4&n.i))return b(n,n.v),en((()=>S(n,t)));n.i|=512},S=(n,t)=>{const e=n.$;return t&&(n.i|=256,n.S&&(n.S.map((([n,t])=>P(e,n,t))),n.S=void 0)),g(void 0,(()=>k(n,e,t)))},g=(n,t)=>j(n)?n.then(t):t(),j=n=>n instanceof Promise||n&&n.then&&"function"==typeof n.then,k=async(n,t,e)=>{var o;const i=n.$hostElement$,c=i["s-rc"];e&&(n=>{const t=n.j,e=n.$hostElement$,o=t.i,i=((n,t)=>{var e;const o=y(t),i=z.get(o);if(n=11===n.nodeType?n:G,i)if("string"==typeof i){let c,r=d.get(n=n.head||n);if(r||d.set(n,r=new Set),!r.has(o)){{c=G.createElement("style"),c.innerHTML=i;const t=null!==(e=I.k)&&void 0!==e?e:s(G);null!=t&&c.setAttribute("nonce",t),n.insertBefore(c,n.querySelector("link"))}4&t.i&&(c.innerHTML+=l),r&&r.add(o)}}else n.adoptedStyleSheets.includes(i)||(n.adoptedStyleSheets=[...n.adoptedStyleSheets,i]);return o})(e.shadowRoot?e.shadowRoot:e.getRootNode(),t);10&o&&(e["s-sc"]=i,e.classList.add(i+"-h"))})(n);M(n,t,i,e),c&&(c.map((n=>n())),i["s-rc"]=void 0);{const t=null!==(o=i["s-p"])&&void 0!==o?o:[],e=()=>C(n);0===t.length?e():(Promise.all(t).then(e),n.i|=4,t.length=0)}},M=(e,l,o,s)=>{try{l=l.render(),e.i&=-17,e.i|=2,((e,l,o=!1)=>{const s=e.$hostElement$,a=e.M||c(null,null),u=(n=>n&&n.u===r)(l)?l:i(null,null,l);if(t=s.tagName,o&&u.l)for(const n of Object.keys(u.l))s.hasAttribute(n)&&!["key","ref","style","class"].includes(n)&&(u.l[n]=s[n]);u.u=null,u.i|=4,e.M=u,u.m=a.m=s.shadowRoot||s,n=s["s-sc"],$(a,u,o)})(e,l,s)}catch(n){D(n,e.$hostElement$)}return null},C=n=>{const t=n.$hostElement$,e=n.$,l=n.v;64&n.i||(n.i|=64,x(t),P(e,"componentDidLoad"),n.C(t),l||O()),n.p&&(n.p(),n.p=void 0),512&n.i&&tn((()=>w(n,!1))),n.i&=-517},O=()=>{x(G.documentElement),tn((()=>f(B,"appload",{detail:{namespace:"mds-accordion-timer"}})))},P=(n,t,e)=>{if(n&&n[t])try{return n[t](e)}catch(n){D(n)}},x=n=>n.setAttribute("hydrated",""),A=(n,t,e)=>{var l;const s=n.prototype;if(t.O){const i=Object.entries(t.O);if(i.map((([n,[l]])=>{(31&l||2&e&&32&l)&&Object.defineProperty(s,n,{get(){return((n,t)=>U(this).P.get(t))(0,n)},set(e){((n,t,e,l)=>{const s=U(n),i=s.P.get(t),c=s.i,r=s.$;e=((n,t)=>null==n||o(n)?n:2&t?parseFloat(n):n)(e,l.O[t][0]),8&c&&void 0!==i||e===i||Number.isNaN(i)&&Number.isNaN(e)||(s.P.set(t,e),r&&2==(18&c)&&w(s,!1))})(this,n,e,t)},configurable:!0,enumerable:!0})})),1&e){const e=new Map;s.attributeChangedCallback=function(n,l,o){I.jmp((()=>{var i;const c=e.get(n);if(this.hasOwnProperty(c))o=this[c],delete this[c];else{if(s.hasOwnProperty(c)&&"number"==typeof this[c]&&this[c]==o)return;if(null==c){const e=U(this),s=null==e?void 0:e.i;if(s&&!(8&s)&&128&s&&o!==l){const s=e.$,c=null===(i=t.A)||void 0===i?void 0:i[n];null==c||c.forEach((t=>{null!=s[t]&&s[t].call(s,o,l,n)}))}return}}this[c]=(null!==o||"boolean"!=typeof this[c])&&o}))},n.observedAttributes=Array.from(new Set([...Object.keys(null!==(l=t.A)&&void 0!==l?l:{}),...i.filter((([n,t])=>15&t[0])).map((([n,t])=>{const l=t[1]||n;return e.set(l,n),l}))]))}}return n},E=n=>{P(n,"disconnectedCallback")},L=(n,t={})=>{var e;const o=[],i=t.exclude||[],c=B.customElements,r=G.head,a=r.querySelector("meta[charset]"),u=G.createElement("style"),f=[];let d,m=!0;Object.assign(I,t),I.L=new URL(t.resourcesUrl||"./",G.baseURI).href;let h=!1;if(n.map((n=>{n[1].map((t=>{const e={i:t[0],h:t[1],O:t[2],N:t[3]};4&e.i&&(h=!0),e.O=t[2],e.N=t[3];const l=e.h,s=class extends HTMLElement{constructor(n){super(n),q(n=this,e),1&e.i&&n.attachShadow({mode:"open"})}connectedCallback(){d&&(clearTimeout(d),d=null),m?f.push(this):I.jmp((()=>(n=>{if(0==(1&I.i)){const t=U(n),e=t.j,l=()=>{};if(1&t.i)N(n,t,e.N),(null==t?void 0:t.$)||(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"]){b(t,t.v=e);break}}e.O&&Object.entries(e.O).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||(A(l,e,2),l.isProxied=!0);const n=()=>{};t.i|=8;try{new l(t)}catch(n){D(n)}t.i&=-9,n()}if(l.style){let n=l.style;const t=y(e);if(!z.has(t)){const l=()=>{};((n,t,e)=>{let l=z.get(n);K&&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.v,s=()=>w(t,!0);o&&o["s-rc"]?o["s-rc"].push(s):s()})(0,t,e)}l()}})(this)))}disconnectedCallback(){I.jmp((()=>(async()=>{if(0==(1&I.i)){const n=U(this);n.F&&(n.F.map((n=>n())),n.F=void 0),(null==n?void 0:n.$)?E(n.$):(null==n?void 0:n.T)&&n.T.then((()=>E(n.$)))}})()))}componentOnReady(){return U(this).T}};e.H=n[0],i.includes(l)||c.get(l)||(o.push(l),c.define(l,A(s,e,1)))}))})),h&&(u.innerHTML+=l),u.innerHTML+=o+"{visibility:hidden}[hydrated]{visibility:inherit}",u.innerHTML.length){u.setAttribute("data-styles","");const n=null!==(e=I.k)&&void 0!==e?e:s(G);null!=n&&u.setAttribute("nonce",n),r.insertBefore(u,a?a.nextSibling:r.firstChild)}m=!1,f.length?f.map((n=>n.connectedCallback())):I.jmp((()=>d=setTimeout(O,30)))},N=(n,t,e)=>{e&&e.map((([e,l,o])=>{const s=n,i=T(t,o),c=F(e);I.ael(s,l,i,c),(t.F=t.F||[]).push((()=>I.rel(s,l,i,c)))}))},T=(n,t)=>e=>{try{256&n.i?n.$[t](e):(n.S=n.S||[]).push([t,e])}catch(n){D(n)}},F=n=>0!=(2&n),H=n=>I.k=n,R=new WeakMap,U=n=>R.get(n),W=(n,t)=>R.set(t.$=n,t),q=(n,t)=>{const e={i:0,$hostElement$:n,j:t,P:new Map};return e.T=new Promise((n=>e.C=n)),n["s-p"]=[],n["s-rc"]=[],N(n,e,t.N),R.set(n,e)},D=(n,t)=>(0,console.error)(n,t),V=new Map,_=n=>{const t=n.h.replace(/-/g,"_"),e=n.H,l=V.get(e);return l?l[t]:import(`./${e}.entry.js`).then((n=>(V.set(e,n),n[t])),D)
2
+ /*!__STENCIL_STATIC_IMPORT_SWITCH__*/},z=new Map,B="undefined"!=typeof window?window:{},G=B.document||{head:{}},I={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)},J=n=>Promise.resolve(n),K=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(n){}return!1})(),Q=[],X=[],Y=(n,t)=>l=>{n.push(l),e||(e=!0,t&&4&I.i?tn(nn):I.raf(nn))},Z=n=>{for(let t=0;t<n.length;t++)try{n[t](performance.now())}catch(n){D(n)}n.length=0},nn=()=>{Z(Q),Z(X),(e=Q.length>0)&&I.raf(nn)},tn=n=>J().then(n),en=Y(X,!0);export{r as H,L as b,u as c,a as g,i as h,J as p,W as r,H as s}
@@ -1 +1 @@
1
- System.register(["./p-0da95646.system.js"],(function(e,t){"use strict";var c,n;return{setters:[function(t){c=t.p;n=t.b;e("setNonce",t.s)}],execute:function(){var e=function(){var e=t.meta.url;var n={};if(e!==""){n.resourcesUrl=new URL(".",e).href}return c(n)};e().then((function(e){return n([["p-09cc1589.system",[[1,"mds-accordion-timer",{duration:[2],time:[32]},[[0,"mdsAccordionTimerItemClickSelect","onClickActive"],[0,"mdsAccordionTimerItemMouseEnterSelect","onMouseEnterSelect"],[0,"mdsAccordionTimerItemMouseLeaveSelect","onMouseLeaveSelect"]]]]]],e)}))}}}));
1
+ System.register(["./p-ba38686d.system.js"],(function(e,t){"use strict";var c,n;return{setters:[function(t){c=t.p;n=t.b;e("setNonce",t.s)}],execute:function(){var e=function(){var e=t.meta.url;var n={};if(e!==""){n.resourcesUrl=new URL(".",e).href}return c(n)};e().then((function(e){return n([["p-8a701c9c.system",[[1,"mds-accordion-timer",{duration:[2],time:[32]},[[0,"mdsAccordionTimerItemClickSelect","onClickActive"],[0,"mdsAccordionTimerItemMouseEnterSelect","onMouseEnterSelect"],[0,"mdsAccordionTimerItemMouseLeaveSelect","onMouseLeaveSelect"]]]]]],e)}))}}}));
package/dist/stats.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "timestamp": "2023-12-20T08:46:16",
2
+ "timestamp": "2024-01-10T08:22:23",
3
3
  "compiler": {
4
4
  "name": "node",
5
5
  "version": "20.10.0"
@@ -56,17 +56,17 @@
56
56
  "name": "dist-lazy",
57
57
  "files": 35,
58
58
  "generatedFiles": [
59
- "./dist/cjs/index-2cfccbaa.js",
59
+ "./dist/cjs/index-c7a5e0c6.js",
60
60
  "./dist/cjs/index.cjs.js",
61
61
  "./dist/cjs/loader.cjs.js",
62
62
  "./dist/cjs/mds-accordion-timer.cjs.entry.js",
63
63
  "./dist/cjs/mds-accordion-timer.cjs.js",
64
- "./dist/esm-es5/index-df0a164e.js",
64
+ "./dist/esm-es5/index-05afffb2.js",
65
65
  "./dist/esm-es5/index.js",
66
66
  "./dist/esm-es5/loader.js",
67
67
  "./dist/esm-es5/mds-accordion-timer.entry.js",
68
68
  "./dist/esm-es5/mds-accordion-timer.js",
69
- "./dist/esm/index-df0a164e.js",
69
+ "./dist/esm/index-05afffb2.js",
70
70
  "./dist/esm/index.js",
71
71
  "./dist/esm/loader.js",
72
72
  "./dist/esm/mds-accordion-timer.entry.js",
@@ -76,21 +76,21 @@
76
76
  "./dist/mds-accordion-timer/index.esm.js",
77
77
  "./dist/mds-accordion-timer/mds-accordion-timer.esm.js",
78
78
  "./dist/mds-accordion-timer/mds-accordion-timer.js",
79
- "./dist/mds-accordion-timer/p-09cc1589.system.entry.js",
80
- "./dist/mds-accordion-timer/p-0da95646.system.js",
81
- "./dist/mds-accordion-timer/p-36be1c3e.js",
79
+ "./dist/mds-accordion-timer/p-25b4e062.entry.js",
82
80
  "./dist/mds-accordion-timer/p-50ea2036.system.js",
83
- "./dist/mds-accordion-timer/p-8dd76b31.system.js",
84
- "./dist/mds-accordion-timer/p-e57978cc.entry.js",
81
+ "./dist/mds-accordion-timer/p-8a701c9c.system.entry.js",
82
+ "./dist/mds-accordion-timer/p-ba38686d.system.js",
83
+ "./dist/mds-accordion-timer/p-d3af5915.js",
84
+ "./dist/mds-accordion-timer/p-d589761b.system.js",
85
85
  "./www/build/index.esm.js",
86
86
  "./www/build/mds-accordion-timer.esm.js",
87
87
  "./www/build/mds-accordion-timer.js",
88
- "./www/build/p-09cc1589.system.entry.js",
89
- "./www/build/p-0da95646.system.js",
90
- "./www/build/p-36be1c3e.js",
88
+ "./www/build/p-25b4e062.entry.js",
91
89
  "./www/build/p-50ea2036.system.js",
92
- "./www/build/p-8dd76b31.system.js",
93
- "./www/build/p-e57978cc.entry.js"
90
+ "./www/build/p-8a701c9c.system.entry.js",
91
+ "./www/build/p-ba38686d.system.js",
92
+ "./www/build/p-d3af5915.js",
93
+ "./www/build/p-d589761b.system.js"
94
94
  ]
95
95
  },
96
96
  {
@@ -123,10 +123,10 @@
123
123
  "components": [
124
124
  "mds-accordion-timer"
125
125
  ],
126
- "bundleId": "p-e57978cc",
127
- "fileName": "p-e57978cc.entry.js",
126
+ "bundleId": "p-25b4e062",
127
+ "fileName": "p-25b4e062.entry.js",
128
128
  "imports": [
129
- "p-36be1c3e.js"
129
+ "p-d3af5915.js"
130
130
  ],
131
131
  "originalByteSize": 4017
132
132
  }
@@ -140,7 +140,7 @@
140
140
  "bundleId": "mds-accordion-timer",
141
141
  "fileName": "mds-accordion-timer.entry.js",
142
142
  "imports": [
143
- "index-df0a164e.js"
143
+ "index-05afffb2.js"
144
144
  ],
145
145
  "originalByteSize": 4021
146
146
  }
@@ -154,7 +154,7 @@
154
154
  "bundleId": "mds-accordion-timer",
155
155
  "fileName": "mds-accordion-timer.entry.js",
156
156
  "imports": [
157
- "index-df0a164e.js"
157
+ "index-05afffb2.js"
158
158
  ],
159
159
  "originalByteSize": 4021
160
160
  }
@@ -165,10 +165,10 @@
165
165
  "components": [
166
166
  "mds-accordion-timer"
167
167
  ],
168
- "bundleId": "p-09cc1589.system",
169
- "fileName": "p-09cc1589.system.entry.js",
168
+ "bundleId": "p-8a701c9c.system",
169
+ "fileName": "p-8a701c9c.system.entry.js",
170
170
  "imports": [
171
- "p-0da95646.system.js"
171
+ "p-ba38686d.system.js"
172
172
  ],
173
173
  "originalByteSize": 4909
174
174
  }
@@ -182,7 +182,7 @@
182
182
  "bundleId": "mds-accordion-timer.cjs",
183
183
  "fileName": "mds-accordion-timer.cjs.entry.js",
184
184
  "imports": [
185
- "index-2cfccbaa.js"
185
+ "index-c7a5e0c6.js"
186
186
  ],
187
187
  "originalByteSize": 4068
188
188
  }
@@ -370,7 +370,7 @@
370
370
  "modeName": "$",
371
371
  "styleId": "MDS-ACCORDION-TIMER",
372
372
  "styleStr": null,
373
- "styleIdentifier": "mdsAccordionTimerStyle",
373
+ "styleIdentifier": "MdsAccordionTimerStyle",
374
374
  "externalStyles": [
375
375
  {
376
376
  "absolutePath": "/builds/maggiolispa/ricerca-sviluppo-new-media/magma/design-system/projects/stencil/.build/mds-accordion-timer/src/components/mds-accordion-timer/mds-accordion-timer.css",
@@ -474,10 +474,10 @@
474
474
  "htmlParts": [],
475
475
  "isUpdateable": true,
476
476
  "potentialCmpRefs": [],
477
- "directDependencies": [],
478
- "dependencies": [],
479
477
  "dependents": [],
480
- "directDependents": []
478
+ "dependencies": [],
479
+ "directDependents": [],
480
+ "directDependencies": []
481
481
  }
482
482
  ],
483
483
  "entryKey": "mds-accordion-timer.entry"
@@ -485,7 +485,7 @@
485
485
  ],
486
486
  "componentGraph": {
487
487
  "sc-mds-accordion-timer": [
488
- "p-36be1c3e.js"
488
+ "p-d3af5915.js"
489
489
  ]
490
490
  },
491
491
  "sourceGraph": {
@@ -518,5 +518,8 @@
518
518
  "./src/type/typography.ts": [],
519
519
  "./src/type/variant.ts": []
520
520
  },
521
+ "rollupResults": {
522
+ "modules": []
523
+ },
521
524
  "collections": []
522
525
  }
@@ -1,8 +1,8 @@
1
1
  {
2
- "timestamp": "2023-12-20T08:21:18",
2
+ "timestamp": "2024-01-10T08:00:22",
3
3
  "compiler": {
4
4
  "name": "@stencil/core",
5
- "version": "4.8.0",
5
+ "version": "4.9.1",
6
6
  "typescriptVersion": "5.2.2"
7
7
  },
8
8
  "components": [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maggioli-design-system/mds-accordion-timer",
3
- "version": "3.6.2",
3
+ "version": "3.6.4",
4
4
  "description": "mds-accordion-timer 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",
@@ -24,9 +24,9 @@
24
24
  "test": "stencil test --spec --e2e"
25
25
  },
26
26
  "dependencies": {
27
- "@maggioli-design-system/mds-accordion-timer-item": "3.6.2",
28
- "@maggioli-design-system/styles": "14.0.0",
29
- "@stencil/core": "4.8.0"
27
+ "@maggioli-design-system/mds-accordion-timer-item": "3.6.4",
28
+ "@maggioli-design-system/styles": "14.1.0",
29
+ "@stencil/core": "4.9.1"
30
30
  },
31
31
  "license": "MIT",
32
32
  "author": {
@@ -1 +1 @@
1
- import{p as e,b as o}from"./p-36be1c3e.js";export{s as setNonce}from"./p-36be1c3e.js";(()=>{const o=import.meta.url,c={};return""!==o&&(c.resourcesUrl=new URL(".",o).href),e(c)})().then((e=>o([["p-e57978cc",[[1,"mds-accordion-timer",{duration:[2],time:[32]},[[0,"mdsAccordionTimerItemClickSelect","onClickActive"],[0,"mdsAccordionTimerItemMouseEnterSelect","onMouseEnterSelect"],[0,"mdsAccordionTimerItemMouseLeaveSelect","onMouseLeaveSelect"]]]]]],e)));
1
+ import{p as e,b as o}from"./p-d3af5915.js";export{s as setNonce}from"./p-d3af5915.js";(()=>{const o=import.meta.url,t={};return""!==o&&(t.resourcesUrl=new URL(".",o).href),e(t)})().then((e=>o([["p-25b4e062",[[1,"mds-accordion-timer",{duration:[2],time:[32]},[[0,"mdsAccordionTimerItemClickSelect","onClickActive"],[0,"mdsAccordionTimerItemMouseEnterSelect","onMouseEnterSelect"],[0,"mdsAccordionTimerItemMouseLeaveSelect","onMouseLeaveSelect"]]]]]],e)));
@@ -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-8dd76b31.system.js', new URL(resourcesUrl, window.location.origin !== 'null' ? window.location.origin : undefined));
118
+ var url = new URL('./p-d589761b.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 as t,c as s,h as i,H as h,g as e}from"./p-36be1c3e.js";const o=class{constructor(i){t(this,i),this.changeEvent=s(this,"mdsAccordionTimerChange",7),this.clearIntervals=()=>{window.clearInterval(this.timer),window.clearInterval(this.timeChecker),this.timeChecker=0},this.progress=()=>Math.abs(this.remainingTime()/this.duration-1),this.addTimeListener=()=>{this.timeChecker=window.setInterval((()=>{const t=this.progress();void 0!==this.selectedItem&&(this.selectedItem.progress=t),1===t&&(this.selectedItem.progress=0,this.startNext())}),100)},this.beginningTime=()=>(this.timeStarted=(new Date).getTime(),this.timeStarted),this.remainingTime=()=>{const t=this.selectedItemDurationTime-((new Date).getTime()-this.timeStarted);return t>=0?t:0},this.setSelectedItem=t=>{this.children.forEach(((s,i)=>{i===t?(s.selected=!0,this.selectedItem=s,this.changeEvent.emit()):s.selected=!1}))},this.startNext=()=>{this.setSelectedItem(this.selectedItem.uuid+1>this.children.length-1?0:this.selectedItem.uuid+1),this.startTimer()},this.startTimer=()=>{this.clearIntervals(),this.time=this.beginningTime(),this.selectedItemDurationTime=this.duration,this.addTimeListener()},this.playTimer=()=>{this.beginningTime(),this.addTimeListener()},this.pauseTimer=()=>{this.clearIntervals(),this.selectedItemDurationTime=this.remainingTime()},this.stopTimer=()=>{this.clearIntervals()},this.time=0,this.duration=1e4}componentDidLoad(){this.children=this.element.querySelectorAll("mds-accordion-timer-item"),this.children.forEach(((t,s)=>{t.uuid=s,t.selected&&(this.selectedItem=t)})),void 0!==this.selectedItem&&this.startTimer()}disconnectedCallback(){this.stopTimer(),this.clearIntervals()}onClickActive(t){this.selectedItem&&(this.selectedItem.progress=0),this.setSelectedItem(t.detail.uuid),this.startTimer(),this.pauseTimer()}onMouseEnterSelect(){this.pauseTimer()}onMouseLeaveSelect(){0===this.timeChecker&&this.playTimer()}render(){return i(h,null,i("slot",null))}get element(){return e(this)}};o.style=":host{--mds-accordion-timer-progress-bar-color:rgb(var(--tone-neutral-03));--mds-accordion-timer-progress-bar-background:rgb(var(--tone-neutral-08));--mds-accordion-timer-progress-bar-thickness:0.25rem;--mds-accordion-timer-duration:500ms;display:block}";export{o as mds_accordion_timer}
1
+ import{r as t,c as s,h as i,H as h,g as o}from"./p-d3af5915.js";const r=class{constructor(i){t(this,i),this.changeEvent=s(this,"mdsAccordionTimerChange",7),this.clearIntervals=()=>{window.clearInterval(this.timer),window.clearInterval(this.timeChecker),this.timeChecker=0},this.progress=()=>Math.abs(this.remainingTime()/this.duration-1),this.addTimeListener=()=>{this.timeChecker=window.setInterval((()=>{const t=this.progress();void 0!==this.selectedItem&&(this.selectedItem.progress=t),1===t&&(this.selectedItem.progress=0,this.startNext())}),100)},this.beginningTime=()=>(this.timeStarted=(new Date).getTime(),this.timeStarted),this.remainingTime=()=>{const t=this.selectedItemDurationTime-((new Date).getTime()-this.timeStarted);return t>=0?t:0},this.setSelectedItem=t=>{this.children.forEach(((s,i)=>{i===t?(s.selected=!0,this.selectedItem=s,this.changeEvent.emit()):s.selected=!1}))},this.startNext=()=>{this.setSelectedItem(this.selectedItem.uuid+1>this.children.length-1?0:this.selectedItem.uuid+1),this.startTimer()},this.startTimer=()=>{this.clearIntervals(),this.time=this.beginningTime(),this.selectedItemDurationTime=this.duration,this.addTimeListener()},this.playTimer=()=>{this.beginningTime(),this.addTimeListener()},this.pauseTimer=()=>{this.clearIntervals(),this.selectedItemDurationTime=this.remainingTime()},this.stopTimer=()=>{this.clearIntervals()},this.time=0,this.duration=1e4}componentDidLoad(){this.children=this.element.querySelectorAll("mds-accordion-timer-item"),this.children.forEach(((t,s)=>{t.uuid=s,t.selected&&(this.selectedItem=t)})),void 0!==this.selectedItem&&this.startTimer()}disconnectedCallback(){this.stopTimer(),this.clearIntervals()}onClickActive(t){this.selectedItem&&(this.selectedItem.progress=0),this.setSelectedItem(t.detail.uuid),this.startTimer(),this.pauseTimer()}onMouseEnterSelect(){this.pauseTimer()}onMouseLeaveSelect(){0===this.timeChecker&&this.playTimer()}render(){return i(h,null,i("slot",null))}get element(){return o(this)}};r.style=":host{--mds-accordion-timer-progress-bar-color:rgb(var(--tone-neutral-03));--mds-accordion-timer-progress-bar-background:rgb(var(--tone-neutral-08));--mds-accordion-timer-progress-bar-thickness:0.25rem;--mds-accordion-timer-duration:500ms;display:block}";export{r as mds_accordion_timer}
@@ -1 +1 @@
1
- System.register(["./p-0da95646.system.js"],(function(t){"use strict";var i,n,s,r,e;return{setters:[function(t){i=t.r;n=t.c;s=t.h;r=t.H;e=t.g}],execute:function(){var o=":host{--mds-accordion-timer-progress-bar-color:rgb(var(--tone-neutral-03));--mds-accordion-timer-progress-bar-background:rgb(var(--tone-neutral-08));--mds-accordion-timer-progress-bar-thickness:0.25rem;--mds-accordion-timer-duration:500ms;display:block}";var c=t("mds_accordion_timer",function(){function t(t){var s=this;i(this,t);this.changeEvent=n(this,"mdsAccordionTimerChange",7);this.clearIntervals=function(){window.clearInterval(s.timer);window.clearInterval(s.timeChecker);s.timeChecker=0};this.progress=function(){return Math.abs(s.remainingTime()/s.duration-1)};this.addTimeListener=function(){s.timeChecker=window.setInterval((function(){var t=s.progress();if(s.selectedItem!==undefined){s.selectedItem.progress=t}if(t===1){s.selectedItem.progress=0;s.startNext()}}),100)};this.beginningTime=function(){s.timeStarted=(new Date).getTime();return s.timeStarted};this.remainingTime=function(){var t=s.selectedItemDurationTime-((new Date).getTime()-s.timeStarted);return t>=0?t:0};this.setSelectedItem=function(t){s.children.forEach((function(i,n){if(n===t){i.selected=true;s.selectedItem=i;s.changeEvent.emit()}else{i.selected=false}}))};this.startNext=function(){var t=s.selectedItem.uuid+1>s.children.length-1?0:s.selectedItem.uuid+1;s.setSelectedItem(t);s.startTimer()};this.startTimer=function(){s.clearIntervals();s.time=s.beginningTime();s.selectedItemDurationTime=s.duration;s.addTimeListener()};this.playTimer=function(){s.beginningTime();s.addTimeListener()};this.pauseTimer=function(){s.clearIntervals();s.selectedItemDurationTime=s.remainingTime()};this.stopTimer=function(){s.clearIntervals()};this.time=0;this.duration=1e4}t.prototype.componentDidLoad=function(){var t=this;this.children=this.element.querySelectorAll("mds-accordion-timer-item");this.children.forEach((function(i,n){i.uuid=n;if(i.selected){t.selectedItem=i}}));if(this.selectedItem!==undefined){this.startTimer()}};t.prototype.disconnectedCallback=function(){this.stopTimer();this.clearIntervals()};t.prototype.onClickActive=function(t){if(this.selectedItem){this.selectedItem.progress=0}this.setSelectedItem(t.detail.uuid);this.startTimer();this.pauseTimer()};t.prototype.onMouseEnterSelect=function(){this.pauseTimer()};t.prototype.onMouseLeaveSelect=function(){if(this.timeChecker===0){this.playTimer()}};t.prototype.render=function(){return s(r,null,s("slot",null))};Object.defineProperty(t.prototype,"element",{get:function(){return e(this)},enumerable:false,configurable:true});return t}());c.style=o}}}));
1
+ System.register(["./p-ba38686d.system.js"],(function(t){"use strict";var i,n,s,r,e;return{setters:[function(t){i=t.r;n=t.c;s=t.h;r=t.H;e=t.g}],execute:function(){var o=":host{--mds-accordion-timer-progress-bar-color:rgb(var(--tone-neutral-03));--mds-accordion-timer-progress-bar-background:rgb(var(--tone-neutral-08));--mds-accordion-timer-progress-bar-thickness:0.25rem;--mds-accordion-timer-duration:500ms;display:block}";var c=t("mds_accordion_timer",function(){function t(t){var s=this;i(this,t);this.changeEvent=n(this,"mdsAccordionTimerChange",7);this.clearIntervals=function(){window.clearInterval(s.timer);window.clearInterval(s.timeChecker);s.timeChecker=0};this.progress=function(){return Math.abs(s.remainingTime()/s.duration-1)};this.addTimeListener=function(){s.timeChecker=window.setInterval((function(){var t=s.progress();if(s.selectedItem!==undefined){s.selectedItem.progress=t}if(t===1){s.selectedItem.progress=0;s.startNext()}}),100)};this.beginningTime=function(){s.timeStarted=(new Date).getTime();return s.timeStarted};this.remainingTime=function(){var t=s.selectedItemDurationTime-((new Date).getTime()-s.timeStarted);return t>=0?t:0};this.setSelectedItem=function(t){s.children.forEach((function(i,n){if(n===t){i.selected=true;s.selectedItem=i;s.changeEvent.emit()}else{i.selected=false}}))};this.startNext=function(){var t=s.selectedItem.uuid+1>s.children.length-1?0:s.selectedItem.uuid+1;s.setSelectedItem(t);s.startTimer()};this.startTimer=function(){s.clearIntervals();s.time=s.beginningTime();s.selectedItemDurationTime=s.duration;s.addTimeListener()};this.playTimer=function(){s.beginningTime();s.addTimeListener()};this.pauseTimer=function(){s.clearIntervals();s.selectedItemDurationTime=s.remainingTime()};this.stopTimer=function(){s.clearIntervals()};this.time=0;this.duration=1e4}t.prototype.componentDidLoad=function(){var t=this;this.children=this.element.querySelectorAll("mds-accordion-timer-item");this.children.forEach((function(i,n){i.uuid=n;if(i.selected){t.selectedItem=i}}));if(this.selectedItem!==undefined){this.startTimer()}};t.prototype.disconnectedCallback=function(){this.stopTimer();this.clearIntervals()};t.prototype.onClickActive=function(t){if(this.selectedItem){this.selectedItem.progress=0}this.setSelectedItem(t.detail.uuid);this.startTimer();this.pauseTimer()};t.prototype.onMouseEnterSelect=function(){this.pauseTimer()};t.prototype.onMouseLeaveSelect=function(){if(this.timeChecker===0){this.playTimer()}};t.prototype.render=function(){return s(r,null,s("slot",null))};Object.defineProperty(t.prototype,"element",{get:function(){return e(this)},enumerable:false,configurable:true});return t}());c.style=o}}}));
@@ -0,0 +1,2 @@
1
+ var __extends=this&&this.__extends||function(){var n=function(r,e){n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,r){n.__proto__=r}||function(n,r){for(var e in r)if(Object.prototype.hasOwnProperty.call(r,e))n[e]=r[e]};return n(r,e)};return function(r,e){if(typeof e!=="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");n(r,e);function t(){this.constructor=r}r.prototype=e===null?Object.create(e):(t.prototype=e.prototype,new t)}}();var __awaiter=this&&this.__awaiter||function(n,r,e,t){function i(n){return n instanceof e?n:new e((function(r){r(n)}))}return new(e||(e=Promise))((function(e,a){function u(n){try{o(t.next(n))}catch(n){a(n)}}function f(n){try{o(t["throw"](n))}catch(n){a(n)}}function o(n){n.done?e(n.value):i(n.value).then(u,f)}o((t=t.apply(n,r||[])).next())}))};var __generator=this&&this.__generator||function(n,r){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(n){return function(r){return o([n,r])}}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=r.call(n,e)}catch(n){f=[6,n];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(n,r,e){if(e||arguments.length===2)for(var t=0,i=r.length,a;t<i;t++){if(a||!(t in r)){if(!a)a=Array.prototype.slice.call(r,0,t);a[t]=r[t]}}return n.concat(a||Array.prototype.slice.call(r))};System.register([],(function(n,r){"use strict";return{execute:function(){var e=this;var t="mds-accordion-timer";var i;var a;var u=false;var f=function(n,r){if(r===void 0){r=""}{return function(){return}}};var o=function(n,r){{return function(){return}}};var v="{visibility:hidden}[hydrated]{visibility:inherit}";var c="slot-fb{display:contents}slot-fb[hidden]{display:none}";var l=function(n){return n!=null};var s=function(n){n=typeof n;return n==="object"||n==="function"};function d(n){var r,e,t;return(t=(e=(r=n.head)===null||r===void 0?void 0:r.querySelector('meta[name="csp-nonce"]'))===null||e===void 0?void 0:e.getAttribute("content"))!==null&&t!==void 0?t:undefined}var h=n("h",(function(n,r){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(r){for(var e=0;e<r.length;e++){i=r[e];if(Array.isArray(i)){o(i)}else if(i!=null&&typeof i!=="boolean"){if(a=typeof n!=="function"&&!s(i)){i=String(i)}if(a&&u){f[f.length-1].t+=i}else{f.push(a?y(null,i):i)}u=a}}};o(e);var v=y(n,null);v.i=r;if(f.length>0){v.u=f}return v}));var y=function(n,r){var e={o:0,v:n,t:r,l:null,u:null};return e};var p=n("H",{});var w=function(n){return n&&n.v===p};var b=function(n,r){if(n!=null&&!s(n)){if(r&2){return parseFloat(n)}return n}return n};var m=n("g",(function(n){return un(n).$hostElement$}));var _=n("c",(function(n,r,e){var t=m(n);return{emit:function(n){return $(t,r,{bubbles:!!(e&4),composed:!!(e&2),cancelable:!!(e&1),detail:n})}}}));var $=function(n,r,e){var t=yn.ce(r,e);n.dispatchEvent(t);return t};var S=new WeakMap;var g=function(n,r,e){var t=sn.get(n);if(wn&&e){t=t||new CSSStyleSheet;if(typeof t==="string"){t=r}else{t.replaceSync(r)}}else{t=r}sn.set(n,t)};var j=function(n,r,e){var t;var i=A(r);var a=sn.get(i);n=n.nodeType===11?n:hn;if(a){if(typeof a==="string"){n=n.head||n;var u=S.get(n);var f=void 0;if(!u){S.set(n,u=new Set)}if(!u.has(i)){{f=hn.createElement("style");f.innerHTML=a;var o=(t=yn.h)!==null&&t!==void 0?t:d(hn);if(o!=null){f.setAttribute("nonce",o)}n.insertBefore(f,n.querySelector("link"))}if(r.o&4){f.innerHTML+=c}if(u){u.add(i)}}}else if(!n.adoptedStyleSheets.includes(a)){n.adoptedStyleSheets=__spreadArray(__spreadArray([],n.adoptedStyleSheets,true),[a],false)}}return i};var k=function(n){var r=n.p;var e=n.$hostElement$;var t=r.o;var i=f("attachStyles",r.m);var a=j(e.shadowRoot?e.shadowRoot:e.getRootNode(),r);if(t&10){e["s-sc"]=a;e.classList.add(a+"-h")}i()};var A=function(n,r){return"sc-"+n.m};var O=function(n,r,e,t){var u=r.u[e];var f=0;var o;var v;{o=u.l=hn.createElement(u.v);if(l(i)&&o["s-si"]!==i){o.classList.add(o["s-si"]=i)}if(u.u){for(f=0;f<u.u.length;++f){v=O(n,u,f);if(v){o.appendChild(v)}}}}o["s-hn"]=a;return o};var M=function(n,r,e,t,i,u){var f=n;var o;if(f.shadowRoot&&f.tagName===a){f=f.shadowRoot}for(;i<=u;++i){if(t[i]){o=O(null,e,i);if(o){t[i].l=o;f.insertBefore(o,r)}}}};var x=function(n,r,e){for(var t=r;t<=e;++t){var i=n[t];if(i){var a=i.l;if(a){a.remove()}}}};var C=function(n,r,e,t,i){if(i===void 0){i=false}var a=0;var u=0;var f=r.length-1;var o=r[0];var v=r[f];var c=t.length-1;var l=t[0];var s=t[c];var d;while(a<=f&&u<=c){if(o==null){o=r[++a]}else if(v==null){v=r[--f]}else if(l==null){l=t[++u]}else if(s==null){s=t[--c]}else if(P(o,l,i)){E(o,l,i);o=r[++a];l=t[++u]}else if(P(v,s,i)){E(v,s,i);v=r[--f];s=t[--c]}else if(P(o,s,i)){E(o,s,i);n.insertBefore(o.l,v.l.nextSibling);o=r[++a];s=t[--c]}else if(P(v,l,i)){E(v,l,i);n.insertBefore(v.l,o.l);v=r[--f];l=t[++u]}else{{d=O(r&&r[u],e,u);l=t[++u]}if(d){{o.l.parentNode.insertBefore(d,o.l)}}}}if(a>f){M(n,t[c+1]==null?null:t[c+1].l,e,t,u,c)}else if(u>c){x(r,a,f)}};var P=function(n,r,e){if(e===void 0){e=false}if(n.v===r.v){return true}return false};var E=function(n,r,e){if(e===void 0){e=false}var t=r.l=n.l;var i=n.u;var a=r.u;{if(i!==null&&a!==null){C(t,i,r,a,e)}else if(a!==null){M(t,null,r,a,0,a.length-1)}else if(i!==null){x(i,0,i.length-1)}}};var T=function(n,r,e){if(e===void 0){e=false}var t=n.$hostElement$;var u=n._||y(null,null);var f=w(r)?r:h(null,null,r);a=t.tagName;if(e&&f.i){for(var o=0,v=Object.keys(f.i);o<v.length;o++){var c=v[o];if(t.hasAttribute(c)&&!["key","ref","style","class"].includes(c)){f.i[c]=t[c]}}}f.v=null;f.o|=4;n._=f;f.l=u.l=t.shadowRoot||t;{i=t["s-sc"]}E(u,f,e)};var U=function(n,r){if(r&&!n.$&&r["s-p"]){r["s-p"].push(new Promise((function(r){return n.$=r})))}};var L=function(n,r){{n.o|=16}if(n.o&4){n.o|=512;return}U(n,n.S);var e=function(){return N(n,r)};return jn(e)};var N=function(n,r){var e=f("scheduleUpdate",n.p.m);var t=n.j;var i;if(r){{n.o|=256;if(n.k){n.k.map((function(n){var r=n[0],e=n[1];return I(t,r,e)}));n.k=undefined}}}e();return F(i,(function(){return W(n,t,r)}))};var F=function(n,r){return H(n)?n.then(r):r()};var H=function(n){return n instanceof Promise||n&&n.then&&typeof n.then==="function"};var W=function(n,r,t){return __awaiter(e,void 0,void 0,(function(){var e,i,a,u,o,v,c;return __generator(this,(function(l){i=n.$hostElement$;a=f("update",n.p.m);u=i["s-rc"];if(t){k(n)}o=f("render",n.p.m);{q(n,r,i,t)}if(u){u.map((function(n){return n()}));i["s-rc"]=undefined}o();a();{v=(e=i["s-p"])!==null&&e!==void 0?e:[];c=function(){return D(n)};if(v.length===0){c()}else{Promise.all(v).then(c);n.o|=4;v.length=0}}return[2]}))}))};var q=function(n,r,e,t){try{r=r.render();{n.o&=~16}{n.o|=2}{{{T(n,r,t)}}}}catch(r){vn(r,n.$hostElement$)}return null};var D=function(n){var r=n.p.m;var e=n.$hostElement$;var t=f("postUpdate",r);var i=n.j;var a=n.S;if(!(n.o&64)){n.o|=64;{R(e)}{I(i,"componentDidLoad")}t();{n.A(e);if(!a){G()}}}else{t()}{if(n.$){n.$();n.$=undefined}if(n.o&512){gn((function(){return L(n,false)}))}n.o&=~(4|512)}};var G=function(n){{R(hn.documentElement)}gn((function(){return $(dn,"appload",{detail:{namespace:t}})}))};var I=function(n,r,e){if(n&&n[r]){try{return n[r](e)}catch(n){vn(n)}}return undefined};var R=function(n){return n.setAttribute("hydrated","")};var V=function(n,r){return un(n).O.get(r)};var z=function(n,r,e,t){var i=un(n);var a=i.O.get(r);var u=i.o;var f=i.j;e=b(e,t.M[r][0]);var o=Number.isNaN(a)&&Number.isNaN(e);var v=e!==a&&!o;if((!(u&8)||a===undefined)&&v){i.O.set(r,e);if(f){if((u&(2|16))===2){L(i,false)}}}};var B=function(n,r,e){var t;var i=n.prototype;if(r.M){var a=Object.entries(r.M);a.map((function(n){var t=n[0],a=n[1][0];if(a&31||e&2&&a&32){Object.defineProperty(i,t,{get:function(){return V(this,t)},set:function(n){z(this,t,n,r)},configurable:true,enumerable:true})}}));if(e&1){var u=new Map;i.attributeChangedCallback=function(n,e,t){var a=this;yn.jmp((function(){var f;var o=u.get(n);if(a.hasOwnProperty(o)){t=a[o];delete a[o]}else if(i.hasOwnProperty(o)&&typeof a[o]==="number"&&a[o]==t){return}else if(o==null){var v=un(a);var c=v===null||v===void 0?void 0:v.o;if(c&&!(c&8)&&c&128&&t!==e){var l=v.j;var s=(f=r.C)===null||f===void 0?void 0:f[n];s===null||s===void 0?void 0:s.forEach((function(r){if(l[r]!=null){l[r].call(l,t,e,n)}}))}return}a[o]=t===null&&typeof a[o]==="boolean"?false:t}))};n.observedAttributes=Array.from(new Set(__spreadArray(__spreadArray([],Object.keys((t=r.C)!==null&&t!==void 0?t:{}),true),a.filter((function(n){var r=n[0],e=n[1];return e[0]&15})).map((function(n){var r=n[0],e=n[1];var t=e[1]||r;u.set(t,r);return t})),true)))}}return n};var J=function(n,r,t,i){return __awaiter(e,void 0,void 0,(function(){var n,e,i,a,u,v,c,l;return __generator(this,(function(s){switch(s.label){case 0:if(!((r.o&32)===0))return[3,3];r.o|=32;n=ln(t);if(!n.then)return[3,2];e=o();return[4,n];case 1:n=s.sent();e();s.label=2;case 2:if(!n.isProxied){B(n,t,2);n.isProxied=true}i=f("createInstance",t.m);{r.o|=8}try{new n(r)}catch(n){vn(n)}{r.o&=~8}i();if(n.style){a=n.style;u=A(t);if(!sn.has(u)){v=f("registerStyles",t.m);g(u,a,!!(t.o&1));v()}}s.label=3;case 3:c=r.S;l=function(){return L(r,true)};if(c&&c["s-rc"]){c["s-rc"].push(l)}else{l()}return[2]}}))}))};var K=function(n){};var Q=function(n){if((yn.o&1)===0){var r=un(n);var e=r.p;var t=f("connectedCallback",e.m);if(!(r.o&1)){r.o|=1;{var i=n;while(i=i.parentNode||i.host){if(i["s-p"]){U(r,r.S=i);break}}}if(e.M){Object.entries(e.M).map((function(r){var e=r[0],t=r[1][0];if(t&31&&n.hasOwnProperty(e)){var i=n[e];delete n[e];n[e]=i}}))}{J(n,r,e)}}else{nn(n,r,e.P);if(r===null||r===void 0?void 0:r.j);else if(r===null||r===void 0?void 0:r.T){r.T.then((function(){return K()}))}}t()}};var X=function(n){{I(n,"disconnectedCallback")}};var Y=function(n){return __awaiter(e,void 0,void 0,(function(){var r;return __generator(this,(function(e){if((yn.o&1)===0){r=un(n);{if(r.U){r.U.map((function(n){return n()}));r.U=undefined}}if(r===null||r===void 0?void 0:r.j){X(r.j)}else if(r===null||r===void 0?void 0:r.T){r.T.then((function(){return X(r.j)}))}}return[2]}))}))};var Z=n("b",(function(n,r){if(r===void 0){r={}}var e;var t=f();var i=[];var a=r.exclude||[];var u=dn.customElements;var o=hn.head;var l=o.querySelector("meta[charset]");var s=hn.createElement("style");var h=[];var y;var p=true;Object.assign(yn,r);yn.L=new URL(r.resourcesUrl||"./",hn.baseURI).href;var w=false;n.map((function(n){n[1].map((function(r){var e={o:r[0],m:r[1],M:r[2],P:r[3]};if(e.o&4){w=true}{e.M=r[2]}{e.P=r[3]}var t=e.m;var f=function(n){__extends(r,n);function r(r){var t=n.call(this,r)||this;r=t;on(r,e);if(e.o&1){{{r.attachShadow({mode:"open"})}}}return t}r.prototype.connectedCallback=function(){var n=this;if(y){clearTimeout(y);y=null}if(p){h.push(this)}else{yn.jmp((function(){return Q(n)}))}};r.prototype.disconnectedCallback=function(){var n=this;yn.jmp((function(){return Y(n)}))};r.prototype.componentOnReady=function(){return un(this).T};return r}(HTMLElement);e.N=n[0];if(!a.includes(t)&&!u.get(t)){i.push(t);u.define(t,B(f,e,1))}}))}));if(w){s.innerHTML+=c}{s.innerHTML+=i+v}if(s.innerHTML.length){s.setAttribute("data-styles","");var b=(e=yn.h)!==null&&e!==void 0?e:d(hn);if(b!=null){s.setAttribute("nonce",b)}o.insertBefore(s,l?l.nextSibling:o.firstChild)}p=false;if(h.length){h.map((function(n){return n.connectedCallback()}))}else{{yn.jmp((function(){return y=setTimeout(G,30)}))}}t()}));var nn=function(n,r,e,t){if(e){e.map((function(e){var t=e[0],i=e[1],a=e[2];var u=n;var f=rn(r,a);var o=en(t);yn.ael(u,i,f,o);(r.U=r.U||[]).push((function(){return yn.rel(u,i,f,o)}))}))}};var rn=function(n,r){return function(e){try{{if(n.o&256){n.j[r](e)}else{(n.k=n.k||[]).push([r,e])}}}catch(n){vn(n)}}};var en=function(n){return(n&2)!==0};var tn=n("s",(function(n){return yn.h=n}));var an=new WeakMap;var un=function(n){return an.get(n)};var fn=n("r",(function(n,r){return an.set(r.j=n,r)}));var on=function(n,r){var e={o:0,$hostElement$:n,p:r,O:new Map};{e.T=new Promise((function(n){return e.A=n}));n["s-p"]=[];n["s-rc"]=[]}nn(n,e,r.P);return an.set(n,e)};var vn=function(n,r){return(0,console.error)(n,r)};var cn=new Map;var ln=function(n,e,t){var i=n.m.replace(/-/g,"_");var a=n.N;var u=cn.get(a);if(u){return u[i]}
2
+ /*!__STENCIL_STATIC_IMPORT_SWITCH__*/return r.import("./".concat(a,".entry.js").concat("")).then((function(n){{cn.set(a,n)}return n[i]}),vn)};var sn=new Map;var dn=typeof window!=="undefined"?window:{};var hn=dn.document||{head:{}};var yn={o:0,L:"",jmp:function(n){return n()},raf:function(n){return requestAnimationFrame(n)},ael:function(n,r,e,t){return n.addEventListener(r,e,t)},rel:function(n,r,e,t){return n.removeEventListener(r,e,t)},ce:function(n,r){return new CustomEvent(n,r)}};var pn=n("p",(function(n){return Promise.resolve(n)}));var wn=function(){try{new CSSStyleSheet;return typeof(new CSSStyleSheet).replaceSync==="function"}catch(n){}return false}();var bn=[];var mn=[];var _n=function(n,r){return function(e){n.push(e);if(!u){u=true;if(r&&yn.o&4){gn(Sn)}else{yn.raf(Sn)}}}};var $n=function(n){for(var r=0;r<n.length;r++){try{n[r](performance.now())}catch(n){vn(n)}}n.length=0};var Sn=function(){$n(bn);{$n(mn);if(u=bn.length>0){yn.raf(Sn)}}};var gn=function(n){return pn().then(n)};var jn=_n(mn,true)}}}));
@@ -0,0 +1,2 @@
1
+ let n,t,e=!1;const l="slot-fb{display:contents}slot-fb[hidden]{display:none}",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=[],a=t=>{for(let e=0;e<t.length;e++)l=t[e],Array.isArray(l)?a(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)};a(e);const u=c(n,null);return u.l=t,r.length>0&&(u.o=r),u},c=(n,t)=>({i:0,u:n,t,m:null,o:null}),r={},a=n=>U(n).$hostElement$,u=(n,t,e)=>{const l=a(n);return{emit:n=>f(l,t,{bubbles:!!(4&e),composed:!!(2&e),cancelable:!!(1&e),detail:n})}},f=(n,t,e)=>{const l=I.ce(t,e);return n.dispatchEvent(l),l},d=new WeakMap,y=n=>"sc-"+n.h,m=(e,l,o)=>{const s=l.o[o];let i,c,r=0;if(i=s.m=G.createElement(s.u),null!=n&&i["s-si"]!==n&&i.classList.add(i["s-si"]=n),s.o)for(r=0;r<s.o.length;++r)c=m(e,s,r),c&&i.appendChild(c);return i["s-hn"]=t,i},h=(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=m(null,l,s),c&&(o[s].m=c,r.insertBefore(c,e)))},p=(n,t,e)=>{for(let l=t;l<=e;++l){const t=n[l];if(t){const n=t.m;n&&n.remove()}}},v=(n,t)=>n.u===t.u,$=(n,t,e=!1)=>{const l=t.m=n.m,o=n.o,s=t.o;null!==o&&null!==s?((n,t,e,l,o=!1)=>{let s,i=0,c=0,r=t.length-1,a=t[0],u=t[r],f=l.length-1,d=l[0],y=l[f];for(;i<=r&&c<=f;)null==a?a=t[++i]:null==u?u=t[--r]:null==d?d=l[++c]:null==y?y=l[--f]:v(a,d)?($(a,d,o),a=t[++i],d=l[++c]):v(u,y)?($(u,y,o),u=t[--r],y=l[--f]):v(a,y)?($(a,y,o),n.insertBefore(a.m,u.m.nextSibling),a=t[++i],y=l[--f]):v(u,d)?($(u,d,o),n.insertBefore(u.m,a.m),u=t[--r],d=l[++c]):(s=m(t&&t[c],e,c),d=l[++c],s&&a.m.parentNode.insertBefore(s,a.m));i>r?h(n,null==l[f+1]?null:l[f+1].m,e,l,c,f):c>f&&p(t,i,r)})(l,o,t,s,e):null!==s?h(l,null,t,s,0,s.length-1):null!==o&&p(o,0,o.length-1)},b=(n,t)=>{t&&!n.p&&t["s-p"]&&t["s-p"].push(new Promise((t=>n.p=t)))},w=(n,t)=>{if(n.i|=16,!(4&n.i))return b(n,n.v),en((()=>S(n,t)));n.i|=512},S=(n,t)=>{const e=n.$;return t&&(n.i|=256,n.S&&(n.S.map((([n,t])=>P(e,n,t))),n.S=void 0)),g(void 0,(()=>k(n,e,t)))},g=(n,t)=>j(n)?n.then(t):t(),j=n=>n instanceof Promise||n&&n.then&&"function"==typeof n.then,k=async(n,t,e)=>{var o;const i=n.$hostElement$,c=i["s-rc"];e&&(n=>{const t=n.j,e=n.$hostElement$,o=t.i,i=((n,t)=>{var e;const o=y(t),i=z.get(o);if(n=11===n.nodeType?n:G,i)if("string"==typeof i){let c,r=d.get(n=n.head||n);if(r||d.set(n,r=new Set),!r.has(o)){{c=G.createElement("style"),c.innerHTML=i;const t=null!==(e=I.k)&&void 0!==e?e:s(G);null!=t&&c.setAttribute("nonce",t),n.insertBefore(c,n.querySelector("link"))}4&t.i&&(c.innerHTML+=l),r&&r.add(o)}}else n.adoptedStyleSheets.includes(i)||(n.adoptedStyleSheets=[...n.adoptedStyleSheets,i]);return o})(e.shadowRoot?e.shadowRoot:e.getRootNode(),t);10&o&&(e["s-sc"]=i,e.classList.add(i+"-h"))})(n);M(n,t,i,e),c&&(c.map((n=>n())),i["s-rc"]=void 0);{const t=null!==(o=i["s-p"])&&void 0!==o?o:[],e=()=>C(n);0===t.length?e():(Promise.all(t).then(e),n.i|=4,t.length=0)}},M=(e,l,o,s)=>{try{l=l.render(),e.i&=-17,e.i|=2,((e,l,o=!1)=>{const s=e.$hostElement$,a=e.M||c(null,null),u=(n=>n&&n.u===r)(l)?l:i(null,null,l);if(t=s.tagName,o&&u.l)for(const n of Object.keys(u.l))s.hasAttribute(n)&&!["key","ref","style","class"].includes(n)&&(u.l[n]=s[n]);u.u=null,u.i|=4,e.M=u,u.m=a.m=s.shadowRoot||s,n=s["s-sc"],$(a,u,o)})(e,l,s)}catch(n){D(n,e.$hostElement$)}return null},C=n=>{const t=n.$hostElement$,e=n.$,l=n.v;64&n.i||(n.i|=64,x(t),P(e,"componentDidLoad"),n.C(t),l||O()),n.p&&(n.p(),n.p=void 0),512&n.i&&tn((()=>w(n,!1))),n.i&=-517},O=()=>{x(G.documentElement),tn((()=>f(B,"appload",{detail:{namespace:"mds-accordion-timer"}})))},P=(n,t,e)=>{if(n&&n[t])try{return n[t](e)}catch(n){D(n)}},x=n=>n.setAttribute("hydrated",""),A=(n,t,e)=>{var l;const s=n.prototype;if(t.O){const i=Object.entries(t.O);if(i.map((([n,[l]])=>{(31&l||2&e&&32&l)&&Object.defineProperty(s,n,{get(){return((n,t)=>U(this).P.get(t))(0,n)},set(e){((n,t,e,l)=>{const s=U(n),i=s.P.get(t),c=s.i,r=s.$;e=((n,t)=>null==n||o(n)?n:2&t?parseFloat(n):n)(e,l.O[t][0]),8&c&&void 0!==i||e===i||Number.isNaN(i)&&Number.isNaN(e)||(s.P.set(t,e),r&&2==(18&c)&&w(s,!1))})(this,n,e,t)},configurable:!0,enumerable:!0})})),1&e){const e=new Map;s.attributeChangedCallback=function(n,l,o){I.jmp((()=>{var i;const c=e.get(n);if(this.hasOwnProperty(c))o=this[c],delete this[c];else{if(s.hasOwnProperty(c)&&"number"==typeof this[c]&&this[c]==o)return;if(null==c){const e=U(this),s=null==e?void 0:e.i;if(s&&!(8&s)&&128&s&&o!==l){const s=e.$,c=null===(i=t.A)||void 0===i?void 0:i[n];null==c||c.forEach((t=>{null!=s[t]&&s[t].call(s,o,l,n)}))}return}}this[c]=(null!==o||"boolean"!=typeof this[c])&&o}))},n.observedAttributes=Array.from(new Set([...Object.keys(null!==(l=t.A)&&void 0!==l?l:{}),...i.filter((([n,t])=>15&t[0])).map((([n,t])=>{const l=t[1]||n;return e.set(l,n),l}))]))}}return n},E=n=>{P(n,"disconnectedCallback")},L=(n,t={})=>{var e;const o=[],i=t.exclude||[],c=B.customElements,r=G.head,a=r.querySelector("meta[charset]"),u=G.createElement("style"),f=[];let d,m=!0;Object.assign(I,t),I.L=new URL(t.resourcesUrl||"./",G.baseURI).href;let h=!1;if(n.map((n=>{n[1].map((t=>{const e={i:t[0],h:t[1],O:t[2],N:t[3]};4&e.i&&(h=!0),e.O=t[2],e.N=t[3];const l=e.h,s=class extends HTMLElement{constructor(n){super(n),q(n=this,e),1&e.i&&n.attachShadow({mode:"open"})}connectedCallback(){d&&(clearTimeout(d),d=null),m?f.push(this):I.jmp((()=>(n=>{if(0==(1&I.i)){const t=U(n),e=t.j,l=()=>{};if(1&t.i)N(n,t,e.N),(null==t?void 0:t.$)||(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"]){b(t,t.v=e);break}}e.O&&Object.entries(e.O).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||(A(l,e,2),l.isProxied=!0);const n=()=>{};t.i|=8;try{new l(t)}catch(n){D(n)}t.i&=-9,n()}if(l.style){let n=l.style;const t=y(e);if(!z.has(t)){const l=()=>{};((n,t,e)=>{let l=z.get(n);K&&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.v,s=()=>w(t,!0);o&&o["s-rc"]?o["s-rc"].push(s):s()})(0,t,e)}l()}})(this)))}disconnectedCallback(){I.jmp((()=>(async()=>{if(0==(1&I.i)){const n=U(this);n.F&&(n.F.map((n=>n())),n.F=void 0),(null==n?void 0:n.$)?E(n.$):(null==n?void 0:n.T)&&n.T.then((()=>E(n.$)))}})()))}componentOnReady(){return U(this).T}};e.H=n[0],i.includes(l)||c.get(l)||(o.push(l),c.define(l,A(s,e,1)))}))})),h&&(u.innerHTML+=l),u.innerHTML+=o+"{visibility:hidden}[hydrated]{visibility:inherit}",u.innerHTML.length){u.setAttribute("data-styles","");const n=null!==(e=I.k)&&void 0!==e?e:s(G);null!=n&&u.setAttribute("nonce",n),r.insertBefore(u,a?a.nextSibling:r.firstChild)}m=!1,f.length?f.map((n=>n.connectedCallback())):I.jmp((()=>d=setTimeout(O,30)))},N=(n,t,e)=>{e&&e.map((([e,l,o])=>{const s=n,i=T(t,o),c=F(e);I.ael(s,l,i,c),(t.F=t.F||[]).push((()=>I.rel(s,l,i,c)))}))},T=(n,t)=>e=>{try{256&n.i?n.$[t](e):(n.S=n.S||[]).push([t,e])}catch(n){D(n)}},F=n=>0!=(2&n),H=n=>I.k=n,R=new WeakMap,U=n=>R.get(n),W=(n,t)=>R.set(t.$=n,t),q=(n,t)=>{const e={i:0,$hostElement$:n,j:t,P:new Map};return e.T=new Promise((n=>e.C=n)),n["s-p"]=[],n["s-rc"]=[],N(n,e,t.N),R.set(n,e)},D=(n,t)=>(0,console.error)(n,t),V=new Map,_=n=>{const t=n.h.replace(/-/g,"_"),e=n.H,l=V.get(e);return l?l[t]:import(`./${e}.entry.js`).then((n=>(V.set(e,n),n[t])),D)
2
+ /*!__STENCIL_STATIC_IMPORT_SWITCH__*/},z=new Map,B="undefined"!=typeof window?window:{},G=B.document||{head:{}},I={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)},J=n=>Promise.resolve(n),K=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(n){}return!1})(),Q=[],X=[],Y=(n,t)=>l=>{n.push(l),e||(e=!0,t&&4&I.i?tn(nn):I.raf(nn))},Z=n=>{for(let t=0;t<n.length;t++)try{n[t](performance.now())}catch(n){D(n)}n.length=0},nn=()=>{Z(Q),Z(X),(e=Q.length>0)&&I.raf(nn)},tn=n=>J().then(n),en=Y(X,!0);export{r as H,L as b,u as c,a as g,i as h,J as p,W as r,H as s}
@@ -1 +1 @@
1
- System.register(["./p-0da95646.system.js"],(function(e,t){"use strict";var c,n;return{setters:[function(t){c=t.p;n=t.b;e("setNonce",t.s)}],execute:function(){var e=function(){var e=t.meta.url;var n={};if(e!==""){n.resourcesUrl=new URL(".",e).href}return c(n)};e().then((function(e){return n([["p-09cc1589.system",[[1,"mds-accordion-timer",{duration:[2],time:[32]},[[0,"mdsAccordionTimerItemClickSelect","onClickActive"],[0,"mdsAccordionTimerItemMouseEnterSelect","onMouseEnterSelect"],[0,"mdsAccordionTimerItemMouseLeaveSelect","onMouseLeaveSelect"]]]]]],e)}))}}}));
1
+ System.register(["./p-ba38686d.system.js"],(function(e,t){"use strict";var c,n;return{setters:[function(t){c=t.p;n=t.b;e("setNonce",t.s)}],execute:function(){var e=function(){var e=t.meta.url;var n={};if(e!==""){n.resourcesUrl=new URL(".",e).href}return c(n)};e().then((function(e){return n([["p-8a701c9c.system",[[1,"mds-accordion-timer",{duration:[2],time:[32]},[[0,"mdsAccordionTimerItemClickSelect","onClickActive"],[0,"mdsAccordionTimerItemMouseEnterSelect","onMouseEnterSelect"],[0,"mdsAccordionTimerItemMouseLeaveSelect","onMouseLeaveSelect"]]]]]],e)}))}}}));
@@ -1 +0,0 @@
1
- var __extends=this&&this.__extends||function(){var e=function(n,r){e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,n){e.__proto__=n}||function(e,n){for(var r in n)if(Object.prototype.hasOwnProperty.call(n,r))e[r]=n[r]};return e(n,r)};return function(n,r){if(typeof r!=="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");e(n,r);function t(){this.constructor=n}n.prototype=r===null?Object.create(r):(t.prototype=r.prototype,new t)}}();var __awaiter=this&&this.__awaiter||function(e,n,r,t){function a(e){return e instanceof r?e:new r((function(n){n(e)}))}return new(r||(r=Promise))((function(r,i){function o(e){try{c(t.next(e))}catch(e){i(e)}}function u(e){try{c(t["throw"](e))}catch(e){i(e)}}function c(e){e.done?r(e.value):a(e.value).then(o,u)}c((t=t.apply(e,n||[])).next())}))};var __generator=this&&this.__generator||function(e,n){var r={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(n){return c([e,n])}}function c(u){if(t)throw new TypeError("Generator is already executing.");while(o&&(o=0,u[0]&&(r=0)),r)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:r.label++;return{value:u[1],done:false};case 5:r.label++;a=u[1];u=[0];continue;case 7:u=r.ops.pop();r.trys.pop();continue;default:if(!(i=r.trys,i=i.length>0&&i[i.length-1])&&(u[0]===6||u[0]===2)){r=0;continue}if(u[0]===3&&(!i||u[1]>i[0]&&u[1]<i[3])){r.label=u[1];break}if(u[0]===6&&r.label<i[1]){r.label=i[1];i=u;break}if(i&&r.label<i[2]){r.label=i[2];r.ops.push(u);break}if(i[2])r.ops.pop();r.trys.pop();continue}u=n.call(e,r)}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,n,r){if(r||arguments.length===2)for(var t=0,a=n.length,i;t<a;t++){if(i||!(t in n)){if(!i)i=Array.prototype.slice.call(n,0,t);i[t]=n[t]}}return e.concat(i||Array.prototype.slice.call(n))};var NAMESPACE="mds-accordion-timer";var scopeId;var hostTagName;var queuePending=false;var createTime=function(e,n){if(n===void 0){n=""}{return function(){return}}};var uniqueTime=function(e,n){{return function(){return}}};var HYDRATED_CSS="{visibility:hidden}[hydrated]{visibility:inherit}";var SLOT_FB_CSS="slot-fb{display:contents}slot-fb[hidden]{display:none}";var isDef=function(e){return e!=null};var isComplexType=function(e){e=typeof e;return e==="object"||e==="function"};function queryNonceMetaTagContent(e){var n,r,t;return(t=(r=(n=e.head)===null||n===void 0?void 0:n.querySelector('meta[name="csp-nonce"]'))===null||r===void 0?void 0:r.getAttribute("content"))!==null&&t!==void 0?t:undefined}var h=function(e,n){var r=[];for(var t=2;t<arguments.length;t++){r[t-2]=arguments[t]}var a=null;var i=false;var o=false;var u=[];var c=function(n){for(var r=0;r<n.length;r++){a=n[r];if(Array.isArray(a)){c(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}}};c(r);var f=newVNode(e,null);f.i=n;if(u.length>0){f.o=u}return f};var newVNode=function(e,n){var r={u:0,l:e,t:n,v:null,o:null};return r};var Host={};var isHost=function(e){return e&&e.l===Host};var parsePropertyValue=function(e,n){if(e!=null&&!isComplexType(e)){if(n&2){return parseFloat(e)}return e}return e};var getElement=function(e){return getHostRef(e).$hostElement$};var createEvent=function(e,n,r){var t=getElement(e);return{emit:function(e){return emitEvent(t,n,{bubbles:!!(r&4),composed:!!(r&2),cancelable:!!(r&1),detail:e})}}};var emitEvent=function(e,n,r){var t=plt.ce(n,r);e.dispatchEvent(t);return t};var rootAppliedStyles=new WeakMap;var registerStyle=function(e,n,r){var t=styles.get(e);if(supportsConstructableStylesheets&&r){t=t||new CSSStyleSheet;if(typeof t==="string"){t=n}else{t.replaceSync(n)}}else{t=n}styles.set(e,t)};var addStyle=function(e,n,r){var t;var a=getScopeId(n);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 c=(t=plt.p)!==null&&t!==void 0?t:queryNonceMetaTagContent(doc);if(c!=null){u.setAttribute("nonce",c)}e.insertBefore(u,e.querySelector("link"))}if(n.u&4){u.innerHTML+=SLOT_FB_CSS}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 n=e.m;var r=e.$hostElement$;var t=n.u;var a=createTime("attachStyles",n.h);var i=addStyle(r.shadowRoot?r.shadowRoot:r.getRootNode(),n);if(t&10){r["s-sc"]=i;r.classList.add(i+"-h")}a()};var getScopeId=function(e,n){return"sc-"+e.h};var createElm=function(e,n,r,t){var a=n.o[r];var i=0;var o;var u;{o=a.v=doc.createElement(a.l);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,n,r,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,r,a);if(u){t[a].v=u;o.insertBefore(u,n)}}}};var removeVnodes=function(e,n,r){for(var t=n;t<=r;++t){var a=e[t];if(a){var i=a.v;if(i){i.remove()}}}};var updateChildren=function(e,n,r,t){var a=0;var i=0;var o=n.length-1;var u=n[0];var c=n[o];var f=t.length-1;var s=t[0];var l=t[f];var v;while(a<=o&&i<=f){if(u==null){u=n[++a]}else if(c==null){c=n[--o]}else if(s==null){s=t[++i]}else if(l==null){l=t[--f]}else if(isSameVnode(u,s)){patch(u,s);u=n[++a];s=t[++i]}else if(isSameVnode(c,l)){patch(c,l);c=n[--o];l=t[--f]}else if(isSameVnode(u,l)){patch(u,l);e.insertBefore(u.v,c.v.nextSibling);u=n[++a];l=t[--f]}else if(isSameVnode(c,s)){patch(c,s);e.insertBefore(c.v,u.v);c=n[--o];s=t[++i]}else{{v=createElm(n&&n[i],r,i);s=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,r,t,i,f)}else if(i>f){removeVnodes(n,a,o)}};var isSameVnode=function(e,n){if(e.l===n.l){return true}return false};var patch=function(e,n){var r=n.v=e.v;var t=e.o;var a=n.o;{if(t!==null&&a!==null){updateChildren(r,t,n,a)}else if(a!==null){addVnodes(r,null,n,a,0,a.length-1)}else if(t!==null){removeVnodes(t,0,t.length-1)}}};var renderVdom=function(e,n,r){if(r===void 0){r=false}var t=e.$hostElement$;var a=e.S||newVNode(null,null);var i=isHost(n)?n:h(null,null,n);hostTagName=t.tagName;if(r&&i.i){for(var o=0,u=Object.keys(i.i);o<u.length;o++){var c=u[o];if(t.hasAttribute(c)&&!["key","ref","style","class"].includes(c)){i.i[c]=t[c]}}}i.l=null;i.u|=4;e.S=i;i.v=a.v=t.shadowRoot||t;{scopeId=t["s-sc"]}patch(a,i)};var attachToAncestor=function(e,n){if(n&&!e.C&&n["s-p"]){n["s-p"].push(new Promise((function(n){return e.C=n})))}};var scheduleUpdate=function(e,n){{e.u|=16}if(e.u&4){e.u|=512;return}attachToAncestor(e,e._);var r=function(){return dispatchHooks(e,n)};return writeTask(r)};var dispatchHooks=function(e,n){var r=createTime("scheduleUpdate",e.m.h);var t=e.T;var a;if(n){{e.u|=256;if(e.$){e.$.map((function(e){var n=e[0],r=e[1];return safeCall(t,n,r)}));e.$=undefined}}}r();return enqueue(a,(function(){return updateComponent(e,t,n)}))};var enqueue=function(e,n){return isPromisey(e)?e.then(n):n()};var isPromisey=function(e){return e instanceof Promise||e&&e.then&&typeof e.then==="function"};var updateComponent=function(e,n,r){return __awaiter(void 0,void 0,void 0,(function(){var t,a,i,o,u,c,f;return __generator(this,(function(s){a=e.$hostElement$;i=createTime("update",e.m.h);o=a["s-rc"];if(r){attachStyles(e)}u=createTime("render",e.m.h);{callRender(e,n,a,r)}if(o){o.map((function(e){return e()}));a["s-rc"]=undefined}u();i();{c=(t=a["s-p"])!==null&&t!==void 0?t:[];f=function(){return postUpdateComponent(e)};if(c.length===0){f()}else{Promise.all(c).then(f);e.u|=4;c.length=0}}return[2]}))}))};var callRender=function(e,n,r,t){try{n=n.render();{e.u&=~16}{e.u|=2}{{{renderVdom(e,n,t)}}}}catch(n){consoleError(n,e.$hostElement$)}return null};var postUpdateComponent=function(e){var n=e.m.h;var r=e.$hostElement$;var t=createTime("postUpdate",n);var a=e.T;var i=e._;if(!(e.u&64)){e.u|=64;{addHydratedFlag(r)}{safeCall(a,"componentDidLoad")}t();{e.k(r);if(!i){appDidLoad()}}}else{t()}{if(e.C){e.C();e.C=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,n,r){if(e&&e[n]){try{return e[n](r)}catch(e){consoleError(e)}}return undefined};var addHydratedFlag=function(e){return e.setAttribute("hydrated","")};var getValue=function(e,n){return getHostRef(e).H.get(n)};var setValue=function(e,n,r,t){var a=getHostRef(e);var i=a.H.get(n);var o=a.u;var u=a.T;r=parsePropertyValue(r,t.V[n][0]);var c=Number.isNaN(i)&&Number.isNaN(r);var f=r!==i&&!c;if((!(o&8)||i===undefined)&&f){a.H.set(n,r);if(u){if((o&(2|16))===2){scheduleUpdate(a,false)}}}};var proxyComponent=function(e,n,r){var t;var a=e.prototype;if(n.V){var i=Object.entries(n.V);i.map((function(e){var t=e[0],i=e[1][0];if(i&31||r&2&&i&32){Object.defineProperty(a,t,{get:function(){return getValue(this,t)},set:function(e){setValue(this,t,e,n)},configurable:true,enumerable:true})}}));if(r&1){var o=new Map;a.attributeChangedCallback=function(e,r,t){var i=this;plt.jmp((function(){var u;var c=o.get(e);if(i.hasOwnProperty(c)){t=i[c];delete i[c]}else if(a.hasOwnProperty(c)&&typeof i[c]==="number"&&i[c]==t){return}else if(c==null){var f=getHostRef(i);var s=f===null||f===void 0?void 0:f.u;if(s&&!(s&8)&&s&128&&t!==r){var l=f.T;var v=(u=n.A)===null||u===void 0?void 0:u[e];v===null||v===void 0?void 0:v.forEach((function(n){if(l[n]!=null){l[n].call(l,t,r,e)}}))}return}i[c]=t===null&&typeof i[c]==="boolean"?false:t}))};e.observedAttributes=Array.from(new Set(__spreadArray(__spreadArray([],Object.keys((t=n.A)!==null&&t!==void 0?t:{}),true),i.filter((function(e){var n=e[0],r=e[1];return r[0]&15})).map((function(e){var n=e[0],r=e[1];var t=r[1]||n;o.set(t,n);return t})),true)))}}return e};var initializeComponent=function(e,n,r,t){return __awaiter(void 0,void 0,void 0,(function(){var e,t,a,i,o,u,c,f;return __generator(this,(function(s){switch(s.label){case 0:if(!((n.u&32)===0))return[3,3];n.u|=32;e=loadModule(r);if(!e.then)return[3,2];t=uniqueTime();return[4,e];case 1:e=s.sent();t();s.label=2;case 2:if(!e.isProxied){proxyComponent(e,r,2);e.isProxied=true}a=createTime("createInstance",r.h);{n.u|=8}try{new e(n)}catch(e){consoleError(e)}{n.u&=~8}a();if(e.style){i=e.style;o=getScopeId(r);if(!styles.has(o)){u=createTime("registerStyles",r.h);registerStyle(o,i,!!(r.u&1));u()}}s.label=3;case 3:c=n._;f=function(){return scheduleUpdate(n,true)};if(c&&c["s-rc"]){c["s-rc"].push(f)}else{f()}return[2]}}))}))};var fireConnectedCallback=function(e){};var connectedCallback=function(e){if((plt.u&1)===0){var n=getHostRef(e);var r=n.m;var t=createTime("connectedCallback",r.h);if(!(n.u&1)){n.u|=1;{var a=e;while(a=a.parentNode||a.host){if(a["s-p"]){attachToAncestor(n,n._=a);break}}}if(r.V){Object.entries(r.V).map((function(n){var r=n[0],t=n[1][0];if(t&31&&e.hasOwnProperty(r)){var a=e[r];delete e[r];e[r]=a}}))}{initializeComponent(e,n,r)}}else{addHostEventListeners(e,n,r.R);if(n===null||n===void 0?void 0:n.T);else if(n===null||n===void 0?void 0:n.q){n.q.then((function(){return fireConnectedCallback()}))}}t()}};var disconnectInstance=function(e){{safeCall(e,"disconnectedCallback")}};var disconnectedCallback=function(e){return __awaiter(void 0,void 0,void 0,(function(){var n;return __generator(this,(function(r){if((plt.u&1)===0){n=getHostRef(e);{if(n.L){n.L.map((function(e){return e()}));n.L=undefined}}if(n===null||n===void 0?void 0:n.T){disconnectInstance(n.T)}else if(n===null||n===void 0?void 0:n.q){n.q.then((function(){return disconnectInstance(n.T)}))}}return[2]}))}))};var bootstrapLazy=function(e,n){if(n===void 0){n={}}var r;var t=createTime();var a=[];var i=n.exclude||[];var o=win.customElements;var u=doc.head;var c=u.querySelector("meta[charset]");var f=doc.createElement("style");var s=[];var l;var v=true;Object.assign(plt,n);plt.M=new URL(n.resourcesUrl||"./",doc.baseURI).href;var d=false;e.map((function(e){e[1].map((function(n){var r={u:n[0],h:n[1],V:n[2],R:n[3]};if(r.u&4){d=true}{r.V=n[2]}{r.R=n[3]}var t=r.h;var u=function(e){__extends(n,e);function n(n){var t=e.call(this,n)||this;n=t;registerHost(n,r);if(r.u&1){{{n.attachShadow({mode:"open"})}}}return t}n.prototype.connectedCallback=function(){var e=this;if(l){clearTimeout(l);l=null}if(v){s.push(this)}else{plt.jmp((function(){return connectedCallback(e)}))}};n.prototype.disconnectedCallback=function(){var e=this;plt.jmp((function(){return disconnectedCallback(e)}))};n.prototype.componentOnReady=function(){return getHostRef(this).q};return n}(HTMLElement);r.P=e[0];if(!i.includes(t)&&!o.get(t)){a.push(t);o.define(t,proxyComponent(u,r,1))}}))}));if(d){f.innerHTML+=SLOT_FB_CSS}{f.innerHTML+=a+HYDRATED_CSS}if(f.innerHTML.length){f.setAttribute("data-styles","");u.insertBefore(f,c?c.nextSibling:u.firstChild);var p=(r=plt.p)!==null&&r!==void 0?r:queryNonceMetaTagContent(doc);if(p!=null){f.setAttribute("nonce",p)}}v=false;if(s.length){s.map((function(e){return e.connectedCallback()}))}else{{plt.jmp((function(){return l=setTimeout(appDidLoad,30)}))}}t()};var addHostEventListeners=function(e,n,r,t){if(r){r.map((function(r){var t=r[0],a=r[1],i=r[2];var o=e;var u=hostListenerProxy(n,i);var c=hostListenerOpts(t);plt.ael(o,a,u,c);(n.L=n.L||[]).push((function(){return plt.rel(o,a,u,c)}))}))}};var hostListenerProxy=function(e,n){return function(r){try{{if(e.u&256){e.T[n](r)}else{(e.$=e.$||[]).push([n,r])}}}catch(e){consoleError(e)}}};var hostListenerOpts=function(e){return(e&2)!==0};var setNonce=function(e){return plt.p=e};var hostRefs=new WeakMap;var getHostRef=function(e){return hostRefs.get(e)};var registerInstance=function(e,n){return hostRefs.set(n.T=e,n)};var registerHost=function(e,n){var r={u:0,$hostElement$:e,m:n,H:new Map};{r.q=new Promise((function(e){return r.k=e}));e["s-p"]=[];e["s-rc"]=[]}addHostEventListeners(e,r,n.R);return hostRefs.set(e,r)};var consoleError=function(e,n){return(0,console.error)(e,n)};var cmpModules=new Map;var loadModule=function(e,n,r){var t=e.h.replace(/-/g,"_");var a=e.P;var i=cmpModules.get(a);if(i){return i[t]}if(!r||!BUILD.hotModuleReplacement){var o=function(e){cmpModules.set(a,e);return e[t]};switch(a){case"mds-accordion-timer":return import("./mds-accordion-timer.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,M:"",jmp:function(e){return e()},raf:function(e){return requestAnimationFrame(e)},ael:function(e,n,r,t){return e.addEventListener(n,r,t)},rel:function(e,n,r,t){return e.removeEventListener(n,r,t)},ce:function(e,n){return new CustomEvent(e,n)}};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,n){return function(r){e.push(r);if(!queuePending){queuePending=true;if(n&&plt.u&4){nextTick(flush)}else{plt.raf(flush)}}}};var consume=function(e){for(var n=0;n<e.length;n++){try{e[n](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,createEvent as c,getElement as g,h,promiseResolve as p,registerInstance as r,setNonce as s};
@@ -1,2 +0,0 @@
1
- var __extends=this&&this.__extends||function(){var n=function(r,e){n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,r){n.__proto__=r}||function(n,r){for(var e in r)if(Object.prototype.hasOwnProperty.call(r,e))n[e]=r[e]};return n(r,e)};return function(r,e){if(typeof e!=="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");n(r,e);function t(){this.constructor=r}r.prototype=e===null?Object.create(e):(t.prototype=e.prototype,new t)}}();var __awaiter=this&&this.__awaiter||function(n,r,e,t){function i(n){return n instanceof e?n:new e((function(r){r(n)}))}return new(e||(e=Promise))((function(e,a){function u(n){try{o(t.next(n))}catch(n){a(n)}}function f(n){try{o(t["throw"](n))}catch(n){a(n)}}function o(n){n.done?e(n.value):i(n.value).then(u,f)}o((t=t.apply(n,r||[])).next())}))};var __generator=this&&this.__generator||function(n,r){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(n){return function(r){return o([n,r])}}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=r.call(n,e)}catch(n){f=[6,n];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(n,r,e){if(e||arguments.length===2)for(var t=0,i=r.length,a;t<i;t++){if(a||!(t in r)){if(!a)a=Array.prototype.slice.call(r,0,t);a[t]=r[t]}}return n.concat(a||Array.prototype.slice.call(r))};System.register([],(function(n,r){"use strict";return{execute:function(){var e=this;var t="mds-accordion-timer";var i;var a;var u=false;var f=function(n,r){if(r===void 0){r=""}{return function(){return}}};var o=function(n,r){{return function(){return}}};var v="{visibility:hidden}[hydrated]{visibility:inherit}";var c="slot-fb{display:contents}slot-fb[hidden]{display:none}";var l=function(n){return n!=null};var s=function(n){n=typeof n;return n==="object"||n==="function"};function d(n){var r,e,t;return(t=(e=(r=n.head)===null||r===void 0?void 0:r.querySelector('meta[name="csp-nonce"]'))===null||e===void 0?void 0:e.getAttribute("content"))!==null&&t!==void 0?t:undefined}var h=n("h",(function(n,r){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(r){for(var e=0;e<r.length;e++){i=r[e];if(Array.isArray(i)){o(i)}else if(i!=null&&typeof i!=="boolean"){if(a=typeof n!=="function"&&!s(i)){i=String(i)}if(a&&u){f[f.length-1].t+=i}else{f.push(a?y(null,i):i)}u=a}}};o(e);var v=y(n,null);v.i=r;if(f.length>0){v.u=f}return v}));var y=function(n,r){var e={o:0,v:n,t:r,l:null,u:null};return e};var p=n("H",{});var w=function(n){return n&&n.v===p};var b=function(n,r){if(n!=null&&!s(n)){if(r&2){return parseFloat(n)}return n}return n};var m=n("g",(function(n){return un(n).$hostElement$}));var _=n("c",(function(n,r,e){var t=m(n);return{emit:function(n){return $(t,r,{bubbles:!!(e&4),composed:!!(e&2),cancelable:!!(e&1),detail:n})}}}));var $=function(n,r,e){var t=yn.ce(r,e);n.dispatchEvent(t);return t};var S=new WeakMap;var g=function(n,r,e){var t=sn.get(n);if(wn&&e){t=t||new CSSStyleSheet;if(typeof t==="string"){t=r}else{t.replaceSync(r)}}else{t=r}sn.set(n,t)};var j=function(n,r,e){var t;var i=A(r);var a=sn.get(i);n=n.nodeType===11?n:hn;if(a){if(typeof a==="string"){n=n.head||n;var u=S.get(n);var f=void 0;if(!u){S.set(n,u=new Set)}if(!u.has(i)){{f=hn.createElement("style");f.innerHTML=a;var o=(t=yn.h)!==null&&t!==void 0?t:d(hn);if(o!=null){f.setAttribute("nonce",o)}n.insertBefore(f,n.querySelector("link"))}if(r.o&4){f.innerHTML+=c}if(u){u.add(i)}}}else if(!n.adoptedStyleSheets.includes(a)){n.adoptedStyleSheets=__spreadArray(__spreadArray([],n.adoptedStyleSheets,true),[a],false)}}return i};var k=function(n){var r=n.p;var e=n.$hostElement$;var t=r.o;var i=f("attachStyles",r.m);var a=j(e.shadowRoot?e.shadowRoot:e.getRootNode(),r);if(t&10){e["s-sc"]=a;e.classList.add(a+"-h")}i()};var A=function(n,r){return"sc-"+n.m};var O=function(n,r,e,t){var a=r.u[e];var u=0;var f;var o;{f=a.l=hn.createElement(a.v);if(l(i)&&f["s-si"]!==i){f.classList.add(f["s-si"]=i)}if(a.u){for(u=0;u<a.u.length;++u){o=O(n,a,u);if(o){f.appendChild(o)}}}}return f};var M=function(n,r,e,t,i,u){var f=n;var o;if(f.shadowRoot&&f.tagName===a){f=f.shadowRoot}for(;i<=u;++i){if(t[i]){o=O(null,e,i);if(o){t[i].l=o;f.insertBefore(o,r)}}}};var x=function(n,r,e){for(var t=r;t<=e;++t){var i=n[t];if(i){var a=i.l;if(a){a.remove()}}}};var C=function(n,r,e,t){var i=0;var a=0;var u=r.length-1;var f=r[0];var o=r[u];var v=t.length-1;var c=t[0];var l=t[v];var s;while(i<=u&&a<=v){if(f==null){f=r[++i]}else if(o==null){o=r[--u]}else if(c==null){c=t[++a]}else if(l==null){l=t[--v]}else if(P(f,c)){E(f,c);f=r[++i];c=t[++a]}else if(P(o,l)){E(o,l);o=r[--u];l=t[--v]}else if(P(f,l)){E(f,l);n.insertBefore(f.l,o.l.nextSibling);f=r[++i];l=t[--v]}else if(P(o,c)){E(o,c);n.insertBefore(o.l,f.l);o=r[--u];c=t[++a]}else{{s=O(r&&r[a],e,a);c=t[++a]}if(s){{f.l.parentNode.insertBefore(s,f.l)}}}}if(i>u){M(n,t[v+1]==null?null:t[v+1].l,e,t,a,v)}else if(a>v){x(r,i,u)}};var P=function(n,r){if(n.v===r.v){return true}return false};var E=function(n,r){var e=r.l=n.l;var t=n.u;var i=r.u;{if(t!==null&&i!==null){C(e,t,r,i)}else if(i!==null){M(e,null,r,i,0,i.length-1)}else if(t!==null){x(t,0,t.length-1)}}};var T=function(n,r,e){if(e===void 0){e=false}var t=n.$hostElement$;var u=n._||y(null,null);var f=w(r)?r:h(null,null,r);a=t.tagName;if(e&&f.i){for(var o=0,v=Object.keys(f.i);o<v.length;o++){var c=v[o];if(t.hasAttribute(c)&&!["key","ref","style","class"].includes(c)){f.i[c]=t[c]}}}f.v=null;f.o|=4;n._=f;f.l=u.l=t.shadowRoot||t;{i=t["s-sc"]}E(u,f)};var U=function(n,r){if(r&&!n.$&&r["s-p"]){r["s-p"].push(new Promise((function(r){return n.$=r})))}};var L=function(n,r){{n.o|=16}if(n.o&4){n.o|=512;return}U(n,n.S);var e=function(){return N(n,r)};return jn(e)};var N=function(n,r){var e=f("scheduleUpdate",n.p.m);var t=n.j;var i;if(r){{n.o|=256;if(n.k){n.k.map((function(n){var r=n[0],e=n[1];return I(t,r,e)}));n.k=undefined}}}e();return F(i,(function(){return W(n,t,r)}))};var F=function(n,r){return H(n)?n.then(r):r()};var H=function(n){return n instanceof Promise||n&&n.then&&typeof n.then==="function"};var W=function(n,r,t){return __awaiter(e,void 0,void 0,(function(){var e,i,a,u,o,v,c;return __generator(this,(function(l){i=n.$hostElement$;a=f("update",n.p.m);u=i["s-rc"];if(t){k(n)}o=f("render",n.p.m);{q(n,r,i,t)}if(u){u.map((function(n){return n()}));i["s-rc"]=undefined}o();a();{v=(e=i["s-p"])!==null&&e!==void 0?e:[];c=function(){return D(n)};if(v.length===0){c()}else{Promise.all(v).then(c);n.o|=4;v.length=0}}return[2]}))}))};var q=function(n,r,e,t){try{r=r.render();{n.o&=~16}{n.o|=2}{{{T(n,r,t)}}}}catch(r){vn(r,n.$hostElement$)}return null};var D=function(n){var r=n.p.m;var e=n.$hostElement$;var t=f("postUpdate",r);var i=n.j;var a=n.S;if(!(n.o&64)){n.o|=64;{R(e)}{I(i,"componentDidLoad")}t();{n.A(e);if(!a){G()}}}else{t()}{if(n.$){n.$();n.$=undefined}if(n.o&512){gn((function(){return L(n,false)}))}n.o&=~(4|512)}};var G=function(n){{R(hn.documentElement)}gn((function(){return $(dn,"appload",{detail:{namespace:t}})}))};var I=function(n,r,e){if(n&&n[r]){try{return n[r](e)}catch(n){vn(n)}}return undefined};var R=function(n){return n.setAttribute("hydrated","")};var V=function(n,r){return un(n).O.get(r)};var z=function(n,r,e,t){var i=un(n);var a=i.O.get(r);var u=i.o;var f=i.j;e=b(e,t.M[r][0]);var o=Number.isNaN(a)&&Number.isNaN(e);var v=e!==a&&!o;if((!(u&8)||a===undefined)&&v){i.O.set(r,e);if(f){if((u&(2|16))===2){L(i,false)}}}};var B=function(n,r,e){var t;var i=n.prototype;if(r.M){var a=Object.entries(r.M);a.map((function(n){var t=n[0],a=n[1][0];if(a&31||e&2&&a&32){Object.defineProperty(i,t,{get:function(){return V(this,t)},set:function(n){z(this,t,n,r)},configurable:true,enumerable:true})}}));if(e&1){var u=new Map;i.attributeChangedCallback=function(n,e,t){var a=this;yn.jmp((function(){var f;var o=u.get(n);if(a.hasOwnProperty(o)){t=a[o];delete a[o]}else if(i.hasOwnProperty(o)&&typeof a[o]==="number"&&a[o]==t){return}else if(o==null){var v=un(a);var c=v===null||v===void 0?void 0:v.o;if(c&&!(c&8)&&c&128&&t!==e){var l=v.j;var s=(f=r.C)===null||f===void 0?void 0:f[n];s===null||s===void 0?void 0:s.forEach((function(r){if(l[r]!=null){l[r].call(l,t,e,n)}}))}return}a[o]=t===null&&typeof a[o]==="boolean"?false:t}))};n.observedAttributes=Array.from(new Set(__spreadArray(__spreadArray([],Object.keys((t=r.C)!==null&&t!==void 0?t:{}),true),a.filter((function(n){var r=n[0],e=n[1];return e[0]&15})).map((function(n){var r=n[0],e=n[1];var t=e[1]||r;u.set(t,r);return t})),true)))}}return n};var J=function(n,r,t,i){return __awaiter(e,void 0,void 0,(function(){var n,e,i,a,u,v,c,l;return __generator(this,(function(s){switch(s.label){case 0:if(!((r.o&32)===0))return[3,3];r.o|=32;n=ln(t);if(!n.then)return[3,2];e=o();return[4,n];case 1:n=s.sent();e();s.label=2;case 2:if(!n.isProxied){B(n,t,2);n.isProxied=true}i=f("createInstance",t.m);{r.o|=8}try{new n(r)}catch(n){vn(n)}{r.o&=~8}i();if(n.style){a=n.style;u=A(t);if(!sn.has(u)){v=f("registerStyles",t.m);g(u,a,!!(t.o&1));v()}}s.label=3;case 3:c=r.S;l=function(){return L(r,true)};if(c&&c["s-rc"]){c["s-rc"].push(l)}else{l()}return[2]}}))}))};var K=function(n){};var Q=function(n){if((yn.o&1)===0){var r=un(n);var e=r.p;var t=f("connectedCallback",e.m);if(!(r.o&1)){r.o|=1;{var i=n;while(i=i.parentNode||i.host){if(i["s-p"]){U(r,r.S=i);break}}}if(e.M){Object.entries(e.M).map((function(r){var e=r[0],t=r[1][0];if(t&31&&n.hasOwnProperty(e)){var i=n[e];delete n[e];n[e]=i}}))}{J(n,r,e)}}else{nn(n,r,e.P);if(r===null||r===void 0?void 0:r.j);else if(r===null||r===void 0?void 0:r.T){r.T.then((function(){return K()}))}}t()}};var X=function(n){{I(n,"disconnectedCallback")}};var Y=function(n){return __awaiter(e,void 0,void 0,(function(){var r;return __generator(this,(function(e){if((yn.o&1)===0){r=un(n);{if(r.U){r.U.map((function(n){return n()}));r.U=undefined}}if(r===null||r===void 0?void 0:r.j){X(r.j)}else if(r===null||r===void 0?void 0:r.T){r.T.then((function(){return X(r.j)}))}}return[2]}))}))};var Z=n("b",(function(n,r){if(r===void 0){r={}}var e;var t=f();var i=[];var a=r.exclude||[];var u=dn.customElements;var o=hn.head;var l=o.querySelector("meta[charset]");var s=hn.createElement("style");var h=[];var y;var p=true;Object.assign(yn,r);yn.L=new URL(r.resourcesUrl||"./",hn.baseURI).href;var w=false;n.map((function(n){n[1].map((function(r){var e={o:r[0],m:r[1],M:r[2],P:r[3]};if(e.o&4){w=true}{e.M=r[2]}{e.P=r[3]}var t=e.m;var f=function(n){__extends(r,n);function r(r){var t=n.call(this,r)||this;r=t;on(r,e);if(e.o&1){{{r.attachShadow({mode:"open"})}}}return t}r.prototype.connectedCallback=function(){var n=this;if(y){clearTimeout(y);y=null}if(p){h.push(this)}else{yn.jmp((function(){return Q(n)}))}};r.prototype.disconnectedCallback=function(){var n=this;yn.jmp((function(){return Y(n)}))};r.prototype.componentOnReady=function(){return un(this).T};return r}(HTMLElement);e.N=n[0];if(!a.includes(t)&&!u.get(t)){i.push(t);u.define(t,B(f,e,1))}}))}));if(w){s.innerHTML+=c}{s.innerHTML+=i+v}if(s.innerHTML.length){s.setAttribute("data-styles","");o.insertBefore(s,l?l.nextSibling:o.firstChild);var b=(e=yn.h)!==null&&e!==void 0?e:d(hn);if(b!=null){s.setAttribute("nonce",b)}}p=false;if(h.length){h.map((function(n){return n.connectedCallback()}))}else{{yn.jmp((function(){return y=setTimeout(G,30)}))}}t()}));var nn=function(n,r,e,t){if(e){e.map((function(e){var t=e[0],i=e[1],a=e[2];var u=n;var f=rn(r,a);var o=en(t);yn.ael(u,i,f,o);(r.U=r.U||[]).push((function(){return yn.rel(u,i,f,o)}))}))}};var rn=function(n,r){return function(e){try{{if(n.o&256){n.j[r](e)}else{(n.k=n.k||[]).push([r,e])}}}catch(n){vn(n)}}};var en=function(n){return(n&2)!==0};var tn=n("s",(function(n){return yn.h=n}));var an=new WeakMap;var un=function(n){return an.get(n)};var fn=n("r",(function(n,r){return an.set(r.j=n,r)}));var on=function(n,r){var e={o:0,$hostElement$:n,p:r,O:new Map};{e.T=new Promise((function(n){return e.A=n}));n["s-p"]=[];n["s-rc"]=[]}nn(n,e,r.P);return an.set(n,e)};var vn=function(n,r){return(0,console.error)(n,r)};var cn=new Map;var ln=function(n,e,t){var i=n.m.replace(/-/g,"_");var a=n.N;var u=cn.get(a);if(u){return u[i]}
2
- /*!__STENCIL_STATIC_IMPORT_SWITCH__*/return r.import("./".concat(a,".entry.js").concat("")).then((function(n){{cn.set(a,n)}return n[i]}),vn)};var sn=new Map;var dn=typeof window!=="undefined"?window:{};var hn=dn.document||{head:{}};var yn={o:0,L:"",jmp:function(n){return n()},raf:function(n){return requestAnimationFrame(n)},ael:function(n,r,e,t){return n.addEventListener(r,e,t)},rel:function(n,r,e,t){return n.removeEventListener(r,e,t)},ce:function(n,r){return new CustomEvent(n,r)}};var pn=n("p",(function(n){return Promise.resolve(n)}));var wn=function(){try{new CSSStyleSheet;return typeof(new CSSStyleSheet).replaceSync==="function"}catch(n){}return false}();var bn=[];var mn=[];var _n=function(n,r){return function(e){n.push(e);if(!u){u=true;if(r&&yn.o&4){gn(Sn)}else{yn.raf(Sn)}}}};var $n=function(n){for(var r=0;r<n.length;r++){try{n[r](performance.now())}catch(n){vn(n)}}n.length=0};var Sn=function(){$n(bn);{$n(mn);if(u=bn.length>0){yn.raf(Sn)}}};var gn=function(n){return pn().then(n)};var jn=_n(mn,true)}}}));
@@ -1,2 +0,0 @@
1
- let n,t,e=!1;const l="slot-fb{display:contents}slot-fb[hidden]{display:none}",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=[],a=t=>{for(let e=0;e<t.length;e++)l=t[e],Array.isArray(l)?a(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)};a(e);const u=c(n,null);return u.l=t,r.length>0&&(u.o=r),u},c=(n,t)=>({i:0,u:n,t,m:null,o:null}),r={},a=n=>U(n).$hostElement$,u=(n,t,e)=>{const l=a(n);return{emit:n=>f(l,t,{bubbles:!!(4&e),composed:!!(2&e),cancelable:!!(1&e),detail:n})}},f=(n,t,e)=>{const l=I.ce(t,e);return n.dispatchEvent(l),l},d=new WeakMap,y=n=>"sc-"+n.h,m=(t,e,l)=>{const o=e.o[l];let s,i,c=0;if(s=o.m=G.createElement(o.u),null!=n&&s["s-si"]!==n&&s.classList.add(s["s-si"]=n),o.o)for(c=0;c<o.o.length;++c)i=m(t,o,c),i&&s.appendChild(i);return s},h=(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=m(null,l,s),c&&(o[s].m=c,r.insertBefore(c,e)))},p=(n,t,e)=>{for(let l=t;l<=e;++l){const t=n[l];if(t){const n=t.m;n&&n.remove()}}},v=(n,t)=>n.u===t.u,$=(n,t)=>{const e=t.m=n.m,l=n.o,o=t.o;null!==l&&null!==o?((n,t,e,l)=>{let o,s=0,i=0,c=t.length-1,r=t[0],a=t[c],u=l.length-1,f=l[0],d=l[u];for(;s<=c&&i<=u;)null==r?r=t[++s]:null==a?a=t[--c]:null==f?f=l[++i]:null==d?d=l[--u]:v(r,f)?($(r,f),r=t[++s],f=l[++i]):v(a,d)?($(a,d),a=t[--c],d=l[--u]):v(r,d)?($(r,d),n.insertBefore(r.m,a.m.nextSibling),r=t[++s],d=l[--u]):v(a,f)?($(a,f),n.insertBefore(a.m,r.m),a=t[--c],f=l[++i]):(o=m(t&&t[i],e,i),f=l[++i],o&&r.m.parentNode.insertBefore(o,r.m));s>c?h(n,null==l[u+1]?null:l[u+1].m,e,l,i,u):i>u&&p(t,s,c)})(e,l,t,o):null!==o?h(e,null,t,o,0,o.length-1):null!==l&&p(l,0,l.length-1)},b=(n,t)=>{t&&!n.p&&t["s-p"]&&t["s-p"].push(new Promise((t=>n.p=t)))},w=(n,t)=>{if(n.i|=16,!(4&n.i))return b(n,n.v),en((()=>S(n,t)));n.i|=512},S=(n,t)=>{const e=n.$;return t&&(n.i|=256,n.S&&(n.S.map((([n,t])=>P(e,n,t))),n.S=void 0)),g(void 0,(()=>k(n,e,t)))},g=(n,t)=>j(n)?n.then(t):t(),j=n=>n instanceof Promise||n&&n.then&&"function"==typeof n.then,k=async(n,t,e)=>{var o;const i=n.$hostElement$,c=i["s-rc"];e&&(n=>{const t=n.j,e=n.$hostElement$,o=t.i,i=((n,t)=>{var e;const o=y(t),i=z.get(o);if(n=11===n.nodeType?n:G,i)if("string"==typeof i){let c,r=d.get(n=n.head||n);if(r||d.set(n,r=new Set),!r.has(o)){{c=G.createElement("style"),c.innerHTML=i;const t=null!==(e=I.k)&&void 0!==e?e:s(G);null!=t&&c.setAttribute("nonce",t),n.insertBefore(c,n.querySelector("link"))}4&t.i&&(c.innerHTML+=l),r&&r.add(o)}}else n.adoptedStyleSheets.includes(i)||(n.adoptedStyleSheets=[...n.adoptedStyleSheets,i]);return o})(e.shadowRoot?e.shadowRoot:e.getRootNode(),t);10&o&&(e["s-sc"]=i,e.classList.add(i+"-h"))})(n);M(n,t,i,e),c&&(c.map((n=>n())),i["s-rc"]=void 0);{const t=null!==(o=i["s-p"])&&void 0!==o?o:[],e=()=>C(n);0===t.length?e():(Promise.all(t).then(e),n.i|=4,t.length=0)}},M=(e,l,o,s)=>{try{l=l.render(),e.i&=-17,e.i|=2,((e,l,o=!1)=>{const s=e.$hostElement$,a=e.M||c(null,null),u=(n=>n&&n.u===r)(l)?l:i(null,null,l);if(t=s.tagName,o&&u.l)for(const n of Object.keys(u.l))s.hasAttribute(n)&&!["key","ref","style","class"].includes(n)&&(u.l[n]=s[n]);u.u=null,u.i|=4,e.M=u,u.m=a.m=s.shadowRoot||s,n=s["s-sc"],$(a,u)})(e,l,s)}catch(n){D(n,e.$hostElement$)}return null},C=n=>{const t=n.$hostElement$,e=n.$,l=n.v;64&n.i||(n.i|=64,x(t),P(e,"componentDidLoad"),n.C(t),l||O()),n.p&&(n.p(),n.p=void 0),512&n.i&&tn((()=>w(n,!1))),n.i&=-517},O=()=>{x(G.documentElement),tn((()=>f(B,"appload",{detail:{namespace:"mds-accordion-timer"}})))},P=(n,t,e)=>{if(n&&n[t])try{return n[t](e)}catch(n){D(n)}},x=n=>n.setAttribute("hydrated",""),A=(n,t,e)=>{var l;const s=n.prototype;if(t.O){const i=Object.entries(t.O);if(i.map((([n,[l]])=>{(31&l||2&e&&32&l)&&Object.defineProperty(s,n,{get(){return((n,t)=>U(this).P.get(t))(0,n)},set(e){((n,t,e,l)=>{const s=U(n),i=s.P.get(t),c=s.i,r=s.$;e=((n,t)=>null==n||o(n)?n:2&t?parseFloat(n):n)(e,l.O[t][0]),8&c&&void 0!==i||e===i||Number.isNaN(i)&&Number.isNaN(e)||(s.P.set(t,e),r&&2==(18&c)&&w(s,!1))})(this,n,e,t)},configurable:!0,enumerable:!0})})),1&e){const e=new Map;s.attributeChangedCallback=function(n,l,o){I.jmp((()=>{var i;const c=e.get(n);if(this.hasOwnProperty(c))o=this[c],delete this[c];else{if(s.hasOwnProperty(c)&&"number"==typeof this[c]&&this[c]==o)return;if(null==c){const e=U(this),s=null==e?void 0:e.i;if(s&&!(8&s)&&128&s&&o!==l){const s=e.$,c=null===(i=t.A)||void 0===i?void 0:i[n];null==c||c.forEach((t=>{null!=s[t]&&s[t].call(s,o,l,n)}))}return}}this[c]=(null!==o||"boolean"!=typeof this[c])&&o}))},n.observedAttributes=Array.from(new Set([...Object.keys(null!==(l=t.A)&&void 0!==l?l:{}),...i.filter((([n,t])=>15&t[0])).map((([n,t])=>{const l=t[1]||n;return e.set(l,n),l}))]))}}return n},E=n=>{P(n,"disconnectedCallback")},L=(n,t={})=>{var e;const o=[],i=t.exclude||[],c=B.customElements,r=G.head,a=r.querySelector("meta[charset]"),u=G.createElement("style"),f=[];let d,m=!0;Object.assign(I,t),I.L=new URL(t.resourcesUrl||"./",G.baseURI).href;let h=!1;if(n.map((n=>{n[1].map((t=>{const e={i:t[0],h:t[1],O:t[2],N:t[3]};4&e.i&&(h=!0),e.O=t[2],e.N=t[3];const l=e.h,s=class extends HTMLElement{constructor(n){super(n),q(n=this,e),1&e.i&&n.attachShadow({mode:"open"})}connectedCallback(){d&&(clearTimeout(d),d=null),m?f.push(this):I.jmp((()=>(n=>{if(0==(1&I.i)){const t=U(n),e=t.j,l=()=>{};if(1&t.i)N(n,t,e.N),(null==t?void 0:t.$)||(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"]){b(t,t.v=e);break}}e.O&&Object.entries(e.O).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||(A(l,e,2),l.isProxied=!0);const n=()=>{};t.i|=8;try{new l(t)}catch(n){D(n)}t.i&=-9,n()}if(l.style){let n=l.style;const t=y(e);if(!z.has(t)){const l=()=>{};((n,t,e)=>{let l=z.get(n);K&&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.v,s=()=>w(t,!0);o&&o["s-rc"]?o["s-rc"].push(s):s()})(0,t,e)}l()}})(this)))}disconnectedCallback(){I.jmp((()=>(async()=>{if(0==(1&I.i)){const n=U(this);n.F&&(n.F.map((n=>n())),n.F=void 0),(null==n?void 0:n.$)?E(n.$):(null==n?void 0:n.T)&&n.T.then((()=>E(n.$)))}})()))}componentOnReady(){return U(this).T}};e.H=n[0],i.includes(l)||c.get(l)||(o.push(l),c.define(l,A(s,e,1)))}))})),h&&(u.innerHTML+=l),u.innerHTML+=o+"{visibility:hidden}[hydrated]{visibility:inherit}",u.innerHTML.length){u.setAttribute("data-styles",""),r.insertBefore(u,a?a.nextSibling:r.firstChild);const n=null!==(e=I.k)&&void 0!==e?e:s(G);null!=n&&u.setAttribute("nonce",n)}m=!1,f.length?f.map((n=>n.connectedCallback())):I.jmp((()=>d=setTimeout(O,30)))},N=(n,t,e)=>{e&&e.map((([e,l,o])=>{const s=n,i=T(t,o),c=F(e);I.ael(s,l,i,c),(t.F=t.F||[]).push((()=>I.rel(s,l,i,c)))}))},T=(n,t)=>e=>{try{256&n.i?n.$[t](e):(n.S=n.S||[]).push([t,e])}catch(n){D(n)}},F=n=>0!=(2&n),H=n=>I.k=n,R=new WeakMap,U=n=>R.get(n),W=(n,t)=>R.set(t.$=n,t),q=(n,t)=>{const e={i:0,$hostElement$:n,j:t,P:new Map};return e.T=new Promise((n=>e.C=n)),n["s-p"]=[],n["s-rc"]=[],N(n,e,t.N),R.set(n,e)},D=(n,t)=>(0,console.error)(n,t),V=new Map,_=n=>{const t=n.h.replace(/-/g,"_"),e=n.H,l=V.get(e);return l?l[t]:import(`./${e}.entry.js`).then((n=>(V.set(e,n),n[t])),D)
2
- /*!__STENCIL_STATIC_IMPORT_SWITCH__*/},z=new Map,B="undefined"!=typeof window?window:{},G=B.document||{head:{}},I={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)},J=n=>Promise.resolve(n),K=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(n){}return!1})(),Q=[],X=[],Y=(n,t)=>l=>{n.push(l),e||(e=!0,t&&4&I.i?tn(nn):I.raf(nn))},Z=n=>{for(let t=0;t<n.length;t++)try{n[t](performance.now())}catch(n){D(n)}n.length=0},nn=()=>{Z(Q),Z(X),(e=Q.length>0)&&I.raf(nn)},tn=n=>J().then(n),en=Y(X,!0);export{r as H,L as b,u as c,a as g,i as h,J as p,W as r,H as s}
@@ -1,2 +0,0 @@
1
- var __extends=this&&this.__extends||function(){var n=function(r,e){n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,r){n.__proto__=r}||function(n,r){for(var e in r)if(Object.prototype.hasOwnProperty.call(r,e))n[e]=r[e]};return n(r,e)};return function(r,e){if(typeof e!=="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");n(r,e);function t(){this.constructor=r}r.prototype=e===null?Object.create(e):(t.prototype=e.prototype,new t)}}();var __awaiter=this&&this.__awaiter||function(n,r,e,t){function i(n){return n instanceof e?n:new e((function(r){r(n)}))}return new(e||(e=Promise))((function(e,a){function u(n){try{o(t.next(n))}catch(n){a(n)}}function f(n){try{o(t["throw"](n))}catch(n){a(n)}}function o(n){n.done?e(n.value):i(n.value).then(u,f)}o((t=t.apply(n,r||[])).next())}))};var __generator=this&&this.__generator||function(n,r){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(n){return function(r){return o([n,r])}}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=r.call(n,e)}catch(n){f=[6,n];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(n,r,e){if(e||arguments.length===2)for(var t=0,i=r.length,a;t<i;t++){if(a||!(t in r)){if(!a)a=Array.prototype.slice.call(r,0,t);a[t]=r[t]}}return n.concat(a||Array.prototype.slice.call(r))};System.register([],(function(n,r){"use strict";return{execute:function(){var e=this;var t="mds-accordion-timer";var i;var a;var u=false;var f=function(n,r){if(r===void 0){r=""}{return function(){return}}};var o=function(n,r){{return function(){return}}};var v="{visibility:hidden}[hydrated]{visibility:inherit}";var c="slot-fb{display:contents}slot-fb[hidden]{display:none}";var l=function(n){return n!=null};var s=function(n){n=typeof n;return n==="object"||n==="function"};function d(n){var r,e,t;return(t=(e=(r=n.head)===null||r===void 0?void 0:r.querySelector('meta[name="csp-nonce"]'))===null||e===void 0?void 0:e.getAttribute("content"))!==null&&t!==void 0?t:undefined}var h=n("h",(function(n,r){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(r){for(var e=0;e<r.length;e++){i=r[e];if(Array.isArray(i)){o(i)}else if(i!=null&&typeof i!=="boolean"){if(a=typeof n!=="function"&&!s(i)){i=String(i)}if(a&&u){f[f.length-1].t+=i}else{f.push(a?y(null,i):i)}u=a}}};o(e);var v=y(n,null);v.i=r;if(f.length>0){v.u=f}return v}));var y=function(n,r){var e={o:0,v:n,t:r,l:null,u:null};return e};var p=n("H",{});var w=function(n){return n&&n.v===p};var b=function(n,r){if(n!=null&&!s(n)){if(r&2){return parseFloat(n)}return n}return n};var m=n("g",(function(n){return un(n).$hostElement$}));var _=n("c",(function(n,r,e){var t=m(n);return{emit:function(n){return $(t,r,{bubbles:!!(e&4),composed:!!(e&2),cancelable:!!(e&1),detail:n})}}}));var $=function(n,r,e){var t=yn.ce(r,e);n.dispatchEvent(t);return t};var S=new WeakMap;var g=function(n,r,e){var t=sn.get(n);if(wn&&e){t=t||new CSSStyleSheet;if(typeof t==="string"){t=r}else{t.replaceSync(r)}}else{t=r}sn.set(n,t)};var j=function(n,r,e){var t;var i=A(r);var a=sn.get(i);n=n.nodeType===11?n:hn;if(a){if(typeof a==="string"){n=n.head||n;var u=S.get(n);var f=void 0;if(!u){S.set(n,u=new Set)}if(!u.has(i)){{f=hn.createElement("style");f.innerHTML=a;var o=(t=yn.h)!==null&&t!==void 0?t:d(hn);if(o!=null){f.setAttribute("nonce",o)}n.insertBefore(f,n.querySelector("link"))}if(r.o&4){f.innerHTML+=c}if(u){u.add(i)}}}else if(!n.adoptedStyleSheets.includes(a)){n.adoptedStyleSheets=__spreadArray(__spreadArray([],n.adoptedStyleSheets,true),[a],false)}}return i};var k=function(n){var r=n.p;var e=n.$hostElement$;var t=r.o;var i=f("attachStyles",r.m);var a=j(e.shadowRoot?e.shadowRoot:e.getRootNode(),r);if(t&10){e["s-sc"]=a;e.classList.add(a+"-h")}i()};var A=function(n,r){return"sc-"+n.m};var O=function(n,r,e,t){var a=r.u[e];var u=0;var f;var o;{f=a.l=hn.createElement(a.v);if(l(i)&&f["s-si"]!==i){f.classList.add(f["s-si"]=i)}if(a.u){for(u=0;u<a.u.length;++u){o=O(n,a,u);if(o){f.appendChild(o)}}}}return f};var M=function(n,r,e,t,i,u){var f=n;var o;if(f.shadowRoot&&f.tagName===a){f=f.shadowRoot}for(;i<=u;++i){if(t[i]){o=O(null,e,i);if(o){t[i].l=o;f.insertBefore(o,r)}}}};var x=function(n,r,e){for(var t=r;t<=e;++t){var i=n[t];if(i){var a=i.l;if(a){a.remove()}}}};var C=function(n,r,e,t){var i=0;var a=0;var u=r.length-1;var f=r[0];var o=r[u];var v=t.length-1;var c=t[0];var l=t[v];var s;while(i<=u&&a<=v){if(f==null){f=r[++i]}else if(o==null){o=r[--u]}else if(c==null){c=t[++a]}else if(l==null){l=t[--v]}else if(P(f,c)){E(f,c);f=r[++i];c=t[++a]}else if(P(o,l)){E(o,l);o=r[--u];l=t[--v]}else if(P(f,l)){E(f,l);n.insertBefore(f.l,o.l.nextSibling);f=r[++i];l=t[--v]}else if(P(o,c)){E(o,c);n.insertBefore(o.l,f.l);o=r[--u];c=t[++a]}else{{s=O(r&&r[a],e,a);c=t[++a]}if(s){{f.l.parentNode.insertBefore(s,f.l)}}}}if(i>u){M(n,t[v+1]==null?null:t[v+1].l,e,t,a,v)}else if(a>v){x(r,i,u)}};var P=function(n,r){if(n.v===r.v){return true}return false};var E=function(n,r){var e=r.l=n.l;var t=n.u;var i=r.u;{if(t!==null&&i!==null){C(e,t,r,i)}else if(i!==null){M(e,null,r,i,0,i.length-1)}else if(t!==null){x(t,0,t.length-1)}}};var T=function(n,r,e){if(e===void 0){e=false}var t=n.$hostElement$;var u=n._||y(null,null);var f=w(r)?r:h(null,null,r);a=t.tagName;if(e&&f.i){for(var o=0,v=Object.keys(f.i);o<v.length;o++){var c=v[o];if(t.hasAttribute(c)&&!["key","ref","style","class"].includes(c)){f.i[c]=t[c]}}}f.v=null;f.o|=4;n._=f;f.l=u.l=t.shadowRoot||t;{i=t["s-sc"]}E(u,f)};var U=function(n,r){if(r&&!n.$&&r["s-p"]){r["s-p"].push(new Promise((function(r){return n.$=r})))}};var L=function(n,r){{n.o|=16}if(n.o&4){n.o|=512;return}U(n,n.S);var e=function(){return N(n,r)};return jn(e)};var N=function(n,r){var e=f("scheduleUpdate",n.p.m);var t=n.j;var i;if(r){{n.o|=256;if(n.k){n.k.map((function(n){var r=n[0],e=n[1];return I(t,r,e)}));n.k=undefined}}}e();return F(i,(function(){return W(n,t,r)}))};var F=function(n,r){return H(n)?n.then(r):r()};var H=function(n){return n instanceof Promise||n&&n.then&&typeof n.then==="function"};var W=function(n,r,t){return __awaiter(e,void 0,void 0,(function(){var e,i,a,u,o,v,c;return __generator(this,(function(l){i=n.$hostElement$;a=f("update",n.p.m);u=i["s-rc"];if(t){k(n)}o=f("render",n.p.m);{q(n,r,i,t)}if(u){u.map((function(n){return n()}));i["s-rc"]=undefined}o();a();{v=(e=i["s-p"])!==null&&e!==void 0?e:[];c=function(){return D(n)};if(v.length===0){c()}else{Promise.all(v).then(c);n.o|=4;v.length=0}}return[2]}))}))};var q=function(n,r,e,t){try{r=r.render();{n.o&=~16}{n.o|=2}{{{T(n,r,t)}}}}catch(r){vn(r,n.$hostElement$)}return null};var D=function(n){var r=n.p.m;var e=n.$hostElement$;var t=f("postUpdate",r);var i=n.j;var a=n.S;if(!(n.o&64)){n.o|=64;{R(e)}{I(i,"componentDidLoad")}t();{n.A(e);if(!a){G()}}}else{t()}{if(n.$){n.$();n.$=undefined}if(n.o&512){gn((function(){return L(n,false)}))}n.o&=~(4|512)}};var G=function(n){{R(hn.documentElement)}gn((function(){return $(dn,"appload",{detail:{namespace:t}})}))};var I=function(n,r,e){if(n&&n[r]){try{return n[r](e)}catch(n){vn(n)}}return undefined};var R=function(n){return n.setAttribute("hydrated","")};var V=function(n,r){return un(n).O.get(r)};var z=function(n,r,e,t){var i=un(n);var a=i.O.get(r);var u=i.o;var f=i.j;e=b(e,t.M[r][0]);var o=Number.isNaN(a)&&Number.isNaN(e);var v=e!==a&&!o;if((!(u&8)||a===undefined)&&v){i.O.set(r,e);if(f){if((u&(2|16))===2){L(i,false)}}}};var B=function(n,r,e){var t;var i=n.prototype;if(r.M){var a=Object.entries(r.M);a.map((function(n){var t=n[0],a=n[1][0];if(a&31||e&2&&a&32){Object.defineProperty(i,t,{get:function(){return V(this,t)},set:function(n){z(this,t,n,r)},configurable:true,enumerable:true})}}));if(e&1){var u=new Map;i.attributeChangedCallback=function(n,e,t){var a=this;yn.jmp((function(){var f;var o=u.get(n);if(a.hasOwnProperty(o)){t=a[o];delete a[o]}else if(i.hasOwnProperty(o)&&typeof a[o]==="number"&&a[o]==t){return}else if(o==null){var v=un(a);var c=v===null||v===void 0?void 0:v.o;if(c&&!(c&8)&&c&128&&t!==e){var l=v.j;var s=(f=r.C)===null||f===void 0?void 0:f[n];s===null||s===void 0?void 0:s.forEach((function(r){if(l[r]!=null){l[r].call(l,t,e,n)}}))}return}a[o]=t===null&&typeof a[o]==="boolean"?false:t}))};n.observedAttributes=Array.from(new Set(__spreadArray(__spreadArray([],Object.keys((t=r.C)!==null&&t!==void 0?t:{}),true),a.filter((function(n){var r=n[0],e=n[1];return e[0]&15})).map((function(n){var r=n[0],e=n[1];var t=e[1]||r;u.set(t,r);return t})),true)))}}return n};var J=function(n,r,t,i){return __awaiter(e,void 0,void 0,(function(){var n,e,i,a,u,v,c,l;return __generator(this,(function(s){switch(s.label){case 0:if(!((r.o&32)===0))return[3,3];r.o|=32;n=ln(t);if(!n.then)return[3,2];e=o();return[4,n];case 1:n=s.sent();e();s.label=2;case 2:if(!n.isProxied){B(n,t,2);n.isProxied=true}i=f("createInstance",t.m);{r.o|=8}try{new n(r)}catch(n){vn(n)}{r.o&=~8}i();if(n.style){a=n.style;u=A(t);if(!sn.has(u)){v=f("registerStyles",t.m);g(u,a,!!(t.o&1));v()}}s.label=3;case 3:c=r.S;l=function(){return L(r,true)};if(c&&c["s-rc"]){c["s-rc"].push(l)}else{l()}return[2]}}))}))};var K=function(n){};var Q=function(n){if((yn.o&1)===0){var r=un(n);var e=r.p;var t=f("connectedCallback",e.m);if(!(r.o&1)){r.o|=1;{var i=n;while(i=i.parentNode||i.host){if(i["s-p"]){U(r,r.S=i);break}}}if(e.M){Object.entries(e.M).map((function(r){var e=r[0],t=r[1][0];if(t&31&&n.hasOwnProperty(e)){var i=n[e];delete n[e];n[e]=i}}))}{J(n,r,e)}}else{nn(n,r,e.P);if(r===null||r===void 0?void 0:r.j);else if(r===null||r===void 0?void 0:r.T){r.T.then((function(){return K()}))}}t()}};var X=function(n){{I(n,"disconnectedCallback")}};var Y=function(n){return __awaiter(e,void 0,void 0,(function(){var r;return __generator(this,(function(e){if((yn.o&1)===0){r=un(n);{if(r.U){r.U.map((function(n){return n()}));r.U=undefined}}if(r===null||r===void 0?void 0:r.j){X(r.j)}else if(r===null||r===void 0?void 0:r.T){r.T.then((function(){return X(r.j)}))}}return[2]}))}))};var Z=n("b",(function(n,r){if(r===void 0){r={}}var e;var t=f();var i=[];var a=r.exclude||[];var u=dn.customElements;var o=hn.head;var l=o.querySelector("meta[charset]");var s=hn.createElement("style");var h=[];var y;var p=true;Object.assign(yn,r);yn.L=new URL(r.resourcesUrl||"./",hn.baseURI).href;var w=false;n.map((function(n){n[1].map((function(r){var e={o:r[0],m:r[1],M:r[2],P:r[3]};if(e.o&4){w=true}{e.M=r[2]}{e.P=r[3]}var t=e.m;var f=function(n){__extends(r,n);function r(r){var t=n.call(this,r)||this;r=t;on(r,e);if(e.o&1){{{r.attachShadow({mode:"open"})}}}return t}r.prototype.connectedCallback=function(){var n=this;if(y){clearTimeout(y);y=null}if(p){h.push(this)}else{yn.jmp((function(){return Q(n)}))}};r.prototype.disconnectedCallback=function(){var n=this;yn.jmp((function(){return Y(n)}))};r.prototype.componentOnReady=function(){return un(this).T};return r}(HTMLElement);e.N=n[0];if(!a.includes(t)&&!u.get(t)){i.push(t);u.define(t,B(f,e,1))}}))}));if(w){s.innerHTML+=c}{s.innerHTML+=i+v}if(s.innerHTML.length){s.setAttribute("data-styles","");o.insertBefore(s,l?l.nextSibling:o.firstChild);var b=(e=yn.h)!==null&&e!==void 0?e:d(hn);if(b!=null){s.setAttribute("nonce",b)}}p=false;if(h.length){h.map((function(n){return n.connectedCallback()}))}else{{yn.jmp((function(){return y=setTimeout(G,30)}))}}t()}));var nn=function(n,r,e,t){if(e){e.map((function(e){var t=e[0],i=e[1],a=e[2];var u=n;var f=rn(r,a);var o=en(t);yn.ael(u,i,f,o);(r.U=r.U||[]).push((function(){return yn.rel(u,i,f,o)}))}))}};var rn=function(n,r){return function(e){try{{if(n.o&256){n.j[r](e)}else{(n.k=n.k||[]).push([r,e])}}}catch(n){vn(n)}}};var en=function(n){return(n&2)!==0};var tn=n("s",(function(n){return yn.h=n}));var an=new WeakMap;var un=function(n){return an.get(n)};var fn=n("r",(function(n,r){return an.set(r.j=n,r)}));var on=function(n,r){var e={o:0,$hostElement$:n,p:r,O:new Map};{e.T=new Promise((function(n){return e.A=n}));n["s-p"]=[];n["s-rc"]=[]}nn(n,e,r.P);return an.set(n,e)};var vn=function(n,r){return(0,console.error)(n,r)};var cn=new Map;var ln=function(n,e,t){var i=n.m.replace(/-/g,"_");var a=n.N;var u=cn.get(a);if(u){return u[i]}
2
- /*!__STENCIL_STATIC_IMPORT_SWITCH__*/return r.import("./".concat(a,".entry.js").concat("")).then((function(n){{cn.set(a,n)}return n[i]}),vn)};var sn=new Map;var dn=typeof window!=="undefined"?window:{};var hn=dn.document||{head:{}};var yn={o:0,L:"",jmp:function(n){return n()},raf:function(n){return requestAnimationFrame(n)},ael:function(n,r,e,t){return n.addEventListener(r,e,t)},rel:function(n,r,e,t){return n.removeEventListener(r,e,t)},ce:function(n,r){return new CustomEvent(n,r)}};var pn=n("p",(function(n){return Promise.resolve(n)}));var wn=function(){try{new CSSStyleSheet;return typeof(new CSSStyleSheet).replaceSync==="function"}catch(n){}return false}();var bn=[];var mn=[];var _n=function(n,r){return function(e){n.push(e);if(!u){u=true;if(r&&yn.o&4){gn(Sn)}else{yn.raf(Sn)}}}};var $n=function(n){for(var r=0;r<n.length;r++){try{n[r](performance.now())}catch(n){vn(n)}}n.length=0};var Sn=function(){$n(bn);{$n(mn);if(u=bn.length>0){yn.raf(Sn)}}};var gn=function(n){return pn().then(n)};var jn=_n(mn,true)}}}));
@@ -1,2 +0,0 @@
1
- let n,t,e=!1;const l="slot-fb{display:contents}slot-fb[hidden]{display:none}",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=[],a=t=>{for(let e=0;e<t.length;e++)l=t[e],Array.isArray(l)?a(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)};a(e);const u=c(n,null);return u.l=t,r.length>0&&(u.o=r),u},c=(n,t)=>({i:0,u:n,t,m:null,o:null}),r={},a=n=>U(n).$hostElement$,u=(n,t,e)=>{const l=a(n);return{emit:n=>f(l,t,{bubbles:!!(4&e),composed:!!(2&e),cancelable:!!(1&e),detail:n})}},f=(n,t,e)=>{const l=I.ce(t,e);return n.dispatchEvent(l),l},d=new WeakMap,y=n=>"sc-"+n.h,m=(t,e,l)=>{const o=e.o[l];let s,i,c=0;if(s=o.m=G.createElement(o.u),null!=n&&s["s-si"]!==n&&s.classList.add(s["s-si"]=n),o.o)for(c=0;c<o.o.length;++c)i=m(t,o,c),i&&s.appendChild(i);return s},h=(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=m(null,l,s),c&&(o[s].m=c,r.insertBefore(c,e)))},p=(n,t,e)=>{for(let l=t;l<=e;++l){const t=n[l];if(t){const n=t.m;n&&n.remove()}}},v=(n,t)=>n.u===t.u,$=(n,t)=>{const e=t.m=n.m,l=n.o,o=t.o;null!==l&&null!==o?((n,t,e,l)=>{let o,s=0,i=0,c=t.length-1,r=t[0],a=t[c],u=l.length-1,f=l[0],d=l[u];for(;s<=c&&i<=u;)null==r?r=t[++s]:null==a?a=t[--c]:null==f?f=l[++i]:null==d?d=l[--u]:v(r,f)?($(r,f),r=t[++s],f=l[++i]):v(a,d)?($(a,d),a=t[--c],d=l[--u]):v(r,d)?($(r,d),n.insertBefore(r.m,a.m.nextSibling),r=t[++s],d=l[--u]):v(a,f)?($(a,f),n.insertBefore(a.m,r.m),a=t[--c],f=l[++i]):(o=m(t&&t[i],e,i),f=l[++i],o&&r.m.parentNode.insertBefore(o,r.m));s>c?h(n,null==l[u+1]?null:l[u+1].m,e,l,i,u):i>u&&p(t,s,c)})(e,l,t,o):null!==o?h(e,null,t,o,0,o.length-1):null!==l&&p(l,0,l.length-1)},b=(n,t)=>{t&&!n.p&&t["s-p"]&&t["s-p"].push(new Promise((t=>n.p=t)))},w=(n,t)=>{if(n.i|=16,!(4&n.i))return b(n,n.v),en((()=>S(n,t)));n.i|=512},S=(n,t)=>{const e=n.$;return t&&(n.i|=256,n.S&&(n.S.map((([n,t])=>P(e,n,t))),n.S=void 0)),g(void 0,(()=>k(n,e,t)))},g=(n,t)=>j(n)?n.then(t):t(),j=n=>n instanceof Promise||n&&n.then&&"function"==typeof n.then,k=async(n,t,e)=>{var o;const i=n.$hostElement$,c=i["s-rc"];e&&(n=>{const t=n.j,e=n.$hostElement$,o=t.i,i=((n,t)=>{var e;const o=y(t),i=z.get(o);if(n=11===n.nodeType?n:G,i)if("string"==typeof i){let c,r=d.get(n=n.head||n);if(r||d.set(n,r=new Set),!r.has(o)){{c=G.createElement("style"),c.innerHTML=i;const t=null!==(e=I.k)&&void 0!==e?e:s(G);null!=t&&c.setAttribute("nonce",t),n.insertBefore(c,n.querySelector("link"))}4&t.i&&(c.innerHTML+=l),r&&r.add(o)}}else n.adoptedStyleSheets.includes(i)||(n.adoptedStyleSheets=[...n.adoptedStyleSheets,i]);return o})(e.shadowRoot?e.shadowRoot:e.getRootNode(),t);10&o&&(e["s-sc"]=i,e.classList.add(i+"-h"))})(n);M(n,t,i,e),c&&(c.map((n=>n())),i["s-rc"]=void 0);{const t=null!==(o=i["s-p"])&&void 0!==o?o:[],e=()=>C(n);0===t.length?e():(Promise.all(t).then(e),n.i|=4,t.length=0)}},M=(e,l,o,s)=>{try{l=l.render(),e.i&=-17,e.i|=2,((e,l,o=!1)=>{const s=e.$hostElement$,a=e.M||c(null,null),u=(n=>n&&n.u===r)(l)?l:i(null,null,l);if(t=s.tagName,o&&u.l)for(const n of Object.keys(u.l))s.hasAttribute(n)&&!["key","ref","style","class"].includes(n)&&(u.l[n]=s[n]);u.u=null,u.i|=4,e.M=u,u.m=a.m=s.shadowRoot||s,n=s["s-sc"],$(a,u)})(e,l,s)}catch(n){D(n,e.$hostElement$)}return null},C=n=>{const t=n.$hostElement$,e=n.$,l=n.v;64&n.i||(n.i|=64,x(t),P(e,"componentDidLoad"),n.C(t),l||O()),n.p&&(n.p(),n.p=void 0),512&n.i&&tn((()=>w(n,!1))),n.i&=-517},O=()=>{x(G.documentElement),tn((()=>f(B,"appload",{detail:{namespace:"mds-accordion-timer"}})))},P=(n,t,e)=>{if(n&&n[t])try{return n[t](e)}catch(n){D(n)}},x=n=>n.setAttribute("hydrated",""),A=(n,t,e)=>{var l;const s=n.prototype;if(t.O){const i=Object.entries(t.O);if(i.map((([n,[l]])=>{(31&l||2&e&&32&l)&&Object.defineProperty(s,n,{get(){return((n,t)=>U(this).P.get(t))(0,n)},set(e){((n,t,e,l)=>{const s=U(n),i=s.P.get(t),c=s.i,r=s.$;e=((n,t)=>null==n||o(n)?n:2&t?parseFloat(n):n)(e,l.O[t][0]),8&c&&void 0!==i||e===i||Number.isNaN(i)&&Number.isNaN(e)||(s.P.set(t,e),r&&2==(18&c)&&w(s,!1))})(this,n,e,t)},configurable:!0,enumerable:!0})})),1&e){const e=new Map;s.attributeChangedCallback=function(n,l,o){I.jmp((()=>{var i;const c=e.get(n);if(this.hasOwnProperty(c))o=this[c],delete this[c];else{if(s.hasOwnProperty(c)&&"number"==typeof this[c]&&this[c]==o)return;if(null==c){const e=U(this),s=null==e?void 0:e.i;if(s&&!(8&s)&&128&s&&o!==l){const s=e.$,c=null===(i=t.A)||void 0===i?void 0:i[n];null==c||c.forEach((t=>{null!=s[t]&&s[t].call(s,o,l,n)}))}return}}this[c]=(null!==o||"boolean"!=typeof this[c])&&o}))},n.observedAttributes=Array.from(new Set([...Object.keys(null!==(l=t.A)&&void 0!==l?l:{}),...i.filter((([n,t])=>15&t[0])).map((([n,t])=>{const l=t[1]||n;return e.set(l,n),l}))]))}}return n},E=n=>{P(n,"disconnectedCallback")},L=(n,t={})=>{var e;const o=[],i=t.exclude||[],c=B.customElements,r=G.head,a=r.querySelector("meta[charset]"),u=G.createElement("style"),f=[];let d,m=!0;Object.assign(I,t),I.L=new URL(t.resourcesUrl||"./",G.baseURI).href;let h=!1;if(n.map((n=>{n[1].map((t=>{const e={i:t[0],h:t[1],O:t[2],N:t[3]};4&e.i&&(h=!0),e.O=t[2],e.N=t[3];const l=e.h,s=class extends HTMLElement{constructor(n){super(n),q(n=this,e),1&e.i&&n.attachShadow({mode:"open"})}connectedCallback(){d&&(clearTimeout(d),d=null),m?f.push(this):I.jmp((()=>(n=>{if(0==(1&I.i)){const t=U(n),e=t.j,l=()=>{};if(1&t.i)N(n,t,e.N),(null==t?void 0:t.$)||(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"]){b(t,t.v=e);break}}e.O&&Object.entries(e.O).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||(A(l,e,2),l.isProxied=!0);const n=()=>{};t.i|=8;try{new l(t)}catch(n){D(n)}t.i&=-9,n()}if(l.style){let n=l.style;const t=y(e);if(!z.has(t)){const l=()=>{};((n,t,e)=>{let l=z.get(n);K&&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.v,s=()=>w(t,!0);o&&o["s-rc"]?o["s-rc"].push(s):s()})(0,t,e)}l()}})(this)))}disconnectedCallback(){I.jmp((()=>(async()=>{if(0==(1&I.i)){const n=U(this);n.F&&(n.F.map((n=>n())),n.F=void 0),(null==n?void 0:n.$)?E(n.$):(null==n?void 0:n.T)&&n.T.then((()=>E(n.$)))}})()))}componentOnReady(){return U(this).T}};e.H=n[0],i.includes(l)||c.get(l)||(o.push(l),c.define(l,A(s,e,1)))}))})),h&&(u.innerHTML+=l),u.innerHTML+=o+"{visibility:hidden}[hydrated]{visibility:inherit}",u.innerHTML.length){u.setAttribute("data-styles",""),r.insertBefore(u,a?a.nextSibling:r.firstChild);const n=null!==(e=I.k)&&void 0!==e?e:s(G);null!=n&&u.setAttribute("nonce",n)}m=!1,f.length?f.map((n=>n.connectedCallback())):I.jmp((()=>d=setTimeout(O,30)))},N=(n,t,e)=>{e&&e.map((([e,l,o])=>{const s=n,i=T(t,o),c=F(e);I.ael(s,l,i,c),(t.F=t.F||[]).push((()=>I.rel(s,l,i,c)))}))},T=(n,t)=>e=>{try{256&n.i?n.$[t](e):(n.S=n.S||[]).push([t,e])}catch(n){D(n)}},F=n=>0!=(2&n),H=n=>I.k=n,R=new WeakMap,U=n=>R.get(n),W=(n,t)=>R.set(t.$=n,t),q=(n,t)=>{const e={i:0,$hostElement$:n,j:t,P:new Map};return e.T=new Promise((n=>e.C=n)),n["s-p"]=[],n["s-rc"]=[],N(n,e,t.N),R.set(n,e)},D=(n,t)=>(0,console.error)(n,t),V=new Map,_=n=>{const t=n.h.replace(/-/g,"_"),e=n.H,l=V.get(e);return l?l[t]:import(`./${e}.entry.js`).then((n=>(V.set(e,n),n[t])),D)
2
- /*!__STENCIL_STATIC_IMPORT_SWITCH__*/},z=new Map,B="undefined"!=typeof window?window:{},G=B.document||{head:{}},I={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)},J=n=>Promise.resolve(n),K=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(n){}return!1})(),Q=[],X=[],Y=(n,t)=>l=>{n.push(l),e||(e=!0,t&&4&I.i?tn(nn):I.raf(nn))},Z=n=>{for(let t=0;t<n.length;t++)try{n[t](performance.now())}catch(n){D(n)}n.length=0},nn=()=>{Z(Q),Z(X),(e=Q.length>0)&&I.raf(nn)},tn=n=>J().then(n),en=Y(X,!0);export{r as H,L as b,u as c,a as g,i as h,J as p,W as r,H as s}