@zanichelli/zanichelli-it-frontend-kit 0.0.1-rc.9 → 0.1.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 (92) hide show
  1. package/dist/cjs/{index-CPHNzI-S.js → index-C45Wd3rZ.js} +40 -9
  2. package/dist/cjs/index-C45Wd3rZ.js.map +1 -0
  3. package/dist/cjs/loader.cjs.js +3 -4
  4. package/dist/cjs/loader.cjs.js.map +1 -1
  5. package/dist/cjs/zanichelli-it-frontend-kit.cjs.js +4 -5
  6. package/dist/cjs/zanichelli-it-frontend-kit.cjs.js.map +1 -1
  7. package/dist/cjs/zanit-menubar.zanit-mobile-menubar.zanit-search-form.entry.cjs.js.map +1 -0
  8. package/dist/cjs/{zanit-menubar_2.cjs.entry.js → zanit-menubar_3.cjs.entry.js} +120 -75
  9. package/dist/cjs/zanit-menubar_3.cjs.entry.js.map +1 -0
  10. package/dist/collection/collection-manifest.json +3 -2
  11. package/dist/collection/components/menubar/menu/menu.js +1 -1
  12. package/dist/collection/components/menubar/menu/menu.js.map +1 -1
  13. package/dist/collection/components/menubar/menubar.css +22 -80
  14. package/dist/collection/components/menubar/menubar.js +55 -67
  15. package/dist/collection/components/menubar/menubar.js.map +1 -1
  16. package/dist/collection/components/menubar/mobile-menubar/mobile-menubar.css +0 -51
  17. package/dist/collection/components/menubar/mobile-menubar/mobile-menubar.js +2 -41
  18. package/dist/collection/components/menubar/mobile-menubar/mobile-menubar.js.map +1 -1
  19. package/dist/collection/components/menubar/search-form/search-form.css +147 -0
  20. package/dist/collection/components/menubar/search-form/search-form.js +173 -0
  21. package/dist/collection/components/menubar/search-form/search-form.js.map +1 -0
  22. package/dist/components/index.js +15 -4
  23. package/dist/components/index.js.map +1 -1
  24. package/dist/components/{p-XjRfDlOp.js → p-CWNmI_TK.js} +15 -48
  25. package/dist/components/p-CWNmI_TK.js.map +1 -0
  26. package/dist/components/p-Cphl7FvH.js +135 -0
  27. package/dist/components/p-Cphl7FvH.js.map +1 -0
  28. package/dist/components/zanit-menubar.js +37 -56
  29. package/dist/components/zanit-menubar.js.map +1 -1
  30. package/dist/components/zanit-mobile-menubar.js +1 -1
  31. package/dist/components/zanit-search-form.d.ts +11 -0
  32. package/dist/components/zanit-search-form.js +9 -0
  33. package/dist/components/zanit-search-form.js.map +1 -0
  34. package/dist/esm/{index-DywnjgyN.js → index-BGwuI2U_.js} +21 -9
  35. package/dist/esm/index-BGwuI2U_.js.map +1 -0
  36. package/dist/esm/loader.js +3 -4
  37. package/dist/esm/loader.js.map +1 -1
  38. package/dist/esm/zanichelli-it-frontend-kit.js +4 -5
  39. package/dist/esm/zanichelli-it-frontend-kit.js.map +1 -1
  40. package/dist/esm/zanit-menubar.zanit-mobile-menubar.zanit-search-form.entry.js.map +1 -0
  41. package/dist/esm/{zanit-menubar_2.entry.js → zanit-menubar_3.entry.js} +120 -76
  42. package/dist/esm/zanit-menubar_3.entry.js.map +1 -0
  43. package/dist/types/components/menubar/menubar.d.ts +9 -15
  44. package/dist/types/components/menubar/mobile-menubar/mobile-menubar.d.ts +0 -10
  45. package/dist/types/components/menubar/search-form/search-form.d.ts +27 -0
  46. package/dist/types/components.d.ts +57 -29
  47. package/dist/types/stencil-public-runtime.d.ts +1 -1
  48. package/dist/zanichelli-it-frontend-kit/loader.esm.js.map +1 -1
  49. package/dist/zanichelli-it-frontend-kit/p-BGwuI2U_.js +3 -0
  50. package/dist/zanichelli-it-frontend-kit/p-BGwuI2U_.js.map +1 -0
  51. package/dist/zanichelli-it-frontend-kit/p-b064a657.entry.js +2 -0
  52. package/dist/zanichelli-it-frontend-kit/p-b064a657.entry.js.map +1 -0
  53. package/dist/zanichelli-it-frontend-kit/zanichelli-it-frontend-kit.esm.js +1 -1
  54. package/dist/zanichelli-it-frontend-kit/zanichelli-it-frontend-kit.esm.js.map +1 -1
  55. package/dist/zanichelli-it-frontend-kit/zanit-menubar.zanit-mobile-menubar.zanit-search-form.entry.esm.js.map +1 -0
  56. package/package.json +11 -7
  57. package/www/build/loader.esm.js.map +1 -1
  58. package/www/build/p-BGwuI2U_.js +3 -0
  59. package/www/build/p-BGwuI2U_.js.map +1 -0
  60. package/www/build/p-b064a657.entry.js +2 -0
  61. package/www/build/p-b064a657.entry.js.map +1 -0
  62. package/www/build/p-ff7fd122.js +2 -0
  63. package/www/build/zanichelli-it-frontend-kit.esm.js +1 -1
  64. package/www/build/zanichelli-it-frontend-kit.esm.js.map +1 -1
  65. package/www/build/zanit-menubar.zanit-mobile-menubar.zanit-search-form.entry.esm.js.map +1 -0
  66. package/www/index.html +3 -3
  67. package/dist/cjs/app-globals-V2Kpy_OQ.js +0 -8
  68. package/dist/cjs/app-globals-V2Kpy_OQ.js.map +0 -1
  69. package/dist/cjs/index-CPHNzI-S.js.map +0 -1
  70. package/dist/cjs/zanit-menubar.zanit-mobile-menubar.entry.cjs.js.map +0 -1
  71. package/dist/cjs/zanit-menubar_2.cjs.entry.js.map +0 -1
  72. package/dist/components/p-XjRfDlOp.js.map +0 -1
  73. package/dist/esm/app-globals-DQuL1Twl.js +0 -6
  74. package/dist/esm/app-globals-DQuL1Twl.js.map +0 -1
  75. package/dist/esm/index-DywnjgyN.js.map +0 -1
  76. package/dist/esm/zanit-menubar.zanit-mobile-menubar.entry.js.map +0 -1
  77. package/dist/esm/zanit-menubar_2.entry.js.map +0 -1
  78. package/dist/zanichelli-it-frontend-kit/p-2ff77197.entry.js +0 -2
  79. package/dist/zanichelli-it-frontend-kit/p-2ff77197.entry.js.map +0 -1
  80. package/dist/zanichelli-it-frontend-kit/p-DQuL1Twl.js +0 -2
  81. package/dist/zanichelli-it-frontend-kit/p-DQuL1Twl.js.map +0 -1
  82. package/dist/zanichelli-it-frontend-kit/p-DywnjgyN.js +0 -3
  83. package/dist/zanichelli-it-frontend-kit/p-DywnjgyN.js.map +0 -1
  84. package/dist/zanichelli-it-frontend-kit/zanit-menubar.zanit-mobile-menubar.entry.esm.js.map +0 -1
  85. package/www/build/p-2ff77197.entry.js +0 -2
  86. package/www/build/p-2ff77197.entry.js.map +0 -1
  87. package/www/build/p-9ba51e3a.js +0 -2
  88. package/www/build/p-DQuL1Twl.js +0 -2
  89. package/www/build/p-DQuL1Twl.js.map +0 -1
  90. package/www/build/p-DywnjgyN.js +0 -3
  91. package/www/build/p-DywnjgyN.js.map +0 -1
  92. package/www/build/zanit-menubar.zanit-mobile-menubar.entry.esm.js.map +0 -1
@@ -1,4 +1,3 @@
1
- import { EventEmitter } from '../../stencil-public-runtime';
2
1
  import { MenubarItem } from '../../utils/types';
3
2
  /**
4
3
  * Main menubar component. Each item can have a menu with subitems
@@ -6,7 +5,6 @@ import { MenubarItem } from '../../utils/types';
6
5
  * @cssprop {--zanit-menubar-max-width} Maximum width of the menubar.
7
6
  */
