q2-tecton-elements 1.58.0 → 1.58.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 (187) hide show
  1. package/dist/bundle-report.json +423 -423
  2. package/dist/cjs/click-elsewhere.cjs.entry.js +1 -1
  3. package/dist/cjs/{index-BeO0qIuQ.js → index-DRPUzMCR.js} +3 -3
  4. package/dist/cjs/{index-BeO0qIuQ.js.map → index-DRPUzMCR.js.map} +1 -1
  5. package/dist/cjs/{index-DwY8j6jj.js → index-zMAVnBYO.js} +116 -12
  6. package/dist/cjs/index-zMAVnBYO.js.map +1 -0
  7. package/dist/cjs/loader.cjs.js +1 -1
  8. package/dist/cjs/q2-action-group_2.cjs.entry.js +2 -2
  9. package/dist/cjs/q2-action-sheet.cjs.entry.js +2 -2
  10. package/dist/cjs/q2-avatar.cjs.entry.js +1 -1
  11. package/dist/cjs/q2-badge_7.cjs.entry.js +3 -3
  12. package/dist/cjs/q2-calendar.cjs.entry.js +2 -2
  13. package/dist/cjs/q2-card.cjs.entry.js +2 -2
  14. package/dist/cjs/q2-carousel-pane.cjs.entry.js +2 -2
  15. package/dist/cjs/q2-carousel.cjs.entry.js +2 -2
  16. package/dist/cjs/q2-chart-area.cjs.entry.js +2 -2
  17. package/dist/cjs/q2-chart-bar.cjs.entry.js +2 -2
  18. package/dist/cjs/q2-chart-donut.cjs.entry.js +2 -2
  19. package/dist/cjs/q2-checkbox-group.cjs.entry.js +2 -2
  20. package/dist/cjs/q2-checkbox.cjs.entry.js +2 -2
  21. package/dist/cjs/q2-context.cjs.entry.js +2 -2
  22. package/dist/cjs/q2-currency.cjs.entry.js +1 -1
  23. package/dist/cjs/q2-data-table.cjs.entry.js +2 -2
  24. package/dist/cjs/q2-detail.cjs.entry.js +2 -2
  25. package/dist/cjs/q2-dropdown-item.cjs.entry.js +2 -2
  26. package/dist/cjs/q2-dropdown.cjs.entry.js +2 -2
  27. package/dist/cjs/q2-editable-field.cjs.entry.js +2 -2
  28. package/dist/cjs/q2-example.cjs.entry.js +1 -1
  29. package/dist/cjs/q2-file-picker.cjs.entry.js +2 -2
  30. package/dist/cjs/q2-form.cjs.entry.js +1 -1
  31. package/dist/cjs/q2-formatted-text.cjs.entry.js +1 -1
  32. package/dist/cjs/q2-grid-area.cjs.entry.js +1 -1
  33. package/dist/cjs/q2-grid.cjs.entry.js +1 -1
  34. package/dist/cjs/q2-item.cjs.entry.js +2 -2
  35. package/dist/cjs/q2-legend.cjs.entry.js +1 -1
  36. package/dist/cjs/q2-link_2.cjs.entry.js +2 -2
  37. package/dist/cjs/q2-loading-element.cjs.entry.js +2 -2
  38. package/dist/cjs/q2-loc.cjs.entry.js +2 -2
  39. package/dist/cjs/q2-message.cjs.entry.js +2 -2
  40. package/dist/cjs/q2-modal.cjs.entry.js +2 -2
  41. package/dist/cjs/q2-month-picker.cjs.entry.js +2 -2
  42. package/dist/cjs/q2-optgroup.cjs.entry.js +2 -2
  43. package/dist/cjs/q2-option-list_2.cjs.entry.js +2 -2
  44. package/dist/cjs/q2-option.cjs.entry.js +2 -2
  45. package/dist/cjs/q2-pagination.cjs.entry.js +2 -2
  46. package/dist/cjs/q2-pill.cjs.entry.js +2 -2
  47. package/dist/cjs/q2-radio-group.cjs.entry.js +2 -2
  48. package/dist/cjs/q2-radio.cjs.entry.js +2 -2
  49. package/dist/cjs/q2-relative-time.cjs.entry.js +2 -2
  50. package/dist/cjs/q2-section.cjs.entry.js +2 -2
  51. package/dist/cjs/q2-select.cjs.entry.js +2 -2
  52. package/dist/cjs/q2-stepper-pane.cjs.entry.js +2 -2
  53. package/dist/cjs/q2-stepper-vertical.cjs.entry.js +2 -2
  54. package/dist/cjs/q2-stepper.cjs.entry.js +2 -2
  55. package/dist/cjs/q2-tag.cjs.entry.js +2 -2
  56. package/dist/cjs/q2-tecton-elements.cjs.js +22 -1
  57. package/dist/cjs/q2-tecton-elements.cjs.js.map +1 -1
  58. package/dist/cjs/q2-textarea.cjs.entry.js +2 -2
  59. package/dist/cjs/q2-tooltip.cjs.entry.js +2 -2
  60. package/dist/cjs/{shapes-DYFTrUXB.js → shapes-DDw2Fhwn.js} +3 -3
  61. package/dist/cjs/{shapes-DYFTrUXB.js.map → shapes-DDw2Fhwn.js.map} +1 -1
  62. package/dist/cjs/tecton-tab-pane.cjs.entry.js +1 -1
  63. package/dist/esm/click-elsewhere.entry.js +1 -1
  64. package/dist/esm/{index-YFPMNbDm.js → index-C7zSUT3M.js} +116 -13
  65. package/dist/esm/index-C7zSUT3M.js.map +1 -0
  66. package/dist/esm/{index-CYgcpzXH.js → index-y0xcWkDl.js} +3 -3
  67. package/dist/{q2-tecton-elements/index-CYgcpzXH.js.map → esm/index-y0xcWkDl.js.map} +1 -1
  68. package/dist/esm/loader.js +2 -2
  69. package/dist/esm/q2-action-group_2.entry.js +2 -2
  70. package/dist/esm/q2-action-sheet.entry.js +2 -2
  71. package/dist/esm/q2-avatar.entry.js +1 -1
  72. package/dist/esm/q2-badge_7.entry.js +3 -3
  73. package/dist/esm/q2-calendar.entry.js +2 -2
  74. package/dist/esm/q2-card.entry.js +2 -2
  75. package/dist/esm/q2-carousel-pane.entry.js +2 -2
  76. package/dist/esm/q2-carousel.entry.js +2 -2
  77. package/dist/esm/q2-chart-area.entry.js +2 -2
  78. package/dist/esm/q2-chart-bar.entry.js +2 -2
  79. package/dist/esm/q2-chart-donut.entry.js +2 -2
  80. package/dist/esm/q2-checkbox-group.entry.js +2 -2
  81. package/dist/esm/q2-checkbox.entry.js +2 -2
  82. package/dist/esm/q2-context.entry.js +2 -2
  83. package/dist/esm/q2-currency.entry.js +1 -1
  84. package/dist/esm/q2-data-table.entry.js +2 -2
  85. package/dist/esm/q2-detail.entry.js +2 -2
  86. package/dist/esm/q2-dropdown-item.entry.js +2 -2
  87. package/dist/esm/q2-dropdown.entry.js +2 -2
  88. package/dist/esm/q2-editable-field.entry.js +2 -2
  89. package/dist/esm/q2-example.entry.js +1 -1
  90. package/dist/esm/q2-file-picker.entry.js +2 -2
  91. package/dist/esm/q2-form.entry.js +1 -1
  92. package/dist/esm/q2-formatted-text.entry.js +1 -1
  93. package/dist/esm/q2-grid-area.entry.js +1 -1
  94. package/dist/esm/q2-grid.entry.js +1 -1
  95. package/dist/esm/q2-item.entry.js +2 -2
  96. package/dist/esm/q2-legend.entry.js +1 -1
  97. package/dist/esm/q2-link_2.entry.js +2 -2
  98. package/dist/esm/q2-loading-element.entry.js +2 -2
  99. package/dist/esm/q2-loc.entry.js +2 -2
  100. package/dist/esm/q2-message.entry.js +2 -2
  101. package/dist/esm/q2-modal.entry.js +2 -2
  102. package/dist/esm/q2-month-picker.entry.js +2 -2
  103. package/dist/esm/q2-optgroup.entry.js +2 -2
  104. package/dist/esm/q2-option-list_2.entry.js +2 -2
  105. package/dist/esm/q2-option.entry.js +2 -2
  106. package/dist/esm/q2-pagination.entry.js +2 -2
  107. package/dist/esm/q2-pill.entry.js +2 -2
  108. package/dist/esm/q2-radio-group.entry.js +2 -2
  109. package/dist/esm/q2-radio.entry.js +2 -2
  110. package/dist/esm/q2-relative-time.entry.js +2 -2
  111. package/dist/esm/q2-section.entry.js +2 -2
  112. package/dist/esm/q2-select.entry.js +2 -2
  113. package/dist/esm/q2-stepper-pane.entry.js +2 -2
  114. package/dist/esm/q2-stepper-vertical.entry.js +2 -2
  115. package/dist/esm/q2-stepper.entry.js +2 -2
  116. package/dist/esm/q2-tag.entry.js +2 -2
  117. package/dist/esm/q2-tecton-elements.js +23 -2
  118. package/dist/esm/q2-tecton-elements.js.map +1 -1
  119. package/dist/esm/q2-textarea.entry.js +2 -2
  120. package/dist/esm/q2-tooltip.entry.js +2 -2
  121. package/dist/esm/{shapes-B9jYz1VS.js → shapes-DO0UnuKe.js} +3 -3
  122. package/dist/esm/{shapes-B9jYz1VS.js.map → shapes-DO0UnuKe.js.map} +1 -1
  123. package/dist/esm/tecton-tab-pane.entry.js +1 -1
  124. package/dist/q2-tecton-elements/click-elsewhere.entry.js +1 -1
  125. package/dist/q2-tecton-elements/{index-YFPMNbDm.js → index-C7zSUT3M.js} +559 -450
  126. package/dist/q2-tecton-elements/index-C7zSUT3M.js.map +1 -0
  127. package/dist/q2-tecton-elements/{index-CYgcpzXH.js → index-y0xcWkDl.js} +3 -3
  128. package/dist/{esm/index-CYgcpzXH.js.map → q2-tecton-elements/index-y0xcWkDl.js.map} +1 -1
  129. package/dist/q2-tecton-elements/q2-action-group_2.entry.js +2 -2
  130. package/dist/q2-tecton-elements/q2-action-sheet.entry.js +2 -2
  131. package/dist/q2-tecton-elements/q2-avatar.entry.js +1 -1
  132. package/dist/q2-tecton-elements/q2-badge_7.entry.js +60 -60
  133. package/dist/q2-tecton-elements/q2-calendar.entry.js +2 -2
  134. package/dist/q2-tecton-elements/q2-card.entry.js +2 -2
  135. package/dist/q2-tecton-elements/q2-carousel-pane.entry.js +2 -2
  136. package/dist/q2-tecton-elements/q2-carousel.entry.js +2 -2
  137. package/dist/q2-tecton-elements/q2-chart-area.entry.js +2 -2
  138. package/dist/q2-tecton-elements/q2-chart-bar.entry.js +2 -2
  139. package/dist/q2-tecton-elements/q2-chart-donut.entry.js +8 -8
  140. package/dist/q2-tecton-elements/q2-checkbox-group.entry.js +2 -2
  141. package/dist/q2-tecton-elements/q2-checkbox.entry.js +2 -2
  142. package/dist/q2-tecton-elements/q2-context.entry.js +2 -2
  143. package/dist/q2-tecton-elements/q2-currency.entry.js +1 -1
  144. package/dist/q2-tecton-elements/q2-data-table.entry.js +2 -2
  145. package/dist/q2-tecton-elements/q2-detail.entry.js +2 -2
  146. package/dist/q2-tecton-elements/q2-dropdown-item.entry.js +2 -2
  147. package/dist/q2-tecton-elements/q2-dropdown.entry.js +2 -2
  148. package/dist/q2-tecton-elements/q2-editable-field.entry.js +2 -2
  149. package/dist/q2-tecton-elements/q2-example.entry.js +1 -1
  150. package/dist/q2-tecton-elements/q2-file-picker.entry.js +2 -2
  151. package/dist/q2-tecton-elements/q2-form.entry.js +1 -1
  152. package/dist/q2-tecton-elements/q2-formatted-text.entry.js +1 -1
  153. package/dist/q2-tecton-elements/q2-grid-area.entry.js +1 -1
  154. package/dist/q2-tecton-elements/q2-grid.entry.js +1 -1
  155. package/dist/q2-tecton-elements/q2-item.entry.js +2 -2
  156. package/dist/q2-tecton-elements/q2-legend.entry.js +1 -1
  157. package/dist/q2-tecton-elements/q2-link_2.entry.js +2 -2
  158. package/dist/q2-tecton-elements/q2-loading-element.entry.js +2 -2
  159. package/dist/q2-tecton-elements/q2-loc.entry.js +2 -2
  160. package/dist/q2-tecton-elements/q2-message.entry.js +2 -2
  161. package/dist/q2-tecton-elements/q2-modal.entry.js +2 -2
  162. package/dist/q2-tecton-elements/q2-month-picker.entry.js +2 -2
  163. package/dist/q2-tecton-elements/q2-optgroup.entry.js +2 -2
  164. package/dist/q2-tecton-elements/q2-option-list_2.entry.js +2 -2
  165. package/dist/q2-tecton-elements/q2-option.entry.js +2 -2
  166. package/dist/q2-tecton-elements/q2-pagination.entry.js +2 -2
  167. package/dist/q2-tecton-elements/q2-pill.entry.js +2 -2
  168. package/dist/q2-tecton-elements/q2-radio-group.entry.js +2 -2
  169. package/dist/q2-tecton-elements/q2-radio.entry.js +2 -2
  170. package/dist/q2-tecton-elements/q2-relative-time.entry.js +5 -5
  171. package/dist/q2-tecton-elements/q2-section.entry.js +2 -2
  172. package/dist/q2-tecton-elements/q2-select.entry.js +2 -2
  173. package/dist/q2-tecton-elements/q2-stepper-pane.entry.js +2 -2
  174. package/dist/q2-tecton-elements/q2-stepper-vertical.entry.js +2 -2
  175. package/dist/q2-tecton-elements/q2-stepper.entry.js +2 -2
  176. package/dist/q2-tecton-elements/q2-tag.entry.js +2 -2
  177. package/dist/q2-tecton-elements/q2-tecton-elements.esm.js +31 -9
  178. package/dist/q2-tecton-elements/q2-tecton-elements.esm.js.map +1 -1
  179. package/dist/q2-tecton-elements/q2-textarea.entry.js +2 -2
  180. package/dist/q2-tecton-elements/q2-tooltip.entry.js +2 -2
  181. package/dist/q2-tecton-elements/{shapes-B9jYz1VS.js → shapes-DO0UnuKe.js} +3 -3
  182. package/dist/q2-tecton-elements/{shapes-B9jYz1VS.js.map → shapes-DO0UnuKe.js.map} +1 -1
  183. package/dist/q2-tecton-elements/tecton-tab-pane.entry.js +1 -1
  184. package/package.json +3 -3
  185. package/dist/cjs/index-DwY8j6jj.js.map +0 -1
  186. package/dist/esm/index-YFPMNbDm.js.map +0 -1
  187. package/dist/q2-tecton-elements/index-YFPMNbDm.js.map +0 -1
