@utrecht/web-component-library-stencil 4.0.0 → 4.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (593) hide show
  1. package/dist/cjs/utrecht-action-group_46.cjs.entry.js +18 -16
  2. package/dist/cjs/utrecht-action-group_46.cjs.entry.js.map +1 -1
  3. package/dist/cjs/utrecht-backdrop.cjs.entry.js +1 -1
  4. package/dist/cjs/utrecht-backdrop.cjs.entry.js.map +1 -1
  5. package/dist/cjs/utrecht-body.cjs.entry.js +4 -4
  6. package/dist/cjs/utrecht-body.cjs.entry.js.map +1 -1
  7. package/dist/cjs/utrecht-custom-checkbox.cjs.entry.js +1 -1
  8. package/dist/cjs/utrecht-data-list-item.cjs.entry.js +1 -1
  9. package/dist/cjs/utrecht-form-toggle.cjs.entry.js +1 -1
  10. package/dist/cjs/utrecht-form-toggle.cjs.entry.js.map +1 -1
  11. package/dist/cjs/utrecht-html-content.cjs.entry.js +1 -1
  12. package/dist/cjs/utrecht-html-content.cjs.entry.js.map +1 -1
  13. package/dist/cjs/utrecht-progress-list-item.cjs.entry.js +1 -1
  14. package/dist/cjs/utrecht-progress-list-item.cjs.entry.js.map +1 -1
  15. package/dist/cjs/utrecht-progress-list.cjs.entry.js +1 -1
  16. package/dist/cjs/utrecht-progress-list.cjs.entry.js.map +1 -1
  17. package/dist/cjs/utrecht-progress-sublist-item.cjs.entry.js +1 -1
  18. package/dist/cjs/utrecht-progress-sublist-item.cjs.entry.js.map +1 -1
  19. package/dist/cjs/utrecht-root.cjs.entry.js +1 -1
  20. package/dist/cjs/utrecht-root.cjs.entry.js.map +1 -1
  21. package/dist/cjs/utrecht-sidenav.cjs.entry.js +1 -1
  22. package/dist/cjs/utrecht-sidenav.cjs.entry.js.map +1 -1
  23. package/dist/cjs/utrecht-table-caption.cjs.entry.js +1 -1
  24. package/dist/cjs/utrecht-table-caption.cjs.entry.js.map +1 -1
  25. package/dist/cjs/utrecht-table-container.cjs.entry.js +1 -1
  26. package/dist/cjs/utrecht-table-container.cjs.entry.js.map +1 -1
  27. package/dist/cjs/utrecht-table-header.cjs.entry.js +1 -1
  28. package/dist/cjs/utrecht-table-header.cjs.entry.js.map +1 -1
  29. package/dist/cjs/utrecht-table-row.cjs.entry.js +1 -1
  30. package/dist/cjs/utrecht-table-row.cjs.entry.js.map +1 -1
  31. package/dist/cjs/utrecht-textarea.cjs.entry.js +1 -1
  32. package/dist/cjs/utrecht-textarea.cjs.entry.js.map +1 -1
  33. package/dist/cjs/utrecht-textbox.cjs.entry.js +1 -1
  34. package/dist/cjs/utrecht-textbox.cjs.entry.js.map +1 -1
  35. package/dist/collection/components/action-group.css +9 -9
  36. package/dist/collection/components/alert.css +10 -10
  37. package/dist/collection/components/alert.js +3 -2
  38. package/dist/collection/components/alert.js.map +1 -1
  39. package/dist/collection/components/article.css +9 -9
  40. package/dist/collection/components/backdrop.css +18 -16
  41. package/dist/collection/components/badge-counter.css +13 -13
  42. package/dist/collection/components/badge-list.css +9 -9
  43. package/dist/collection/components/body.css +4 -8
  44. package/dist/collection/components/body.js +1 -1
  45. package/dist/collection/components/body.js.map +1 -1
  46. package/dist/collection/components/breadcrumb-nav.css +36 -24
  47. package/dist/collection/components/button-group.css +9 -9
  48. package/dist/collection/components/button-link.css +33 -20
  49. package/dist/collection/components/button.css +26 -15
  50. package/dist/collection/components/checkbox.css +25 -14
  51. package/dist/collection/components/code-block.css +13 -13
  52. package/dist/collection/components/code.css +9 -9
  53. package/dist/collection/components/color-sample.css +4 -4
  54. package/dist/collection/components/column-layout.css +4 -4
  55. package/dist/collection/components/contact-card-template.css +32 -21
  56. package/dist/collection/components/custom-checkbox.css +31 -25
  57. package/dist/collection/components/data-badge.css +11 -11
  58. package/dist/collection/components/data-list-actions.css +5 -5
  59. package/dist/collection/components/data-list-item.css +6 -6
  60. package/dist/collection/components/data-list-key.css +5 -5
  61. package/dist/collection/components/data-list-value.css +5 -5
  62. package/dist/collection/components/data-list.css +5 -5
  63. package/dist/collection/components/digid-button.css +5 -5
  64. package/dist/collection/components/digid-logo.css +9 -9
  65. package/dist/collection/components/document.css +9 -9
  66. package/dist/collection/components/drawer.css +13 -13
  67. package/dist/collection/components/eherkenning-logo.css +9 -9
  68. package/dist/collection/components/eidas-logo.css +9 -9
  69. package/dist/collection/components/emphasis.css +9 -9
  70. package/dist/collection/components/form-field-checkbox.css +75 -60
  71. package/dist/collection/components/form-field-description.css +9 -9
  72. package/dist/collection/components/form-field-error-message.css +4 -4
  73. package/dist/collection/components/form-field-textarea.css +60 -48
  74. package/dist/collection/components/form-field-textbox.css +65 -50
  75. package/dist/collection/components/form-toggle.css +22 -14
  76. package/dist/collection/components/form.css +4 -4
  77. package/dist/collection/components/heading-1.css +11 -11
  78. package/dist/collection/components/heading-2.css +11 -11
  79. package/dist/collection/components/heading-3.css +11 -11
  80. package/dist/collection/components/heading-4.css +11 -11
  81. package/dist/collection/components/heading-5.css +11 -11
  82. package/dist/collection/components/heading-6.css +11 -11
  83. package/dist/collection/components/heading-group.css +4 -4
  84. package/dist/collection/components/heading.css +71 -71
  85. package/dist/collection/components/html-content.css +445 -315
  86. package/dist/collection/components/iban-data.css +9 -9
  87. package/dist/collection/components/icon/generated-direction-inherit.css +9 -9
  88. package/dist/collection/components/icon/generated.css +4 -4
  89. package/dist/collection/components/icon.css +4 -4
  90. package/dist/collection/components/link-button.css +26 -20
  91. package/dist/collection/components/link.css +27 -15
  92. package/dist/collection/components/logo-button.css +5 -5
  93. package/dist/collection/components/logo-image.css +6 -6
  94. package/dist/collection/components/logo.css +5 -5
  95. package/dist/collection/components/map-marker.css +4 -4
  96. package/dist/collection/components/mark.css +9 -9
  97. package/dist/collection/components/multiline-data.css +4 -4
  98. package/dist/collection/components/nav-bar.css +4 -4
  99. package/dist/collection/components/number-badge.css +13 -13
  100. package/dist/collection/components/number-data.css +7 -3
  101. package/dist/collection/components/page-body.css +4 -4
  102. package/dist/collection/components/page-content.css +4 -4
  103. package/dist/collection/components/page-footer.css +4 -4
  104. package/dist/collection/components/page-header.css +4 -4
  105. package/dist/collection/components/page-layout.css +4 -4
  106. package/dist/collection/components/page.css +9 -9
  107. package/dist/collection/components/pagination.css +24 -13
  108. package/dist/collection/components/paragraph.css +9 -9
  109. package/dist/collection/components/pre-heading.css +4 -4
  110. package/dist/collection/components/preserve-data.css +4 -4
  111. package/dist/collection/components/progress-list.css +9 -4
  112. package/dist/collection/components/root.css +55 -7
  113. package/dist/collection/components/separator.css +9 -9
  114. package/dist/collection/components/sidenav.css +18 -11
  115. package/dist/collection/components/skip-link.css +20 -14
  116. package/dist/collection/components/spotlight-section.css +9 -9
  117. package/dist/collection/components/status-badge.css +23 -21
  118. package/dist/collection/components/surface.css +9 -9
  119. package/dist/collection/components/table-body.css +5 -5
  120. package/dist/collection/components/table-caption.css +8 -8
  121. package/dist/collection/components/table-cell.css +5 -5
  122. package/dist/collection/components/table-container.css +12 -12
  123. package/dist/collection/components/table-footer.css +5 -5
  124. package/dist/collection/components/table-header-cell.css +5 -5
  125. package/dist/collection/components/table-header.css +5 -6
  126. package/dist/collection/components/table-row.css +5 -6
  127. package/dist/collection/components/table.css +5 -5
  128. package/dist/collection/components/textarea.css +35 -22
  129. package/dist/collection/components/textbox.css +40 -24
  130. package/dist/collection/components/top-task-link.css +15 -9
  131. package/dist/collection/components/top-task-nav.css +5 -5
  132. package/dist/collection/components/url-data.css +9 -10
  133. package/dist/components/index.js +1 -1
  134. package/dist/components/{paragraph.js → p-074337c4.js} +4 -4
  135. package/dist/components/p-074337c4.js.map +1 -0
  136. package/dist/components/p-145331fd.js +143 -0
  137. package/dist/components/p-145331fd.js.map +1 -0
  138. package/dist/components/p-2f0ff193.js +1304 -0
  139. package/dist/components/p-2f0ff193.js.map +1 -0
  140. package/dist/components/{heading-3.js → p-903009d4.js} +4 -4
  141. package/dist/components/p-903009d4.js.map +1 -0
  142. package/dist/components/{form-field-description.js → p-ab1c7a3f.js} +4 -4
  143. package/dist/components/p-ab1c7a3f.js.map +1 -0
  144. package/dist/components/{heading-2.js → p-b99c32b3.js} +4 -4
  145. package/dist/components/p-b99c32b3.js.map +1 -0
  146. package/dist/components/{clsx.js → p-e91d8a25.js} +1 -1
  147. package/dist/components/p-e91d8a25.js.map +1 -0
  148. package/dist/components/{digid-logo.js → p-f8fc7c2a.js} +3 -3
  149. package/dist/components/{digid-logo.js.map → p-f8fc7c2a.js.map} +1 -1
  150. package/dist/components/utrecht-action-group.js +3 -3
  151. package/dist/components/utrecht-alert.js +7 -5
  152. package/dist/components/utrecht-alert.js.map +1 -1
  153. package/dist/components/utrecht-article.js +2 -2
  154. package/dist/components/utrecht-backdrop.js +4 -4
  155. package/dist/components/utrecht-backdrop.js.map +1 -1
  156. package/dist/components/utrecht-badge-counter.js +2 -2
  157. package/dist/components/utrecht-badge-list.js +2 -2
  158. package/dist/components/utrecht-body.js +5 -5
  159. package/dist/components/utrecht-body.js.map +1 -1
  160. package/dist/components/utrecht-breadcrumb-nav.js +3 -3
  161. package/dist/components/utrecht-button-group.js +3 -3
  162. package/dist/components/utrecht-button-link.js +4 -4
  163. package/dist/components/utrecht-button-link.js.map +1 -1
  164. package/dist/components/utrecht-button.js +1 -1
  165. package/dist/components/utrecht-checkbox.js +3 -3
  166. package/dist/components/utrecht-code-block.js +2 -2
  167. package/dist/components/utrecht-code.js +2 -2
  168. package/dist/components/utrecht-color-sample.js +2 -2
  169. package/dist/components/utrecht-column-layout.js +2 -2
  170. package/dist/components/utrecht-contact-card-template.js +5 -5
  171. package/dist/components/utrecht-custom-checkbox.js +4 -4
  172. package/dist/components/utrecht-data-badge.js +2 -2
  173. package/dist/components/utrecht-data-list-actions.js +2 -2
  174. package/dist/components/utrecht-data-list-item.js +3 -3
  175. package/dist/components/utrecht-data-list-key.js +2 -2
  176. package/dist/components/utrecht-data-list-value.js +2 -2
  177. package/dist/components/utrecht-data-list.js +2 -2
  178. package/dist/components/utrecht-digid-button.js +3 -3
  179. package/dist/components/utrecht-digid-logo.js +1 -1
  180. package/dist/components/utrecht-document.js +2 -2
  181. package/dist/components/utrecht-drawer.js +3 -3
  182. package/dist/components/utrecht-eherkenning-logo.js +2 -2
  183. package/dist/components/utrecht-eidas-logo.js +2 -2
  184. package/dist/components/utrecht-emphasis.js +2 -2
  185. package/dist/components/utrecht-flex-wrap-fallback.js +2 -2
  186. package/dist/components/utrecht-form-field-checkbox.js +5 -5
  187. package/dist/components/utrecht-form-field-checkbox.js.map +1 -1
  188. package/dist/components/utrecht-form-field-description.js +1 -1
  189. package/dist/components/utrecht-form-field-error-message.js +2 -2
  190. package/dist/components/utrecht-form-field-textarea.js +5 -5
  191. package/dist/components/utrecht-form-field-textarea.js.map +1 -1
  192. package/dist/components/utrecht-form-field-textbox.js +5 -5
  193. package/dist/components/utrecht-form-field-textbox.js.map +1 -1
  194. package/dist/components/utrecht-form-toggle.js +4 -4
  195. package/dist/components/utrecht-form-toggle.js.map +1 -1
  196. package/dist/components/utrecht-form.js +2 -2
  197. package/dist/components/utrecht-heading-1.js +3 -3
  198. package/dist/components/utrecht-heading-1.js.map +1 -1
  199. package/dist/components/utrecht-heading-2.js +1 -1
  200. package/dist/components/utrecht-heading-3.js +1 -1
  201. package/dist/components/utrecht-heading-4.js +3 -3
  202. package/dist/components/utrecht-heading-4.js.map +1 -1
  203. package/dist/components/utrecht-heading-5.js +3 -3
  204. package/dist/components/utrecht-heading-5.js.map +1 -1
  205. package/dist/components/utrecht-heading-6.js +3 -3
  206. package/dist/components/utrecht-heading-6.js.map +1 -1
  207. package/dist/components/utrecht-heading-group.js +2 -2
  208. package/dist/components/utrecht-heading.js +3 -3
  209. package/dist/components/utrecht-heading.js.map +1 -1
  210. package/dist/components/utrecht-html-content.js +3 -3
  211. package/dist/components/utrecht-html-content.js.map +1 -1
  212. package/dist/components/utrecht-iban-data.js +2 -2
  213. package/dist/components/utrecht-icon-afspraak-maken.js +2 -2
  214. package/dist/components/utrecht-icon-afval-container.js +2 -2
  215. package/dist/components/utrecht-icon-afval-containerpas.js +2 -2
  216. package/dist/components/utrecht-icon-afval-kalender.js +2 -2
  217. package/dist/components/utrecht-icon-afval-pmd.js +2 -2
  218. package/dist/components/utrecht-icon-afval-scheiden.js +2 -2
  219. package/dist/components/utrecht-icon-afval.js +2 -2
  220. package/dist/components/utrecht-icon-afvalkalender.js +2 -2
  221. package/dist/components/utrecht-icon-alleen.js +2 -2
  222. package/dist/components/utrecht-icon-arrow.js +2 -2
  223. package/dist/components/utrecht-icon-auto.js +2 -2
  224. package/dist/components/utrecht-icon-begroting.js +2 -2
  225. package/dist/components/utrecht-icon-bestemmingsplan.js +2 -2
  226. package/dist/components/utrecht-icon-betaaldatum.js +2 -2
  227. package/dist/components/utrecht-icon-bewijsstukken.js +2 -2
  228. package/dist/components/utrecht-icon-bijstand.js +2 -2
  229. package/dist/components/utrecht-icon-blad.js +2 -2
  230. package/dist/components/utrecht-icon-bluesky.js +2 -2
  231. package/dist/components/utrecht-icon-bouw-projecten.js +2 -2
  232. package/dist/components/utrecht-icon-bouwproject.js +2 -2
  233. package/dist/components/utrecht-icon-brandgevaar.js +2 -2
  234. package/dist/components/utrecht-icon-brief-betalen.js +2 -2
  235. package/dist/components/utrecht-icon-buurtcentra.js +2 -2
  236. package/dist/components/utrecht-icon-checkmark.js +2 -2
  237. package/dist/components/utrecht-icon-chevron-down.js +2 -2
  238. package/dist/components/utrecht-icon-chevron-left.js +2 -2
  239. package/dist/components/utrecht-icon-chevron-right.js +2 -2
  240. package/dist/components/utrecht-icon-chevron-up.js +2 -2
  241. package/dist/components/utrecht-icon-close.js +2 -2
  242. package/dist/components/utrecht-icon-coffee.js +2 -2
  243. package/dist/components/utrecht-icon-college-b-w.js +2 -2
  244. package/dist/components/utrecht-icon-container-bio.js +2 -2
  245. package/dist/components/utrecht-icon-container-glas.js +2 -2
  246. package/dist/components/utrecht-icon-container-groenafval.js +2 -2
  247. package/dist/components/utrecht-icon-container-met-zak.js +2 -2
  248. package/dist/components/utrecht-icon-container-papier.js +2 -2
  249. package/dist/components/utrecht-icon-container-pmd.js +2 -2
  250. package/dist/components/utrecht-icon-container-restafval.js +2 -2
  251. package/dist/components/utrecht-icon-container-textiel.js +2 -2
  252. package/dist/components/utrecht-icon-container.js +2 -2
  253. package/dist/components/utrecht-icon-cross.js +2 -2
  254. package/dist/components/utrecht-icon-dakloos.js +2 -2
  255. package/dist/components/utrecht-icon-dementie.js +2 -2
  256. package/dist/components/utrecht-icon-documenten.js +2 -2
  257. package/dist/components/utrecht-icon-duurzaam.js +2 -2
  258. package/dist/components/utrecht-icon-eenzaamheid.js +2 -2
  259. package/dist/components/utrecht-icon-eikenprocessie.js +2 -2
  260. package/dist/components/utrecht-icon-elektrisch-rijden.js +2 -2
  261. package/dist/components/utrecht-icon-energie-projecten.js +2 -2
  262. package/dist/components/utrecht-icon-energie-vergoeding.js +2 -2
  263. package/dist/components/utrecht-icon-energietransitie.js +2 -2
  264. package/dist/components/utrecht-icon-error.js +2 -2
  265. package/dist/components/utrecht-icon-evenementen.js +2 -2
  266. package/dist/components/utrecht-icon-facebook.js +2 -2
  267. package/dist/components/utrecht-icon-fiets.js +2 -2
  268. package/dist/components/utrecht-icon-filter.js +2 -2
  269. package/dist/components/utrecht-icon-flickr.js +2 -2
  270. package/dist/components/utrecht-icon-geboorte.js +2 -2
  271. package/dist/components/utrecht-icon-gebruiker-centraal.js +2 -2
  272. package/dist/components/utrecht-icon-gebruiker-ingelogd.js +2 -2
  273. package/dist/components/utrecht-icon-gegevenswoordenboek.js +2 -2
  274. package/dist/components/utrecht-icon-geluid.js +2 -2
  275. package/dist/components/utrecht-icon-gemeente-locatie.js +2 -2
  276. package/dist/components/utrecht-icon-gemeenteraad.js +2 -2
  277. package/dist/components/utrecht-icon-gereedschap.js +2 -2
  278. package/dist/components/utrecht-icon-gezicht.js +2 -2
  279. package/dist/components/utrecht-icon-gezin.js +2 -2
  280. package/dist/components/utrecht-icon-glas-afval.js +2 -2
  281. package/dist/components/utrecht-icon-glijbaan.js +2 -2
  282. package/dist/components/utrecht-icon-grafiek.js +2 -2
  283. package/dist/components/utrecht-icon-groen-projecten.js +2 -2
  284. package/dist/components/utrecht-icon-grofvuil-ophalen.js +2 -2
  285. package/dist/components/utrecht-icon-grofvuil.js +2 -2
  286. package/dist/components/utrecht-icon-hamburger-menu.js +2 -2
  287. package/dist/components/utrecht-icon-herdenking.js +2 -2
  288. package/dist/components/utrecht-icon-hondenbelasting.js +2 -2
  289. package/dist/components/utrecht-icon-horeca.js +2 -2
  290. package/dist/components/utrecht-icon-horecavergunning.js +2 -2
  291. package/dist/components/utrecht-icon-huis-en-omgeving.js +2 -2
  292. package/dist/components/utrecht-icon-huis.js +2 -2
  293. package/dist/components/utrecht-icon-huishoudelijk-geweld.js +2 -2
  294. package/dist/components/utrecht-icon-hulp-huishouden.js +2 -2
  295. package/dist/components/utrecht-icon-hulp-vervoer.js +2 -2
  296. package/dist/components/utrecht-icon-hulp-zorg.js +2 -2
  297. package/dist/components/utrecht-icon-hulpmiddelen-gezin.js +2 -2
  298. package/dist/components/utrecht-icon-hulpverlening.js +2 -2
  299. package/dist/components/utrecht-icon-idee.js +2 -2
  300. package/dist/components/utrecht-icon-informatie.js +2 -2
  301. package/dist/components/utrecht-icon-information.js +2 -2
  302. package/dist/components/utrecht-icon-innovatie.js +2 -2
  303. package/dist/components/utrecht-icon-inspraak-inwoners.js +2 -2
  304. package/dist/components/utrecht-icon-instagram.js +2 -2
  305. package/dist/components/utrecht-icon-kalender.js +2 -2
  306. package/dist/components/utrecht-icon-kennis.js +2 -2
  307. package/dist/components/utrecht-icon-kerstbomen.js +2 -2
  308. package/dist/components/utrecht-icon-klachten.js +2 -2
  309. package/dist/components/utrecht-icon-kroon.js +2 -2
  310. package/dist/components/utrecht-icon-laadpaal.js +2 -2
  311. package/dist/components/utrecht-icon-language.js +2 -2
  312. package/dist/components/utrecht-icon-lantaarnpaal-oud.js +2 -2
  313. package/dist/components/utrecht-icon-lantaarnpaal.js +2 -2
  314. package/dist/components/utrecht-icon-leren.js +2 -2
  315. package/dist/components/utrecht-icon-let-op.js +2 -2
  316. package/dist/components/utrecht-icon-linkedin.js +2 -2
  317. package/dist/components/utrecht-icon-list-check.js +2 -2
  318. package/dist/components/utrecht-icon-list-number.js +2 -2
  319. package/dist/components/utrecht-icon-list.js +2 -2
  320. package/dist/components/utrecht-icon-loupe.js +2 -2
  321. package/dist/components/utrecht-icon-mail.js +2 -2
  322. package/dist/components/utrecht-icon-markt.js +2 -2
  323. package/dist/components/utrecht-icon-mastodon.js +2 -2
  324. package/dist/components/utrecht-icon-melding-boom.js +2 -2
  325. package/dist/components/utrecht-icon-melding-klacht.js +2 -2
  326. package/dist/components/utrecht-icon-melding-openbareruimte.js +2 -2
  327. package/dist/components/utrecht-icon-melding-verlichting.js +2 -2
  328. package/dist/components/utrecht-icon-melding.js +2 -2
  329. package/dist/components/utrecht-icon-menselijk.js +2 -2
  330. package/dist/components/utrecht-icon-menu-dot-open.js +2 -2
  331. package/dist/components/utrecht-icon-menu-dot.js +2 -2
  332. package/dist/components/utrecht-icon-meterkast.js +2 -2
  333. package/dist/components/utrecht-icon-milieu-ontheffing.js +2 -2
  334. package/dist/components/utrecht-icon-milieu-zone.js +2 -2
  335. package/dist/components/utrecht-icon-minus-vertical.js +2 -2
  336. package/dist/components/utrecht-icon-minus.js +2 -2
  337. package/dist/components/utrecht-icon-mobiliteit.js +2 -2
  338. package/dist/components/utrecht-icon-natuur.js +2 -2
  339. package/dist/components/utrecht-icon-nieuw-huis.js +2 -2
  340. package/dist/components/utrecht-icon-nieuwsbrief.js +2 -2
  341. package/dist/components/utrecht-icon-nummerbord.js +2 -2
  342. package/dist/components/utrecht-icon-om-het-huis.js +2 -2
  343. package/dist/components/utrecht-icon-omgeving.js +2 -2
  344. package/dist/components/utrecht-icon-omgevingsvisie.js +2 -2
  345. package/dist/components/utrecht-icon-omgevingswet.js +2 -2
  346. package/dist/components/utrecht-icon-onderhoud.js +2 -2
  347. package/dist/components/utrecht-icon-ondernemen.js +2 -2
  348. package/dist/components/utrecht-icon-openingstijden.js +2 -2
  349. package/dist/components/utrecht-icon-over-de-stad.js +2 -2
  350. package/dist/components/utrecht-icon-overlijden.js +2 -2
  351. package/dist/components/utrecht-icon-panden.js +2 -2
  352. package/dist/components/utrecht-icon-park.js +2 -2
  353. package/dist/components/utrecht-icon-parkeerkaart.js +2 -2
  354. package/dist/components/utrecht-icon-parkeervergunning.js +2 -2
  355. package/dist/components/utrecht-icon-parken.js +2 -2
  356. package/dist/components/utrecht-icon-parkeren-bedrijven.js +2 -2
  357. package/dist/components/utrecht-icon-parkeren-betaalautomaat.js +2 -2
  358. package/dist/components/utrecht-icon-parkeren-betalen.js +2 -2
  359. package/dist/components/utrecht-icon-parkeren.js +2 -2
  360. package/dist/components/utrecht-icon-participatie-campagne.js +2 -2
  361. package/dist/components/utrecht-icon-participatie-like.js +2 -2
  362. package/dist/components/utrecht-icon-participatie-pitch.js +2 -2
  363. package/dist/components/utrecht-icon-paspoort.js +2 -2
  364. package/dist/components/utrecht-icon-phone.js +2 -2
  365. package/dist/components/utrecht-icon-pinterest.js +2 -2
  366. package/dist/components/utrecht-icon-presentatie.js +2 -2
  367. package/dist/components/utrecht-icon-prijskaartje.js +2 -2
  368. package/dist/components/utrecht-icon-read-aloud.js +2 -2
  369. package/dist/components/utrecht-icon-report.js +2 -2
  370. package/dist/components/utrecht-icon-rijbewijs.js +2 -2
  371. package/dist/components/utrecht-icon-rioolheffing.js +2 -2
  372. package/dist/components/utrecht-icon-rolstoel.js +2 -2
  373. package/dist/components/utrecht-icon-schild-gemeente-utrecht.js +2 -2
  374. package/dist/components/utrecht-icon-search.js +2 -2
  375. package/dist/components/utrecht-icon-shoppen.js +2 -2
  376. package/dist/components/utrecht-icon-sinterklaas.js +2 -2
  377. package/dist/components/utrecht-icon-slechtziende-hoordende.js +2 -2
  378. package/dist/components/utrecht-icon-sport-en-cultuur.js +2 -2
  379. package/dist/components/utrecht-icon-sport-voetbal.js +2 -2
  380. package/dist/components/utrecht-icon-sport.js +2 -2
  381. package/dist/components/utrecht-icon-standaard-projecten.js +2 -2
  382. package/dist/components/utrecht-icon-stookverbod.js +2 -2
  383. package/dist/components/utrecht-icon-strand.js +2 -2
  384. package/dist/components/utrecht-icon-strooien.js +2 -2
  385. package/dist/components/utrecht-icon-subsidie-gezin.js +2 -2
  386. package/dist/components/utrecht-icon-subsidie.js +2 -2
  387. package/dist/components/utrecht-icon-t-shirt.js +2 -2
  388. package/dist/components/utrecht-icon-threads.js +2 -2
  389. package/dist/components/utrecht-icon-thuiswerken.js +2 -2
  390. package/dist/components/utrecht-icon-toeslag.js +2 -2
  391. package/dist/components/utrecht-icon-trein.js +2 -2
  392. package/dist/components/utrecht-icon-trouwen.js +2 -2
  393. package/dist/components/utrecht-icon-twitter.js +2 -2
  394. package/dist/components/utrecht-icon-user.js +2 -2
  395. package/dist/components/utrecht-icon-uw-wijk.js +2 -2
  396. package/dist/components/utrecht-icon-vaccinatie.js +2 -2
  397. package/dist/components/utrecht-icon-veilige-wijk.js +2 -2
  398. package/dist/components/utrecht-icon-vergaderen.js +2 -2
  399. package/dist/components/utrecht-icon-vergaderendigitaal.js +2 -2
  400. package/dist/components/utrecht-icon-vergoeding.js +2 -2
  401. package/dist/components/utrecht-icon-verhuizen.js +2 -2
  402. package/dist/components/utrecht-icon-verkeers-projecten.js +2 -2
  403. package/dist/components/utrecht-icon-verkeerslicht.js +2 -2
  404. package/dist/components/utrecht-icon-verkiezingen.js +2 -2
  405. package/dist/components/utrecht-icon-verslaving.js +2 -2
  406. package/dist/components/utrecht-icon-vervoersvoorziening.js +2 -2
  407. package/dist/components/utrecht-icon-virus.js +2 -2
  408. package/dist/components/utrecht-icon-vluchtelingen.js +2 -2
  409. package/dist/components/utrecht-icon-voorzieningen-vervoer.js +2 -2
  410. package/dist/components/utrecht-icon-vrijwilligerswerk.js +2 -2
  411. package/dist/components/utrecht-icon-vuilnisbak.js +2 -2
  412. package/dist/components/utrecht-icon-vuilniszak.js +2 -2
  413. package/dist/components/utrecht-icon-vuurwerk.js +2 -2
  414. package/dist/components/utrecht-icon-wandelstok.js +2 -2
  415. package/dist/components/utrecht-icon-warm.js +2 -2
  416. package/dist/components/utrecht-icon-warning.js +2 -2
  417. package/dist/components/utrecht-icon-werken.js +2 -2
  418. package/dist/components/utrecht-icon-werkzaamheden.js +2 -2
  419. package/dist/components/utrecht-icon-whatsapp.js +2 -2
  420. package/dist/components/utrecht-icon-wijk-denkmee.js +2 -2
  421. package/dist/components/utrecht-icon-wijk-overlast.js +2 -2
  422. package/dist/components/utrecht-icon-wijk-park.js +2 -2
  423. package/dist/components/utrecht-icon-wijk-projecten.js +2 -2
  424. package/dist/components/utrecht-icon-wijk-speelplaats.js +2 -2
  425. package/dist/components/utrecht-icon-wijk-sport.js +2 -2
  426. package/dist/components/utrecht-icon-wijk-zwemmen.js +2 -2
  427. package/dist/components/utrecht-icon-wonen-kosten.js +2 -2
  428. package/dist/components/utrecht-icon-woning-zoeken.js +2 -2
  429. package/dist/components/utrecht-icon-x.js +2 -2
  430. package/dist/components/utrecht-icon-youtube.js +2 -2
  431. package/dist/components/utrecht-icon-zelfstandig-wonen.js +2 -2
  432. package/dist/components/utrecht-icon-zoom-minus.js +2 -2
  433. package/dist/components/utrecht-icon-zoom-plus.js +2 -2
  434. package/dist/components/utrecht-icon-zoomin.js +2 -2
  435. package/dist/components/utrecht-icon-zoomout.js +2 -2
  436. package/dist/components/utrecht-icon-zorg-huis.js +2 -2
  437. package/dist/components/utrecht-icon-zweefpaal.js +2 -2
  438. package/dist/components/utrecht-icon-zwemmen.js +2 -2
  439. package/dist/components/utrecht-icon.js +2 -2
  440. package/dist/components/utrecht-link-button.js +3 -3
  441. package/dist/components/utrecht-link.js +2 -2
  442. package/dist/components/utrecht-logo-button.js +2 -2
  443. package/dist/components/utrecht-logo-image.js +2 -2
  444. package/dist/components/utrecht-logo.js +2 -2
  445. package/dist/components/utrecht-map-marker.js +2 -2
  446. package/dist/components/utrecht-mark.js +2 -2
  447. package/dist/components/utrecht-multiline-data.js +2 -2
  448. package/dist/components/utrecht-nav-bar.js +2 -2
  449. package/dist/components/utrecht-number-badge.js +2 -2
  450. package/dist/components/utrecht-number-data.js +2 -2
  451. package/dist/components/utrecht-page-body.js +2 -2
  452. package/dist/components/utrecht-page-content.js +2 -2
  453. package/dist/components/utrecht-page-footer.js +2 -2
  454. package/dist/components/utrecht-page-header.js +2 -2
  455. package/dist/components/utrecht-page-layout.js +2 -2
  456. package/dist/components/utrecht-page.js +2 -2
  457. package/dist/components/utrecht-pagination.js +3 -3
  458. package/dist/components/utrecht-paragraph.js +1 -1
  459. package/dist/components/utrecht-pre-heading.js +2 -2
  460. package/dist/components/utrecht-preserve-data.js +2 -2
  461. package/dist/components/utrecht-progress-list-item.js +5 -5
  462. package/dist/components/utrecht-progress-list-item.js.map +1 -1
  463. package/dist/components/utrecht-progress-list.js +3 -3
  464. package/dist/components/utrecht-progress-list.js.map +1 -1
  465. package/dist/components/utrecht-progress-sublist-item.js +4 -4
  466. package/dist/components/utrecht-progress-sublist-item.js.map +1 -1
  467. package/dist/components/utrecht-root.js +3 -3
  468. package/dist/components/utrecht-root.js.map +1 -1
  469. package/dist/components/utrecht-separator.js +2 -2
  470. package/dist/components/utrecht-sidenav.js +4 -4
  471. package/dist/components/utrecht-sidenav.js.map +1 -1
  472. package/dist/components/utrecht-skip-link.js +2 -2
  473. package/dist/components/utrecht-spotlight-section.js +3 -3
  474. package/dist/components/utrecht-status-badge.js +3 -3
  475. package/dist/components/utrecht-status-badge.js.map +1 -1
  476. package/dist/components/utrecht-surface.js +2 -2
  477. package/dist/components/utrecht-table-body.js +2 -2
  478. package/dist/components/utrecht-table-caption.js +3 -3
  479. package/dist/components/utrecht-table-caption.js.map +1 -1
  480. package/dist/components/utrecht-table-cell.js +2 -2
  481. package/dist/components/utrecht-table-container.js +3 -3
  482. package/dist/components/utrecht-table-container.js.map +1 -1
  483. package/dist/components/utrecht-table-footer.js +2 -2
  484. package/dist/components/utrecht-table-header-cell.js +2 -2
  485. package/dist/components/utrecht-table-header.js +3 -3
  486. package/dist/components/utrecht-table-header.js.map +1 -1
  487. package/dist/components/utrecht-table-row.js +3 -3
  488. package/dist/components/utrecht-table-row.js.map +1 -1
  489. package/dist/components/utrecht-table.js +2 -2
  490. package/dist/components/utrecht-textarea.js +4 -4
  491. package/dist/components/utrecht-textarea.js.map +1 -1
  492. package/dist/components/utrecht-textbox.js +4 -4
  493. package/dist/components/utrecht-textbox.js.map +1 -1
  494. package/dist/components/utrecht-top-task-link.js +2 -2
  495. package/dist/components/utrecht-top-task-nav.js +2 -2
  496. package/dist/components/utrecht-url-data.js +3 -3
  497. package/dist/components/utrecht-url-data.js.map +1 -1
  498. package/dist/esm/utrecht-action-group_46.entry.js +18 -16
  499. package/dist/esm/utrecht-action-group_46.entry.js.map +1 -1
  500. package/dist/esm/utrecht-backdrop.entry.js +1 -1
  501. package/dist/esm/utrecht-backdrop.entry.js.map +1 -1
  502. package/dist/esm/utrecht-body.entry.js +4 -4
  503. package/dist/esm/utrecht-body.entry.js.map +1 -1
  504. package/dist/esm/utrecht-custom-checkbox.entry.js +1 -1
  505. package/dist/esm/utrecht-data-list-item.entry.js +1 -1
  506. package/dist/esm/utrecht-form-toggle.entry.js +1 -1
  507. package/dist/esm/utrecht-form-toggle.entry.js.map +1 -1
  508. package/dist/esm/utrecht-html-content.entry.js +1 -1
  509. package/dist/esm/utrecht-html-content.entry.js.map +1 -1
  510. package/dist/esm/utrecht-progress-list-item.entry.js +1 -1
  511. package/dist/esm/utrecht-progress-list-item.entry.js.map +1 -1
  512. package/dist/esm/utrecht-progress-list.entry.js +1 -1
  513. package/dist/esm/utrecht-progress-list.entry.js.map +1 -1
  514. package/dist/esm/utrecht-progress-sublist-item.entry.js +1 -1
  515. package/dist/esm/utrecht-progress-sublist-item.entry.js.map +1 -1
  516. package/dist/esm/utrecht-root.entry.js +1 -1
  517. package/dist/esm/utrecht-root.entry.js.map +1 -1
  518. package/dist/esm/utrecht-sidenav.entry.js +1 -1
  519. package/dist/esm/utrecht-sidenav.entry.js.map +1 -1
  520. package/dist/esm/utrecht-table-caption.entry.js +1 -1
  521. package/dist/esm/utrecht-table-caption.entry.js.map +1 -1
  522. package/dist/esm/utrecht-table-container.entry.js +1 -1
  523. package/dist/esm/utrecht-table-container.entry.js.map +1 -1
  524. package/dist/esm/utrecht-table-header.entry.js +1 -1
  525. package/dist/esm/utrecht-table-header.entry.js.map +1 -1
  526. package/dist/esm/utrecht-table-row.entry.js +1 -1
  527. package/dist/esm/utrecht-table-row.entry.js.map +1 -1
  528. package/dist/esm/utrecht-textarea.entry.js +1 -1
  529. package/dist/esm/utrecht-textarea.entry.js.map +1 -1
  530. package/dist/esm/utrecht-textbox.entry.js +1 -1
  531. package/dist/esm/utrecht-textbox.entry.js.map +1 -1
  532. package/dist/types/components/body.d.ts +1 -1
  533. package/dist/utrecht/p-07df436f.entry.js +2 -0
  534. package/dist/utrecht/p-07df436f.entry.js.map +1 -0
  535. package/dist/utrecht/p-0f8a6c5d.entry.js +2 -0
  536. package/dist/utrecht/{p-341922cc.entry.js.map → p-0f8a6c5d.entry.js.map} +1 -1
  537. package/dist/utrecht/p-111bc630.entry.js +2 -0
  538. package/dist/utrecht/{p-b78c917c.entry.js.map → p-111bc630.entry.js.map} +1 -1
  539. package/dist/utrecht/{p-c8e10e08.entry.js → p-12b51a23.entry.js} +2 -2
  540. package/dist/utrecht/{p-c8e10e08.entry.js.map → p-12b51a23.entry.js.map} +1 -1
  541. package/dist/utrecht/p-161ae02f.entry.js +2 -0
  542. package/dist/utrecht/{p-9bbd5241.entry.js.map → p-161ae02f.entry.js.map} +1 -1
  543. package/dist/utrecht/p-1c7451c7.entry.js +2 -0
  544. package/dist/utrecht/{p-9dd388f5.entry.js.map → p-1c7451c7.entry.js.map} +1 -1
  545. package/dist/utrecht/p-28822e27.entry.js +2 -0
  546. package/dist/utrecht/{p-082d31b2.entry.js.map → p-28822e27.entry.js.map} +1 -1
  547. package/dist/utrecht/p-54afb1bf.entry.js +2 -0
  548. package/dist/utrecht/{p-8061ad92.entry.js.map → p-54afb1bf.entry.js.map} +1 -1
  549. package/dist/utrecht/p-56bc0920.entry.js +2 -0
  550. package/dist/utrecht/{p-81d1b4ce.entry.js.map → p-56bc0920.entry.js.map} +1 -1
  551. package/dist/utrecht/{p-a2f05439.entry.js → p-867b57d2.entry.js} +2 -2
  552. package/dist/utrecht/{p-a2f05439.entry.js.map → p-867b57d2.entry.js.map} +1 -1
  553. package/dist/utrecht/p-b06b325e.entry.js +2 -0
  554. package/dist/utrecht/{p-fc013486.entry.js.map → p-b06b325e.entry.js.map} +1 -1
  555. package/dist/utrecht/{p-57bd3d72.entry.js → p-d5053155.entry.js} +2 -2
  556. package/dist/utrecht/p-e26c28d0.entry.js +2 -0
  557. package/dist/utrecht/{p-c68c6594.entry.js.map → p-e26c28d0.entry.js.map} +1 -1
  558. package/dist/utrecht/p-e2d5f0a5.entry.js +2 -0
  559. package/dist/utrecht/{p-975b66b2.entry.js.map → p-e2d5f0a5.entry.js.map} +1 -1
  560. package/dist/utrecht/p-edc6473f.entry.js +2 -0
  561. package/dist/utrecht/p-edc6473f.entry.js.map +1 -0
  562. package/dist/utrecht/p-f516287a.entry.js +2 -0
  563. package/dist/utrecht/p-f516287a.entry.js.map +1 -0
  564. package/dist/utrecht/{p-2b5d7416.entry.js → p-f5cdd64f.entry.js} +2 -2
  565. package/dist/utrecht/{p-4149b6ec.entry.js → p-fdeaad43.entry.js} +2 -2
  566. package/dist/utrecht/{p-4149b6ec.entry.js.map → p-fdeaad43.entry.js.map} +1 -1
  567. package/dist/utrecht/utrecht.esm.js +1 -1
  568. package/package.json +36 -36
  569. package/dist/components/button.js +0 -143
  570. package/dist/components/button.js.map +0 -1
  571. package/dist/components/clsx.js.map +0 -1
  572. package/dist/components/form-field-description.js.map +0 -1
  573. package/dist/components/heading-2.js.map +0 -1
  574. package/dist/components/heading-3.js.map +0 -1
  575. package/dist/components/paragraph.js.map +0 -1
  576. package/dist/utrecht/p-082d31b2.entry.js +0 -2
  577. package/dist/utrecht/p-341922cc.entry.js +0 -2
  578. package/dist/utrecht/p-8061ad92.entry.js +0 -2
  579. package/dist/utrecht/p-81d1b4ce.entry.js +0 -2
  580. package/dist/utrecht/p-975b66b2.entry.js +0 -2
  581. package/dist/utrecht/p-9bbd5241.entry.js +0 -2
  582. package/dist/utrecht/p-9dd388f5.entry.js +0 -2
  583. package/dist/utrecht/p-ae9c1047.entry.js +0 -2
  584. package/dist/utrecht/p-ae9c1047.entry.js.map +0 -1
  585. package/dist/utrecht/p-aee3361b.entry.js +0 -2
  586. package/dist/utrecht/p-aee3361b.entry.js.map +0 -1
  587. package/dist/utrecht/p-b78c917c.entry.js +0 -2
  588. package/dist/utrecht/p-c68c6594.entry.js +0 -2
  589. package/dist/utrecht/p-e04057c0.entry.js +0 -2
  590. package/dist/utrecht/p-e04057c0.entry.js.map +0 -1
  591. package/dist/utrecht/p-fc013486.entry.js +0 -2
  592. /package/dist/utrecht/{p-57bd3d72.entry.js.map → p-d5053155.entry.js.map} +0 -0
  593. /package/dist/utrecht/{p-2b5d7416.entry.js.map → p-f5cdd64f.entry.js.map} +0 -0
