@telesign/boreal-web-components 0.1.0-alpha.1 → 0.1.0-alpha.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (80) hide show
  1. package/components-build/bds-banner.js +1 -1
  2. package/components-build/bds-button.d.ts +11 -0
  3. package/components-build/bds-button.js +1 -0
  4. package/components-build/bds-typography.js +1 -1
  5. package/components-build/index.js +1 -1
  6. package/components-build/p-Ba6iHqJA.js +1 -0
  7. package/components-build/p-DQR-jjOl.js +1 -0
  8. package/custom-elements.json +352 -2
  9. package/dist/boreal-web-components/boreal-web-components.esm.js +1 -1
  10. package/dist/boreal-web-components/boreal-web-components.js +1 -1
  11. package/dist/boreal-web-components/p-08bd6bed.system.entry.js +1 -0
  12. package/dist/boreal-web-components/p-1575fe61.system.entry.js +1 -0
  13. package/dist/boreal-web-components/p-657c12a3.system.entry.js +1 -0
  14. package/dist/boreal-web-components/p-66bb3c44.entry.js +1 -0
  15. package/dist/boreal-web-components/p-742f39ef.entry.js +1 -0
  16. package/dist/boreal-web-components/p-BG1kmb4c.system.js +1 -0
  17. package/dist/boreal-web-components/p-B_tL_RWF.system.js +2 -0
  18. package/dist/boreal-web-components/p-Ba6iHqJA.js +1 -0
  19. package/dist/boreal-web-components/p-DIvR9Mw7.system.js +1 -0
  20. package/dist/boreal-web-components/p-DKPZ4_C0.system.js +1 -0
  21. package/dist/boreal-web-components/p-DQR-jjOl.js +1 -0
  22. package/dist/boreal-web-components/p-DQvmq159.js +2 -0
  23. package/dist/boreal-web-components/p-e4a075ba.entry.js +1 -0
  24. package/dist/cjs/{attributes-RPVEtBdj.js → attributes-D0WPida0.js} +0 -9
  25. package/dist/cjs/bds-banner.cjs.entry.js +4 -3
  26. package/dist/cjs/bds-button.cjs.entry.js +185 -0
  27. package/dist/cjs/bds-typography.cjs.entry.js +10 -9
  28. package/dist/cjs/boreal-web-components.cjs.js +2 -2
  29. package/dist/cjs/{index-Cdb66Tqj.js → index-C9JKWXwa.js} +41 -4
  30. package/dist/cjs/loader.cjs.js +2 -2
  31. package/dist/cjs/states-C03fKOhs.js +12 -0
  32. package/dist/collection/collection-manifest.json +1 -0
  33. package/dist/collection/components/actions/bds-button/bds-button.css +479 -0
  34. package/dist/collection/components/actions/bds-button/bds-button.js +459 -0
  35. package/dist/collection/components/actions/bds-button/types/IButton.js +1 -0
  36. package/dist/collection/components/actions/bds-button/types/enum.js +15 -0
  37. package/dist/collection/components/actions/bds-button/types/types.js +1 -0
  38. package/dist/collection/components/titles-text/bds-typography/bds-typography.js +5 -5
  39. package/dist/collection/components/titles-text/bds-typography/utils/bds-typography-utils.js +5 -5
  40. package/dist/collection/types/coreColors.js +6 -0
  41. package/dist/collection/types/states.js +1 -1
  42. package/dist/collection/utils/helpers/validateProps.js +16 -0
  43. package/dist/esm/{attributes-B9wshZ_4.js → attributes-Ba6iHqJA.js} +1 -8
  44. package/dist/esm/bds-banner.entry.js +3 -2
  45. package/dist/esm/bds-button.entry.js +183 -0
  46. package/dist/esm/bds-typography.entry.js +10 -9
  47. package/dist/esm/boreal-web-components.js +3 -3
  48. package/dist/esm/{index-DgFiTd6X.js → index-DQvmq159.js} +41 -4
  49. package/dist/esm/loader.js +3 -3
  50. package/dist/esm/states-DQR-jjOl.js +9 -0
  51. package/{components-build/p-B9wshZ_4.js → dist/esm-es5/attributes-Ba6iHqJA.js} +1 -1
  52. package/dist/esm-es5/bds-banner.entry.js +1 -1
  53. package/dist/esm-es5/bds-button.entry.js +1 -0
  54. package/dist/esm-es5/bds-typography.entry.js +1 -1
  55. package/dist/esm-es5/boreal-web-components.js +1 -1
  56. package/dist/esm-es5/index-DQvmq159.js +2 -0
  57. package/dist/esm-es5/loader.js +1 -1
  58. package/dist/esm-es5/states-DQR-jjOl.js +1 -0
  59. package/dist/types/components/actions/bds-button/bds-button.d.ts +90 -0
  60. package/dist/types/components/actions/bds-button/types/IButton.d.ts +14 -0
  61. package/dist/types/components/actions/bds-button/types/enum.d.ts +16 -0
  62. package/dist/types/components/actions/bds-button/types/types.d.ts +5 -0
  63. package/dist/types/components/titles-text/bds-typography/types/ITypography.d.ts +2 -2
  64. package/dist/types/components/titles-text/bds-typography/utils/bds-typography-utils.d.ts +2 -2
  65. package/dist/types/components.d.ts +269 -2
  66. package/dist/types/types/coreColors.d.ts +8 -0
  67. package/dist/types/types/states.d.ts +2 -2
  68. package/dist/types/utils/helpers/validateProps.d.ts +11 -0
  69. package/package.json +4 -3
  70. package/dist/boreal-web-components/p-69d89caa.entry.js +0 -1
  71. package/dist/boreal-web-components/p-B9wshZ_4.js +0 -1
  72. package/dist/boreal-web-components/p-BQdH0ijK.system.js +0 -2
  73. package/dist/boreal-web-components/p-CMd-Mv-5.system.js +0 -1
  74. package/dist/boreal-web-components/p-CaVEtaG3.system.js +0 -1
  75. package/dist/boreal-web-components/p-DgFiTd6X.js +0 -2
  76. package/dist/boreal-web-components/p-c3c558d2.system.entry.js +0 -1
  77. package/dist/boreal-web-components/p-d596406b.entry.js +0 -1
  78. package/dist/boreal-web-components/p-e37e7dba.system.entry.js +0 -1
  79. package/dist/esm-es5/attributes-B9wshZ_4.js +0 -1
  80. package/dist/esm-es5/index-DgFiTd6X.js +0 -2
@@ -6,8 +6,10 @@
6
6
  */
7
7
  import { HTMLStencilElement, JSXBase } from "./stencil-public-runtime";
8
8
  import { IBanner } from "./components/feedback/bds-banner/types/IBanner";
9
+ import { IButton } from "./components/actions/bds-button/types/IButton";
9
10
  import { ITypography } from "./components/titles-text/bds-typography/types/ITypography";
10
11
  export { IBanner } from "./components/feedback/bds-banner/types/IBanner";
12
+ export { IButton } from "./components/actions/bds-button/types/IButton";
11
13
  export { ITypography } from "./components/titles-text/bds-typography/types/ITypography";
12
14
  export namespace Components {
13
15
  /**
@@ -43,6 +45,85 @@ export namespace Components {
43
45
  */
44
46
  "variant": IBanner['variant'];
45
47
  }
48
+ /**
49
+ * Button component for user interactions, form submissions, supporting various styles, sizes, and states.
50
+ * @summary A versatile button component that can be customized with different colors, sizes, variants and states to fit various use cases in the application.
51
+ * @attr {string} label - The accessible name for the button, used for screen readers. It should be provided by the user for accessibility purposes.
52
+ * @attr {boolean} disabled - Disables the button when true, preventing user interaction and applying disabled styles.
53
+ * @attr {string} name - The name attribute for the button, useful for form submissions.
54
+ * @attr {string} type - The type of the button, which can be 'button', 'submit', or 'reset'. Default is 'button'.
55
+ * @attr {string} color - The color theme of the button, which can be 'default', 'primary', 'success', or 'error'. Default is 'default'.
56
+ * @attr {string} variant - The visual style of the button, which can be 'default', 'outline', or 'plain'. Default is 'default'.
57
+ * @attr {string} size - The size of the button, which can be 'small', 'medium', or 'large'. Default is 'medium'.
58
+ * @attr {boolean} loading - Indicates whether the button is in a loading state, which can be used to show a loading spinner and disable the button. Default is false.
59
+ * @attr {boolean} disclosure - Indicates if the button should show a chevron down at the end of the content.
60
+ * @property {string} label - The accessible name for the button, used for screen readers. It should be provided by the user for accessibility purposes.
61
+ * @property {boolean} disabled - Disables the button when true, preventing user interaction and applying disabled styles.
62
+ * @property {string} name - The name attribute for the button, useful for form submissions.
63
+ * @property {string} type - The type of the button, which can be 'button', 'submit', or 'reset'. Default is 'button'.
64
+ * @property {string} color - The color theme of the button, which can be 'default', 'primary', 'success', or 'error'. Default is 'default'.
65
+ * @property {string} variant - The visual style of the button, which can be 'default', 'outline', or 'plain'. Default is 'default'.
66
+ * @property {string} size - The size of the button, which can be 'small', 'medium', or 'large'. Default is 'medium'.
67
+ * @property {boolean} loading - Indicates whether the button is in a loading state, which can be used to show a loading spinner and disable the button. Default is false.
68
+ * @property {boolean} disclosure - Indicates if the button should show a chevron down at the end of the content.
69
+ * @default 'button' - Default type value
70
+ * @default 'default' - Default color value
71
+ * @default 'default' - Default variant value
72
+ * @default 'medium' - Default size value
73
+ * @default 'default' - Default status value
74
+ * @default false - Default disabled value
75
+ * @default '' - Default label value
76
+ * @default '' - Default name value
77
+ * @default false - Default loading value
78
+ * @default false - Default disclosure value
79
+ */
80
+ interface BdsButton {
81
+ /**
82
+ * color is a string attribute. The color theme of the button, which can be 'default', 'primary', 'success', or 'error'. Default is 'default'.
83
+ * @default CORE_COLORS.DEFAULT
84
+ */
85
+ "color": IButton['color'];
86
+ /**
87
+ * disabled is a boolean attribute. Disables the button when true, preventing user interaction and applying disabled styles.
88
+ * @default false
89
+ */
90
+ "disabled": IButton['disabled'];
91
+ /**
92
+ * disclosure is a boolean attribute. Used to show a chevron down at the of the content
93
+ * @default false
94
+ */
95
+ "disclosure": IButton['disclosure'];
96
+ /**
97
+ * The accessible name for the button, used for screen readers. It should be provided by the user for accessibility purposes.
98
+ * @default ''
99
+ */
100
+ "label": IButton['label'];
101
+ /**
102
+ * loading is a boolean attribute. Indicates whether the button is in a loading state, which can be used to show a loading spinner and disable the button. Default is false.
103
+ * @default false
104
+ */
105
+ "loading": IButton['loading'];
106
+ /**
107
+ * name is a string attribute. The name attribute for the button, useful for form submissions.
108
+ * @default ''
109
+ */
110
+ "name": IButton['name'];
111
+ /**
112
+ * size is a string attribute. The size of the button, which can be 'small', 'medium', or 'large'. Default is 'medium'.
113
+ * @default BUTTON_SIZES.MEDIUM
114
+ */
115
+ "size": IButton['size'];
116
+ /**
117
+ * type is a string attribute. The type of the button, which can be 'button', 'submit', or 'reset'. Default is 'button'.
118
+ * @default BUTTON_TYPES.BUTTON
119
+ */
120
+ "type": IButton['type'];
121
+ /**
122
+ * variant is a string attribute. The visual style of the button, which can be 'default', 'outline', or 'plain'. Default is 'default'.
123
+ * @default BUTTON_VARIANTS.DEFAULT
124
+ */
125
+ "variant": IButton['variant'];
126
+ }
46
127
  /**
47
128
  * Typography component for displaying text with various styles, sizes, and interactive features.
48
129
  * @summary A comprehensive typography component that supports multiple text variants, sizes, alignments, states, and link functionality.
@@ -148,7 +229,7 @@ export namespace Components {
148
229
  "size": ITypography['size'];
149
230
  /**
150
231
  * Visual state (if supported by variant).
151
- * @default STATES.DEFAULT
232
+ * @default COMPONENT_STATES.DEFAULT
152
233
  */