8
7
  export declare class ZanitMenubar {
9
- private formElement;
10
8
  host: HTMLZanitMenubarElement;
11
9
  /** Menubar items extracted from `data`. */
12
10
  items: MenubarItem[];
@@ -14,32 +12,30 @@ export declare class ZanitMenubar {
14
12
  openMenu: string | undefined;
15
13
  /** ID of the item to show the subitems navbar for. */
16
14
  openNavbar: string | undefined;
17
- /** Indicates whether the searchbar is visible and usable. */
18
- showSearchbar: boolean;
19
- /** Search query to apply. */
20
- _searchQuery: string | undefined;
21
15
  isMobile: boolean;
22
16
  loading: boolean;
23
17
  /** The data to build the menu (as an array of `MenubarItem` or a JSON array) or the url to fetch to retrieve it. */
24
18
  data: Promise<MenubarItem[]> | MenubarItem[] | URL | string;
25
19
  /** ID of the current active item. */
26
20
  current: string | undefined;
21
+ /**
22
+ * Delay in milliseconds before closing the menu after a mouseout event.
23
+ * Useful to avoid immediate closing when the pointer briefly leaves the component.
24
+ */
25
+ mouseOutTimeout: number | undefined;
27
26
  /** Initial search query. */
28
27
  searchQuery: string | undefined;
28
+ private timerId;
29
29
  /** Setup the list of items. */
30
30
  parseData(data: typeof this.data): Promise<void>;
31
31
  onItemsChange(): void;
32
- /** Focus searchbar input when it becomes visible. */
33
- onShowSearchbar(): void;
34
- /** Emitted on search form submission. */
35
- search: EventEmitter<{
36
- query: string;
37
- }>;
38
32
  connectedCallback(): Promise<void>;
39
- /** Close open searchbar or any open menu when clicking outside. */
33
+ /** Close any open menu when clicking outside. */
40
34
  handleOutsideClick(event: MouseEvent): void;
41
35
  /** Close any open menu when pressing Escape or Tab. */
42
36
  handleKeydown(event: KeyboardEvent): void;
37
+ handleMouseover(): void;
38
+ handleMouseout(event: MouseEvent): void;
43
39
  /** Close the menu when it loses focus. */
44
40
  handleFocusout(event: FocusEvent): void;
45
41
  /** Fetch data from passed URL. */
@@ -64,7 +60,5 @@ export declare class ZanitMenubar {
64
60
  private getNextGroup;
65
61
  /** Handles keyboard navigation events from `Menu` component. */
66
62
  private handleMenuKeydown;
67
- private handleInputChange;
68
- private onSearchSubmit;
69
63
  render(): any;
70
64
  }
@@ -1,8 +1,6 @@
1
- import { EventEmitter } from '../../../stencil-public-runtime';
2
1
  import { MenubarItem, MenuItem } from '../../../utils/types';
3
2
  /** Mobile menubar component. */
4
3
  export declare class ZanitMobileMenubar {
5
- private formElement;
6
4
  host: HTMLZanitMobileMenubarElement;
7
5
  /** ID of the current active item. */
8
6
  current: string | undefined;
@@ -17,8 +15,6 @@ export declare class ZanitMobileMenubar {
17
15
  /** Whether the items to render come from a menubar or a menu. */
18
16
  menuType: 'menubar' | 'menu' | undefined;
19
17
  open: boolean;
20
- /** Search query to apply. */
21
- _searchQuery: string | undefined;
22
18
  onItemsChange(): void;
23
19
  /**
24
20
  * Find the current item and take its parent, `menuItems` or the `navbarItems`.
@@ -31,12 +27,6 @@ export declare class ZanitMobileMenubar {
31
27
  private toggleMenu;
32
28
  /** Handles keyboard navigation on mobile menu. */
33
29
  private handleItemKeydown;
34
- private handleInputChange;
35
- private onSearchSubmit;
36
- /** Emitted on search form submission. */
37
- search: EventEmitter<{
38
- query: string;
39
- }>;
40
30
  connectedCallback(): void;
41
31
  /** Close the menu when clicking outside. */
42
32
  handleOutsideClick(event: MouseEvent): void;
@@ -0,0 +1,27 @@
1
+ import { EventEmitter } from '../../../stencil-public-runtime';
2
+ export declare class ZanitSearchForm {
3
+ private formElement;
4
+ host: HTMLZanitSearchFormElement;
5
+ isMobile: boolean;
6
+ /** Indicates whether the searchbar is visible and usable. */
7
+ showSearchbar: boolean;
8
+ /** Search query to apply. */
9
+ _searchQuery: string | undefined;
10
+ /** Initial search query */
11
+ searchQuery: string | undefined;
12
+ onSearchQueryChange(): void;
13
+ /** Focus searchbar input when it becomes visible. */
14
+ onShowSearchbar(): void;
15
+ /** Emitted on search form submission. */
16
+ search: EventEmitter<{
17
+ query: string;
18
+ }>;
19
+ resetSearch: EventEmitter<void>;
20
+ connectedCallback(): Promise<void>;
21
+ /** Close open searchbar when clicking outside. */
22
+ handleOutsideClick(event: MouseEvent): void;
23
+ private resetSearchQuery;
24
+ private handleInputChange;
25
+ private onSearchSubmit;
26
+ render(): any;
27
+ }
@@ -16,14 +16,21 @@ export namespace Components {
16
16
  interface ZanitMenubar {
17
17
  /**
18
18
  * ID of the current active item.
19
+ * @default undefined
19
20
  */
20
21
  "current": string | undefined;
21
22
  /**
22
23
  * The data to build the menu (as an array of `MenubarItem` or a JSON array) or the url to fetch to retrieve it.
23
24
  */
24
25
  "data": Promise<MenubarItem[]> | MenubarItem[] | URL | string;
26
+ /**
27
+ * Delay in milliseconds before closing the menu after a mouseout event. Useful to avoid immediate closing when the pointer briefly leaves the component.
28
+ * @default 1000
29
+ */
30
+ "mouseOutTimeout": number | undefined;
25
31
  /**
26
32
  * Initial search query.
33
+ * @default undefined
27
34
  */
28
35
  "searchQuery": string | undefined;
29
36
  }
@@ -33,76 +40,80 @@ export namespace Components {
33
40
  interface ZanitMobileMenubar {
34
41
  /**
35
42
  * ID of the current active item.
43
+ * @default undefined
36
44
  */
37
45
  "current": string | undefined;
38
46
  /**
39
47
  * Menubar items.
48
+ * @default []
40
49
  */
41
50
  "items": MenubarItem[];
42
51
  /**
43
52
  * Whether the menubar is loading the data.
53
+ * @default false
44
54
  */
45
55
  "loading": boolean;
46
56
  /**
47
57
  * Initial search query.
58
+ * @default undefined
59
+ */
60
+ "searchQuery": string | undefined;
61
+ }
62
+ interface ZanitSearchForm {
63
+ /**
64
+ * Initial search query
65
+ * @default undefined
48
66
  */
49
67
  "searchQuery": string | undefined;
50
68
  }
51
69
  }
52
- export interface ZanitMenubarCustomEvent<T> extends CustomEvent<T> {
53
- detail: T;
54
- target: HTMLZanitMenubarElement;
55
- }
56
- export interface ZanitMobileMenubarCustomEvent<T> extends CustomEvent<T> {
70
+ export interface ZanitSearchFormCustomEvent<T> extends CustomEvent<T> {
57
71
  detail: T;
58
- target: HTMLZanitMobileMenubarElement;
72
+ target: HTMLZanitSearchFormElement;
59
73
  }
60
74
  declare global {
61
- interface HTMLZanitMenubarElementEventMap {
62
- "search": { query: string };
63
- }
64
75
  /**
65
76
  * Main menubar component. Each item can have a menu with subitems
66
77
  * When a main menubar item is the current active one, a sub-menubar is shown and each subitem can have a menu with subitems.
67
78
  * @cssprop {--zanit-menubar-max-width} Maximum width of the menubar.
68
79
  */
69
80
  interface HTMLZanitMenubarElement extends Components.ZanitMenubar, HTMLStencilElement {
70
- addEventListener<K extends keyof HTMLZanitMenubarElementEventMap>(type: K, listener: (this: HTMLZanitMenubarElement, ev: ZanitMenubarCustomEvent<HTMLZanitMenubarElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
71
- addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
72
- addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
73
- addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
74
- removeEventListener<K extends keyof HTMLZanitMenubarElementEventMap>(type: K, listener: (this: HTMLZanitMenubarElement, ev: ZanitMenubarCustomEvent<HTMLZanitMenubarElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
75
- removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
76
- removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
77
- removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
78
81
  }
79
82
  var HTMLZanitMenubarElement: {
80
83
  prototype: HTMLZanitMenubarElement;
81
84
  new (): HTMLZanitMenubarElement;
82
85
  };
83
- interface HTMLZanitMobileMenubarElementEventMap {
84
- "search": { query: string };
85
- }
86
86
  /**
87
87
  * Mobile menubar component.
88
88
  */
89
89
  interface HTMLZanitMobileMenubarElement extends Components.ZanitMobileMenubar, HTMLStencilElement {
90
- addEventListener<K extends keyof HTMLZanitMobileMenubarElementEventMap>(type: K, listener: (this: HTMLZanitMobileMenubarElement, ev: ZanitMobileMenubarCustomEvent<HTMLZanitMobileMenubarElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
90
+ }
91
+ var HTMLZanitMobileMenubarElement: {
92
+ prototype: HTMLZanitMobileMenubarElement;
93
+ new (): HTMLZanitMobileMenubarElement;
94
+ };
95
+ interface HTMLZanitSearchFormElementEventMap {
96
+ "search": { query: string };
97
+ "resetSearch": void;
98
+ }
99
+ interface HTMLZanitSearchFormElement extends Components.ZanitSearchForm, HTMLStencilElement {
100
+ addEventListener<K extends keyof HTMLZanitSearchFormElementEventMap>(type: K, listener: (this: HTMLZanitSearchFormElement, ev: ZanitSearchFormCustomEvent<HTMLZanitSearchFormElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
91
101
  addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
92
102
  addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
93
103
  addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
94
- removeEventListener<K extends keyof HTMLZanitMobileMenubarElementEventMap>(type: K, listener: (this: HTMLZanitMobileMenubarElement, ev: ZanitMobileMenubarCustomEvent<HTMLZanitMobileMenubarElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
104
+ removeEventListener<K extends keyof HTMLZanitSearchFormElementEventMap>(type: K, listener: (this: HTMLZanitSearchFormElement, ev: ZanitSearchFormCustomEvent<HTMLZanitSearchFormElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
95
105
  removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
96
106
  removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
97
107
  removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
98
108
  }
99
- var HTMLZanitMobileMenubarElement: {
100
- prototype: HTMLZanitMobileMenubarElement;
101
- new (): HTMLZanitMobileMenubarElement;
109
+ var HTMLZanitSearchFormElement: {
110
+ prototype: HTMLZanitSearchFormElement;
111
+ new (): HTMLZanitSearchFormElement;
102
112
  };
103
113
  interface HTMLElementTagNameMap {
104
114
  "zanit-menubar": HTMLZanitMenubarElement;
105
115
  "zanit-mobile-menubar": HTMLZanitMobileMenubarElement;
116
+ "zanit-search-form": HTMLZanitSearchFormElement;
106
117
  }
107
118
  }
108
119
  declare namespace LocalJSX {
@@ -114,6 +125,7 @@ declare namespace LocalJSX {
114
125
  interface ZanitMenubar {
115
126
  /**
116
127
  * ID of the current active item.
128
+ * @default undefined
117
129
  */
118
130
  "current"?: string | undefined;
119
131
  /**
@@ -121,11 +133,13 @@ declare namespace LocalJSX {
121
133
  */
122
134
  "data"?: Promise<MenubarItem[]> | MenubarItem[] | URL | string;
123
135
  /**
124
- * Emitted on search form submission.
136
+ * Delay in milliseconds before closing the menu after a mouseout event. Useful to avoid immediate closing when the pointer briefly leaves the component.
137
+ * @default 1000
125
138
  */
126
- "onSearch"?: (event: ZanitMenubarCustomEvent<{ query: string }>) => void;
139
+ "mouseOutTimeout"?: number | undefined;
127
140
  /**
128
141
  * Initial search query.
142
+ * @default undefined
129
143
  */
130
144
  "searchQuery"?: string | undefined;
131
145
  }
@@ -135,28 +149,41 @@ declare namespace LocalJSX {
135
149
  interface ZanitMobileMenubar {
136
150
  /**
137
151
  * ID of the current active item.
152
+ * @default undefined
138
153
  */
139
154
  "current"?: string | undefined;
140
155
  /**
141
156
  * Menubar items.
157
+ * @default []
142
158
  */
143
159
  "items"?: MenubarItem[];
144
160
  /**
145
161
  * Whether the menubar is loading the data.
162
+ * @default false
146
163
  */
147
164
  "loading"?: boolean;
165
+ /**
166
+ * Initial search query.
167
+ * @default undefined
168
+ */
169
+ "searchQuery"?: string | undefined;
170
+ }
171
+ interface ZanitSearchForm {
172
+ "onResetSearch"?: (event: ZanitSearchFormCustomEvent<void>) => void;
148
173
  /**
149
174
  * Emitted on search form submission.
150
175
  */
151
- "onSearch"?: (event: ZanitMobileMenubarCustomEvent<{ query: string }>) => void;
176
+ "onSearch"?: (event: ZanitSearchFormCustomEvent<{ query: string }>) => void;
152
177
  /**
153
- * Initial search query.
178
+ * Initial search query
179
+ * @default undefined
154
180
  */
155
181
  "searchQuery"?: string | undefined;
156
182
  }
157
183
  interface IntrinsicElements {
158
184
  "zanit-menubar": ZanitMenubar;
159
185
  "zanit-mobile-menubar": ZanitMobileMenubar;
186
+ "zanit-search-form": ZanitSearchForm;
160
187
  }
161
188
  }
162
189
  export { LocalJSX as JSX };
@@ -173,6 +200,7 @@ declare module "@stencil/core" {
173
200
  * Mobile menubar component.
174
201
  */
175
202
  "zanit-mobile-menubar": LocalJSX.ZanitMobileMenubar & JSXBase.HTMLAttributes<HTMLZanitMobileMenubarElement>;
203
+ "zanit-search-form": LocalJSX.ZanitSearchForm & JSXBase.HTMLAttributes<HTMLZanitSearchFormElement>;
176
204
  }
177
205
  }
178
206
  }
@@ -1601,7 +1601,7 @@ export declare namespace JSXBase {
1601
1601
  onKeyUp?: (event: KeyboardEvent) => void;
1602
1602
  onKeyUpCapture?: (event: KeyboardEvent) => void;
1603
1603
  onAuxClick?: (event: MouseEvent) => void;
1604
- onClick?: (event: MouseEvent) => void;
1604
+ onClick?: (event: PointerEvent) => void;
1605
1605
  onClickCapture?: (event: MouseEvent) => void;
1606
1606
  onContextMenu?: (event: MouseEvent) => void;
1607
1607
  onContextMenuCapture?: (event: MouseEvent) => void;
@@ -1 +1 @@
1
- {"version":3,"file":"loader.esm.js","sources":["@lazy-external-entrypoint?app-data=conditional"],"sourcesContent":["export { setNonce } from '@stencil/core';\nimport { bootstrapLazy } from '@stencil/core';\nimport { globalScripts } from '@stencil/core/internal/app-globals';\nexport const defineCustomElements = async (win, options) => {\n if (typeof window === 'undefined') return undefined;\n await globalScripts();\n return bootstrapLazy([/*!__STENCIL_LAZY_DATA__*/], options);\n};\n"],"names":[],"mappings":";;;;AAGY,MAAC,oBAAoB,GAAG,OAAO,GAAG,EAAE,OAAO,KAAK;AAC5D,EAAE,IAAI,OAAO,MAAM,KAAK,WAAW,EAAE,OAAO,SAAS;AACrD,EAAE,MAAM,aAAa,EAAE;AACvB,EAAE,OAAO,aAAa,CAAC,4BAA4B,EAAE,OAAO,CAAC;AAC7D;;;;"}
1
+ {"version":3,"file":"loader.esm.js","sources":["@lazy-external-entrypoint?app-data=conditional"],"sourcesContent":["export { setNonce } from '@stencil/core';\nimport { bootstrapLazy } from '@stencil/core';\nimport { globalScripts } from '@stencil/core/internal/app-globals';\nexport const defineCustomElements = async (win, options) => {\n if (typeof window === 'undefined') return undefined;\n await globalScripts();\n return bootstrapLazy([/*!__STENCIL_LAZY_DATA__*/], options);\n};\n"],"names":[],"mappings":";;;AAGY,MAAC,oBAAoB,GAAG,OAAO,GAAG,EAAE,OAAO,KAAK;AAC5D,EAAE,IAAI,OAAO,MAAM,KAAK,WAAW,EAAE,OAAO,SAAS;AACrD,EAAE,MAAM,aAAa,EAAE;AACvB,EAAE,OAAO,aAAa,CAAC,4BAA4B,EAAE,OAAO,CAAC;AAC7D;;;;"}
@@ -0,0 +1,3 @@
1
+ const e="zanichelli-it-frontend-kit";const t={hydratedSelectorName:"hydrated",lazyLoad:true,updatable:true};const i=()=>{};const l=":root{--font-md:500}.title-1,.title-2,.title-3,.title-4,.title-5,.title-6,.title-1-rg,.title-2-rg,.title-3-rg,.title-4-rg,.title-5-rg,.title-6-rg,.title-1-lt,.title-2-lt,.title-3-lt,.title-4-lt,.title-5-lt,.title-6-lt,.title-1-sb,.title-2-sb,.title-3-sb,.title-4-sb,.title-5-sb,.title-6-sb,.title-1-bd,.title-2-bd,.title-3-bd,.title-4-bd,.title-5-bd,.title-6-bd,.title-1-md,.title-2-md,.title-3-md,.title-4-md,.title-5-md,.title-6-md{font-family:var(--font-family-serif);font-weight:var(--font-rg)}.title-1-lt,.title-2-lt,.title-3-lt,.title-4-lt,.title-5-lt,.title-6-lt,.heading-1-lt,.heading-2-lt,.heading-3-lt,.heading-4-lt,.body-1-lt,.body-2-lt,.body-3-lt,.body-4-lt,.body-5-lt,.body-6-lt,.body-7-lt,.interactive-1-lt,.interactive-2-lt{font-weight:var(--font-lt)}.title-1-md,.title-2-md,.title-3-md,.title-4-md,.title-5-md,.title-6-md,.heading-1-md,.heading-2-md,.heading-3-md,.heading-4-md,.body-1-md,.body-2-md,.body-3-md,.body-4-md,.body-5-md,.body-6-md,.body-7-md,.interactive-1-md,.interactive-2-md{font-weight:var(--font-md)}.title-1-rg,.title-2-rg,.title-3-rg,.title-4-rg,.title-5-rg,.title-6-rg,.heading-1-rg,.heading-2-rg,.heading-3-rg,.heading-4-rg,.body-1-rg,.body-2-rg,.body-3-rg,.body-4-rg,.body-5-rg,.body-6-rg,.body-7-rg,.interactive-1-rg,.interactive-2-rg{font-weight:var(--font-rg)}.title-1-sb,.title-2-sb,.title-3-sb,.title-4-sb,.title-5-sb,.title-6-sb,.heading-1-sb,.heading-2-sb,.heading-3-sb,.heading-4-sb,.body-2-sb,.body-3-sb,.body-4-sb,.body-5-sb,.body-6-sb,.body-7-sb,.interactive-1-sb,.interactive-2-sb{font-weight:var(--font-sb)}.title-1-bd,.title-2-bd,.title-3-bd,.title-4-bd,.title-5-bd,.title-6-bd,.heading-1-bd,.heading-2-bd,.heading-3-bd,.heading-4-bd,.body-1-bd,.body-2-bd,.body-3-bd,.body-4-bd,.body-5-bd,.body-6-bd,.body-7-bd,.interactive-1-bd,.interactive-2-bd{font-weight:var(--font-bd)}.font-lt{font-weight:var(--font-lt)}.font-rg{font-weight:var(--font-rg)}.font-md{font-weight:var(--font-md)}.font-sb{font-weight:var(--font-sb)}.font-bd{font-weight:var(--font-bd)}.font-it{font-style:italic}.font-serif{font-family:var(--font-family-serif)}.font-sans{font-family:var(--font-family-sans)}.title-1,.title-1-sb,.title-1-bd,.title-1-rg,.title-1-lt,.title-1-md{font-size:4.5rem;line-height:5rem;}.title-2,.title-2-sb,.title-2-bd,.title-2-rg,.title-2-lt,.title-2-md{font-size:3rem;line-height:3.25rem;}.title-3,.title-3-sb,.title-3-bd,.title-3-rg,.title-3-lt,.title-3-md{font-size:2rem;line-height:2.75rem;}.title-4,.title-4-sb,.title-4-bd,.title-4-rg,.title-4-lt,.title-4-md{font-size:1.75rem;line-height:2rem;}.title-5,.title-5-sb,.title-5-bd,.title-5-rg,.title-5-lt,.title-5-md{font-size:1.5rem;line-height:1.75rem;}.title-6,.title-6-sb,.title-6-bd,.title-6-rg,.title-6-lt,.title-6-md{font-size:1.25rem;line-height:1.75rem;}.heading-1,.heading-1-sb,.heading-1-bd,.heading-1-rg,.heading-1-lt,.heading-1-md{font-size:2rem;line-height:2.75rem;}.heading-2,.heading-2-sb,.heading-2-bd,.heading-2-rg,.heading-2-lt,.heading-2-md{font-size:1.75rem;line-height:2rem;}.heading-3,.heading-3-sb,.heading-3-bd,.heading-3-rg,.heading-3-lt,.heading-3-md{font-size:1.5rem;line-height:1.75rem;}.heading-4,.heading-4-sb,.heading-4-bd,.heading-4-rg,.heading-4-lt,.heading-4-md{font-size:1.125rem;line-height:1.375rem;}.body-1,.body-1-sb,.body-1-bd,.body-1-rg,.body-1-lt,.body-1-md{font-size:1.5rem;line-height:2rem;}.body-2,.body-2-sb,.body-2-bd,.body-2-rg,.body-2-lt,.body-2-md{font-size:1.25rem;line-height:1.75rem;}.body-3,.body-3-sb,.body-3-bd,.body-3-rg,.body-3-lt,.body-3-md{font-size:1.125rem;line-height:1.5rem;}.body-4,.body-4-sb,.body-4-bd,.body-4-rg,.body-4-lt,.body-4-md{font-size:1rem;line-height:1.5rem;}.body-5,.body-5-sb,.body-5-bd,.body-5-rg,.body-5-lt,.body-5-md{font-size:0.875rem;line-height:1.125rem;}.body-6,.body-6-sb,.body-6-bd,.body-6-rg,.body-6-lt,.body-6-md{font-size:0.75rem;line-height:1rem;}.body-7,.body-7-sb,.body-7-bd,.body-7-rg,.body-7-lt,.body-7-md{font-size:0.625rem;line-height:0.875rem;}.interactive-1,.interactive-1-sb,.interactive-1-bd,.interactive-1-rg,.interactive-1-lt,.interactive-1-md{font-size:1rem;line-height:1.5rem;}.interactive-2,.interactive-2-sb,.interactive-2-bd,.interactive-2-rg,.interactive-2-lt,.interactive-2-md{font-size:0.875rem;line-height:1.125rem;}@media (width < 768px){.mobile-title-1,.mobile-title-1-sb,.mobile-title-1-bd,.mobile-title-1-rg,.mobile-title-1-lt,.mobile-title-1-md{font-size:4.5rem;line-height:5rem;}.mobile-title-2,.mobile-title-2-sb,.mobile-title-2-bd,.mobile-title-2-rg,.mobile-title-2-lt,.mobile-title-2-md{font-size:3rem;line-height:3.25rem;}.mobile-title-3,.mobile-title-3-sb,.mobile-title-3-bd,.mobile-title-3-rg,.mobile-title-3-lt,.mobile-title-3-md{font-size:2rem;line-height:2.75rem;}.mobile-title-4,.mobile-title-4-sb,.mobile-title-4-bd,.mobile-title-4-rg,.mobile-title-4-lt,.mobile-title-4-md{font-size:1.75rem;line-height:2rem;}.mobile-title-5,.mobile-title-5-sb,.mobile-title-5-bd,.mobile-title-5-rg,.mobile-title-5-lt,.mobile-title-5-md{font-size:1.5rem;line-height:1.75rem;}.mobile-title-6,.mobile-title-6-sb,.mobile-title-6-bd,.mobile-title-6-rg,.mobile-title-6-lt,.mobile-title-6-md{font-size:1.25rem;line-height:1.75rem;}.mobile-heading-1,.mobile-heading-1-sb,.mobile-heading-1-bd,.mobile-heading-1-rg,.mobile-heading-1-lt,.mobile-heading-1-md{font-size:2rem;line-height:2.75rem;}.mobile-heading-2,.mobile-heading-2-sb,.mobile-heading-2-bd,.mobile-heading-2-rg,.mobile-heading-2-lt,.mobile-heading-2-md{font-size:1.75rem;line-height:2rem;}.mobile-heading-3,.mobile-heading-3-sb,.mobile-heading-3-bd,.mobile-heading-3-rg,.mobile-heading-3-lt,.mobile-heading-3-md{font-size:1.5rem;line-height:1.75rem;}.mobile-heading-4,.mobile-heading-4-sb,.mobile-heading-4-bd,.mobile-heading-4-rg,.mobile-heading-4-lt,.mobile-heading-4-md{font-size:1.125rem;line-height:1.375rem;}.mobile-body-1,.mobile-body-1-sb,.mobile-body-1-bd,.mobile-body-1-rg,.mobile-body-1-lt,.mobile-body-1-md{font-size:1.5rem;line-height:2rem;}.mobile-body-2,.mobile-body-2-sb,.mobile-body-2-bd,.mobile-body-2-rg,.mobile-body-2-lt,.mobile-body-2-md{font-size:1.25rem;line-height:1.75rem;}.mobile-body-3,.mobile-body-3-sb,.mobile-body-3-bd,.mobile-body-3-rg,.mobile-body-3-lt,.mobile-body-3-md{font-size:1.125rem;line-height:1.5rem;}.mobile-body-4,.mobile-body-4-sb,.mobile-body-4-bd,.mobile-body-4-rg,.mobile-body-4-lt,.mobile-body-4-md{font-size:1rem;line-height:1.5rem;}.mobile-body-5,.mobile-body-5-sb,.mobile-body-5-bd,.mobile-body-5-rg,.mobile-body-5-lt,.mobile-body-5-md{font-size:0.875rem;line-height:1.125rem;}.mobile-body-6,.mobile-body-6-sb,.mobile-body-6-bd,.mobile-body-6-rg,.mobile-body-6-lt,.mobile-body-6-md{font-size:0.75rem;line-height:1rem;}.mobile-body-7,.mobile-body-7-sb,.mobile-body-7-bd,.mobile-body-7-rg,.mobile-body-7-lt,.mobile-body-7-md{font-size:0.625rem;line-height:0.875rem;}.mobile-interactive-1,.mobile-interactive-1-sb,.mobile-interactive-1-bd,.mobile-interactive-1-rg,.mobile-interactive-1-lt,.mobile-interactive-1-md{font-size:1rem;line-height:1.5rem;}.mobile-interactive-2,.mobile-interactive-2-sb,.mobile-interactive-2-bd,.mobile-interactive-2-rg,.mobile-interactive-2-lt,.mobile-interactive-2-md{font-size:0.875rem;line-height:1.125rem;}}@media (width >= 768px) and (width < 1152px){.tablet-title-1,.tablet-title-1-sb,.tablet-title-1-bd,.tablet-title-1-rg,.tablet-title-1-lt,.tablet-title-1-md{font-size:4.5rem;line-height:5rem;}.tablet-title-2,.tablet-title-2-sb,.tablet-title-2-bd,.tablet-title-2-rg,.tablet-title-2-lt,.tablet-title-2-md{font-size:3rem;line-height:3.25rem;}.tablet-title-3,.tablet-title-3-sb,.tablet-title-3-bd,.tablet-title-3-rg,.tablet-title-3-lt,.tablet-title-3-md{font-size:2rem;line-height:2.75rem;}.tablet-title-4,.tablet-title-4-sb,.tablet-title-4-bd,.tablet-title-4-rg,.tablet-title-4-lt,.tablet-title-4-md{font-size:1.75rem;line-height:2rem;}.tablet-title-5,.tablet-title-5-sb,.tablet-title-5-bd,.tablet-title-5-rg,.tablet-title-5-lt,.tablet-title-5-md{font-size:1.5rem;line-height:1.75rem;}.tablet-title-6,.tablet-title-6-sb,.tablet-title-6-bd,.tablet-title-6-rg,.tablet-title-6-lt,.tablet-title-6-md{font-size:1.25rem;line-height:1.75rem;}.tablet-heading-1,.tablet-heading-1-sb,.tablet-heading-1-bd,.tablet-heading-1-rg,.tablet-heading-1-lt,.tablet-heading-1-md{font-size:2rem;line-height:2.75rem;}.tablet-heading-2,.tablet-heading-2-sb,.tablet-heading-2-bd,.tablet-heading-2-rg,.tablet-heading-2-lt,.tablet-heading-2-md{font-size:1.75rem;line-height:2rem;}.tablet-heading-3,.tablet-heading-3-sb,.tablet-heading-3-bd,.tablet-heading-3-rg,.tablet-heading-3-lt,.tablet-heading-3-md{font-size:1.5rem;line-height:1.75rem;}.tablet-heading-4,.tablet-heading-4-sb,.tablet-heading-4-bd,.tablet-heading-4-rg,.tablet-heading-4-lt,.tablet-heading-4-md{font-size:1.125rem;line-height:1.375rem;}.tablet-body-1,.tablet-body-1-sb,.tablet-body-1-bd,.tablet-body-1-rg,.tablet-body-1-lt,.tablet-body-1-md{font-size:1.5rem;line-height:2rem;}.tablet-body-2,.tablet-body-2-sb,.tablet-body-2-bd,.tablet-body-2-rg,.tablet-body-2-lt,.tablet-body-2-md{font-size:1.25rem;line-height:1.75rem;}.tablet-body-3,.tablet-body-3-sb,.tablet-body-3-bd,.tablet-body-3-rg,.tablet-body-3-lt,.tablet-body-3-md{font-size:1.125rem;line-height:1.5rem;}.tablet-body-4,.tablet-body-4-sb,.tablet-body-4-bd,.tablet-body-4-rg,.tablet-body-4-lt,.tablet-body-4-md{font-size:1rem;line-height:1.5rem;}.tablet-body-5,.tablet-body-5-sb,.tablet-body-5-bd,.tablet-body-5-rg,.tablet-body-5-lt,.tablet-body-5-md{font-size:0.875rem;line-height:1.125rem;}.tablet-body-6,.tablet-body-6-sb,.tablet-body-6-bd,.tablet-body-6-rg,.tablet-body-6-lt,.tablet-body-6-md{font-size:0.75rem;line-height:1rem;}.tablet-body-7,.tablet-body-7-sb,.tablet-body-7-bd,.tablet-body-7-rg,.tablet-body-7-lt,.tablet-body-7-md{font-size:0.625rem;line-height:0.875rem;}.tablet-interactive-1,.tablet-interactive-1-sb,.tablet-interactive-1-bd,.tablet-interactive-1-rg,.tablet-interactive-1-lt,.tablet-interactive-1-md{font-size:1rem;line-height:1.5rem;}.tablet-interactive-2,.tablet-interactive-2-sb,.tablet-interactive-2-bd,.tablet-interactive-2-rg,.tablet-interactive-2-lt,.tablet-interactive-2-md{font-size:0.875rem;line-height:1.125rem;}}@media (width >= 1152px){.desktop-title-1,.desktop-title-1-sb,.desktop-title-1-bd,.desktop-title-1-rg,.desktop-title-1-lt,.desktop-title-1-md{font-size:4.5rem;line-height:5rem;}.desktop-title-2,.desktop-title-2-sb,.desktop-title-2-bd,.desktop-title-2-rg,.desktop-title-2-lt,.desktop-title-2-md{font-size:3rem;line-height:3.25rem;}.desktop-title-3,.desktop-title-3-sb,.desktop-title-3-bd,.desktop-title-3-rg,.desktop-title-3-lt,.desktop-title-3-md{font-size:2rem;line-height:2.75rem;}.desktop-title-4,.desktop-title-4-sb,.desktop-title-4-bd,.desktop-title-4-rg,.desktop-title-4-lt,.desktop-title-4-md{font-size:1.75rem;line-height:2rem;}.desktop-title-5,.desktop-title-5-sb,.desktop-title-5-bd,.desktop-title-5-rg,.desktop-title-5-lt,.desktop-title-5-md{font-size:1.5rem;line-height:1.75rem;}.desktop-title-6,.desktop-title-6-sb,.desktop-title-6-bd,.desktop-title-6-rg,.desktop-title-6-lt,.desktop-title-6-md{font-size:1.25rem;line-height:1.75rem;}.desktop-heading-1,.desktop-heading-1-sb,.desktop-heading-1-bd,.desktop-heading-1-rg,.desktop-heading-1-lt,.desktop-heading-1-md{font-size:2rem;line-height:2.75rem;}.desktop-heading-2,.desktop-heading-2-sb,.desktop-heading-2-bd,.desktop-heading-2-rg,.desktop-heading-2-lt,.desktop-heading-2-md{font-size:1.75rem;line-height:2rem;}.desktop-heading-3,.desktop-heading-3-sb,.desktop-heading-3-bd,.desktop-heading-3-rg,.desktop-heading-3-lt,.desktop-heading-3-md{font-size:1.5rem;line-height:1.75rem;}.desktop-heading-4,.desktop-heading-4-sb,.desktop-heading-4-bd,.desktop-heading-4-rg,.desktop-heading-4-lt,.desktop-heading-4-md{font-size:1.125rem;line-height:1.375rem;}.desktop-body-1,.desktop-body-1-sb,.desktop-body-1-bd,.desktop-body-1-rg,.desktop-body-1-lt,.desktop-body-1-md{font-size:1.5rem;line-height:2rem;}.desktop-body-2,.desktop-body-2-sb,.desktop-body-2-bd,.desktop-body-2-rg,.desktop-body-2-lt,.desktop-body-2-md{font-size:1.25rem;line-height:1.75rem;}.desktop-body-3,.desktop-body-3-sb,.desktop-body-3-bd,.desktop-body-3-rg,.desktop-body-3-lt,.desktop-body-3-md{font-size:1.125rem;line-height:1.5rem;}.desktop-body-4,.desktop-body-4-sb,.desktop-body-4-bd,.desktop-body-4-rg,.desktop-body-4-lt,.desktop-body-4-md{font-size:1rem;line-height:1.5rem;}.desktop-body-5,.desktop-body-5-sb,.desktop-body-5-bd,.desktop-body-5-rg,.desktop-body-5-lt,.desktop-body-5-md{font-size:0.875rem;line-height:1.125rem;}.desktop-body-6,.desktop-body-6-sb,.desktop-body-6-bd,.desktop-body-6-rg,.desktop-body-6-lt,.desktop-body-6-md{font-size:0.75rem;line-height:1rem;}.desktop-body-7,.desktop-body-7-sb,.desktop-body-7-bd,.desktop-body-7-rg,.desktop-body-7-lt,.desktop-body-7-md{font-size:0.625rem;line-height:0.875rem;}.desktop-interactive-1,.desktop-interactive-1-sb,.desktop-interactive-1-bd,.desktop-interactive-1-rg,.desktop-interactive-1-lt,.desktop-interactive-1-md{font-size:1rem;line-height:1.5rem;}.desktop-interactive-2,.desktop-interactive-2-sb,.desktop-interactive-2-bd,.desktop-interactive-2-rg,.desktop-interactive-2-lt,.desktop-interactive-2-md{font-size:0.875rem;line-height:1.125rem;}}z-button.zanit-button{--color-primary01:var(--red500);--color-hover-primary:var(--red800);--color-pressed-primary:var(--red400);--color-button-secondary:transparent;--color-primary02:transparent;--color-primary03:transparent}z-button.zanit-button-dark{--color-primary01:var(--gray950);--color-hover-primary:#000;--color-pressed-primary:var(--gray950);--color-button-secondary:transparent;--color-primary02:transparent;--color-primary03:transparent}:root{--zanit-accent-color:#ffe74c;--shadow-focus-primary:0 0 0 2px #fff, 0 0 2px 5px var(--gray950)}.zanit-link,.zanit-link-inverse{color:currentcolor;font-family:inherit;text-decoration:underline solid 12% var(--red500);text-underline-offset:28%}.zanit-link-inverse{color:var(--color-text-inverse);text-decoration-color:var(--color-text-inverse)}";var o=Object.defineProperty;var n=(e,t)=>{for(var i in t)o(e,i,{get:t[i],enumerable:true})};var r=(e,t)=>{var i;const l=t.t;const o=Object.entries((i=l.i)!=null?i:{});o.map((([i,[l]])=>{if(l&31||l&32){const l=e[i];const o=Object.getOwnPropertyDescriptor(Object.getPrototypeOf(e),i);Object.defineProperty(e,i,{get(){return o.get.call(this)},set(e){o.set.call(this,e)},configurable:true,enumerable:true});e[i]=t.l.has(i)?t.l.get(i):l}}))};var d=e=>{if(e.__stencil__getHostRef){return e.__stencil__getHostRef()}return void 0};var s=(e,t)=>{e.__stencil__getHostRef=()=>t;t.o=e;{r(e,t)}};var b=(e,t)=>{const i={m:0,$hostElement$:e,t,l:new Map};{i.h=new Promise((e=>i.v=e));e["s-p"]=[];e["s-rc"]=[]}const l=i;e.__stencil__getHostRef=()=>l;return l};var a=(e,t)=>t in e;var m=(e,t)=>(0,console.error)(e,t);var f=new Map;var h=(e,t,i)=>{const l=e.p.replace(/-/g,"_");const o=e.u;if(!o){return void 0}const n=f.get(o);if(n){return n[l]}
2
+ /*!__STENCIL_STATIC_IMPORT_SWITCH__*/return import(`./${o}.entry.js${""}`).then((e=>{{f.set(o,e)}return e[l]}),(e=>{m(e,t.$hostElement$)}))};var c=new Map;var g="sty-id";var y="{visibility:hidden}.hydrated{visibility:inherit}";var v="slot-fb{display:contents}slot-fb[hidden]{display:none}";var p=typeof window!=="undefined"?window:{};var u={m:0,k:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,i,l)=>e.addEventListener(t,i,l),rel:(e,t,i,l)=>e.removeEventListener(t,i,l),ce:(e,t)=>new CustomEvent(e,t)};var k=(()=>{var e;let t=false;try{(e=p.document)==null?void 0:e.addEventListener("e",null,Object.defineProperty({},"passive",{get(){t=true}}))}catch(e){}return t})();var z=e=>Promise.resolve(e);var w=(()=>{try{new CSSStyleSheet;return typeof(new CSSStyleSheet).replaceSync==="function"}catch(e){}return false})();var $=false;var S=[];var j=[];var x=(e,t)=>i=>{e.push(i);if(!$){$=true;if(t&&u.m&4){C(E)}else{u.raf(E)}}};var O=e=>{for(let t=0;t<e.length;t++){try{e[t](performance.now())}catch(e){m(e)}}e.length=0};var E=()=>{O(S);{O(j);if($=S.length>0){u.raf(E)}}};var C=e=>z().then(e);var M=x(j,true);var N=e=>{e=typeof e;return e==="object"||e==="function"};function P(e){var t,i,l;return(l=(i=(t=e.head)==null?void 0:t.querySelector('meta[name="csp-nonce"]'))==null?void 0:i.getAttribute("content"))!=null?l:void 0}var U=e=>e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");var R={};n(R,{err:()=>W,map:()=>A,ok:()=>D,unwrap:()=>L,unwrapErr:()=>F});var D=e=>({isOk:true,isErr:false,value:e});var W=e=>({isOk:false,isErr:true,value:e});function A(e,t){if(e.isOk){const i=t(e.value);if(i instanceof Promise){return i.then((e=>D(e)))}else{return D(i)}}if(e.isErr){const t=e.value;return W(t)}throw"should never get here"}var L=e=>{if(e.isOk){return e.value}else{throw e.value}};var F=e=>{if(e.isErr){return e.value}else{throw e.value}};function T(e){const t=this.attachShadow({mode:"open"});if(w){const e=new CSSStyleSheet;e.replaceSync(l);t.adoptedStyleSheets.push(e)}}var H=(e,t="")=>{{return()=>{}}};var I=(e,t)=>{{return()=>{}}};var V=(e,t,...i)=>{let l=null;let o=null;let n=false;let r=false;const d=[];const s=t=>{for(let i=0;i<t.length;i++){l=t[i];if(Array.isArray(l)){s(l)}else if(l!=null&&typeof l!=="boolean"){if(n=typeof e!=="function"&&!N(l)){l=String(l)}if(n&&r){d[d.length-1].$+=l}else{d.push(n?q(null,l):l)}r=n}}};s(i);if(t){if(t.key){o=t.key}{const e=t.className||t.class;if(e){t.class=typeof e!=="object"?e:Object.keys(e).filter((t=>e[t])).join(" ")}}}if(typeof e==="function"){return e(t===null?{}:t,d,_)}const b=q(e,null);b.S=t;if(d.length>0){b.j=d}{b.O=o}return b};var q=(e,t)=>{const i={m:0,C:e,$:t,M:null,j:null};{i.S=null}{i.O=null}return i};var G={};var Y=e=>e&&e.C===G;var _={forEach:(e,t)=>e.map(B).forEach(t),map:(e,t)=>e.map(B).map(t).map(J)};var B=e=>({vattrs:e.S,vchildren:e.j,vkey:e.O,vname:e.N,vtag:e.C,vtext:e.$});var J=e=>{if(typeof e.vtag==="function"){const t={...e.vattrs};if(e.vkey){t.key=e.vkey}if(e.vname){t.name=e.vname}return V(e.vtag,t,...e.vchildren||[])}const t=q(e.vtag,e.vtext);t.S=e.vattrs;t.j=e.vchildren;t.O=e.vkey;t.N=e.vname;return t};var K=e=>{const t=U(e);return new RegExp(`(^|[^@]|@(?!supports\\s+selector\\s*\\([^{]*?${t}))(${t}\\b)`,"g")};K("::slotted");K(":host");K(":host-context");var Q=(e,t)=>{if(e!=null&&!N(e)){if(t&4){return e==="false"?false:e===""||!!e}if(t&2){return typeof e==="string"?parseFloat(e):typeof e==="number"?e:NaN}if(t&1){return String(e)}return e}return e};var X=e=>d(e).$hostElement$;var Z=(e,t,i)=>{const l=X(e);return{emit:e=>ee(l,t,{bubbles:true,composed:true,cancelable:true,detail:e})}};var ee=(e,t,i)=>{const l=u.ce(t,i);e.dispatchEvent(l);return l};var te=new WeakMap;var ie=(e,t,i)=>{let l=c.get(e);if(w&&i){l=l||new CSSStyleSheet;if(typeof l==="string"){l=t}else{l.replaceSync(t)}}else{l=t}c.set(e,l)};var le=(e,t,i)=>{var l;const o=ne(t);const n=c.get(o);if(!p.document){return o}e=e.nodeType===11?e:p.document;if(n){if(typeof n==="string"){e=e.head||e;let i=te.get(e);let r;if(!i){te.set(e,i=new Set)}if(!i.has(o)){{r=document.querySelector(`[${g}="${o}"]`)||p.document.createElement("style");r.innerHTML=n;const i=(l=u.P)!=null?l:P(p.document);if(i!=null){r.setAttribute("nonce",i)}if(!(t.m&1)){if(e.nodeName==="HEAD"){const t=e.querySelectorAll("link[rel=preconnect]");const i=t.length>0?t[t.length-1].nextSibling:e.querySelector("style");e.insertBefore(r,(i==null?void 0:i.parentNode)===e?i:null)}else if("host"in e){if(w){const t=new CSSStyleSheet;t.replaceSync(n);e.adoptedStyleSheets=[t,...e.adoptedStyleSheets]}else{const t=e.querySelector("style");if(t){t.innerHTML=n+t.innerHTML}else{e.prepend(r)}}}else{e.append(r)}}if(t.m&1){e.insertBefore(r,null)}}if(t.m&4){r.innerHTML+=v}if(i){i.add(o)}}}else if(!e.adoptedStyleSheets.includes(n)){e.adoptedStyleSheets=[...e.adoptedStyleSheets,n]}}return o};var oe=e=>{const t=e.t;const i=e.$hostElement$;const l=t.m;const o=H("attachStyles",t.p);const n=le(i.shadowRoot?i.shadowRoot:i.getRootNode(),t);if(l&10){i["s-sc"]=n;i.classList.add(n+"-h")}o()};var ne=(e,t)=>"sc-"+e.p;var re=(e,t,i,l,o,n,r)=>{if(i===l){return}let d=a(e,t);let s=t.toLowerCase();if(t==="class"){const t=e.classList;const o=se(i);let n=se(l);{t.remove(...o.filter((e=>e&&!n.includes(e))));t.add(...n.filter((e=>e&&!o.includes(e))))}}else if(t==="key");else if(t==="ref"){if(l){l(e)}}else if(!d&&t[0]==="o"&&t[1]==="n"){if(t[2]==="-"){t=t.slice(3)}else if(a(p,s)){t=s.slice(2)}else{t=s[2]+t.slice(3)}if(i||l){const o=t.endsWith(be);t=t.replace(ae,"");if(i){u.rel(e,t,i,o)}if(l){u.ael(e,t,l,o)}}}else{const r=N(l);if((d||r&&l!==null)&&true){try{if(!e.tagName.includes("-")){const o=l==null?"":l;if(t==="list"){d=false}else if(i==null||e[t]!=o){if(typeof e.__lookupSetter__(t)==="function"){e[t]=o}else{e.setAttribute(t,o)}}}else if(e[t]!==l){e[t]=l}}catch(e){}}if(l==null||l===false){if(l!==false||e.getAttribute(t)===""){{e.removeAttribute(t)}}}else if((!d||n&4||o)&&!r&&e.nodeType===1){l=l===true?"":l;{e.setAttribute(t,l)}}}};var de=/\s/;var se=e=>{if(typeof e==="object"&&e&&"baseVal"in e){e=e.baseVal}if(!e||typeof e!=="string"){return[]}return e.split(de)};var be="Capture";var ae=new RegExp(be+"$");var me=(e,t,i,l)=>{const o=t.M.nodeType===11&&t.M.host?t.M.host:t.M;const n=e&&e.S||{};const r=t.S||{};{for(const e of fe(Object.keys(n))){if(!(e in r)){re(o,e,n[e],void 0,i,t.m)}}}for(const e of fe(Object.keys(r))){re(o,e,n[e],r[e],i,t.m)}};function fe(e){return e.includes("ref")?[...e.filter((e=>e!=="ref")),"ref"]:e}var he;var ce=false;var ge=(e,t,i)=>{const l=t.j[i];let o=0;let n;let r;if(l.$!==null){n=l.M=p.document.createTextNode(l.$)}else{if(!p.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.")}n=l.M=p.document.createElement(l.C);{me(null,l,ce)}if(l.j){for(o=0;o<l.j.length;++o){r=ge(e,l,o);if(r){n.appendChild(r)}}}}n["s-hn"]=he;return n};var ye=(e,t,i,l,o,n)=>{let r=e;let d;if(r.shadowRoot&&r.tagName===he){r=r.shadowRoot}for(;o<=n;++o){if(l[o]){d=ge(null,i,o);if(d){l[o].M=d;we(r,d,t)}}}};var ve=(e,t,i)=>{for(let l=t;l<=i;++l){const t=e[l];if(t){const e=t.M;ze(t);if(e){e.remove()}}}};var pe=(e,t,i,l,o=false)=>{let n=0;let r=0;let d=0;let s=0;let b=t.length-1;let a=t[0];let m=t[b];let f=l.length-1;let h=l[0];let c=l[f];let g;let y;while(n<=b&&r<=f){if(a==null){a=t[++n]}else if(m==null){m=t[--b]}else if(h==null){h=l[++r]}else if(c==null){c=l[--f]}else if(ue(a,h,o)){ke(a,h,o);a=t[++n];h=l[++r]}else if(ue(m,c,o)){ke(m,c,o);m=t[--b];c=l[--f]}else if(ue(a,c,o)){ke(a,c,o);we(e,a.M,m.M.nextSibling);a=t[++n];c=l[--f]}else if(ue(m,h,o)){ke(m,h,o);we(e,m.M,a.M);m=t[--b];h=l[++r]}else{d=-1;{for(s=n;s<=b;++s){if(t[s]&&t[s].O!==null&&t[s].O===h.O){d=s;break}}}if(d>=0){y=t[d];if(y.C!==h.C){g=ge(t&&t[r],i,d)}else{ke(y,h,o);t[d]=void 0;g=y.M}h=l[++r]}else{g=ge(t&&t[r],i,r);h=l[++r]}if(g){{we(a.M.parentNode,g,a.M)}}}}if(n>b){ye(e,l[f+1]==null?null:l[f+1].M,i,l,r,f)}else if(r>f){ve(t,n,b)}};var ue=(e,t,i=false)=>{if(e.C===t.C){if(!i){return e.O===t.O}if(i&&!e.O&&t.O){e.O=t.O}return true}return false};var ke=(e,i,l=false)=>{const o=i.M=e.M;const n=e.j;const r=i.j;const d=i.$;if(d===null){{me(e,i,ce)}if(n!==null&&r!==null){pe(o,n,i,r,l)}else if(r!==null){if(e.$!==null){o.textContent=""}ye(o,null,i,r,0,r.length-1)}else if(!l&&t.updatable&&n!==null){ve(n,0,n.length-1)}}else if(e.$!==d){o.data=d}};var ze=e=>{{e.S&&e.S.ref&&e.S.ref(null);e.j&&e.j.map(ze)}};var we=(e,t,i)=>{{return e==null?void 0:e.insertBefore(t,i)}};var $e=(e,t,i=false)=>{const l=e.$hostElement$;const o=e.U||q(null,null);const n=Y(t);const r=n?t:V(null,null,t);he=l.tagName;if(i&&r.S){for(const e of Object.keys(r.S)){if(l.hasAttribute(e)&&!["key","ref","style","class"].includes(e)){r.S[e]=l[e]}}}r.C=null;r.m|=4;e.U=r;r.M=o.M=l.shadowRoot||l;ke(o,r,i)};var Se=(e,t)=>{if(t&&!e.R&&t["s-p"]){const i=t["s-p"].push(new Promise((l=>e.R=()=>{t["s-p"].splice(i-1,1);l()})))}};var je=(e,t)=>{{e.m|=16}if(e.m&4){e.m|=512;return}Se(e,e.D);const i=()=>xe(e,t);return M(i)};var xe=(e,t)=>{const i=e.$hostElement$;const l=H("scheduleUpdate",e.t.p);const o=e.o;if(!o){throw new Error(`Can't render component <${i.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`)}let n;if(t){{e.m|=256;if(e.W){e.W.map((([e,t])=>Ue(o,e,t,i)));e.W=void 0}}n=Ue(o,"componentWillLoad",void 0,i)}else{n=Ue(o,"componentWillUpdate",void 0,i)}n=Oe(n,(()=>Ue(o,"componentWillRender",void 0,i)));l();return Oe(n,(()=>Ce(e,o,t)))};var Oe=(e,t)=>Ee(e)?e.then(t).catch((e=>{console.error(e);t()})):t();var Ee=e=>e instanceof Promise||e&&e.then&&typeof e.then==="function";var Ce=async(e,t,i)=>{var l;const o=e.$hostElement$;const n=H("update",e.t.p);const r=o["s-rc"];if(i){oe(e)}const d=H("render",e.t.p);{Me(e,t,o,i)}if(r){r.map((e=>e()));o["s-rc"]=void 0}d();n();{const t=(l=o["s-p"])!=null?l:[];const i=()=>Ne(e);if(t.length===0){i()}else{Promise.all(t).then(i);e.m|=4;t.length=0}}};var Me=(e,t,i,l)=>{try{t=t.render();{e.m&=-17}{e.m|=2}{{{$e(e,t,l)}}}}catch(t){m(t,e.$hostElement$)}return null};var Ne=e=>{const t=e.t.p;const i=e.$hostElement$;const l=H("postUpdate",t);const o=e.o;const n=e.D;Ue(o,"componentDidRender",void 0,i);if(!(e.m&64)){e.m|=64;{Re(i)}Ue(o,"componentDidLoad",void 0,i);l();{e.v(i);if(!n){Pe()}}}else{Ue(o,"componentDidUpdate",void 0,i);l()}{if(e.R){e.R();e.R=void 0}if(e.m&512){C((()=>je(e,false)))}e.m&=-517}};var Pe=t=>{C((()=>ee(p,"appload",{detail:{namespace:e}})))};var Ue=(e,t,i,l)=>{if(e&&e[t]){try{return e[t](i)}catch(e){m(e,l)}}return void 0};var Re=e=>{var i;return e.classList.add((i=t.hydratedSelectorName)!=null?i:"hydrated")};var De=(e,t)=>d(e).l.get(t);var We=(e,t,i,l)=>{const o=d(e);if(!o){throw new Error(`Couldn't find host element for "${l.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).`)}const n=o.$hostElement$;const r=o.l.get(t);const s=o.m;const b=o.o;i=Q(i,l.i[t][0]);const a=Number.isNaN(r)&&Number.isNaN(i);const f=i!==r&&!a;if((!(s&8)||r===void 0)&&f){o.l.set(t,i);if(b){if(l.A&&s&128){const e=l.A[t];if(e){e.map((e=>{try{b[e](i,r,t)}catch(e){m(e,n)}}))}}if((s&(2|16))===2){if(b.componentShouldUpdate){if(b.componentShouldUpdate(i,r,t)===false){return}}je(o,false)}}}};var Ae=(e,i,l)=>{var o,n;const r=e.prototype;if(i.i||(i.A||e.watchers)){if(e.watchers&&!i.A){i.A=e.watchers}const s=Object.entries((o=i.i)!=null?o:{});s.map((([e,[t]])=>{if(t&31||l&2&&t&32){const{get:o,set:n}=Object.getOwnPropertyDescriptor(r,e)||{};if(o)i.i[e][0]|=2048;if(n)i.i[e][0]|=4096;if(l&1||!o){Object.defineProperty(r,e,{get(){{if((i.i[e][0]&2048)===0){return De(this,e)}const t=d(this);const l=t?t.o:r;if(!l)return;return l[e]}},configurable:true,enumerable:true})}Object.defineProperty(r,e,{set(o){const r=d(this);if(n){const l=t&32?this[e]:r.$hostElement$[e];if(typeof l==="undefined"&&r.l.get(e)){o=r.l.get(e)}else if(!r.l.get(e)&&l){r.l.set(e,l)}n.apply(this,[Q(o,t)]);o=t&32?this[e]:r.$hostElement$[e];We(this,e,o,i);return}{if((l&1)===0||(i.i[e][0]&4096)===0){We(this,e,o,i);if(l&1&&!r.o){r.h.then((()=>{if(i.i[e][0]&4096&&r.o[e]!==r.l.get(e)){r.o[e]=o}}))}return}const n=()=>{const l=r.o[e];if(!r.l.get(e)&&l){r.l.set(e,l)}r.o[e]=Q(o,t);We(this,e,r.o[e],i)};if(r.o){n()}else{r.h.then((()=>n()))}}}})}}));if(l&1){const l=new Map;r.attributeChangedCallback=function(e,o,n){u.jmp((()=>{var s;const b=l.get(e);if(this.hasOwnProperty(b)&&t.lazyLoad){n=this[b];delete this[b]}else if(r.hasOwnProperty(b)&&typeof this[b]==="number"&&this[b]==n){return}else if(b==null){const t=d(this);const l=t==null?void 0:t.m;if(l&&!(l&8)&&l&128&&n!==o){const l=t.o;const r=(s=i.A)==null?void 0:s[e];r==null?void 0:r.forEach((t=>{if(l[t]!=null){l[t].call(l,n,o,e)}}))}return}const a=Object.getOwnPropertyDescriptor(r,b);n=n===null&&typeof this[b]==="boolean"?false:n;if(n!==this[b]&&(!a.get||!!a.set)){this[b]=n}}))};e.observedAttributes=Array.from(new Set([...Object.keys((n=i.A)!=null?n:{}),...s.filter((([e,t])=>t[0]&15)).map((([e,t])=>{const i=t[1]||e;l.set(i,e);return i}))]))}}return e};var Le=async(e,t,i,l)=>{let o;if((t.m&32)===0){t.m|=32;const l=i.u;if(l){const l=h(i,t);if(l&&"then"in l){const e=I();o=await l;e()}else{o=l}if(!o){throw new Error(`Constructor for "${i.p}#${t.L}" was not found`)}if(!o.isProxied){{i.A=o.watchers}Ae(o,i,2);o.isProxied=true}const n=H("createInstance",i.p);{t.m|=8}try{new o(t)}catch(t){m(t,e)}{t.m&=-9}{t.m|=128}n();Fe(t.o,e)}else{o=e.constructor;const i=e.localName;customElements.whenDefined(i).then((()=>t.m|=128))}if(o&&o.style){let e;if(typeof o.style==="string"){e=o.style}const t=ne(i);if(!c.has(t)){const l=H("registerStyles",i.p);ie(t,e,!!(i.m&1));l()}}}const n=t.D;const r=()=>je(t,true);if(n&&n["s-rc"]){n["s-rc"].push(r)}else{r()}};var Fe=(e,t)=>{{Ue(e,"connectedCallback",void 0,t)}};var Te=e=>{if((u.m&1)===0){const t=d(e);const i=t.t;const l=H("connectedCallback",i.p);if(!(t.m&1)){t.m|=1;{let i=e;while(i=i.parentNode||i.host){if(i["s-p"]){Se(t,t.D=i);break}}}if(i.i){Object.entries(i.i).map((([t,[i]])=>{if(i&31&&e.hasOwnProperty(t)){const i=e[t];delete e[t];e[t]=i}}))}{Le(e,t,i)}}else{Ge(e,t,i.F);if(t==null?void 0:t.o){Fe(t.o,e)}else if(t==null?void 0:t.h){t.h.then((()=>Fe(t.o,e)))}}l()}};var He=(e,t)=>{{Ue(e,"disconnectedCallback",void 0,t||e)}};var Ie=async e=>{if((u.m&1)===0){const t=d(e);{if(t.T){t.T.map((e=>e()));t.T=void 0}}if(t==null?void 0:t.o){He(t.o,e)}else if(t==null?void 0:t.h){t.h.then((()=>He(t.o,e)))}}if(te.has(e)){te.delete(e)}if(e.shadowRoot&&te.has(e.shadowRoot)){te.delete(e.shadowRoot)}};var Ve=(e,t={})=>{var i;if(!p.document){console.warn("Stencil: No document found. Skipping bootstrapping lazy components.");return}const l=H();const o=[];const n=t.exclude||[];const r=p.customElements;const s=p.document.head;const a=s.querySelector("meta[charset]");const m=p.document.createElement("style");const f=[];let h;let c=true;Object.assign(u,t);u.k=new URL(t.resourcesUrl||"./",p.document.baseURI).href;let g=false;e.map((e=>{e[1].map((t=>{var i;const l={m:t[0],p:t[1],i:t[2],F:t[3]};if(l.m&4){g=true}{l.i=t[2]}{l.F=t[3]}{l.A=(i=t[4])!=null?i:{}}const s=l.p;const a=class extends HTMLElement{constructor(e){super(e);this.hasRegisteredEventListeners=false;e=this;b(e,l);if(l.m&1){{if(!e.shadowRoot){T.call(e,l)}else{if(e.shadowRoot.mode!=="open"){throw new Error(`Unable to re-use existing shadow root for ${l.p}! Mode is set to ${e.shadowRoot.mode} but Stencil only supports open shadow roots.`)}}}}}connectedCallback(){const e=d(this);if(!this.hasRegisteredEventListeners){this.hasRegisteredEventListeners=true;Ge(this,e,l.F)}if(h){clearTimeout(h);h=null}if(c){f.push(this)}else{u.jmp((()=>Te(this)))}}disconnectedCallback(){u.jmp((()=>Ie(this)));u.raf((()=>{var e;const t=d(this);const i=f.findIndex((e=>e===this));if(i>-1){f.splice(i,1)}if(((e=t==null?void 0:t.U)==null?void 0:e.M)instanceof Node&&!t.U.M.isConnected){delete t.U.M}}))}componentOnReady(){return d(this).h}};l.u=e[0];if(!n.includes(s)&&!r.get(s)){o.push(s);r.define(s,Ae(a,l,1))}}))}));if(o.length>0){if(g){m.textContent+=v}{m.textContent+=o.sort()+y}if(m.innerHTML.length){m.setAttribute("data-styles","");const e=(i=u.P)!=null?i:P(p.document);if(e!=null){m.setAttribute("nonce",e)}s.insertBefore(m,a?a.nextSibling:s.firstChild)}}c=false;if(f.length){f.map((e=>e.connectedCallback()))}else{{u.jmp((()=>h=setTimeout(Pe,30)))}}l()};var qe=(e,t)=>t;var Ge=(e,t,i,l)=>{if(i&&p.document){i.map((([i,l,o])=>{const n=_e(p.document,e,i);const r=Ye(t,o);const d=Be(i);u.ael(n,l,r,d);(t.T=t.T||[]).push((()=>u.rel(n,l,r,d)))}))}};var Ye=(e,t)=>i=>{var l;try{{if(e.m&256){(l=e.o)==null?void 0:l[t](i)}else{(e.W=e.W||[]).push([t,i])}}}catch(t){m(t,e.$hostElement$)}};var _e=(e,t,i)=>{if(i&4){return e}return t};var Be=e=>k?{passive:(e&1)!==0,capture:(e&2)!==0}:(e&2)!==0;var Je=e=>u.P=e;export{qe as F,X as a,Ve as b,Z as c,i as g,V as h,z as p,s as r,Je as s};
3
+ //# sourceMappingURL=p-BGwuI2U_.js.map