@maggioli-design-system/mds-accordion-timer 4.1.0 → 4.2.1

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 (53) hide show
  1. package/dist/cjs/{index-e0b90ffc.js → index-f320eb3e.js} +102 -65
  2. package/dist/cjs/loader.cjs.js +1 -1
  3. package/dist/cjs/mds-accordion-timer.cjs.entry.js +2 -2
  4. package/dist/cjs/mds-accordion-timer.cjs.js +2 -2
  5. package/dist/collection/collection-manifest.json +1 -1
  6. package/dist/collection/common/browser.js +7 -0
  7. package/dist/collection/components/mds-accordion-timer/mds-accordion-timer.css +5 -18
  8. package/dist/components/mds-accordion-timer.js +1 -1
  9. package/dist/documentation.json +2 -2
  10. package/dist/esm/{index-d2cd5374.js → index-461ad561.js} +102 -65
  11. package/dist/esm/loader.js +2 -2
  12. package/dist/esm/mds-accordion-timer.entry.js +2 -2
  13. package/dist/esm/mds-accordion-timer.js +3 -3
  14. package/dist/esm-es5/index-461ad561.js +1 -0
  15. package/dist/esm-es5/loader.js +1 -1
  16. package/dist/esm-es5/mds-accordion-timer.entry.js +1 -1
  17. package/dist/esm-es5/mds-accordion-timer.js +1 -1
  18. package/dist/mds-accordion-timer/mds-accordion-timer.esm.js +1 -1
  19. package/dist/mds-accordion-timer/mds-accordion-timer.js +1 -1
  20. package/dist/mds-accordion-timer/p-000e3530.system.js +2 -0
  21. package/dist/mds-accordion-timer/p-13443576.js +2 -0
  22. package/dist/mds-accordion-timer/p-1fce583e.system.entry.js +1 -0
  23. package/dist/mds-accordion-timer/{p-ca2b2c96.system.js → p-20781d57.system.js} +1 -1
  24. package/dist/mds-accordion-timer/p-49f1b328.entry.js +1 -0
  25. package/dist/stats.json +33 -32
  26. package/dist/types/common/browser.d.ts +2 -0
  27. package/dist/types/common/locale.d.ts +1 -1
  28. package/documentation.json +2 -2
  29. package/package.json +4 -4
  30. package/src/common/browser.ts +10 -0
  31. package/src/common/locale.ts +2 -2
  32. package/src/components/mds-accordion-timer/css/mds-accordion-timer-pref-animation.css +5 -16
  33. package/src/components/mds-accordion-timer/mds-accordion-timer.css +0 -4
  34. package/src/fixtures/icons.json +2 -0
  35. package/src/fixtures/iconsauce.json +1 -0
  36. package/src/tailwind/components.css +2 -48
  37. package/src/tailwind/index.css +4 -0
  38. package/www/build/mds-accordion-timer.esm.js +1 -1
  39. package/www/build/mds-accordion-timer.js +1 -1
  40. package/www/build/p-000e3530.system.js +2 -0
  41. package/www/build/p-13443576.js +2 -0
  42. package/www/build/p-1fce583e.system.entry.js +1 -0
  43. package/www/build/{p-ca2b2c96.system.js → p-20781d57.system.js} +1 -1
  44. package/www/build/p-49f1b328.entry.js +1 -0
  45. package/dist/esm-es5/index-d2cd5374.js +0 -1
  46. package/dist/mds-accordion-timer/p-180c6359.entry.js +0 -1
  47. package/dist/mds-accordion-timer/p-192506ee.js +0 -2
  48. package/dist/mds-accordion-timer/p-42fd8716.system.js +0 -2
  49. package/dist/mds-accordion-timer/p-ce58a5f2.system.entry.js +0 -1
  50. package/www/build/p-180c6359.entry.js +0 -1
  51. package/www/build/p-192506ee.js +0 -2
  52. package/www/build/p-42fd8716.system.js +0 -2
  53. package/www/build/p-ce58a5f2.system.entry.js +0 -1
@@ -1,8 +1,8 @@
1
1
  const NAMESPACE = 'mds-accordion-timer';
2
- const BUILD = /* mds-accordion-timer */ { allRenderFn: true, appendChildSlotFix: false, asyncLoading: true, asyncQueue: false, attachStyles: true, cloneNodeFix: false, cmpDidLoad: true, cmpDidRender: false, cmpDidUnload: false, cmpDidUpdate: false, cmpShouldUpdate: false, cmpWillLoad: false, cmpWillRender: false, cmpWillUpdate: false, connectedCallback: false, constructableCSS: true, cssAnnotations: true, devTools: false, disconnectedCallback: true, element: false, event: true, experimentalScopedSlotChanges: false, experimentalSlotFixes: false, formAssociated: false, hasRenderFn: true, hostListener: true, hostListenerTarget: false, hostListenerTargetBody: false, hostListenerTargetDocument: false, hostListenerTargetParent: false, hostListenerTargetWindow: false, hotModuleReplacement: false, hydrateClientSide: false, hydrateServerSide: false, hydratedAttribute: true, hydratedClass: false, hydratedSelectorName: "hydrated", initializeNextTick: false, invisiblePrehydration: true, isDebug: false, isDev: false, isTesting: false, lazyLoad: true, lifecycle: true, lifecycleDOMEvents: false, member: true, method: false, mode: false, modernPropertyDecls: false, observeAttribute: true, profile: false, prop: true, propBoolean: true, propMutable: false, propNumber: true, propString: false, reflect: true, scoped: false, scopedSlotTextContentFix: false, scriptDataOpts: false, shadowDelegatesFocus: false, shadowDom: true, slot: true, slotChildNodesFix: false, slotRelocation: false, state: true, style: true, svg: false, taskQueue: true, transformTagName: false, updatable: true, vdomAttribute: true, vdomClass: false, vdomFunctional: false, vdomKey: true, vdomListener: false, vdomPropOrAttr: true, vdomRef: false, vdomRender: true, vdomStyle: false, vdomText: false, vdomXlink: false, watchCallback: true };
2
+ const BUILD = /* mds-accordion-timer */ { allRenderFn: true, appendChildSlotFix: false, asyncLoading: true, asyncQueue: false, attachStyles: true, cloneNodeFix: false, constructableCSS: true, cssAnnotations: true, devTools: false, element: false, event: true, experimentalScopedSlotChanges: false, experimentalSlotFixes: false, formAssociated: false, hasRenderFn: true, hostListener: true, hostListenerTarget: false, hostListenerTargetBody: false, hostListenerTargetDocument: false, hostListenerTargetParent: false, hostListenerTargetWindow: false, hotModuleReplacement: false, hydrateClientSide: false, hydrateServerSide: false, hydratedAttribute: true, hydratedClass: false, hydratedSelectorName: "hydrated", initializeNextTick: false, invisiblePrehydration: true, isDebug: false, isDev: false, isTesting: false, lazyLoad: true, lifecycle: true, lifecycleDOMEvents: false, member: true, method: false, mode: false, modernPropertyDecls: false, observeAttribute: true, profile: false, prop: true, propBoolean: true, propMutable: false, propNumber: true, propString: false, reflect: true, scoped: false, scopedSlotTextContentFix: false, scriptDataOpts: false, shadowDelegatesFocus: false, shadowDom: true, slot: true, slotChildNodesFix: false, slotRelocation: false, state: true, style: true, svg: false, taskQueue: true, transformTagName: false, updatable: true, vdomAttribute: true, vdomClass: false, vdomFunctional: false, vdomKey: true, vdomListener: false, vdomPropOrAttr: true, vdomRef: false, vdomRender: true, vdomStyle: false, vdomText: false, vdomXlink: false, watchCallback: true };
3
3
 
4
4
  /*
5
- Stencil Client Platform v4.25.1 | MIT Licensed | https://stenciljs.com
5
+ Stencil Client Platform v4.27.2 | MIT Licensed | https://stenciljs.com
6
6
  */
7
7
  var __defProp = Object.defineProperty;