@@ -1,6 +1,7 @@
1
1
  const e = "q2-tecton-elements";
2
2
 
3
3
  const t = /* q2-tecton-elements */ {
4
+ experimentalSlotFixes: true,
4
5
  hydratedSelectorName: "stencil-hydrated",
5
6
  lazyLoad: true,
6
7
  slotRelocation: true,
@@ -13,17 +14,17 @@ const n = "";
13
14
 
14
15
  /*
15
16
  Stencil Client Platform v4.35.0 | MIT Licensed | https://stenciljs.com
16
- */ var r = Object.defineProperty;
17
+ */ var o = Object.defineProperty;
17
18
 
18
19
  var __export = (e, t) => {
19
- for (var n in t) r(e, n, {
20
+ for (var n in t) o(e, n, {
20
21
  get: t[n],
21
22
  enumerable: true
22
23
  });
23
24
  };
24
25
 
25
26
  // src/utils/constants.ts
26
- var o = "http://www.w3.org/2000/svg";
27
+ var r = "http://www.w3.org/2000/svg";
27
28
 
28
29
  var l = "http://www.w3.org/1999/xhtml";
29
30
 
@@ -55,9 +56,9 @@ var registerHost = (e, t) => {
55
56
  e["s-p"] = [];
56
57
  e["s-rc"] = [];
57
58
  }
58
- const r = n;
59
- e.__stencil__getHostRef = () => r;
60
- return r;
59
+ const o = n;
60
+ e.__stencil__getHostRef = () => o;
61
+ return o;
61
62
  };
62
63
 
63
64
  var isMemberInElement = (e, t) => t in e;
@@ -69,25 +70,25 @@ var consoleError = (e, t) => (0, console.error)(e, t)
69
70
  var i = new Map;
70
71
 
71
72
  var loadModule = (e, t, n) => {
72
- const r = e._$$tagName$$_.replace(/-/g, "_");
73
- const o = e._$$lazyBundleId$$_;
74
- if (!o) {
73
+ const o = e._$$tagName$$_.replace(/-/g, "_");
74
+ const r = e._$$lazyBundleId$$_;
75
+ if (!r) {
75
76
  return void 0;
76
77
  }
77
- const l = i.get(o);
78
+ const l = i.get(r);
78
79
  if (l) {
79
- return l[r];
80
+ return l[o];
80
81
  }
81
82
  /*!__STENCIL_STATIC_IMPORT_SWITCH__*/ return import(
82
83
  /* @vite-ignore */
83
84
  /* webpackInclude: /\.entry\.js$/ */
84
85
  /* webpackExclude: /\.system\.entry\.js$/ */
85
86
  /* webpackMode: "lazy" */
86
- `./${o}.entry.js${""}`).then((e => {
87
+ `./${r}.entry.js${""}`).then((e => {
87
88
  {
88
- i.set(o, e);
89
+ i.set(r, e);
89
90
  }
90
- return e[r];
91
+ return e[o];
91
92
  }), (e => {
92
93
  consoleError(e, t.$hostElement$);
93
94
  }));
@@ -104,17 +105,19 @@ var c = "http://www.w3.org/1999/xlink";
104
105
 
105
106
  var u = typeof window !== "undefined" ? window : {};
106
107
 
107
- var v = {
108
+ var v = u.HTMLElement || class {};
109
+
110
+ var d = {
108
111
  _$$flags$$_: 0,
109
112
  _$$resourcesUrl$$_: "",
110
113
  jmp: e => e(),
111
114
  raf: e => requestAnimationFrame(e),
112
- ael: (e, t, n, r) => e.addEventListener(t, n, r),
113
- rel: (e, t, n, r) => e.removeEventListener(t, n, r),
115
+ ael: (e, t, n, o) => e.addEventListener(t, n, o),
116
+ rel: (e, t, n, o) => e.removeEventListener(t, n, o),
114
117
  ce: (e, t) => new CustomEvent(e, t)
115
118
  };
116
119
 
117
- var d = (() => {
120
+ var p = (() => {
118
121
  var e;
119
122
  let t = false;
120
123
  try {
@@ -129,7 +132,7 @@ var d = (() => {
129
132
 
130
133
  var promiseResolve = e => Promise.resolve(e);
131
134
 
132
- var p = (() => {
135
+ var m = (() => {
133
136
  try {
134
137
  new CSSStyleSheet;
135
138
  return typeof (new CSSStyleSheet).replaceSync === "function";
@@ -137,20 +140,20 @@ var p = (() => {
137
140
  return false;
138
141
  })();
139
142
 
140
- var m = false;
143
+ var y = false;
141
144
 
142
- var y = [];
145
+ var b = [];
143
146
 
144
147
  var w = [];
145
148
 
146
149
  var queueTask = (e, t) => n => {
147
150
  e.push(n);
148
- if (!m) {
149
- m = true;
150
- if (t && v._$$flags$$_ & 4 /* queueSync */) {
151
+ if (!y) {
152
+ y = true;
153
+ if (t && d._$$flags$$_ & 4 /* queueSync */) {
151
154
  nextTick(flush);
152
155
  } else {
153
- v.raf(flush);
156
+ d.raf(flush);
154
157
  }
155
158
  }
156
159
  };
@@ -167,22 +170,22 @@ var consume = e => {
167
170
  };
168
171
 
169
172
  var flush = () => {
170
- consume(y);
173
+ consume(b);
171
174
  {
172
175
  consume(w);
173
- if (m = y.length > 0) {
174
- v.raf(flush);
176
+ if (y = b.length > 0) {
177
+ d.raf(flush);
175
178
  }
176
179
  }
177
180
  };
178
181
 
179
182
  var nextTick = e => promiseResolve().then(e);
180
183
 
181
- var b = queueTask(w, true);
184
+ var g = queueTask(w, true);
182
185
 
183
186
  // src/runtime/asset-path.ts
184
187
  var getAssetPath = e => {
185
- const t = new URL(e, v._$$resourcesUrl$$_);
188
+ const t = new URL(e, d._$$resourcesUrl$$_);
186
189
  return t.origin !== u.location.origin ? t.href : t.pathname;
187
190
  };
188
191
 
@@ -193,17 +196,17 @@ var isComplexType = e => {
193
196
 
194
197
  // src/utils/query-nonce-meta-tag-content.ts
195
198
  function queryNonceMetaTagContent(e) {
196
- var t, n, r;
197
- return (r = (n = (t = e.head) == null ? void 0 : t.querySelector('meta[name="csp-nonce"]')) == null ? void 0 : n.getAttribute("content")) != null ? r : void 0;
199
+ var t, n, o;
200
+ return (o = (n = (t = e.head) == null ? void 0 : t.querySelector('meta[name="csp-nonce"]')) == null ? void 0 : n.getAttribute("content")) != null ? o : void 0;
198
201
  }
199
202
 
200
203
  // src/utils/regular-expression.ts
201
204
  var escapeRegExpSpecialCharacters = e => e.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
202
205
 
203
206
  // src/utils/result.ts
204
- var g = {};
207
+ var S = {};
205
208
 
206
- __export(g, {
209
+ __export(S, {
207
210
  err: () => err,
208
211
  map: () => map,
209
212
  ok: () => ok,
@@ -259,7 +262,7 @@ function createShadowRoot(e) {
259
262
  const t = this.attachShadow({
260
263
  mode: "open"
261
264
  });
262
- if (p) {
265
+ if (m) {
263
266
  const e = new CSSStyleSheet;
264
267
  e.replaceSync(n);
265
268
  t.adoptedStyleSheets.push(e);
@@ -291,36 +294,37 @@ var updateFallbackSlotVisibility = e => {
291
294
  var getSlottedChildNodes = e => {
292
295
  const t = [];
293
296
  for (let n = 0; n < e.length; n++) {
294
- const r = e[n]["s-nr"] || void 0;
295
- if (r && r.isConnected) {
296
- t.push(r);
297
+ const o = e[n]["s-nr"] || void 0;
298
+ if (o && o.isConnected) {
299
+ t.push(o);
297
300
  }
298
301
  }
299
302
  return t;
300
303
  };
301
304
 
302
305
  function getHostSlotNodes(e, t, n) {
303
- let r = 0;
304
- let o = [];
306
+ let o = 0;
307
+ let r = [];
305
308
  let l;
306
- for (;r < e.length; r++) {
307
- l = e[r];
308
- if (l["s-sr"] && (!t || l["s-hn"] === t) && n === void 0) {
309
- o.push(l);
309
+ for (;o < e.length; o++) {
310
+ l = e[o];
311
+ if (l["s-sr"] && (!t || l["s-hn"] === t) && (n === void 0 || getSlotName(l) === n)) {
312
+ r.push(l);
313
+ if (typeof n !== "undefined") return r;
310
314
  }
311
- o = [ ...o, ...getHostSlotNodes(l.childNodes, t, n) ];
315
+ r = [ ...r, ...getHostSlotNodes(l.childNodes, t, n) ];
312
316
  }
313
- return o;
317
+ return r;
314
318
  }
315
319
 
316
320
  var getSlotChildSiblings = (e, t, n = true) => {
317
- const r = [];
318
- if (n && e["s-sr"] || !e["s-sr"]) r.push(e);
319
- let o = e;
320
- while (o = o.nextSibling) {
321
- if (getSlotName(o) === t && (n || !o["s-sr"])) r.push(o);
321
+ const o = [];
322
+ if (n && e["s-sr"] || !e["s-sr"]) o.push(e);
323
+ let r = e;
324
+ while (r = r.nextSibling) {
325
+ if (getSlotName(r) === t && (n || !r["s-sr"])) o.push(r);
322
326
  }
323
- return r;
327
+ return o;
324
328
  };
325
329
 
326
330
  var isNodeLocatedInSlot = (e, t) => {
@@ -345,14 +349,14 @@ function patchSlotNode(e) {
345
349
  if (e.assignedElements || e.assignedNodes || !e["s-sr"]) return;
346
350
  const assignedFactory = t => function(e) {
347
351
  const n = [];
348
- const r = this["s-sn"];
352
+ const o = this["s-sn"];
349
353
  if (e == null ? void 0 : e.flatten) {
350
354
  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 `);
351
355
  }
352
- const o = this["s-cr"].parentElement;
353
- const l = o.__childNodes ? o.childNodes : getSlottedChildNodes(o.childNodes);
356
+ const r = this["s-cr"].parentElement;
357
+ const l = r.__childNodes ? r.childNodes : getSlottedChildNodes(r.childNodes);
354
358
  l.forEach((e => {
355
- if (r === getSlotName(e)) {
359
+ if (o === getSlotName(e)) {
356
360
  n.push(e);
357
361
  }
358
362
  }));
@@ -365,6 +369,61 @@ function patchSlotNode(e) {
365
369
  e.assignedNodes = assignedFactory(false);
366
370
  }
367
371
 
372
+ function dispatchSlotChangeEvent(e) {
373
+ e.dispatchEvent(new CustomEvent("slotchange", {
374
+ bubbles: false,
375
+ cancelable: false,
376
+ composed: false
377
+ }));
378
+ }
379
+
380
+ function findSlotFromSlottedNode(e, t) {
381
+ var n;
382
+ t = t || ((n = e["s-ol"]) == null ? void 0 : n.parentElement);
383
+ if (!t) return {
384
+ slotNode: null,
385
+ slotName: ""
386
+ };
387
+ const o = e["s-sn"] = getSlotName(e) || "";
388
+ const r = internalCall(t, "childNodes");
389
+ const l = getHostSlotNodes(r, t.tagName, o)[0];
390
+ return {
391
+ slotNode: l,
392
+ slotName: o
393
+ };
394
+ }
395
+
396
+ var patchParentNode = e => {
397
+ if (!e || e.__parentNode) return;
398
+ patchHostOriginalAccessor("parentNode", e);
399
+ Object.defineProperty(e, "parentNode", {
400
+ get: function() {
401
+ var e;
402
+ return ((e = this["s-ol"]) == null ? void 0 : e.parentNode) || this.__parentNode;
403
+ },
404
+ set: function(e) {
405
+ this.__parentNode = e;
406
+ }
407
+ });
408
+ };
409
+
410
+ var $ = [ "children", "nextElementSibling", "previousElementSibling" ];
411
+
412
+ var N = [ "childNodes", "firstChild", "lastChild", "nextSibling", "previousSibling", "textContent", "parentNode" ];
413
+
414
+ function patchHostOriginalAccessor(e, t) {
415
+ let n;
416
+ if ($.includes(e)) {
417
+ n = Object.getOwnPropertyDescriptor(Element.prototype, e);
418
+ } else if (N.includes(e)) {
419
+ n = Object.getOwnPropertyDescriptor(Node.prototype, e);
420
+ }
421
+ if (!n) {
422
+ n = Object.getOwnPropertyDescriptor(t, e);
423
+ }
424
+ if (n) Object.defineProperty(t, "__" + e, n);
425
+ }
426
+
368
427
  function internalCall(e, t) {
369
428
  if ("__" + t in e) {
370
429
  const n = e["__" + t];
@@ -389,25 +448,25 @@ var uniqueTime = (e, t) => {
389
448
  };
390
449
 
391
450
  var h = (e, t, ...n) => {
392
- let r = null;
393
451
  let o = null;
452
+ let r = null;
394
453
  let l = null;
395
454
  let i = false;
396
455
  let s = false;
397
456
  const f = [];
398
457
  const walk = t => {
399
458
  for (let n = 0; n < t.length; n++) {
400
- r = t[n];
401
- if (Array.isArray(r)) {
402
- walk(r);
403
- } else if (r != null && typeof r !== "boolean") {
404
- if (i = typeof e !== "function" && !isComplexType(r)) {
405
- r = String(r);
459
+ o = t[n];
460
+ if (Array.isArray(o)) {
461
+ walk(o);
462
+ } else if (o != null && typeof o !== "boolean") {
463
+ if (i = typeof e !== "function" && !isComplexType(o)) {
464
+ o = String(o);
406
465
  }
407
466
  if (i && s) {
408
- f[f.length - 1]._$$text$$_ += r;
467
+ f[f.length - 1]._$$text$$_ += o;
409
468
  } else {
410
- f.push(i ? newVNode(null, r) : r);
469
+ f.push(i ? newVNode(null, o) : o);
411
470
  }
412
471
  s = i;
413
472
  }
@@ -416,7 +475,7 @@ var h = (e, t, ...n) => {
416
475
  walk(n);
417
476
  if (t) {
418
477
  if (t.key) {
419
- o = t.key;
478
+ r = t.key;
420
479
  }
421
480
  if (t.name) {
422
481
  l = t.name;
@@ -429,7 +488,7 @@ var h = (e, t, ...n) => {
429
488
  }
430
489
  }
431
490
  if (typeof e === "function") {
432
- return e(t === null ? {} : t, f, S);
491
+ return e(t === null ? {} : t, f, O);
433
492
  }
434
493
  const a = newVNode(e, null);
435
494
  a._$$attrs$$_ = t;
@@ -437,7 +496,7 @@ var h = (e, t, ...n) => {
437
496
  a._$$children$$_ = f;
438
497
  }
439
498
  {
440
- a._$$key$$_ = o;
499
+ a._$$key$$_ = r;
441
500
  }
442
501
  {
443
502
  a._$$name$$_ = l;
@@ -465,11 +524,11 @@ var newVNode = (e, t) => {
465
524
  return n;
466
525
  };
467
526
 
468
- var $ = {};
527
+ var j = {};
469
528
 
470
- var isHost = e => e && e._$$tag$$_ === $;
529
+ var isHost = e => e && e._$$tag$$_ === j;
471
530
 
472
- var S = {
531
+ var O = {
473
532
  forEach: (e, t) => e.map(convertToPublic).forEach(t),
474
533
  map: (e, t) => e.map(convertToPublic).map(t).map(convertToPrivate)
475
534
  };
@@ -541,9 +600,9 @@ var getElement = e => getHostRef(e).$hostElement$
541
600
  ;
542
601
 
543
602
  var createEvent = (e, t, n) => {
544
- const r = getElement(e);
603
+ const o = getElement(e);
545
604
  return {
546
- emit: e => emitEvent(r, t, {
605
+ emit: e => emitEvent(o, t, {
547
606
  bubbles: !!(n & 4 /* Bubbles */),
548
607
  composed: !!(n & 2 /* Composed */),
549
608
  cancelable: !!(n & 1 /* Cancellable */),
@@ -553,49 +612,49 @@ var createEvent = (e, t, n) => {
553
612
  };
554
613
 
555
614
  var emitEvent = (e, t, n) => {
556
- const r = v.ce(t, n);
557
- e.dispatchEvent(r);
558
- return r;
615
+ const o = d.ce(t, n);
616
+ e.dispatchEvent(o);
617
+ return o;
559
618
  };
560
619
 
561
- var j = new WeakMap;
620
+ var C = new WeakMap;
562
621
 
563
622
  var registerStyle = (e, t, n) => {
564
- let r = s.get(e);
565
- if (p && n) {
566
- r = r || new CSSStyleSheet;
567
- if (typeof r === "string") {
568
- r = t;
623
+ let o = s.get(e);
624
+ if (m && n) {
625
+ o = o || new CSSStyleSheet;
626
+ if (typeof o === "string") {
627
+ o = t;
569
628
  } else {
570
- r.replaceSync(t);
629
+ o.replaceSync(t);
571
630
  }
572
631
  } else {
573
- r = t;
632
+ o = t;
574
633
  }
575
- s.set(e, r);
634
+ s.set(e, o);
576
635
  };
577
636
 
578
637
  var addStyle = (e, t, n) => {
579
- var r;
580
- const o = getScopeId(t);
581
- const l = s.get(o);
638
+ var o;
639
+ const r = getScopeId(t);
640
+ const l = s.get(r);
582
641
  if (!u.document) {
583
- return o;
642
+ return r;
584
643
  }
585
644
  e = e.nodeType === 11 /* DocumentFragment */ ? e : u.document;
586
645
  if (l) {
587
646
  if (typeof l === "string") {
588
647
  e = e.head || e;
589
- let n = j.get(e);
648
+ let n = C.get(e);
590
649
  let i;
591
650
  if (!n) {
592
- j.set(e, n = new Set);
651
+ C.set(e, n = new Set);
593
652
  }
594
- if (!n.has(o)) {
653
+ if (!n.has(r)) {
595
654
  {
596
655
  i = u.document.createElement("style");
597
656
  i.innerHTML = l;
598
- const n = (r = v._$$nonce$$_) != null ? r : queryNonceMetaTagContent(u.document);
657
+ const n = (o = d._$$nonce$$_) != null ? o : queryNonceMetaTagContent(u.document);
599
658
  if (n != null) {
600
659
  i.setAttribute("nonce", n);
601
660
  }
@@ -605,7 +664,7 @@ var addStyle = (e, t, n) => {
605
664
  const n = t.length > 0 ? t[t.length - 1].nextSibling : e.querySelector("style");
606
665
  e.insertBefore(i, (n == null ? void 0 : n.parentNode) === e ? n : null);
607
666
  } else if ("host" in e) {
608
- if (p) {
667
+ if (m) {
609
668
  const t = new CSSStyleSheet;
610
669
  t.replaceSync(l);
611
670
  e.adoptedStyleSheets = [ t, ...e.adoptedStyleSheets ];
@@ -629,49 +688,49 @@ var addStyle = (e, t, n) => {
629
688
  i.innerHTML += a;
630
689
  }
631
690
  if (n) {
632
- n.add(o);
691
+ n.add(r);
633
692
  }
634
693
  }
635
694
  } else if (!e.adoptedStyleSheets.includes(l)) {
636
695
  e.adoptedStyleSheets = [ ...e.adoptedStyleSheets, l ];
637
696
  }
638
697
  }
639
- return o;
698
+ return r;
640
699
  };
641
700
 
642
701
  var attachStyles = e => {
643
702
  const t = e._$$cmpMeta$$_;
644
703
  const n = e.$hostElement$;
645
- const r = t._$$flags$$_;
646
- const o = createTime("attachStyles", t._$$tagName$$_);
704
+ const o = t._$$flags$$_;
705
+ const r = createTime("attachStyles", t._$$tagName$$_);
647
706
  const l = addStyle(n.shadowRoot ? n.shadowRoot : n.getRootNode(), t);
648
- if (r & 10 /* needsScopedEncapsulation */) {
707
+ if (o & 10 /* needsScopedEncapsulation */) {
649
708
  n["s-sc"] = l;
650
709
  n.classList.add(l + "-h");
651
710
  }
652
- o();
711
+ r();
653
712
  };
654
713
 
655
714
  var getScopeId = (e, t) => "sc-" + e._$$tagName$$_;
656
715
 
657
- var setAccessor = (e, t, n, r, o, l, i) => {
658
- if (n === r) {
716
+ var setAccessor = (e, t, n, o, r, l, i) => {
717
+ if (n === o) {
659
718
  return;
660
719
  }
661
720
  let s = isMemberInElement(e, t);
662
721
  let f = t.toLowerCase();
663
722
  if (t === "class") {
664
723
  const t = e.classList;
665
- const o = parseClassList(n);
666
- let l = parseClassList(r);
724
+ const r = parseClassList(n);
725
+ let l = parseClassList(o);
667
726
  {
668
- t.remove(...o.filter((e => e && !l.includes(e))));
669
- t.add(...l.filter((e => e && !o.includes(e))));
727
+ t.remove(...r.filter((e => e && !l.includes(e))));
728
+ t.add(...l.filter((e => e && !r.includes(e))));
670
729
  }
671
730
  } else if (t === "style") {
672
731
  {
673
732
  for (const t in n) {
674
- if (!r || r[t] == null) {
733
+ if (!o || o[t] == null) {
675
734
  if (t.includes("-")) {
676
735
  e.style.removeProperty(t);
677
736
  } else {
@@ -680,18 +739,18 @@ var setAccessor = (e, t, n, r, o, l, i) => {
680
739
  }
681
740
  }
682
741
  }
683
- for (const t in r) {
684
- if (!n || r[t] !== n[t]) {
742
+ for (const t in o) {
743
+ if (!n || o[t] !== n[t]) {
685
744
  if (t.includes("-")) {
686
- e.style.setProperty(t, r[t]);
745
+ e.style.setProperty(t, o[t]);
687
746
  } else {
688
- e.style[t] = r[t];
747
+ e.style[t] = o[t];
689
748
  }
690
749
  }
691
750
  }
692
751
  } else if (t === "key") ; else if (t === "ref") {
693
- if (r) {
694
- r(e);
752
+ if (o) {
753
+ o(e);
695
754
  }
696
755
  } else if (!s && t[0] === "o" && t[1] === "n") {
697
756
  if (t[2] === "-") {
@@ -701,33 +760,33 @@ var setAccessor = (e, t, n, r, o, l, i) => {
701
760
  } else {
702
761
  t = f[2] + t.slice(3);
703
762
  }
704
- if (n || r) {
705
- const o = t.endsWith(k);
706
- t = t.replace(N, "");
763
+ if (n || o) {
764
+ const r = t.endsWith(E);
765
+ t = t.replace(x, "");
707
766
  if (n) {
708
- v.rel(e, t, n, o);
767
+ d.rel(e, t, n, r);
709
768
  }
710
- if (r) {
711
- v.ael(e, t, r, o);
769
+ if (o) {
770
+ d.ael(e, t, o, r);
712
771
  }
713
772
  }
714
773
  } else {
715
- const i = isComplexType(r);
716
- if ((s || i && r !== null) && !o) {
774
+ const i = isComplexType(o);
775
+ if ((s || i && o !== null) && !r) {
717
776
  try {
718
777
  if (!e.tagName.includes("-")) {
719
- const o = r == null ? "" : r;
778
+ const r = o == null ? "" : o;
720
779
  if (t === "list") {
721
780
  s = false;
722
- } else if (n == null || e[t] != o) {
781
+ } else if (n == null || e[t] != r) {
723
782
  if (typeof e.__lookupSetter__(t) === "function") {
724
- e[t] = o;
783
+ e[t] = r;
725
784
  } else {
726
- e.setAttribute(t, o);
785
+ e.setAttribute(t, r);
727
786
  }
728
787
  }
729
- } else if (e[t] !== r) {
730
- e[t] = r;
788
+ } else if (e[t] !== o) {
789
+ e[t] = o;
731
790
  }
732
791
  } catch (e) {}
733
792
  }
@@ -738,26 +797,26 @@ var setAccessor = (e, t, n, r, o, l, i) => {
738
797
  a = true;
739
798
  }
740
799
  }
741
- if (r == null || r === false) {
742
- if (r !== false || e.getAttribute(t) === "") {
800
+ if (o == null || o === false) {
801
+ if (o !== false || e.getAttribute(t) === "") {
743
802
  if (a) {
744
803
  e.removeAttributeNS(c, t);
745
804
  } else {
746
805
  e.removeAttribute(t);
747
806
  }
748
807
  }
749
- } else if ((!s || l & 4 /* isHost */ || o) && !i && e.nodeType === 1 /* ElementNode */) {
750
- r = r === true ? "" : r;
808
+ } else if ((!s || l & 4 /* isHost */ || r) && !i && e.nodeType === 1 /* ElementNode */) {
809
+ o = o === true ? "" : o;
751
810
  if (a) {
752
- e.setAttributeNS(c, t, r);
811
+ e.setAttributeNS(c, t, o);
753
812
  } else {
754
- e.setAttribute(t, r);
813
+ e.setAttribute(t, o);
755
814
  }
756
815
  }
757
816
  }
758
817
  };
759
818
 
760
- var O = /\s/;
819
+ var k = /\s/;
761
820
 
762
821
  var parseClassList = e => {
763
822
  if (typeof e === "object" && e && "baseVal" in e) {
@@ -766,27 +825,27 @@ var parseClassList = e => {
766
825
  if (!e || typeof e !== "string") {
767
826
  return [];
768
827
  }
769
- return e.split(O);
828
+ return e.split(k);
770
829
  };
771
830
 
772
- var k = "Capture";
831
+ var E = "Capture";
773
832
 
774
- var N = new RegExp(k + "$");
833
+ var x = new RegExp(E + "$");
775
834
 
776
835
  // src/runtime/vdom/update-element.ts
777
- var updateElement = (e, t, n, r) => {
778
- const o = t._$$elm$$_.nodeType === 11 /* DocumentFragment */ && t._$$elm$$_.host ? t._$$elm$$_.host : t._$$elm$$_;
836
+ var updateElement = (e, t, n, o) => {
837
+ const r = t._$$elm$$_.nodeType === 11 /* DocumentFragment */ && t._$$elm$$_.host ? t._$$elm$$_.host : t._$$elm$$_;
779
838
  const l = e && e._$$attrs$$_ || {};
780
839
  const i = t._$$attrs$$_ || {};
781
840
  {
782
841
  for (const e of sortedAttrNames(Object.keys(l))) {
783
842
  if (!(e in i)) {
784
- setAccessor(o, e, l[e], void 0, n, t._$$flags$$_);
843
+ setAccessor(r, e, l[e], void 0, n, t._$$flags$$_);
785
844
  }
786
845
  }
787
846
  }
788
847
  for (const e of sortedAttrNames(Object.keys(i))) {
789
- setAccessor(o, e, l[e], i[e], n, t._$$flags$$_);
848
+ setAccessor(r, e, l[e], i[e], n, t._$$flags$$_);
790
849
  }
791
850
  };
792
851
 
@@ -798,27 +857,27 @@ function sortedAttrNames(e) {
798
857
  e;
799
858
  }
800
859
 
801
- var C;
860
+ var R;
802
861
 
803
- var E;
862
+ var M;
804
863
 
805
- var R = false;
864
+ var A = false;
806
865
 
807
- var M = false;
866
+ var T = false;
808
867
 
809
- var x = false;
868
+ var F = false;
810
869
 
811
- var T = false;
870
+ var L = false;
812
871
 
813
- var createElm = (e, n, r) => {
872
+ var createElm = (e, n, o) => {
814
873
  var i;
815
- const s = n._$$children$$_[r];
874
+ const s = n._$$children$$_[o];
816
875
  let f = 0;
817
876
  let a;
818
877
  let c;
819
878
  let v;
820
- if (!R) {
821
- x = true;
879
+ if (!A) {
880
+ F = true;
822
881
  if (s._$$tag$$_ === "slot") {
823
882
  s._$$flags$$_ |= s._$$children$$_ ?
824
883
  // slot element has fallback content
@@ -835,21 +894,21 @@ var createElm = (e, n, r) => {
835
894
  } else if (s._$$flags$$_ & 1 /* isSlotReference */) {
836
895
  a = s._$$elm$$_ = slotReferenceDebugNode(s);
837
896
  {
838
- updateElement(null, s, T);
897
+ updateElement(null, s, L);
839
898
  }
840
899
  } else {
841
- if (!T) {
842
- T = s._$$tag$$_ === "svg";
900
+ if (!L) {
901
+ L = s._$$tag$$_ === "svg";
843
902
  }
844
903
  if (!u.document) {
845
904
  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.");
846
905
  }
847
- a = s._$$elm$$_ = u.document.createElementNS(T ? o : l, !R && t.slotRelocation && s._$$flags$$_ & 2 /* isSlotFallback */ ? "slot-fb" : s._$$tag$$_);
848
- if (T && s._$$tag$$_ === "foreignObject") {
849
- T = false;
906
+ a = s._$$elm$$_ = u.document.createElementNS(L ? r : l, !A && t.slotRelocation && s._$$flags$$_ & 2 /* isSlotFallback */ ? "slot-fb" : s._$$tag$$_);
907
+ if (L && s._$$tag$$_ === "foreignObject") {
908
+ L = false;
850
909
  }
851
910
  {
852
- updateElement(null, s, T);
911
+ updateElement(null, s, L);
853
912
  }
854
913
  if (s._$$children$$_) {
855
914
  for (f = 0; f < s._$$children$$_.length; ++f) {
@@ -861,24 +920,24 @@ var createElm = (e, n, r) => {
861
920
  }
862
921
  {
863
922
  if (s._$$tag$$_ === "svg") {
864
- T = false;
923
+ L = false;
865
924
  } else if (a.tagName === "foreignObject") {
866
- T = true;
925
+ L = true;
867
926
  }
868
927
  }
869
928
  }
870
- a["s-hn"] = E;
929
+ a["s-hn"] = M;
871
930
  {
872
931
  if (s._$$flags$$_ & (2 /* isSlotFallback */ | 1 /* isSlotReference */)) {
873
932
  a["s-sr"] = true;
874
- a["s-cr"] = C;
933
+ a["s-cr"] = R;
875
934
  a["s-sn"] = s._$$name$$_ || "";
876
935
  a["s-rf"] = (i = s._$$attrs$$_) == null ? void 0 : i.ref;
877
936
  patchSlotNode(a);
878
- v = e && e._$$children$$_ && e._$$children$$_[r];
937
+ v = e && e._$$children$$_ && e._$$children$$_[o];
879
938
  if (v && v._$$tag$$_ === s._$$tag$$_ && e._$$elm$$_) {
880
939
  {
881
- putBackInOriginalLocation(e._$$elm$$_, false);
940
+ relocateToHostRoot(e._$$elm$$_);
882
941
  }
883
942
  }
884
943
  }
@@ -886,36 +945,61 @@ var createElm = (e, n, r) => {
886
945
  return a;
887
946
  };
888
947
 
889
- var putBackInOriginalLocation = (e, t) => {
890
- v._$$flags$$_ |= 1 /* isTmpDisconnected */;
891
- const n = Array.from(e.__childNodes || e.childNodes);
892
- for (let e = n.length - 1; e >= 0; e--) {
893
- const r = n[e];
894
- if (r["s-hn"] !== E && r["s-ol"]) {
895
- insertBefore(referenceNode(r).parentNode, r, referenceNode(r));
896
- r["s-ol"].remove();
897
- r["s-ol"] = void 0;
898
- r["s-sh"] = void 0;
899
- x = true;
948
+ var relocateToHostRoot = e => {
949
+ d._$$flags$$_ |= 1 /* isTmpDisconnected */;
950
+ const t = e.closest(M.toLowerCase());
951
+ if (t != null) {
952
+ const n = Array.from(t.__childNodes || t.childNodes).find((e => e["s-cr"]));
953
+ const o = Array.from(e.__childNodes || e.childNodes);
954
+ for (const e of n ? o.reverse() : o) {
955
+ if (e["s-sh"] != null) {
956
+ insertBefore(t, e, n != null ? n : null);
957
+ e["s-sh"] = void 0;
958
+ F = true;
959
+ }
900
960
  }
901
- if (t) {
902
- putBackInOriginalLocation(r, t);
961
+ }
962
+ d._$$flags$$_ &= -2 /* isTmpDisconnected */;
963
+ };
964
+
965
+ var putBackInOriginalLocation = (e, n) => {
966
+ d._$$flags$$_ |= 1 /* isTmpDisconnected */;
967
+ const o = Array.from(e.__childNodes || e.childNodes);
968
+ if (e["s-sr"] && t.experimentalSlotFixes) {
969
+ let t = e;
970
+ while (t = t.nextSibling) {
971
+ if (t && t["s-sn"] === e["s-sn"] && t["s-sh"] === M) {
972
+ o.push(t);
973
+ }
903
974
  }
904
975
  }
905
- v._$$flags$$_ &= -2 /* isTmpDisconnected */;
976
+ for (let e = o.length - 1; e >= 0; e--) {
977
+ const t = o[e];
978
+ if (t["s-hn"] !== M && t["s-ol"]) {
979
+ insertBefore(referenceNode(t).parentNode, t, referenceNode(t));
980
+ t["s-ol"].remove();
981
+ t["s-ol"] = void 0;
982
+ t["s-sh"] = void 0;
983
+ F = true;
984
+ }
985
+ if (n) {
986
+ putBackInOriginalLocation(t, n);
987
+ }
988
+ }
989
+ d._$$flags$$_ &= -2 /* isTmpDisconnected */;
906
990
  };
907
991
 
908
- var addVnodes = (e, t, n, r, o, l) => {
992
+ var addVnodes = (e, t, n, o, r, l) => {
909
993
  let i = e["s-cr"] && e["s-cr"].parentNode || e;
910
994
  let s;
911
- if (i.shadowRoot && i.tagName === E) {
995
+ if (i.shadowRoot && i.tagName === M) {
912
996
  i = i.shadowRoot;
913
997
  }
914
- for (;o <= l; ++o) {
915
- if (r[o]) {
916
- s = createElm(null, n, o);
998
+ for (;r <= l; ++r) {
999
+ if (o[r]) {
1000
+ s = createElm(null, n, r);
917
1001
  if (s) {
918
- r[o]._$$elm$$_ = s;
1002
+ o[r]._$$elm$$_ = s;
919
1003
  insertBefore(i, s, referenceNode(t));
920
1004
  }
921
1005
  }
@@ -923,14 +1007,14 @@ var addVnodes = (e, t, n, r, o, l) => {
923
1007
  };
924
1008
 
925
1009
  var removeVnodes = (e, t, n) => {
926
- for (let r = t; r <= n; ++r) {
927
- const t = e[r];
1010
+ for (let o = t; o <= n; ++o) {
1011
+ const t = e[o];
928
1012
  if (t) {
929
1013
  const e = t._$$elm$$_;
930
1014
  nullifyVNodeRefs(t);
931
1015
  if (e) {
932
1016
  {
933
- M = true;
1017
+ T = true;
934
1018
  if (e["s-ol"]) {
935
1019
  e["s-ol"].remove();
936
1020
  } else {
@@ -943,7 +1027,7 @@ var removeVnodes = (e, t, n) => {
943
1027
  }
944
1028
  };
945
1029
 
946
- var updateChildren = (e, t, n, r, o = false) => {
1030
+ var updateChildren = (e, t, n, o, r = false) => {
947
1031
  let l = 0;
948
1032
  let i = 0;
949
1033
  let s = 0;
@@ -951,9 +1035,9 @@ var updateChildren = (e, t, n, r, o = false) => {
951
1035
  let a = t.length - 1;
952
1036
  let c = t[0];
953
1037
  let u = t[a];
954
- let v = r.length - 1;
955
- let d = r[0];
956
- let p = r[v];
1038
+ let v = o.length - 1;
1039
+ let d = o[0];
1040
+ let p = o[v];
957
1041
  let m;
958
1042
  let y;
959
1043
  while (l <= a && i <= v) {
@@ -962,33 +1046,33 @@ var updateChildren = (e, t, n, r, o = false) => {
962
1046
  } else if (u == null) {
963
1047
  u = t[--a];
964
1048
  } else if (d == null) {
965
- d = r[++i];
1049
+ d = o[++i];
966
1050
  } else if (p == null) {
967
- p = r[--v];
968
- } else if (isSameVnode(c, d, o)) {
969
- patch(c, d, o);
1051
+ p = o[--v];
1052
+ } else if (isSameVnode(c, d, r)) {
1053
+ patch(c, d, r);
970
1054
  c = t[++l];
971
- d = r[++i];
972
- } else if (isSameVnode(u, p, o)) {
973
- patch(u, p, o);
1055
+ d = o[++i];
1056
+ } else if (isSameVnode(u, p, r)) {
1057
+ patch(u, p, r);
974
1058
  u = t[--a];
975
- p = r[--v];
976
- } else if (isSameVnode(c, p, o)) {
1059
+ p = o[--v];
1060
+ } else if (isSameVnode(c, p, r)) {
977
1061
  if (c._$$tag$$_ === "slot" || p._$$tag$$_ === "slot") {
978
1062
  putBackInOriginalLocation(c._$$elm$$_.parentNode, false);
979
1063
  }
980
- patch(c, p, o);
1064
+ patch(c, p, r);
981
1065
  insertBefore(e, c._$$elm$$_, u._$$elm$$_.nextSibling);
982
1066
  c = t[++l];
983
- p = r[--v];
984
- } else if (isSameVnode(u, d, o)) {
1067
+ p = o[--v];
1068
+ } else if (isSameVnode(u, d, r)) {
985
1069
  if (c._$$tag$$_ === "slot" || p._$$tag$$_ === "slot") {
986
1070
  putBackInOriginalLocation(u._$$elm$$_.parentNode, false);
987
1071
  }
988
- patch(u, d, o);
1072
+ patch(u, d, r);
989
1073
  insertBefore(e, u._$$elm$$_, c._$$elm$$_);
990
1074
  u = t[--a];
991
- d = r[++i];
1075
+ d = o[++i];
992
1076
  } else {
993
1077
  s = -1;
994
1078
  {
@@ -1004,14 +1088,14 @@ var updateChildren = (e, t, n, r, o = false) => {
1004
1088
  if (y._$$tag$$_ !== d._$$tag$$_) {
1005
1089
  m = createElm(t && t[i], n, s);
1006
1090
  } else {
1007
- patch(y, d, o);
1091
+ patch(y, d, r);
1008
1092
  t[s] = void 0;
1009
1093
  m = y._$$elm$$_;
1010
1094
  }
1011
- d = r[++i];
1095
+ d = o[++i];
1012
1096
  } else {
1013
1097
  m = createElm(t && t[i], n, i);
1014
- d = r[++i];
1098
+ d = o[++i];
1015
1099
  }
1016
1100
  if (m) {
1017
1101
  {
@@ -1021,7 +1105,7 @@ var updateChildren = (e, t, n, r, o = false) => {
1021
1105
  }
1022
1106
  }
1023
1107
  if (l > a) {
1024
- addVnodes(e, r[v + 1] == null ? null : r[v + 1]._$$elm$$_, n, r, i, v);
1108
+ addVnodes(e, o[v + 1] == null ? null : o[v + 1]._$$elm$$_, n, o, i, v);
1025
1109
  } else if (i > v) {
1026
1110
  removeVnodes(t, l, a);
1027
1111
  }
@@ -1045,8 +1129,8 @@ var isSameVnode = (e, t, n = false) => {
1045
1129
 
1046
1130
  var referenceNode = e => e && e["s-ol"] || e;
1047
1131
 
1048
- var patch = (e, n, r = false) => {
1049
- const o = n._$$elm$$_ = e._$$elm$$_;
1132
+ var patch = (e, n, o = false) => {
1133
+ const r = n._$$elm$$_ = e._$$elm$$_;
1050
1134
  const l = e._$$children$$_;
1051
1135
  const i = n._$$children$$_;
1052
1136
  const s = n._$$tag$$_;
@@ -1054,73 +1138,79 @@ var patch = (e, n, r = false) => {
1054
1138
  let a;
1055
1139
  if (f === null) {
1056
1140
  {
1057
- T = s === "svg" ? true : s === "foreignObject" ? false : T;
1141
+ L = s === "svg" ? true : s === "foreignObject" ? false : L;
1058
1142
  }
1059
1143
  {
1060
- updateElement(e, n, T);
1144
+ if (s === "slot" && !A) {
1145
+ if (e._$$name$$_ !== n._$$name$$_) {
1146
+ n._$$elm$$_["s-sn"] = n._$$name$$_ || "";
1147
+ relocateToHostRoot(n._$$elm$$_.parentElement);
1148
+ }
1149
+ }
1150
+ updateElement(e, n, L);
1061
1151
  }
1062
1152
  if (l !== null && i !== null) {
1063
- updateChildren(o, l, n, i, r);
1153
+ updateChildren(r, l, n, i, o);
1064
1154
  } else if (i !== null) {
1065
1155
  if (e._$$text$$_ !== null) {
1066
- o.textContent = "";
1156
+ r.textContent = "";
1067
1157
  }
1068
- addVnodes(o, null, n, i, 0, i.length - 1);
1158
+ addVnodes(r, null, n, i, 0, i.length - 1);
1069
1159
  } else if (
1070
1160
  // don't do this on initial render as it can cause non-hydrated content to be removed
1071
- !r && t.updatable && l !== null) {
1161
+ !o && t.updatable && l !== null) {
1072
1162
  removeVnodes(l, 0, l.length - 1);
1073
1163
  }
1074
- if (T && s === "svg") {
1075
- T = false;
1164
+ if (L && s === "svg") {
1165
+ L = false;
1076
1166
  }
1077
- } else if (a = o["s-cr"]) {
1167
+ } else if (a = r["s-cr"]) {
1078
1168
  a.parentNode.textContent = f;
1079
1169
  } else if (e._$$text$$_ !== f) {
1080
- o.data = f;
1170
+ r.data = f;
1081
1171
  }
1082
1172
  };
1083
1173
 
1084
- var L = [];
1174
+ var U = [];
1085
1175
 
1086
1176
  var markSlotContentForRelocation = e => {
1087
1177
  let t;
1088
1178
  let n;
1089
- let r;
1090
- const o = e.__childNodes || e.childNodes;
1091
- for (const e of o) {
1179
+ let o;
1180
+ const r = e.__childNodes || e.childNodes;
1181
+ for (const e of r) {
1092
1182
  if (e["s-sr"] && (t = e["s-cr"]) && t.parentNode) {
1093
1183
  n = t.parentNode.__childNodes || t.parentNode.childNodes;
1094
- const o = e["s-sn"];
1095
- for (r = n.length - 1; r >= 0; r--) {
1096
- t = n[r];
1097
- if (!t["s-cn"] && !t["s-nr"] && t["s-hn"] !== e["s-hn"] && true) {
1098
- if (isNodeLocatedInSlot(t, o)) {
1099
- let n = L.find((e => e._$$nodeToRelocate$$_ === t));
1100
- M = true;
1101
- t["s-sn"] = t["s-sn"] || o;
1184
+ const r = e["s-sn"];
1185
+ for (o = n.length - 1; o >= 0; o--) {
1186
+ t = n[o];
1187
+ if (!t["s-cn"] && !t["s-nr"] && t["s-hn"] !== e["s-hn"] && (!t["s-sh"] || t["s-sh"] !== e["s-hn"])) {
1188
+ if (isNodeLocatedInSlot(t, r)) {
1189
+ let n = U.find((e => e._$$nodeToRelocate$$_ === t));
1190
+ T = true;
1191
+ t["s-sn"] = t["s-sn"] || r;
1102
1192
  if (n) {
1103
1193
  n._$$nodeToRelocate$$_["s-sh"] = e["s-hn"];
1104
1194
  n._$$slotRefNode$$_ = e;
1105
1195
  } else {
1106
1196
  t["s-sh"] = e["s-hn"];
1107
- L.push({
1197
+ U.push({
1108
1198
  _$$slotRefNode$$_: e,
1109
1199
  _$$nodeToRelocate$$_: t
1110
1200
  });
1111
1201
  }
1112
1202
  if (t["s-sr"]) {
1113
- L.map((e => {
1203
+ U.map((e => {
1114
1204
  if (isNodeLocatedInSlot(e._$$nodeToRelocate$$_, t["s-sn"])) {
1115
- n = L.find((e => e._$$nodeToRelocate$$_ === t));
1205
+ n = U.find((e => e._$$nodeToRelocate$$_ === t));
1116
1206
  if (n && !e._$$slotRefNode$$_) {
1117
1207
  e._$$slotRefNode$$_ = n._$$slotRefNode$$_;
1118
1208
  }
1119
1209
  }
1120
1210
  }));
1121
1211
  }
1122
- } else if (!L.some((e => e._$$nodeToRelocate$$_ === t))) {
1123
- L.push({
1212
+ } else if (!U.some((e => e._$$nodeToRelocate$$_ === t))) {
1213
+ U.push({
1124
1214
  _$$nodeToRelocate$$_: t
1125
1215
  });
1126
1216
  }
@@ -1141,45 +1231,56 @@ var nullifyVNodeRefs = e => {
1141
1231
  };
1142
1232
 
1143
1233
  var insertBefore = (e, t, n) => {
1144
- {
1234
+ if (typeof t["s-sn"] === "string") {
1235
+ if (e.getRootNode().nodeType !== 11 /* DOCUMENT_FRAGMENT_NODE */) {
1236
+ patchParentNode(t);
1237
+ }
1238
+ e.insertBefore(t, n);
1239
+ const {slotNode: o} = findSlotFromSlottedNode(t);
1240
+ if (o) dispatchSlotChangeEvent(o);
1241
+ return t;
1242
+ }
1243
+ if (e.__insertBefore) {
1244
+ return e.__insertBefore(t, n);
1245
+ } else {
1145
1246
  return e == null ? void 0 : e.insertBefore(t, n);
1146
1247
  }
1147
1248
  };
1148
1249
 
1149
1250
  var renderVdom = (e, t, n = false) => {
1150
- var r, o, l, i;
1151
- const s = e.$hostElement$;
1152
- const f = e._$$cmpMeta$$_;
1153
- const a = e._$$vnode$$_ || newVNode(null, null);
1154
- const c = isHost(t);
1155
- const d = c ? t : h(null, null, t);
1156
- E = s.tagName;
1157
- if (f._$$attrsToReflect$$_) {
1158
- d._$$attrs$$_ = d._$$attrs$$_ || {};
1159
- f._$$attrsToReflect$$_.map((([e, t]) => d._$$attrs$$_[t] = s[e]));
1160
- }
1161
- if (n && d._$$attrs$$_) {
1162
- for (const e of Object.keys(d._$$attrs$$_)) {
1163
- if (s.hasAttribute(e) && ![ "key", "ref", "style", "class" ].includes(e)) {
1164
- d._$$attrs$$_[e] = s[e];
1165
- }
1166
- }
1167
- }
1168
- d._$$tag$$_ = null;
1169
- d._$$flags$$_ |= 4 /* isHost */;
1170
- e._$$vnode$$_ = d;
1171
- d._$$elm$$_ = a._$$elm$$_ = s.shadowRoot || s;
1172
- R = !!(f._$$flags$$_ & 1 /* shadowDomEncapsulation */) && !(f._$$flags$$_ & 128 /* shadowNeedsScopedCss */);
1251
+ var o, r, l, i, s;
1252
+ const f = e.$hostElement$;
1253
+ const a = e._$$cmpMeta$$_;
1254
+ const c = e._$$vnode$$_ || newVNode(null, null);
1255
+ const v = isHost(t);
1256
+ const p = v ? t : h(null, null, t);
1257
+ M = f.tagName;
1258
+ if (a._$$attrsToReflect$$_) {
1259
+ p._$$attrs$$_ = p._$$attrs$$_ || {};
1260
+ a._$$attrsToReflect$$_.map((([e, t]) => p._$$attrs$$_[t] = f[e]));
1261
+ }
1262
+ if (n && p._$$attrs$$_) {
1263
+ for (const e of Object.keys(p._$$attrs$$_)) {
1264
+ if (f.hasAttribute(e) && ![ "key", "ref", "style", "class" ].includes(e)) {
1265
+ p._$$attrs$$_[e] = f[e];
1266
+ }
1267
+ }
1268
+ }
1269
+ p._$$tag$$_ = null;
1270
+ p._$$flags$$_ |= 4 /* isHost */;
1271
+ e._$$vnode$$_ = p;
1272
+ p._$$elm$$_ = c._$$elm$$_ = f.shadowRoot || f;
1273
+ A = !!(a._$$flags$$_ & 1 /* shadowDomEncapsulation */) && !(a._$$flags$$_ & 128 /* shadowNeedsScopedCss */);
1173
1274
  {
1174
- C = s["s-cr"];
1175
- M = false;
1275
+ R = f["s-cr"];
1276
+ T = false;
1176
1277
  }
1177
- patch(a, d, n);
1278
+ patch(c, p, n);
1178
1279
  {
1179
- v._$$flags$$_ |= 1 /* isTmpDisconnected */;
1180
- if (x) {
1181
- markSlotContentForRelocation(d._$$elm$$_);
1182
- for (const e of L) {
1280
+ d._$$flags$$_ |= 1 /* isTmpDisconnected */;
1281
+ if (F) {
1282
+ markSlotContentForRelocation(p._$$elm$$_);
1283
+ for (const e of U) {
1183
1284
  const t = e._$$nodeToRelocate$$_;
1184
1285
  if (!t["s-ol"] && u.document) {
1185
1286
  const e = originalLocationDebugNode(t);
@@ -1187,23 +1288,23 @@ var renderVdom = (e, t, n = false) => {
1187
1288
  insertBefore(t.parentNode, t["s-ol"] = e, t);
1188
1289
  }
1189
1290
  }
1190
- for (const e of L) {
1291
+ for (const e of U) {
1191
1292
  const t = e._$$nodeToRelocate$$_;
1192
1293
  const s = e._$$slotRefNode$$_;
1193
1294
  if (s) {
1194
1295
  const e = s.parentNode;
1195
1296
  let n = s.nextSibling;
1196
- {
1197
- let l = (r = t["s-ol"]) == null ? void 0 : r.previousSibling;
1297
+ if (n && n.nodeType === 1 /* ElementNode */) {
1298
+ let l = (o = t["s-ol"]) == null ? void 0 : o.previousSibling;
1198
1299
  while (l) {
1199
- let r = (o = l["s-nr"]) != null ? o : null;
1200
- if (r && r["s-sn"] === t["s-sn"] && e === (r.__parentNode || r.parentNode)) {
1201
- r = r.nextSibling;
1202
- while (r === t || (r == null ? void 0 : r["s-sr"])) {
1203
- r = r == null ? void 0 : r.nextSibling;
1300
+ let o = (r = l["s-nr"]) != null ? r : null;
1301
+ if (o && o["s-sn"] === t["s-sn"] && e === (o.__parentNode || o.parentNode)) {
1302
+ o = o.nextSibling;
1303
+ while (o === t || (o == null ? void 0 : o["s-sr"])) {
1304
+ o = o == null ? void 0 : o.nextSibling;
1204
1305
  }
1205
- if (!r || !r["s-nr"]) {
1206
- n = r;
1306
+ if (!o || !o["s-nr"]) {
1307
+ n = o;
1207
1308
  break;
1208
1309
  }
1209
1310
  }
@@ -1214,9 +1315,6 @@ var renderVdom = (e, t, n = false) => {
1214
1315
  const f = t.__nextSibling || t.nextSibling;
1215
1316
  if (!n && e !== i || f !== n) {
1216
1317
  if (t !== n) {
1217
- if (!t["s-hn"] && t["s-ol"]) {
1218
- t["s-hn"] = t["s-ol"].parentNode.nodeName;
1219
- }
1220
1318
  insertBefore(e, t, n);
1221
1319
  if (t.nodeType === 1 /* ElementNode */ && t.tagName !== "SLOT-FB") {
1222
1320
  t.hidden = (l = t["s-ih"]) != null ? l : false;
@@ -1234,18 +1332,29 @@ var renderVdom = (e, t, n = false) => {
1234
1332
  }
1235
1333
  }
1236
1334
  }
1237
- if (M) {
1238
- updateFallbackSlotVisibility(d._$$elm$$_);
1335
+ if (T) {
1336
+ updateFallbackSlotVisibility(p._$$elm$$_);
1337
+ }
1338
+ d._$$flags$$_ &= -2 /* isTmpDisconnected */;
1339
+ U.length = 0;
1340
+ }
1341
+ if (a._$$flags$$_ & 2 /* scopedCssEncapsulation */) {
1342
+ const e = p._$$elm$$_.__childNodes || p._$$elm$$_.childNodes;
1343
+ for (const t of e) {
1344
+ if (t["s-hn"] !== M && !t["s-sh"]) {
1345
+ if (n && t["s-ih"] == null) {
1346
+ t["s-ih"] = (s = t.hidden) != null ? s : false;
1347
+ }
1348
+ t.hidden = true;
1349
+ }
1239
1350
  }
1240
- v._$$flags$$_ &= -2 /* isTmpDisconnected */;
1241
- L.length = 0;
1242
1351
  }
1243
- C = void 0;
1352
+ R = void 0;
1244
1353
  };
1245
1354
 
1246
1355
  var slotReferenceDebugNode = e => {
1247
1356
  var t;
1248
- return (t = u.document) == null ? void 0 : t.createComment(`<slot${e._$$name$$_ ? ' name="' + e._$$name$$_ + '"' : ""}> (host=${E.toLowerCase()})`);
1357
+ return (t = u.document) == null ? void 0 : t.createComment(`<slot${e._$$name$$_ ? ' name="' + e._$$name$$_ + '"' : ""}> (host=${M.toLowerCase()})`);
1249
1358
  };
1250
1359
 
1251
1360
  var originalLocationDebugNode = e => {
@@ -1256,9 +1365,9 @@ var originalLocationDebugNode = e => {
1256
1365
  // src/runtime/update-component.ts
1257
1366
  var attachToAncestor = (e, t) => {
1258
1367
  if (t && !e._$$onRenderResolve$$_ && t["s-p"]) {
1259
- const n = t["s-p"].push(new Promise((r => e._$$onRenderResolve$$_ = () => {
1368
+ const n = t["s-p"].push(new Promise((o => e._$$onRenderResolve$$_ = () => {
1260
1369
  t["s-p"].splice(n - 1, 1);
1261
- r();
1370
+ o();
1262
1371
  })));
1263
1372
  }
1264
1373
  };
@@ -1273,14 +1382,14 @@ var scheduleUpdate = (e, t) => {
1273
1382
  }
1274
1383
  attachToAncestor(e, e._$$ancestorComponent$$_);
1275
1384
  const dispatch = () => dispatchHooks(e, t);
1276
- return b(dispatch);
1385
+ return g(dispatch);
1277
1386
  };
1278
1387
 
1279
1388
  var dispatchHooks = (e, t) => {
1280
1389
  const n = e.$hostElement$;
1281
- const r = createTime("scheduleUpdate", e._$$cmpMeta$$_._$$tagName$$_);
1282
- const o = e._$$lazyInstance$$_;
1283
- if (!o) {
1390
+ const o = createTime("scheduleUpdate", e._$$cmpMeta$$_._$$tagName$$_);
1391
+ const r = e._$$lazyInstance$$_;
1392
+ if (!r) {
1284
1393
  throw new Error(`Can't render component <${n.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`);
1285
1394
  }
1286
1395
  let l;
@@ -1288,20 +1397,20 @@ var dispatchHooks = (e, t) => {
1288
1397
  {
1289
1398
  e._$$flags$$_ |= 256 /* isListenReady */;
1290
1399
  if (e._$$queuedListeners$$_) {
1291
- e._$$queuedListeners$$_.map((([e, t]) => safeCall(o, e, t, n)));
1400
+ e._$$queuedListeners$$_.map((([e, t]) => safeCall(r, e, t, n)));
1292
1401
  e._$$queuedListeners$$_ = void 0;
1293
1402
  }
1294
1403
  }
1295
1404
  emitLifecycleEvent(n, "componentWillLoad");
1296
- l = safeCall(o, "componentWillLoad", void 0, n);
1405
+ l = safeCall(r, "componentWillLoad", void 0, n);
1297
1406
  } else {
1298
1407
  emitLifecycleEvent(n, "componentWillUpdate");
1299
- l = safeCall(o, "componentWillUpdate", void 0, n);
1408
+ l = safeCall(r, "componentWillUpdate", void 0, n);
1300
1409
  }
1301
1410
  emitLifecycleEvent(n, "componentWillRender");
1302
- l = enqueue(l, (() => safeCall(o, "componentWillRender", void 0, n)));
1303
- r();
1304
- return enqueue(l, (() => updateComponent(e, o, t)));
1411
+ l = enqueue(l, (() => safeCall(r, "componentWillRender", void 0, n)));
1412
+ o();
1413
+ return enqueue(l, (() => updateComponent(e, r, t)));
1305
1414
  };
1306
1415
 
1307
1416
  var enqueue = (e, t) => isPromisey(e) ? e.then(t).catch((e => {
@@ -1312,25 +1421,25 @@ var enqueue = (e, t) => isPromisey(e) ? e.then(t).catch((e => {
1312
1421
  var isPromisey = e => e instanceof Promise || e && e.then && typeof e.then === "function";
1313
1422
 
1314
1423
  var updateComponent = async (e, t, n) => {
1315
- var r;
1316
- const o = e.$hostElement$;
1424
+ var o;
1425
+ const r = e.$hostElement$;
1317
1426
  const l = createTime("update", e._$$cmpMeta$$_._$$tagName$$_);
1318
- const i = o["s-rc"];
1427
+ const i = r["s-rc"];
1319
1428
  if (n) {
1320
1429
  attachStyles(e);
1321
1430
  }
1322
1431
  const s = createTime("render", e._$$cmpMeta$$_._$$tagName$$_);
1323
1432
  {
1324
- callRender(e, t, o, n);
1433
+ callRender(e, t, r, n);
1325
1434
  }
1326
1435
  if (i) {
1327
1436
  i.map((e => e()));
1328
- o["s-rc"] = void 0;
1437
+ r["s-rc"] = void 0;
1329
1438
  }
1330
1439
  s();
1331
1440
  l();
1332
1441
  {
1333
- const t = (r = o["s-p"]) != null ? r : [];
1442
+ const t = (o = r["s-p"]) != null ? o : [];
1334
1443
  const postUpdate = () => postUpdateComponent(e);
1335
1444
  if (t.length === 0) {
1336
1445
  postUpdate();
@@ -1342,7 +1451,7 @@ var updateComponent = async (e, t, n) => {
1342
1451
  }
1343
1452
  };
1344
1453
 
1345
- var callRender = (e, t, n, r) => {
1454
+ var callRender = (e, t, n, o) => {
1346
1455
  try {
1347
1456
  t = t.render && t.render();
1348
1457
  {
@@ -1354,7 +1463,7 @@ var callRender = (e, t, n, r) => {
1354
1463
  {
1355
1464
  {
1356
1465
  {
1357
- renderVdom(e, t, r);
1466
+ renderVdom(e, t, o);
1358
1467
  }
1359
1468
  }
1360
1469
  }
@@ -1367,19 +1476,19 @@ var callRender = (e, t, n, r) => {
1367
1476
  var postUpdateComponent = e => {
1368
1477
  const t = e._$$cmpMeta$$_._$$tagName$$_;
1369
1478
  const n = e.$hostElement$;
1370
- const r = createTime("postUpdate", t);
1371
- const o = e._$$lazyInstance$$_;
1479
+ const o = createTime("postUpdate", t);
1480
+ const r = e._$$lazyInstance$$_;
1372
1481
  const l = e._$$ancestorComponent$$_;
1373
- safeCall(o, "componentDidRender", void 0, n);
1482
+ safeCall(r, "componentDidRender", void 0, n);
1374
1483
  emitLifecycleEvent(n, "componentDidRender");
1375
1484
  if (!(e._$$flags$$_ & 64 /* hasLoadedComponent */)) {
1376
1485
  e._$$flags$$_ |= 64 /* hasLoadedComponent */;
1377
1486
  {
1378
1487
  addHydratedFlag(n);
1379
1488
  }
1380
- safeCall(o, "componentDidLoad", void 0, n);
1489
+ safeCall(r, "componentDidLoad", void 0, n);
1381
1490
  emitLifecycleEvent(n, "componentDidLoad");
1382
- r();
1491
+ o();
1383
1492
  {
1384
1493
  e._$$onReadyResolve$$_(n);
1385
1494
  if (!l) {
@@ -1387,9 +1496,9 @@ var postUpdateComponent = e => {
1387
1496
  }
1388
1497
  }
1389
1498
  } else {
1390
- safeCall(o, "componentDidUpdate", void 0, n);
1499
+ safeCall(r, "componentDidUpdate", void 0, n);
1391
1500
  emitLifecycleEvent(n, "componentDidUpdate");
1392
- r();
1501
+ o();
1393
1502
  }
1394
1503
  {
1395
1504
  e._$$onInstanceResolve$$_(n);
@@ -1414,12 +1523,12 @@ var appDidLoad = t => {
1414
1523
  })));
1415
1524
  };
1416
1525
 
1417
- var safeCall = (e, t, n, r) => {
1526
+ var safeCall = (e, t, n, o) => {
1418
1527
  if (e && e[t]) {
1419
1528
  try {
1420
1529
  return e[t](n);
1421
1530
  } catch (e) {
1422
- consoleError(e, r);
1531
+ consoleError(e, o);
1423
1532
  }
1424
1533
  }
1425
1534
  return void 0;
@@ -1445,23 +1554,23 @@ var addHydratedFlag = e => {
1445
1554
  // src/runtime/set-value.ts
1446
1555
  var getValue = (e, t) => getHostRef(e)._$$instanceValues$$_.get(t);
1447
1556
 
1448
- var setValue = (e, t, n, r) => {
1449
- const o = getHostRef(e);
1450
- if (!o) {
1451
- throw new Error(`Couldn't find host element for "${r._$$tagName$$_}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/stenciljs/core/issues/5457).`);
1557
+ var setValue = (e, t, n, o) => {
1558
+ const r = getHostRef(e);
1559
+ if (!r) {
1560
+ throw new Error(`Couldn't find host element for "${o._$$tagName$$_}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/stenciljs/core/issues/5457).`);
1452
1561
  }
1453
- const l = o.$hostElement$;
1454
- const i = o._$$instanceValues$$_.get(t);
1455
- const s = o._$$flags$$_;
1456
- const f = o._$$lazyInstance$$_;
1457
- n = parsePropertyValue(n, r._$$members$$_[t][0]);
1562
+ const l = r.$hostElement$;
1563
+ const i = r._$$instanceValues$$_.get(t);
1564
+ const s = r._$$flags$$_;
1565
+ const f = r._$$lazyInstance$$_;
1566
+ n = parsePropertyValue(n, o._$$members$$_[t][0]);
1458
1567
  const a = Number.isNaN(i) && Number.isNaN(n);
1459
1568
  const c = n !== i && !a;
1460
1569
  if ((!(s & 8 /* isConstructingInstance */) || i === void 0) && c) {
1461
- o._$$instanceValues$$_.set(t, n);
1570
+ r._$$instanceValues$$_.set(t, n);
1462
1571
  if (f) {
1463
- if (r._$$watchers$$_ && s & 128 /* isWatchReady */) {
1464
- const e = r._$$watchers$$_[t];
1572
+ if (o._$$watchers$$_ && s & 128 /* isWatchReady */) {
1573
+ const e = o._$$watchers$$_[t];
1465
1574
  if (e) {
1466
1575
  e.map((e => {
1467
1576
  try {
@@ -1478,27 +1587,27 @@ var setValue = (e, t, n, r) => {
1478
1587
  return;
1479
1588
  }
1480
1589
  }
1481
- scheduleUpdate(o, false);
1590
+ scheduleUpdate(r, false);
1482
1591
  }
1483
1592
  }
1484
1593
  }
1485
1594
  };
1486
1595
 
1487
1596
  // src/runtime/proxy-component.ts
1488
- var proxyComponent = (e, n, r) => {
1489
- var o, l;
1597
+ var proxyComponent = (e, n, o) => {
1598
+ var r, l;
1490
1599
  const i = e.prototype;
1491
1600
  if (n._$$members$$_ || (n._$$watchers$$_ || e.watchers)) {
1492
1601
  if (e.watchers && !n._$$watchers$$_) {
1493
1602
  n._$$watchers$$_ = e.watchers;
1494
1603
  }
1495
- const s = Object.entries((o = n._$$members$$_) != null ? o : {});
1604
+ const s = Object.entries((r = n._$$members$$_) != null ? r : {});
1496
1605
  s.map((([e, [t]]) => {
1497
- if (t & 31 /* Prop */ || r & 2 /* proxyState */ && t & 32 /* State */) {
1498
- const {get: o, set: l} = Object.getOwnPropertyDescriptor(i, e) || {};
1499
- if (o) n._$$members$$_[e][0] |= 2048 /* Getter */;
1606
+ if (t & 31 /* Prop */ || o & 2 /* proxyState */ && t & 32 /* State */) {
1607
+ const {get: r, set: l} = Object.getOwnPropertyDescriptor(i, e) || {};
1608
+ if (r) n._$$members$$_[e][0] |= 2048 /* Getter */;
1500
1609
  if (l) n._$$members$$_[e][0] |= 4096 /* Setter */;
1501
- if (r & 1 /* isElementConstructor */ || !o) {
1610
+ if (o & 1 /* isElementConstructor */ || !r) {
1502
1611
  Object.defineProperty(i, e, {
1503
1612
  get() {
1504
1613
  {
@@ -1506,9 +1615,9 @@ var proxyComponent = (e, n, r) => {
1506
1615
  return getValue(this, e);
1507
1616
  }
1508
1617
  const t = getHostRef(this);
1509
- const r = t ? t._$$lazyInstance$$_ : i;
1510
- if (!r) return;
1511
- return r[e];
1618
+ const o = t ? t._$$lazyInstance$$_ : i;
1619
+ if (!o) return;
1620
+ return o[e];
1512
1621
  }
1513
1622
  },
1514
1623
  configurable: true,
@@ -1516,38 +1625,38 @@ var proxyComponent = (e, n, r) => {
1516
1625
  });
1517
1626
  }
1518
1627
  Object.defineProperty(i, e, {
1519
- set(o) {
1628
+ set(r) {
1520
1629
  const i = getHostRef(this);
1521
1630
  if (l) {
1522
- const r = t & 32 /* State */ ? this[e] : i.$hostElement$[e];
1523
- if (typeof r === "undefined" && i._$$instanceValues$$_.get(e)) {
1524
- o = i._$$instanceValues$$_.get(e);
1525
- } else if (!i._$$instanceValues$$_.get(e) && r) {
1526
- i._$$instanceValues$$_.set(e, r);
1631
+ const o = t & 32 /* State */ ? this[e] : i.$hostElement$[e];
1632
+ if (typeof o === "undefined" && i._$$instanceValues$$_.get(e)) {
1633
+ r = i._$$instanceValues$$_.get(e);
1634
+ } else if (!i._$$instanceValues$$_.get(e) && o) {
1635
+ i._$$instanceValues$$_.set(e, o);
1527
1636
  }
1528
- l.apply(this, [ parsePropertyValue(o, t) ]);
1529
- o = t & 32 /* State */ ? this[e] : i.$hostElement$[e];
1530
- setValue(this, e, o, n);
1637
+ l.apply(this, [ parsePropertyValue(r, t) ]);
1638
+ r = t & 32 /* State */ ? this[e] : i.$hostElement$[e];
1639
+ setValue(this, e, r, n);
1531
1640
  return;
1532
1641
  }
1533
1642
  {
1534
- if ((r & 1 /* isElementConstructor */) === 0 || (n._$$members$$_[e][0] & 4096 /* Setter */) === 0) {
1535
- setValue(this, e, o, n);
1536
- if (r & 1 /* isElementConstructor */ && !i._$$lazyInstance$$_) {
1643
+ if ((o & 1 /* isElementConstructor */) === 0 || (n._$$members$$_[e][0] & 4096 /* Setter */) === 0) {
1644
+ setValue(this, e, r, n);
1645
+ if (o & 1 /* isElementConstructor */ && !i._$$lazyInstance$$_) {
1537
1646
  i._$$onReadyPromise$$_.then((() => {
1538
1647
  if (n._$$members$$_[e][0] & 4096 /* Setter */ && i._$$lazyInstance$$_[e] !== i._$$instanceValues$$_.get(e)) {
1539
- i._$$lazyInstance$$_[e] = o;
1648
+ i._$$lazyInstance$$_[e] = r;
1540
1649
  }
1541
1650
  }));
1542
1651
  }
1543
1652
  return;
1544
1653
  }
1545
1654
  const setterSetVal = () => {
1546
- const r = i._$$lazyInstance$$_[e];
1547
- if (!i._$$instanceValues$$_.get(e) && r) {
1548
- i._$$instanceValues$$_.set(e, r);
1655
+ const o = i._$$lazyInstance$$_[e];
1656
+ if (!i._$$instanceValues$$_.get(e) && o) {
1657
+ i._$$instanceValues$$_.set(e, o);
1549
1658
  }
1550
- i._$$lazyInstance$$_[e] = parsePropertyValue(o, t);
1659
+ i._$$lazyInstance$$_[e] = parsePropertyValue(r, t);
1551
1660
  setValue(this, e, i._$$lazyInstance$$_[e], n);
1552
1661
  };
1553
1662
  if (i._$$lazyInstance$$_) {
@@ -1558,25 +1667,25 @@ var proxyComponent = (e, n, r) => {
1558
1667
  }
1559
1668
  }
1560
1669
  });
1561
- } else if (r & 1 /* isElementConstructor */ && t & 64 /* Method */) {
1670
+ } else if (o & 1 /* isElementConstructor */ && t & 64 /* Method */) {
1562
1671
  Object.defineProperty(i, e, {
1563
1672
  value(...t) {
1564
1673
  var n;
1565
- const r = getHostRef(this);
1566
- return (n = r == null ? void 0 : r._$$onInstancePromise$$_) == null ? void 0 : n.then((() => {
1674
+ const o = getHostRef(this);
1675
+ return (n = o == null ? void 0 : o._$$onInstancePromise$$_) == null ? void 0 : n.then((() => {
1567
1676
  var n;
1568
- return (n = r._$$lazyInstance$$_) == null ? void 0 : n[e](...t);
1677
+ return (n = o._$$lazyInstance$$_) == null ? void 0 : n[e](...t);
1569
1678
  }));
1570
1679
  }
1571
1680
  });
1572
1681
  }
1573
1682
  }));
1574
- if (r & 1 /* isElementConstructor */) {
1575
- const r = new Map;
1576
- i.attributeChangedCallback = function(e, o, l) {
1577
- v.jmp((() => {
1683
+ if (o & 1 /* isElementConstructor */) {
1684
+ const o = new Map;
1685
+ i.attributeChangedCallback = function(e, r, l) {
1686
+ d.jmp((() => {
1578
1687
  var s;
1579
- const f = r.get(e);
1688
+ const f = o.get(e);
1580
1689
  if (this.hasOwnProperty(f) && t.lazyLoad) {
1581
1690
  l = this[f];
1582
1691
  delete this[f];
@@ -1585,13 +1694,13 @@ var proxyComponent = (e, n, r) => {
1585
1694
  return;
1586
1695
  } else if (f == null) {
1587
1696
  const t = getHostRef(this);
1588
- const r = t == null ? void 0 : t._$$flags$$_;
1589
- if (r && !(r & 8 /* isConstructingInstance */) && r & 128 /* isWatchReady */ && l !== o) {
1590
- const r = t._$$lazyInstance$$_;
1697
+ const o = t == null ? void 0 : t._$$flags$$_;
1698
+ if (o && !(o & 8 /* isConstructingInstance */) && o & 128 /* isWatchReady */ && l !== r) {
1699
+ const o = t._$$lazyInstance$$_;
1591
1700
  const i = (s = n._$$watchers$$_) == null ? void 0 : s[e];
1592
1701
  i == null ? void 0 : i.forEach((t => {
1593
- if (r[t] != null) {
1594
- r[t].call(r, l, o, e);
1702
+ if (o[t] != null) {
1703
+ o[t].call(o, l, r, e);
1595
1704
  }
1596
1705
  }));
1597
1706
  }
@@ -1606,11 +1715,11 @@ var proxyComponent = (e, n, r) => {
1606
1715
  };
1607
1716
  e.observedAttributes = Array.from(
1608
1717
  new Set([ ...Object.keys((l = n._$$watchers$$_) != null ? l : {}), ...s.filter((([e, t]) => t[0] & 15 /* HasAttribute */)).map((([e, t]) => {
1609
- var o;
1718
+ var r;
1610
1719
  const l = t[1] || e;
1611
- r.set(l, e);
1720
+ o.set(l, e);
1612
1721
  if (t[0] & 512 /* ReflectAttr */) {
1613
- (o = n._$$attrsToReflect$$_) == null ? void 0 : o.push([ e, l ]);
1722
+ (r = n._$$attrsToReflect$$_) == null ? void 0 : r.push([ e, l ]);
1614
1723
  }
1615
1724
  return l;
1616
1725
  })) ]));
@@ -1620,36 +1729,36 @@ var proxyComponent = (e, n, r) => {
1620
1729
  };
1621
1730
 
1622
1731
  // src/runtime/initialize-component.ts
1623
- var initializeComponent = async (e, t, n, r) => {
1624
- let o;
1732
+ var initializeComponent = async (e, t, n, o) => {
1733
+ let r;
1625
1734
  if ((t._$$flags$$_ & 32 /* hasInitializedComponent */) === 0) {
1626
1735
  t._$$flags$$_ |= 32 /* hasInitializedComponent */;
1627
- const r = n._$$lazyBundleId$$_;
1628
- if (r) {
1629
- const r = loadModule(n, t);
1630
- if (r && "then" in r) {
1736
+ const o = n._$$lazyBundleId$$_;
1737
+ if (o) {
1738
+ const o = loadModule(n, t);
1739
+ if (o && "then" in o) {
1631
1740
  const e = uniqueTime();
1632
- o = await r;
1741
+ r = await o;
1633
1742
  e();
1634
1743
  } else {
1635
- o = r;
1744
+ r = o;
1636
1745
  }
1637
- if (!o) {
1746
+ if (!r) {
1638
1747
  throw new Error(`Constructor for "${n._$$tagName$$_}#${t._$$modeName$$_}" was not found`);
1639
1748
  }
1640
- if (!o.isProxied) {
1749
+ if (!r.isProxied) {
1641
1750
  {
1642
- n._$$watchers$$_ = o.watchers;
1751
+ n._$$watchers$$_ = r.watchers;
1643
1752
  }
1644
- proxyComponent(o, n, 2 /* proxyState */);
1645
- o.isProxied = true;
1753
+ proxyComponent(r, n, 2 /* proxyState */);
1754
+ r.isProxied = true;
1646
1755
  }
1647
1756
  const l = createTime("createInstance", n._$$tagName$$_);
1648
1757
  {
1649
1758
  t._$$flags$$_ |= 8 /* isConstructingInstance */;
1650
1759
  }
1651
1760
  try {
1652
- new o(t);
1761
+ new r(t);
1653
1762
  } catch (t) {
1654
1763
  consoleError(t, e);
1655
1764
  }
@@ -1662,20 +1771,20 @@ var initializeComponent = async (e, t, n, r) => {
1662
1771
  l();
1663
1772
  fireConnectedCallback(t._$$lazyInstance$$_, e);
1664
1773
  } else {
1665
- o = e.constructor;
1774
+ r = e.constructor;
1666
1775
  const n = e.localName;
1667
1776
  customElements.whenDefined(n).then((() => t._$$flags$$_ |= 128 /* isWatchReady */));
1668
1777
  }
1669
- if (o && o.style) {
1778
+ if (r && r.style) {
1670
1779
  let e;
1671
- if (typeof o.style === "string") {
1672
- e = o.style;
1780
+ if (typeof r.style === "string") {
1781
+ e = r.style;
1673
1782
  }
1674
1783
  const t = getScopeId(n);
1675
1784
  if (!s.has(t)) {
1676
- const r = createTime("registerStyles", n._$$tagName$$_);
1785
+ const o = createTime("registerStyles", n._$$tagName$$_);
1677
1786
  registerStyle(t, e, !!(n._$$flags$$_ & 1 /* shadowDomEncapsulation */));
1678
- r();
1787
+ o();
1679
1788
  }
1680
1789
  }
1681
1790
  }
@@ -1696,10 +1805,10 @@ var fireConnectedCallback = (e, t) => {
1696
1805
 
1697
1806
  // src/runtime/connected-callback.ts
1698
1807
  var connectedCallback = e => {
1699
- if ((v._$$flags$$_ & 1 /* isTmpDisconnected */) === 0) {
1808
+ if ((d._$$flags$$_ & 1 /* isTmpDisconnected */) === 0) {
1700
1809
  const t = getHostRef(e);
1701
1810
  const n = t._$$cmpMeta$$_;
1702
- const r = createTime("connectedCallback", n._$$tagName$$_);
1811
+ const o = createTime("connectedCallback", n._$$tagName$$_);
1703
1812
  if (!(t._$$flags$$_ & 1 /* hasConnected */)) {
1704
1813
  t._$$flags$$_ |= 1 /* hasConnected */;
1705
1814
  {
@@ -1737,7 +1846,7 @@ var connectedCallback = e => {
1737
1846
  t._$$onReadyPromise$$_.then((() => fireConnectedCallback(t._$$lazyInstance$$_, e)));
1738
1847
  }
1739
1848
  }
1740
- r();
1849
+ o();
1741
1850
  }
1742
1851
  };
1743
1852
 
@@ -1757,7 +1866,7 @@ var disconnectInstance = (e, t) => {
1757
1866
  };
1758
1867
 
1759
1868
  var disconnectedCallback = async e => {
1760
- if ((v._$$flags$$_ & 1 /* isTmpDisconnected */) === 0) {
1869
+ if ((d._$$flags$$_ & 1 /* isTmpDisconnected */) === 0) {
1761
1870
  const t = getHostRef(e);
1762
1871
  {
1763
1872
  if (t._$$rmListeners$$_) {
@@ -1771,11 +1880,11 @@ var disconnectedCallback = async e => {
1771
1880
  t._$$onReadyPromise$$_.then((() => disconnectInstance(t._$$lazyInstance$$_, e)));
1772
1881
  }
1773
1882
  }
1774
- if (j.has(e)) {
1775
- j.delete(e);
1883
+ if (C.has(e)) {
1884
+ C.delete(e);
1776
1885
  }
1777
- if (e.shadowRoot && j.has(e.shadowRoot)) {
1778
- j.delete(e.shadowRoot);
1886
+ if (e.shadowRoot && C.has(e.shadowRoot)) {
1887
+ C.delete(e.shadowRoot);
1779
1888
  }
1780
1889
  };
1781
1890
 
@@ -1786,58 +1895,58 @@ var bootstrapLazy = (e, t = {}) => {
1786
1895
  console.warn("Stencil: No document found. Skipping bootstrapping lazy components.");
1787
1896
  return;
1788
1897
  }
1789
- const r = createTime();
1790
- const o = [];
1898
+ const o = createTime();
1899
+ const r = [];
1791
1900
  const l = t.exclude || [];
1792
1901
  const i = u.customElements;
1793
1902
  const s = u.document.head;
1794
1903
  const c = s.querySelector("meta[charset]");
1795
- const d = u.document.createElement("style");
1904
+ const v = u.document.createElement("style");
1796
1905
  const p = [];
1797
1906
  let m;
1798
1907
  let y = true;
1799
- Object.assign(v, t);
1800
- v._$$resourcesUrl$$_ = new URL(t.resourcesUrl || "./", u.document.baseURI).href;
1801
- let w = false;
1908
+ Object.assign(d, t);
1909
+ d._$$resourcesUrl$$_ = new URL(t.resourcesUrl || "./", u.document.baseURI).href;
1910
+ let b = false;
1802
1911
  e.map((e => {
1803
1912
  e[1].map((t => {
1804
1913
  var n;
1805
- const r = {
1914
+ const o = {
1806
1915
  _$$flags$$_: t[0],
1807
1916
  _$$tagName$$_: t[1],
1808
1917
  _$$members$$_: t[2],
1809
1918
  _$$listeners$$_: t[3]
1810
1919
  };
1811
- if (r._$$flags$$_ & 4 /* hasSlotRelocation */) {
1812
- w = true;
1920
+ if (o._$$flags$$_ & 4 /* hasSlotRelocation */) {
1921
+ b = true;
1813
1922
  }
1814
1923
  {
1815
- r._$$members$$_ = t[2];
1924
+ o._$$members$$_ = t[2];
1816
1925
  }
1817
1926
  {
1818
- r._$$listeners$$_ = t[3];
1927
+ o._$$listeners$$_ = t[3];
1819
1928
  }
1820
1929
  {
1821
- r._$$attrsToReflect$$_ = [];
1930
+ o._$$attrsToReflect$$_ = [];
1822
1931
  }
1823
1932
  {
1824
- r._$$watchers$$_ = (n = t[4]) != null ? n : {};
1933
+ o._$$watchers$$_ = (n = t[4]) != null ? n : {};
1825
1934
  }
1826
- const s = r._$$tagName$$_;
1935
+ const s = o._$$tagName$$_;
1827
1936
  const f = class extends HTMLElement {
1828
1937
  // StencilLazyHost
1829
1938
  constructor(e) {
1830
1939
  super(e);
1831
1940
  this.hasRegisteredEventListeners = false;
1832
1941
  e = this;
1833
- registerHost(e, r);
1834
- if (r._$$flags$$_ & 1 /* shadowDomEncapsulation */) {
1942
+ registerHost(e, o);
1943
+ if (o._$$flags$$_ & 1 /* shadowDomEncapsulation */) {
1835
1944
  {
1836
1945
  if (!e.shadowRoot) {
1837
- createShadowRoot.call(e, r);
1946
+ createShadowRoot.call(e, o);
1838
1947
  } else {
1839
1948
  if (e.shadowRoot.mode !== "open") {
1840
- throw new Error(`Unable to re-use existing shadow root for ${r._$$tagName$$_}! Mode is set to ${e.shadowRoot.mode} but Stencil only supports open shadow roots.`);
1949
+ throw new Error(`Unable to re-use existing shadow root for ${o._$$tagName$$_}! Mode is set to ${e.shadowRoot.mode} but Stencil only supports open shadow roots.`);
1841
1950
  }
1842
1951
  }
1843
1952
  }
@@ -1847,7 +1956,7 @@ var bootstrapLazy = (e, t = {}) => {
1847
1956
  const e = getHostRef(this);
1848
1957
  if (!this.hasRegisteredEventListeners) {
1849
1958
  this.hasRegisteredEventListeners = true;
1850
- addHostEventListeners(this, e, r._$$listeners$$_);
1959
+ addHostEventListeners(this, e, o._$$listeners$$_);
1851
1960
  }
1852
1961
  if (m) {
1853
1962
  clearTimeout(m);
@@ -1856,12 +1965,12 @@ var bootstrapLazy = (e, t = {}) => {
1856
1965
  if (y) {
1857
1966
  p.push(this);
1858
1967
  } else {
1859
- v.jmp((() => connectedCallback(this)));
1968
+ d.jmp((() => connectedCallback(this)));
1860
1969
  }
1861
1970
  }
1862
1971
  disconnectedCallback() {
1863
- v.jmp((() => disconnectedCallback(this)));
1864
- v.raf((() => {
1972
+ d.jmp((() => disconnectedCallback(this)));
1973
+ d.raf((() => {
1865
1974
  var e;
1866
1975
  const t = getHostRef(this);
1867
1976
  const n = p.findIndex((e => e === this));
@@ -1877,27 +1986,27 @@ var bootstrapLazy = (e, t = {}) => {
1877
1986
  return getHostRef(this)._$$onReadyPromise$$_;
1878
1987
  }
1879
1988
  };
1880
- r._$$lazyBundleId$$_ = e[0];
1989
+ o._$$lazyBundleId$$_ = e[0];
1881
1990
  if (!l.includes(s) && !i.get(s)) {
1882
- o.push(s);
1883
- i.define(s, proxyComponent(f, r, 1 /* isElementConstructor */));
1991
+ r.push(s);
1992
+ i.define(s, proxyComponent(f, o, 1 /* isElementConstructor */));
1884
1993
  }
1885
1994
  }));
1886
1995
  }));
1887
- if (o.length > 0) {
1888
- if (w) {
1889
- d.textContent += a;
1996
+ if (r.length > 0) {
1997
+ if (b) {
1998
+ v.textContent += a;
1890
1999
  }
1891
2000
  {
1892
- d.textContent += o.sort() + f;
2001
+ v.textContent += r.sort() + f;
1893
2002
  }
1894
- if (d.innerHTML.length) {
1895
- d.setAttribute("data-styles", "");
1896
- const e = (n = v._$$nonce$$_) != null ? n : queryNonceMetaTagContent(u.document);
2003
+ if (v.innerHTML.length) {
2004
+ v.setAttribute("data-styles", "");
2005
+ const e = (n = d._$$nonce$$_) != null ? n : queryNonceMetaTagContent(u.document);
1897
2006
  if (e != null) {
1898
- d.setAttribute("nonce", e);
2007
+ v.setAttribute("nonce", e);
1899
2008
  }
1900
- s.insertBefore(d, c ? c.nextSibling : s.firstChild);
2009
+ s.insertBefore(v, c ? c.nextSibling : s.firstChild);
1901
2010
  }
1902
2011
  }
1903
2012
  y = false;
@@ -1905,33 +2014,33 @@ var bootstrapLazy = (e, t = {}) => {
1905
2014
  p.map((e => e.connectedCallback()));
1906
2015
  } else {
1907
2016
  {
1908
- v.jmp((() => m = setTimeout(appDidLoad, 30)));
2017
+ d.jmp((() => m = setTimeout(appDidLoad, 30)));
1909
2018
  }
1910
2019
  }
1911
- r();
2020
+ o();
1912
2021
  };
1913
2022
 
1914
2023
  // src/runtime/fragment.ts
1915
2024
  var Fragment = (e, t) => t;
1916
2025
 
1917
- var addHostEventListeners = (e, t, n, r) => {
2026
+ var addHostEventListeners = (e, t, n, o) => {
1918
2027
  if (n && u.document) {
1919
- n.map((([n, r, o]) => {
2028
+ n.map((([n, o, r]) => {
1920
2029
  const l = getHostListenerTarget(u.document, e, n);
1921
- const i = hostListenerProxy(t, o);
2030
+ const i = hostListenerProxy(t, r);
1922
2031
  const s = hostListenerOpts(n);
1923
- v.ael(l, r, i, s);
1924
- (t._$$rmListeners$$_ = t._$$rmListeners$$_ || []).push((() => v.rel(l, r, i, s)));
2032
+ d.ael(l, o, i, s);
2033
+ (t._$$rmListeners$$_ = t._$$rmListeners$$_ || []).push((() => d.rel(l, o, i, s)));
1925
2034
  }));
1926
2035
  }
1927
2036
  };
1928
2037
 
1929
2038
  var hostListenerProxy = (e, t) => n => {
1930
- var r;
2039
+ var o;
1931
2040
  try {
1932
2041
  {
1933
2042
  if (e._$$flags$$_ & 256 /* isListenReady */) {
1934
- (r = e._$$lazyInstance$$_) == null ? void 0 : r[t](n);
2043
+ (o = e._$$lazyInstance$$_) == null ? void 0 : o[t](n);
1935
2044
  } else {
1936
2045
  (e._$$queuedListeners$$_ = e._$$queuedListeners$$_ || []).push([ t, n ]);
1937
2046
  }
@@ -1948,15 +2057,15 @@ var getHostListenerTarget = (e, t, n) => {
1948
2057
  return t;
1949
2058
  };
1950
2059
 
1951
- var hostListenerOpts = e => d ? {
2060
+ var hostListenerOpts = e => p ? {
1952
2061
  passive: (e & 1 /* Passive */) !== 0,
1953
2062
  capture: (e & 2 /* Capture */) !== 0
1954
2063
  } : (e & 2 /* Capture */) !== 0
1955
2064
  // src/runtime/nonce.ts
1956
2065
  ;
1957
2066
 
1958
- var setNonce = e => v._$$nonce$$_ = e;
2067
+ var setNonce = e => d._$$nonce$$_ = e;
1959
2068
 
1960
- export { Fragment as F, $ as H, getElement as a, bootstrapLazy as b, createEvent as c, getAssetPath as d, globalScripts as g, h, promiseResolve as p, registerInstance as r, setNonce as s };
1961
- //# sourceMappingURL=index-YFPMNbDm.js.map
1962
- //# sourceMappingURL=index-YFPMNbDm.js.map
2069
+ export { Fragment as F, v as H, getElement as a, bootstrapLazy as b, createEvent as c, j as d, getAssetPath as e, globalScripts as g, h, promiseResolve as p, registerInstance as r, setNonce as s };
2070
+ //# sourceMappingURL=index-C7zSUT3M.js.map
2071
+ //# sourceMappingURL=index-C7zSUT3M.js.map