@@ -0,0 +1,1304 @@
1
+ const NAMESPACE = 'utrecht';
2
+ const BUILD = /* utrecht */ { allRenderFn: true, appendChildSlotFix: false, asyncLoading: true, asyncQueue: false, attachStyles: true, cloneNodeFix: false, cmpDidLoad: false, cmpDidRender: false, cmpDidUnload: false, cmpDidUpdate: false, cmpShouldUpdate: false, cmpWillLoad: false, cmpWillRender: false, cmpWillUpdate: false, connectedCallback: true, constructableCSS: true, cssAnnotations: true, devTools: false, disconnectedCallback: true, element: false, event: true, experimentalScopedSlotChanges: false, experimentalSlotFixes: false, formAssociated: false, hasRenderFn: true, hostListener: false, hostListenerTarget: false, hostListenerTargetBody: false, hostListenerTargetDocument: false, hostListenerTargetParent: false, hostListenerTargetWindow: false, hotModuleReplacement: false, hydrateClientSide: false, hydrateServerSide: false, hydratedAttribute: false, hydratedClass: true, hydratedSelectorName: "hydrated", invisiblePrehydration: true, isDebug: false, isDev: false, isTesting: false, lazyLoad: false, lifecycle: false, lifecycleDOMEvents: false, member: true, method: true, mode: false, observeAttribute: true, profile: false, prop: true, propBoolean: true, propMutable: false, propNumber: true, propString: true, reflect: true, scoped: false, scopedSlotTextContentFix: false, scriptDataOpts: false, shadowDelegatesFocus: false, shadowDom: true, slot: true, slotChildNodesFix: false, slotRelocation: true, state: true, style: true, svg: true, taskQueue: true, updatable: true, vdomAttribute: true, vdomClass: true, vdomFunctional: false, vdomKey: true, vdomListener: true, vdomPropOrAttr: true, vdomRef: true, vdomRender: true, vdomStyle: true, vdomText: true, vdomXlink: false, watchCallback: false };
3
+
4
+ /*
5
+ Stencil Client Platform v4.18.3 | MIT Licensed | https://stenciljs.com
6
+ */
7
+ var __defProp = Object.defineProperty;
8
+ var __export = (target, all) => {
9
+ for (var name in all)
10
+ __defProp(target, name, { get: all[name], enumerable: true });
11
+ };
12
+
13
+ // src/runtime/asset-path.ts
14
+ var getAssetPath = (path) => {
15
+ const assetUrl = new URL(path, plt.$resourcesUrl$);
16
+ return assetUrl.origin !== win.location.origin ? assetUrl.href : assetUrl.pathname;
17
+ };
18
+ var setAssetPath = (path) => plt.$resourcesUrl$ = path;
19
+
20
+ // src/utils/constants.ts
21
+ var EMPTY_OBJ = {};
22
+ var SVG_NS = "http://www.w3.org/2000/svg";
23
+ var HTML_NS = "http://www.w3.org/1999/xhtml";
24
+
25
+ // src/utils/helpers.ts
26
+ var isDef = (v) => v != null;
27
+ var isComplexType = (o) => {
28
+ o = typeof o;
29
+ return o === "object" || o === "function";
30
+ };
31
+
32
+ // src/utils/query-nonce-meta-tag-content.ts
33
+ function queryNonceMetaTagContent(doc2) {
34
+ var _a, _b, _c;
35
+ return (_c = (_b = (_a = doc2.head) == null ? void 0 : _a.querySelector('meta[name="csp-nonce"]')) == null ? void 0 : _b.getAttribute("content")) != null ? _c : void 0;
36
+ }
37
+
38
+ // src/utils/result.ts
39
+ var result_exports = {};
40
+ __export(result_exports, {
41
+ err: () => err,
42
+ map: () => map,
43
+ ok: () => ok,
44
+ unwrap: () => unwrap,
45
+ unwrapErr: () => unwrapErr
46
+ });
47
+ var ok = (value) => ({
48
+ isOk: true,
49
+ isErr: false,
50
+ value
51
+ });
52
+ var err = (value) => ({
53
+ isOk: false,
54
+ isErr: true,
55
+ value
56
+ });
57
+ function map(result, fn) {
58
+ if (result.isOk) {
59
+ const val = fn(result.value);
60
+ if (val instanceof Promise) {
61
+ return val.then((newVal) => ok(newVal));
62
+ } else {
63
+ return ok(val);
64
+ }
65
+ }
66
+ if (result.isErr) {
67
+ const value = result.value;
68
+ return err(value);
69
+ }
70
+ throw "should never get here";
71
+ }
72
+ var unwrap = (result) => {
73
+ if (result.isOk) {
74
+ return result.value;
75
+ } else {
76
+ throw result.value;
77
+ }
78
+ };
79
+ var unwrapErr = (result) => {
80
+ if (result.isErr) {
81
+ return result.value;
82
+ } else {
83
+ throw result.value;
84
+ }
85
+ };
86
+ var createTime = (fnName, tagName = "") => {
87
+ {
88
+ return () => {
89
+ return;
90
+ };
91
+ }
92
+ };
93
+ var SLOT_FB_CSS = "slot-fb{display:contents}slot-fb[hidden]{display:none}";
94
+ var h = (nodeName, vnodeData, ...children) => {
95
+ let child = null;
96
+ let key = null;
97
+ let slotName = null;
98
+ let simple = false;
99
+ let lastSimple = false;
100
+ const vNodeChildren = [];
101
+ const walk = (c) => {
102
+ for (let i2 = 0; i2 < c.length; i2++) {
103
+ child = c[i2];
104
+ if (Array.isArray(child)) {
105
+ walk(child);
106
+ } else if (child != null && typeof child !== "boolean") {
107
+ if (simple = typeof nodeName !== "function" && !isComplexType(child)) {
108
+ child = String(child);
109
+ }
110
+ if (simple && lastSimple) {
111
+ vNodeChildren[vNodeChildren.length - 1].$text$ += child;
112
+ } else {
113
+ vNodeChildren.push(simple ? newVNode(null, child) : child);
114
+ }
115
+ lastSimple = simple;
116
+ }
117
+ }
118
+ };
119
+ walk(children);
120
+ if (vnodeData) {
121
+ if (vnodeData.key) {
122
+ key = vnodeData.key;
123
+ }
124
+ if (vnodeData.name) {
125
+ slotName = vnodeData.name;
126
+ }
127
+ {
128
+ const classData = vnodeData.className || vnodeData.class;
129
+ if (classData) {
130
+ vnodeData.class = typeof classData !== "object" ? classData : Object.keys(classData).filter((k) => classData[k]).join(" ");
131
+ }
132
+ }
133
+ }
134
+ const vnode = newVNode(nodeName, null);
135
+ vnode.$attrs$ = vnodeData;
136
+ if (vNodeChildren.length > 0) {
137
+ vnode.$children$ = vNodeChildren;
138
+ }
139
+ {
140
+ vnode.$key$ = key;
141
+ }
142
+ {
143
+ vnode.$name$ = slotName;
144
+ }
145
+ return vnode;
146
+ };
147
+ var newVNode = (tag, text) => {
148
+ const vnode = {
149
+ $flags$: 0,
150
+ $tag$: tag,
151
+ $text$: text,
152
+ $elm$: null,
153
+ $children$: null
154
+ };
155
+ {
156
+ vnode.$attrs$ = null;
157
+ }
158
+ {
159
+ vnode.$key$ = null;
160
+ }
161
+ {
162
+ vnode.$name$ = null;
163
+ }
164
+ return vnode;
165
+ };
166
+ var Host = {};
167
+ var isHost = (node) => node && node.$tag$ === Host;
168
+ var parsePropertyValue = (propValue, propType) => {
169
+ if (propValue != null && !isComplexType(propValue)) {
170
+ if (propType & 4 /* Boolean */) {
171
+ return propValue === "false" ? false : propValue === "" || !!propValue;
172
+ }
173
+ if (propType & 2 /* Number */) {
174
+ return parseFloat(propValue);
175
+ }
176
+ if (propType & 1 /* String */) {
177
+ return String(propValue);
178
+ }
179
+ return propValue;
180
+ }
181
+ return propValue;
182
+ };
183
+ var getElement = (ref) => ref;
184
+
185
+ // src/runtime/event-emitter.ts
186
+ var createEvent = (ref, name, flags) => {
187
+ const elm = getElement(ref);
188
+ return {
189
+ emit: (detail) => {
190
+ return emitEvent(elm, name, {
191
+ bubbles: !!(flags & 4 /* Bubbles */),
192
+ composed: !!(flags & 2 /* Composed */),
193
+ cancelable: !!(flags & 1 /* Cancellable */),
194
+ detail
195
+ });
196
+ }
197
+ };
198
+ };
199
+ var emitEvent = (elm, name, opts) => {
200
+ const ev = plt.ce(name, opts);
201
+ elm.dispatchEvent(ev);
202
+ return ev;
203
+ };
204
+ var rootAppliedStyles = /* @__PURE__ */ new WeakMap();
205
+ var registerStyle = (scopeId2, cssText, allowCS) => {
206
+ let style = styles.get(scopeId2);
207
+ if (supportsConstructableStylesheets && allowCS) {
208
+ style = style || new CSSStyleSheet();
209
+ if (typeof style === "string") {
210
+ style = cssText;
211
+ } else {
212
+ style.replaceSync(cssText);
213
+ }
214
+ } else {
215
+ style = cssText;
216
+ }
217
+ styles.set(scopeId2, style);
218
+ };
219
+ var addStyle = (styleContainerNode, cmpMeta, mode) => {
220
+ var _a;
221
+ const scopeId2 = getScopeId(cmpMeta);
222
+ const style = styles.get(scopeId2);
223
+ styleContainerNode = styleContainerNode.nodeType === 11 /* DocumentFragment */ ? styleContainerNode : doc;
224
+ if (style) {
225
+ if (typeof style === "string") {
226
+ styleContainerNode = styleContainerNode.head || styleContainerNode;
227
+ let appliedStyles = rootAppliedStyles.get(styleContainerNode);
228
+ let styleElm;
229
+ if (!appliedStyles) {
230
+ rootAppliedStyles.set(styleContainerNode, appliedStyles = /* @__PURE__ */ new Set());
231
+ }
232
+ if (!appliedStyles.has(scopeId2)) {
233
+ {
234
+ styleElm = doc.createElement("style");
235
+ styleElm.innerHTML = style;
236
+ const nonce = (_a = plt.$nonce$) != null ? _a : queryNonceMetaTagContent(doc);
237
+ if (nonce != null) {
238
+ styleElm.setAttribute("nonce", nonce);
239
+ }
240
+ styleContainerNode.insertBefore(styleElm, styleContainerNode.querySelector("link"));
241
+ }
242
+ if (cmpMeta.$flags$ & 4 /* hasSlotRelocation */) {
243
+ styleElm.innerHTML += SLOT_FB_CSS;
244
+ }
245
+ if (appliedStyles) {
246
+ appliedStyles.add(scopeId2);
247
+ }
248
+ }
249
+ } else if (!styleContainerNode.adoptedStyleSheets.includes(style)) {
250
+ styleContainerNode.adoptedStyleSheets = [...styleContainerNode.adoptedStyleSheets, style];
251
+ }
252
+ }
253
+ return scopeId2;
254
+ };
255
+ var attachStyles = (hostRef) => {
256
+ const cmpMeta = hostRef.$cmpMeta$;
257
+ const elm = hostRef.$hostElement$;
258
+ const flags = cmpMeta.$flags$;
259
+ const endAttachStyles = createTime("attachStyles", cmpMeta.$tagName$);
260
+ const scopeId2 = addStyle(
261
+ elm.shadowRoot ? elm.shadowRoot : elm.getRootNode(),
262
+ cmpMeta);
263
+ if (flags & 10 /* needsScopedEncapsulation */) {
264
+ elm["s-sc"] = scopeId2;
265
+ elm.classList.add(scopeId2 + "-h");
266
+ }
267
+ endAttachStyles();
268
+ };
269
+ var getScopeId = (cmp, mode) => "sc-" + (cmp.$tagName$);
270
+ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags) => {
271
+ if (oldValue !== newValue) {
272
+ let isProp = isMemberInElement(elm, memberName);
273
+ let ln = memberName.toLowerCase();
274
+ if (memberName === "class") {
275
+ const classList = elm.classList;
276
+ const oldClasses = parseClassList(oldValue);
277
+ const newClasses = parseClassList(newValue);
278
+ classList.remove(...oldClasses.filter((c) => c && !newClasses.includes(c)));
279
+ classList.add(...newClasses.filter((c) => c && !oldClasses.includes(c)));
280
+ } else if (memberName === "style") {
281
+ {
282
+ for (const prop in oldValue) {
283
+ if (!newValue || newValue[prop] == null) {
284
+ if (prop.includes("-")) {
285
+ elm.style.removeProperty(prop);
286
+ } else {
287
+ elm.style[prop] = "";
288
+ }
289
+ }
290
+ }
291
+ }
292
+ for (const prop in newValue) {
293
+ if (!oldValue || newValue[prop] !== oldValue[prop]) {
294
+ if (prop.includes("-")) {
295
+ elm.style.setProperty(prop, newValue[prop]);
296
+ } else {
297
+ elm.style[prop] = newValue[prop];
298
+ }
299
+ }
300
+ }
301
+ } else if (memberName === "key") ; else if (memberName === "ref") {
302
+ if (newValue) {
303
+ newValue(elm);
304
+ }
305
+ } else if ((!elm.__lookupSetter__(memberName)) && memberName[0] === "o" && memberName[1] === "n") {
306
+ if (memberName[2] === "-") {
307
+ memberName = memberName.slice(3);
308
+ } else if (isMemberInElement(win, ln)) {
309
+ memberName = ln.slice(2);
310
+ } else {
311
+ memberName = ln[2] + memberName.slice(3);
312
+ }
313
+ if (oldValue || newValue) {
314
+ const capture = memberName.endsWith(CAPTURE_EVENT_SUFFIX);
315
+ memberName = memberName.replace(CAPTURE_EVENT_REGEX, "");
316
+ if (oldValue) {
317
+ plt.rel(elm, memberName, oldValue, capture);
318
+ }
319
+ if (newValue) {
320
+ plt.ael(elm, memberName, newValue, capture);
321
+ }
322
+ }
323
+ } else {
324
+ const isComplex = isComplexType(newValue);
325
+ if ((isProp || isComplex && newValue !== null) && !isSvg) {
326
+ try {
327
+ if (!elm.tagName.includes("-")) {
328
+ const n = newValue == null ? "" : newValue;
329
+ if (memberName === "list") {
330
+ isProp = false;
331
+ } else if (oldValue == null || elm[memberName] != n) {
332
+ elm[memberName] = n;
333
+ }
334
+ } else {
335
+ elm[memberName] = newValue;
336
+ }
337
+ } catch (e) {
338
+ }
339
+ }
340
+ if (newValue == null || newValue === false) {
341
+ if (newValue !== false || elm.getAttribute(memberName) === "") {
342
+ {
343
+ elm.removeAttribute(memberName);
344
+ }
345
+ }
346
+ } else if ((!isProp || flags & 4 /* isHost */ || isSvg) && !isComplex) {
347
+ newValue = newValue === true ? "" : newValue;
348
+ {
349
+ elm.setAttribute(memberName, newValue);
350
+ }
351
+ }
352
+ }
353
+ }
354
+ };
355
+ var parseClassListRegex = /\s/;
356
+ var parseClassList = (value) => !value ? [] : value.split(parseClassListRegex);
357
+ var CAPTURE_EVENT_SUFFIX = "Capture";
358
+ var CAPTURE_EVENT_REGEX = new RegExp(CAPTURE_EVENT_SUFFIX + "$");
359
+
360
+ // src/runtime/vdom/update-element.ts
361
+ var updateElement = (oldVnode, newVnode, isSvgMode2) => {
362
+ const elm = newVnode.$elm$.nodeType === 11 /* DocumentFragment */ && newVnode.$elm$.host ? newVnode.$elm$.host : newVnode.$elm$;
363
+ const oldVnodeAttrs = oldVnode && oldVnode.$attrs$ || EMPTY_OBJ;
364
+ const newVnodeAttrs = newVnode.$attrs$ || EMPTY_OBJ;
365
+ {
366
+ for (const memberName of sortedAttrNames(Object.keys(oldVnodeAttrs))) {
367
+ if (!(memberName in newVnodeAttrs)) {
368
+ setAccessor(elm, memberName, oldVnodeAttrs[memberName], void 0, isSvgMode2, newVnode.$flags$);
369
+ }
370
+ }
371
+ }
372
+ for (const memberName of sortedAttrNames(Object.keys(newVnodeAttrs))) {
373
+ setAccessor(elm, memberName, oldVnodeAttrs[memberName], newVnodeAttrs[memberName], isSvgMode2, newVnode.$flags$);
374
+ }
375
+ };
376
+ function sortedAttrNames(attrNames) {
377
+ return attrNames.includes("ref") ? (
378
+ // we need to sort these to ensure that `'ref'` is the last attr
379
+ [...attrNames.filter((attr) => attr !== "ref"), "ref"]
380
+ ) : (
381
+ // no need to sort, return the original array
382
+ attrNames
383
+ );
384
+ }
385
+
386
+ // src/runtime/vdom/vdom-render.ts
387
+ var scopeId;
388
+ var contentRef;
389
+ var hostTagName;
390
+ var useNativeShadowDom = false;
391
+ var checkSlotFallbackVisibility = false;
392
+ var checkSlotRelocate = false;
393
+ var isSvgMode = false;
394
+ var createElm = (oldParentVNode, newParentVNode, childIndex, parentElm) => {
395
+ var _a;
396
+ const newVNode2 = newParentVNode.$children$[childIndex];
397
+ let i2 = 0;
398
+ let elm;
399
+ let childNode;
400
+ let oldVNode;
401
+ if (!useNativeShadowDom) {
402
+ checkSlotRelocate = true;
403
+ if (newVNode2.$tag$ === "slot") {
404
+ if (scopeId) {
405
+ parentElm.classList.add(scopeId + "-s");
406
+ }
407
+ newVNode2.$flags$ |= newVNode2.$children$ ? (
408
+ // slot element has fallback content
409
+ // still create an element that "mocks" the slot element
410
+ 2 /* isSlotFallback */
411
+ ) : (
412
+ // slot element does not have fallback content
413
+ // create an html comment we'll use to always reference
414
+ // where actual slot content should sit next to
415
+ 1 /* isSlotReference */
416
+ );
417
+ }
418
+ }
419
+ if (newVNode2.$text$ !== null) {
420
+ elm = newVNode2.$elm$ = doc.createTextNode(newVNode2.$text$);
421
+ } else if (newVNode2.$flags$ & 1 /* isSlotReference */) {
422
+ elm = newVNode2.$elm$ = doc.createTextNode("");
423
+ } else {
424
+ if (!isSvgMode) {
425
+ isSvgMode = newVNode2.$tag$ === "svg";
426
+ }
427
+ elm = newVNode2.$elm$ = doc.createElementNS(
428
+ isSvgMode ? SVG_NS : HTML_NS,
429
+ newVNode2.$flags$ & 2 /* isSlotFallback */ ? "slot-fb" : newVNode2.$tag$
430
+ ) ;
431
+ if (isSvgMode && newVNode2.$tag$ === "foreignObject") {
432
+ isSvgMode = false;
433
+ }
434
+ {
435
+ updateElement(null, newVNode2, isSvgMode);
436
+ }
437
+ if (isDef(scopeId) && elm["s-si"] !== scopeId) {
438
+ elm.classList.add(elm["s-si"] = scopeId);
439
+ }
440
+ if (newVNode2.$children$) {
441
+ for (i2 = 0; i2 < newVNode2.$children$.length; ++i2) {
442
+ childNode = createElm(oldParentVNode, newVNode2, i2, elm);
443
+ if (childNode) {
444
+ elm.appendChild(childNode);
445
+ }
446
+ }
447
+ }
448
+ {
449
+ if (newVNode2.$tag$ === "svg") {
450
+ isSvgMode = false;
451
+ } else if (elm.tagName === "foreignObject") {
452
+ isSvgMode = true;
453
+ }
454
+ }
455
+ }
456
+ elm["s-hn"] = hostTagName;
457
+ {
458
+ if (newVNode2.$flags$ & (2 /* isSlotFallback */ | 1 /* isSlotReference */)) {
459
+ elm["s-sr"] = true;
460
+ elm["s-cr"] = contentRef;
461
+ elm["s-sn"] = newVNode2.$name$ || "";
462
+ elm["s-rf"] = (_a = newVNode2.$attrs$) == null ? void 0 : _a.ref;
463
+ oldVNode = oldParentVNode && oldParentVNode.$children$ && oldParentVNode.$children$[childIndex];
464
+ if (oldVNode && oldVNode.$tag$ === newVNode2.$tag$ && oldParentVNode.$elm$) {
465
+ {
466
+ putBackInOriginalLocation(oldParentVNode.$elm$, false);
467
+ }
468
+ }
469
+ }
470
+ }
471
+ return elm;
472
+ };
473
+ var putBackInOriginalLocation = (parentElm, recursive) => {
474
+ plt.$flags$ |= 1 /* isTmpDisconnected */;
475
+ const oldSlotChildNodes = Array.from(parentElm.childNodes);
476
+ if (parentElm["s-sr"] && BUILD.experimentalSlotFixes) {
477
+ let node = parentElm;
478
+ while (node = node.nextSibling) {
479
+ if (node && node["s-sn"] === parentElm["s-sn"] && node["s-sh"] === hostTagName) {
480
+ oldSlotChildNodes.push(node);
481
+ }
482
+ }
483
+ }
484
+ for (let i2 = oldSlotChildNodes.length - 1; i2 >= 0; i2--) {
485
+ const childNode = oldSlotChildNodes[i2];
486
+ if (childNode["s-hn"] !== hostTagName && childNode["s-ol"]) {
487
+ insertBefore(parentReferenceNode(childNode), childNode, referenceNode(childNode));
488
+ childNode["s-ol"].remove();
489
+ childNode["s-ol"] = void 0;
490
+ childNode["s-sh"] = void 0;
491
+ checkSlotRelocate = true;
492
+ }
493
+ if (recursive) {
494
+ putBackInOriginalLocation(childNode, recursive);
495
+ }
496
+ }
497
+ plt.$flags$ &= ~1 /* isTmpDisconnected */;
498
+ };
499
+ var addVnodes = (parentElm, before, parentVNode, vnodes, startIdx, endIdx) => {
500
+ let containerElm = parentElm["s-cr"] && parentElm["s-cr"].parentNode || parentElm;
501
+ let childNode;
502
+ if (containerElm.shadowRoot && containerElm.tagName === hostTagName) {
503
+ containerElm = containerElm.shadowRoot;
504
+ }
505
+ for (; startIdx <= endIdx; ++startIdx) {
506
+ if (vnodes[startIdx]) {
507
+ childNode = createElm(null, parentVNode, startIdx, parentElm);
508
+ if (childNode) {
509
+ vnodes[startIdx].$elm$ = childNode;
510
+ insertBefore(containerElm, childNode, referenceNode(before) );
511
+ }
512
+ }
513
+ }
514
+ };
515
+ var removeVnodes = (vnodes, startIdx, endIdx) => {
516
+ for (let index = startIdx; index <= endIdx; ++index) {
517
+ const vnode = vnodes[index];
518
+ if (vnode) {
519
+ const elm = vnode.$elm$;
520
+ nullifyVNodeRefs(vnode);
521
+ if (elm) {
522
+ {
523
+ checkSlotFallbackVisibility = true;
524
+ if (elm["s-ol"]) {
525
+ elm["s-ol"].remove();
526
+ } else {
527
+ putBackInOriginalLocation(elm, true);
528
+ }
529
+ }
530
+ elm.remove();
531
+ }
532
+ }
533
+ }
534
+ };
535
+ var updateChildren = (parentElm, oldCh, newVNode2, newCh, isInitialRender = false) => {
536
+ let oldStartIdx = 0;
537
+ let newStartIdx = 0;
538
+ let idxInOld = 0;
539
+ let i2 = 0;
540
+ let oldEndIdx = oldCh.length - 1;
541
+ let oldStartVnode = oldCh[0];
542
+ let oldEndVnode = oldCh[oldEndIdx];
543
+ let newEndIdx = newCh.length - 1;
544
+ let newStartVnode = newCh[0];
545
+ let newEndVnode = newCh[newEndIdx];
546
+ let node;
547
+ let elmToMove;
548
+ while (oldStartIdx <= oldEndIdx && newStartIdx <= newEndIdx) {
549
+ if (oldStartVnode == null) {
550
+ oldStartVnode = oldCh[++oldStartIdx];
551
+ } else if (oldEndVnode == null) {
552
+ oldEndVnode = oldCh[--oldEndIdx];
553
+ } else if (newStartVnode == null) {
554
+ newStartVnode = newCh[++newStartIdx];
555
+ } else if (newEndVnode == null) {
556
+ newEndVnode = newCh[--newEndIdx];
557
+ } else if (isSameVnode(oldStartVnode, newStartVnode, isInitialRender)) {
558
+ patch(oldStartVnode, newStartVnode, isInitialRender);
559
+ oldStartVnode = oldCh[++oldStartIdx];
560
+ newStartVnode = newCh[++newStartIdx];
561
+ } else if (isSameVnode(oldEndVnode, newEndVnode, isInitialRender)) {
562
+ patch(oldEndVnode, newEndVnode, isInitialRender);
563
+ oldEndVnode = oldCh[--oldEndIdx];
564
+ newEndVnode = newCh[--newEndIdx];
565
+ } else if (isSameVnode(oldStartVnode, newEndVnode, isInitialRender)) {
566
+ if ((oldStartVnode.$tag$ === "slot" || newEndVnode.$tag$ === "slot")) {
567
+ putBackInOriginalLocation(oldStartVnode.$elm$.parentNode, false);
568
+ }
569
+ patch(oldStartVnode, newEndVnode, isInitialRender);
570
+ insertBefore(parentElm, oldStartVnode.$elm$, oldEndVnode.$elm$.nextSibling);
571
+ oldStartVnode = oldCh[++oldStartIdx];
572
+ newEndVnode = newCh[--newEndIdx];
573
+ } else if (isSameVnode(oldEndVnode, newStartVnode, isInitialRender)) {
574
+ if ((oldStartVnode.$tag$ === "slot" || newEndVnode.$tag$ === "slot")) {
575
+ putBackInOriginalLocation(oldEndVnode.$elm$.parentNode, false);
576
+ }
577
+ patch(oldEndVnode, newStartVnode, isInitialRender);
578
+ insertBefore(parentElm, oldEndVnode.$elm$, oldStartVnode.$elm$);
579
+ oldEndVnode = oldCh[--oldEndIdx];
580
+ newStartVnode = newCh[++newStartIdx];
581
+ } else {
582
+ idxInOld = -1;
583
+ {
584
+ for (i2 = oldStartIdx; i2 <= oldEndIdx; ++i2) {
585
+ if (oldCh[i2] && oldCh[i2].$key$ !== null && oldCh[i2].$key$ === newStartVnode.$key$) {
586
+ idxInOld = i2;
587
+ break;
588
+ }
589
+ }
590
+ }
591
+ if (idxInOld >= 0) {
592
+ elmToMove = oldCh[idxInOld];
593
+ if (elmToMove.$tag$ !== newStartVnode.$tag$) {
594
+ node = createElm(oldCh && oldCh[newStartIdx], newVNode2, idxInOld, parentElm);
595
+ } else {
596
+ patch(elmToMove, newStartVnode, isInitialRender);
597
+ oldCh[idxInOld] = void 0;
598
+ node = elmToMove.$elm$;
599
+ }
600
+ newStartVnode = newCh[++newStartIdx];
601
+ } else {
602
+ node = createElm(oldCh && oldCh[newStartIdx], newVNode2, newStartIdx, parentElm);
603
+ newStartVnode = newCh[++newStartIdx];
604
+ }
605
+ if (node) {
606
+ {
607
+ insertBefore(parentReferenceNode(oldStartVnode.$elm$), node, referenceNode(oldStartVnode.$elm$));
608
+ }
609
+ }
610
+ }
611
+ }
612
+ if (oldStartIdx > oldEndIdx) {
613
+ addVnodes(
614
+ parentElm,
615
+ newCh[newEndIdx + 1] == null ? null : newCh[newEndIdx + 1].$elm$,
616
+ newVNode2,
617
+ newCh,
618
+ newStartIdx,
619
+ newEndIdx
620
+ );
621
+ } else if (newStartIdx > newEndIdx) {
622
+ removeVnodes(oldCh, oldStartIdx, oldEndIdx);
623
+ }
624
+ };
625
+ var isSameVnode = (leftVNode, rightVNode, isInitialRender = false) => {
626
+ if (leftVNode.$tag$ === rightVNode.$tag$) {
627
+ if (leftVNode.$tag$ === "slot") {
628
+ return leftVNode.$name$ === rightVNode.$name$;
629
+ }
630
+ if (!isInitialRender) {
631
+ return leftVNode.$key$ === rightVNode.$key$;
632
+ }
633
+ return true;
634
+ }
635
+ return false;
636
+ };
637
+ var referenceNode = (node) => {
638
+ return node && node["s-ol"] || node;
639
+ };
640
+ var parentReferenceNode = (node) => (node["s-ol"] ? node["s-ol"] : node).parentNode;
641
+ var patch = (oldVNode, newVNode2, isInitialRender = false) => {
642
+ const elm = newVNode2.$elm$ = oldVNode.$elm$;
643
+ const oldChildren = oldVNode.$children$;
644
+ const newChildren = newVNode2.$children$;
645
+ const tag = newVNode2.$tag$;
646
+ const text = newVNode2.$text$;
647
+ let defaultHolder;
648
+ if (text === null) {
649
+ {
650
+ isSvgMode = tag === "svg" ? true : tag === "foreignObject" ? false : isSvgMode;
651
+ }
652
+ {
653
+ if (tag === "slot" && !useNativeShadowDom) ; else {
654
+ updateElement(oldVNode, newVNode2, isSvgMode);
655
+ }
656
+ }
657
+ if (oldChildren !== null && newChildren !== null) {
658
+ updateChildren(elm, oldChildren, newVNode2, newChildren, isInitialRender);
659
+ } else if (newChildren !== null) {
660
+ if (oldVNode.$text$ !== null) {
661
+ elm.textContent = "";
662
+ }
663
+ addVnodes(elm, null, newVNode2, newChildren, 0, newChildren.length - 1);
664
+ } else if (oldChildren !== null) {
665
+ removeVnodes(oldChildren, 0, oldChildren.length - 1);
666
+ }
667
+ if (isSvgMode && tag === "svg") {
668
+ isSvgMode = false;
669
+ }
670
+ } else if ((defaultHolder = elm["s-cr"])) {
671
+ defaultHolder.parentNode.textContent = text;
672
+ } else if (oldVNode.$text$ !== text) {
673
+ elm.data = text;
674
+ }
675
+ };
676
+ var updateFallbackSlotVisibility = (elm) => {
677
+ const childNodes = elm.childNodes;
678
+ for (const childNode of childNodes) {
679
+ if (childNode.nodeType === 1 /* ElementNode */) {
680
+ if (childNode["s-sr"]) {
681
+ const slotName = childNode["s-sn"];
682
+ childNode.hidden = false;
683
+ for (const siblingNode of childNodes) {
684
+ if (siblingNode !== childNode) {
685
+ if (siblingNode["s-hn"] !== childNode["s-hn"] || slotName !== "") {
686
+ if (siblingNode.nodeType === 1 /* ElementNode */ && (slotName === siblingNode.getAttribute("slot") || slotName === siblingNode["s-sn"]) || siblingNode.nodeType === 3 /* TextNode */ && slotName === siblingNode["s-sn"]) {
687
+ childNode.hidden = true;
688
+ break;
689
+ }
690
+ } else {
691
+ if (siblingNode.nodeType === 1 /* ElementNode */ || siblingNode.nodeType === 3 /* TextNode */ && siblingNode.textContent.trim() !== "") {
692
+ childNode.hidden = true;
693
+ break;
694
+ }
695
+ }
696
+ }
697
+ }
698
+ }
699
+ updateFallbackSlotVisibility(childNode);
700
+ }
701
+ }
702
+ };
703
+ var relocateNodes = [];
704
+ var markSlotContentForRelocation = (elm) => {
705
+ let node;
706
+ let hostContentNodes;
707
+ let j;
708
+ for (const childNode of elm.childNodes) {
709
+ if (childNode["s-sr"] && (node = childNode["s-cr"]) && node.parentNode) {
710
+ hostContentNodes = node.parentNode.childNodes;
711
+ const slotName = childNode["s-sn"];
712
+ for (j = hostContentNodes.length - 1; j >= 0; j--) {
713
+ node = hostContentNodes[j];
714
+ if (!node["s-cn"] && !node["s-nr"] && node["s-hn"] !== childNode["s-hn"] && (!BUILD.experimentalSlotFixes )) {
715
+ if (isNodeLocatedInSlot(node, slotName)) {
716
+ let relocateNodeData = relocateNodes.find((r) => r.$nodeToRelocate$ === node);
717
+ checkSlotFallbackVisibility = true;
718
+ node["s-sn"] = node["s-sn"] || slotName;
719
+ if (relocateNodeData) {
720
+ relocateNodeData.$nodeToRelocate$["s-sh"] = childNode["s-hn"];
721
+ relocateNodeData.$slotRefNode$ = childNode;
722
+ } else {
723
+ node["s-sh"] = childNode["s-hn"];
724
+ relocateNodes.push({
725
+ $slotRefNode$: childNode,
726
+ $nodeToRelocate$: node
727
+ });
728
+ }
729
+ if (node["s-sr"]) {
730
+ relocateNodes.map((relocateNode) => {
731
+ if (isNodeLocatedInSlot(relocateNode.$nodeToRelocate$, node["s-sn"])) {
732
+ relocateNodeData = relocateNodes.find((r) => r.$nodeToRelocate$ === node);
733
+ if (relocateNodeData && !relocateNode.$slotRefNode$) {
734
+ relocateNode.$slotRefNode$ = relocateNodeData.$slotRefNode$;
735
+ }
736
+ }
737
+ });
738
+ }
739
+ } else if (!relocateNodes.some((r) => r.$nodeToRelocate$ === node)) {
740
+ relocateNodes.push({
741
+ $nodeToRelocate$: node
742
+ });
743
+ }
744
+ }
745
+ }
746
+ }
747
+ if (childNode.nodeType === 1 /* ElementNode */) {
748
+ markSlotContentForRelocation(childNode);
749
+ }
750
+ }
751
+ };
752
+ var isNodeLocatedInSlot = (nodeToRelocate, slotName) => {
753
+ if (nodeToRelocate.nodeType === 1 /* ElementNode */) {
754
+ if (nodeToRelocate.getAttribute("slot") === null && slotName === "") {
755
+ return true;
756
+ }
757
+ if (nodeToRelocate.getAttribute("slot") === slotName) {
758
+ return true;
759
+ }
760
+ return false;
761
+ }
762
+ if (nodeToRelocate["s-sn"] === slotName) {
763
+ return true;
764
+ }
765
+ return slotName === "";
766
+ };
767
+ var nullifyVNodeRefs = (vNode) => {
768
+ {
769
+ vNode.$attrs$ && vNode.$attrs$.ref && vNode.$attrs$.ref(null);
770
+ vNode.$children$ && vNode.$children$.map(nullifyVNodeRefs);
771
+ }
772
+ };
773
+ var insertBefore = (parent, newNode, reference) => {
774
+ const inserted = parent == null ? void 0 : parent.insertBefore(newNode, reference);
775
+ return inserted;
776
+ };
777
+ var renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
778
+ var _a, _b, _c, _d;
779
+ const hostElm = hostRef.$hostElement$;
780
+ const cmpMeta = hostRef.$cmpMeta$;
781
+ const oldVNode = hostRef.$vnode$ || newVNode(null, null);
782
+ const rootVnode = isHost(renderFnResults) ? renderFnResults : h(null, null, renderFnResults);
783
+ hostTagName = hostElm.tagName;
784
+ if (cmpMeta.$attrsToReflect$) {
785
+ rootVnode.$attrs$ = rootVnode.$attrs$ || {};
786
+ cmpMeta.$attrsToReflect$.map(
787
+ ([propName, attribute]) => rootVnode.$attrs$[attribute] = hostElm[propName]
788
+ );
789
+ }
790
+ if (isInitialLoad && rootVnode.$attrs$) {
791
+ for (const key of Object.keys(rootVnode.$attrs$)) {
792
+ if (hostElm.hasAttribute(key) && !["key", "ref", "style", "class"].includes(key)) {
793
+ rootVnode.$attrs$[key] = hostElm[key];
794
+ }
795
+ }
796
+ }
797
+ rootVnode.$tag$ = null;
798
+ rootVnode.$flags$ |= 4 /* isHost */;
799
+ hostRef.$vnode$ = rootVnode;
800
+ rootVnode.$elm$ = oldVNode.$elm$ = hostElm.shadowRoot || hostElm ;
801
+ {
802
+ scopeId = hostElm["s-sc"];
803
+ }
804
+ useNativeShadowDom = (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) !== 0;
805
+ {
806
+ contentRef = hostElm["s-cr"];
807
+ checkSlotFallbackVisibility = false;
808
+ }
809
+ patch(oldVNode, rootVnode, isInitialLoad);
810
+ {
811
+ plt.$flags$ |= 1 /* isTmpDisconnected */;
812
+ if (checkSlotRelocate) {
813
+ markSlotContentForRelocation(rootVnode.$elm$);
814
+ for (const relocateData of relocateNodes) {
815
+ const nodeToRelocate = relocateData.$nodeToRelocate$;
816
+ if (!nodeToRelocate["s-ol"]) {
817
+ const orgLocationNode = doc.createTextNode("");
818
+ orgLocationNode["s-nr"] = nodeToRelocate;
819
+ insertBefore(nodeToRelocate.parentNode, nodeToRelocate["s-ol"] = orgLocationNode, nodeToRelocate);
820
+ }
821
+ }
822
+ for (const relocateData of relocateNodes) {
823
+ const nodeToRelocate = relocateData.$nodeToRelocate$;
824
+ const slotRefNode = relocateData.$slotRefNode$;
825
+ if (slotRefNode) {
826
+ const parentNodeRef = slotRefNode.parentNode;
827
+ let insertBeforeNode = slotRefNode.nextSibling;
828
+ {
829
+ let orgLocationNode = (_a = nodeToRelocate["s-ol"]) == null ? void 0 : _a.previousSibling;
830
+ while (orgLocationNode) {
831
+ let refNode = (_b = orgLocationNode["s-nr"]) != null ? _b : null;
832
+ if (refNode && refNode["s-sn"] === nodeToRelocate["s-sn"] && parentNodeRef === refNode.parentNode) {
833
+ refNode = refNode.nextSibling;
834
+ while (refNode === nodeToRelocate || (refNode == null ? void 0 : refNode["s-sr"])) {
835
+ refNode = refNode == null ? void 0 : refNode.nextSibling;
836
+ }
837
+ if (!refNode || !refNode["s-nr"]) {
838
+ insertBeforeNode = refNode;
839
+ break;
840
+ }
841
+ }
842
+ orgLocationNode = orgLocationNode.previousSibling;
843
+ }
844
+ }
845
+ if (!insertBeforeNode && parentNodeRef !== nodeToRelocate.parentNode || nodeToRelocate.nextSibling !== insertBeforeNode) {
846
+ if (nodeToRelocate !== insertBeforeNode) {
847
+ if (!nodeToRelocate["s-hn"] && nodeToRelocate["s-ol"]) {
848
+ nodeToRelocate["s-hn"] = nodeToRelocate["s-ol"].parentNode.nodeName;
849
+ }
850
+ insertBefore(parentNodeRef, nodeToRelocate, insertBeforeNode);
851
+ if (nodeToRelocate.nodeType === 1 /* ElementNode */) {
852
+ nodeToRelocate.hidden = (_c = nodeToRelocate["s-ih"]) != null ? _c : false;
853
+ }
854
+ }
855
+ }
856
+ nodeToRelocate && typeof slotRefNode["s-rf"] === "function" && slotRefNode["s-rf"](nodeToRelocate);
857
+ } else {
858
+ if (nodeToRelocate.nodeType === 1 /* ElementNode */) {
859
+ if (isInitialLoad) {
860
+ nodeToRelocate["s-ih"] = (_d = nodeToRelocate.hidden) != null ? _d : false;
861
+ }
862
+ nodeToRelocate.hidden = true;
863
+ }
864
+ }
865
+ }
866
+ }
867
+ if (checkSlotFallbackVisibility) {
868
+ updateFallbackSlotVisibility(rootVnode.$elm$);
869
+ }
870
+ plt.$flags$ &= ~1 /* isTmpDisconnected */;
871
+ relocateNodes.length = 0;
872
+ }
873
+ contentRef = void 0;
874
+ };
875
+
876
+ // src/runtime/update-component.ts
877
+ var attachToAncestor = (hostRef, ancestorComponent) => {
878
+ if (ancestorComponent && !hostRef.$onRenderResolve$ && ancestorComponent["s-p"]) {
879
+ ancestorComponent["s-p"].push(new Promise((r) => hostRef.$onRenderResolve$ = r));
880
+ }
881
+ };
882
+ var scheduleUpdate = (hostRef, isInitialLoad) => {
883
+ {
884
+ hostRef.$flags$ |= 16 /* isQueuedForUpdate */;
885
+ }
886
+ if (hostRef.$flags$ & 4 /* isWaitingForChildren */) {
887
+ hostRef.$flags$ |= 512 /* needsRerender */;
888
+ return;
889
+ }
890
+ attachToAncestor(hostRef, hostRef.$ancestorComponent$);
891
+ const dispatch = () => dispatchHooks(hostRef, isInitialLoad);
892
+ return writeTask(dispatch) ;
893
+ };
894
+ var dispatchHooks = (hostRef, isInitialLoad) => {
895
+ const elm = hostRef.$hostElement$;
896
+ const endSchedule = createTime("scheduleUpdate", hostRef.$cmpMeta$.$tagName$);
897
+ const instance = elm;
898
+ if (!instance) {
899
+ throw new Error(
900
+ `Can't render component <${elm.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`
901
+ );
902
+ }
903
+ let maybePromise;
904
+ endSchedule();
905
+ return enqueue(maybePromise, () => updateComponent(hostRef, instance, isInitialLoad));
906
+ };
907
+ var enqueue = (maybePromise, fn) => isPromisey(maybePromise) ? maybePromise.then(fn) : fn();
908
+ var isPromisey = (maybePromise) => maybePromise instanceof Promise || maybePromise && maybePromise.then && typeof maybePromise.then === "function";
909
+ var updateComponent = async (hostRef, instance, isInitialLoad) => {
910
+ var _a;
911
+ const elm = hostRef.$hostElement$;
912
+ const endUpdate = createTime("update", hostRef.$cmpMeta$.$tagName$);
913
+ const rc = elm["s-rc"];
914
+ if (isInitialLoad) {
915
+ attachStyles(hostRef);
916
+ }
917
+ const endRender = createTime("render", hostRef.$cmpMeta$.$tagName$);
918
+ {
919
+ callRender(hostRef, instance, elm, isInitialLoad);
920
+ }
921
+ if (rc) {
922
+ rc.map((cb) => cb());
923
+ elm["s-rc"] = void 0;
924
+ }
925
+ endRender();
926
+ endUpdate();
927
+ {
928
+ const childrenPromises = (_a = elm["s-p"]) != null ? _a : [];
929
+ const postUpdate = () => postUpdateComponent(hostRef);
930
+ if (childrenPromises.length === 0) {
931
+ postUpdate();
932
+ } else {
933
+ Promise.all(childrenPromises).then(postUpdate);
934
+ hostRef.$flags$ |= 4 /* isWaitingForChildren */;
935
+ childrenPromises.length = 0;
936
+ }
937
+ }
938
+ };
939
+ var callRender = (hostRef, instance, elm, isInitialLoad) => {
940
+ try {
941
+ instance = instance.render() ;
942
+ {
943
+ hostRef.$flags$ &= ~16 /* isQueuedForUpdate */;
944
+ }
945
+ {
946
+ hostRef.$flags$ |= 2 /* hasRendered */;
947
+ }
948
+ {
949
+ {
950
+ {
951
+ renderVdom(hostRef, instance, isInitialLoad);
952
+ }
953
+ }
954
+ }
955
+ } catch (e) {
956
+ consoleError(e, hostRef.$hostElement$);
957
+ }
958
+ return null;
959
+ };
960
+ var postUpdateComponent = (hostRef) => {
961
+ const tagName = hostRef.$cmpMeta$.$tagName$;
962
+ const elm = hostRef.$hostElement$;
963
+ const endPostUpdate = createTime("postUpdate", tagName);
964
+ const ancestorComponent = hostRef.$ancestorComponent$;
965
+ if (!(hostRef.$flags$ & 64 /* hasLoadedComponent */)) {
966
+ hostRef.$flags$ |= 64 /* hasLoadedComponent */;
967
+ {
968
+ addHydratedFlag(elm);
969
+ }
970
+ endPostUpdate();
971
+ {
972
+ hostRef.$onReadyResolve$(elm);
973
+ if (!ancestorComponent) {
974
+ appDidLoad();
975
+ }
976
+ }
977
+ } else {
978
+ endPostUpdate();
979
+ }
980
+ {
981
+ if (hostRef.$onRenderResolve$) {
982
+ hostRef.$onRenderResolve$();
983
+ hostRef.$onRenderResolve$ = void 0;
984
+ }
985
+ if (hostRef.$flags$ & 512 /* needsRerender */) {
986
+ nextTick(() => scheduleUpdate(hostRef, false));
987
+ }
988
+ hostRef.$flags$ &= ~(4 /* isWaitingForChildren */ | 512 /* needsRerender */);
989
+ }
990
+ };
991
+ var appDidLoad = (who) => {
992
+ {
993
+ addHydratedFlag(doc.documentElement);
994
+ }
995
+ nextTick(() => emitEvent(win, "appload", { detail: { namespace: NAMESPACE } }));
996
+ };
997
+ var addHydratedFlag = (elm) => {
998
+ var _a;
999
+ return elm.classList.add((_a = BUILD.hydratedSelectorName) != null ? _a : "hydrated") ;
1000
+ };
1001
+
1002
+ // src/runtime/set-value.ts
1003
+ var getValue = (ref, propName) => getHostRef(ref).$instanceValues$.get(propName);
1004
+ var setValue = (ref, propName, newVal, cmpMeta) => {
1005
+ const hostRef = getHostRef(ref);
1006
+ const oldVal = hostRef.$instanceValues$.get(propName);
1007
+ const flags = hostRef.$flags$;
1008
+ newVal = parsePropertyValue(newVal, cmpMeta.$members$[propName][0]);
1009
+ const areBothNaN = Number.isNaN(oldVal) && Number.isNaN(newVal);
1010
+ const didValueChange = newVal !== oldVal && !areBothNaN;
1011
+ if (didValueChange) {
1012
+ hostRef.$instanceValues$.set(propName, newVal);
1013
+ {
1014
+ if ((flags & (2 /* hasRendered */ | 16 /* isQueuedForUpdate */)) === 2 /* hasRendered */) {
1015
+ scheduleUpdate(hostRef, false);
1016
+ }
1017
+ }
1018
+ }
1019
+ };
1020
+
1021
+ // src/runtime/proxy-component.ts
1022
+ var proxyComponent = (Cstr, cmpMeta, flags) => {
1023
+ var _a;
1024
+ const prototype = Cstr.prototype;
1025
+ if (cmpMeta.$members$) {
1026
+ const members = Object.entries(cmpMeta.$members$);
1027
+ members.map(([memberName, [memberFlags]]) => {
1028
+ if ((memberFlags & 31 /* Prop */ || memberFlags & 32 /* State */)) {
1029
+ Object.defineProperty(prototype, memberName, {
1030
+ get() {
1031
+ return getValue(this, memberName);
1032
+ },
1033
+ set(newValue) {
1034
+ setValue(this, memberName, newValue, cmpMeta);
1035
+ },
1036
+ configurable: true,
1037
+ enumerable: true
1038
+ });
1039
+ }
1040
+ });
1041
+ {
1042
+ const attrNameToPropName = /* @__PURE__ */ new Map();
1043
+ prototype.attributeChangedCallback = function(attrName, oldValue, newValue) {
1044
+ plt.jmp(() => {
1045
+ var _a2;
1046
+ const propName = attrNameToPropName.get(attrName);
1047
+ if (this.hasOwnProperty(propName)) {
1048
+ newValue = this[propName];
1049
+ delete this[propName];
1050
+ } else if (prototype.hasOwnProperty(propName) && typeof this[propName] === "number" && this[propName] == newValue) {
1051
+ return;
1052
+ } else if (propName == null) {
1053
+ const hostRef = getHostRef(this);
1054
+ const flags2 = hostRef == null ? void 0 : hostRef.$flags$;
1055
+ if (flags2 && !(flags2 & 8 /* isConstructingInstance */) && flags2 & 128 /* isWatchReady */ && newValue !== oldValue) {
1056
+ const elm = this;
1057
+ const instance = elm;
1058
+ const entry = (_a2 = cmpMeta.$watchers$) == null ? void 0 : _a2[attrName];
1059
+ entry == null ? void 0 : entry.forEach((callbackName) => {
1060
+ if (instance[callbackName] != null) {
1061
+ instance[callbackName].call(instance, newValue, oldValue, attrName);
1062
+ }
1063
+ });
1064
+ }
1065
+ return;
1066
+ }
1067
+ this[propName] = newValue === null && typeof this[propName] === "boolean" ? false : newValue;
1068
+ });
1069
+ };
1070
+ Cstr.observedAttributes = Array.from(
1071
+ /* @__PURE__ */ new Set([
1072
+ ...Object.keys((_a = cmpMeta.$watchers$) != null ? _a : {}),
1073
+ ...members.filter(([_, m]) => m[0] & 15 /* HasAttribute */).map(([propName, m]) => {
1074
+ var _a2;
1075
+ const attrName = m[1] || propName;
1076
+ attrNameToPropName.set(attrName, propName);
1077
+ if (m[0] & 512 /* ReflectAttr */) {
1078
+ (_a2 = cmpMeta.$attrsToReflect$) == null ? void 0 : _a2.push([propName, attrName]);
1079
+ }
1080
+ return attrName;
1081
+ })
1082
+ ])
1083
+ );
1084
+ }
1085
+ }
1086
+ return Cstr;
1087
+ };
1088
+
1089
+ // src/runtime/initialize-component.ts
1090
+ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
1091
+ let Cstr;
1092
+ if ((hostRef.$flags$ & 32 /* hasInitializedComponent */) === 0) {
1093
+ hostRef.$flags$ |= 32 /* hasInitializedComponent */;
1094
+ {
1095
+ Cstr = elm.constructor;
1096
+ const cmpTag = elm.localName;
1097
+ customElements.whenDefined(cmpTag).then(() => hostRef.$flags$ |= 128 /* isWatchReady */);
1098
+ }
1099
+ if (Cstr && Cstr.style) {
1100
+ let style = Cstr.style;
1101
+ const scopeId2 = getScopeId(cmpMeta);
1102
+ if (!styles.has(scopeId2)) {
1103
+ const endRegisterStyles = createTime("registerStyles", cmpMeta.$tagName$);
1104
+ registerStyle(scopeId2, style, !!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */));
1105
+ endRegisterStyles();
1106
+ }
1107
+ }
1108
+ }
1109
+ const ancestorComponent = hostRef.$ancestorComponent$;
1110
+ const schedule = () => scheduleUpdate(hostRef, true);
1111
+ if (ancestorComponent && ancestorComponent["s-rc"]) {
1112
+ ancestorComponent["s-rc"].push(schedule);
1113
+ } else {
1114
+ schedule();
1115
+ }
1116
+ };
1117
+ var fireConnectedCallback = (instance) => {
1118
+ };
1119
+
1120
+ // src/runtime/connected-callback.ts
1121
+ var connectedCallback = (elm) => {
1122
+ if ((plt.$flags$ & 1 /* isTmpDisconnected */) === 0) {
1123
+ const hostRef = getHostRef(elm);
1124
+ const cmpMeta = hostRef.$cmpMeta$;
1125
+ const endConnected = createTime("connectedCallback", cmpMeta.$tagName$);
1126
+ if (!(hostRef.$flags$ & 1 /* hasConnected */)) {
1127
+ hostRef.$flags$ |= 1 /* hasConnected */;
1128
+ {
1129
+ if (// TODO(STENCIL-854): Remove code related to legacy shadowDomShim field
1130
+ cmpMeta.$flags$ & (4 /* hasSlotRelocation */ | 8 /* needsShadowDomShim */)) {
1131
+ setContentReference(elm);
1132
+ }
1133
+ }
1134
+ {
1135
+ let ancestorComponent = elm;
1136
+ while (ancestorComponent = ancestorComponent.parentNode || ancestorComponent.host) {
1137
+ if (ancestorComponent["s-p"]) {
1138
+ attachToAncestor(hostRef, hostRef.$ancestorComponent$ = ancestorComponent);
1139
+ break;
1140
+ }
1141
+ }
1142
+ }
1143
+ if (cmpMeta.$members$) {
1144
+ Object.entries(cmpMeta.$members$).map(([memberName, [memberFlags]]) => {
1145
+ if (memberFlags & 31 /* Prop */ && elm.hasOwnProperty(memberName)) {
1146
+ const value = elm[memberName];
1147
+ delete elm[memberName];
1148
+ elm[memberName] = value;
1149
+ }
1150
+ });
1151
+ }
1152
+ {
1153
+ initializeComponent(elm, hostRef, cmpMeta);
1154
+ }
1155
+ } else {
1156
+ if (hostRef == null ? void 0 : hostRef.$lazyInstance$) ; else if (hostRef == null ? void 0 : hostRef.$onReadyPromise$) {
1157
+ hostRef.$onReadyPromise$.then(() => fireConnectedCallback());
1158
+ }
1159
+ }
1160
+ endConnected();
1161
+ }
1162
+ };
1163
+ var setContentReference = (elm) => {
1164
+ const contentRefElm = elm["s-cr"] = doc.createComment(
1165
+ ""
1166
+ );
1167
+ contentRefElm["s-cn"] = true;
1168
+ insertBefore(elm, contentRefElm, elm.firstChild);
1169
+ };
1170
+ var disconnectedCallback = async (elm) => {
1171
+ if ((plt.$flags$ & 1 /* isTmpDisconnected */) === 0) {
1172
+ getHostRef(elm);
1173
+ }
1174
+ };
1175
+ var proxyCustomElement = (Cstr, compactMeta) => {
1176
+ const cmpMeta = {
1177
+ $flags$: compactMeta[0],
1178
+ $tagName$: compactMeta[1]
1179
+ };
1180
+ {
1181
+ cmpMeta.$members$ = compactMeta[2];
1182
+ }
1183
+ {
1184
+ cmpMeta.$attrsToReflect$ = [];
1185
+ }
1186
+ const originalConnectedCallback = Cstr.prototype.connectedCallback;
1187
+ const originalDisconnectedCallback = Cstr.prototype.disconnectedCallback;
1188
+ Object.assign(Cstr.prototype, {
1189
+ __registerHost() {
1190
+ registerHost(this, cmpMeta);
1191
+ },
1192
+ connectedCallback() {
1193
+ connectedCallback(this);
1194
+ if (originalConnectedCallback) {
1195
+ originalConnectedCallback.call(this);
1196
+ }
1197
+ },
1198
+ disconnectedCallback() {
1199
+ disconnectedCallback(this);
1200
+ if (originalDisconnectedCallback) {
1201
+ originalDisconnectedCallback.call(this);
1202
+ }
1203
+ },
1204
+ __attachShadow() {
1205
+ {
1206
+ {
1207
+ this.attachShadow({ mode: "open" });
1208
+ }
1209
+ }
1210
+ }
1211
+ });
1212
+ Cstr.is = cmpMeta.$tagName$;
1213
+ return proxyComponent(Cstr, cmpMeta);
1214
+ };
1215
+
1216
+ // src/runtime/nonce.ts
1217
+ var setNonce = (nonce) => plt.$nonce$ = nonce;
1218
+
1219
+ // src/runtime/platform-options.ts
1220
+ var setPlatformOptions = (opts) => Object.assign(plt, opts);
1221
+
1222
+ // src/client/client-host-ref.ts
1223
+ var hostRefs = /* @__PURE__ */ new WeakMap();
1224
+ var getHostRef = (ref) => hostRefs.get(ref);
1225
+ var registerHost = (hostElement, cmpMeta) => {
1226
+ const hostRef = {
1227
+ $flags$: 0,
1228
+ $hostElement$: hostElement,
1229
+ $cmpMeta$: cmpMeta,
1230
+ $instanceValues$: /* @__PURE__ */ new Map()
1231
+ };
1232
+ {
1233
+ hostRef.$onReadyPromise$ = new Promise((r) => hostRef.$onReadyResolve$ = r);
1234
+ hostElement["s-p"] = [];
1235
+ hostElement["s-rc"] = [];
1236
+ }
1237
+ return hostRefs.set(hostElement, hostRef);
1238
+ };
1239
+ var isMemberInElement = (elm, memberName) => memberName in elm;
1240
+ var consoleError = (e, el) => (0, console.error)(e, el);
1241
+
1242
+ // src/client/client-style.ts
1243
+ var styles = /* @__PURE__ */ new Map();
1244
+ var win = typeof window !== "undefined" ? window : {};
1245
+ var doc = win.document || { head: {} };
1246
+ var H = win.HTMLElement || class {
1247
+ };
1248
+ var plt = {
1249
+ $flags$: 0,
1250
+ $resourcesUrl$: "",
1251
+ jmp: (h2) => h2(),
1252
+ raf: (h2) => requestAnimationFrame(h2),
1253
+ ael: (el, eventName, listener, opts) => el.addEventListener(eventName, listener, opts),
1254
+ rel: (el, eventName, listener, opts) => el.removeEventListener(eventName, listener, opts),
1255
+ ce: (eventName, opts) => new CustomEvent(eventName, opts)
1256
+ };
1257
+ var promiseResolve = (v) => Promise.resolve(v);
1258
+ var supportsConstructableStylesheets = /* @__PURE__ */ (() => {
1259
+ try {
1260
+ new CSSStyleSheet();
1261
+ return typeof new CSSStyleSheet().replaceSync === "function";
1262
+ } catch (e) {
1263
+ }
1264
+ return false;
1265
+ })() ;
1266
+ var queuePending = false;
1267
+ var queueDomReads = [];
1268
+ var queueDomWrites = [];
1269
+ var queueTask = (queue, write) => (cb) => {
1270
+ queue.push(cb);
1271
+ if (!queuePending) {
1272
+ queuePending = true;
1273
+ if (write && plt.$flags$ & 4 /* queueSync */) {
1274
+ nextTick(flush);
1275
+ } else {
1276
+ plt.raf(flush);
1277
+ }
1278
+ }
1279
+ };
1280
+ var consume = (queue) => {
1281
+ for (let i2 = 0; i2 < queue.length; i2++) {
1282
+ try {
1283
+ queue[i2](performance.now());
1284
+ } catch (e) {
1285
+ consoleError(e);
1286
+ }
1287
+ }
1288
+ queue.length = 0;
1289
+ };
1290
+ var flush = () => {
1291
+ consume(queueDomReads);
1292
+ {
1293
+ consume(queueDomWrites);
1294
+ if (queuePending = queueDomReads.length > 0) {
1295
+ plt.raf(flush);
1296
+ }
1297
+ }
1298
+ };
1299
+ var nextTick = (cb) => promiseResolve().then(cb);
1300
+ var writeTask = /* @__PURE__ */ queueTask(queueDomWrites, true);
1301
+
1302
+ export { H, setNonce as a, setPlatformOptions as b, createEvent as c, Host as d, getAssetPath as g, h, proxyCustomElement as p, setAssetPath as s };
1303
+
1304
+ //# sourceMappingURL=p-2f0ff193.js.map