8
8
  var __export = (target, all) => {
@@ -11,10 +11,15 @@ var __export = (target, all) => {
11
11
  };
12
12
 
13
13
  // src/client/client-host-ref.ts
14
- var hostRefs = /* @__PURE__ */ new WeakMap();
15
- var getHostRef = (ref) => hostRefs.get(ref);
14
+ var getHostRef = (ref) => {
15
+ if (ref.__stencil__getHostRef) {
16
+ return ref.__stencil__getHostRef();
17
+ }
18
+ return void 0;
19
+ };
16
20
  var registerInstance = (lazyInstance, hostRef) => {
17
- hostRefs.set(hostRef.$lazyInstance$ = lazyInstance, hostRef);
21
+ lazyInstance.__stencil__getHostRef = () => hostRef;
22
+ hostRef.$lazyInstance$ = lazyInstance;
18
23
  };
19
24
  var registerHost = (hostElement, cmpMeta) => {
20
25
  const hostRef = {
@@ -28,7 +33,8 @@ var registerHost = (hostElement, cmpMeta) => {
28
33
  hostElement["s-p"] = [];
29
34
  hostElement["s-rc"] = [];
30
35
  }
31
- const ref = hostRefs.set(hostElement, hostRef);
36
+ const ref = hostRef;
37
+ hostElement.__stencil__getHostRef = () => ref;
32
38
  return ref;
33
39
  };
34
40
  var isMemberInElement = (elm, memberName) => memberName in elm;
@@ -85,7 +91,6 @@ var HYDRATED_STYLE_ID = "sty-id";
85
91
  var HYDRATED_CSS = "{visibility:hidden}[hydrated]{visibility:inherit}";
86
92
  var SLOT_FB_CSS = "slot-fb{display:contents}slot-fb[hidden]{display:none}";
87
93
  var win = typeof window !== "undefined" ? window : {};
88
- var doc = win.document || { head: {} };
89
94
  var plt = {
90
95
  $flags$: 0,
91
96
  $resourcesUrl$: "",
@@ -96,9 +101,10 @@ var plt = {
96
101
  ce: (eventName, opts) => new CustomEvent(eventName, opts)
97
102
  };
98
103
  var supportsListenerOptions = /* @__PURE__ */ (() => {
104
+ var _a;
99
105
  let supportsListenerOptions2 = false;
100
106
  try {
101
- doc.addEventListener(
107
+ (_a = win.document) == null ? void 0 : _a.addEventListener(
102
108
  "e",
103
109
  null,
104
110
  Object.defineProperty({}, "passive", {
@@ -161,9 +167,9 @@ var isComplexType = (o) => {
161
167
  };
162
168
 
163
169
  // src/utils/query-nonce-meta-tag-content.ts
164
- function queryNonceMetaTagContent(doc2) {
170
+ function queryNonceMetaTagContent(doc) {
165
171
  var _a, _b, _c;
166
- return (_c = (_b = (_a = doc2.head) == null ? void 0 : _a.querySelector('meta[name="csp-nonce"]')) == null ? void 0 : _b.getAttribute("content")) != null ? _c : void 0;
172
+ return (_c = (_b = (_a = doc.head) == null ? void 0 : _a.querySelector('meta[name="csp-nonce"]')) == null ? void 0 : _b.getAttribute("content")) != null ? _c : void 0;
167
173
  }
168
174
 
169
175
  // src/utils/result.ts
@@ -338,7 +344,10 @@ var addStyle = (styleContainerNode, cmpMeta, mode) => {
338
344
  var _a;
339
345
  const scopeId2 = getScopeId(cmpMeta);
340
346
  const style = styles.get(scopeId2);
341
- styleContainerNode = styleContainerNode.nodeType === 11 /* DocumentFragment */ ? styleContainerNode : doc;
347
+ if (!win.document) {
348
+ return scopeId2;
349
+ }
350
+ styleContainerNode = styleContainerNode.nodeType === 11 /* DocumentFragment */ ? styleContainerNode : win.document;
342
351
  if (style) {
343
352
  if (typeof style === "string") {
344
353
  styleContainerNode = styleContainerNode.head || styleContainerNode;
@@ -349,9 +358,9 @@ var addStyle = (styleContainerNode, cmpMeta, mode) => {
349
358
  }
350
359
  if (!appliedStyles.has(scopeId2)) {
351
360
  {
352
- styleElm = document.querySelector(`[${HYDRATED_STYLE_ID}="${scopeId2}"]`) || doc.createElement("style");
361
+ styleElm = document.querySelector(`[${HYDRATED_STYLE_ID}="${scopeId2}"]`) || win.document.createElement("style");
353
362
  styleElm.innerHTML = style;
354
- const nonce = (_a = plt.$nonce$) != null ? _a : queryNonceMetaTagContent(doc);
363
+ const nonce = (_a = plt.$nonce$) != null ? _a : queryNonceMetaTagContent(win.document);
355
364
  if (nonce != null) {
356
365
  styleElm.setAttribute("nonce", nonce);
357
366
  }
@@ -380,7 +389,7 @@ var addStyle = (styleContainerNode, cmpMeta, mode) => {
380
389
  styleContainerNode.append(styleElm);
381
390
  }
382
391
  }
383
- if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */ && styleContainerNode.nodeName !== "HEAD") {
392
+ if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) {
384
393
  styleContainerNode.insertBefore(styleElm, null);
385
394
  }
386
395
  }
@@ -405,7 +414,7 @@ var attachStyles = (hostRef) => {
405
414
  const scopeId2 = addStyle(
406
415
  elm.shadowRoot ? elm.shadowRoot : elm.getRootNode(),
407
416
  cmpMeta);
408
- if (flags & 10 /* needsScopedEncapsulation */ && flags & 2 /* scopedCssEncapsulation */) {
417
+ if ((flags & 10 /* needsScopedEncapsulation */ && flags & 2 /* scopedCssEncapsulation */ || flags & 128 /* shadowNeedsScopedCss */)) {
409
418
  elm["s-sc"] = scopeId2;
410
419
  elm.classList.add(scopeId2 + "-h");
411
420
  }
@@ -413,42 +422,43 @@ var attachStyles = (hostRef) => {
413
422
  };
414
423
  var getScopeId = (cmp, mode) => "sc-" + (cmp.$tagName$);
415
424
  var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags, initialRender) => {
416
- if (oldValue !== newValue) {
417
- let isProp = isMemberInElement(elm, memberName);
418
- memberName.toLowerCase();
419
- if (memberName === "key") ; else {
420
- const isComplex = isComplexType(newValue);
421
- if ((isProp || isComplex && newValue !== null) && !isSvg) {
422
- try {
423
- if (!elm.tagName.includes("-")) {
424
- const n = newValue == null ? "" : newValue;
425
- if (memberName === "list") {
426
- isProp = false;
427
- } else if (oldValue == null || elm[memberName] != n) {
428
- if (typeof elm.__lookupSetter__(memberName) === "function") {
429
- elm[memberName] = n;
430
- } else {
431
- elm.setAttribute(memberName, n);
432
- }
425
+ if (oldValue === newValue) {
426
+ return;
427
+ }
428
+ let isProp = isMemberInElement(elm, memberName);
429
+ memberName.toLowerCase();
430
+ if (memberName === "key") ; else {
431
+ const isComplex = isComplexType(newValue);
432
+ if ((isProp || isComplex && newValue !== null) && !isSvg) {
433
+ try {
434
+ if (!elm.tagName.includes("-")) {
435
+ const n = newValue == null ? "" : newValue;
436
+ if (memberName === "list") {
437
+ isProp = false;
438
+ } else if (oldValue == null || elm[memberName] != n) {
439
+ if (typeof elm.__lookupSetter__(memberName) === "function") {
440
+ elm[memberName] = n;
441
+ } else {
442
+ elm.setAttribute(memberName, n);
433
443
  }
434
- } else if (elm[memberName] !== newValue) {
435
- elm[memberName] = newValue;
436
444
  }
437
- } catch (e) {
445
+ } else if (elm[memberName] !== newValue) {
446
+ elm[memberName] = newValue;
438
447
  }
448
+ } catch (e) {
439
449
  }
440
- if (newValue == null || newValue === false) {
441
- if (newValue !== false || elm.getAttribute(memberName) === "") {
442
- {
443
- elm.removeAttribute(memberName);
444
- }
445
- }
446
- } else if ((!isProp || flags & 4 /* isHost */ || isSvg) && !isComplex) {
447
- newValue = newValue === true ? "" : newValue;
450
+ }
451
+ if (newValue == null || newValue === false) {
452
+ if (newValue !== false || elm.getAttribute(memberName) === "") {
448
453
  {
449
- elm.setAttribute(memberName, newValue);
454
+ elm.removeAttribute(memberName);
450
455
  }
451
456
  }
457
+ } else if ((!isProp || flags & 4 /* isHost */ || isSvg) && !isComplex && elm.nodeType === 1 /* ElementNode */) {
458
+ newValue = newValue === true ? "" : newValue;
459
+ {
460
+ elm.setAttribute(memberName, newValue);
461
+ }
452
462
  }
453
463
  }
454
464
  };
@@ -499,7 +509,12 @@ var createElm = (oldParentVNode, newParentVNode, childIndex) => {
499
509
  let elm;
500
510
  let childNode;
501
511
  {
502
- elm = newVNode2.$elm$ = doc.createElement(
512
+ if (!win.document) {
513
+ throw new Error(
514
+ "You are trying to render a Stencil component in an environment that doesn't support the DOM. Make sure to populate the [`window`](https://developer.mozilla.org/en-US/docs/Web/API/Window/window) object before rendering a component."
515
+ );
516
+ }
517
+ elm = newVNode2.$elm$ = win.document.createElement(
503
518
  !useNativeShadowDom && BUILD.slotRelocation && newVNode2.$flags$ & 2 /* isSlotFallback */ ? "slot-fb" : newVNode2.$tag$
504
519
  );
505
520
  {
@@ -644,12 +659,9 @@ var patch = (oldVNode, newVNode2, isInitialRender = false) => {
644
659
  const elm = newVNode2.$elm$ = oldVNode.$elm$;
645
660
  const oldChildren = oldVNode.$children$;
646
661
  const newChildren = newVNode2.$children$;
647
- const tag = newVNode2.$tag$;
648
662
  {
649
663
  {
650
- if (tag === "slot" && !useNativeShadowDom) ; else {
651
- updateElement(oldVNode, newVNode2, isSvgMode);
652
- }
664
+ updateElement(oldVNode, newVNode2, isSvgMode);
653
665
  }
654
666
  if (oldChildren !== null && newChildren !== null) {
655
667
  updateChildren(elm, oldChildren, newVNode2, newChildren, isInitialRender);
@@ -691,7 +703,7 @@ var renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
691
703
  rootVnode.$flags$ |= 4 /* isHost */;
692
704
  hostRef.$vnode$ = rootVnode;
693
705
  rootVnode.$elm$ = oldVNode.$elm$ = hostElm.shadowRoot || hostElm ;
694
- useNativeShadowDom = (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) !== 0;
706
+ useNativeShadowDom = !!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) && !(cmpMeta.$flags$ & 128 /* shadowNeedsScopedCss */);
695
707
  patch(oldVNode, rootVnode, isInitialLoad);
696
708
  };
697
709
 
@@ -738,7 +750,11 @@ var dispatchHooks = (hostRef, isInitialLoad) => {
738
750
  hostRef.$queuedListeners$ = void 0;
739
751
  }
740
752
  }
753
+ maybePromise = safeCall(instance, "componentWillLoad", void 0, elm);
754
+ } else {
755
+ maybePromise = safeCall(instance, "componentWillUpdate", void 0, elm);
741
756
  }
757
+ maybePromise = enqueue(maybePromise, () => safeCall(instance, "componentWillRender", void 0, elm));
742
758
  endSchedule();
743
759
  return enqueue(maybePromise, () => updateComponent(hostRef, instance, isInitialLoad));
744
760
  };
@@ -804,14 +820,13 @@ var postUpdateComponent = (hostRef) => {
804
820
  const endPostUpdate = createTime("postUpdate", tagName);
805
821
  const instance = hostRef.$lazyInstance$ ;
806
822
  const ancestorComponent = hostRef.$ancestorComponent$;
823
+ safeCall(instance, "componentDidRender", void 0, elm);
807
824
  if (!(hostRef.$flags$ & 64 /* hasLoadedComponent */)) {
808
825
  hostRef.$flags$ |= 64 /* hasLoadedComponent */;
809
826
  {
810
827
  addHydratedFlag(elm);
811
828
  }
812
- {
813
- safeCall(instance, "componentDidLoad", void 0, elm);
814
- }
829
+ safeCall(instance, "componentDidLoad", void 0, elm);
815
830
  endPostUpdate();
816
831
  {
817
832
  hostRef.$onReadyResolve$(elm);
@@ -820,6 +835,7 @@ var postUpdateComponent = (hostRef) => {
820
835
  }
821
836
  }
822
837
  } else {
838
+ safeCall(instance, "componentDidUpdate", void 0, elm);
823
839
  endPostUpdate();
824
840
  }
825
841
  {
@@ -834,9 +850,6 @@ var postUpdateComponent = (hostRef) => {
834
850
  }
835
851
  };
836
852
  var appDidLoad = (who) => {
837
- {
838
- addHydratedFlag(doc.documentElement);
839
- }
840
853
  nextTick(() => emitEvent(win, "appload", { detail: { namespace: NAMESPACE } }));
841
854
  };
842
855
  var safeCall = (instance, method, arg, elm) => {
@@ -860,7 +873,7 @@ var setValue = (ref, propName, newVal, cmpMeta) => {
860
873
  const hostRef = getHostRef(ref);
861
874
  if (!hostRef) {
862
875
  throw new Error(
863
- `Couldn't find host element for "${cmpMeta.$tagName$}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/ionic-team/stencil/issues/5457).`
876
+ `Couldn't find host element for "${cmpMeta.$tagName$}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/stenciljs/core/issues/5457).`
864
877
  );
865
878
  }
866
879
  const elm = hostRef.$hostElement$ ;
@@ -886,6 +899,11 @@ var setValue = (ref, propName, newVal, cmpMeta) => {
886
899
  }
887
900
  }
888
901
  if ((flags & (2 /* hasRendered */ | 16 /* isQueuedForUpdate */)) === 2 /* hasRendered */) {
902
+ if (instance.componentShouldUpdate) {
903
+ if (instance.componentShouldUpdate(newVal, oldVal, propName) === false) {
904
+ return;
905
+ }
906
+ }
889
907
  scheduleUpdate(hostRef, false);
890
908
  }
891
909
  }
@@ -1025,7 +1043,8 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
1025
1043
  let Cstr;
1026
1044
  if ((hostRef.$flags$ & 32 /* hasInitializedComponent */) === 0) {
1027
1045
  hostRef.$flags$ |= 32 /* hasInitializedComponent */;
1028
- {
1046
+ const bundleId = cmpMeta.$lazyBundleId$;
1047
+ if (bundleId) {
1029
1048
  const CstrImport = loadModule(cmpMeta, hostRef);
1030
1049
  if (CstrImport && "then" in CstrImport) {
1031
1050
  const endLoad = uniqueTime();
@@ -1060,6 +1079,11 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
1060
1079
  hostRef.$flags$ |= 128 /* isWatchReady */;
1061
1080
  }
1062
1081
  endNewInstance();
1082
+ fireConnectedCallback(hostRef.$lazyInstance$, elm);
1083
+ } else {
1084
+ Cstr = elm.constructor;
1085
+ const cmpTag = elm.localName;
1086
+ customElements.whenDefined(cmpTag).then(() => hostRef.$flags$ |= 128 /* isWatchReady */);
1063
1087
  }
1064
1088
  if (Cstr && Cstr.style) {
1065
1089
  let style;
@@ -1083,6 +1107,9 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
1083
1107
  }
1084
1108
  };
1085
1109
  var fireConnectedCallback = (instance, elm) => {
1110
+ {
1111
+ safeCall(instance, "connectedCallback", void 0, elm);
1112
+ }
1086
1113
  };
1087
1114
 
1088
1115
  // src/runtime/connected-callback.ts
@@ -1116,8 +1143,10 @@ var connectedCallback = (elm) => {
1116
1143
  }
1117
1144
  } else {
1118
1145
  addHostEventListeners(elm, hostRef, cmpMeta.$listeners$);
1119
- if (hostRef == null ? void 0 : hostRef.$lazyInstance$) ; else if (hostRef == null ? void 0 : hostRef.$onReadyPromise$) {
1120
- hostRef.$onReadyPromise$.then(() => fireConnectedCallback());
1146
+ if (hostRef == null ? void 0 : hostRef.$lazyInstance$) {
1147
+ fireConnectedCallback(hostRef.$lazyInstance$, elm);
1148
+ } else if (hostRef == null ? void 0 : hostRef.$onReadyPromise$) {
1149
+ hostRef.$onReadyPromise$.then(() => fireConnectedCallback(hostRef.$lazyInstance$, elm));
1121
1150
  }
1122
1151
  }
1123
1152
  endConnected();
@@ -1154,18 +1183,22 @@ var disconnectedCallback = async (elm) => {
1154
1183
  // src/runtime/bootstrap-lazy.ts
1155
1184
  var bootstrapLazy = (lazyBundles, options = {}) => {
1156
1185
  var _a;
1186
+ if (!win.document) {
1187
+ console.warn("Stencil: No document found. Skipping bootstrapping lazy components.");
1188
+ return;
1189
+ }
1157
1190
  const endBootstrap = createTime();
1158
1191
  const cmpTags = [];
1159
1192
  const exclude = options.exclude || [];
1160
1193
  const customElements2 = win.customElements;
1161
- const head = doc.head;
1194
+ const head = win.document.head;
1162
1195
  const metaCharset = /* @__PURE__ */ head.querySelector("meta[charset]");
1163
- const dataStyles = /* @__PURE__ */ doc.createElement("style");
1196
+ const dataStyles = /* @__PURE__ */ win.document.createElement("style");
1164
1197
  const deferredConnectedCallbacks = [];
1165
1198
  let appLoadFallback;
1166
1199
  let isBootstrapping = true;
1167
1200
  Object.assign(plt, options);
1168
- plt.$resourcesUrl$ = new URL(options.resourcesUrl || "./", doc.baseURI).href;
1201
+ plt.$resourcesUrl$ = new URL(options.resourcesUrl || "./", win.document.baseURI).href;
1169
1202
  let hasSlotRelocation = false;
1170
1203
  lazyBundles.map((lazyBundle) => {
1171
1204
  lazyBundle[1].map((compactMeta) => {
@@ -1236,6 +1269,10 @@ var bootstrapLazy = (lazyBundles, options = {}) => {
1236
1269
  plt.raf(() => {
1237
1270
  var _a3;
1238
1271
  const hostRef = getHostRef(this);
1272
+ const i2 = deferredConnectedCallbacks.findIndex((host) => host === this);
1273
+ if (i2 > -1) {
1274
+ deferredConnectedCallbacks.splice(i2, 1);
1275
+ }
1239
1276
  if (((_a3 = hostRef == null ? void 0 : hostRef.$vnode$) == null ? void 0 : _a3.$elm$) instanceof Node && !hostRef.$vnode$.$elm$.isConnected) {
1240
1277
  delete hostRef.$vnode$.$elm$;
1241
1278
  }
@@ -1264,7 +1301,7 @@ var bootstrapLazy = (lazyBundles, options = {}) => {
1264
1301
  }
1265
1302
  if (dataStyles.innerHTML.length) {
1266
1303
  dataStyles.setAttribute("data-styles", "");
1267
- const nonce = (_a = plt.$nonce$) != null ? _a : queryNonceMetaTagContent(doc);
1304
+ const nonce = (_a = plt.$nonce$) != null ? _a : queryNonceMetaTagContent(win.document);
1268
1305
  if (nonce != null) {
1269
1306
  dataStyles.setAttribute("nonce", nonce);
1270
1307
  }
@@ -1282,7 +1319,7 @@ var bootstrapLazy = (lazyBundles, options = {}) => {
1282
1319
  endBootstrap();
1283
1320
  };
1284
1321
  var addHostEventListeners = (elm, hostRef, listeners, attachParentListeners) => {
1285
- if (listeners) {
1322
+ if (listeners && win.document) {
1286
1323
  listeners.map(([flags, name, method]) => {
1287
1324
  const target = elm;
1288
1325
  const handler = hostListenerProxy(hostRef, method);
@@ -1,5 +1,5 @@
1
- import { b as bootstrapLazy } from './index-d2cd5374.js';
2
- export { s as setNonce } from './index-d2cd5374.js';
1
+ import { b as bootstrapLazy } from './index-461ad561.js';
2
+ export { s as setNonce } from './index-461ad561.js';
3
3
  import { g as globalScripts } from './app-globals-0f993ce5.js';
4
4
 
5
5
  const defineCustomElements = async (win, options) => {
@@ -1,6 +1,6 @@
1
- import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-d2cd5374.js';
1
+ import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-461ad561.js';
2
2
 
3
- const mdsAccordionTimerCss = "@tailwind utilities;\n\n/**\n * @prop --mds-accordion-timer-progress-bar-color: Sets the color of the progress bar when the mds-accordion-timer-item is selected\n * @prop --mds-accordion-timer-progress-bar-background: Sets the background-color of the progress bar when the mds-accordion-timer-item is selected\n * @prop --mds-accordion-timer-color: Sets the text color of the component mds-accordion-timer-item\n * @prop --mds-accordion-timer-progress-bar-thickness: Sets thickness of the progress bar of the mds-accordion-timer-item\n * @prop --mds-accordion-timer-duration: Sets the transition duration of open/close animation of the mds-accordion-timer-item\n */\n\n:host {\n\n --mds-accordion-timer-progress-bar-color: rgb(var(--tone-neutral-03));\n --mds-accordion-timer-progress-bar-background: rgb(var(--tone-neutral-08));\n --mds-accordion-timer-progress-bar-thickness: 0.25rem;\n --mds-accordion-timer-duration: 500ms;\n\n /* comment */\n display: block;\n}\n\n@container style(--magma-pref-animation: reduce) {\n :host {\n\n --mds-accordion-timer-item-duration: var(--mds-accordion-timer-duration, 0s);\n\n }\n}\n\n@container style(--magma-pref-animation: system) {\n\n @media (prefers-reduced-motion) {\n :host {\n\n --mds-accordion-timer-item-duration: var(--mds-accordion-timer-duration, 0s);\n\n }\n }\n}\n\n:host(:not(:is([hydrated], .hydrated))) {\n -webkit-animation-duration: 0s;\n animation-duration: 0s;\n border-color: transparent;\n -webkit-box-shadow: 0 0 0 transparent;\n box-shadow: 0 0 0 transparent;\n opacity: 0;\n outline-color: transparent;\n -webkit-transition-delay: 0s;\n transition-delay: 0s;\n -webkit-transition-duration: 0s;\n transition-duration: 0s;\n visibility: hidden;\n}\n\n/* TODO refact(stencil): Uses only used selector from parent shadowDOM component */\n\nmds-accordion:not(:is([hydrated], .hydrated)),\nmds-accordion-item:not(:is([hydrated], .hydrated)),\nmds-accordion-timer:not(:is([hydrated], .hydrated)),\nmds-accordion-timer-item:not(:is([hydrated], .hydrated)),\nmds-author:not(:is([hydrated], .hydrated)),\nmds-avatar:not(:is([hydrated], .hydrated)),\nmds-badge:not(:is([hydrated], .hydrated)),\nmds-banner:not(:is([hydrated], .hydrated)),\nmds-benchmark-bar:not(:is([hydrated], .hydrated)),\nmds-bibliography:not(:is([hydrated], .hydrated)),\nmds-breadcrumb:not(:is([hydrated], .hydrated)),\nmds-breadcrumb-item:not(:is([hydrated], .hydrated)),\nmds-button:not(:is([hydrated], .hydrated)),\nmds-card:not(:is([hydrated], .hydrated)),\nmds-card-content:not(:is([hydrated], .hydrated)),\nmds-card-footer:not(:is([hydrated], .hydrated)),\nmds-card-header:not(:is([hydrated], .hydrated)),\nmds-card-media:not(:is([hydrated], .hydrated)),\nmds-chip:not(:is([hydrated], .hydrated)),\nmds-details:not(:is([hydrated], .hydrated)),\nmds-dropdown:not(:is([hydrated], .hydrated)),\nmds-entity:not(:is([hydrated], .hydrated)),\nmds-file:not(:is([hydrated], .hydrated)),\nmds-file-preview:not(:is([hydrated], .hydrated)),\nmds-filter:not(:is([hydrated], .hydrated)),\nmds-filter-item:not(:is([hydrated], .hydrated)),\nmds-header:not(:is([hydrated], .hydrated)),\nmds-header-bar:not(:is([hydrated], .hydrated)),\nmds-help:not(:is([hydrated], .hydrated)),\nmds-horizontal-scroll:not(:is([hydrated], .hydrated)),\nmds-hr:not(:is([hydrated], .hydrated)),\nmds-icon:not(:is([hydrated], .hydrated)),\nmds-img:not(:is([hydrated], .hydrated)),\nmds-input:not(:is([hydrated], .hydrated)),\nmds-input-field:not(:is([hydrated], .hydrated)),\nmds-input-range:not(:is([hydrated], .hydrated)),\nmds-input-select:not(:is([hydrated], .hydrated)),\nmds-input-switch:not(:is([hydrated], .hydrated)),\nmds-input-tip:not(:is([hydrated], .hydrated)),\nmds-input-tip-item:not(:is([hydrated], .hydrated)),\nmds-input-upload:not(:is([hydrated], .hydrated)),\nmds-keyboard:not(:is([hydrated], .hydrated)),\nmds-keyboard-key:not(:is([hydrated], .hydrated)),\nmds-kpi:not(:is([hydrated], .hydrated)),\nmds-kpi-item:not(:is([hydrated], .hydrated)),\nmds-label:not(:is([hydrated], .hydrated)),\nmds-list:not(:is([hydrated], .hydrated)),\nmds-list-item:not(:is([hydrated], .hydrated)),\nmds-modal:not(:is([hydrated], .hydrated)),\nmds-note:not(:is([hydrated], .hydrated)),\nmds-notification:not(:is([hydrated], .hydrated)),\nmds-paginator:not(:is([hydrated], .hydrated)),\nmds-paginator-item:not(:is([hydrated], .hydrated)),\nmds-pref:not(:is([hydrated], .hydrated)),\nmds-pref-animation:not(:is([hydrated], .hydrated)),\nmds-pref-consumption:not(:is([hydrated], .hydrated)),\nmds-pref-contrast:not(:is([hydrated], .hydrated)),\nmds-pref-language:not(:is([hydrated], .hydrated)),\nmds-pref-language-item:not(:is([hydrated], .hydrated)),\nmds-pref-theme:not(:is([hydrated], .hydrated)),\nmds-price-table:not(:is([hydrated], .hydrated)),\nmds-price-table-features:not(:is([hydrated], .hydrated)),\nmds-price-table-features-cell:not(:is([hydrated], .hydrated)),\nmds-price-table-features-row:not(:is([hydrated], .hydrated)),\nmds-price-table-header:not(:is([hydrated], .hydrated)),\nmds-price-table-list:not(:is([hydrated], .hydrated)),\nmds-price-table-list-item:not(:is([hydrated], .hydrated)),\nmds-progress:not(:is([hydrated], .hydrated)),\nmds-push-notification:not(:is([hydrated], .hydrated)),\nmds-push-notifications:not(:is([hydrated], .hydrated)),\nmds-quote:not(:is([hydrated], .hydrated)),\nmds-separator:not(:is([hydrated], .hydrated)),\nmds-spinner:not(:is([hydrated], .hydrated)),\nmds-stepper-bar:not(:is([hydrated], .hydrated)),\nmds-stepper-bar-item:not(:is([hydrated], .hydrated)),\nmds-tab:not(:is([hydrated], .hydrated)),\nmds-tab-bar:not(:is([hydrated], .hydrated)),\nmds-tab-bar-item:not(:is([hydrated], .hydrated)),\nmds-tab-item:not(:is([hydrated], .hydrated)),\nmds-table:not(:is([hydrated], .hydrated)),\nmds-table-body:not(:is([hydrated], .hydrated)),\nmds-table-cell:not(:is([hydrated], .hydrated)),\nmds-table-footer:not(:is([hydrated], .hydrated)),\nmds-table-header:not(:is([hydrated], .hydrated)),\nmds-table-header-cell:not(:is([hydrated], .hydrated)),\nmds-table-row:not(:is([hydrated], .hydrated)),\nmds-text:not(:is([hydrated], .hydrated)),\nmds-toast:not(:is([hydrated], .hydrated)),\nmds-tooltip:not(:is([hydrated], .hydrated)),\nmds-tree:not(:is([hydrated], .hydrated)),\nmds-tree-item:not(:is([hydrated], .hydrated)),\nmds-url-view:not(:is([hydrated], .hydrated)),\nmds-usage:not(:is([hydrated], .hydrated)),\nmds-video-wall:not(:is([hydrated], .hydrated)),\nmds-zero:not(:is([hydrated], .hydrated))\n{\n -webkit-animation-duration: 0s;\n animation-duration: 0s;\n border-color: transparent;\n -webkit-box-shadow: 0 0 0 transparent;\n box-shadow: 0 0 0 transparent;\n opacity: 0;\n outline-color: transparent;\n -webkit-transition-delay: 0s;\n transition-delay: 0s;\n -webkit-transition-duration: 0s;\n transition-duration: 0s;\n visibility: hidden;\n}\n\n";
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}:host-context(.pref-animation-reduce){--mds-accordion-timer-item-duration:var(--mds-accordion-timer-duration, 0s)}@media (prefers-reduced-motion){:host-context(.pref-animation-system){--mds-accordion-timer-item-duration:var(--mds-accordion-timer-duration, 0s)}}:host(:not(:is([hydrated],.hydrated))){-webkit-animation-duration:0s;animation-duration:0s;border-color:transparent;-webkit-box-shadow:0 0 0 transparent;box-shadow:0 0 0 transparent;opacity:0;outline-color:transparent;-webkit-transition-delay:0s;transition-delay:0s;-webkit-transition-duration:0s;transition-duration:0s;visibility:hidden}mds-accordion:not(:is([hydrated],.hydrated)),mds-accordion-item:not(:is([hydrated],.hydrated)),mds-accordion-timer:not(:is([hydrated],.hydrated)),mds-accordion-timer-item:not(:is([hydrated],.hydrated)),mds-author:not(:is([hydrated],.hydrated)),mds-avatar:not(:is([hydrated],.hydrated)),mds-badge:not(:is([hydrated],.hydrated)),mds-banner:not(:is([hydrated],.hydrated)),mds-benchmark-bar:not(:is([hydrated],.hydrated)),mds-bibliography:not(:is([hydrated],.hydrated)),mds-breadcrumb:not(:is([hydrated],.hydrated)),mds-breadcrumb-item:not(:is([hydrated],.hydrated)),mds-button:not(:is([hydrated],.hydrated)),mds-card:not(:is([hydrated],.hydrated)),mds-card-content:not(:is([hydrated],.hydrated)),mds-card-footer:not(:is([hydrated],.hydrated)),mds-card-header:not(:is([hydrated],.hydrated)),mds-card-media:not(:is([hydrated],.hydrated)),mds-chip:not(:is([hydrated],.hydrated)),mds-details:not(:is([hydrated],.hydrated)),mds-dropdown:not(:is([hydrated],.hydrated)),mds-entity:not(:is([hydrated],.hydrated)),mds-file:not(:is([hydrated],.hydrated)),mds-file-preview:not(:is([hydrated],.hydrated)),mds-filter:not(:is([hydrated],.hydrated)),mds-filter-item:not(:is([hydrated],.hydrated)),mds-header:not(:is([hydrated],.hydrated)),mds-header-bar:not(:is([hydrated],.hydrated)),mds-help:not(:is([hydrated],.hydrated)),mds-horizontal-scroll:not(:is([hydrated],.hydrated)),mds-hr:not(:is([hydrated],.hydrated)),mds-icon:not(:is([hydrated],.hydrated)),mds-img:not(:is([hydrated],.hydrated)),mds-input:not(:is([hydrated],.hydrated)),mds-input-field:not(:is([hydrated],.hydrated)),mds-input-range:not(:is([hydrated],.hydrated)),mds-input-select:not(:is([hydrated],.hydrated)),mds-input-switch:not(:is([hydrated],.hydrated)),mds-input-tip:not(:is([hydrated],.hydrated)),mds-input-tip-item:not(:is([hydrated],.hydrated)),mds-input-upload:not(:is([hydrated],.hydrated)),mds-keyboard:not(:is([hydrated],.hydrated)),mds-keyboard-key:not(:is([hydrated],.hydrated)),mds-kpi:not(:is([hydrated],.hydrated)),mds-kpi-item:not(:is([hydrated],.hydrated)),mds-label:not(:is([hydrated],.hydrated)),mds-list:not(:is([hydrated],.hydrated)),mds-list-item:not(:is([hydrated],.hydrated)),mds-modal:not(:is([hydrated],.hydrated)),mds-note:not(:is([hydrated],.hydrated)),mds-notification:not(:is([hydrated],.hydrated)),mds-paginator:not(:is([hydrated],.hydrated)),mds-paginator-item:not(:is([hydrated],.hydrated)),mds-pref:not(:is([hydrated],.hydrated)),mds-pref-animation:not(:is([hydrated],.hydrated)),mds-pref-consumption:not(:is([hydrated],.hydrated)),mds-pref-contrast:not(:is([hydrated],.hydrated)),mds-pref-language:not(:is([hydrated],.hydrated)),mds-pref-language-item:not(:is([hydrated],.hydrated)),mds-pref-theme:not(:is([hydrated],.hydrated)),mds-price-table:not(:is([hydrated],.hydrated)),mds-price-table-features:not(:is([hydrated],.hydrated)),mds-price-table-features-cell:not(:is([hydrated],.hydrated)),mds-price-table-features-row:not(:is([hydrated],.hydrated)),mds-price-table-header:not(:is([hydrated],.hydrated)),mds-price-table-list:not(:is([hydrated],.hydrated)),mds-price-table-list-item:not(:is([hydrated],.hydrated)),mds-progress:not(:is([hydrated],.hydrated)),mds-push-notification:not(:is([hydrated],.hydrated)),mds-push-notifications:not(:is([hydrated],.hydrated)),mds-quote:not(:is([hydrated],.hydrated)),mds-separator:not(:is([hydrated],.hydrated)),mds-spinner:not(:is([hydrated],.hydrated)),mds-stepper-bar:not(:is([hydrated],.hydrated)),mds-stepper-bar-item:not(:is([hydrated],.hydrated)),mds-tab:not(:is([hydrated],.hydrated)),mds-tab-bar:not(:is([hydrated],.hydrated)),mds-tab-bar-item:not(:is([hydrated],.hydrated)),mds-tab-item:not(:is([hydrated],.hydrated)),mds-table:not(:is([hydrated],.hydrated)),mds-table-body:not(:is([hydrated],.hydrated)),mds-table-cell:not(:is([hydrated],.hydrated)),mds-table-footer:not(:is([hydrated],.hydrated)),mds-table-header:not(:is([hydrated],.hydrated)),mds-table-header-cell:not(:is([hydrated],.hydrated)),mds-table-row:not(:is([hydrated],.hydrated)),mds-text:not(:is([hydrated],.hydrated)),mds-toast:not(:is([hydrated],.hydrated)),mds-tooltip:not(:is([hydrated],.hydrated)),mds-tree:not(:is([hydrated],.hydrated)),mds-tree-item:not(:is([hydrated],.hydrated)),mds-url-view:not(:is([hydrated],.hydrated)),mds-usage:not(:is([hydrated],.hydrated)),mds-video-wall:not(:is([hydrated],.hydrated)),mds-zero:not(:is([hydrated],.hydrated)){-webkit-animation-duration:0s;animation-duration:0s;border-color:transparent;-webkit-box-shadow:0 0 0 transparent;box-shadow:0 0 0 transparent;opacity:0;outline-color:transparent;-webkit-transition-delay:0s;transition-delay:0s;-webkit-transition-duration:0s;transition-duration:0s;visibility:hidden}";
4
4
  const MdsAccordionTimerStyle0 = mdsAccordionTimerCss;
5
5
 
6
6
  const MdsAccordionTimer = class {
@@ -1,9 +1,9 @@
1
- import { p as promiseResolve, b as bootstrapLazy } from './index-d2cd5374.js';
2
- export { s as setNonce } from './index-d2cd5374.js';
1
+ import { p as promiseResolve, b as bootstrapLazy } from './index-461ad561.js';
2
+ export { s as setNonce } from './index-461ad561.js';
3
3
  import { g as globalScripts } from './app-globals-0f993ce5.js';
4
4
 
5
5
  /*
6
- Stencil Client Patch Browser v4.25.1 | MIT Licensed | https://stenciljs.com
6
+ Stencil Client Patch Browser v4.27.2 | MIT Licensed | https://stenciljs.com
7
7
  */
8
8
  var patchBrowser = () => {
9
9
  const importMeta = import.meta.url;
@@ -0,0 +1 @@
1
+ var __extends=this&&this.__extends||function(){var e=function(t,r){e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)if(Object.prototype.hasOwnProperty.call(t,r))e[r]=t[r]};return e(t,r)};return function(t,r){if(typeof r!=="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");e(t,r);function n(){this.constructor=t}t.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}();var __awaiter=this&&this.__awaiter||function(e,t,r,n){function i(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,a){function o(e){try{u(n.next(e))}catch(e){a(e)}}function s(e){try{u(n["throw"](e))}catch(e){a(e)}}function u(e){e.done?r(e.value):i(e.value).then(o,s)}u((n=n.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var r={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},n,i,a,o;return o={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function s(e){return function(t){return u([e,t])}}function u(s){if(n)throw new TypeError("Generator is already executing.");while(o&&(o=0,s[0]&&(r=0)),r)try{if(n=1,i&&(a=s[0]&2?i["return"]:s[0]?i["throw"]||((a=i["return"])&&a.call(i),0):i.next)&&!(a=a.call(i,s[1])).done)return a;if(i=0,a)s=[s[0]&2,a.value];switch(s[0]){case 0:case 1:a=s;break;case 4:r.label++;return{value:s[1],done:false};case 5:r.label++;i=s[1];s=[0];continue;case 7:s=r.ops.pop();r.trys.pop();continue;default:if(!(a=r.trys,a=a.length>0&&a[a.length-1])&&(s[0]===6||s[0]===2)){r=0;continue}if(s[0]===3&&(!a||s[1]>a[0]&&s[1]<a[3])){r.label=s[1];break}if(s[0]===6&&r.label<a[1]){r.label=a[1];a=s;break}if(a&&r.label<a[2]){r.label=a[2];r.ops.push(s);break}if(a[2])r.ops.pop();r.trys.pop();continue}s=t.call(e,r)}catch(e){s=[6,e];i=0}finally{n=a=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(e,t,r){if(r||arguments.length===2)for(var n=0,i=t.length,a;n<i;n++){if(a||!(n in t)){if(!a)a=Array.prototype.slice.call(t,0,n);a[n]=t[n]}}return e.concat(a||Array.prototype.slice.call(t))};var NAMESPACE="mds-accordion-timer";var BUILD={allRenderFn:true,appendChildSlotFix:false,asyncLoading:true,asyncQueue:false,attachStyles:true,cloneNodeFix:false,constructableCSS:true,cssAnnotations:true,devTools:false,element:false,event:true,experimentalScopedSlotChanges:false,experimentalSlotFixes:false,formAssociated:false,hasRenderFn:true,hostListener:true,hostListenerTarget:false,hostListenerTargetBody:false,hostListenerTargetDocument:false,hostListenerTargetParent:false,hostListenerTargetWindow:false,hotModuleReplacement:false,hydrateClientSide:false,hydrateServerSide:false,hydratedAttribute:true,hydratedClass:false,hydratedSelectorName:"hydrated",initializeNextTick:false,invisiblePrehydration:true,isDebug:false,isDev:false,isTesting:false,lazyLoad:true,lifecycle:true,lifecycleDOMEvents:false,member:true,method:false,mode:false,modernPropertyDecls:false,observeAttribute:true,profile:false,prop:true,propBoolean:true,propMutable:false,propNumber:true,propString:false,reflect:true,scoped:false,scopedSlotTextContentFix:false,scriptDataOpts:false,shadowDelegatesFocus:false,shadowDom:true,slot:true,slotChildNodesFix:false,slotRelocation:false,state:true,style:true,svg:false,taskQueue:true,transformTagName:false,updatable:true,vdomAttribute:true,vdomClass:false,vdomFunctional:false,vdomKey:true,vdomListener:false,vdomPropOrAttr:true,vdomRef:false,vdomRender:true,vdomStyle:false,vdomText:false,vdomXlink:false,watchCallback:true};var __defProp=Object.defineProperty;var __export=function(e,t){for(var r in t)__defProp(e,r,{get:t[r],enumerable:true})};var getHostRef=function(e){if(e.__stencil__getHostRef){return e.__stencil__getHostRef()}return void 0};var registerInstance=function(e,t){e.__stencil__getHostRef=function(){return t};t.t=e};var registerHost=function(e,t){var r={i:0,$hostElement$:e,o:t,u:new Map};{r.l=new Promise((function(e){return r.v=e}));e["s-p"]=[];e["s-rc"]=[]}var n=r;e.__stencil__getHostRef=function(){return n};return n};var isMemberInElement=function(e,t){return t in e};var consoleError=function(e,t){return(0,console.error)(e,t)};var cmpModules=new Map;var loadModule=function(e,t,r){var n=e.p.replace(/-/g,"_");var i=e.m;if(!i){return void 0}var a=cmpModules.get(i);if(a){return a[n]}if(!r||!BUILD.hotModuleReplacement){var o=function(e){cmpModules.set(i,e);return e[n]};switch(i){case"mds-accordion-timer":return import("./mds-accordion-timer.entry.js").then(o,consoleError)}}return import("./".concat(i,".entry.js").concat("")).then((function(e){{cmpModules.set(i,e)}return e[n]}),(function(e){consoleError(e,t.$hostElement$)}))};var styles=new Map;var HYDRATED_STYLE_ID="sty-id";var HYDRATED_CSS="{visibility:hidden}[hydrated]{visibility:inherit}";var SLOT_FB_CSS="slot-fb{display:contents}slot-fb[hidden]{display:none}";var win=typeof window!=="undefined"?window:{};var plt={i:0,h:"",jmp:function(e){return e()},raf:function(e){return requestAnimationFrame(e)},ael:function(e,t,r,n){return e.addEventListener(t,r,n)},rel:function(e,t,r,n){return e.removeEventListener(t,r,n)},ce:function(e,t){return new CustomEvent(e,t)}};var supportsListenerOptions=function(){var e;var t=false;try{(e=win.document)==null?void 0:e.addEventListener("e",null,Object.defineProperty({},"passive",{get:function(){t=true}}))}catch(e){}return t}();var promiseResolve=function(e){return Promise.resolve(e)};var supportsConstructableStylesheets=function(){try{new CSSStyleSheet;return typeof(new CSSStyleSheet).replaceSync==="function"}catch(e){}return false}();var queuePending=false;var queueDomReads=[];var queueDomWrites=[];var queueTask=function(e,t){return function(r){e.push(r);if(!queuePending){queuePending=true;if(t&&plt.i&4){nextTick(flush)}else{plt.raf(flush)}}}};var consume=function(e){for(var t=0;t<e.length;t++){try{e[t](performance.now())}catch(e){consoleError(e)}}e.length=0};var flush=function(){consume(queueDomReads);{consume(queueDomWrites);if(queuePending=queueDomReads.length>0){plt.raf(flush)}}};var nextTick=function(e){return promiseResolve().then(e)};var writeTask=queueTask(queueDomWrites,true);var isComplexType=function(e){e=typeof e;return e==="object"||e==="function"};function queryNonceMetaTagContent(e){var t,r,n;return(n=(r=(t=e.head)==null?void 0:t.querySelector('meta[name="csp-nonce"]'))==null?void 0:r.getAttribute("content"))!=null?n:void 0}var result_exports={};__export(result_exports,{err:function(){return err},map:function(){return map},ok:function(){return ok},unwrap:function(){return unwrap},unwrapErr:function(){return unwrapErr}});var ok=function(e){return{isOk:true,isErr:false,value:e}};var err=function(e){return{isOk:false,isErr:true,value:e}};function map(e,t){if(e.isOk){var r=t(e.value);if(r instanceof Promise){return r.then((function(e){return ok(e)}))}else{return ok(r)}}if(e.isErr){var n=e.value;return err(n)}throw"should never get here"}var unwrap=function(e){if(e.isOk){return e.value}else{throw e.value}};var unwrapErr=function(e){if(e.isErr){return e.value}else{throw e.value}};var createTime=function(e,t){if(t===void 0){t=""}{return function(){return}}};var uniqueTime=function(e,t){{return function(){return}}};var h=function(e,t){var r=[];for(var n=2;n<arguments.length;n++){r[n-2]=arguments[n]}var i=null;var a=null;var o=false;var s=false;var u=[];var l=function(t){for(var r=0;r<t.length;r++){i=t[r];if(Array.isArray(i)){l(i)}else if(i!=null&&typeof i!=="boolean"){if(o=typeof e!=="function"&&!isComplexType(i)){i=String(i)}if(o&&s){u[u.length-1].S+=i}else{u.push(o?newVNode(null,i):i)}s=o}}};l(r);if(t){if(t.key){a=t.key}}var f=newVNode(e,null);f.C=t;if(u.length>0){f._=u}{f.T=a}return f};var newVNode=function(e,t){var r={i:0,k:e,S:t,A:null,_:null};{r.C=null}{r.T=null}return r};var Host={};var isHost=function(e){return e&&e.k===Host};var parsePropertyValue=function(e,t){if(e!=null&&!isComplexType(e)){if(t&4){return e==="false"?false:e===""||!!e}if(t&2){return parseFloat(e)}return e}return e};var getElement=function(e){return getHostRef(e).$hostElement$};var createEvent=function(e,t,r){var n=getElement(e);return{emit:function(e){return emitEvent(n,t,{bubbles:!!(r&4),composed:!!(r&2),cancelable:!!(r&1),detail:e})}}};var emitEvent=function(e,t,r){var n=plt.ce(t,r);e.dispatchEvent(n);return n};var rootAppliedStyles=new WeakMap;var registerStyle=function(e,t,r){var n=styles.get(e);if(supportsConstructableStylesheets&&r){n=n||new CSSStyleSheet;if(typeof n==="string"){n=t}else{n.replaceSync(t)}}else{n=t}styles.set(e,n)};var addStyle=function(e,t,r){var n;var i=getScopeId(t);var a=styles.get(i);if(!win.document){return i}e=e.nodeType===11?e:win.document;if(a){if(typeof a==="string"){e=e.head||e;var o=rootAppliedStyles.get(e);var s=void 0;if(!o){rootAppliedStyles.set(e,o=new Set)}if(!o.has(i)){{s=document.querySelector("[".concat(HYDRATED_STYLE_ID,'="').concat(i,'"]'))||win.document.createElement("style");s.innerHTML=a;var u=(n=plt.D)!=null?n:queryNonceMetaTagContent(win.document);if(u!=null){s.setAttribute("nonce",u)}if(!(t.i&1)){if(e.nodeName==="HEAD"){var l=e.querySelectorAll("link[rel=preconnect]");var f=l.length>0?l[l.length-1].nextSibling:e.querySelector("style");e.insertBefore(s,(f==null?void 0:f.parentNode)===e?f:null)}else if("host"in e){if(supportsConstructableStylesheets){var c=new CSSStyleSheet;c.replaceSync(a);e.adoptedStyleSheets=__spreadArray([c],e.adoptedStyleSheets,true)}else{var v=e.querySelector("style");if(v){v.innerHTML=a+v.innerHTML}else{e.prepend(s)}}}else{e.append(s)}}if(t.i&1){e.insertBefore(s,null)}}if(t.i&4){s.innerHTML+=SLOT_FB_CSS}if(o){o.add(i)}}}else if(!e.adoptedStyleSheets.includes(a)){e.adoptedStyleSheets=__spreadArray(__spreadArray([],e.adoptedStyleSheets,true),[a],false)}}return i};var attachStyles=function(e){var t=e.o;var r=e.$hostElement$;var n=t.i;var i=createTime("attachStyles",t.p);var a=addStyle(r.shadowRoot?r.shadowRoot:r.getRootNode(),t);if(n&10&&n&2||n&128){r["s-sc"]=a;r.classList.add(a+"-h")}i()};var getScopeId=function(e,t){return"sc-"+e.p};var setAccessor=function(e,t,r,n,i,a,o){if(r===n){return}var s=isMemberInElement(e,t);t.toLowerCase();if(t==="key");else{var u=isComplexType(n);if((s||u&&n!==null)&&!i){try{if(!e.tagName.includes("-")){var l=n==null?"":n;if(t==="list"){s=false}else if(r==null||e[t]!=l){if(typeof e.__lookupSetter__(t)==="function"){e[t]=l}else{e.setAttribute(t,l)}}}else if(e[t]!==n){e[t]=n}}catch(e){}}if(n==null||n===false){if(n!==false||e.getAttribute(t)===""){{e.removeAttribute(t)}}}else if((!s||a&4||i)&&!u&&e.nodeType===1){n=n===true?"":n;{e.setAttribute(t,n)}}}};var updateElement=function(e,t,r,n){var i=t.A.nodeType===11&&t.A.host?t.A.host:t.A;var a=e&&e.C||{};var o=t.C||{};{for(var s=0,u=sortedAttrNames(Object.keys(a));s<u.length;s++){var l=u[s];if(!(l in o)){setAccessor(i,l,a[l],void 0,r,t.i)}}}for(var f=0,c=sortedAttrNames(Object.keys(o));f<c.length;f++){var l=c[f];setAccessor(i,l,a[l],o[l],r,t.i)}};function sortedAttrNames(e){return e.includes("ref")?__spreadArray(__spreadArray([],e.filter((function(e){return e!=="ref"})),true),["ref"],false):e}var hostTagName;var useNativeShadowDom=false;var isSvgMode=false;var createElm=function(e,t,r){var n=t._[r];var i=0;var a;var o;{if(!win.document){throw new Error("You are trying to render a Stencil component in an environment that doesn't support the DOM. Make sure to populate the [`window`](https://developer.mozilla.org/en-US/docs/Web/API/Window/window) object before rendering a component.")}a=n.A=win.document.createElement(!useNativeShadowDom&&BUILD.slotRelocation&&n.i&2?"slot-fb":n.k);{updateElement(null,n,isSvgMode)}if(n._){for(i=0;i<n._.length;++i){o=createElm(e,n,i);if(o){a.appendChild(o)}}}}a["s-hn"]=hostTagName;return a};var addVnodes=function(e,t,r,n,i,a){var o=e;var s;if(o.shadowRoot&&o.tagName===hostTagName){o=o.shadowRoot}for(;i<=a;++i){if(n[i]){s=createElm(null,r,i);if(s){n[i].A=s;insertBefore(o,s,t)}}}};var removeVnodes=function(e,t,r){for(var n=t;n<=r;++n){var i=e[n];if(i){var a=i.A;if(a){a.remove()}}}};var updateChildren=function(e,t,r,n,i){if(i===void 0){i=false}var a=0;var o=0;var s=0;var u=0;var l=t.length-1;var f=t[0];var c=t[l];var v=n.length-1;var d=n[0];var p=n[v];var m;var h;while(a<=l&&o<=v){if(f==null){f=t[++a]}else if(c==null){c=t[--l]}else if(d==null){d=n[++o]}else if(p==null){p=n[--v]}else if(isSameVnode(f,d,i)){patch(f,d,i);f=t[++a];d=n[++o]}else if(isSameVnode(c,p,i)){patch(c,p,i);c=t[--l];p=n[--v]}else if(isSameVnode(f,p,i)){patch(f,p,i);insertBefore(e,f.A,c.A.nextSibling);f=t[++a];p=n[--v]}else if(isSameVnode(c,d,i)){patch(c,d,i);insertBefore(e,c.A,f.A);c=t[--l];d=n[++o]}else{s=-1;{for(u=a;u<=l;++u){if(t[u]&&t[u].T!==null&&t[u].T===d.T){s=u;break}}}if(s>=0){h=t[s];if(h.k!==d.k){m=createElm(t&&t[o],r,s)}else{patch(h,d,i);t[s]=void 0;m=h.A}d=n[++o]}else{m=createElm(t&&t[o],r,o);d=n[++o]}if(m){{insertBefore(f.A.parentNode,m,f.A)}}}}if(a>l){addVnodes(e,n[v+1]==null?null:n[v+1].A,r,n,o,v)}else if(o>v){removeVnodes(t,a,l)}};var isSameVnode=function(e,t,r){if(r===void 0){r=false}if(e.k===t.k){if(!r){return e.T===t.T}if(r&&!e.T&&t.T){e.T=t.T}return true}return false};var patch=function(e,t,r){if(r===void 0){r=false}var n=t.A=e.A;var i=e._;var a=t._;{{updateElement(e,t,isSvgMode)}if(i!==null&&a!==null){updateChildren(n,i,t,a,r)}else if(a!==null){addVnodes(n,null,t,a,0,a.length-1)}else if(!r&&BUILD.updatable&&i!==null){removeVnodes(i,0,i.length-1)}}};var insertBefore=function(e,t,r){{return e==null?void 0:e.insertBefore(t,r)}};var renderVdom=function(e,t,r){if(r===void 0){r=false}var n=e.$hostElement$;var i=e.o;var a=e.L||newVNode(null,null);var o=isHost(t)?t:h(null,null,t);hostTagName=n.tagName;if(i.H){o.C=o.C||{};i.H.map((function(e){var t=e[0],r=e[1];return o.C[r]=n[t]}))}if(r&&o.C){for(var s=0,u=Object.keys(o.C);s<u.length;s++){var l=u[s];if(n.hasAttribute(l)&&!["key","ref","style","class"].includes(l)){o.C[l]=n[l]}}}o.k=null;o.i|=4;e.L=o;o.A=a.A=n.shadowRoot||n;useNativeShadowDom=!!(i.i&1)&&!(i.i&128);patch(a,o,r)};var attachToAncestor=function(e,t){if(t&&!e.R&&t["s-p"]){var r=t["s-p"].push(new Promise((function(n){return e.R=function(){t["s-p"].splice(r-1,1);n()}})))}};var scheduleUpdate=function(e,t){{e.i|=16}if(e.i&4){e.i|=512;return}attachToAncestor(e,e.N);var r=function(){return dispatchHooks(e,t)};return writeTask(r)};var dispatchHooks=function(e,t){var r=e.$hostElement$;var n=createTime("scheduleUpdate",e.o.p);var i=e.t;if(!i){throw new Error("Can't render component <".concat(r.tagName.toLowerCase()," /> with invalid Stencil runtime! Make sure this imported component is compiled with a `externalRuntime: true` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime"))}var a;if(t){{e.i|=256;if(e.M){e.M.map((function(e){var t=e[0],n=e[1];return safeCall(i,t,n,r)}));e.M=void 0}}a=safeCall(i,"componentWillLoad",void 0,r)}else{a=safeCall(i,"componentWillUpdate",void 0,r)}a=enqueue(a,(function(){return safeCall(i,"componentWillRender",void 0,r)}));n();return enqueue(a,(function(){return updateComponent(e,i,t)}))};var enqueue=function(e,t){return isPromisey(e)?e.then(t).catch((function(e){console.error(e);t()})):t()};var isPromisey=function(e){return e instanceof Promise||e&&e.then&&typeof e.then==="function"};var updateComponent=function(e,t,r){return __awaiter(void 0,void 0,void 0,(function(){var n,i,a,o,s,u,l;return __generator(this,(function(f){i=e.$hostElement$;a=createTime("update",e.o.p);o=i["s-rc"];if(r){attachStyles(e)}s=createTime("render",e.o.p);{callRender(e,t,i,r)}if(o){o.map((function(e){return e()}));i["s-rc"]=void 0}s();a();{u=(n=i["s-p"])!=null?n:[];l=function(){return postUpdateComponent(e)};if(u.length===0){l()}else{Promise.all(u).then(l);e.i|=4;u.length=0}}return[2]}))}))};var callRender=function(e,t,r,n){try{t=t.render();{e.i&=~16}{e.i|=2}{{{renderVdom(e,t,n)}}}}catch(t){consoleError(t,e.$hostElement$)}return null};var postUpdateComponent=function(e){var t=e.o.p;var r=e.$hostElement$;var n=createTime("postUpdate",t);var i=e.t;var a=e.N;safeCall(i,"componentDidRender",void 0,r);if(!(e.i&64)){e.i|=64;{addHydratedFlag(r)}safeCall(i,"componentDidLoad",void 0,r);n();{e.v(r);if(!a){appDidLoad()}}}else{safeCall(i,"componentDidUpdate",void 0,r);n()}{if(e.R){e.R();e.R=void 0}if(e.i&512){nextTick((function(){return scheduleUpdate(e,false)}))}e.i&=~(4|512)}};var appDidLoad=function(e){nextTick((function(){return emitEvent(win,"appload",{detail:{namespace:NAMESPACE}})}))};var safeCall=function(e,t,r,n){if(e&&e[t]){try{return e[t](r)}catch(e){consoleError(e,n)}}return void 0};var addHydratedFlag=function(e){var t;return e.setAttribute((t=BUILD.hydratedSelectorName)!=null?t:"hydrated","")};var getValue=function(e,t){return getHostRef(e).u.get(t)};var setValue=function(e,t,r,n){var i=getHostRef(e);if(!i){throw new Error("Couldn't find host element for \"".concat(n.p,'" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/stenciljs/core/issues/5457).'))}var a=i.$hostElement$;var o=i.u.get(t);var s=i.i;var u=i.t;r=parsePropertyValue(r,n.$[t][0]);var l=Number.isNaN(o)&&Number.isNaN(r);var f=r!==o&&!l;if((!(s&8)||o===void 0)&&f){i.u.set(t,r);if(u){if(n.O&&s&128){var c=n.O[t];if(c){c.map((function(e){try{u[e](r,o,t)}catch(e){consoleError(e,a)}}))}}if((s&(2|16))===2){if(u.componentShouldUpdate){if(u.componentShouldUpdate(r,o,t)===false){return}}scheduleUpdate(i,false)}}}};var proxyComponent=function(e,t,r){var n,i;var a=e.prototype;if(t.$||(t.O||e.watchers)){if(e.watchers&&!t.O){t.O=e.watchers}var o=Object.entries((n=t.$)!=null?n:{});o.map((function(e){var n=e[0],i=e[1][0];if(i&31||r&2&&i&32){var o=Object.getOwnPropertyDescriptor(a,n)||{},s=o.get,u=o.set;if(s)t.$[n][0]|=2048;if(u)t.$[n][0]|=4096;if(r&1||!s){Object.defineProperty(a,n,{get:function(){{if((t.$[n][0]&2048)===0){return getValue(this,n)}var e=getHostRef(this);var r=e?e.t:a;if(!r)return;return r[n]}},configurable:true,enumerable:true})}Object.defineProperty(a,n,{set:function(e){var a=this;var o=getHostRef(this);if(u){var s=i&32?this[n]:o.$hostElement$[n];if(typeof s==="undefined"&&o.u.get(n)){e=o.u.get(n)}else if(!o.u.get(n)&&s){o.u.set(n,s)}u.apply(this,[parsePropertyValue(e,i)]);e=i&32?this[n]:o.$hostElement$[n];setValue(this,n,e,t);return}{if((r&1)===0||(t.$[n][0]&4096)===0){setValue(this,n,e,t);if(r&1&&!o.t){o.l.then((function(){if(t.$[n][0]&4096&&o.t[n]!==o.u.get(n)){o.t[n]=e}}))}return}var l=function(){var r=o.t[n];if(!o.u.get(n)&&r){o.u.set(n,r)}o.t[n]=parsePropertyValue(e,i);setValue(a,n,o.t[n],t)};if(o.t){l()}else{o.l.then((function(){return l()}))}}}})}}));if(r&1){var s=new Map;a.attributeChangedCallback=function(e,r,n){var i=this;plt.jmp((function(){var o;var u=s.get(e);if(i.hasOwnProperty(u)&&BUILD.lazyLoad){n=i[u];delete i[u]}else if(a.hasOwnProperty(u)&&typeof i[u]==="number"&&i[u]==n){return}else if(u==null){var l=getHostRef(i);var f=l==null?void 0:l.i;if(f&&!(f&8)&&f&128&&n!==r){var c=l.t;var v=(o=t.O)==null?void 0:o[e];v==null?void 0:v.forEach((function(t){if(c[t]!=null){c[t].call(c,n,r,e)}}))}return}var d=Object.getOwnPropertyDescriptor(a,u);n=n===null&&typeof i[u]==="boolean"?false:n;if(n!==i[u]&&(!d.get||!!d.set)){i[u]=n}}))};e.observedAttributes=Array.from(new Set(__spreadArray(__spreadArray([],Object.keys((i=t.O)!=null?i:{}),true),o.filter((function(e){var t=e[0],r=e[1];return r[0]&15})).map((function(e){var r=e[0],n=e[1];var i;var a=n[1]||r;s.set(a,r);if(n[0]&512){(i=t.H)==null?void 0:i.push([r,a])}return a})),true)))}}return e};var initializeComponent=function(e,t,r,n){return __awaiter(void 0,void 0,void 0,(function(){var n,i,a,o,s,u,l,f,c,v,d;return __generator(this,(function(p){switch(p.label){case 0:if(!((t.i&32)===0))return[3,6];t.i|=32;i=r.m;if(!i)return[3,4];a=loadModule(r,t);if(!(a&&"then"in a))return[3,2];o=uniqueTime();return[4,a];case 1:n=p.sent();o();return[3,3];case 2:n=a;p.label=3;case 3:if(!n){throw new Error('Constructor for "'.concat(r.p,"#").concat(t.P,'" was not found'))}if(!n.isProxied){{r.O=n.watchers}proxyComponent(n,r,2);n.isProxied=true}s=createTime("createInstance",r.p);{t.i|=8}try{new n(t)}catch(t){consoleError(t,e)}{t.i&=~8}{t.i|=128}s();fireConnectedCallback(t.t,e);return[3,5];case 4:n=e.constructor;u=e.localName;customElements.whenDefined(u).then((function(){return t.i|=128}));p.label=5;case 5:if(n&&n.style){l=void 0;if(typeof n.style==="string"){l=n.style}f=getScopeId(r);if(!styles.has(f)){c=createTime("registerStyles",r.p);registerStyle(f,l,!!(r.i&1));c()}}p.label=6;case 6:v=t.N;d=function(){return scheduleUpdate(t,true)};if(v&&v["s-rc"]){v["s-rc"].push(d)}else{d()}return[2]}}))}))};var fireConnectedCallback=function(e,t){{safeCall(e,"connectedCallback",void 0,t)}};var connectedCallback=function(e){if((plt.i&1)===0){var t=getHostRef(e);var r=t.o;var n=createTime("connectedCallback",r.p);if(!(t.i&1)){t.i|=1;{var i=e;while(i=i.parentNode||i.host){if(i["s-p"]){attachToAncestor(t,t.N=i);break}}}if(r.$){Object.entries(r.$).map((function(t){var r=t[0],n=t[1][0];if(n&31&&e.hasOwnProperty(r)){var i=e[r];delete e[r];e[r]=i}}))}{initializeComponent(e,t,r)}}else{addHostEventListeners(e,t,r.V);if(t==null?void 0:t.t){fireConnectedCallback(t.t,e)}else if(t==null?void 0:t.l){t.l.then((function(){return fireConnectedCallback(t.t,e)}))}}n()}};var disconnectInstance=function(e,t){{safeCall(e,"disconnectedCallback",void 0,t||e)}};var disconnectedCallback=function(e){return __awaiter(void 0,void 0,void 0,(function(){var t;return __generator(this,(function(r){if((plt.i&1)===0){t=getHostRef(e);{if(t.j){t.j.map((function(e){return e()}));t.j=void 0}}if(t==null?void 0:t.t){disconnectInstance(t.t,e)}else if(t==null?void 0:t.l){t.l.then((function(){return disconnectInstance(t.t,e)}))}}if(rootAppliedStyles.has(e)){rootAppliedStyles.delete(e)}if(e.shadowRoot&&rootAppliedStyles.has(e.shadowRoot)){rootAppliedStyles.delete(e.shadowRoot)}return[2]}))}))};var bootstrapLazy=function(e,t){if(t===void 0){t={}}var r;if(!win.document){console.warn("Stencil: No document found. Skipping bootstrapping lazy components.");return}var n=createTime();var i=[];var a=t.exclude||[];var o=win.customElements;var s=win.document.head;var u=s.querySelector("meta[charset]");var l=win.document.createElement("style");var f=[];var c;var v=true;Object.assign(plt,t);plt.h=new URL(t.resourcesUrl||"./",win.document.baseURI).href;var d=false;e.map((function(e){e[1].map((function(t){var r;var n={i:t[0],p:t[1],$:t[2],V:t[3]};if(n.i&4){d=true}{n.$=t[2]}{n.V=t[3]}{n.H=[]}{n.O=(r=t[4])!=null?r:{}}var s=n.p;var u=function(e){__extends(t,e);function t(t){var r=e.call(this,t)||this;r.hasRegisteredEventListeners=false;t=r;registerHost(t,n);if(n.i&1){{if(!t.shadowRoot){{t.attachShadow({mode:"open"})}}else{if(t.shadowRoot.mode!=="open"){throw new Error("Unable to re-use existing shadow root for ".concat(n.p,"! Mode is set to ").concat(t.shadowRoot.mode," but Stencil only supports open shadow roots."))}}}}return r}t.prototype.connectedCallback=function(){var e=this;var t=getHostRef(this);if(!this.hasRegisteredEventListeners){this.hasRegisteredEventListeners=true;addHostEventListeners(this,t,n.V)}if(c){clearTimeout(c);c=null}if(v){f.push(this)}else{plt.jmp((function(){return connectedCallback(e)}))}};t.prototype.disconnectedCallback=function(){var e=this;plt.jmp((function(){return disconnectedCallback(e)}));plt.raf((function(){var t;var r=getHostRef(e);var n=f.findIndex((function(t){return t===e}));if(n>-1){f.splice(n,1)}if(((t=r==null?void 0:r.L)==null?void 0:t.A)instanceof Node&&!r.L.A.isConnected){delete r.L.A}}))};t.prototype.componentOnReady=function(){return getHostRef(this).l};return t}(HTMLElement);n.m=e[0];if(!a.includes(s)&&!o.get(s)){i.push(s);o.define(s,proxyComponent(u,n,1))}}))}));if(i.length>0){if(d){l.textContent+=SLOT_FB_CSS}{l.textContent+=i.sort()+HYDRATED_CSS}if(l.innerHTML.length){l.setAttribute("data-styles","");var p=(r=plt.D)!=null?r:queryNonceMetaTagContent(win.document);if(p!=null){l.setAttribute("nonce",p)}s.insertBefore(l,u?u.nextSibling:s.firstChild)}}v=false;if(f.length){f.map((function(e){return e.connectedCallback()}))}else{{plt.jmp((function(){return c=setTimeout(appDidLoad,30)}))}}n()};var addHostEventListeners=function(e,t,r,n){if(r&&win.document){r.map((function(r){var n=r[0],i=r[1],a=r[2];var o=e;var s=hostListenerProxy(t,a);var u=hostListenerOpts(n);plt.ael(o,i,s,u);(t.j=t.j||[]).push((function(){return plt.rel(o,i,s,u)}))}))}};var hostListenerProxy=function(e,t){return function(r){var n;try{{if(e.i&256){(n=e.t)==null?void 0:n[t](r)}else{(e.M=e.M||[]).push([t,r])}}}catch(t){consoleError(t,e.$hostElement$)}}};var hostListenerOpts=function(e){return supportsListenerOptions?{passive:(e&1)!==0,capture:(e&2)!==0}:(e&2)!==0};var setNonce=function(e){return plt.D=e};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
- var __awaiter=this&&this.__awaiter||function(e,t,n,r){function o(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,i){function c(e){try{u(r.next(e))}catch(e){i(e)}}function a(e){try{u(r["throw"](e))}catch(e){i(e)}}function u(e){e.done?n(e.value):o(e.value).then(c,a)}u((r=r.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var n={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},r,o,i,c;return c={next:a(0),throw:a(1),return:a(2)},typeof Symbol==="function"&&(c[Symbol.iterator]=function(){return this}),c;function a(e){return function(t){return u([e,t])}}function u(a){if(r)throw new TypeError("Generator is already executing.");while(c&&(c=0,a[0]&&(n=0)),n)try{if(r=1,o&&(i=a[0]&2?o["return"]:a[0]?o["throw"]||((i=o["return"])&&i.call(o),0):o.next)&&!(i=i.call(o,a[1])).done)return i;if(o=0,i)a=[a[0]&2,i.value];switch(a[0]){case 0:case 1:i=a;break;case 4:n.label++;return{value:a[1],done:false};case 5:n.label++;o=a[1];a=[0];continue;case 7:a=n.ops.pop();n.trys.pop();continue;default:if(!(i=n.trys,i=i.length>0&&i[i.length-1])&&(a[0]===6||a[0]===2)){n=0;continue}if(a[0]===3&&(!i||a[1]>i[0]&&a[1]<i[3])){n.label=a[1];break}if(a[0]===6&&n.label<i[1]){n.label=i[1];i=a;break}if(i&&n.label<i[2]){n.label=i[2];n.ops.push(a);break}if(i[2])n.ops.pop();n.trys.pop();continue}a=t.call(e,n)}catch(e){a=[6,e];o=0}finally{r=i=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:true}}};import{b as bootstrapLazy}from"./index-d2cd5374.js";export{s as setNonce}from"./index-d2cd5374.js";import{g as globalScripts}from"./app-globals-0f993ce5.js";var defineCustomElements=function(e,t){return __awaiter(void 0,void 0,void 0,(function(){return __generator(this,(function(e){switch(e.label){case 0:if(typeof window==="undefined")return[2,undefined];return[4,globalScripts()];case 1:e.sent();return[2,bootstrapLazy([["mds-accordion-timer",[[1,"mds-accordion-timer",{duration:[514],paused:[516],time:[32]},[[0,"mdsAccordionTimerItemClickSelect","onClickSelect"],[0,"mdsAccordionTimerItemSelect","onSelect"],[0,"mdsAccordionTimerItemMouseEnterSelect","onMouseEnterSelect"],[0,"mdsAccordionTimerItemMouseLeaveSelect","onMouseLeaveSelect"]],{paused:["handlePaused"]}]]]],t)]}}))}))};export{defineCustomElements};
1
+ var __awaiter=this&&this.__awaiter||function(e,t,n,r){function o(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,i){function c(e){try{u(r.next(e))}catch(e){i(e)}}function a(e){try{u(r["throw"](e))}catch(e){i(e)}}function u(e){e.done?n(e.value):o(e.value).then(c,a)}u((r=r.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var n={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},r,o,i,c;return c={next:a(0),throw:a(1),return:a(2)},typeof Symbol==="function"&&(c[Symbol.iterator]=function(){return this}),c;function a(e){return function(t){return u([e,t])}}function u(a){if(r)throw new TypeError("Generator is already executing.");while(c&&(c=0,a[0]&&(n=0)),n)try{if(r=1,o&&(i=a[0]&2?o["return"]:a[0]?o["throw"]||((i=o["return"])&&i.call(o),0):o.next)&&!(i=i.call(o,a[1])).done)return i;if(o=0,i)a=[a[0]&2,i.value];switch(a[0]){case 0:case 1:i=a;break;case 4:n.label++;return{value:a[1],done:false};case 5:n.label++;o=a[1];a=[0];continue;case 7:a=n.ops.pop();n.trys.pop();continue;default:if(!(i=n.trys,i=i.length>0&&i[i.length-1])&&(a[0]===6||a[0]===2)){n=0;continue}if(a[0]===3&&(!i||a[1]>i[0]&&a[1]<i[3])){n.label=a[1];break}if(a[0]===6&&n.label<i[1]){n.label=i[1];i=a;break}if(i&&n.label<i[2]){n.label=i[2];n.ops.push(a);break}if(i[2])n.ops.pop();n.trys.pop();continue}a=t.call(e,n)}catch(e){a=[6,e];o=0}finally{r=i=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:true}}};import{b as bootstrapLazy}from"./index-461ad561.js";export{s as setNonce}from"./index-461ad561.js";import{g as globalScripts}from"./app-globals-0f993ce5.js";var defineCustomElements=function(e,t){return __awaiter(void 0,void 0,void 0,(function(){return __generator(this,(function(e){switch(e.label){case 0:if(typeof window==="undefined")return[2,undefined];return[4,globalScripts()];case 1:e.sent();return[2,bootstrapLazy([["mds-accordion-timer",[[1,"mds-accordion-timer",{duration:[514],paused:[516],time:[32]},[[0,"mdsAccordionTimerItemClickSelect","onClickSelect"],[0,"mdsAccordionTimerItemSelect","onSelect"],[0,"mdsAccordionTimerItemMouseEnterSelect","onMouseEnterSelect"],[0,"mdsAccordionTimerItemMouseLeaveSelect","onMouseLeaveSelect"]],{paused:["handlePaused"]}]]]],t)]}}))}))};export{defineCustomElements};
@@ -1 +1 @@
1
- import{r as registerInstance,c as createEvent,h,H as Host,g as getElement}from"./index-d2cd5374.js";var mdsAccordionTimerCss="@tailwind utilities;\n\n/**\n * @prop --mds-accordion-timer-progress-bar-color: Sets the color of the progress bar when the mds-accordion-timer-item is selected\n * @prop --mds-accordion-timer-progress-bar-background: Sets the background-color of the progress bar when the mds-accordion-timer-item is selected\n * @prop --mds-accordion-timer-color: Sets the text color of the component mds-accordion-timer-item\n * @prop --mds-accordion-timer-progress-bar-thickness: Sets thickness of the progress bar of the mds-accordion-timer-item\n * @prop --mds-accordion-timer-duration: Sets the transition duration of open/close animation of the mds-accordion-timer-item\n */\n\n:host {\n\n --mds-accordion-timer-progress-bar-color: rgb(var(--tone-neutral-03));\n --mds-accordion-timer-progress-bar-background: rgb(var(--tone-neutral-08));\n --mds-accordion-timer-progress-bar-thickness: 0.25rem;\n --mds-accordion-timer-duration: 500ms;\n\n /* comment */\n display: block;\n}\n\n@container style(--magma-pref-animation: reduce) {\n :host {\n\n --mds-accordion-timer-item-duration: var(--mds-accordion-timer-duration, 0s);\n\n }\n}\n\n@container style(--magma-pref-animation: system) {\n\n @media (prefers-reduced-motion) {\n :host {\n\n --mds-accordion-timer-item-duration: var(--mds-accordion-timer-duration, 0s);\n\n }\n }\n}\n\n:host(:not(:is([hydrated], .hydrated))) {\n -webkit-animation-duration: 0s;\n animation-duration: 0s;\n border-color: transparent;\n -webkit-box-shadow: 0 0 0 transparent;\n box-shadow: 0 0 0 transparent;\n opacity: 0;\n outline-color: transparent;\n -webkit-transition-delay: 0s;\n transition-delay: 0s;\n -webkit-transition-duration: 0s;\n transition-duration: 0s;\n visibility: hidden;\n}\n\n/* TODO refact(stencil): Uses only used selector from parent shadowDOM component */\n\nmds-accordion:not(:is([hydrated], .hydrated)),\nmds-accordion-item:not(:is([hydrated], .hydrated)),\nmds-accordion-timer:not(:is([hydrated], .hydrated)),\nmds-accordion-timer-item:not(:is([hydrated], .hydrated)),\nmds-author:not(:is([hydrated], .hydrated)),\nmds-avatar:not(:is([hydrated], .hydrated)),\nmds-badge:not(:is([hydrated], .hydrated)),\nmds-banner:not(:is([hydrated], .hydrated)),\nmds-benchmark-bar:not(:is([hydrated], .hydrated)),\nmds-bibliography:not(:is([hydrated], .hydrated)),\nmds-breadcrumb:not(:is([hydrated], .hydrated)),\nmds-breadcrumb-item:not(:is([hydrated], .hydrated)),\nmds-button:not(:is([hydrated], .hydrated)),\nmds-card:not(:is([hydrated], .hydrated)),\nmds-card-content:not(:is([hydrated], .hydrated)),\nmds-card-footer:not(:is([hydrated], .hydrated)),\nmds-card-header:not(:is([hydrated], .hydrated)),\nmds-card-media:not(:is([hydrated], .hydrated)),\nmds-chip:not(:is([hydrated], .hydrated)),\nmds-details:not(:is([hydrated], .hydrated)),\nmds-dropdown:not(:is([hydrated], .hydrated)),\nmds-entity:not(:is([hydrated], .hydrated)),\nmds-file:not(:is([hydrated], .hydrated)),\nmds-file-preview:not(:is([hydrated], .hydrated)),\nmds-filter:not(:is([hydrated], .hydrated)),\nmds-filter-item:not(:is([hydrated], .hydrated)),\nmds-header:not(:is([hydrated], .hydrated)),\nmds-header-bar:not(:is([hydrated], .hydrated)),\nmds-help:not(:is([hydrated], .hydrated)),\nmds-horizontal-scroll:not(:is([hydrated], .hydrated)),\nmds-hr:not(:is([hydrated], .hydrated)),\nmds-icon:not(:is([hydrated], .hydrated)),\nmds-img:not(:is([hydrated], .hydrated)),\nmds-input:not(:is([hydrated], .hydrated)),\nmds-input-field:not(:is([hydrated], .hydrated)),\nmds-input-range:not(:is([hydrated], .hydrated)),\nmds-input-select:not(:is([hydrated], .hydrated)),\nmds-input-switch:not(:is([hydrated], .hydrated)),\nmds-input-tip:not(:is([hydrated], .hydrated)),\nmds-input-tip-item:not(:is([hydrated], .hydrated)),\nmds-input-upload:not(:is([hydrated], .hydrated)),\nmds-keyboard:not(:is([hydrated], .hydrated)),\nmds-keyboard-key:not(:is([hydrated], .hydrated)),\nmds-kpi:not(:is([hydrated], .hydrated)),\nmds-kpi-item:not(:is([hydrated], .hydrated)),\nmds-label:not(:is([hydrated], .hydrated)),\nmds-list:not(:is([hydrated], .hydrated)),\nmds-list-item:not(:is([hydrated], .hydrated)),\nmds-modal:not(:is([hydrated], .hydrated)),\nmds-note:not(:is([hydrated], .hydrated)),\nmds-notification:not(:is([hydrated], .hydrated)),\nmds-paginator:not(:is([hydrated], .hydrated)),\nmds-paginator-item:not(:is([hydrated], .hydrated)),\nmds-pref:not(:is([hydrated], .hydrated)),\nmds-pref-animation:not(:is([hydrated], .hydrated)),\nmds-pref-consumption:not(:is([hydrated], .hydrated)),\nmds-pref-contrast:not(:is([hydrated], .hydrated)),\nmds-pref-language:not(:is([hydrated], .hydrated)),\nmds-pref-language-item:not(:is([hydrated], .hydrated)),\nmds-pref-theme:not(:is([hydrated], .hydrated)),\nmds-price-table:not(:is([hydrated], .hydrated)),\nmds-price-table-features:not(:is([hydrated], .hydrated)),\nmds-price-table-features-cell:not(:is([hydrated], .hydrated)),\nmds-price-table-features-row:not(:is([hydrated], .hydrated)),\nmds-price-table-header:not(:is([hydrated], .hydrated)),\nmds-price-table-list:not(:is([hydrated], .hydrated)),\nmds-price-table-list-item:not(:is([hydrated], .hydrated)),\nmds-progress:not(:is([hydrated], .hydrated)),\nmds-push-notification:not(:is([hydrated], .hydrated)),\nmds-push-notifications:not(:is([hydrated], .hydrated)),\nmds-quote:not(:is([hydrated], .hydrated)),\nmds-separator:not(:is([hydrated], .hydrated)),\nmds-spinner:not(:is([hydrated], .hydrated)),\nmds-stepper-bar:not(:is([hydrated], .hydrated)),\nmds-stepper-bar-item:not(:is([hydrated], .hydrated)),\nmds-tab:not(:is([hydrated], .hydrated)),\nmds-tab-bar:not(:is([hydrated], .hydrated)),\nmds-tab-bar-item:not(:is([hydrated], .hydrated)),\nmds-tab-item:not(:is([hydrated], .hydrated)),\nmds-table:not(:is([hydrated], .hydrated)),\nmds-table-body:not(:is([hydrated], .hydrated)),\nmds-table-cell:not(:is([hydrated], .hydrated)),\nmds-table-footer:not(:is([hydrated], .hydrated)),\nmds-table-header:not(:is([hydrated], .hydrated)),\nmds-table-header-cell:not(:is([hydrated], .hydrated)),\nmds-table-row:not(:is([hydrated], .hydrated)),\nmds-text:not(:is([hydrated], .hydrated)),\nmds-toast:not(:is([hydrated], .hydrated)),\nmds-tooltip:not(:is([hydrated], .hydrated)),\nmds-tree:not(:is([hydrated], .hydrated)),\nmds-tree-item:not(:is([hydrated], .hydrated)),\nmds-url-view:not(:is([hydrated], .hydrated)),\nmds-usage:not(:is([hydrated], .hydrated)),\nmds-video-wall:not(:is([hydrated], .hydrated)),\nmds-zero:not(:is([hydrated], .hydrated))\n{\n -webkit-animation-duration: 0s;\n animation-duration: 0s;\n border-color: transparent;\n -webkit-box-shadow: 0 0 0 transparent;\n box-shadow: 0 0 0 transparent;\n opacity: 0;\n outline-color: transparent;\n -webkit-transition-delay: 0s;\n transition-delay: 0s;\n -webkit-transition-duration: 0s;\n transition-duration: 0s;\n visibility: hidden;\n}\n\n";var MdsAccordionTimerStyle0=mdsAccordionTimerCss;var MdsAccordionTimer=function(){function t(t){var d=this;registerInstance(this,t);this.changeEvent=createEvent(this,"mdsAccordionTimerChange",7);this.currentDuration=0;this.time=0;this.duration=1e4;this.clearIntervals=function(){if(typeof window!=="undefined"){window.clearInterval(d.timeChecker)}d.timeChecker=0};this.remainingTime=function(){var t=d.selectedItemRemainingTime-((new Date).getTime()-d.timeStarted);return t>=0?t:0};this.progress=function(){return Math.abs(d.remainingTime()/d.currentDuration-1)};this.addTimeListener=function(){if(typeof window!=="undefined"){d.timeChecker=window.setInterval((function(){var t=d.progress();if(d.selectedItem!==undefined){d.selectedItem.progress=t}if(t===1){d.selectedItem.progress=0;d.startNext()}}),100)}};this.beginningTime=function(){d.timeStarted=(new Date).getTime();return d.timeStarted};this.setSelectedItem=function(t){d.children.forEach((function(n,e){if(e===t){n.selected=true;n.duration?d.currentDuration=n.duration:d.currentDuration=d.duration;d.selectedItem=n;d.changeEvent.emit({index:e})}else{n.selected=false}}))};this.startNext=function(){var t=d.selectedItem.uuid+1>d.children.length-1?0:d.selectedItem.uuid+1;d.setSelectedItem(t);d.startTimer()};this.startTimer=function(){d.clearIntervals();d.time=d.beginningTime();d.selectedItemRemainingTime=d.currentDuration;d.addTimeListener()};this.playTimer=function(){d.beginningTime();d.addTimeListener()};this.pauseTimer=function(){d.clearIntervals();d.selectedItemRemainingTime=d.remainingTime()};this.stopTimer=function(){d.clearIntervals()}}t.prototype.componentDidLoad=function(){var t=this;this.children=this.element.querySelectorAll("mds-accordion-timer-item");this.children.forEach((function(d,n){d.uuid=n;if(d.selected){d.duration?t.currentDuration=d.duration:t.currentDuration=t.duration;t.selectedItem=d}}));if(this.selectedItem!==undefined){this.startTimer()}if(this.paused){this.pauseTimer()}};t.prototype.disconnectedCallback=function(){this.stopTimer();this.clearIntervals()};t.prototype.onClickSelect=function(t){this.clearIntervals();if(this.selectedItem){this.selectedItem.progress=0}this.setSelectedItem(t.detail.uuid);this.startTimer();this.pauseTimer()};t.prototype.onSelect=function(t){this.clearIntervals();this.paused=false;if(this.selectedItem){this.selectedItem.progress=0}this.setSelectedItem(t.detail.uuid);this.startTimer()};t.prototype.onMouseEnterSelect=function(){if(this.paused){return}this.pauseTimer()};t.prototype.onMouseLeaveSelect=function(){if(this.paused){return}if(this.timeChecker===0){this.playTimer()}};t.prototype.handlePaused=function(t){if(t){this.pauseTimer();return}this.playTimer()};t.prototype.render=function(){return h(Host,{key:"9816683b4c8bacb97302685b1f1b45ff8ab1a209"},h("slot",{key:"b411a4cdbb6f133f871979df4eccd70433567b56"}))};Object.defineProperty(t.prototype,"element",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{paused:["handlePaused"]}},enumerable:false,configurable:true});return t}();MdsAccordionTimer.style=MdsAccordionTimerStyle0;export{MdsAccordionTimer as mds_accordion_timer};
1
+ import{r as registerInstance,c as createEvent,h,H as Host,g as getElement}from"./index-461ad561.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}:host-context(.pref-animation-reduce){--mds-accordion-timer-item-duration:var(--mds-accordion-timer-duration, 0s)}@media (prefers-reduced-motion){:host-context(.pref-animation-system){--mds-accordion-timer-item-duration:var(--mds-accordion-timer-duration, 0s)}}:host(:not(:is([hydrated],.hydrated))){-webkit-animation-duration:0s;animation-duration:0s;border-color:transparent;-webkit-box-shadow:0 0 0 transparent;box-shadow:0 0 0 transparent;opacity:0;outline-color:transparent;-webkit-transition-delay:0s;transition-delay:0s;-webkit-transition-duration:0s;transition-duration:0s;visibility:hidden}mds-accordion:not(:is([hydrated],.hydrated)),mds-accordion-item:not(:is([hydrated],.hydrated)),mds-accordion-timer:not(:is([hydrated],.hydrated)),mds-accordion-timer-item:not(:is([hydrated],.hydrated)),mds-author:not(:is([hydrated],.hydrated)),mds-avatar:not(:is([hydrated],.hydrated)),mds-badge:not(:is([hydrated],.hydrated)),mds-banner:not(:is([hydrated],.hydrated)),mds-benchmark-bar:not(:is([hydrated],.hydrated)),mds-bibliography:not(:is([hydrated],.hydrated)),mds-breadcrumb:not(:is([hydrated],.hydrated)),mds-breadcrumb-item:not(:is([hydrated],.hydrated)),mds-button:not(:is([hydrated],.hydrated)),mds-card:not(:is([hydrated],.hydrated)),mds-card-content:not(:is([hydrated],.hydrated)),mds-card-footer:not(:is([hydrated],.hydrated)),mds-card-header:not(:is([hydrated],.hydrated)),mds-card-media:not(:is([hydrated],.hydrated)),mds-chip:not(:is([hydrated],.hydrated)),mds-details:not(:is([hydrated],.hydrated)),mds-dropdown:not(:is([hydrated],.hydrated)),mds-entity:not(:is([hydrated],.hydrated)),mds-file:not(:is([hydrated],.hydrated)),mds-file-preview:not(:is([hydrated],.hydrated)),mds-filter:not(:is([hydrated],.hydrated)),mds-filter-item:not(:is([hydrated],.hydrated)),mds-header:not(:is([hydrated],.hydrated)),mds-header-bar:not(:is([hydrated],.hydrated)),mds-help:not(:is([hydrated],.hydrated)),mds-horizontal-scroll:not(:is([hydrated],.hydrated)),mds-hr:not(:is([hydrated],.hydrated)),mds-icon:not(:is([hydrated],.hydrated)),mds-img:not(:is([hydrated],.hydrated)),mds-input:not(:is([hydrated],.hydrated)),mds-input-field:not(:is([hydrated],.hydrated)),mds-input-range:not(:is([hydrated],.hydrated)),mds-input-select:not(:is([hydrated],.hydrated)),mds-input-switch:not(:is([hydrated],.hydrated)),mds-input-tip:not(:is([hydrated],.hydrated)),mds-input-tip-item:not(:is([hydrated],.hydrated)),mds-input-upload:not(:is([hydrated],.hydrated)),mds-keyboard:not(:is([hydrated],.hydrated)),mds-keyboard-key:not(:is([hydrated],.hydrated)),mds-kpi:not(:is([hydrated],.hydrated)),mds-kpi-item:not(:is([hydrated],.hydrated)),mds-label:not(:is([hydrated],.hydrated)),mds-list:not(:is([hydrated],.hydrated)),mds-list-item:not(:is([hydrated],.hydrated)),mds-modal:not(:is([hydrated],.hydrated)),mds-note:not(:is([hydrated],.hydrated)),mds-notification:not(:is([hydrated],.hydrated)),mds-paginator:not(:is([hydrated],.hydrated)),mds-paginator-item:not(:is([hydrated],.hydrated)),mds-pref:not(:is([hydrated],.hydrated)),mds-pref-animation:not(:is([hydrated],.hydrated)),mds-pref-consumption:not(:is([hydrated],.hydrated)),mds-pref-contrast:not(:is([hydrated],.hydrated)),mds-pref-language:not(:is([hydrated],.hydrated)),mds-pref-language-item:not(:is([hydrated],.hydrated)),mds-pref-theme:not(:is([hydrated],.hydrated)),mds-price-table:not(:is([hydrated],.hydrated)),mds-price-table-features:not(:is([hydrated],.hydrated)),mds-price-table-features-cell:not(:is([hydrated],.hydrated)),mds-price-table-features-row:not(:is([hydrated],.hydrated)),mds-price-table-header:not(:is([hydrated],.hydrated)),mds-price-table-list:not(:is([hydrated],.hydrated)),mds-price-table-list-item:not(:is([hydrated],.hydrated)),mds-progress:not(:is([hydrated],.hydrated)),mds-push-notification:not(:is([hydrated],.hydrated)),mds-push-notifications:not(:is([hydrated],.hydrated)),mds-quote:not(:is([hydrated],.hydrated)),mds-separator:not(:is([hydrated],.hydrated)),mds-spinner:not(:is([hydrated],.hydrated)),mds-stepper-bar:not(:is([hydrated],.hydrated)),mds-stepper-bar-item:not(:is([hydrated],.hydrated)),mds-tab:not(:is([hydrated],.hydrated)),mds-tab-bar:not(:is([hydrated],.hydrated)),mds-tab-bar-item:not(:is([hydrated],.hydrated)),mds-tab-item:not(:is([hydrated],.hydrated)),mds-table:not(:is([hydrated],.hydrated)),mds-table-body:not(:is([hydrated],.hydrated)),mds-table-cell:not(:is([hydrated],.hydrated)),mds-table-footer:not(:is([hydrated],.hydrated)),mds-table-header:not(:is([hydrated],.hydrated)),mds-table-header-cell:not(:is([hydrated],.hydrated)),mds-table-row:not(:is([hydrated],.hydrated)),mds-text:not(:is([hydrated],.hydrated)),mds-toast:not(:is([hydrated],.hydrated)),mds-tooltip:not(:is([hydrated],.hydrated)),mds-tree:not(:is([hydrated],.hydrated)),mds-tree-item:not(:is([hydrated],.hydrated)),mds-url-view:not(:is([hydrated],.hydrated)),mds-usage:not(:is([hydrated],.hydrated)),mds-video-wall:not(:is([hydrated],.hydrated)),mds-zero:not(:is([hydrated],.hydrated)){-webkit-animation-duration:0s;animation-duration:0s;border-color:transparent;-webkit-box-shadow:0 0 0 transparent;box-shadow:0 0 0 transparent;opacity:0;outline-color:transparent;-webkit-transition-delay:0s;transition-delay:0s;-webkit-transition-duration:0s;transition-duration:0s;visibility:hidden}";var MdsAccordionTimerStyle0=mdsAccordionTimerCss;var MdsAccordionTimer=function(){function d(d){var t=this;registerInstance(this,d);this.changeEvent=createEvent(this,"mdsAccordionTimerChange",7);this.currentDuration=0;this.time=0;this.duration=1e4;this.clearIntervals=function(){if(typeof window!=="undefined"){window.clearInterval(t.timeChecker)}t.timeChecker=0};this.remainingTime=function(){var d=t.selectedItemRemainingTime-((new Date).getTime()-t.timeStarted);return d>=0?d:0};this.progress=function(){return Math.abs(t.remainingTime()/t.currentDuration-1)};this.addTimeListener=function(){if(typeof window!=="undefined"){t.timeChecker=window.setInterval((function(){var d=t.progress();if(t.selectedItem!==undefined){t.selectedItem.progress=d}if(d===1){t.selectedItem.progress=0;t.startNext()}}),100)}};this.beginningTime=function(){t.timeStarted=(new Date).getTime();return t.timeStarted};this.setSelectedItem=function(d){t.children.forEach((function(e,r){if(r===d){e.selected=true;e.duration?t.currentDuration=e.duration:t.currentDuration=t.duration;t.selectedItem=e;t.changeEvent.emit({index:r})}else{e.selected=false}}))};this.startNext=function(){var d=t.selectedItem.uuid+1>t.children.length-1?0:t.selectedItem.uuid+1;t.setSelectedItem(d);t.startTimer()};this.startTimer=function(){t.clearIntervals();t.time=t.beginningTime();t.selectedItemRemainingTime=t.currentDuration;t.addTimeListener()};this.playTimer=function(){t.beginningTime();t.addTimeListener()};this.pauseTimer=function(){t.clearIntervals();t.selectedItemRemainingTime=t.remainingTime()};this.stopTimer=function(){t.clearIntervals()}}d.prototype.componentDidLoad=function(){var d=this;this.children=this.element.querySelectorAll("mds-accordion-timer-item");this.children.forEach((function(t,e){t.uuid=e;if(t.selected){t.duration?d.currentDuration=t.duration:d.currentDuration=d.duration;d.selectedItem=t}}));if(this.selectedItem!==undefined){this.startTimer()}if(this.paused){this.pauseTimer()}};d.prototype.disconnectedCallback=function(){this.stopTimer();this.clearIntervals()};d.prototype.onClickSelect=function(d){this.clearIntervals();if(this.selectedItem){this.selectedItem.progress=0}this.setSelectedItem(d.detail.uuid);this.startTimer();this.pauseTimer()};d.prototype.onSelect=function(d){this.clearIntervals();this.paused=false;if(this.selectedItem){this.selectedItem.progress=0}this.setSelectedItem(d.detail.uuid);this.startTimer()};d.prototype.onMouseEnterSelect=function(){if(this.paused){return}this.pauseTimer()};d.prototype.onMouseLeaveSelect=function(){if(this.paused){return}if(this.timeChecker===0){this.playTimer()}};d.prototype.handlePaused=function(d){if(d){this.pauseTimer();return}this.playTimer()};d.prototype.render=function(){return h(Host,{key:"9816683b4c8bacb97302685b1f1b45ff8ab1a209"},h("slot",{key:"b411a4cdbb6f133f871979df4eccd70433567b56"}))};Object.defineProperty(d.prototype,"element",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(d,"watchers",{get:function(){return{paused:["handlePaused"]}},enumerable:false,configurable:true});return d}();MdsAccordionTimer.style=MdsAccordionTimerStyle0;export{MdsAccordionTimer as mds_accordion_timer};
@@ -1 +1 @@
1
- var __awaiter=this&&this.__awaiter||function(e,t,r,n){function o(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,i){function c(e){try{s(n.next(e))}catch(e){i(e)}}function a(e){try{s(n["throw"](e))}catch(e){i(e)}}function s(e){e.done?r(e.value):o(e.value).then(c,a)}s((n=n.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var r={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},n,o,i,c;return c={next:a(0),throw:a(1),return:a(2)},typeof Symbol==="function"&&(c[Symbol.iterator]=function(){return this}),c;function a(e){return function(t){return s([e,t])}}function s(a){if(n)throw new TypeError("Generator is already executing.");while(c&&(c=0,a[0]&&(r=0)),r)try{if(n=1,o&&(i=a[0]&2?o["return"]:a[0]?o["throw"]||((i=o["return"])&&i.call(o),0):o.next)&&!(i=i.call(o,a[1])).done)return i;if(o=0,i)a=[a[0]&2,i.value];switch(a[0]){case 0:case 1:i=a;break;case 4:r.label++;return{value:a[1],done:false};case 5:r.label++;o=a[1];a=[0];continue;case 7:a=r.ops.pop();r.trys.pop();continue;default:if(!(i=r.trys,i=i.length>0&&i[i.length-1])&&(a[0]===6||a[0]===2)){r=0;continue}if(a[0]===3&&(!i||a[1]>i[0]&&a[1]<i[3])){r.label=a[1];break}if(a[0]===6&&r.label<i[1]){r.label=i[1];i=a;break}if(i&&r.label<i[2]){r.label=i[2];r.ops.push(a);break}if(i[2])r.ops.pop();r.trys.pop();continue}a=t.call(e,r)}catch(e){a=[6,e];o=0}finally{n=i=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:true}}};import{p as promiseResolve,b as bootstrapLazy}from"./index-d2cd5374.js";export{s as setNonce}from"./index-d2cd5374.js";import{g as globalScripts}from"./app-globals-0f993ce5.js";var patchBrowser=function(){var e=import.meta.url;var t={};if(e!==""){t.resourcesUrl=new URL(".",e).href}return promiseResolve(t)};patchBrowser().then((function(e){return __awaiter(void 0,void 0,void 0,(function(){return __generator(this,(function(t){switch(t.label){case 0:return[4,globalScripts()];case 1:t.sent();return[2,bootstrapLazy([["mds-accordion-timer",[[1,"mds-accordion-timer",{duration:[514],paused:[516],time:[32]},[[0,"mdsAccordionTimerItemClickSelect","onClickSelect"],[0,"mdsAccordionTimerItemSelect","onSelect"],[0,"mdsAccordionTimerItemMouseEnterSelect","onMouseEnterSelect"],[0,"mdsAccordionTimerItemMouseLeaveSelect","onMouseLeaveSelect"]],{paused:["handlePaused"]}]]]],e)]}}))}))}));
1
+ var __awaiter=this&&this.__awaiter||function(e,t,r,n){function o(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,i){function c(e){try{s(n.next(e))}catch(e){i(e)}}function a(e){try{s(n["throw"](e))}catch(e){i(e)}}function s(e){e.done?r(e.value):o(e.value).then(c,a)}s((n=n.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var r={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},n,o,i,c;return c={next:a(0),throw:a(1),return:a(2)},typeof Symbol==="function"&&(c[Symbol.iterator]=function(){return this}),c;function a(e){return function(t){return s([e,t])}}function s(a){if(n)throw new TypeError("Generator is already executing.");while(c&&(c=0,a[0]&&(r=0)),r)try{if(n=1,o&&(i=a[0]&2?o["return"]:a[0]?o["throw"]||((i=o["return"])&&i.call(o),0):o.next)&&!(i=i.call(o,a[1])).done)return i;if(o=0,i)a=[a[0]&2,i.value];switch(a[0]){case 0:case 1:i=a;break;case 4:r.label++;return{value:a[1],done:false};case 5:r.label++;o=a[1];a=[0];continue;case 7:a=r.ops.pop();r.trys.pop();continue;default:if(!(i=r.trys,i=i.length>0&&i[i.length-1])&&(a[0]===6||a[0]===2)){r=0;continue}if(a[0]===3&&(!i||a[1]>i[0]&&a[1]<i[3])){r.label=a[1];break}if(a[0]===6&&r.label<i[1]){r.label=i[1];i=a;break}if(i&&r.label<i[2]){r.label=i[2];r.ops.push(a);break}if(i[2])r.ops.pop();r.trys.pop();continue}a=t.call(e,r)}catch(e){a=[6,e];o=0}finally{n=i=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:true}}};import{p as promiseResolve,b as bootstrapLazy}from"./index-461ad561.js";export{s as setNonce}from"./index-461ad561.js";import{g as globalScripts}from"./app-globals-0f993ce5.js";var patchBrowser=function(){var e=import.meta.url;var t={};if(e!==""){t.resourcesUrl=new URL(".",e).href}return promiseResolve(t)};patchBrowser().then((function(e){return __awaiter(void 0,void 0,void 0,(function(){return __generator(this,(function(t){switch(t.label){case 0:return[4,globalScripts()];case 1:t.sent();return[2,bootstrapLazy([["mds-accordion-timer",[[1,"mds-accordion-timer",{duration:[514],paused:[516],time:[32]},[[0,"mdsAccordionTimerItemClickSelect","onClickSelect"],[0,"mdsAccordionTimerItemSelect","onSelect"],[0,"mdsAccordionTimerItemMouseEnterSelect","onMouseEnterSelect"],[0,"mdsAccordionTimerItemMouseLeaveSelect","onMouseLeaveSelect"]],{paused:["handlePaused"]}]]]],e)]}}))}))}));
@@ -1 +1 @@
1
- import{p as e,b as o}from"./p-192506ee.js";export{s as setNonce}from"./p-192506ee.js";import{g as t}from"./p-e1255160.js";(()=>{const o=import.meta.url,t={};return""!==o&&(t.resourcesUrl=new URL(".",o).href),e(t)})().then((async e=>(await t(),o([["p-180c6359",[[1,"mds-accordion-timer",{duration:[514],paused:[516],time:[32]},[[0,"mdsAccordionTimerItemClickSelect","onClickSelect"],[0,"mdsAccordionTimerItemSelect","onSelect"],[0,"mdsAccordionTimerItemMouseEnterSelect","onMouseEnterSelect"],[0,"mdsAccordionTimerItemMouseLeaveSelect","onMouseLeaveSelect"]],{paused:["handlePaused"]}]]]],e))));
1
+ import{p as e,b as o}from"./p-13443576.js";export{s as setNonce}from"./p-13443576.js";import{g as t}from"./p-e1255160.js";(()=>{const o=import.meta.url,t={};return""!==o&&(t.resourcesUrl=new URL(".",o).href),e(t)})().then((async e=>(await t(),o([["p-49f1b328",[[1,"mds-accordion-timer",{duration:[514],paused:[516],time:[32]},[[0,"mdsAccordionTimerItemClickSelect","onClickSelect"],[0,"mdsAccordionTimerItemSelect","onSelect"],[0,"mdsAccordionTimerItemMouseEnterSelect","onMouseEnterSelect"],[0,"mdsAccordionTimerItemMouseLeaveSelect","onMouseLeaveSelect"]],{paused:["handlePaused"]}]]]],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-ca2b2c96.system.js', new URL(resourcesUrl, window.location.origin !== 'null' ? window.location.origin : undefined));
118
+ var url = new URL('./p-20781d57.system.js', new URL(resourcesUrl, window.location.origin !== 'null' ? window.location.origin : undefined));
119
119
  System.import(url.href);
120
120
  };
121
121