153
234
  "state": ITypography['state'];
154
235
  /**
@@ -172,6 +253,10 @@ export interface BdsBannerCustomEvent<T> extends CustomEvent<T> {
172
253
  detail: T;
173
254
  target: HTMLBdsBannerElement;
174
255
  }
256
+ export interface BdsButtonCustomEvent<T> extends CustomEvent<T> {
257
+ detail: T;
258
+ target: HTMLBdsButtonElement;
259
+ }
175
260
  declare global {
176
261
  interface HTMLBdsBannerElementEventMap {
177
262
  "close": void;
@@ -202,6 +287,55 @@ declare global {
202
287
  prototype: HTMLBdsBannerElement;
203
288
  new (): HTMLBdsBannerElement;
204
289
  };
290
+ interface HTMLBdsButtonElementEventMap {
291
+ "bdsClick": UIEvent;
292
+ }
293
+ /**
294
+ * Button component for user interactions, form submissions, supporting various styles, sizes, and states.
295
+ * @summary A versatile button component that can be customized with different colors, sizes, variants and states to fit various use cases in the application.
296
+ * @attr {string} label - The accessible name for the button, used for screen readers. It should be provided by the user for accessibility purposes.
297
+ * @attr {boolean} disabled - Disables the button when true, preventing user interaction and applying disabled styles.
298
+ * @attr {string} name - The name attribute for the button, useful for form submissions.
299
+ * @attr {string} type - The type of the button, which can be 'button', 'submit', or 'reset'. Default is 'button'.
300
+ * @attr {string} color - The color theme of the button, which can be 'default', 'primary', 'success', or 'error'. Default is 'default'.
301
+ * @attr {string} variant - The visual style of the button, which can be 'default', 'outline', or 'plain'. Default is 'default'.
302
+ * @attr {string} size - The size of the button, which can be 'small', 'medium', or 'large'. Default is 'medium'.
303
+ * @attr {boolean} loading - Indicates whether the button is in a loading state, which can be used to show a loading spinner and disable the button. Default is false.
304
+ * @attr {boolean} disclosure - Indicates if the button should show a chevron down at the end of the content.
305
+ * @property {string} label - The accessible name for the button, used for screen readers. It should be provided by the user for accessibility purposes.
306
+ * @property {boolean} disabled - Disables the button when true, preventing user interaction and applying disabled styles.
307
+ * @property {string} name - The name attribute for the button, useful for form submissions.
308
+ * @property {string} type - The type of the button, which can be 'button', 'submit', or 'reset'. Default is 'button'.
309
+ * @property {string} color - The color theme of the button, which can be 'default', 'primary', 'success', or 'error'. Default is 'default'.
310
+ * @property {string} variant - The visual style of the button, which can be 'default', 'outline', or 'plain'. Default is 'default'.
311
+ * @property {string} size - The size of the button, which can be 'small', 'medium', or 'large'. Default is 'medium'.
312
+ * @property {boolean} loading - Indicates whether the button is in a loading state, which can be used to show a loading spinner and disable the button. Default is false.
313
+ * @property {boolean} disclosure - Indicates if the button should show a chevron down at the end of the content.
314
+ * @default 'button' - Default type value
315
+ * @default 'default' - Default color value
316
+ * @default 'default' - Default variant value
317
+ * @default 'medium' - Default size value
318
+ * @default 'default' - Default status value
319
+ * @default false - Default disabled value
320
+ * @default '' - Default label value
321
+ * @default '' - Default name value
322
+ * @default false - Default loading value
323
+ * @default false - Default disclosure value
324
+ */
325
+ interface HTMLBdsButtonElement extends Components.BdsButton, HTMLStencilElement {
326
+ addEventListener<K extends keyof HTMLBdsButtonElementEventMap>(type: K, listener: (this: HTMLBdsButtonElement, ev: BdsButtonCustomEvent<HTMLBdsButtonElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
327
+ addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
328
+ addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
329
+ addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
330
+ removeEventListener<K extends keyof HTMLBdsButtonElementEventMap>(type: K, listener: (this: HTMLBdsButtonElement, ev: BdsButtonCustomEvent<HTMLBdsButtonElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
331
+ removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
332
+ removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
333
+ removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
334
+ }
335
+ var HTMLBdsButtonElement: {
336
+ prototype: HTMLBdsButtonElement;
337
+ new (): HTMLBdsButtonElement;
338
+ };
205
339
  /**
206
340
  * Typography component for displaying text with various styles, sizes, and interactive features.
207
341
  * @summary A comprehensive typography component that supports multiple text variants, sizes, alignments, states, and link functionality.
@@ -257,6 +391,7 @@ declare global {
257
391
  };
258
392
  interface HTMLElementTagNameMap {
259
393
  "bds-banner": HTMLBdsBannerElement;
394
+ "bds-button": HTMLBdsButtonElement;
260
395
  "bds-typography": HTMLBdsTypographyElement;
261
396
  }
262
397
  }
@@ -294,6 +429,93 @@ declare namespace LocalJSX {
294
429
  */
295
430
  "variant"?: IBanner['variant'];
296
431
  }
432
+ /**
433
+ * Button component for user interactions, form submissions, supporting various styles, sizes, and states.
434
+ * @summary A versatile button component that can be customized with different colors, sizes, variants and states to fit various use cases in the application.
435
+ * @attr {string} label - The accessible name for the button, used for screen readers. It should be provided by the user for accessibility purposes.
436
+ * @attr {boolean} disabled - Disables the button when true, preventing user interaction and applying disabled styles.
437
+ * @attr {string} name - The name attribute for the button, useful for form submissions.
438
+ * @attr {string} type - The type of the button, which can be 'button', 'submit', or 'reset'. Default is 'button'.
439
+ * @attr {string} color - The color theme of the button, which can be 'default', 'primary', 'success', or 'error'. Default is 'default'.
440
+ * @attr {string} variant - The visual style of the button, which can be 'default', 'outline', or 'plain'. Default is 'default'.
441
+ * @attr {string} size - The size of the button, which can be 'small', 'medium', or 'large'. Default is 'medium'.
442
+ * @attr {boolean} loading - Indicates whether the button is in a loading state, which can be used to show a loading spinner and disable the button. Default is false.
443
+ * @attr {boolean} disclosure - Indicates if the button should show a chevron down at the end of the content.
444
+ * @property {string} label - The accessible name for the button, used for screen readers. It should be provided by the user for accessibility purposes.
445
+ * @property {boolean} disabled - Disables the button when true, preventing user interaction and applying disabled styles.
446
+ * @property {string} name - The name attribute for the button, useful for form submissions.
447
+ * @property {string} type - The type of the button, which can be 'button', 'submit', or 'reset'. Default is 'button'.
448
+ * @property {string} color - The color theme of the button, which can be 'default', 'primary', 'success', or 'error'. Default is 'default'.
449
+ * @property {string} variant - The visual style of the button, which can be 'default', 'outline', or 'plain'. Default is 'default'.
450
+ * @property {string} size - The size of the button, which can be 'small', 'medium', or 'large'. Default is 'medium'.
451
+ * @property {boolean} loading - Indicates whether the button is in a loading state, which can be used to show a loading spinner and disable the button. Default is false.
452
+ * @property {boolean} disclosure - Indicates if the button should show a chevron down at the end of the content.
453
+ * @default 'button' - Default type value
454
+ * @default 'default' - Default color value
455
+ * @default 'default' - Default variant value
456
+ * @default 'medium' - Default size value
457
+ * @default 'default' - Default status value
458
+ * @default false - Default disabled value
459
+ * @default '' - Default label value
460
+ * @default '' - Default name value
461
+ * @default false - Default loading value
462
+ * @default false - Default disclosure value
463
+ */
464
+ interface BdsButton {
465
+ /**
466
+ * color is a string attribute. The color theme of the button, which can be 'default', 'primary', 'success', or 'error'. Default is 'default'.
467
+ * @default CORE_COLORS.DEFAULT
468
+ */
469
+ "color"?: IButton['color'];
470
+ /**
471
+ * disabled is a boolean attribute. Disables the button when true, preventing user interaction and applying disabled styles.
472
+ * @default false
473
+ */
474
+ "disabled"?: IButton['disabled'];
475
+ /**
476
+ * disclosure is a boolean attribute. Used to show a chevron down at the of the content
477
+ * @default false
478
+ */
479
+ "disclosure"?: IButton['disclosure'];
480
+ /**
481
+ * The `id` of a `<form>` element to associate this element with.
482
+ */
483
+ "form"?: string;
484
+ /**
485
+ * The accessible name for the button, used for screen readers. It should be provided by the user for accessibility purposes.
486
+ * @default ''
487
+ */
488
+ "label"?: IButton['label'];
489
+ /**
490
+ * loading is a boolean attribute. Indicates whether the button is in a loading state, which can be used to show a loading spinner and disable the button. Default is false.
491
+ * @default false
492
+ */
493
+ "loading"?: IButton['loading'];
494
+ /**
495
+ * name is a string attribute. The name attribute for the button, useful for form submissions.
496
+ * @default ''
497
+ */
498
+ "name"?: IButton['name'];
499
+ /**
500
+ * emit event to click
501
+ */
502
+ "onBdsClick"?: (event: BdsButtonCustomEvent<UIEvent>) => void;
503
+ /**
504
+ * size is a string attribute. The size of the button, which can be 'small', 'medium', or 'large'. Default is 'medium'.
505
+ * @default BUTTON_SIZES.MEDIUM
506
+ */
507
+ "size"?: IButton['size'];
508
+ /**
509
+ * type is a string attribute. The type of the button, which can be 'button', 'submit', or 'reset'. Default is 'button'.
510
+ * @default BUTTON_TYPES.BUTTON
511
+ */
512
+ "type"?: IButton['type'];
513
+ /**
514
+ * variant is a string attribute. The visual style of the button, which can be 'default', 'outline', or 'plain'. Default is 'default'.
515
+ * @default BUTTON_VARIANTS.DEFAULT
516
+ */
517
+ "variant"?: IButton['variant'];
518
+ }
297
519
  /**
298
520
  * Typography component for displaying text with various styles, sizes, and interactive features.
299
521
  * @summary A comprehensive typography component that supports multiple text variants, sizes, alignments, states, and link functionality.
@@ -399,7 +621,7 @@ declare namespace LocalJSX {
399
621
  "size"?: ITypography['size'];
400
622
  /**
401
623
  * Visual state (if supported by variant).
402
- * @default STATES.DEFAULT
624
+ * @default COMPONENT_STATES.DEFAULT
403
625
  */
404
626
  "state"?: ITypography['state'];
405
627
  /**
@@ -424,6 +646,17 @@ declare namespace LocalJSX {
424
646
  "variant": IBanner['variant'];
425
647
  "enableClose": IBanner['enableClose'];
426
648
  }
649
+ interface BdsButtonAttributes {
650
+ "label": IButton['label'];
651
+ "disabled": IButton['disabled'];
652
+ "name": IButton['name'];
653
+ "type": IButton['type'];
654
+ "color": IButton['color'];
655
+ "variant": IButton['variant'];
656
+ "size": IButton['size'];
657
+ "loading": IButton['loading'];
658
+ "disclosure": IButton['disclosure'];
659
+ }
427
660
  interface BdsTypographyAttributes {
428
661
  "variant": ITypography['variant'];
429
662
  "size": ITypography['size'];
@@ -444,6 +677,7 @@ declare namespace LocalJSX {
444
677
 
445
678
  interface IntrinsicElements {
446
679
  "bds-banner": Omit<BdsBanner, keyof BdsBannerAttributes> & { [K in keyof BdsBanner & keyof BdsBannerAttributes]?: BdsBanner[K] } & { [K in keyof BdsBanner & keyof BdsBannerAttributes as `attr:${K}`]?: BdsBannerAttributes[K] } & { [K in keyof BdsBanner & keyof BdsBannerAttributes as `prop:${K}`]?: BdsBanner[K] };
680
+ "bds-button": Omit<BdsButton, keyof BdsButtonAttributes> & { [K in keyof BdsButton & keyof BdsButtonAttributes]?: BdsButton[K] } & { [K in keyof BdsButton & keyof BdsButtonAttributes as `attr:${K}`]?: BdsButtonAttributes[K] } & { [K in keyof BdsButton & keyof BdsButtonAttributes as `prop:${K}`]?: BdsButton[K] };
447
681
  "bds-typography": Omit<BdsTypography, keyof BdsTypographyAttributes> & { [K in keyof BdsTypography & keyof BdsTypographyAttributes]?: BdsTypography[K] } & { [K in keyof BdsTypography & keyof BdsTypographyAttributes as `attr:${K}`]?: BdsTypographyAttributes[K] } & { [K in keyof BdsTypography & keyof BdsTypographyAttributes as `prop:${K}`]?: BdsTypography[K] };
448
682
  }
449
683
  }
@@ -464,6 +698,39 @@ declare module "@stencil/core" {
464
698
  * @method closeBanner - Programmatic method to close the banner and emit the `close` event.
465
699
  */
466
700
  "bds-banner": LocalJSX.IntrinsicElements["bds-banner"] & JSXBase.HTMLAttributes<HTMLBdsBannerElement>;
701
+ /**
702
+ * Button component for user interactions, form submissions, supporting various styles, sizes, and states.
703
+ * @summary A versatile button component that can be customized with different colors, sizes, variants and states to fit various use cases in the application.
704
+ * @attr {string} label - The accessible name for the button, used for screen readers. It should be provided by the user for accessibility purposes.
705
+ * @attr {boolean} disabled - Disables the button when true, preventing user interaction and applying disabled styles.
706
+ * @attr {string} name - The name attribute for the button, useful for form submissions.
707
+ * @attr {string} type - The type of the button, which can be 'button', 'submit', or 'reset'. Default is 'button'.
708
+ * @attr {string} color - The color theme of the button, which can be 'default', 'primary', 'success', or 'error'. Default is 'default'.
709
+ * @attr {string} variant - The visual style of the button, which can be 'default', 'outline', or 'plain'. Default is 'default'.
710
+ * @attr {string} size - The size of the button, which can be 'small', 'medium', or 'large'. Default is 'medium'.
711
+ * @attr {boolean} loading - Indicates whether the button is in a loading state, which can be used to show a loading spinner and disable the button. Default is false.
712
+ * @attr {boolean} disclosure - Indicates if the button should show a chevron down at the end of the content.
713
+ * @property {string} label - The accessible name for the button, used for screen readers. It should be provided by the user for accessibility purposes.
714
+ * @property {boolean} disabled - Disables the button when true, preventing user interaction and applying disabled styles.
715
+ * @property {string} name - The name attribute for the button, useful for form submissions.
716
+ * @property {string} type - The type of the button, which can be 'button', 'submit', or 'reset'. Default is 'button'.
717
+ * @property {string} color - The color theme of the button, which can be 'default', 'primary', 'success', or 'error'. Default is 'default'.
718
+ * @property {string} variant - The visual style of the button, which can be 'default', 'outline', or 'plain'. Default is 'default'.
719
+ * @property {string} size - The size of the button, which can be 'small', 'medium', or 'large'. Default is 'medium'.
720
+ * @property {boolean} loading - Indicates whether the button is in a loading state, which can be used to show a loading spinner and disable the button. Default is false.
721
+ * @property {boolean} disclosure - Indicates if the button should show a chevron down at the end of the content.
722
+ * @default 'button' - Default type value
723
+ * @default 'default' - Default color value
724
+ * @default 'default' - Default variant value
725
+ * @default 'medium' - Default size value
726
+ * @default 'default' - Default status value
727
+ * @default false - Default disabled value
728
+ * @default '' - Default label value
729
+ * @default '' - Default name value
730
+ * @default false - Default loading value
731
+ * @default false - Default disclosure value
732
+ */
733
+ "bds-button": LocalJSX.IntrinsicElements["bds-button"] & JSXBase.HTMLAttributes<HTMLBdsButtonElement>;
467
734
  /**
468
735
  * Typography component for displaying text with various styles, sizes, and interactive features.
469
736
  * @summary A comprehensive typography component that supports multiple text variants, sizes, alignments, states, and link functionality.
@@ -0,0 +1,8 @@
1
+ export declare const CORE_COLORS: {
2
+ readonly DEFAULT: "default";
3
+ readonly PRIMARY: "primary";
4
+ readonly SUCCESS: "success";
5
+ readonly ERROR: "error";
6
+ };
7
+ export type CoreColors = (typeof CORE_COLORS)[keyof typeof CORE_COLORS];
8
+ //# sourceMappingURL=coreColors.d.ts.map
@@ -1,4 +1,4 @@
1
- export declare const STATES: {
1
+ export declare const COMPONENT_STATES: {
2
2
  readonly DEFAULT: "default";
3
3
  readonly ERROR: "error";
4
4
  readonly DISABLED: "disabled";
@@ -7,7 +7,7 @@ export declare const STATES: {
7
7
  readonly FOCUS: "focus";
8
8
  readonly VISITED: "visited";
9
9
  };
10
- export type State = (typeof STATES)[keyof typeof STATES];
10
+ export type ComponentState = (typeof COMPONENT_STATES)[keyof typeof COMPONENT_STATES];
11
11
  export declare const PROCESS_STATUS: {
12
12
  readonly NEUTRAL: "neutral";
13
13
  readonly PENDING: "pending";
@@ -0,0 +1,11 @@
1
+ /**
2
+ * Validates a component prop against a list of accepted values.
3
+ * If the current value is invalid, the prop is reset to the fallback and a warning is issued.
4
+ *
5
+ * @param acceptedValues - The list of valid values for the prop.
6
+ * @param fallbackValue - The value to apply when the current value is invalid.
7
+ * @param element - The host element whose property will be corrected.
8
+ * @param propertyName - The name of the prop to validate.
9
+ */
10
+ export declare function validatePropValue<T extends string>(acceptedValues: readonly T[], fallbackValue: T, element: HTMLElement, propertyName: string): void;
11
+ //# sourceMappingURL=validateProps.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@telesign/boreal-web-components",
3
- "version": "0.1.0-alpha.1",
3
+ "version": "0.1.0-alpha.2",
4
4
  "description": "Stencil Component Starter",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.js",
@@ -19,8 +19,9 @@
19
19
  "require": "./loader/index.cjs",
20
20
  "types": "./loader/index.d.ts"
21
21
  },
22
- "./components/*": {
23
- "import": "./components-build/*"
22
+ "./components/*.js": {
23
+ "import": "./components-build/*.js",
24
+ "types": "./components-build/*.d.ts"
24
25
  },
25
26
  "./types": {
26
27
  "import": "./dist/collection/types/index.js",
@@ -1 +0,0 @@
1
- import{r as t,h as e,a,g as r}from"./p-DgFiTd6X.js";import{a as o,i}from"./p-B9wshZ_4.js";const h="md",l={link:{states:[o.DISABLED],size:["sm",h]},label:{states:[o.DISABLED],isRequired:!0,canUseTooltip:!0},heading:{canUseTooltip:!0},subheading:{canUseTooltip:!0},helper:{states:[o.ERROR]},display:{size:["xs","sm",h,"lg","xl"]}},s=class{constructor(e){t(this,e),this.inheritedAttributes={},this.variant="display",this.size=h,this.state=o.DEFAULT,this.customClass="",this.element="p",this.align="start",this.ellipsis=!1,this.maxLines=1,this.tooltipText="",this.isRequired=!1,this.htmlFor=void 0,this.href=null,this.target=null,this.isDownloadable=!1,this.filename="download",this.sanitizedHref=""}async updateSanitizedHref(){if("a"===this.getTagName&&null!==this.href){const{sanitizeUrl:t}=await import("./p-noyWJ11s.js").then((function(t){return t.i}));this.sanitizedHref=t(this.href)}else this.sanitizedHref=""}async componentWillLoad(){"a"===this.getTagName&&null!==this.href&&await this.updateSanitizedHref(),this.inheritedAttributes={...i(this.el)}}get getTagName(){return"link"===this.variant?"a":this.element.toLowerCase()}getVariantConfig(){return l[this.variant]??{}}getAccessibilityTags(){const{isRequired:t=null}=this.getVariantConfig(),e=["a","label"].includes(this.getTagName);return{"aria-required":this.isRequired&&t,"aria-disabled":this.state===o.DISABLED&&e}}getVariantStateStyles(){const t=this.getVariantConfig();return{[`bds-typography--${this.variant}`]:!0,[`bds-typography--align-${this.align}`]:!0,[`bds-typography--${this.state}`]:!(!t?.states||!t?.states.includes(this.state)),[`bds-typography--size-${this.size}`]:!(!t?.size||!t?.size.includes(this.size)),"bds-typography--required":!(!t?.isRequired||!this.isRequired),"bds-typography--ellipsis":this.ellipsis&&this.maxLines<=1,"bds-typography--ellipsis-multiline":this.ellipsis&&this.maxLines>1,[this.customClass]:""!==this.customClass}}render(){const t=this.getTagName,r={...(i=this,h=t,{a:{href:i.state!==o.DISABLED?i.sanitizedHref:null,target:i.target,download:i.isDownloadable?i.filename:null,rel:"_blank"===i.target?"noopener noreferrer":void 0},label:{htmlFor:i.htmlFor}}[h]||{}),...this.inheritedAttributes,...this.getAccessibilityTags()};var i,h;const l=this.getVariantStateStyles(),{canUseTooltip:s=null,isRequired:p=null}=this.getVariantConfig();return e(a,{key:"e816237127a0bec2f223c3c11c405830b3bc530f",class:"bds-typography"},e(t,{key:"5428ad8d55990feae5190e19c6372445f76d504b",class:l,style:{webkitLineClamp:this.maxLines},...r},e("slot",{key:"5f5b95afd7799c988607174d45dfdffe018438a8"}),this.isRequired&&p&&e("em",{key:"5d57fc3a0aed14887df9fb03f2b279204e99861c",class:"bds-typography__required-indicator","aria-hidden":"true"},"*"),this.tooltipText&&s&&e("em",{key:"9b89f3e48de66ebcd27755d9ec19ef261b73250e",class:"bds-typography__info-icon bds-icon-info-circle"})))}get el(){return r(this)}static get watchers(){return{href:[{updateSanitizedHref:0}]}}};s.style=".bds-typography{-webkit-box-sizing:border-box;box-sizing:border-box;font-family:var(--boreal-typography-font-family-primary);font-weight:var(--boreal-typography-font-weight-regular)}.bds-typography__required-indicator{color:var(--boreal-icon-danger-base);font-weight:var(--boreal-typography-font-weight-regular)}.bds-typography__info-icon{color:var(--boreal-icon-default-light)}.bds-typography--heading,.bds-typography--subheading{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;gap:var(--boreal-spacing-3xs)}.bds-typography--label{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center;gap:var(--boreal-spacing-3xs)}.bds-typography--display{display:block}.bds-typography--caption,.bds-typography--helper,.bds-typography--link{display:inline-block}.bds-typography--caption{font-size:var(--boreal-typography-font-size-xs);font-weight:var(--boreal-typography-font-weight-regular);line-height:var(--boreal-typography-line-height-md);color:var(--boreal-text-default-light)}.bds-typography--helper{font-size:var(--boreal-typography-font-size-xs);font-weight:var(--boreal-typography-font-weight-regular);line-height:var(--boreal-typography-line-height-sm);color:var(--boreal-text-default-light)}.bds-typography--link{font-size:var(--boreal-typography-font-size-sm);font-weight:var(--boreal-typography-font-weight-regular);line-height:var(--boreal-typography-line-height-md);color:var(--boreal-text-primary-base);text-decoration:none}.bds-typography--link:hover{text-decoration:underline}.bds-typography--link:visited{color:var(--boreal-text-primary-base)}.bds-typography--link:active{color:var(--boreal-text-primary-dark)}.bds-typography--link.bds-typography--size-sm{font-size:var(--boreal-typography-font-size-xs)}.bds-typography--link.bds-typography--size-md{font-size:var(--boreal-typography-font-size-sm)}.bds-typography--code{font-family:var(--boreal-typography-font-family-secondary);font-size:var(--boreal-typography-font-size-xs);font-weight:var(--boreal-typography-font-weight-regular);color:var(--boreal-text-default);line-height:var(--boreal-typography-line-height-md);overflow-wrap:break-word;background-color:var(--boreal-bg-neutral);padding:var(--boreal-spacing-3xs) var(--boreal-spacing-xs);border-radius:var(--boreal-radius-xs);display:inline;box-decoration-break:clone;-webkit-box-decoration-break:clone}.bds-typography--label{font-size:var(--boreal-typography-font-size-xs);font-weight:var(--boreal-typography-font-weight-semibold);line-height:var(--boreal-typography-line-height-md);color:var(--boreal-text-default-darker)}.bds-typography--display{font-weight:var(--boreal-typography-font-weight-regular);color:var(--boreal-text-default)}.bds-typography--display.bds-typography--size-sm{font-size:var(--boreal-typography-font-size-xl);line-height:var(--boreal-typography-line-height-xl)}.bds-typography--display.bds-typography--size-md{font-size:var(--boreal-typography-font-size-2xl);line-height:var(--boreal-typography-line-height-2xl)}.bds-typography--display.bds-typography--size-lg{font-size:var(--boreal-typography-font-size-3xl);line-height:var(--boreal-typography-line-height-3xl);font-weight:var(--boreal-typography-font-weight-light)}.bds-typography--display.bds-typography--size-xl{font-size:var(--boreal-typography-font-size-4xl);line-height:var(--boreal-typography-line-height-4xl);font-weight:var(--boreal-typography-font-weight-light)}.bds-typography--heading{font-size:var(--boreal-typography-font-size-lg);line-height:var(--boreal-typography-line-height-lg);font-weight:var(--boreal-typography-font-weight-regular);color:var(--boreal-text-default)}.bds-typography h1.bds-typography--heading{font-weight:var(--boreal-typography-font-weight-regular);font-size:var(--boreal-typography-font-size-4xl);line-height:var(--boreal-typography-line-height-4xl)}.bds-typography h2.bds-typography--heading{font-weight:var(--boreal-typography-font-weight-regular);font-size:var(--boreal-typography-font-size-3xl);line-height:var(--boreal-typography-line-height-3xl)}.bds-typography h3.bds-typography--heading{font-weight:var(--boreal-typography-font-weight-regular);font-size:var(--boreal-typography-font-size-2xl);line-height:var(--boreal-typography-line-height-2xl)}.bds-typography h4.bds-typography--heading{font-weight:var(--boreal-typography-font-weight-regular);font-size:var(--boreal-typography-font-size-xl);line-height:var(--boreal-typography-line-height-xl)}.bds-typography h5.bds-typography--heading{font-weight:var(--boreal-typography-font-weight-regular);font-size:var(--boreal-typography-font-size-lg);line-height:var(--boreal-typography-line-height-lg)}.bds-typography h6.bds-typography--heading{font-size:var(--boreal-typography-font-size-md);font-weight:var(--boreal-typography-font-weight-semibold);line-height:var(--boreal-typography-line-height-md)}.bds-typography--subheading{font-size:var(--boreal-typography-font-size-md);line-height:var(--boreal-typography-line-height-md);font-weight:var(--boreal-typography-font-weight-semibold)}.bds-typography--align-start{text-align:start}.bds-typography--align-center{text-align:center}.bds-typography--align-end{text-align:end}.bds-typography--align-inherit{text-align:inherit}.bds-typography--error{color:var(--boreal-text-danger-base)}.bds-typography--disabled{color:var(--boreal-text-disabled);pointer-events:none;cursor:not-allowed}.bds-typography--disabled .bds-typography__required-indicator{color:var(--boreal-text-danger-light)}.bds-typography--ellipsis{display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.bds-typography--ellipsis-multiline{display:-webkit-box;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;white-space:normal;width:100%}";export{s as bds_typography}
@@ -1 +0,0 @@
1
- const a={DEFAULT:"default",ERROR:"error",DISABLED:"disabled"},i={INFO:"info"},r=["role","aria-activedescendant","aria-atomic","aria-autocomplete","aria-braillelabel","aria-brailleroledescription","aria-busy","aria-checked","aria-colcount","aria-colindex","aria-colindextext","aria-colspan","aria-controls","aria-current","aria-describedby","aria-description","aria-details","aria-disabled","aria-errormessage","aria-expanded","aria-flowto","aria-haspopup","aria-hidden","aria-invalid","aria-keyshortcuts","aria-label","aria-labelledby","aria-level","aria-live","aria-multiline","aria-multiselectable","aria-orientation","aria-owns","aria-placeholder","aria-posinset","aria-pressed","aria-readonly","aria-relevant","aria-required","aria-roledescription","aria-rowcount","aria-rowindex","aria-rowindextext","aria-rowspan","aria-selected","aria-setsize","aria-sort","aria-valuemax","aria-valuemin","aria-valuenow","aria-valuetext"],e=a=>((a,i=[])=>{const r={};return i.forEach((i=>{if(a.hasAttribute(i)){const e=a.getAttribute(i);null!==e&&(r[i]=e),a.removeAttribute(i)}})),r})(a,r);export{i as S,a,e as i}
@@ -1,2 +0,0 @@
1
- var __extends=this&&this.__extends||function(){var r=function(n,e){r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var e in n)if(Object.prototype.hasOwnProperty.call(n,e))r[e]=n[e]};return r(n,e)};return function(n,e){if(typeof e!=="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");r(n,e);function t(){this.constructor=n}n.prototype=e===null?Object.create(e):(t.prototype=e.prototype,new t)}}();var __assign=this&&this.__assign||function(){__assign=Object.assign||function(r){for(var n,e=1,t=arguments.length;e<t;e++){n=arguments[e];for(var i in n)if(Object.prototype.hasOwnProperty.call(n,i))r[i]=n[i]}return r};return __assign.apply(this,arguments)};var __awaiter=this&&this.__awaiter||function(r,n,e,t){function i(r){return r instanceof e?r:new e((function(n){n(r)}))}return new(e||(e=Promise))((function(e,f){function a(r){try{o(t.next(r))}catch(r){f(r)}}function u(r){try{o(t["throw"](r))}catch(r){f(r)}}function o(r){r.done?e(r.value):i(r.value).then(a,u)}o((t=t.apply(r,n||[])).next())}))};var __generator=this&&this.__generator||function(r,n){var e={label:0,sent:function(){if(f[0]&1)throw f[1];return f[1]},trys:[],ops:[]},t,i,f,a=Object.create((typeof Iterator==="function"?Iterator:Object).prototype);return a.next=u(0),a["throw"]=u(1),a["return"]=u(2),typeof Symbol==="function"&&(a[Symbol.iterator]=function(){return this}),a;function u(r){return function(n){return o([r,n])}}function o(u){if(t)throw new TypeError("Generator is already executing.");while(a&&(a=0,u[0]&&(e=0)),e)try{if(t=1,i&&(f=u[0]&2?i["return"]:u[0]?i["throw"]||((f=i["return"])&&f.call(i),0):i.next)&&!(f=f.call(i,u[1])).done)return f;if(i=0,f)u=[u[0]&2,f.value];switch(u[0]){case 0:case 1:f=u;break;case 4:e.label++;return{value:u[1],done:false};case 5:e.label++;i=u[1];u=[0];continue;case 7:u=e.ops.pop();e.trys.pop();continue;default:if(!(f=e.trys,f=f.length>0&&f[f.length-1])&&(u[0]===6||u[0]===2)){e=0;continue}if(u[0]===3&&(!f||u[1]>f[0]&&u[1]<f[3])){e.label=u[1];break}if(u[0]===6&&e.label<f[1]){e.label=f[1];f=u;break}if(f&&e.label<f[2]){e.label=f[2];e.ops.push(u);break}if(f[2])e.ops.pop();e.trys.pop();continue}u=n.call(r,e)}catch(r){u=[6,r];i=0}finally{t=f=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(r,n,e){if(e||arguments.length===2)for(var t=0,i=n.length,f;t<i;t++){if(f||!(t in n)){if(!f)f=Array.prototype.slice.call(n,0,t);f[t]=n[t]}}return r.concat(f||Array.prototype.slice.call(n))};System.register([],(function(r,n){"use strict";return{execute:function(){var e=this;var t="boreal-web-components";var i={hotModuleReplacement:false,hydratedSelectorName:"hydrated",lazyLoad:true,propChangeCallback:true,shadowDom:false,slotRelocation:true,state:true,updatable:true};var f=function(r,n){var e;var t=n.t;var i=Object.entries((e=t.i)!=null?e:{});i.map((function(e){var t=e[0],i=e[1][0];if(i&31||i&32){var f=r[t];var u=a(Object.getPrototypeOf(r),t)||Object.getOwnPropertyDescriptor(r,t);if(u){Object.defineProperty(r,t,{get:function(){return u.get.call(this)},set:function(r){u.set.call(this,r)},configurable:true,enumerable:true})}r[t]=n.u.has(t)?n.u.get(t):f}}))};function a(r,n){while(r){var e=Object.getOwnPropertyDescriptor(r,n);if(e==null?void 0:e.get)return e;r=Object.getPrototypeOf(r)}return void 0}var u=function(r){if(r.__stencil__getHostRef){return r.__stencil__getHostRef()}return void 0};var o=r("r",(function(r,n){if(!n)return;r.__stencil__getHostRef=function(){return n};n.o=r;if(n.t.l&512&&i.state){f(r,n)}}));var l=function(r,n){var e={l:0,$hostElement$:r,t:n,u:new Map,v:new Map};{e.h=new Promise((function(r){return e.p=r}))}{e.m=new Promise((function(r){return e._=r}));r["s-p"]=[];r["s-rc"]=[]}{e.j=[]}var t=e;r.__stencil__getHostRef=function(){return t};return t};var v=function(r,n){return n in r};var s=function(r,n){return(0,console.error)(r,n)};var c=new Map;var d=function(r,e,t){var i=r.O.replace(/-/g,"_");var f=r.S;if(!f){return void 0}var a=c.get(f);if(a){return a[i]}
2
- /*!__STENCIL_STATIC_IMPORT_SWITCH__*/return n.import("./".concat(f,".entry.js").concat("")).then((function(r){{c.set(f,r)}return r[i]}),(function(r){s(r,e.$hostElement$)}))};var h=new Map;var p="{visibility:hidden}.hydrated{visibility:inherit}";var b="slot-fb{display:contents}slot-fb[hidden]{display:none}";var y="http://www.w3.org/1999/xlink";var m=typeof window!=="undefined"?window:{};var w=r("H",m.HTMLElement||function(){function r(){}return r}());var g={l:0,$:"",jmp:function(r){return r()},raf:function(r){return requestAnimationFrame(r)},ael:function(r,n,e,t){return r.addEventListener(n,e,t)},rel:function(r,n,e,t){return r.removeEventListener(n,e,t)},ce:function(r,n){return new CustomEvent(r,n)}};var _=i.shadowDom;var j=r("p",(function(r){return Promise.resolve(r)}));var O=function(){try{if(!m.document.adoptedStyleSheets){return false}new CSSStyleSheet;return typeof(new CSSStyleSheet).replaceSync==="function"}catch(r){}return false}();var S=O?function(){return!!m.document&&Object.getOwnPropertyDescriptor(m.document.adoptedStyleSheets,"length").writable}():false;var $=false;var N=[];var C=[];var k=function(r,n){return function(e){r.push(e);if(!$){$=true;if(n&&g.l&4){E(x)}else{g.raf(x)}}}};var A=function(r){for(var n=0;n<r.length;n++){try{r[n](performance.now())}catch(r){s(r)}}r.length=0};var x=function(){A(N);{A(C);if($=N.length>0){g.raf(x)}}};var E=function(r){return j().then(r)};var T=k(C,true);var M=function(r){var n=fr(r,"childNodes");if(r.tagName&&r.tagName.includes("-")&&r["s-cr"]&&r.tagName!=="SLOT-FB"){L(n,r.tagName).forEach((function(r){if(r.nodeType===1&&r.tagName==="SLOT-FB"){if(P(r,B(r),false).length){r.hidden=true}else{r.hidden=false}}}))}var e=0;for(e=0;e<n.length;e++){var t=n[e];if(t.nodeType===1&&fr(t,"childNodes").length){M(t)}}};var R=function(r){var n=[];for(var e=0;e<r.length;e++){var t=r[e]["s-nr"]||void 0;if(t&&t.isConnected){n.push(t)}}return n};function L(r,n,e){var t=0;var i=[];var f;for(;t<r.length;t++){f=r[t];if(f["s-sr"]&&(!n||f["s-hn"]===n)&&(e===void 0||B(f)===e)){i.push(f);if(typeof e!=="undefined")return i}i=__spreadArray(__spreadArray([],i,true),L(f.childNodes,n,e),true)}return i}var P=function(r,n,e){if(e===void 0){e=true}var t=[];if(e&&r["s-sr"]||!r["s-sr"])t.push(r);var i=r;while(i=i.nextSibling){if(B(i)===n&&(e||!i["s-sr"]))t.push(i)}return t};var D=function(r,n){if(r.nodeType===1){if(r.getAttribute("slot")===null&&n===""){return true}if(r.getAttribute("slot")===n){return true}return false}if(r["s-sn"]===n){return true}return n===""};var F=function(r,n,e,t){if(r["s-ol"]&&r["s-ol"].isConnected){return}var i=document.createTextNode("");i["s-nr"]=r;if(!n["s-cr"]||!n["s-cr"].parentNode)return;var f=n["s-cr"].parentNode;var a=e?fr(f,"prepend"):fr(f,"appendChild");{a.call(f,i)}r["s-ol"]=i;r["s-sh"]=n["s-hn"]};var B=function(r){return typeof r["s-sn"]==="string"?r["s-sn"]:r.nodeType===1&&r.getAttribute("slot")||void 0};function U(r){if(r.assignedElements||r.assignedNodes||!r["s-sr"])return;var n=function(n){return function(r){var e=[];var t=this["s-sn"];if(r==null?void 0:r.flatten){console.error("\n Flattening is not supported for Stencil non-shadow slots.\n You can use `.childNodes` to nested slot fallback content.\n If you have a particular use case, please open an issue on the Stencil repo.\n ")}var i=this["s-cr"].parentElement;var f=i.__childNodes?i.childNodes:R(i.childNodes);f.forEach((function(r){if(t===B(r)){e.push(r)}}));if(n){return e.filter((function(r){return r.nodeType===1}))}return e}.bind(r)};r.assignedElements=n(true);r.assignedNodes=n(false)}function z(r){r.dispatchEvent(new CustomEvent("slotchange",{bubbles:false,cancelable:false,composed:false}))}function H(r,n){var e;n=n||((e=r["s-ol"])==null?void 0:e.parentElement);if(!n)return{slotNode:null,slotName:""};var t=r["s-sn"]=B(r)||"";var i=fr(n,"childNodes");var f=L(i,n.tagName,t)[0];return{slotNode:f,slotName:t}}var I=function(r){W(r);V(r);Y(r);G(r);Q(r);Z(r);J(r);K(r);X(r);rr(r);q(r)};var W=function(r){if(r.__cloneNode)return;var n=r.__cloneNode=r.cloneNode;r.cloneNode=function(r){var e=this;var t=n.call(e,false);if(r){var i=0;var f=void 0,a=void 0;var u=["s-id","s-cr","s-lr","s-rc","s-sc","s-p","s-cn","s-sr","s-sn","s-hn","s-ol","s-nr","s-si","s-rf","s-scs"];var o=this.__childNodes||this.childNodes;for(;i<o.length;i++){f=o[i]["s-nr"];a=u.every((function(r){return!o[i][r]}));if(f){if(t.__appendChild){t.__appendChild(f.cloneNode(true))}else{t.appendChild(f.cloneNode(true))}}if(a){t.appendChild(o[i].cloneNode(true))}}}return t}};var V=function(r){if(r.__appendChild)return;r.__appendChild=r.appendChild;r.appendChild=function(r){var n=H(r,this),e=n.slotName,t=n.slotNode;if(t){F(r,t);var i=P(t,e);var f=i[i.length-1];var a=fr(f,"parentNode");var u=fr(a,"insertBefore")(r,f.nextSibling);z(t);M(this);return u}return this.__appendChild(r)}};var q=function(r){if(r.__removeChild)return;r.__removeChild=r.removeChild;r.removeChild=function(r){if(r&&typeof r["s-sn"]!=="undefined"){var n=this.__childNodes||this.childNodes;var e=L(n,this.tagName,r["s-sn"]);if(e&&r.isConnected){r.remove();M(this);return}}return this.__removeChild(r)}};var G=function(r){if(r.__prepend)return;r.__prepend=r.prepend;r.prepend=function(){var n=this;var e=[];for(var t=0;t<arguments.length;t++){e[t]=arguments[t]}e.forEach((function(e){if(typeof e==="string"){e=n.ownerDocument.createTextNode(e)}var t=(e["s-sn"]=B(e))||"";var i=fr(n,"childNodes");var f=L(i,n.tagName,t)[0];if(f){F(e,f,true);var a=P(f,t);var u=a[0];var o=fr(u,"parentNode");var l=fr(o,"insertBefore")(e,fr(u,"nextSibling"));z(f);return l}if(e.nodeType===1&&!!e.getAttribute("slot")){e.hidden=true}return r.__prepend(e)}))}};var Y=function(r){if(r.__append)return;r.__append=r.append;r.append=function(){var r=this;var n=[];for(var e=0;e<arguments.length;e++){n[e]=arguments[e]}n.forEach((function(n){if(typeof n==="string"){n=r.ownerDocument.createTextNode(n)}r.appendChild(n)}))}};var Z=function(r){if(r.__insertAdjacentHTML)return;var n=r.insertAdjacentHTML;r.insertAdjacentHTML=function(r,e){if(r!=="afterbegin"&&r!=="beforeend"){return n.call(this,r,e)}var t=this.ownerDocument.createElement("_");var i;t.innerHTML=e;if(r==="afterbegin"){while(i=t.firstChild){this.prepend(i)}}else if(r==="beforeend"){while(i=t.firstChild){this.append(i)}}}};var J=function(r){r.insertAdjacentText=function(r,n){this.insertAdjacentHTML(r,n)}};var K=function(r){if(r.__insertBefore)return;var n=r;if(n.__insertBefore)return;n.__insertBefore=r.insertBefore;r.insertBefore=function(r,n){var e=this;var t=H(r,this),i=t.slotName,f=t.slotNode;var a=this.__childNodes?this.childNodes:R(this.childNodes);if(f){var u=false;a.forEach((function(t){if(t===n||n===null){u=true;if(n===null||i!==n["s-sn"]){e.appendChild(r);return}if(i===n["s-sn"]){F(r,f);var a=fr(n,"parentNode");fr(a,"insertBefore")(r,n);z(f)}return}}));if(u)return r}var o=n==null?void 0:n.__parentNode;if(o&&!this.isSameNode(o)){return this.appendChild(r)}return this.__insertBefore(r,n)}};var Q=function(r){if(r.__insertAdjacentElement)return;var n=r.insertAdjacentElement;r.insertAdjacentElement=function(r,e){if(r!=="afterbegin"&&r!=="beforeend"){return n.call(this,r,e)}if(r==="afterbegin"){this.prepend(e);return e}else if(r==="beforeend"){this.append(e);return e}return e}};var X=function(r){ir("textContent",r);Object.defineProperty(r,"textContent",{get:function(){var r="";var n=this.__childNodes?this.childNodes:R(this.childNodes);n.forEach((function(n){return r+=n.textContent||""}));return r},set:function(r){var n=this.__childNodes?this.childNodes:R(this.childNodes);n.forEach((function(r){if(r["s-ol"])r["s-ol"].remove();r.remove()}));this.insertAdjacentHTML("beforeend",r)}})};var rr=function(r){var n=function(r){__extends(n,r);function n(){return r!==null&&r.apply(this,arguments)||this}n.prototype.item=function(r){return this[r]};return n}(Array);ir("children",r);Object.defineProperty(r,"children",{get:function(){return this.childNodes.filter((function(r){return r.nodeType===1}))}});Object.defineProperty(r,"childElementCount",{get:function(){return this.children.length}});ir("firstChild",r);Object.defineProperty(r,"firstChild",{get:function(){return this.childNodes[0]}});ir("lastChild",r);Object.defineProperty(r,"lastChild",{get:function(){return this.childNodes[this.childNodes.length-1]}});ir("childNodes",r);Object.defineProperty(r,"childNodes",{get:function(){var r=new n;r.push.apply(r,R(this.__childNodes));return r}})};var nr=function(r){if(!r||r.__parentNode)return;ir("parentNode",r);Object.defineProperty(r,"parentNode",{get:function(){var r;return((r=this["s-ol"])==null?void 0:r.parentNode)||this.__parentNode},set:function(r){this.__parentNode=r}})};var er=["children","nextElementSibling","previousElementSibling"];var tr=["childNodes","firstChild","lastChild","nextSibling","previousSibling","textContent","parentNode"];function ir(r,n){if(!globalThis.Node||!globalThis.Element){return}var e;if(er.includes(r)){e=Object.getOwnPropertyDescriptor(Element.prototype,r)}else if(tr.includes(r)){e=Object.getOwnPropertyDescriptor(Node.prototype,r)}if(!e){e=Object.getOwnPropertyDescriptor(n,r)}if(e)Object.defineProperty(n,"__"+r,e)}function fr(r,n){if("__"+n in r){var e=r["__"+n];if(typeof e!=="function")return e;return e.bind(r)}else{if(typeof r[n]!=="function")return r[n];return r[n].bind(r)}}var ar=function(r,n){if(n===void 0){n=""}{return function(){return}}};var ur=function(r,n){{return function(){return}}};function or(r){var n,e,t;return(t=(e=(n=r.head)==null?void 0:n.querySelector('meta[name="csp-nonce"]'))==null?void 0:e.getAttribute("content"))!=null?t:void 0}var lr=new WeakMap;var vr=function(r,n,e){var t=h.get(r);if(O&&e){t=t||new CSSStyleSheet;if(typeof t==="string"){t=n}else{t.replaceSync(n)}}else{t=n}h.set(r,t)};var sr=function(r,n,e){var t,i,f;var a=dr(n);var u=h.get(a);if(!m.document){return a}r=r.nodeType===11?r:m.document;if(u){if(typeof u==="string"){r=r.head||r;var o=lr.get(r);var l=void 0;if(!o){lr.set(r,o=new Set)}if(!o.has(a)){l=m.document.createElement("style");l.textContent=u;var v=(t=g.N)!=null?t:or(m.document);if(v!=null){l.setAttribute("nonce",v)}if(!(n.l&1)){if(r.nodeName==="HEAD"){var s=r.querySelectorAll("link[rel=preconnect]");var c=s.length>0?s[s.length-1].nextSibling:r.querySelector("style");r.insertBefore(l,(c==null?void 0:c.parentNode)===r?c:null)}else if("host"in r){if(O){var d=(i=r.defaultView)!=null?i:r.ownerDocument.defaultView;var p=new d.CSSStyleSheet;p.replaceSync(u);if(S){r.adoptedStyleSheets.unshift(p)}else{r.adoptedStyleSheets=__spreadArray([p],r.adoptedStyleSheets,true)}}else{var y=r.querySelector("style");if(y){y.textContent=u+y.textContent}else{r.prepend(l)}}}else{r.append(l)}}if(n.l&1){r.insertBefore(l,null)}if(n.l&4){l.textContent+=b}if(o){o.add(a)}}}else{var o=lr.get(r);if(!o){lr.set(r,o=new Set)}if(!o.has(a)){var d=(f=r.defaultView)!=null?f:r.ownerDocument.defaultView;var p=void 0;if(u.constructor===d.CSSStyleSheet){p=u}else{p=new d.CSSStyleSheet;for(var w=0;w<u.cssRules.length;w++){p.insertRule(u.cssRules[w].cssText,w)}}if(S){r.adoptedStyleSheets.push(p)}else{r.adoptedStyleSheets=__spreadArray(__spreadArray([],r.adoptedStyleSheets,true),[p],false)}o.add(a)}}}return a};var cr=function(r){var n=r.t;var e=r.$hostElement$;var t=ar("attachStyles",n.O);sr(e.getRootNode(),n);t()};var dr=function(r,n){return"sc-"+r.O};var hr=function(r){r=typeof r;return r==="object"||r==="function"};var pr=r("h",(function(r,n){var e=[];for(var t=2;t<arguments.length;t++){e[t-2]=arguments[t]}if(typeof r==="string"){r=Nn(r)}var i=null;var f=null;var a=null;var u=false;var o=false;var l=[];var v=function(n){for(var e=0;e<n.length;e++){i=n[e];if(Array.isArray(i)){v(i)}else if(i!=null&&typeof i!=="boolean"){if(u=typeof r!=="function"&&!hr(i)){i=String(i)}if(u&&o){l[l.length-1].C+=i}else{l.push(u?br(null,i):i)}o=u}}};v(e);if(n){if(n.key){f=n.key}if(n.name){a=n.name}{var s=n.className||n.class;if(s){n.class=typeof s!=="object"?s:Object.keys(s).filter((function(r){return s[r]})).join(" ")}}}if(typeof r==="function"){return r(n===null?{}:n,l,wr)}var c=br(r,null);c.k=n;if(l.length>0){c.A=l}{c.T=f}{c.M=a}return c}));var br=function(r,n){var e={l:0,R:r,C:n!=null?n:null,L:null,A:null};{e.k=null}{e.T=null}{e.M=null}return e};var yr=r("a",{});var mr=function(r){return r&&r.R===yr};var wr={forEach:function(r,n){return r.map(gr).forEach(n)},map:function(r,n){return r.map(gr).map(n).map(_r)}};var gr=function(r){return{vattrs:r.k,vchildren:r.A,vkey:r.T,vname:r.M,vtag:r.R,vtext:r.C}};var _r=function(r){if(typeof r.vtag==="function"){var n=__assign({},r.vattrs);if(r.vkey){n.key=r.vkey}if(r.vname){n.name=r.vname}return pr.apply(void 0,__spreadArray([r.vtag,n],r.vchildren||[],false))}var e=br(r.vtag,r.vtext);e.k=r.vattrs;e.A=r.vchildren;e.T=r.vkey;e.M=r.vname;return e};var jr=function(r,n,e){if(r!=null&&!hr(r)){if(n&4){{return r==="false"?false:r===""||!!r}}if(n&2){return typeof r==="string"?parseFloat(r):typeof r==="number"?r:NaN}if(n&1){return String(r)}return r}return r};var Or=r("g",(function(r){var n;return(n=u(r))==null?void 0:n.$hostElement$}));var Sr=r("c",(function(r,n,e){var t=Or(r);return{emit:function(r){return $r(t,n,{bubbles:true,composed:true,cancelable:true,detail:r})}}}));var $r=function(r,n,e){var t=g.ce(n,e);r.dispatchEvent(t);return t};var Nr=function(r,n,e,t,i,f,a){if(e===t){return}var o=v(r,n);var l=n.toLowerCase();if(n==="class"){var s=r.classList;var c=kr(e);var d=kr(t);{s.remove.apply(s,c.filter((function(r){return r&&!d.includes(r)})));s.add.apply(s,d.filter((function(r){return r&&!c.includes(r)})))}}else if(n==="style"){{for(var h in e){if(!t||t[h]==null){if(h.includes("-")){r.style.removeProperty(h)}else{r.style[h]=""}}}}for(var h in t){if(!e||t[h]!==e[h]){if(h.includes("-")){r.style.setProperty(h,t[h])}else{r.style[h]=t[h]}}}}else if(n==="key");else if(n==="ref"){if(t){Xr(t,r)}}else if(!o&&n[0]==="o"&&n[1]==="n"){if(n[2]==="-"){n=n.slice(3)}else if(v(m,l)){n=l.slice(2)}else{n=l[2]+n.slice(3)}if(e||t){var p=n.endsWith(Ar);n=n.replace(xr,"");if(e){g.rel(r,n,e,p)}if(t){g.ael(r,n,t,p)}}}else if(n[0]==="a"&&n.startsWith("attr:")){var b=n.slice(5);var w=void 0;{var _=u(r);if(_&&_.t&&_.t.i){var j=_.t.i[b];if(j&&j[1]){w=j[1]}}}if(!w){w=b.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}if(t==null||t===false){if(t!==false||r.getAttribute(w)===""){r.removeAttribute(w)}}else{r.setAttribute(w,t===true?"":t)}return}else if(n[0]==="p"&&n.startsWith("prop:")){var b=n.slice(5);try{r[b]=t}catch(r){}return}else{var O=hr(t);if((o||O&&t!==null)&&true){try{if(!r.tagName.includes("-")){var S=t==null?"":t;if(n==="list"){o=false}else if(e==null||r[n]!==S){if(typeof r.__lookupSetter__(n)==="function"){r[n]=S}else{r.setAttribute(n,S)}}}else if(r[n]!==t){r[n]=t}}catch(r){}}var $=false;{if(l!==(l=l.replace(/^xlink\:?/,""))){n=l;$=true}}if(t==null||t===false){if(t!==false||r.getAttribute(n)===""){if($){r.removeAttributeNS(y,n)}else{r.removeAttribute(n)}}}else if((!o||f&4||i)&&!O&&r.nodeType===1){t=t===true?"":t;if($){r.setAttributeNS(y,n,t)}else{r.setAttribute(n,t)}}}};var Cr=/\s/;var kr=function(r){if(typeof r==="object"&&r&&"baseVal"in r){r=r.baseVal}if(!r||typeof r!=="string"){return[]}return r.split(Cr)};var Ar="Capture";var xr=new RegExp(Ar+"$");var Er=function(r,n,e,t){var i=n.L.nodeType===11&&n.L.host?n.L.host:n.L;var f=r&&r.k||{};var a=n.k||{};{for(var u=0,o=Tr(Object.keys(f));u<o.length;u++){var l=o[u];if(!(l in a)){Nr(i,l,f[l],void 0,e,n.l)}}}for(var v=0,s=Tr(Object.keys(a));v<s.length;v++){var l=s[v];Nr(i,l,f[l],a[l],e,n.l)}};function Tr(r){return r.includes("ref")?__spreadArray(__spreadArray([],r.filter((function(r){return r!=="ref"})),true),["ref"],false):r}var Mr;var Rr;var Lr=false;var Pr=false;var Dr=false;var Fr=false;var Br=[];var Ur=[];var zr=function(r,n,e){var t;var f=n.A[e];var a=0;var u;var o;var l;if(!Lr){Dr=true;if(f.R==="slot"){f.l|=f.A?2:1}}if(f.C!=null){u=f.L=m.document.createTextNode(f.C)}else if(f.l&1){u=f.L=m.document.createTextNode("");{Er(null,f,Fr)}}else{if(!m.document){throw new Error("You are trying to render a Stencil component in an environment that doesn't support the DOM.")}u=f.L=m.document.createElement(!Lr&&i.slotRelocation&&f.l&2?"slot-fb":f.R);{Er(null,f,Fr)}if(f.A){var v=f.R==="template"?u.content:u;for(a=0;a<f.A.length;++a){o=zr(r,f,a);if(o){v.appendChild(o)}}}}u["s-hn"]=Rr;{if(f.l&(2|1)){u["s-sr"]=true;u["s-cr"]=Mr;u["s-sn"]=f.M||"";u["s-rf"]=(t=f.k)==null?void 0:t.ref;U(u);l=r&&r.A&&r.A[e];if(l&&l.R===f.R&&r.L){Hr(r.L)}}}return u};var Hr=function(r){g.l|=1;var n=r.closest(Rr.toLowerCase());if(n!=null){var e=Array.from(n.__childNodes||n.childNodes).find((function(r){return r["s-cr"]}));var t=Array.from(r.__childNodes||r.childNodes);for(var i=0,f=e?t.reverse():t;i<f.length;i++){var a=f[i];if(a["s-sh"]!=null){nn(n,a,e!=null?e:null);a["s-sh"]=void 0;Dr=true}}}g.l&=-2};var Ir=function(r,n){g.l|=1;var e=Array.from(r.__childNodes||r.childNodes);if(r["s-sr"]){var t=r;while(t=t.nextSibling){if(t&&t["s-sn"]===r["s-sn"]&&t["s-sh"]===Rr){e.push(t)}}}for(var i=e.length-1;i>=0;i--){var f=e[i];if(f["s-hn"]!==Rr&&f["s-ol"]){nn(Yr(f).parentNode,f,Yr(f));f["s-ol"].remove();f["s-ol"]=void 0;f["s-sh"]=void 0;Dr=true}if(n){Ir(f,n)}}g.l&=-2};var Wr=function(r,n,e,t,i,f){var a=r["s-cr"]&&r["s-cr"].parentNode||r;var u;if(e.R==="template"){a=a.content}for(;i<=f;++i){if(t[i]){u=zr(null,e,i);if(u){t[i].L=u;nn(a,u,Yr(n))}}}};var Vr=function(r,n,e){for(var t=n;t<=e;++t){var i=r[t];if(i){var f=i.L;Qr(i);if(f){{Pr=true;if(f["s-ol"]){f["s-ol"].remove()}else{Ir(f,true)}}f.remove()}}}};var qr=function(r,n,e,t,i){if(i===void 0){i=false}var f=0;var a=0;var u=0;var o=0;var l=n.length-1;var v=n[0];var s=n[l];var c=t.length-1;var d=t[0];var h=t[c];var p;var b;var y=e.R==="template"?r.content:r;while(f<=l&&a<=c){if(v==null){v=n[++f]}else if(s==null){s=n[--l]}else if(d==null){d=t[++a]}else if(h==null){h=t[--c]}else if(Gr(v,d,i)){Zr(v,d,i);v=n[++f];d=t[++a]}else if(Gr(s,h,i)){Zr(s,h,i);s=n[--l];h=t[--c]}else if(Gr(v,h,i)){if(v.R==="slot"||h.R==="slot"){Ir(v.L.parentNode,false)}Zr(v,h,i);nn(y,v.L,s.L.nextSibling);v=n[++f];h=t[--c]}else if(Gr(s,d,i)){if(v.R==="slot"||h.R==="slot"){Ir(s.L.parentNode,false)}Zr(s,d,i);nn(y,s.L,v.L);s=n[--l];d=t[++a]}else{u=-1;{for(o=f;o<=l;++o){if(n[o]&&n[o].T!==null&&n[o].T===d.T){u=o;break}}}if(u>=0){b=n[u];if(b.R!==d.R){p=zr(n&&n[a],e,u)}else{Zr(b,d,i);n[u]=void 0;p=b.L}d=t[++a]}else{p=zr(n&&n[a],e,a);d=t[++a]}if(p){{nn(Yr(v.L).parentNode,p,Yr(v.L))}}}}if(f>l){Wr(r,t[c+1]==null?null:t[c+1].L,e,t,a,c)}else if(a>c){Vr(n,f,l)}};var Gr=function(r,n,e){if(e===void 0){e=false}if(r.R===n.R){if(r.R==="slot"){return r.M===n.M}if(!e){return r.T===n.T}if(e&&!r.T&&n.T){r.T=n.T}return true}return false};var Yr=function(r){return r&&r["s-ol"]||r};var Zr=function(r,n,e){if(e===void 0){e=false}var t=n.L=r.L;var f=r.A;var a=n.A;var u=n.R;var o=n.C;var l;if(o==null){{if(u==="slot"&&!Lr){if(r.M!==n.M){n.L["s-sn"]=n.M||"";Hr(n.L.parentElement)}}Er(r,n,Fr)}if(f!==null&&a!==null){qr(t,f,n,a,e)}else if(a!==null){if(r.C!==null){t.textContent=""}Wr(t,null,n,a,0,a.length-1)}else if(!e&&i.updatable&&f!==null){Vr(f,0,f.length-1)}else;}else if(l=t["s-cr"]){l.parentNode.textContent=o}else if(r.C!==o){t.data=o}};var Jr=[];var Kr=function(r){var n;var e;var t;var i=r.__childNodes||r.childNodes;for(var f=0,a=i;f<a.length;f++){var u=a[f];if(u["s-sr"]&&(n=u["s-cr"])&&n.parentNode){e=n.parentNode.__childNodes||n.parentNode.childNodes;var o=u["s-sn"];var l=function(){n=e[t];if(!n["s-cn"]&&!n["s-nr"]&&n["s-hn"]!==u["s-hn"]&&(!n["s-sh"]||n["s-sh"]!==u["s-hn"])){if(D(n,o)){var r=Jr.find((function(r){return r.P===n}));Pr=true;n["s-sn"]=n["s-sn"]||o;if(r){r.P["s-sh"]=u["s-hn"];r.D=u}else{n["s-sh"]=u["s-hn"];Jr.push({D:u,P:n})}if(n["s-sr"]){Jr.map((function(e){if(D(e.P,n["s-sn"])){r=Jr.find((function(r){return r.P===n}));if(r&&!e.D){e.D=r.D}}}))}}else if(!Jr.some((function(r){return r.P===n}))){Jr.push({P:n})}}};for(t=e.length-1;t>=0;t--){l()}}if(u.nodeType===1){Kr(u)}}};var Qr=function(r){{if(r.k&&r.k.ref){Br.push((function(){return r.k.ref(null)}))}r.A&&r.A.map(Qr)}};var Xr=function(r,n){{Ur.push((function(){return r(n)}))}};var rn=function(){{Br.forEach((function(r){return r()}));Br.length=0;Ur.forEach((function(r){return r()}));Ur.length=0}};var nn=function(r,n,e,t){{if(typeof n["s-sn"]==="string"){if(r.getRootNode().nodeType!==11){nr(n)}r.insertBefore(n,e);var i=H(n).slotNode;if(i&&!t)z(i);return n}}if(r.__insertBefore){return r.__insertBefore(n,e)}else{return r==null?void 0:r.insertBefore(n,e)}};var en=function(r,n,e){if(e===void 0){e=false}var t,i,f,a,u;var o=r.$hostElement$;var l=r.t;var v=r.F||br(null,null);var s=mr(n);var c=s?n:pr(null,null,n);Rr=o.tagName;if(l.B){c.k=c.k||{};l.B.forEach((function(r){var n=r[0],e=r[1];{c.k[e]=o[n]}}))}if(e&&c.k){for(var d=0,h=Object.keys(c.k);d<h.length;d++){var p=h[d];if(o.hasAttribute(p)&&!["key","ref","style","class"].includes(p)){c.k[p]=o[p]}}}c.R=null;c.l|=4;r.F=c;c.L=v.L=o;Lr=_;{Mr=o["s-cr"];Pr=false}Zr(v,c,e);{g.l|=1;if(Dr){Kr(c.L);for(var b=0,y=Jr;b<y.length;b++){var w=y[b];var j=w.P;if(!j["s-ol"]&&m.document){var O=m.document.createTextNode("");O["s-nr"]=j;nn(j.parentNode,j["s-ol"]=O,j,e)}}for(var S=0,$=Jr;S<$.length;S++){var w=$[S];var j=w.P;var N=w.D;if(j.nodeType===1&&e){j["s-ih"]=(t=j.hidden)!=null?t:false}if(N){var C=N.parentNode;var k=N.nextSibling;if(k&&k.nodeType===1){var O=(i=j["s-ol"])==null?void 0:i.previousSibling;while(O){var A=(f=O["s-nr"])!=null?f:null;if(A&&A["s-sn"]===j["s-sn"]&&C===(A.__parentNode||A.parentNode)){A=A.nextSibling;while(A===j||(A==null?void 0:A["s-sr"])){A=A==null?void 0:A.nextSibling}if(!A||!A["s-nr"]){k=A;break}}O=O.previousSibling}}var x=j.__parentNode||j.parentNode;var E=j.__nextSibling||j.nextSibling;if(!k&&C!==x||E!==k){if(j!==k){nn(C,j,k,e);if(j.nodeType===8&&j.nodeValue.startsWith("s-nt-")){var T=m.document.createTextNode(j.nodeValue.replace(/^s-nt-/,""));T["s-hn"]=j["s-hn"];T["s-sn"]=j["s-sn"];T["s-sh"]=j["s-sh"];T["s-sr"]=j["s-sr"];T["s-ol"]=j["s-ol"];T["s-ol"]["s-nr"]=T;nn(j.parentNode,T,j,e);j.parentNode.removeChild(j)}if(j.nodeType===1&&j.tagName!=="SLOT-FB"){j.hidden=(a=j["s-ih"])!=null?a:false}}}j&&typeof N["s-rf"]==="function"&&N["s-rf"](N)}else if(j.nodeType===1){j.hidden=true}}}if(Pr){M(c.L)}g.l&=-2;Jr.length=0}if(!Lr&&!(l.l&1)&&o["s-cr"]){var R=c.L.__childNodes||c.L.childNodes;for(var L=0,P=R;L<P.length;L++){var D=P[L];if(D["s-hn"]!==Rr&&!D["s-sh"]){if(e&&D["s-ih"]==null){D["s-ih"]=(u=D.hidden)!=null?u:false}if(D.nodeType===1){D.hidden=true}else if(D.nodeType===3&&!!D.nodeValue.trim()){var F=m.document.createComment("s-nt-"+D.nodeValue);F["s-sn"]=D["s-sn"];nn(D.parentNode,F,D,e);D.parentNode.removeChild(D)}}}}Mr=void 0;rn()};var tn=function(r,n){if(n&&!r.U&&n["s-p"]){var e=n["s-p"].push(new Promise((function(t){return r.U=function(){n["s-p"].splice(e-1,1);t()}})))}};var fn=function(r,n){{r.l|=16}if(r.l&4){r.l|=512;return}tn(r,r.H);var e=function(){return an(r,n)};if(n){queueMicrotask((function(){e()}));return}return T(e)};var an=function(r,n){var e=r.$hostElement$;var t=ar("scheduleUpdate",r.t.O);var i=r.o;if(!i){throw new Error("Can't render component <".concat(e.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 f;if(n){{if(r.I){r.I=false;dn(i,"connectedCallback",void 0,e)}if(r.j.length){r.j.forEach((function(r){return r(e)}))}}f=dn(i,"componentWillLoad",void 0,e)}else{f=dn(i,"componentWillUpdate",void 0,e)}f=un(f,(function(){return dn(i,"componentWillRender",void 0,e)}));t();return un(f,(function(){return ln(r,i,n)}))};var un=function(r,n){return on(r)?r.then(n).catch((function(r){console.error(r);n()})):n()};var on=function(r){return r instanceof Promise||r&&r.then&&typeof r.then==="function"};var ln=function(r,n,t){return __awaiter(e,void 0,void 0,(function(){var e,i,f,a,u,o,l;return __generator(this,(function(v){i=r.$hostElement$;f=ar("update",r.t.O);a=i["s-rc"];if(t){cr(r)}u=ar("render",r.t.O);{vn(r,n,i,t)}if(a){a.map((function(r){return r()}));i["s-rc"]=void 0}u();f();{o=(e=i["s-p"])!=null?e:[];l=function(){return sn(r)};if(o.length===0){l()}else{Promise.all(o).then(l).catch(l);r.l|=4;o.length=0}}return[2]}))}))};var vn=function(r,n,e,t){try{n=n.render();{r.l&=-17}{r.l|=2}{{{en(r,n,t)}}}}catch(n){s(n,r.$hostElement$)}return null};var sn=function(r){var n=r.t.O;var e=r.$hostElement$;var t=ar("postUpdate",n);var i=r.o;var f=r.H;dn(i,"componentDidRender",void 0,e);if(!(r.l&64)){r.l|=64;{hn(e)}dn(i,"componentDidLoad",void 0,e);t();{r._(e);if(!f){cn()}}}else{dn(i,"componentDidUpdate",void 0,e);t()}{r.p(e)}{if(r.U){r.U();r.U=void 0}if(r.l&512){E((function(){return fn(r,false)}))}r.l&=-517}};var cn=function(r){E((function(){return $r(m,"appload",{detail:{namespace:t}})}))};var dn=function(r,n,e,t){if(r&&r[n]){try{return r[n](e)}catch(r){s(r,t)}}return void 0};var hn=function(r){var n;return r.classList.add((n=i.hydratedSelectorName)!=null?n:"hydrated")};var pn=function(r,n){return u(r).u.get(n)};var bn=function(r,n,e,t){var i=u(r);if(!i){return}if(!i){throw new Error("Couldn't find host element for \"".concat(t.O,'" 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 f=i.$hostElement$;var a=i.u.get(n);var o=i.l;var l=i.o;e=jr(e,t.i[n][0]);var v=Number.isNaN(a)&&Number.isNaN(e);var c=e!==a&&!v;if((!(o&8)||a===void 0)&&c){i.u.set(n,e);if(t.W){var d=t.W[n];if(d){d.map((function(r){try{var t=Object.entries(r)[0],u=t[0],v=t[1];if(o&128||v&1){if(!l){i.j.push((function(){i.o[u](e,a,n)}))}else{l[u](e,a,n)}}}catch(r){s(r,f)}}))}}if(o&2){if(l.componentShouldUpdate){var h=l.componentShouldUpdate(e,a,n);if(h===false&&!(o&16)){return}}if(!(o&16)){fn(i,false)}}}};var yn=function(r,n,e){var t,f;var a=r.prototype;if(n.i||i.propChangeCallback){{if(r.watchers&&!n.W){n.W=r.watchers}if(r.deserializers&&!n.V){n.V=r.deserializers}if(r.serializers&&!n.q){n.q=r.serializers}}var o=Object.entries((t=n.i)!=null?t:{});o.map((function(r){var t=r[0],i=r[1][0];if(i&31||e&2&&i&32){var f=Object.getOwnPropertyDescriptor(a,t)||{},o=f.get,l=f.set;if(o)n.i[t][0]|=2048;if(l)n.i[t][0]|=4096;if(e&1||!o){Object.defineProperty(a,t,{get:function(){{if((n.i[t][0]&2048)===0){return pn(this,t)}var r=u(this);var e=r?r.o:a;if(!e)return;return e[t]}},configurable:true,enumerable:true})}Object.defineProperty(a,t,{set:function(r){var f=this;var a=u(this);if(!a){return}if(l){var o=i&32?this[t]:a.$hostElement$[t];if(typeof o==="undefined"&&a.u.get(t)){r=a.u.get(t)}l.apply(this,[jr(r,i)]);r=i&32?this[t]:a.$hostElement$[t];bn(this,t,r,n);return}{if((e&1)===0||(n.i[t][0]&4096)===0){bn(this,t,r,n);if(e&1&&!a.o){a.j.push((function(){if(n.i[t][0]&4096&&a.o[t]!==a.u.get(t)){a.o[t]=r}}))}return}var v=function(){var e=a.o[t];if(!a.u.get(t)&&e){a.u.set(t,e)}a.o[t]=jr(r,i);bn(f,t,a.o[t],n)};if(a.o){v()}else{a.j.push((function(){v()}))}}}})}else if(e&1&&i&64){Object.defineProperty(a,t,{value:function(){var r=[];for(var n=0;n<arguments.length;n++){r[n]=arguments[n]}var e;var i=u(this);return(e=i==null?void 0:i.h)==null?void 0:e.then((function(){var n;return(n=i.o)==null?void 0:n[t].apply(n,r)}))}})}}));if(e&1){var l=new Map;a.attributeChangedCallback=function(r,e,t){var f=this;g.jmp((function(){var v;var s=l.get(r);var c=u(f);if(f.hasOwnProperty(s)&&i.lazyLoad){t=f[s];delete f[s]}if(a.hasOwnProperty(s)&&typeof f[s]==="number"&&f[s]==t){return}else if(s==null){var d=c==null?void 0:c.l;if(c&&d&&!(d&8)&&t!==e){var h=c.o;var p=(v=n.W)==null?void 0:v[r];p==null?void 0:p.forEach((function(n){var i=Object.entries(n)[0],f=i[0],a=i[1];if(h[f]!=null&&(d&128||a&1)){h[f].call(h,t,e,r)}}))}return}var b=o.find((function(r){var n=r[0];return n===s}));if(b&&b[1][0]&4){t=t===null||t==="false"?false:true}var y=Object.getOwnPropertyDescriptor(a,s);if(t!=f[s]&&(!y.get||!!y.set)){f[s]=t}}))};r.observedAttributes=Array.from(new Set(__spreadArray(__spreadArray([],Object.keys((f=n.W)!=null?f:{}),true),o.filter((function(r){var n=r[0],e=r[1];return e[0]&31})).map((function(r){var e=r[0],t=r[1];var i;var f=t[1]||e;l.set(f,e);if(t[0]&512){(i=n.B)==null?void 0:i.push([e,f])}return f})),true)))}}return r};var mn=function(r,n,t,f){return __awaiter(e,void 0,void 0,(function(){var e,f,a,u,o,l,v,c,p,b,y,m,w;return __generator(this,(function(g){switch(g.label){case 0:g.trys.push([0,7,,8]);if(!((n.l&32)===0))return[3,6];n.l|=32;f=t.S;if(!f)return[3,4];a=d(t,n);if(!(a&&"then"in a))return[3,2];u=ur();return[4,a];case 1:e=g.sent();u();return[3,3];case 2:e=a;g.label=3;case 3:if(!e){throw new Error('Constructor for "'.concat(t.O,"#").concat(n.G,'" was not found'))}if(!e.isProxied){{t.W=e.watchers;t.q=e.serializers;t.V=e.deserializers}yn(e,t,2);e.isProxied=true}o=ar("createInstance",t.O);{n.l|=8}try{new e(n)}catch(n){s(n,r)}{n.l&=-9}{n.l|=128}o();l=t.l&4;if(!l){wn(n.o,r)}else{n.I=true}return[3,5];case 4:e=r.constructor;v=r.localName;customElements.whenDefined(v).then((function(){return n.l|=128}));g.label=5;case 5:if(e&&e.style){c=void 0;if(typeof e.style==="string"){c=e.style}p=dr(t);if(!h.has(p)||i.hotModuleReplacement){b=ar("registerStyles",t.O);vr(p,c,!!(t.l&1));b()}}g.label=6;case 6:y=n.H;m=function(){return fn(n,true)};if(y&&y["s-rc"]){y["s-rc"].push(m)}else{m()}return[3,8];case 7:w=g.sent();s(w,r);if(n.U){n.U();n.U=void 0}if(n._){n._(r)}return[3,8];case 8:return[2]}}))}))};var wn=function(r,n){{dn(r,"connectedCallback",void 0,n)}};var gn=function(r){if((g.l&1)===0){var n=u(r);if(!n){return}var e=n.t;var t=ar("connectedCallback",e.O);if(!(n.l&1)){n.l|=1;{if(e.l&(4|8)){_n(r)}}{var i=r;while(i=i.parentNode||i.host){if(i["s-p"]){tn(n,n.H=i);break}}}if(e.i){Object.entries(e.i).map((function(n){var e=n[0],t=n[1][0];if(t&31&&e in r&&r[e]!==Object.prototype[e]){var i=r[e];delete r[e];r[e]=i}}))}{mn(r,n,e)}}else{if(n==null?void 0:n.o){wn(n.o,r)}else if(n==null?void 0:n.m){n.m.then((function(){return wn(n.o,r)}))}}t()}};var _n=function(r){if(!m.document){return}var n=r["s-cr"]=m.document.createComment("");n["s-cn"]=true;nn(r,n,r.firstChild)};var jn=function(r,n){{dn(r,"disconnectedCallback",void 0,n||r)}};var On=function(r){return __awaiter(e,void 0,void 0,(function(){var n;return __generator(this,(function(e){if((g.l&1)===0){n=u(r);if(n==null?void 0:n.o){jn(n.o,r)}else if(n==null?void 0:n.m){n.m.then((function(){return jn(n.o,r)}))}}if(lr.has(r)){lr.delete(r)}if(r.shadowRoot&&lr.has(r.shadowRoot)){lr.delete(r.shadowRoot)}return[2]}))}))};var Sn=r("b",(function(r,n){if(n===void 0){n={}}var e;if(!m.document){console.warn("Stencil: No document found. Skipping bootstrapping lazy components.");return}var t=ar();var i=[];var f=n.exclude||[];var a=m.customElements;var o=m.document.head;var v=o.querySelector("meta[charset]");var s=m.document.createElement("style");var c=[];var d;var h=true;Object.assign(g,n);g.$=new URL(n.resourcesUrl||"./",m.document.baseURI).href;var y=false;r.map((function(r){r[1].map((function(n){var e,t,o;var v={l:n[0],O:n[1],i:n[2],Y:n[3]};if(v.l&4){y=true}{v.i=n[2]}{v.B=[]}{v.W=(e=n[4])!=null?e:{};v.q=(t=n[5])!=null?t:{};v.V=(o=n[6])!=null?o:{}}var s=Nn(v.O);var p=function(r){__extends(n,r);function n(n){var e=r.call(this,n)||this;e.hasRegisteredEventListeners=false;n=e;l(n,v);return e}n.prototype.connectedCallback=function(){var r=this;var n=u(this);if(!n){return}if(!this.hasRegisteredEventListeners){this.hasRegisteredEventListeners=true}if(d){clearTimeout(d);d=null}if(h){c.push(this)}else{g.jmp((function(){return gn(r)}))}};n.prototype.disconnectedCallback=function(){var r=this;g.jmp((function(){return On(r)}));g.raf((function(){var n;var e=u(r);if(!e){return}var t=c.findIndex((function(n){return n===r}));if(t>-1){c.splice(t,1)}if(((n=e==null?void 0:e.F)==null?void 0:n.L)instanceof Node&&!e.F.L.isConnected){delete e.F.L}}))};n.prototype.componentOnReady=function(){var r;return(r=u(this))==null?void 0:r.m};return n}(HTMLElement);if(!(v.l&1)&&v.l&256){{I(p.prototype)}}else{W(p.prototype)}v.S=r[0];if(!f.includes(s)&&!a.get(s)){i.push(s);a.define(s,yn(p,v,1))}}))}));if(i.length>0){if(y){s.textContent+=b}{s.textContent+=i.sort()+p}if(s.innerHTML.length){s.setAttribute("data-styles","");var w=(e=g.N)!=null?e:or(m.document);if(w!=null){s.setAttribute("nonce",w)}o.insertBefore(s,v?v.nextSibling:o.firstChild)}}h=false;if(c.length){c.map((function(r){return r.connectedCallback()}))}else{{g.jmp((function(){return d=setTimeout(cn,30)}))}}t()}));var $n=r("s",(function(r){return g.N=r}));function Nn(r){return r}}}}));
@@ -1 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(t,e,n,r){function i(t){return t instanceof n?t:new n((function(e){e(t)}))}return new(n||(n=Promise))((function(n,o){function a(t){try{u(r.next(t))}catch(t){o(t)}}function s(t){try{u(r["throw"](t))}catch(t){o(t)}}function u(t){t.done?n(t.value):i(t.value).then(a,s)}u((r=r.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var n={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},r,i,o,a=Object.create((typeof Iterator==="function"?Iterator:Object).prototype);return a.next=s(0),a["throw"]=s(1),a["return"]=s(2),typeof Symbol==="function"&&(a[Symbol.iterator]=function(){return this}),a;function s(t){return function(e){return u([t,e])}}function u(s){if(r)throw new TypeError("Generator is already executing.");while(a&&(a=0,s[0]&&(n=0)),n)try{if(r=1,i&&(o=s[0]&2?i["return"]:s[0]?i["throw"]||((o=i["return"])&&o.call(i),0):i.next)&&!(o=o.call(i,s[1])).done)return o;if(i=0,o)s=[s[0]&2,o.value];switch(s[0]){case 0:case 1:o=s;break;case 4:n.label++;return{value:s[1],done:false};case 5:n.label++;i=s[1];s=[0];continue;case 7:s=n.ops.pop();n.trys.pop();continue;default:if(!(o=n.trys,o=o.length>0&&o[o.length-1])&&(s[0]===6||s[0]===2)){n=0;continue}if(s[0]===3&&(!o||s[1]>o[0]&&s[1]<o[3])){n.label=s[1];break}if(s[0]===6&&n.label<o[1]){n.label=o[1];o=s;break}if(o&&n.label<o[2]){n.label=o[2];n.ops.push(s);break}if(o[2])n.ops.pop();n.trys.pop();continue}s=e.call(t,n)}catch(t){s=[6,t];i=0}finally{r=o=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};System.register(["./p-BQdH0ijK.system.js","./p-BbPAtVJG.system.js"],(function(t,e){"use strict";var n,r,i,o;return{setters:[function(e){n=e.p;r=e.H;i=e.b;t("setNonce",e.s)},function(t){o=t.g}],execute:function(){var t=this;var a=function(){{s(r.prototype)}var t=e.meta.url;var i={};if(t!==""){i.resourcesUrl=new URL(".",t).href}return n(i)};var s=function(t){var e=t.cloneNode;t.cloneNode=function(t){if(this.nodeName==="TEMPLATE"){return e.call(this,t)}var n=e.call(this,false);var r=this.childNodes;if(t){for(var i=0;i<r.length;i++){if(r[i].nodeType!==2){n.appendChild(r[i].cloneNode(true))}}}return n}};a().then((function(e){return __awaiter(t,void 0,void 0,(function(){return __generator(this,(function(t){switch(t.label){case 0:return[4,o()];case 1:t.sent();return[2,i([["p-e37e7dba.system",[[260,"bds-banner",{idComponent:[1,"id-component"],variant:[1],enableClose:[4,"enable-close"],isClosing:[32],isOpen:[32],closeBanner:[64]}]]],["p-c3c558d2.system",[[260,"bds-typography",{variant:[513],size:[513],state:[513],customClass:[1,"custom-class"],element:[1],align:[1],ellipsis:[4],maxLines:[2,"max-lines"],tooltipText:[1,"tooltip-text"],isRequired:[516,"is-required"],htmlFor:[1,"html-for"],href:[1],target:[1],isDownloadable:[4,"is-downloadable"],filename:[1],sanitizedHref:[32]},null,{href:[{updateSanitizedHref:0}]}]]]],e)]}}))}))}))}}}));
@@ -1 +0,0 @@
1
- System.register([],(function(a){"use strict";return{execute:function(){var r=a("a",{DEFAULT:"default",ERROR:"error",DISABLED:"disabled"});var i=a("S",{INFO:"info"});var e=function(a,r){if(r===void 0){r=[]}var i={};r.forEach((function(r){if(a.hasAttribute(r)){var e=a.getAttribute(r);if(e!==null){i[r]=e}a.removeAttribute(r)}}));return i};var l=["role","aria-activedescendant","aria-atomic","aria-autocomplete","aria-braillelabel","aria-brailleroledescription","aria-busy","aria-checked","aria-colcount","aria-colindex","aria-colindextext","aria-colspan","aria-controls","aria-current","aria-describedby","aria-description","aria-details","aria-disabled","aria-errormessage","aria-expanded","aria-flowto","aria-haspopup","aria-hidden","aria-invalid","aria-keyshortcuts","aria-label","aria-labelledby","aria-level","aria-live","aria-multiline","aria-multiselectable","aria-orientation","aria-owns","aria-placeholder","aria-posinset","aria-pressed","aria-readonly","aria-relevant","aria-required","aria-roledescription","aria-rowcount","aria-rowindex","aria-rowindextext","aria-rowspan","aria-selected","aria-setsize","aria-sort","aria-valuemax","aria-valuemin","aria-valuenow","aria-valuetext"];var t=a("i",(function(a,r){var i=l;return e(a,i)}))}}}));