@govbr-ds/webcomponents 2.1.0 → 2.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (866) hide show
  1. package/README.md +0 -11
  2. package/cem/custom-elements.json +272 -71
  3. package/dist/cjs/app-globals-DcqHuMBv.js +9 -0
  4. package/dist/cjs/br-avatar.cjs.entry.js +248 -0
  5. package/dist/cjs/br-breadcrumb-item.cjs.entry.js +45 -0
  6. package/dist/cjs/br-breadcrumb.cjs.entry.js +443 -0
  7. package/dist/cjs/br-button_2.cjs.entry.js +280 -0
  8. package/dist/cjs/br-card.cjs.entry.js +111 -0
  9. package/dist/cjs/br-carousel-page.cjs.entry.js +80 -0
  10. package/dist/cjs/br-carousel.cjs.entry.js +565 -0
  11. package/dist/cjs/br-checkbox-group.cjs.entry.js +118 -0
  12. package/dist/cjs/br-checkbox.cjs.entry.js +288 -0
  13. package/dist/cjs/br-checkgroup.cjs.entry.js +20 -0
  14. package/dist/cjs/br-collapse_2.cjs.entry.js +683 -0
  15. package/dist/cjs/br-cookiebar-cookie.cjs.entry.js +83 -0
  16. package/dist/cjs/br-cookiebar-group.cjs.entry.js +309 -0
  17. package/dist/cjs/br-cookiebar-header.cjs.entry.js +39 -0
  18. package/dist/cjs/br-cookiebar-link.cjs.entry.js +55 -0
  19. package/dist/cjs/br-cookiebar-note-group.cjs.entry.js +70 -0
  20. package/dist/cjs/br-cookiebar-note.cjs.entry.js +25 -0
  21. package/dist/cjs/br-cookiebar.cjs.entry.js +758 -0
  22. package/dist/cjs/br-crumb.cjs.entry.js +51 -0
  23. package/dist/cjs/br-date-picker_3.cjs.entry.js +2447 -0
  24. package/dist/cjs/br-datetime-picker.cjs.entry.js +1886 -0
  25. package/dist/cjs/br-divider.cjs.entry.js +225 -0
  26. package/dist/cjs/br-dropdown_2.cjs.entry.js +2000 -0
  27. package/dist/cjs/br-footer-category.cjs.entry.js +102 -0
  28. package/dist/cjs/br-footer-item.cjs.entry.js +52 -0
  29. package/dist/cjs/br-footer-legal.cjs.entry.js +41 -0
  30. package/dist/cjs/br-footer-logo.cjs.entry.js +104 -0
  31. package/dist/cjs/br-footer-social.cjs.entry.js +71 -0
  32. package/dist/cjs/br-footer.cjs.entry.js +92 -0
  33. package/dist/cjs/br-header-function.cjs.entry.js +142 -0
  34. package/dist/cjs/br-header-link.cjs.entry.js +60 -0
  35. package/dist/cjs/br-header-list.cjs.entry.js +279 -0
  36. package/dist/cjs/br-header-logo.cjs.entry.js +178 -0
  37. package/dist/cjs/br-header.cjs.entry.js +642 -0
  38. package/dist/cjs/br-icon.cjs.entry.js +485 -0
  39. package/dist/cjs/br-input.cjs.entry.js +599 -0
  40. package/dist/cjs/br-item.cjs.entry.js +367 -0
  41. package/dist/cjs/br-link.cjs.entry.js +133 -0
  42. package/dist/cjs/br-loading.cjs.entry.js +505 -0
  43. package/dist/cjs/br-magic-button.cjs.entry.js +93 -0
  44. package/dist/cjs/br-menu-group.cjs.entry.js +23 -0
  45. package/dist/cjs/br-menu-header.cjs.entry.js +47 -0
  46. package/dist/cjs/br-menu-info.cjs.entry.js +38 -0
  47. package/dist/cjs/br-menu-item.cjs.entry.js +79 -0
  48. package/dist/cjs/br-menu-link.cjs.entry.js +56 -0
  49. package/dist/cjs/br-menu-list.cjs.entry.js +149 -0
  50. package/dist/cjs/br-menu-logo.cjs.entry.js +75 -0
  51. package/dist/cjs/br-menu-social.cjs.entry.js +65 -0
  52. package/dist/cjs/br-menu.cjs.entry.js +993 -0
  53. package/dist/cjs/br-modal.cjs.entry.js +496 -0
  54. package/dist/cjs/br-notification-body.cjs.entry.js +71 -0
  55. package/dist/cjs/br-notification-header.cjs.entry.js +48 -0
  56. package/dist/cjs/br-notification-item.cjs.entry.js +110 -0
  57. package/dist/cjs/br-notification.cjs.entry.js +334 -0
  58. package/dist/cjs/br-pagination.cjs.entry.js +884 -0
  59. package/dist/cjs/br-radio-group.cjs.entry.js +428 -0
  60. package/dist/cjs/br-radio.cjs.entry.js +357 -0
  61. package/dist/cjs/br-scrim.cjs.entry.js +1336 -0
  62. package/dist/cjs/br-select-input_3.cjs.entry.js +988 -0
  63. package/dist/cjs/br-sign-in.cjs.entry.js +126 -0
  64. package/dist/cjs/br-skip-link-item.cjs.entry.js +20 -0
  65. package/dist/cjs/br-skip-link.cjs.entry.js +362 -0
  66. package/dist/cjs/br-skiplink-item.cjs.entry.js +192 -0
  67. package/dist/cjs/br-slider.cjs.entry.js +687 -0
  68. package/dist/cjs/br-step_2.cjs.entry.js +628 -0
  69. package/dist/cjs/br-switch.cjs.entry.js +245 -0
  70. package/dist/cjs/br-tab-item.cjs.entry.js +185 -0
  71. package/dist/cjs/br-tab.cjs.entry.js +397 -0
  72. package/dist/cjs/br-table-body.cjs.entry.js +37 -0
  73. package/dist/cjs/br-table-cell.cjs.entry.js +184 -0
  74. package/dist/cjs/br-table-header-cell.cjs.entry.js +173 -0
  75. package/dist/cjs/br-table-header.cjs.entry.js +37 -0
  76. package/dist/cjs/br-table-row.cjs.entry.js +81 -0
  77. package/dist/cjs/br-table.cjs.entry.js +680 -0
  78. package/dist/cjs/br-tag.cjs.entry.js +493 -0
  79. package/dist/cjs/br-textarea.cjs.entry.js +306 -0
  80. package/dist/cjs/br-tooltip.cjs.entry.js +627 -0
  81. package/dist/cjs/br-upload.cjs.entry.js +581 -0
  82. package/dist/cjs/br-wizard-panel.cjs.entry.js +54 -0
  83. package/dist/cjs/br-wizard.cjs.entry.js +708 -0
  84. package/dist/cjs/breakpoint-observer-P8veqXg7.js +144 -0
  85. package/dist/cjs/clamp-Co_hWptd.js +25 -0
  86. package/dist/cjs/cookiebar.utils-CB1gQwZ4.js +18 -0
  87. package/dist/cjs/datetime-picker-constants-B5pWeOn1.js +3827 -0
  88. package/dist/cjs/event-CmVdNHxl.js +56 -0
  89. package/dist/cjs/floating-surface-dismiss-ccdiD0KF.js +63 -0
  90. package/dist/cjs/floating-ui-MBI1osio.js +136 -0
  91. package/dist/cjs/floating-ui.dom-BUSTaaxR.js +1715 -0
  92. package/dist/cjs/focus-DuywwJPR.js +30 -0
  93. package/dist/cjs/getNextElement-R9l3JtM9.js +31 -0
  94. package/dist/cjs/iconify-icon-DfODV9bf.js +2307 -0
  95. package/dist/cjs/id-CjRFMzf6.js +20 -0
  96. package/dist/cjs/index-C92n55ch.js +678 -0
  97. package/dist/cjs/index-CRdcutym.js +3287 -0
  98. package/dist/cjs/index.cjs.js +12 -0
  99. package/dist/cjs/isNil-DO5zWc3l.js +19 -0
  100. package/dist/cjs/isValid-Fu3kaWNn.js +3694 -0
  101. package/dist/cjs/loader.cjs.js +17 -0
  102. package/dist/cjs/native-dialog--Ewqm4w0.js +49 -0
  103. package/dist/cjs/navigation-AbzwcRCU.js +25 -0
  104. package/dist/cjs/parts-D5K3ae2C.js +19 -0
  105. package/dist/cjs/props-CScmBvKd.js +24 -0
  106. package/dist/cjs/raf-batcher-yc87a4dS.js +55 -0
  107. package/dist/cjs/slot-DAllytTj.js +48 -0
  108. package/dist/cjs/swipe-BU8_XE9f.js +345 -0
  109. package/dist/cjs/table-constants-BOPSay0B.js +183 -0
  110. package/dist/cjs/validator-CTCajtT9.js +123 -0
  111. package/dist/cjs/webcomponents.cjs.js +50 -0
  112. package/dist/collection/assets/icon-search.svg +6 -0
  113. package/dist/collection/assets/logo-negative.svg +1 -0
  114. package/dist/collection/assets/logo-positive.svg +1 -0
  115. package/dist/collection/assets/wc.svg +1 -0
  116. package/dist/collection/collection-manifest.json +113 -0
  117. package/dist/collection/components/avatar/avatar.css +1 -0
  118. package/dist/collection/components/avatar/avatar.js +589 -0
  119. package/dist/collection/components/avatar/avatar.types.js +1 -0
  120. package/dist/collection/components/breadcrumb/breadcrumb-item/breadcrumb-item.js +166 -0
  121. package/dist/collection/components/breadcrumb/breadcrumb.css +1 -0
  122. package/dist/collection/components/breadcrumb/breadcrumb.js +619 -0
  123. package/dist/collection/components/breadcrumb/breadcrumb.types.js +1 -0
  124. package/dist/collection/components/breadcrumb/crumb/crumb.js +175 -0
  125. package/dist/collection/components/button/button.css +1 -0
  126. package/dist/collection/components/button/button.js +546 -0
  127. package/dist/collection/components/button/button.types.js +1 -0
  128. package/dist/collection/components/card/card.css +1 -0
  129. package/dist/collection/components/card/card.js +225 -0
  130. package/dist/collection/components/carousel/carousel-page/carousel-page.css +1 -0
  131. package/dist/collection/components/carousel/carousel-page/carousel-page.js +195 -0
  132. package/dist/collection/components/carousel/carousel.css +1 -0
  133. package/dist/collection/components/carousel/carousel.js +1217 -0
  134. package/dist/collection/components/carousel/carousel.types.js +1 -0
  135. package/dist/collection/components/checkbox/checkbox.css +1 -0
  136. package/dist/collection/components/checkbox/checkbox.js +823 -0
  137. package/dist/collection/components/checkbox/checkbox.types.js +1 -0
  138. package/dist/collection/components/checkbox-group/checkbox-group.css +1 -0
  139. package/dist/collection/components/checkbox-group/checkbox-group.js +268 -0
  140. package/dist/collection/components/checkgroup/checkgroup.js +166 -0
  141. package/dist/collection/components/collapse/collapse.css +1 -0
  142. package/dist/collection/components/collapse/collapse.js +642 -0
  143. package/dist/collection/components/collapse/collapse.types.js +1 -0
  144. package/dist/collection/components/cookiebar/cookiebar-cookie/cookiebar-cookie.css +1 -0
  145. package/dist/collection/components/cookiebar/cookiebar-cookie/cookiebar-cookie.js +529 -0
  146. package/dist/collection/components/cookiebar/cookiebar-group/cookiebar-group.css +1 -0
  147. package/dist/collection/components/cookiebar/cookiebar-group/cookiebar-group.js +628 -0
  148. package/dist/collection/components/cookiebar/cookiebar-header/cookiebar-header.css +1 -0
  149. package/dist/collection/components/cookiebar/cookiebar-header/cookiebar-header.js +165 -0
  150. package/dist/collection/components/cookiebar/cookiebar-link/cookiebar-link.css +1 -0
  151. package/dist/collection/components/cookiebar/cookiebar-link/cookiebar-link.js +201 -0
  152. package/dist/collection/components/cookiebar/cookiebar-note/cookiebar-note.css +1 -0
  153. package/dist/collection/components/cookiebar/cookiebar-note/cookiebar-note.js +100 -0
  154. package/dist/collection/components/cookiebar/cookiebar-note-group/cookiebar-note-group.css +1 -0
  155. package/dist/collection/components/cookiebar/cookiebar-note-group/cookiebar-note-group.js +172 -0
  156. package/dist/collection/components/cookiebar/cookiebar.css +1 -0
  157. package/dist/collection/components/cookiebar/cookiebar.js +1419 -0
  158. package/dist/collection/components/cookiebar/cookiebar.types.js +1 -0
  159. package/dist/collection/components/cookiebar/cookiebar.utils.js +14 -0
  160. package/dist/collection/components/datetime-picker/date-picker/date-picker-locale.js +94 -0
  161. package/dist/collection/components/datetime-picker/date-picker/date-picker-props-validation.js +57 -0
  162. package/dist/collection/components/datetime-picker/date-picker/date-picker.css +1 -0
  163. package/dist/collection/components/datetime-picker/date-picker/date-picker.js +913 -0
  164. package/dist/collection/components/datetime-picker/datetime-input/datetime-input-props-validation.js +65 -0
  165. package/dist/collection/components/datetime-picker/datetime-input/datetime-input.css +1 -0
  166. package/dist/collection/components/datetime-picker/datetime-input/datetime-input.js +826 -0
  167. package/dist/collection/components/datetime-picker/datetime-picker-constants.js +36 -0
  168. package/dist/collection/components/datetime-picker/datetime-picker-form-associated.js +112 -0
  169. package/dist/collection/components/datetime-picker/datetime-picker-props-validation.js +202 -0
  170. package/dist/collection/components/datetime-picker/datetime-picker.css +1 -0
  171. package/dist/collection/components/datetime-picker/datetime-picker.js +1924 -0
  172. package/dist/collection/components/datetime-picker/datetime-picker.types.js +1 -0
  173. package/dist/collection/components/datetime-picker/datetime-picker.utils.js +250 -0
  174. package/dist/collection/components/datetime-picker/time-picker/time-picker-constants.js +13 -0
  175. package/dist/collection/components/datetime-picker/time-picker/time-picker.css +1 -0
  176. package/dist/collection/components/datetime-picker/time-picker/time-picker.js +456 -0
  177. package/dist/collection/components/divider/divider.css +1 -0
  178. package/dist/collection/components/divider/divider.js +537 -0
  179. package/dist/collection/components/divider/divider.types.js +1 -0
  180. package/dist/collection/components/dropdown/dropdown.css +1 -0
  181. package/dist/collection/components/dropdown/dropdown.js +939 -0
  182. package/dist/collection/components/dropdown/dropdown.types.js +1 -0
  183. package/dist/collection/components/footer/footer-category/footer-category.css +1 -0
  184. package/dist/collection/components/footer/footer-category/footer-category.js +160 -0
  185. package/dist/collection/components/footer/footer-item/footer-item.css +1 -0
  186. package/dist/collection/components/footer/footer-item/footer-item.js +154 -0
  187. package/dist/collection/components/footer/footer-legal/footer-legal.css +1 -0
  188. package/dist/collection/components/footer/footer-legal/footer-legal.js +75 -0
  189. package/dist/collection/components/footer/footer-logo/footer-logo.css +1 -0
  190. package/dist/collection/components/footer/footer-logo/footer-logo.js +342 -0
  191. package/dist/collection/components/footer/footer-logo/footer-logo.types.js +1 -0
  192. package/dist/collection/components/footer/footer-social/footer-social.css +1 -0
  193. package/dist/collection/components/footer/footer-social/footer-social.js +239 -0
  194. package/dist/collection/components/footer/footer.css +1 -0
  195. package/dist/collection/components/footer/footer.js +245 -0
  196. package/dist/collection/components/footer/footer.types.js +1 -0
  197. package/dist/collection/components/global.types.js +1 -0
  198. package/dist/collection/components/header/header-function/header-function.css +1 -0
  199. package/dist/collection/components/header/header-function/header-function.js +311 -0
  200. package/dist/collection/components/header/header-link/header-link.css +1 -0
  201. package/dist/collection/components/header/header-link/header-link.js +189 -0
  202. package/dist/collection/components/header/header-list/header-list.css +1 -0
  203. package/dist/collection/components/header/header-list/header-list.js +452 -0
  204. package/dist/collection/components/header/header-logo/header-logo.css +1 -0
  205. package/dist/collection/components/header/header-logo/header-logo.js +421 -0
  206. package/dist/collection/components/header/header.css +1 -0
  207. package/dist/collection/components/header/header.js +1131 -0
  208. package/dist/collection/components/header/header.types.js +1 -0
  209. package/dist/collection/components/icon/default-icons-cache.js +233 -0
  210. package/dist/collection/components/icon/icon.css +1 -0
  211. package/dist/collection/components/icon/icon.js +598 -0
  212. package/dist/collection/components/icon/icon.types.js +1 -0
  213. package/dist/collection/components/icon/icon.utils.js +33 -0
  214. package/dist/collection/components/input/input.css +1 -0
  215. package/dist/collection/components/input/input.js +1642 -0
  216. package/dist/collection/components/input/input.types.js +1 -0
  217. package/dist/collection/components/item/item.css +1 -0
  218. package/dist/collection/components/item/item.js +917 -0
  219. package/dist/collection/components/item/item.types.js +1 -0
  220. package/dist/collection/components/link/link.css +1 -0
  221. package/dist/collection/components/link/link.js +699 -0
  222. package/dist/collection/components/list/list.css +1 -0
  223. package/dist/collection/components/list/list.js +728 -0
  224. package/dist/collection/components/loading/loading.css +1 -0
  225. package/dist/collection/components/loading/loading.js +1169 -0
  226. package/dist/collection/components/loading/loading.types.js +1 -0
  227. package/dist/collection/components/magic-button/magic-button.css +1 -0
  228. package/dist/collection/components/magic-button/magic-button.js +238 -0
  229. package/dist/collection/components/menu/menu-group/menu-group.css +1 -0
  230. package/dist/collection/components/menu/menu-group/menu-group.js +77 -0
  231. package/dist/collection/components/menu/menu-header/menu-header.css +1 -0
  232. package/dist/collection/components/menu/menu-header/menu-header.js +161 -0
  233. package/dist/collection/components/menu/menu-info/menu-info.css +1 -0
  234. package/dist/collection/components/menu/menu-info/menu-info.js +94 -0
  235. package/dist/collection/components/menu/menu-item/menu-item.css +1 -0
  236. package/dist/collection/components/menu/menu-item/menu-item.js +306 -0
  237. package/dist/collection/components/menu/menu-item/menu-item.types.js +1 -0
  238. package/dist/collection/components/menu/menu-link/menu-link.css +1 -0
  239. package/dist/collection/components/menu/menu-link/menu-link.js +260 -0
  240. package/dist/collection/components/menu/menu-list/menu-list.css +1 -0
  241. package/dist/collection/components/menu/menu-list/menu-list.js +311 -0
  242. package/dist/collection/components/menu/menu-logo/menu-logo.css +1 -0
  243. package/dist/collection/components/menu/menu-logo/menu-logo.js +230 -0
  244. package/dist/collection/components/menu/menu-social/menu-social.css +1 -0
  245. package/dist/collection/components/menu/menu-social/menu-social.js +263 -0
  246. package/dist/collection/components/menu/menu.css +1 -0
  247. package/dist/collection/components/menu/menu.js +1372 -0
  248. package/dist/collection/components/menu/menu.types.js +1 -0
  249. package/dist/collection/components/menu/menu.utils.js +279 -0
  250. package/dist/collection/components/message/message.css +1 -0
  251. package/dist/collection/components/message/message.js +508 -0
  252. package/dist/collection/components/modal/modal.css +1 -0
  253. package/dist/collection/components/modal/modal.js +842 -0
  254. package/dist/collection/components/modal/modal.types.js +1 -0
  255. package/dist/collection/components/notification/notification-body/notification-body.css +1 -0
  256. package/dist/collection/components/notification/notification-body/notification-body.js +153 -0
  257. package/dist/collection/components/notification/notification-header/notification-header.css +1 -0
  258. package/dist/collection/components/notification/notification-header/notification-header.js +181 -0
  259. package/dist/collection/components/notification/notification-item/notification-item.css +1 -0
  260. package/dist/collection/components/notification/notification-item/notification-item.js +351 -0
  261. package/dist/collection/components/notification/notification-item/notification-item.types.js +1 -0
  262. package/dist/collection/components/notification/notification.css +1 -0
  263. package/dist/collection/components/notification/notification.js +838 -0
  264. package/dist/collection/components/notification/notification.types.js +1 -0
  265. package/dist/collection/components/pagination/pagination.css +1 -0
  266. package/dist/collection/components/pagination/pagination.js +1470 -0
  267. package/dist/collection/components/pagination/pagination.types.js +1 -0
  268. package/dist/collection/components/radio/radio.css +1 -0
  269. package/dist/collection/components/radio/radio.js +847 -0
  270. package/dist/collection/components/radio/radio.types.js +1 -0
  271. package/dist/collection/components/radio-group/radio-group.css +1 -0
  272. package/dist/collection/components/radio-group/radio-group.js +862 -0
  273. package/dist/collection/components/radio-group/radio-group.types.js +1 -0
  274. package/dist/collection/components/scrim/scrim.css +1 -0
  275. package/dist/collection/components/scrim/scrim.js +1825 -0
  276. package/dist/collection/components/scrim/scrim.types.js +1 -0
  277. package/dist/collection/components/scrim/scrim.utils.js +132 -0
  278. package/dist/collection/components/select/select-input/select-input.css +1 -0
  279. package/dist/collection/components/select/select-input/select-input.js +586 -0
  280. package/dist/collection/components/select/select-list/select-list.css +1 -0
  281. package/dist/collection/components/select/select-list/select-list.js +1159 -0
  282. package/dist/collection/components/select/select-option/select-option.css +1 -0
  283. package/dist/collection/components/select/select-option/select-option.js +564 -0
  284. package/dist/collection/components/select/select.constants.js +6 -0
  285. package/dist/collection/components/select/select.css +1 -0
  286. package/dist/collection/components/select/select.js +2692 -0
  287. package/dist/collection/components/select/select.types.js +1 -0
  288. package/dist/collection/components/select/select.utils.js +34 -0
  289. package/dist/collection/components/sign-in/sign-in.css +1 -0
  290. package/dist/collection/components/sign-in/sign-in.js +401 -0
  291. package/dist/collection/components/sign-in/sign-in.types.js +1 -0
  292. package/dist/collection/components/skip-link/skip-link-item/skip-link-item-alias.js +103 -0
  293. package/dist/collection/components/skip-link/skip-link-item/skip-link-item.css +1 -0
  294. package/dist/collection/components/skip-link/skip-link-item/skip-link-item.js +450 -0
  295. package/dist/collection/components/skip-link/skip-link.css +1 -0
  296. package/dist/collection/components/skip-link/skip-link.js +699 -0
  297. package/dist/collection/components/skip-link/skip-link.types.js +1 -0
  298. package/dist/collection/components/slider/slider.css +1 -0
  299. package/dist/collection/components/slider/slider.js +1324 -0
  300. package/dist/collection/components/slider/slider.types.js +1 -0
  301. package/dist/collection/components/step/step-item/step-item.css +1 -0
  302. package/dist/collection/components/step/step-item/step-item.js +604 -0
  303. package/dist/collection/components/step/step-item/step-item.types.js +1 -0
  304. package/dist/collection/components/step/step.css +1 -0
  305. package/dist/collection/components/step/step.js +896 -0
  306. package/dist/collection/components/step/step.types.js +1 -0
  307. package/dist/collection/components/switch/switch.css +1 -0
  308. package/dist/collection/components/switch/switch.js +715 -0
  309. package/dist/collection/components/switch/switch.types.js +1 -0
  310. package/dist/collection/components/tab/tab-item/tab-item.css +1 -0
  311. package/dist/collection/components/tab/tab-item/tab-item.js +425 -0
  312. package/dist/collection/components/tab/tab.css +1 -0
  313. package/dist/collection/components/tab/tab.js +724 -0
  314. package/dist/collection/components/tab/tab.types.js +1 -0
  315. package/dist/collection/components/table/table-body/table-body.css +1 -0
  316. package/dist/collection/components/table/table-body/table-body.js +51 -0
  317. package/dist/collection/components/table/table-cell/table-cell.css +1 -0
  318. package/dist/collection/components/table/table-cell/table-cell.js +373 -0
  319. package/dist/collection/components/table/table-constants.js +171 -0
  320. package/dist/collection/components/table/table-header/table-header.css +1 -0
  321. package/dist/collection/components/table/table-header/table-header.js +51 -0
  322. package/dist/collection/components/table/table-header-cell/table-header-cell.css +1 -0
  323. package/dist/collection/components/table/table-header-cell/table-header-cell.js +402 -0
  324. package/dist/collection/components/table/table-row/table-row.css +1 -0
  325. package/dist/collection/components/table/table-row/table-row.js +261 -0
  326. package/dist/collection/components/table/table-tokens.js +50 -0
  327. package/dist/collection/components/table/table-types.js +1 -0
  328. package/dist/collection/components/table/table-utils.js +44 -0
  329. package/dist/collection/components/table/table.css +1 -0
  330. package/dist/collection/components/table/table.js +1030 -0
  331. package/dist/collection/components/tag/tag.css +1 -0
  332. package/dist/collection/components/tag/tag.js +1152 -0
  333. package/dist/collection/components/tag/tag.types.js +1 -0
  334. package/dist/collection/components/textarea/textarea.css +1 -0
  335. package/dist/collection/components/textarea/textarea.js +985 -0
  336. package/dist/collection/components/textarea/textarea.types.js +1 -0
  337. package/dist/collection/components/tooltip/tooltip.css +1 -0
  338. package/dist/collection/components/tooltip/tooltip.js +1024 -0
  339. package/dist/collection/components/tooltip/tooltip.types.js +1 -0
  340. package/dist/collection/components/upload/upload.css +1 -0
  341. package/dist/collection/components/upload/upload.js +1314 -0
  342. package/dist/collection/components/upload/upload.types.js +1 -0
  343. package/dist/collection/components/wizard/wizard-panel/wizard-panel.css +1 -0
  344. package/dist/collection/components/wizard/wizard-panel/wizard-panel.js +167 -0
  345. package/dist/collection/components/wizard/wizard.css +1 -0
  346. package/dist/collection/components/wizard/wizard.js +1228 -0
  347. package/dist/collection/index.js +14 -0
  348. package/dist/collection/pages/components/cookiebar/index.js +26 -0
  349. package/dist/collection/pages/components/link/index.js +29 -0
  350. package/dist/collection/pages/components/pagination/index.js +12 -0
  351. package/dist/collection/pages/components/slider/index.js +18 -0
  352. package/dist/collection/pages/scripts/code-editor.js +101 -0
  353. package/dist/collection/pages/scripts/component-controls.js +600 -0
  354. package/dist/collection/pages/scripts/dev-event-console.js +47 -0
  355. package/dist/collection/pages/scripts/menu.js +192 -0
  356. package/dist/collection/pages/scripts/pageLoader.js +1422 -0
  357. package/dist/collection/shared/utils/assetsPath.js +75 -0
  358. package/dist/collection/shared/utils/breakpoint-observer.js +139 -0
  359. package/dist/collection/shared/utils/clamp.js +21 -0
  360. package/dist/collection/shared/utils/css-variables.js +12 -0
  361. package/dist/collection/shared/utils/cssVariables.js +37 -0
  362. package/dist/collection/shared/utils/date.js +405 -0
  363. package/dist/collection/shared/utils/debounce.js +39 -0
  364. package/dist/collection/shared/utils/event.js +55 -0
  365. package/dist/collection/shared/utils/floating-surface-dismiss.js +59 -0
  366. package/dist/collection/shared/utils/floating-ui.js +131 -0
  367. package/dist/collection/shared/utils/focus.js +24 -0
  368. package/dist/collection/shared/utils/form.js +82 -0
  369. package/dist/collection/shared/utils/format-bytes.js +20 -0
  370. package/dist/collection/shared/utils/getNextElement.js +30 -0
  371. package/dist/collection/shared/utils/getRandom.js +27 -0
  372. package/dist/collection/shared/utils/helpers.js +31 -0
  373. package/dist/collection/shared/utils/id.js +16 -0
  374. package/dist/collection/shared/utils/index.js +60 -0
  375. package/dist/collection/shared/utils/interfaces.js +1 -0
  376. package/dist/collection/shared/utils/isClient.js +14 -0
  377. package/dist/collection/shared/utils/isDefined.js +19 -0
  378. package/dist/collection/shared/utils/isEmpty.js +30 -0
  379. package/dist/collection/shared/utils/isHTMLElement.js +16 -0
  380. package/dist/collection/shared/utils/isNil.js +15 -0
  381. package/dist/collection/shared/utils/isString.js +20 -0
  382. package/dist/collection/shared/utils/native-dialog.js +44 -0
  383. package/dist/collection/shared/utils/navigation.js +21 -0
  384. package/dist/collection/shared/utils/parts.js +15 -0
  385. package/dist/collection/shared/utils/prop-warning.js +7 -0
  386. package/dist/collection/shared/utils/props.js +37 -0
  387. package/dist/collection/shared/utils/raf-batcher.js +51 -0
  388. package/dist/collection/shared/utils/scrollLock.js +141 -0
  389. package/dist/collection/shared/utils/setRafTimeout.js +38 -0
  390. package/dist/collection/shared/utils/slot.js +113 -0
  391. package/dist/collection/shared/utils/ssr-date.js +33 -0
  392. package/dist/collection/shared/utils/stringToArray.js +29 -0
  393. package/dist/collection/shared/utils/swipe.js +342 -0
  394. package/dist/collection/shared/utils/transition.js +127 -0
  395. package/dist/collection/shared/utils/types.js +1 -0
  396. package/dist/collection/shared/utils/validator.js +51 -0
  397. package/dist/collection/value-accessors/angular-value-accessor-config.js +41 -0
  398. package/dist/collection/value-accessors/index.js +6 -0
  399. package/dist/collection/value-accessors/vue-model-config.js +43 -0
  400. package/dist/components/br-avatar.d.ts +11 -0
  401. package/dist/components/br-avatar.js +5 -0
  402. package/dist/components/br-breadcrumb-item.d.ts +11 -0
  403. package/dist/components/br-breadcrumb-item.js +5 -0
  404. package/dist/components/br-breadcrumb.d.ts +11 -0
  405. package/dist/components/br-breadcrumb.js +5 -0
  406. package/dist/components/br-button.d.ts +11 -0
  407. package/dist/components/br-button.js +5 -0
  408. package/dist/components/br-card.d.ts +11 -0
  409. package/dist/components/br-card.js +5 -0
  410. package/dist/components/br-carousel-page.d.ts +11 -0
  411. package/dist/components/br-carousel-page.js +5 -0
  412. package/dist/components/br-carousel.d.ts +11 -0
  413. package/dist/components/br-carousel.js +5 -0
  414. package/dist/components/br-checkbox-group.d.ts +11 -0
  415. package/dist/components/br-checkbox-group.js +5 -0
  416. package/dist/components/br-checkbox.d.ts +11 -0
  417. package/dist/components/br-checkbox.js +5 -0
  418. package/dist/components/br-checkgroup.d.ts +11 -0
  419. package/dist/components/br-checkgroup.js +5 -0
  420. package/dist/components/br-collapse.d.ts +11 -0
  421. package/dist/components/br-collapse.js +5 -0
  422. package/dist/components/br-cookiebar-cookie.d.ts +11 -0
  423. package/dist/components/br-cookiebar-cookie.js +5 -0
  424. package/dist/components/br-cookiebar-group.d.ts +11 -0
  425. package/dist/components/br-cookiebar-group.js +5 -0
  426. package/dist/components/br-cookiebar-header.d.ts +11 -0
  427. package/dist/components/br-cookiebar-header.js +5 -0
  428. package/dist/components/br-cookiebar-link.d.ts +11 -0
  429. package/dist/components/br-cookiebar-link.js +5 -0
  430. package/dist/components/br-cookiebar-note-group.d.ts +11 -0
  431. package/dist/components/br-cookiebar-note-group.js +5 -0
  432. package/dist/components/br-cookiebar-note.d.ts +11 -0
  433. package/dist/components/br-cookiebar-note.js +5 -0
  434. package/dist/components/br-cookiebar.d.ts +11 -0
  435. package/dist/components/br-cookiebar.js +5 -0
  436. package/dist/components/br-crumb.d.ts +11 -0
  437. package/dist/components/br-crumb.js +5 -0
  438. package/dist/components/br-date-picker.d.ts +11 -0
  439. package/dist/components/br-date-picker.js +5 -0
  440. package/dist/components/br-datetime-input.d.ts +11 -0
  441. package/dist/components/br-datetime-input.js +5 -0
  442. package/dist/components/br-datetime-picker.d.ts +11 -0
  443. package/dist/components/br-datetime-picker.js +5 -0
  444. package/dist/components/br-divider.d.ts +11 -0
  445. package/dist/components/br-divider.js +5 -0
  446. package/dist/components/br-dropdown.d.ts +11 -0
  447. package/dist/components/br-dropdown.js +5 -0
  448. package/dist/components/br-footer-category.d.ts +11 -0
  449. package/dist/components/br-footer-category.js +5 -0
  450. package/dist/components/br-footer-item.d.ts +11 -0
  451. package/dist/components/br-footer-item.js +5 -0
  452. package/dist/components/br-footer-legal.d.ts +11 -0
  453. package/dist/components/br-footer-legal.js +5 -0
  454. package/dist/components/br-footer-logo.d.ts +11 -0
  455. package/dist/components/br-footer-logo.js +5 -0
  456. package/dist/components/br-footer-social.d.ts +11 -0
  457. package/dist/components/br-footer-social.js +5 -0
  458. package/dist/components/br-footer.d.ts +11 -0
  459. package/dist/components/br-footer.js +5 -0
  460. package/dist/components/br-header-function.d.ts +11 -0
  461. package/dist/components/br-header-function.js +5 -0
  462. package/dist/components/br-header-link.d.ts +11 -0
  463. package/dist/components/br-header-link.js +5 -0
  464. package/dist/components/br-header-list.d.ts +11 -0
  465. package/dist/components/br-header-list.js +5 -0
  466. package/dist/components/br-header-logo.d.ts +11 -0
  467. package/dist/components/br-header-logo.js +5 -0
  468. package/dist/components/br-header.d.ts +11 -0
  469. package/dist/components/br-header.js +5 -0
  470. package/dist/components/br-icon.d.ts +11 -0
  471. package/dist/components/br-icon.js +5 -0
  472. package/dist/components/br-input.d.ts +11 -0
  473. package/dist/components/br-input.js +5 -0
  474. package/dist/components/br-item.d.ts +11 -0
  475. package/dist/components/br-item.js +5 -0
  476. package/dist/components/br-link.d.ts +11 -0
  477. package/dist/components/br-link.js +5 -0
  478. package/dist/components/br-list.d.ts +11 -0
  479. package/dist/components/br-list.js +5 -0
  480. package/dist/components/br-loading.d.ts +11 -0
  481. package/dist/components/br-loading.js +5 -0
  482. package/dist/components/br-magic-button.d.ts +11 -0
  483. package/dist/components/br-magic-button.js +5 -0
  484. package/dist/components/br-menu-group.d.ts +11 -0
  485. package/dist/components/br-menu-group.js +5 -0
  486. package/dist/components/br-menu-header.d.ts +11 -0
  487. package/dist/components/br-menu-header.js +5 -0
  488. package/dist/components/br-menu-info.d.ts +11 -0
  489. package/dist/components/br-menu-info.js +5 -0
  490. package/dist/components/br-menu-item.d.ts +11 -0
  491. package/dist/components/br-menu-item.js +5 -0
  492. package/dist/components/br-menu-link.d.ts +11 -0
  493. package/dist/components/br-menu-link.js +5 -0
  494. package/dist/components/br-menu-list.d.ts +11 -0
  495. package/dist/components/br-menu-list.js +5 -0
  496. package/dist/components/br-menu-logo.d.ts +11 -0
  497. package/dist/components/br-menu-logo.js +5 -0
  498. package/dist/components/br-menu-social.d.ts +11 -0
  499. package/dist/components/br-menu-social.js +5 -0
  500. package/dist/components/br-menu.d.ts +11 -0
  501. package/dist/components/br-menu.js +5 -0
  502. package/dist/components/br-message.d.ts +11 -0
  503. package/dist/components/br-message.js +5 -0
  504. package/dist/components/br-modal.d.ts +11 -0
  505. package/dist/components/br-modal.js +5 -0
  506. package/dist/components/br-notification-body.d.ts +11 -0
  507. package/dist/components/br-notification-body.js +5 -0
  508. package/dist/components/br-notification-header.d.ts +11 -0
  509. package/dist/components/br-notification-header.js +5 -0
  510. package/dist/components/br-notification-item.d.ts +11 -0
  511. package/dist/components/br-notification-item.js +5 -0
  512. package/dist/components/br-notification.d.ts +11 -0
  513. package/dist/components/br-notification.js +5 -0
  514. package/dist/components/br-pagination.d.ts +11 -0
  515. package/dist/components/br-pagination.js +5 -0
  516. package/dist/components/br-radio-group.d.ts +11 -0
  517. package/dist/components/br-radio-group.js +5 -0
  518. package/dist/components/br-radio.d.ts +11 -0
  519. package/dist/components/br-radio.js +5 -0
  520. package/dist/components/br-scrim.d.ts +11 -0
  521. package/dist/components/br-scrim.js +5 -0
  522. package/dist/components/br-select-input.d.ts +11 -0
  523. package/dist/components/br-select-input.js +5 -0
  524. package/dist/components/br-select-list.d.ts +11 -0
  525. package/dist/components/br-select-list.js +5 -0
  526. package/dist/components/br-select-option.d.ts +11 -0
  527. package/dist/components/br-select-option.js +5 -0
  528. package/dist/components/br-select.d.ts +11 -0
  529. package/dist/components/br-select.js +5 -0
  530. package/dist/components/br-sign-in.d.ts +11 -0
  531. package/dist/components/br-sign-in.js +5 -0
  532. package/dist/components/br-skip-link-item.d.ts +11 -0
  533. package/dist/components/br-skip-link-item.js +5 -0
  534. package/dist/components/br-skip-link.d.ts +11 -0
  535. package/dist/components/br-skip-link.js +5 -0
  536. package/dist/components/br-skiplink-item.d.ts +11 -0
  537. package/dist/components/br-skiplink-item.js +5 -0
  538. package/dist/components/br-slider.d.ts +11 -0
  539. package/dist/components/br-slider.js +5 -0
  540. package/dist/components/br-step-item.d.ts +11 -0
  541. package/dist/components/br-step-item.js +5 -0
  542. package/dist/components/br-step.d.ts +11 -0
  543. package/dist/components/br-step.js +5 -0
  544. package/dist/components/br-switch.d.ts +11 -0
  545. package/dist/components/br-switch.js +5 -0
  546. package/dist/components/br-tab-item.d.ts +11 -0
  547. package/dist/components/br-tab-item.js +5 -0
  548. package/dist/components/br-tab.d.ts +11 -0
  549. package/dist/components/br-tab.js +5 -0
  550. package/dist/components/br-table-body.d.ts +11 -0
  551. package/dist/components/br-table-body.js +5 -0
  552. package/dist/components/br-table-cell.d.ts +11 -0
  553. package/dist/components/br-table-cell.js +5 -0
  554. package/dist/components/br-table-header-cell.d.ts +11 -0
  555. package/dist/components/br-table-header-cell.js +5 -0
  556. package/dist/components/br-table-header.d.ts +11 -0
  557. package/dist/components/br-table-header.js +5 -0
  558. package/dist/components/br-table-row.d.ts +11 -0
  559. package/dist/components/br-table-row.js +5 -0
  560. package/dist/components/br-table.d.ts +11 -0
  561. package/dist/components/br-table.js +5 -0
  562. package/dist/components/br-tag.d.ts +11 -0
  563. package/dist/components/br-tag.js +5 -0
  564. package/dist/components/br-textarea.d.ts +11 -0
  565. package/dist/components/br-textarea.js +5 -0
  566. package/dist/components/br-time-picker.d.ts +11 -0
  567. package/dist/components/br-time-picker.js +5 -0
  568. package/dist/components/br-tooltip.d.ts +11 -0
  569. package/dist/components/br-tooltip.js +5 -0
  570. package/dist/components/br-upload.d.ts +11 -0
  571. package/dist/components/br-upload.js +5 -0
  572. package/dist/components/br-wizard-panel.d.ts +11 -0
  573. package/dist/components/br-wizard-panel.js +5 -0
  574. package/dist/components/br-wizard.d.ts +11 -0
  575. package/dist/components/br-wizard.js +5 -0
  576. package/dist/components/index.d.ts +213 -0
  577. package/dist/components/index.js +5 -0
  578. package/dist/components/p-34Jfn-U-.js +5 -0
  579. package/dist/components/p-5z6jgH1D.js +5 -0
  580. package/dist/components/p-6OdfnwnK.js +5 -0
  581. package/dist/components/p-9S9bgUT0.js +5 -0
  582. package/dist/components/p-B-qLmYZC.js +5 -0
  583. package/dist/components/p-B55qsau4.js +5 -0
  584. package/dist/components/p-B7Amgxkp.js +5 -0
  585. package/dist/components/p-BC7f6MK8.js +5 -0
  586. package/dist/components/p-BKuMQJrQ.js +5 -0
  587. package/dist/components/p-BPJpHGOW.js +5 -0
  588. package/dist/components/p-BWXfdbQH.js +5 -0
  589. package/dist/components/p-Bb-nLtTG.js +5 -0
  590. package/dist/components/p-BeE7R9nu.js +5 -0
  591. package/dist/components/p-BkS6ujyf.js +5 -0
  592. package/dist/components/p-Bo0QYHJO.js +5 -0
  593. package/dist/components/p-C1yRmdso.js +5 -0
  594. package/dist/components/p-C2i2c_io.js +5 -0
  595. package/dist/components/p-C7v0lVlX.js +5 -0
  596. package/dist/components/p-CMBsvswx.js +5 -0
  597. package/dist/components/p-CRrimdz6.js +5 -0
  598. package/dist/components/p-CWORw84-.js +5 -0
  599. package/dist/components/p-CXMwM9m4.js +5 -0
  600. package/dist/components/p-CdDwqbBv.js +5 -0
  601. package/dist/components/p-CvUMXJCl.js +5 -0
  602. package/dist/components/p-D3usVJE2.js +16 -0
  603. package/dist/components/p-D6zroLx5.js +5 -0
  604. package/dist/components/p-DA5GS53D.js +5 -0
  605. package/dist/components/p-DBP6K_aq.js +5 -0
  606. package/dist/components/p-DBmwzG9E.js +5 -0
  607. package/dist/components/p-DCrVo-8T.js +5 -0
  608. package/dist/components/p-DFUKDNck.js +5 -0
  609. package/dist/components/p-DHicj0By.js +5 -0
  610. package/dist/components/p-DIK54tTj.js +5 -0
  611. package/dist/components/p-DQRSHR-D.js +5 -0
  612. package/dist/components/p-DRVMm1Py.js +5 -0
  613. package/dist/components/p-DWPmUV72.js +5 -0
  614. package/dist/components/p-DXjQyH6s.js +5 -0
  615. package/dist/components/p-DYA74R1r.js +5 -0
  616. package/dist/components/p-DmCxdB9P.js +5 -0
  617. package/dist/components/p-Dmfk7eEe.js +5 -0
  618. package/dist/components/p-Dp0xy_3n.js +5 -0
  619. package/dist/components/p-DxZJrIyL.js +5 -0
  620. package/dist/components/p-JAkkThgf.js +5 -0
  621. package/dist/components/p-Ud-WB0hx.js +5 -0
  622. package/dist/components/p-bhULC15U.js +5 -0
  623. package/dist/components/p-cF3ia5e9.js +5 -0
  624. package/dist/components/p-fpMNttbg.js +5 -0
  625. package/dist/components/p-gvnfuTjd.js +5 -0
  626. package/dist/components/p-qYONSNcf.js +5 -0
  627. package/dist/components/p-qhhHGJY1.js +5 -0
  628. package/dist/components/p-ttI0nvv_.js +5 -0
  629. package/dist/components/p-ukNmfGNP.js +5 -0
  630. package/dist/components/p-xa8e1kSW.js +5 -0
  631. package/dist/esm/app-globals-DVjNHTTs.js +7 -0
  632. package/dist/esm/br-avatar.entry.js +246 -0
  633. package/dist/esm/br-breadcrumb-item.entry.js +43 -0
  634. package/dist/esm/br-breadcrumb.entry.js +441 -0
  635. package/dist/esm/br-button_2.entry.js +277 -0
  636. package/dist/esm/br-card.entry.js +109 -0
  637. package/dist/esm/br-carousel-page.entry.js +78 -0
  638. package/dist/esm/br-carousel.entry.js +563 -0
  639. package/dist/esm/br-checkbox-group.entry.js +116 -0
  640. package/dist/esm/br-checkbox.entry.js +286 -0
  641. package/dist/esm/br-checkgroup.entry.js +18 -0
  642. package/dist/esm/br-collapse_2.entry.js +680 -0
  643. package/dist/esm/br-cookiebar-cookie.entry.js +81 -0
  644. package/dist/esm/br-cookiebar-group.entry.js +307 -0
  645. package/dist/esm/br-cookiebar-header.entry.js +37 -0
  646. package/dist/esm/br-cookiebar-link.entry.js +53 -0
  647. package/dist/esm/br-cookiebar-note-group.entry.js +68 -0
  648. package/dist/esm/br-cookiebar-note.entry.js +23 -0
  649. package/dist/esm/br-cookiebar.entry.js +756 -0
  650. package/dist/esm/br-crumb.entry.js +49 -0
  651. package/dist/esm/br-date-picker_3.entry.js +2443 -0
  652. package/dist/esm/br-datetime-picker.entry.js +1884 -0
  653. package/dist/esm/br-divider.entry.js +223 -0
  654. package/dist/esm/br-dropdown_2.entry.js +1997 -0
  655. package/dist/esm/br-footer-category.entry.js +100 -0
  656. package/dist/esm/br-footer-item.entry.js +50 -0
  657. package/dist/esm/br-footer-legal.entry.js +39 -0
  658. package/dist/esm/br-footer-logo.entry.js +102 -0
  659. package/dist/esm/br-footer-social.entry.js +69 -0
  660. package/dist/esm/br-footer.entry.js +90 -0
  661. package/dist/esm/br-header-function.entry.js +140 -0
  662. package/dist/esm/br-header-link.entry.js +58 -0
  663. package/dist/esm/br-header-list.entry.js +277 -0
  664. package/dist/esm/br-header-logo.entry.js +176 -0
  665. package/dist/esm/br-header.entry.js +640 -0
  666. package/dist/esm/br-icon.entry.js +483 -0
  667. package/dist/esm/br-input.entry.js +597 -0
  668. package/dist/esm/br-item.entry.js +365 -0
  669. package/dist/esm/br-link.entry.js +131 -0
  670. package/dist/esm/br-loading.entry.js +503 -0
  671. package/dist/esm/br-magic-button.entry.js +91 -0
  672. package/dist/esm/br-menu-group.entry.js +21 -0
  673. package/dist/esm/br-menu-header.entry.js +45 -0
  674. package/dist/esm/br-menu-info.entry.js +36 -0
  675. package/dist/esm/br-menu-item.entry.js +77 -0
  676. package/dist/esm/br-menu-link.entry.js +54 -0
  677. package/dist/esm/br-menu-list.entry.js +147 -0
  678. package/dist/esm/br-menu-logo.entry.js +73 -0
  679. package/dist/esm/br-menu-social.entry.js +63 -0
  680. package/dist/esm/br-menu.entry.js +991 -0
  681. package/dist/esm/br-modal.entry.js +494 -0
  682. package/dist/esm/br-notification-body.entry.js +69 -0
  683. package/dist/esm/br-notification-header.entry.js +46 -0
  684. package/dist/esm/br-notification-item.entry.js +108 -0
  685. package/dist/esm/br-notification.entry.js +332 -0
  686. package/dist/esm/br-pagination.entry.js +882 -0
  687. package/dist/esm/br-radio-group.entry.js +426 -0
  688. package/dist/esm/br-radio.entry.js +355 -0
  689. package/dist/esm/br-scrim.entry.js +1334 -0
  690. package/dist/esm/br-select-input_3.entry.js +984 -0
  691. package/dist/esm/br-sign-in.entry.js +124 -0
  692. package/dist/esm/br-skip-link-item.entry.js +18 -0
  693. package/dist/esm/br-skip-link.entry.js +360 -0
  694. package/dist/esm/br-skiplink-item.entry.js +190 -0
  695. package/dist/esm/br-slider.entry.js +685 -0
  696. package/dist/esm/br-step_2.entry.js +625 -0
  697. package/dist/esm/br-switch.entry.js +243 -0
  698. package/dist/esm/br-tab-item.entry.js +183 -0
  699. package/dist/esm/br-tab.entry.js +395 -0
  700. package/dist/esm/br-table-body.entry.js +35 -0
  701. package/dist/esm/br-table-cell.entry.js +182 -0
  702. package/dist/esm/br-table-header-cell.entry.js +171 -0
  703. package/dist/esm/br-table-header.entry.js +35 -0
  704. package/dist/esm/br-table-row.entry.js +79 -0
  705. package/dist/esm/br-table.entry.js +678 -0
  706. package/dist/esm/br-tag.entry.js +491 -0
  707. package/dist/esm/br-textarea.entry.js +304 -0
  708. package/dist/esm/br-tooltip.entry.js +625 -0
  709. package/dist/esm/br-upload.entry.js +579 -0
  710. package/dist/esm/br-wizard-panel.entry.js +52 -0
  711. package/dist/esm/br-wizard.entry.js +706 -0
  712. package/dist/esm/breakpoint-observer-DBmwzG9E.js +141 -0
  713. package/dist/esm/clamp-gvnfuTjd.js +23 -0
  714. package/dist/esm/cookiebar.utils-DYA74R1r.js +16 -0
  715. package/dist/esm/datetime-picker-constants-Bfm58jO6.js +3798 -0
  716. package/dist/esm/event-DFN_so7I.js +48 -0
  717. package/dist/esm/floating-surface-dismiss-BWXfdbQH.js +61 -0
  718. package/dist/esm/floating-ui-BavFwMnx.js +134 -0
  719. package/dist/esm/floating-ui.dom-DIK54tTj.js +1707 -0
  720. package/dist/esm/focus-DxZJrIyL.js +26 -0
  721. package/dist/esm/getNextElement-9S9bgUT0.js +28 -0
  722. package/dist/esm/iconify-icon-D3usVJE2.js +2303 -0
  723. package/dist/esm/id-BkS6ujyf.js +18 -0
  724. package/dist/esm/index-Bo-2igoO.js +671 -0
  725. package/dist/esm/index-C2RBydfd.js +3258 -0
  726. package/dist/esm/index.js +6 -0
  727. package/dist/esm/isNil-B-qLmYZC.js +17 -0
  728. package/dist/esm/isValid-DIUZX1qS.js +3684 -0
  729. package/dist/esm/loader.js +15 -0
  730. package/dist/esm/native-dialog-B55qsau4.js +46 -0
  731. package/dist/esm/navigation-bhULC15U.js +23 -0
  732. package/dist/esm/parts-Bb5vVlCC.js +17 -0
  733. package/dist/esm/props-DRVMm1Py.js +22 -0
  734. package/dist/esm/raf-batcher-cF3ia5e9.js +53 -0
  735. package/dist/esm/slot-BIG-yees.js +44 -0
  736. package/dist/esm/swipe-Dmfk7eEe.js +343 -0
  737. package/dist/esm/table-constants-CXMwM9m4.js +170 -0
  738. package/dist/esm/validator-D3tVP32U.js +113 -0
  739. package/dist/esm/webcomponents.js +46 -0
  740. package/dist/hydrate/index.d.ts +287 -0
  741. package/dist/hydrate/index.js +67516 -0
  742. package/dist/hydrate/index.mjs +67506 -0
  743. package/dist/hydrate/package.json +12 -0
  744. package/dist/index.cjs.js +1 -0
  745. package/dist/index.js +1 -0
  746. package/dist/loader/cdn.js +5 -0
  747. package/dist/loader/index.cjs.js +5 -0
  748. package/dist/loader/index.d.ts +24 -0
  749. package/dist/loader/index.es2017.js +5 -0
  750. package/dist/loader/index.js +6 -0
  751. package/dist/types/components/item/item.d.ts +1 -0
  752. package/dist/types/components/select/select-list/select-list.d.ts +1 -0
  753. package/dist/types/components/select/select-option/select-option.d.ts +1 -0
  754. package/dist/types/components/select/select.d.ts +14 -0
  755. package/dist/types/components/select/select.types.d.ts +2 -0
  756. package/dist/types/components/select/select.utils.d.ts +13 -0
  757. package/dist/webcomponents/index.esm.js +5 -0
  758. package/dist/webcomponents/p-0196804a.entry.js +5 -0
  759. package/dist/webcomponents/p-0410186a.entry.js +5 -0
  760. package/dist/webcomponents/p-0415ef22.entry.js +5 -0
  761. package/dist/webcomponents/p-0777c7b1.entry.js +5 -0
  762. package/dist/webcomponents/p-0caa4d12.entry.js +5 -0
  763. package/dist/webcomponents/p-0d4f718d.entry.js +5 -0
  764. package/dist/webcomponents/p-0e84c9e8.entry.js +5 -0
  765. package/dist/webcomponents/p-12286e73.entry.js +5 -0
  766. package/dist/webcomponents/p-147ac8d3.entry.js +5 -0
  767. package/dist/webcomponents/p-1580beee.entry.js +5 -0
  768. package/dist/webcomponents/p-18ee6175.entry.js +5 -0
  769. package/dist/webcomponents/p-1bca4499.entry.js +5 -0
  770. package/dist/webcomponents/p-1c303a4e.entry.js +5 -0
  771. package/dist/webcomponents/p-1d6b0b6f.entry.js +5 -0
  772. package/dist/webcomponents/p-1d8cb8fd.entry.js +5 -0
  773. package/dist/webcomponents/p-224daaac.entry.js +5 -0
  774. package/dist/webcomponents/p-28426d2a.entry.js +5 -0
  775. package/dist/webcomponents/p-2abd2da0.entry.js +5 -0
  776. package/dist/webcomponents/p-2fdc51ae.entry.js +5 -0
  777. package/dist/webcomponents/p-30c428b6.entry.js +5 -0
  778. package/dist/webcomponents/p-36bbea4e.entry.js +5 -0
  779. package/dist/webcomponents/p-3907ebfa.entry.js +5 -0
  780. package/dist/webcomponents/p-39a16f9d.entry.js +5 -0
  781. package/dist/webcomponents/p-3ebbd2f5.entry.js +5 -0
  782. package/dist/webcomponents/p-3ef7eac8.entry.js +5 -0
  783. package/dist/webcomponents/p-45356e9a.entry.js +5 -0
  784. package/dist/webcomponents/p-46513db4.entry.js +5 -0
  785. package/dist/webcomponents/p-4c13221a.entry.js +5 -0
  786. package/dist/webcomponents/p-51ce2c31.entry.js +5 -0
  787. package/dist/webcomponents/p-52df61cb.entry.js +5 -0
  788. package/dist/webcomponents/p-569134cf.entry.js +5 -0
  789. package/dist/webcomponents/p-5ce7db4a.entry.js +5 -0
  790. package/dist/webcomponents/p-5f373708.entry.js +5 -0
  791. package/dist/webcomponents/p-5f6afb79.entry.js +5 -0
  792. package/dist/webcomponents/p-5fc7ba4c.entry.js +5 -0
  793. package/dist/webcomponents/p-66006312.entry.js +5 -0
  794. package/dist/webcomponents/p-66b13fd9.entry.js +5 -0
  795. package/dist/webcomponents/p-6OdfnwnK.js +5 -0
  796. package/dist/webcomponents/p-750799b7.entry.js +5 -0
  797. package/dist/webcomponents/p-756ff2ad.entry.js +5 -0
  798. package/dist/webcomponents/p-765bfe27.entry.js +5 -0
  799. package/dist/webcomponents/p-7ab96c11.entry.js +5 -0
  800. package/dist/webcomponents/p-7c2ff8b4.entry.js +5 -0
  801. package/dist/webcomponents/p-7f7506f0.entry.js +5 -0
  802. package/dist/webcomponents/p-7fb03a49.entry.js +5 -0
  803. package/dist/webcomponents/p-82200563.entry.js +5 -0
  804. package/dist/webcomponents/p-83ff4579.entry.js +5 -0
  805. package/dist/webcomponents/p-85f8063b.entry.js +5 -0
  806. package/dist/webcomponents/p-8b558233.entry.js +5 -0
  807. package/dist/webcomponents/p-8e6c2767.entry.js +5 -0
  808. package/dist/webcomponents/p-8e819355.entry.js +5 -0
  809. package/dist/webcomponents/p-92a9b9c4.entry.js +5 -0
  810. package/dist/webcomponents/p-966ad32f.entry.js +5 -0
  811. package/dist/webcomponents/p-9679d230.entry.js +5 -0
  812. package/dist/webcomponents/p-96dd663b.entry.js +5 -0
  813. package/dist/webcomponents/p-98843fa3.entry.js +5 -0
  814. package/dist/webcomponents/p-9S9bgUT0.js +5 -0
  815. package/dist/webcomponents/p-9a375eff.entry.js +5 -0
  816. package/dist/webcomponents/p-9b358cff.entry.js +5 -0
  817. package/dist/webcomponents/p-9f7558c7.entry.js +5 -0
  818. package/dist/webcomponents/p-B-qLmYZC.js +5 -0
  819. package/dist/webcomponents/p-B55qsau4.js +5 -0
  820. package/dist/webcomponents/p-BIG-yees.js +5 -0
  821. package/dist/webcomponents/p-BWXfdbQH.js +5 -0
  822. package/dist/webcomponents/p-Bb5vVlCC.js +5 -0
  823. package/dist/webcomponents/p-Bfm58jO6.js +5 -0
  824. package/dist/webcomponents/p-BhMVJQ4-.js +5 -0
  825. package/dist/webcomponents/p-BkS6ujyf.js +5 -0
  826. package/dist/webcomponents/p-C2RBydfd.js +6 -0
  827. package/dist/webcomponents/p-CO5cOQQU.js +5 -0
  828. package/dist/webcomponents/p-CXMwM9m4.js +5 -0
  829. package/dist/webcomponents/p-D3tVP32U.js +5 -0
  830. package/dist/webcomponents/p-D3usVJE2.js +16 -0
  831. package/dist/webcomponents/p-DBmwzG9E.js +5 -0
  832. package/dist/webcomponents/p-DFN_so7I.js +5 -0
  833. package/dist/webcomponents/p-DIK54tTj.js +5 -0
  834. package/dist/webcomponents/p-DRVMm1Py.js +5 -0
  835. package/dist/webcomponents/p-DVjNHTTs.js +5 -0
  836. package/dist/webcomponents/p-DYA74R1r.js +5 -0
  837. package/dist/webcomponents/p-Dmfk7eEe.js +5 -0
  838. package/dist/webcomponents/p-DxZJrIyL.js +5 -0
  839. package/dist/webcomponents/p-a382e115.entry.js +5 -0
  840. package/dist/webcomponents/p-a4ae72e3.entry.js +5 -0
  841. package/dist/webcomponents/p-a994c190.entry.js +5 -0
  842. package/dist/webcomponents/p-a9ff7c25.entry.js +5 -0
  843. package/dist/webcomponents/p-bhULC15U.js +5 -0
  844. package/dist/webcomponents/p-c0b0f531.entry.js +5 -0
  845. package/dist/webcomponents/p-c211af17.entry.js +5 -0
  846. package/dist/webcomponents/p-c492d926.entry.js +5 -0
  847. package/dist/webcomponents/p-c4cfe599.entry.js +5 -0
  848. package/dist/webcomponents/p-c846e784.entry.js +5 -0
  849. package/dist/webcomponents/p-c949d993.entry.js +5 -0
  850. package/dist/webcomponents/p-cF3ia5e9.js +5 -0
  851. package/dist/webcomponents/p-d1e899cd.entry.js +5 -0
  852. package/dist/webcomponents/p-d38d82cc.entry.js +5 -0
  853. package/dist/webcomponents/p-e0ce536a.entry.js +5 -0
  854. package/dist/webcomponents/p-e1331288.entry.js +5 -0
  855. package/dist/webcomponents/p-e360a463.entry.js +5 -0
  856. package/dist/webcomponents/p-f078f972.entry.js +5 -0
  857. package/dist/webcomponents/p-f26038e2.entry.js +5 -0
  858. package/dist/webcomponents/p-f303f6b3.entry.js +5 -0
  859. package/dist/webcomponents/p-f6318e94.entry.js +5 -0
  860. package/dist/webcomponents/p-f85ee01c.entry.js +5 -0
  861. package/dist/webcomponents/p-fcd4ae48.entry.js +5 -0
  862. package/dist/webcomponents/p-ffe0241e.entry.js +5 -0
  863. package/dist/webcomponents/p-gvnfuTjd.js +5 -0
  864. package/dist/webcomponents/webcomponents.esm.js +5 -0
  865. package/package.json +3 -7
  866. package/cem/.gitkeep +0 -0
@@ -0,0 +1,3287 @@
1
+ /*!
2
+ * Construído por SERPRO
3
+ * © https://serpro.gov.br/ - MIT License.
4
+ */
5
+ 'use strict';
6
+
7
+ function _interopNamespace(e) {
8
+ if (e && e.__esModule) return e;
9
+ var n = Object.create(null);
10
+ if (e) {
11
+ Object.keys(e).forEach(function (k) {
12
+ if (k !== 'default') {
13
+ var d = Object.getOwnPropertyDescriptor(e, k);
14
+ Object.defineProperty(n, k, d.get ? d : {
15
+ enumerable: true,
16
+ get: function () { return e[k]; }
17
+ });
18
+ }
19
+ });
20
+ }
21
+ n.default = e;
22
+ return Object.freeze(n);
23
+ }
24
+
25
+ const NAMESPACE = 'webcomponents';
26
+ const BUILD = /* webcomponents */ { hotModuleReplacement: false, hydratedSelectorName: "hydrated", lazyLoad: true, propChangeCallback: true, shadowDom: true, state: true, updatable: true};
27
+
28
+ /*
29
+ Stencil Client Platform v4.43.5 | MIT Licensed | https://stenciljs.com
30
+ */
31
+
32
+
33
+ // src/utils/constants.ts
34
+ var SVG_NS = "http://www.w3.org/2000/svg";
35
+ var HTML_NS = "http://www.w3.org/1999/xhtml";
36
+ var PrimitiveType = /* @__PURE__ */ ((PrimitiveType2) => {
37
+ PrimitiveType2["Undefined"] = "undefined";
38
+ PrimitiveType2["Null"] = "null";
39
+ PrimitiveType2["String"] = "string";
40
+ PrimitiveType2["Number"] = "number";
41
+ PrimitiveType2["SpecialNumber"] = "number";
42
+ PrimitiveType2["Boolean"] = "boolean";
43
+ PrimitiveType2["BigInt"] = "bigint";
44
+ return PrimitiveType2;
45
+ })(PrimitiveType || {});
46
+ var NonPrimitiveType = /* @__PURE__ */ ((NonPrimitiveType2) => {
47
+ NonPrimitiveType2["Array"] = "array";
48
+ NonPrimitiveType2["Date"] = "date";
49
+ NonPrimitiveType2["Map"] = "map";
50
+ NonPrimitiveType2["Object"] = "object";
51
+ NonPrimitiveType2["RegularExpression"] = "regexp";
52
+ NonPrimitiveType2["Set"] = "set";
53
+ NonPrimitiveType2["Channel"] = "channel";
54
+ NonPrimitiveType2["Symbol"] = "symbol";
55
+ return NonPrimitiveType2;
56
+ })(NonPrimitiveType || {});
57
+ var TYPE_CONSTANT = "type";
58
+ var VALUE_CONSTANT = "value";
59
+ var SERIALIZED_PREFIX = "serialized:";
60
+
61
+ // src/utils/get-prop-descriptor.ts
62
+ function getPropertyDescriptor(obj, memberName, getOnly) {
63
+ const stopAt = typeof HTMLElement !== "undefined" ? HTMLElement.prototype : null;
64
+ while (obj && obj !== stopAt) {
65
+ const desc = Object.getOwnPropertyDescriptor(obj, memberName);
66
+ if (desc && (!getOnly || desc.get)) return desc;
67
+ obj = Object.getPrototypeOf(obj);
68
+ }
69
+ return void 0;
70
+ }
71
+
72
+ // src/utils/es2022-rewire-class-members.ts
73
+ var reWireGetterSetter = (instance, hostRef) => {
74
+ var _a;
75
+ const cmpMeta = hostRef.$cmpMeta$;
76
+ const members = Object.entries((_a = cmpMeta.$members$) != null ? _a : {});
77
+ members.map(([memberName, [memberFlags]]) => {
78
+ if ((memberFlags & 31 /* Prop */ || memberFlags & 32 /* State */)) {
79
+ const ogValue = instance[memberName];
80
+ const ogDescriptor = getPropertyDescriptor(Object.getPrototypeOf(instance), memberName, true) || Object.getOwnPropertyDescriptor(instance, memberName);
81
+ if (ogDescriptor) {
82
+ Object.defineProperty(instance, memberName, {
83
+ get() {
84
+ return ogDescriptor.get.call(this);
85
+ },
86
+ set(newValue) {
87
+ ogDescriptor.set.call(this, newValue);
88
+ },
89
+ configurable: true,
90
+ enumerable: true
91
+ });
92
+ }
93
+ if (hostRef.$instanceValues$.has(memberName)) {
94
+ instance[memberName] = hostRef.$instanceValues$.get(memberName);
95
+ } else if (ogValue !== void 0) {
96
+ instance[memberName] = ogValue;
97
+ }
98
+ }
99
+ });
100
+ };
101
+
102
+ // src/client/client-host-ref.ts
103
+ var getHostRef = (ref) => {
104
+ if (ref.__stencil__getHostRef) {
105
+ return ref.__stencil__getHostRef();
106
+ }
107
+ return void 0;
108
+ };
109
+ var registerInstance = (lazyInstance, hostRef) => {
110
+ if (!hostRef) return;
111
+ lazyInstance.__stencil__getHostRef = () => hostRef;
112
+ hostRef.$lazyInstance$ = lazyInstance;
113
+ if (hostRef.$cmpMeta$.$flags$ & 512 /* hasModernPropertyDecls */ && (BUILD.state)) {
114
+ reWireGetterSetter(lazyInstance, hostRef);
115
+ }
116
+ };
117
+ var registerHost = (hostElement, cmpMeta) => {
118
+ const hostRef = {
119
+ $flags$: 0,
120
+ $hostElement$: hostElement,
121
+ $cmpMeta$: cmpMeta,
122
+ $instanceValues$: /* @__PURE__ */ new Map(),
123
+ $serializerValues$: /* @__PURE__ */ new Map()
124
+ };
125
+ {
126
+ hostRef.$onInstancePromise$ = new Promise((r) => hostRef.$onInstanceResolve$ = r);
127
+ }
128
+ {
129
+ hostRef.$onReadyPromise$ = new Promise((r) => hostRef.$onReadyResolve$ = r);
130
+ hostElement["s-p"] = [];
131
+ hostElement["s-rc"] = [];
132
+ }
133
+ {
134
+ hostRef.$fetchedCbList$ = [];
135
+ }
136
+ const ref = hostRef;
137
+ hostElement.__stencil__getHostRef = () => ref;
138
+ return ref;
139
+ };
140
+ var isMemberInElement = (elm, memberName) => memberName in elm;
141
+ var consoleError = (e, el) => (0, console.error)(e, el);
142
+
143
+ // src/client/client-load-module.ts
144
+ var cmpModules = /* @__PURE__ */ new Map();
145
+ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
146
+ const exportName = cmpMeta.$tagName$.replace(/-/g, "_");
147
+ const bundleId = cmpMeta.$lazyBundleId$;
148
+ if (!bundleId) {
149
+ return void 0;
150
+ }
151
+ const module = cmpModules.get(bundleId) ;
152
+ if (module) {
153
+ return module[exportName];
154
+ }
155
+
156
+ if (!hmrVersionId || !BUILD.hotModuleReplacement) {
157
+ const processMod = importedModule => {
158
+ cmpModules.set(bundleId, importedModule);
159
+ return importedModule[exportName];
160
+ }
161
+ switch(bundleId) {
162
+
163
+ case 'br-breadcrumb-item.cjs':
164
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
165
+ /* webpackMode: "lazy" */
166
+ './br-breadcrumb-item.cjs.entry.js')); }).then(processMod, consoleError);
167
+ case 'br-checkgroup.cjs':
168
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
169
+ /* webpackMode: "lazy" */
170
+ './br-checkgroup.cjs.entry.js')); }).then(processMod, consoleError);
171
+ case 'br-crumb.cjs':
172
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
173
+ /* webpackMode: "lazy" */
174
+ './br-crumb.cjs.entry.js')); }).then(processMod, consoleError);
175
+ case 'br-skip-link-item.cjs':
176
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
177
+ /* webpackMode: "lazy" */
178
+ './br-skip-link-item.cjs.entry.js')); }).then(processMod, consoleError);
179
+ case 'br-card.cjs':
180
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
181
+ /* webpackMode: "lazy" */
182
+ './br-card.cjs.entry.js')); }).then(processMod, consoleError);
183
+ case 'br-avatar.cjs':
184
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
185
+ /* webpackMode: "lazy" */
186
+ './br-avatar.cjs.entry.js')); }).then(processMod, consoleError);
187
+ case 'br-breadcrumb.cjs':
188
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
189
+ /* webpackMode: "lazy" */
190
+ './br-breadcrumb.cjs.entry.js')); }).then(processMod, consoleError);
191
+ case 'br-carousel.cjs':
192
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
193
+ /* webpackMode: "lazy" */
194
+ './br-carousel.cjs.entry.js')); }).then(processMod, consoleError);
195
+ case 'br-carousel-page.cjs':
196
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
197
+ /* webpackMode: "lazy" */
198
+ './br-carousel-page.cjs.entry.js')); }).then(processMod, consoleError);
199
+ case 'br-cookiebar.cjs':
200
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
201
+ /* webpackMode: "lazy" */
202
+ './br-cookiebar.cjs.entry.js')); }).then(processMod, consoleError);
203
+ case 'br-cookiebar-cookie.cjs':
204
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
205
+ /* webpackMode: "lazy" */
206
+ './br-cookiebar-cookie.cjs.entry.js')); }).then(processMod, consoleError);
207
+ case 'br-cookiebar-group.cjs':
208
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
209
+ /* webpackMode: "lazy" */
210
+ './br-cookiebar-group.cjs.entry.js')); }).then(processMod, consoleError);
211
+ case 'br-cookiebar-header.cjs':
212
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
213
+ /* webpackMode: "lazy" */
214
+ './br-cookiebar-header.cjs.entry.js')); }).then(processMod, consoleError);
215
+ case 'br-cookiebar-link.cjs':
216
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
217
+ /* webpackMode: "lazy" */
218
+ './br-cookiebar-link.cjs.entry.js')); }).then(processMod, consoleError);
219
+ case 'br-cookiebar-note.cjs':
220
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
221
+ /* webpackMode: "lazy" */
222
+ './br-cookiebar-note.cjs.entry.js')); }).then(processMod, consoleError);
223
+ case 'br-cookiebar-note-group.cjs':
224
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
225
+ /* webpackMode: "lazy" */
226
+ './br-cookiebar-note-group.cjs.entry.js')); }).then(processMod, consoleError);
227
+ case 'br-footer.cjs':
228
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
229
+ /* webpackMode: "lazy" */
230
+ './br-footer.cjs.entry.js')); }).then(processMod, consoleError);
231
+ case 'br-footer-category.cjs':
232
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
233
+ /* webpackMode: "lazy" */
234
+ './br-footer-category.cjs.entry.js')); }).then(processMod, consoleError);
235
+ case 'br-footer-item.cjs':
236
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
237
+ /* webpackMode: "lazy" */
238
+ './br-footer-item.cjs.entry.js')); }).then(processMod, consoleError);
239
+ case 'br-footer-legal.cjs':
240
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
241
+ /* webpackMode: "lazy" */
242
+ './br-footer-legal.cjs.entry.js')); }).then(processMod, consoleError);
243
+ case 'br-footer-logo.cjs':
244
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
245
+ /* webpackMode: "lazy" */
246
+ './br-footer-logo.cjs.entry.js')); }).then(processMod, consoleError);
247
+ case 'br-footer-social.cjs':
248
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
249
+ /* webpackMode: "lazy" */
250
+ './br-footer-social.cjs.entry.js')); }).then(processMod, consoleError);
251
+ case 'br-header.cjs':
252
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
253
+ /* webpackMode: "lazy" */
254
+ './br-header.cjs.entry.js')); }).then(processMod, consoleError);
255
+ case 'br-header-function.cjs':
256
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
257
+ /* webpackMode: "lazy" */
258
+ './br-header-function.cjs.entry.js')); }).then(processMod, consoleError);
259
+ case 'br-header-link.cjs':
260
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
261
+ /* webpackMode: "lazy" */
262
+ './br-header-link.cjs.entry.js')); }).then(processMod, consoleError);
263
+ case 'br-header-list.cjs':
264
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
265
+ /* webpackMode: "lazy" */
266
+ './br-header-list.cjs.entry.js')); }).then(processMod, consoleError);
267
+ case 'br-header-logo.cjs':
268
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
269
+ /* webpackMode: "lazy" */
270
+ './br-header-logo.cjs.entry.js')); }).then(processMod, consoleError);
271
+ case 'br-magic-button.cjs':
272
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
273
+ /* webpackMode: "lazy" */
274
+ './br-magic-button.cjs.entry.js')); }).then(processMod, consoleError);
275
+ case 'br-menu.cjs':
276
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
277
+ /* webpackMode: "lazy" */
278
+ './br-menu.cjs.entry.js')); }).then(processMod, consoleError);
279
+ case 'br-menu-group.cjs':
280
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
281
+ /* webpackMode: "lazy" */
282
+ './br-menu-group.cjs.entry.js')); }).then(processMod, consoleError);
283
+ case 'br-menu-header.cjs':
284
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
285
+ /* webpackMode: "lazy" */
286
+ './br-menu-header.cjs.entry.js')); }).then(processMod, consoleError);
287
+ case 'br-menu-info.cjs':
288
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
289
+ /* webpackMode: "lazy" */
290
+ './br-menu-info.cjs.entry.js')); }).then(processMod, consoleError);
291
+ case 'br-menu-link.cjs':
292
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
293
+ /* webpackMode: "lazy" */
294
+ './br-menu-link.cjs.entry.js')); }).then(processMod, consoleError);
295
+ case 'br-menu-list.cjs':
296
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
297
+ /* webpackMode: "lazy" */
298
+ './br-menu-list.cjs.entry.js')); }).then(processMod, consoleError);
299
+ case 'br-menu-logo.cjs':
300
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
301
+ /* webpackMode: "lazy" */
302
+ './br-menu-logo.cjs.entry.js')); }).then(processMod, consoleError);
303
+ case 'br-menu-social.cjs':
304
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
305
+ /* webpackMode: "lazy" */
306
+ './br-menu-social.cjs.entry.js')); }).then(processMod, consoleError);
307
+ case 'br-modal.cjs':
308
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
309
+ /* webpackMode: "lazy" */
310
+ './br-modal.cjs.entry.js')); }).then(processMod, consoleError);
311
+ case 'br-notification.cjs':
312
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
313
+ /* webpackMode: "lazy" */
314
+ './br-notification.cjs.entry.js')); }).then(processMod, consoleError);
315
+ case 'br-notification-body.cjs':
316
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
317
+ /* webpackMode: "lazy" */
318
+ './br-notification-body.cjs.entry.js')); }).then(processMod, consoleError);
319
+ case 'br-notification-header.cjs':
320
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
321
+ /* webpackMode: "lazy" */
322
+ './br-notification-header.cjs.entry.js')); }).then(processMod, consoleError);
323
+ case 'br-notification-item.cjs':
324
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
325
+ /* webpackMode: "lazy" */
326
+ './br-notification-item.cjs.entry.js')); }).then(processMod, consoleError);
327
+ case 'br-radio.cjs':
328
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
329
+ /* webpackMode: "lazy" */
330
+ './br-radio.cjs.entry.js')); }).then(processMod, consoleError);
331
+ case 'br-radio-group.cjs':
332
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
333
+ /* webpackMode: "lazy" */
334
+ './br-radio-group.cjs.entry.js')); }).then(processMod, consoleError);
335
+ case 'br-sign-in.cjs':
336
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
337
+ /* webpackMode: "lazy" */
338
+ './br-sign-in.cjs.entry.js')); }).then(processMod, consoleError);
339
+ case 'br-skip-link.cjs':
340
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
341
+ /* webpackMode: "lazy" */
342
+ './br-skip-link.cjs.entry.js')); }).then(processMod, consoleError);
343
+ case 'br-slider.cjs':
344
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
345
+ /* webpackMode: "lazy" */
346
+ './br-slider.cjs.entry.js')); }).then(processMod, consoleError);
347
+ case 'br-tab.cjs':
348
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
349
+ /* webpackMode: "lazy" */
350
+ './br-tab.cjs.entry.js')); }).then(processMod, consoleError);
351
+ case 'br-tab-item.cjs':
352
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
353
+ /* webpackMode: "lazy" */
354
+ './br-tab-item.cjs.entry.js')); }).then(processMod, consoleError);
355
+ case 'br-table-body.cjs':
356
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
357
+ /* webpackMode: "lazy" */
358
+ './br-table-body.cjs.entry.js')); }).then(processMod, consoleError);
359
+ case 'br-table-cell.cjs':
360
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
361
+ /* webpackMode: "lazy" */
362
+ './br-table-cell.cjs.entry.js')); }).then(processMod, consoleError);
363
+ case 'br-table-header.cjs':
364
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
365
+ /* webpackMode: "lazy" */
366
+ './br-table-header.cjs.entry.js')); }).then(processMod, consoleError);
367
+ case 'br-table-header-cell.cjs':
368
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
369
+ /* webpackMode: "lazy" */
370
+ './br-table-header-cell.cjs.entry.js')); }).then(processMod, consoleError);
371
+ case 'br-table-row.cjs':
372
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
373
+ /* webpackMode: "lazy" */
374
+ './br-table-row.cjs.entry.js')); }).then(processMod, consoleError);
375
+ case 'br-textarea.cjs':
376
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
377
+ /* webpackMode: "lazy" */
378
+ './br-textarea.cjs.entry.js')); }).then(processMod, consoleError);
379
+ case 'br-wizard.cjs':
380
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
381
+ /* webpackMode: "lazy" */
382
+ './br-wizard.cjs.entry.js')); }).then(processMod, consoleError);
383
+ case 'br-wizard-panel.cjs':
384
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
385
+ /* webpackMode: "lazy" */
386
+ './br-wizard-panel.cjs.entry.js')); }).then(processMod, consoleError);
387
+ case 'br-checkbox-group.cjs':
388
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
389
+ /* webpackMode: "lazy" */
390
+ './br-checkbox-group.cjs.entry.js')); }).then(processMod, consoleError);
391
+ case 'br-menu-item.cjs':
392
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
393
+ /* webpackMode: "lazy" */
394
+ './br-menu-item.cjs.entry.js')); }).then(processMod, consoleError);
395
+ case 'br-skiplink-item.cjs':
396
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
397
+ /* webpackMode: "lazy" */
398
+ './br-skiplink-item.cjs.entry.js')); }).then(processMod, consoleError);
399
+ case 'br-switch.cjs':
400
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
401
+ /* webpackMode: "lazy" */
402
+ './br-switch.cjs.entry.js')); }).then(processMod, consoleError);
403
+ case 'br-link.cjs':
404
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
405
+ /* webpackMode: "lazy" */
406
+ './br-link.cjs.entry.js')); }).then(processMod, consoleError);
407
+ case 'br-tooltip.cjs':
408
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
409
+ /* webpackMode: "lazy" */
410
+ './br-tooltip.cjs.entry.js')); }).then(processMod, consoleError);
411
+ case 'br-tag.cjs':
412
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
413
+ /* webpackMode: "lazy" */
414
+ './br-tag.cjs.entry.js')); }).then(processMod, consoleError);
415
+ case 'br-divider.cjs':
416
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
417
+ /* webpackMode: "lazy" */
418
+ './br-divider.cjs.entry.js')); }).then(processMod, consoleError);
419
+ case 'br-input.cjs':
420
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
421
+ /* webpackMode: "lazy" */
422
+ './br-input.cjs.entry.js')); }).then(processMod, consoleError);
423
+ case 'br-checkbox.cjs':
424
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
425
+ /* webpackMode: "lazy" */
426
+ './br-checkbox.cjs.entry.js')); }).then(processMod, consoleError);
427
+ case 'br-loading.cjs':
428
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
429
+ /* webpackMode: "lazy" */
430
+ './br-loading.cjs.entry.js')); }).then(processMod, consoleError);
431
+ case 'br-item.cjs':
432
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
433
+ /* webpackMode: "lazy" */
434
+ './br-item.cjs.entry.js')); }).then(processMod, consoleError);
435
+ case 'br-pagination.cjs':
436
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
437
+ /* webpackMode: "lazy" */
438
+ './br-pagination.cjs.entry.js')); }).then(processMod, consoleError);
439
+ case 'br-upload.cjs':
440
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
441
+ /* webpackMode: "lazy" */
442
+ './br-upload.cjs.entry.js')); }).then(processMod, consoleError);
443
+ case 'br-table.cjs':
444
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
445
+ /* webpackMode: "lazy" */
446
+ './br-table.cjs.entry.js')); }).then(processMod, consoleError);
447
+ case 'br-scrim.cjs':
448
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
449
+ /* webpackMode: "lazy" */
450
+ './br-scrim.cjs.entry.js')); }).then(processMod, consoleError);
451
+ case 'br-step_2.cjs':
452
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
453
+ /* webpackMode: "lazy" */
454
+ './br-step_2.cjs.entry.js')); }).then(processMod, consoleError);
455
+ case 'br-collapse_2.cjs':
456
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
457
+ /* webpackMode: "lazy" */
458
+ './br-collapse_2.cjs.entry.js')); }).then(processMod, consoleError);
459
+ case 'br-button_2.cjs':
460
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
461
+ /* webpackMode: "lazy" */
462
+ './br-button_2.cjs.entry.js')); }).then(processMod, consoleError);
463
+ case 'br-icon.cjs':
464
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
465
+ /* webpackMode: "lazy" */
466
+ './br-icon.cjs.entry.js')); }).then(processMod, consoleError);
467
+ case 'br-dropdown_2.cjs':
468
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
469
+ /* webpackMode: "lazy" */
470
+ './br-dropdown_2.cjs.entry.js')); }).then(processMod, consoleError);
471
+ case 'br-select-input_3.cjs':
472
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
473
+ /* webpackMode: "lazy" */
474
+ './br-select-input_3.cjs.entry.js')); }).then(processMod, consoleError);
475
+ case 'br-datetime-picker.cjs':
476
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
477
+ /* webpackMode: "lazy" */
478
+ './br-datetime-picker.cjs.entry.js')); }).then(processMod, consoleError);
479
+ case 'br-date-picker_3.cjs':
480
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
481
+ /* webpackMode: "lazy" */
482
+ './br-date-picker_3.cjs.entry.js')); }).then(processMod, consoleError);
483
+ }
484
+ }
485
+ return (function (t) { return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(t)); }); })(
486
+ /* @vite-ignore */
487
+ /* webpackInclude: /\.entry\.js$/ */
488
+ /* webpackExclude: /\.system\.entry\.js$/ */
489
+ /* webpackMode: "lazy" */
490
+ `./${bundleId}.entry.js${""}`
491
+ ).then(
492
+ (importedModule) => {
493
+ {
494
+ cmpModules.set(bundleId, importedModule);
495
+ }
496
+ return importedModule[exportName];
497
+ },
498
+ (e) => {
499
+ consoleError(e, hostRef.$hostElement$);
500
+ }
501
+ );
502
+ };
503
+
504
+ // src/client/client-style.ts
505
+ var styles = /* @__PURE__ */ new Map();
506
+
507
+ // src/runtime/runtime-constants.ts
508
+ var CONTENT_REF_ID = "r";
509
+ var ORG_LOCATION_ID = "o";
510
+ var SLOT_NODE_ID = "s";
511
+ var TEXT_NODE_ID = "t";
512
+ var COMMENT_NODE_ID = "c";
513
+ var HYDRATE_ID = "s-id";
514
+ var HYDRATED_STYLE_ID = "sty-id";
515
+ var HYDRATE_CHILD_ID = "c-id";
516
+ var HYDRATED_CSS = "{visibility:hidden}.hydrated{visibility:inherit}";
517
+ var SLOT_FB_CSS = "slot-fb{display:contents}slot-fb[hidden]{display:none}";
518
+ var XLINK_NS = "http://www.w3.org/1999/xlink";
519
+ var FORM_ASSOCIATED_CUSTOM_ELEMENT_CALLBACKS = [
520
+ "formAssociatedCallback",
521
+ "formResetCallback",
522
+ "formDisabledCallback",
523
+ "formStateRestoreCallback"
524
+ ];
525
+ var win = typeof window !== "undefined" ? window : {};
526
+ var H = win.HTMLElement || class {
527
+ };
528
+ var plt = {
529
+ $flags$: 0,
530
+ $resourcesUrl$: "",
531
+ jmp: (h2) => h2(),
532
+ raf: (h2) => requestAnimationFrame(h2),
533
+ ael: (el, eventName, listener, opts) => el.addEventListener(eventName, listener, opts),
534
+ rel: (el, eventName, listener, opts) => el.removeEventListener(eventName, listener, opts),
535
+ ce: (eventName, opts) => new CustomEvent(eventName, opts)
536
+ };
537
+ var supportsShadow = BUILD.shadowDom;
538
+ var supportsListenerOptions = /* @__PURE__ */ (() => {
539
+ var _a;
540
+ let supportsListenerOptions2 = false;
541
+ try {
542
+ (_a = win.document) == null ? void 0 : _a.addEventListener(
543
+ "e",
544
+ null,
545
+ Object.defineProperty({}, "passive", {
546
+ get() {
547
+ supportsListenerOptions2 = true;
548
+ }
549
+ })
550
+ );
551
+ } catch (e) {
552
+ }
553
+ return supportsListenerOptions2;
554
+ })();
555
+ var promiseResolve = (v) => Promise.resolve(v);
556
+ var supportsConstructableStylesheets = /* @__PURE__ */ (() => {
557
+ try {
558
+ if (!win.document.adoptedStyleSheets) {
559
+ return false;
560
+ }
561
+ new CSSStyleSheet();
562
+ return typeof new CSSStyleSheet().replaceSync === "function";
563
+ } catch (e) {
564
+ }
565
+ return false;
566
+ })() ;
567
+ var supportsMutableAdoptedStyleSheets = supportsConstructableStylesheets ? /* @__PURE__ */ (() => !!win.document && Object.getOwnPropertyDescriptor(win.document.adoptedStyleSheets, "length").writable)() : false;
568
+ var queuePending = false;
569
+ var queueDomReads = [];
570
+ var queueDomWrites = [];
571
+ var queueTask = (queue, write) => (cb) => {
572
+ queue.push(cb);
573
+ if (!queuePending) {
574
+ queuePending = true;
575
+ if (write && plt.$flags$ & 4 /* queueSync */) {
576
+ nextTick(flush);
577
+ } else {
578
+ plt.raf(flush);
579
+ }
580
+ }
581
+ };
582
+ var consume = (queue) => {
583
+ for (let i2 = 0; i2 < queue.length; i2++) {
584
+ try {
585
+ queue[i2](performance.now());
586
+ } catch (e) {
587
+ consoleError(e);
588
+ }
589
+ }
590
+ queue.length = 0;
591
+ };
592
+ var flush = () => {
593
+ consume(queueDomReads);
594
+ {
595
+ consume(queueDomWrites);
596
+ if (queuePending = queueDomReads.length > 0) {
597
+ plt.raf(flush);
598
+ }
599
+ }
600
+ };
601
+ var nextTick = (cb) => promiseResolve().then(cb);
602
+ var writeTask = /* @__PURE__ */ queueTask(queueDomWrites, true);
603
+
604
+ // src/utils/style.ts
605
+ function createStyleSheetIfNeededAndSupported(styles2) {
606
+ return void 0;
607
+ }
608
+
609
+ // src/utils/shadow-root.ts
610
+ var globalStyleSheet;
611
+ function createShadowRoot(cmpMeta) {
612
+ var _a;
613
+ const opts = { mode: "open" };
614
+ {
615
+ opts.delegatesFocus = !!(cmpMeta.$flags$ & 16 /* shadowDelegatesFocus */);
616
+ }
617
+ const shadowRoot = this.attachShadow(opts);
618
+ if (globalStyleSheet === void 0) globalStyleSheet = (_a = createStyleSheetIfNeededAndSupported()) != null ? _a : null;
619
+ if (globalStyleSheet) {
620
+ if (supportsMutableAdoptedStyleSheets) {
621
+ shadowRoot.adoptedStyleSheets.push(globalStyleSheet);
622
+ } else {
623
+ shadowRoot.adoptedStyleSheets = [...shadowRoot.adoptedStyleSheets, globalStyleSheet];
624
+ }
625
+ }
626
+ }
627
+ var updateFallbackSlotVisibility = (elm) => {
628
+ const childNodes = internalCall(elm, "childNodes");
629
+ if (elm.tagName && elm.tagName.includes("-") && elm["s-cr"] && elm.tagName !== "SLOT-FB") {
630
+ getHostSlotNodes(childNodes, elm.tagName).forEach((slotNode) => {
631
+ if (slotNode.nodeType === 1 /* ElementNode */ && slotNode.tagName === "SLOT-FB") {
632
+ if (getSlotChildSiblings(slotNode, getSlotName(slotNode), false).length) {
633
+ slotNode.hidden = true;
634
+ } else {
635
+ slotNode.hidden = false;
636
+ }
637
+ }
638
+ });
639
+ }
640
+ let i2 = 0;
641
+ for (i2 = 0; i2 < childNodes.length; i2++) {
642
+ const childNode = childNodes[i2];
643
+ if (childNode.nodeType === 1 /* ElementNode */ && internalCall(childNode, "childNodes").length) {
644
+ updateFallbackSlotVisibility(childNode);
645
+ }
646
+ }
647
+ };
648
+ var getSlottedChildNodes = (childNodes) => {
649
+ const result = [];
650
+ for (let i2 = 0; i2 < childNodes.length; i2++) {
651
+ const slottedNode = childNodes[i2]["s-nr"] || void 0;
652
+ if (slottedNode && slottedNode.isConnected) {
653
+ result.push(slottedNode);
654
+ }
655
+ }
656
+ return result;
657
+ };
658
+ function getHostSlotNodes(childNodes, hostName, slotName) {
659
+ let i2 = 0;
660
+ let slottedNodes = [];
661
+ let childNode;
662
+ for (; i2 < childNodes.length; i2++) {
663
+ childNode = childNodes[i2];
664
+ if (childNode["s-sr"] && (!hostName || childNode["s-hn"] === hostName) && (slotName === void 0 || getSlotName(childNode) === slotName)) {
665
+ slottedNodes.push(childNode);
666
+ if (typeof slotName !== "undefined") return slottedNodes;
667
+ }
668
+ slottedNodes = [...slottedNodes, ...getHostSlotNodes(childNode.childNodes, hostName, slotName)];
669
+ }
670
+ return slottedNodes;
671
+ }
672
+ var getSlotChildSiblings = (slot, slotName, includeSlot = true) => {
673
+ const childNodes = [];
674
+ if (includeSlot && slot["s-sr"] || !slot["s-sr"]) childNodes.push(slot);
675
+ let node = slot;
676
+ while (node = node.nextSibling) {
677
+ if (getSlotName(node) === slotName && (includeSlot || !node["s-sr"])) childNodes.push(node);
678
+ }
679
+ return childNodes;
680
+ };
681
+ var addSlotRelocateNode = (newChild, slotNode, prepend, position) => {
682
+ if (newChild["s-ol"] && newChild["s-ol"].isConnected) {
683
+ return;
684
+ }
685
+ const slottedNodeLocation = document.createTextNode("");
686
+ slottedNodeLocation["s-nr"] = newChild;
687
+ if (!slotNode["s-cr"] || !slotNode["s-cr"].parentNode) return;
688
+ const parent = slotNode["s-cr"].parentNode;
689
+ const appendMethod = prepend ? internalCall(parent, "prepend") : internalCall(parent, "appendChild");
690
+ if (typeof position !== "undefined") {
691
+ slottedNodeLocation["s-oo"] = position;
692
+ const childNodes = internalCall(parent, "childNodes");
693
+ const slotRelocateNodes = [slottedNodeLocation];
694
+ childNodes.forEach((n) => {
695
+ if (n["s-nr"]) slotRelocateNodes.push(n);
696
+ });
697
+ slotRelocateNodes.sort((a, b) => {
698
+ if (!a["s-oo"] || a["s-oo"] < (b["s-oo"] || 0)) return -1;
699
+ else if (!b["s-oo"] || b["s-oo"] < a["s-oo"]) return 1;
700
+ return 0;
701
+ });
702
+ slotRelocateNodes.forEach((n) => appendMethod.call(parent, n));
703
+ } else {
704
+ appendMethod.call(parent, slottedNodeLocation);
705
+ }
706
+ newChild["s-ol"] = slottedNodeLocation;
707
+ newChild["s-sh"] = slotNode["s-hn"];
708
+ };
709
+ var getSlotName = (node) => typeof node["s-sn"] === "string" ? node["s-sn"] : node.nodeType === 1 && node.getAttribute("slot") || void 0;
710
+ function patchSlotNode(node) {
711
+ if (node.assignedElements || node.assignedNodes || !node["s-sr"]) return;
712
+ const assignedFactory = (elementsOnly) => (function(opts) {
713
+ const toReturn = [];
714
+ const slotName = this["s-sn"];
715
+ if (opts == null ? void 0 : opts.flatten) {
716
+ console.error(`
717
+ Flattening is not supported for Stencil non-shadow slots.
718
+ You can use \`.childNodes\` to nested slot fallback content.
719
+ If you have a particular use case, please open an issue on the Stencil repo.
720
+ `);
721
+ }
722
+ const parent = this["s-cr"].parentElement;
723
+ const slottedNodes = parent.__childNodes ? parent.childNodes : getSlottedChildNodes(parent.childNodes);
724
+ slottedNodes.forEach((n) => {
725
+ if (slotName === getSlotName(n)) {
726
+ toReturn.push(n);
727
+ }
728
+ });
729
+ if (elementsOnly) {
730
+ return toReturn.filter((n) => n.nodeType === 1 /* ElementNode */);
731
+ }
732
+ return toReturn;
733
+ }).bind(node);
734
+ node.assignedElements = assignedFactory(true);
735
+ node.assignedNodes = assignedFactory(false);
736
+ }
737
+ function dispatchSlotChangeEvent(elm) {
738
+ elm.dispatchEvent(new CustomEvent("slotchange", { bubbles: false, cancelable: false, composed: false }));
739
+ }
740
+ function findSlotFromSlottedNode(slottedNode, parentHost) {
741
+ var _a;
742
+ parentHost = parentHost || ((_a = slottedNode["s-ol"]) == null ? void 0 : _a.parentElement);
743
+ if (!parentHost) return { slotNode: null, slotName: "" };
744
+ const slotName = slottedNode["s-sn"] = getSlotName(slottedNode) || "";
745
+ const childNodes = internalCall(parentHost, "childNodes");
746
+ const slotNode = getHostSlotNodes(childNodes, parentHost.tagName, slotName)[0];
747
+ return { slotNode, slotName };
748
+ }
749
+
750
+ // src/runtime/dom-extras.ts
751
+ var patchPseudoShadowDom = (hostElementPrototype) => {
752
+ patchCloneNode(hostElementPrototype);
753
+ patchSlotAppendChild(hostElementPrototype);
754
+ patchSlotAppend(hostElementPrototype);
755
+ patchSlotPrepend(hostElementPrototype);
756
+ patchSlotInsertAdjacentElement(hostElementPrototype);
757
+ patchSlotInsertAdjacentHTML(hostElementPrototype);
758
+ patchSlotInsertAdjacentText(hostElementPrototype);
759
+ patchInsertBefore(hostElementPrototype);
760
+ patchTextContent(hostElementPrototype);
761
+ patchChildSlotNodes(hostElementPrototype);
762
+ patchSlotRemoveChild(hostElementPrototype);
763
+ };
764
+ var patchCloneNode = (HostElementPrototype) => {
765
+ if (HostElementPrototype.__cloneNode) return;
766
+ const orgCloneNode = HostElementPrototype.__cloneNode = HostElementPrototype.cloneNode;
767
+ HostElementPrototype.cloneNode = function(deep) {
768
+ const srcNode = this;
769
+ const isShadowDom = srcNode.shadowRoot && supportsShadow ;
770
+ const clonedNode = orgCloneNode.call(srcNode, isShadowDom ? deep : false);
771
+ if (!isShadowDom && deep) {
772
+ let i2 = 0;
773
+ let slotted, nonStencilNode;
774
+ const stencilPrivates = [
775
+ "s-id",
776
+ "s-cr",
777
+ "s-lr",
778
+ "s-rc",
779
+ "s-sc",
780
+ "s-p",
781
+ "s-cn",
782
+ "s-sr",
783
+ "s-sn",
784
+ "s-hn",
785
+ "s-ol",
786
+ "s-nr",
787
+ "s-si",
788
+ "s-rf",
789
+ "s-scs"
790
+ ];
791
+ const childNodes = this.__childNodes || this.childNodes;
792
+ for (; i2 < childNodes.length; i2++) {
793
+ slotted = childNodes[i2]["s-nr"];
794
+ nonStencilNode = stencilPrivates.every((privateField) => !childNodes[i2][privateField]);
795
+ if (slotted) {
796
+ if (clonedNode.__appendChild) {
797
+ clonedNode.__appendChild(slotted.cloneNode(true));
798
+ } else {
799
+ clonedNode.appendChild(slotted.cloneNode(true));
800
+ }
801
+ }
802
+ if (nonStencilNode) {
803
+ clonedNode.appendChild(childNodes[i2].cloneNode(true));
804
+ }
805
+ }
806
+ }
807
+ return clonedNode;
808
+ };
809
+ };
810
+ var patchSlotAppendChild = (HostElementPrototype) => {
811
+ if (HostElementPrototype.__appendChild) return;
812
+ HostElementPrototype.__appendChild = HostElementPrototype.appendChild;
813
+ HostElementPrototype.appendChild = function(newChild) {
814
+ const { slotName, slotNode } = findSlotFromSlottedNode(newChild, this);
815
+ if (slotNode) {
816
+ addSlotRelocateNode(newChild, slotNode);
817
+ const slotChildNodes = getSlotChildSiblings(slotNode, slotName);
818
+ const appendAfter = slotChildNodes[slotChildNodes.length - 1];
819
+ const parent = internalCall(appendAfter, "parentNode");
820
+ const insertedNode = internalCall(parent, "insertBefore")(newChild, appendAfter.nextSibling);
821
+ dispatchSlotChangeEvent(slotNode);
822
+ updateFallbackSlotVisibility(this);
823
+ return insertedNode;
824
+ }
825
+ return this.__appendChild(newChild);
826
+ };
827
+ };
828
+ var patchSlotRemoveChild = (ElementPrototype) => {
829
+ if (ElementPrototype.__removeChild) return;
830
+ ElementPrototype.__removeChild = ElementPrototype.removeChild;
831
+ ElementPrototype.removeChild = function(toRemove) {
832
+ if (toRemove && typeof toRemove["s-sn"] !== "undefined") {
833
+ const childNodes = this.__childNodes || this.childNodes;
834
+ const slotNode = getHostSlotNodes(childNodes, this.tagName, toRemove["s-sn"]);
835
+ if (slotNode && toRemove.isConnected) {
836
+ toRemove.remove();
837
+ updateFallbackSlotVisibility(this);
838
+ return;
839
+ }
840
+ }
841
+ return this.__removeChild(toRemove);
842
+ };
843
+ };
844
+ var patchSlotPrepend = (HostElementPrototype) => {
845
+ if (HostElementPrototype.__prepend) return;
846
+ HostElementPrototype.__prepend = HostElementPrototype.prepend;
847
+ HostElementPrototype.prepend = function(...newChildren) {
848
+ newChildren.forEach((newChild) => {
849
+ if (typeof newChild === "string") {
850
+ newChild = this.ownerDocument.createTextNode(newChild);
851
+ }
852
+ const slotName = (newChild["s-sn"] = getSlotName(newChild)) || "";
853
+ const childNodes = internalCall(this, "childNodes");
854
+ const slotNode = getHostSlotNodes(childNodes, this.tagName, slotName)[0];
855
+ if (slotNode) {
856
+ addSlotRelocateNode(newChild, slotNode, true);
857
+ const slotChildNodes = getSlotChildSiblings(slotNode, slotName);
858
+ const appendAfter = slotChildNodes[0];
859
+ const parent = internalCall(appendAfter, "parentNode");
860
+ const toReturn = internalCall(parent, "insertBefore")(newChild, internalCall(appendAfter, "nextSibling"));
861
+ dispatchSlotChangeEvent(slotNode);
862
+ return toReturn;
863
+ }
864
+ if (newChild.nodeType === 1 && !!newChild.getAttribute("slot")) {
865
+ newChild.hidden = true;
866
+ }
867
+ return HostElementPrototype.__prepend(newChild);
868
+ });
869
+ };
870
+ };
871
+ var patchSlotAppend = (HostElementPrototype) => {
872
+ if (HostElementPrototype.__append) return;
873
+ HostElementPrototype.__append = HostElementPrototype.append;
874
+ HostElementPrototype.append = function(...newChildren) {
875
+ newChildren.forEach((newChild) => {
876
+ if (typeof newChild === "string") {
877
+ newChild = this.ownerDocument.createTextNode(newChild);
878
+ }
879
+ this.appendChild(newChild);
880
+ });
881
+ };
882
+ };
883
+ var patchSlotInsertAdjacentHTML = (HostElementPrototype) => {
884
+ if (HostElementPrototype.__insertAdjacentHTML) return;
885
+ const originalInsertAdjacentHtml = HostElementPrototype.insertAdjacentHTML;
886
+ HostElementPrototype.insertAdjacentHTML = function(position, text) {
887
+ if (position !== "afterbegin" && position !== "beforeend") {
888
+ return originalInsertAdjacentHtml.call(this, position, text);
889
+ }
890
+ const container = this.ownerDocument.createElement("_");
891
+ let node;
892
+ container.innerHTML = text;
893
+ if (position === "afterbegin") {
894
+ while (node = container.firstChild) {
895
+ this.prepend(node);
896
+ }
897
+ } else if (position === "beforeend") {
898
+ while (node = container.firstChild) {
899
+ this.append(node);
900
+ }
901
+ }
902
+ };
903
+ };
904
+ var patchSlotInsertAdjacentText = (HostElementPrototype) => {
905
+ HostElementPrototype.insertAdjacentText = function(position, text) {
906
+ this.insertAdjacentHTML(position, text);
907
+ };
908
+ };
909
+ var patchInsertBefore = (HostElementPrototype) => {
910
+ if (HostElementPrototype.__insertBefore) return;
911
+ const eleProto = HostElementPrototype;
912
+ if (eleProto.__insertBefore) return;
913
+ eleProto.__insertBefore = HostElementPrototype.insertBefore;
914
+ HostElementPrototype.insertBefore = function(newChild, currentChild) {
915
+ const { slotName, slotNode } = findSlotFromSlottedNode(newChild, this);
916
+ const slottedNodes = this.__childNodes ? this.childNodes : getSlottedChildNodes(this.childNodes);
917
+ if (slotNode) {
918
+ let found = false;
919
+ slottedNodes.forEach((childNode) => {
920
+ if (childNode === currentChild || currentChild === null) {
921
+ found = true;
922
+ if (currentChild === null || slotName !== currentChild["s-sn"]) {
923
+ this.appendChild(newChild);
924
+ return;
925
+ }
926
+ if (slotName === currentChild["s-sn"]) {
927
+ addSlotRelocateNode(newChild, slotNode);
928
+ const parent = internalCall(currentChild, "parentNode");
929
+ internalCall(parent, "insertBefore")(newChild, currentChild);
930
+ dispatchSlotChangeEvent(slotNode);
931
+ }
932
+ return;
933
+ }
934
+ });
935
+ if (found) return newChild;
936
+ }
937
+ const parentNode = currentChild == null ? void 0 : currentChild.__parentNode;
938
+ if (parentNode && !this.isSameNode(parentNode)) {
939
+ return this.appendChild(newChild);
940
+ }
941
+ return this.__insertBefore(newChild, currentChild);
942
+ };
943
+ };
944
+ var patchSlotInsertAdjacentElement = (HostElementPrototype) => {
945
+ if (HostElementPrototype.__insertAdjacentElement) return;
946
+ const originalInsertAdjacentElement = HostElementPrototype.insertAdjacentElement;
947
+ HostElementPrototype.insertAdjacentElement = function(position, element) {
948
+ if (position !== "afterbegin" && position !== "beforeend") {
949
+ return originalInsertAdjacentElement.call(this, position, element);
950
+ }
951
+ if (position === "afterbegin") {
952
+ this.prepend(element);
953
+ return element;
954
+ } else if (position === "beforeend") {
955
+ this.append(element);
956
+ return element;
957
+ }
958
+ return element;
959
+ };
960
+ };
961
+ var patchTextContent = (hostElementPrototype) => {
962
+ patchHostOriginalAccessor("textContent", hostElementPrototype);
963
+ Object.defineProperty(hostElementPrototype, "textContent", {
964
+ get: function() {
965
+ let text = "";
966
+ const childNodes = this.__childNodes ? this.childNodes : getSlottedChildNodes(this.childNodes);
967
+ childNodes.forEach((node) => text += node.textContent || "");
968
+ return text;
969
+ },
970
+ set: function(value) {
971
+ const childNodes = this.__childNodes ? this.childNodes : getSlottedChildNodes(this.childNodes);
972
+ childNodes.forEach((node) => {
973
+ if (node["s-ol"]) node["s-ol"].remove();
974
+ node.remove();
975
+ });
976
+ this.insertAdjacentHTML("beforeend", value);
977
+ }
978
+ });
979
+ };
980
+ var patchChildSlotNodes = (elm) => {
981
+ class FakeNodeList extends Array {
982
+ item(n) {
983
+ return this[n];
984
+ }
985
+ }
986
+ patchHostOriginalAccessor("children", elm);
987
+ Object.defineProperty(elm, "children", {
988
+ get() {
989
+ return this.childNodes.filter((n) => n.nodeType === 1);
990
+ }
991
+ });
992
+ Object.defineProperty(elm, "childElementCount", {
993
+ get() {
994
+ return this.children.length;
995
+ }
996
+ });
997
+ patchHostOriginalAccessor("firstChild", elm);
998
+ Object.defineProperty(elm, "firstChild", {
999
+ get() {
1000
+ return this.childNodes[0];
1001
+ }
1002
+ });
1003
+ patchHostOriginalAccessor("lastChild", elm);
1004
+ Object.defineProperty(elm, "lastChild", {
1005
+ get() {
1006
+ return this.childNodes[this.childNodes.length - 1];
1007
+ }
1008
+ });
1009
+ patchHostOriginalAccessor("childNodes", elm);
1010
+ Object.defineProperty(elm, "childNodes", {
1011
+ get() {
1012
+ const result = new FakeNodeList();
1013
+ result.push(...getSlottedChildNodes(this.__childNodes));
1014
+ return result;
1015
+ }
1016
+ });
1017
+ };
1018
+ var patchSlottedNode = (node) => {
1019
+ if (!node || node.__nextSibling !== void 0 || !globalThis.Node) return;
1020
+ patchNextSibling(node);
1021
+ patchPreviousSibling(node);
1022
+ patchParentNode(node);
1023
+ if (node.nodeType === Node.ELEMENT_NODE) {
1024
+ patchNextElementSibling(node);
1025
+ patchPreviousElementSibling(node);
1026
+ }
1027
+ };
1028
+ var patchNextSibling = (node) => {
1029
+ if (!node || node.__nextSibling) return;
1030
+ patchHostOriginalAccessor("nextSibling", node);
1031
+ Object.defineProperty(node, "nextSibling", {
1032
+ get: function() {
1033
+ var _a;
1034
+ const parentNodes = (_a = this["s-ol"]) == null ? void 0 : _a.parentNode.childNodes;
1035
+ const index = parentNodes == null ? void 0 : parentNodes.indexOf(this);
1036
+ if (parentNodes && index > -1) {
1037
+ return parentNodes[index + 1];
1038
+ }
1039
+ return this.__nextSibling;
1040
+ }
1041
+ });
1042
+ };
1043
+ var patchNextElementSibling = (element) => {
1044
+ if (!element || element.__nextElementSibling) return;
1045
+ patchHostOriginalAccessor("nextElementSibling", element);
1046
+ Object.defineProperty(element, "nextElementSibling", {
1047
+ get: function() {
1048
+ var _a;
1049
+ const parentEles = (_a = this["s-ol"]) == null ? void 0 : _a.parentNode.children;
1050
+ const index = parentEles == null ? void 0 : parentEles.indexOf(this);
1051
+ if (parentEles && index > -1) {
1052
+ return parentEles[index + 1];
1053
+ }
1054
+ return this.__nextElementSibling;
1055
+ }
1056
+ });
1057
+ };
1058
+ var patchPreviousSibling = (node) => {
1059
+ if (!node || node.__previousSibling) return;
1060
+ patchHostOriginalAccessor("previousSibling", node);
1061
+ Object.defineProperty(node, "previousSibling", {
1062
+ get: function() {
1063
+ var _a;
1064
+ const parentNodes = (_a = this["s-ol"]) == null ? void 0 : _a.parentNode.childNodes;
1065
+ const index = parentNodes == null ? void 0 : parentNodes.indexOf(this);
1066
+ if (parentNodes && index > -1) {
1067
+ return parentNodes[index - 1];
1068
+ }
1069
+ return this.__previousSibling;
1070
+ }
1071
+ });
1072
+ };
1073
+ var patchPreviousElementSibling = (element) => {
1074
+ if (!element || element.__previousElementSibling) return;
1075
+ patchHostOriginalAccessor("previousElementSibling", element);
1076
+ Object.defineProperty(element, "previousElementSibling", {
1077
+ get: function() {
1078
+ var _a;
1079
+ const parentNodes = (_a = this["s-ol"]) == null ? void 0 : _a.parentNode.children;
1080
+ const index = parentNodes == null ? void 0 : parentNodes.indexOf(this);
1081
+ if (parentNodes && index > -1) {
1082
+ return parentNodes[index - 1];
1083
+ }
1084
+ return this.__previousElementSibling;
1085
+ }
1086
+ });
1087
+ };
1088
+ var patchParentNode = (node) => {
1089
+ if (!node || node.__parentNode) return;
1090
+ patchHostOriginalAccessor("parentNode", node);
1091
+ Object.defineProperty(node, "parentNode", {
1092
+ get: function() {
1093
+ var _a;
1094
+ return ((_a = this["s-ol"]) == null ? void 0 : _a.parentNode) || this.__parentNode;
1095
+ },
1096
+ set: function(value) {
1097
+ this.__parentNode = value;
1098
+ }
1099
+ });
1100
+ };
1101
+ var validElementPatches = ["children", "nextElementSibling", "previousElementSibling"];
1102
+ var validNodesPatches = [
1103
+ "childNodes",
1104
+ "firstChild",
1105
+ "lastChild",
1106
+ "nextSibling",
1107
+ "previousSibling",
1108
+ "textContent",
1109
+ "parentNode"
1110
+ ];
1111
+ function patchHostOriginalAccessor(accessorName, node) {
1112
+ if (!globalThis.Node || !globalThis.Element) {
1113
+ return;
1114
+ }
1115
+ let accessor;
1116
+ if (validElementPatches.includes(accessorName)) {
1117
+ accessor = Object.getOwnPropertyDescriptor(Element.prototype, accessorName);
1118
+ } else if (validNodesPatches.includes(accessorName)) {
1119
+ accessor = Object.getOwnPropertyDescriptor(Node.prototype, accessorName);
1120
+ }
1121
+ if (!accessor) {
1122
+ accessor = Object.getOwnPropertyDescriptor(node, accessorName);
1123
+ }
1124
+ if (accessor) Object.defineProperty(node, "__" + accessorName, accessor);
1125
+ }
1126
+ function internalCall(node, method) {
1127
+ if ("__" + method in node) {
1128
+ const toReturn = node["__" + method];
1129
+ if (typeof toReturn !== "function") return toReturn;
1130
+ return toReturn.bind(node);
1131
+ } else {
1132
+ if (typeof node[method] !== "function") return node[method];
1133
+ return node[method].bind(node);
1134
+ }
1135
+ }
1136
+ var createTime = (fnName, tagName = "") => {
1137
+ {
1138
+ return () => {
1139
+ return;
1140
+ };
1141
+ }
1142
+ };
1143
+ var uniqueTime = (key, measureText) => {
1144
+ {
1145
+ return () => {
1146
+ return;
1147
+ };
1148
+ }
1149
+ };
1150
+
1151
+ // src/utils/query-nonce-meta-tag-content.ts
1152
+ function queryNonceMetaTagContent(doc) {
1153
+ var _a, _b, _c;
1154
+ return (_c = (_b = (_a = doc.head) == null ? void 0 : _a.querySelector('meta[name="csp-nonce"]')) == null ? void 0 : _b.getAttribute("content")) != null ? _c : void 0;
1155
+ }
1156
+
1157
+ // src/runtime/styles.ts
1158
+ var rootAppliedStyles = /* @__PURE__ */ new WeakMap();
1159
+ var registerStyle = (scopeId2, cssText, allowCS) => {
1160
+ let style = styles.get(scopeId2);
1161
+ if (supportsConstructableStylesheets && allowCS) {
1162
+ style = style || new CSSStyleSheet();
1163
+ if (typeof style === "string") {
1164
+ style = cssText;
1165
+ } else {
1166
+ style.replaceSync(cssText);
1167
+ }
1168
+ } else {
1169
+ style = cssText;
1170
+ }
1171
+ styles.set(scopeId2, style);
1172
+ };
1173
+ var addStyle = (styleContainerNode, cmpMeta, mode) => {
1174
+ var _a, _b, _c;
1175
+ const scopeId2 = getScopeId(cmpMeta);
1176
+ const style = styles.get(scopeId2);
1177
+ if (!win.document) {
1178
+ return scopeId2;
1179
+ }
1180
+ styleContainerNode = styleContainerNode.nodeType === 11 /* DocumentFragment */ ? styleContainerNode : win.document;
1181
+ if (style) {
1182
+ if (typeof style === "string") {
1183
+ styleContainerNode = styleContainerNode.head || styleContainerNode;
1184
+ let appliedStyles = rootAppliedStyles.get(styleContainerNode);
1185
+ let styleElm;
1186
+ if (!appliedStyles) {
1187
+ rootAppliedStyles.set(styleContainerNode, appliedStyles = /* @__PURE__ */ new Set());
1188
+ }
1189
+ const existingStyleElm = styleContainerNode.querySelector(`[${HYDRATED_STYLE_ID}="${scopeId2}"]`);
1190
+ if (existingStyleElm) {
1191
+ existingStyleElm.textContent = style;
1192
+ } else if (!appliedStyles.has(scopeId2)) {
1193
+ styleElm = win.document.createElement("style");
1194
+ styleElm.textContent = style;
1195
+ const nonce = (_a = plt.$nonce$) != null ? _a : queryNonceMetaTagContent(win.document);
1196
+ if (nonce != null) {
1197
+ styleElm.setAttribute("nonce", nonce);
1198
+ }
1199
+ if (!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */)) {
1200
+ if (styleContainerNode.nodeName === "HEAD") {
1201
+ const preconnectLinks = styleContainerNode.querySelectorAll("link[rel=preconnect]");
1202
+ const referenceNode2 = preconnectLinks.length > 0 ? preconnectLinks[preconnectLinks.length - 1].nextSibling : styleContainerNode.querySelector("style");
1203
+ styleContainerNode.insertBefore(
1204
+ styleElm,
1205
+ (referenceNode2 == null ? void 0 : referenceNode2.parentNode) === styleContainerNode ? referenceNode2 : null
1206
+ );
1207
+ } else if ("host" in styleContainerNode) {
1208
+ if (supportsConstructableStylesheets) {
1209
+ const currentWindow = (_b = styleContainerNode.defaultView) != null ? _b : styleContainerNode.ownerDocument.defaultView;
1210
+ const stylesheet = new currentWindow.CSSStyleSheet();
1211
+ stylesheet.replaceSync(style);
1212
+ if (supportsMutableAdoptedStyleSheets) {
1213
+ styleContainerNode.adoptedStyleSheets.unshift(stylesheet);
1214
+ } else {
1215
+ styleContainerNode.adoptedStyleSheets = [stylesheet, ...styleContainerNode.adoptedStyleSheets];
1216
+ }
1217
+ } else {
1218
+ const existingStyleContainer = styleContainerNode.querySelector("style");
1219
+ if (existingStyleContainer && true) {
1220
+ existingStyleContainer.textContent = style + existingStyleContainer.textContent;
1221
+ } else {
1222
+ styleContainerNode.prepend(styleElm);
1223
+ }
1224
+ }
1225
+ } else {
1226
+ styleContainerNode.append(styleElm);
1227
+ }
1228
+ }
1229
+ if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) {
1230
+ styleContainerNode.insertBefore(styleElm, null);
1231
+ }
1232
+ if (cmpMeta.$flags$ & 4 /* hasSlotRelocation */) {
1233
+ styleElm.textContent += SLOT_FB_CSS;
1234
+ }
1235
+ if (appliedStyles) {
1236
+ appliedStyles.add(scopeId2);
1237
+ }
1238
+ }
1239
+ } else {
1240
+ let appliedStyles = rootAppliedStyles.get(styleContainerNode);
1241
+ if (!appliedStyles) {
1242
+ rootAppliedStyles.set(styleContainerNode, appliedStyles = /* @__PURE__ */ new Set());
1243
+ }
1244
+ if (!appliedStyles.has(scopeId2)) {
1245
+ const currentWindow = (_c = styleContainerNode.defaultView) != null ? _c : styleContainerNode.ownerDocument.defaultView;
1246
+ let stylesheet;
1247
+ if (style.constructor === currentWindow.CSSStyleSheet) {
1248
+ stylesheet = style;
1249
+ } else {
1250
+ stylesheet = new currentWindow.CSSStyleSheet();
1251
+ for (let i2 = 0; i2 < style.cssRules.length; i2++) {
1252
+ stylesheet.insertRule(style.cssRules[i2].cssText, i2);
1253
+ }
1254
+ }
1255
+ if (supportsMutableAdoptedStyleSheets) {
1256
+ styleContainerNode.adoptedStyleSheets.push(stylesheet);
1257
+ } else {
1258
+ styleContainerNode.adoptedStyleSheets = [...styleContainerNode.adoptedStyleSheets, stylesheet];
1259
+ }
1260
+ appliedStyles.add(scopeId2);
1261
+ if ("host" in styleContainerNode) {
1262
+ const ssrStyleElm = styleContainerNode.querySelector(`[${HYDRATED_STYLE_ID}="${scopeId2}"]`);
1263
+ if (ssrStyleElm) {
1264
+ writeTask(() => ssrStyleElm.remove());
1265
+ }
1266
+ }
1267
+ }
1268
+ }
1269
+ }
1270
+ return scopeId2;
1271
+ };
1272
+ var attachStyles = (hostRef) => {
1273
+ const cmpMeta = hostRef.$cmpMeta$;
1274
+ const elm = hostRef.$hostElement$;
1275
+ const flags = cmpMeta.$flags$;
1276
+ const endAttachStyles = createTime("attachStyles", cmpMeta.$tagName$);
1277
+ const scopeId2 = addStyle(
1278
+ elm.shadowRoot ? elm.shadowRoot : elm.getRootNode(),
1279
+ cmpMeta);
1280
+ if (flags & 10 /* needsScopedEncapsulation */) {
1281
+ elm["s-sc"] = scopeId2;
1282
+ elm.classList.add(scopeId2 + "-h");
1283
+ }
1284
+ endAttachStyles();
1285
+ };
1286
+ var getScopeId = (cmp, mode) => "sc-" + (cmp.$tagName$);
1287
+ var convertScopedToShadow = (css) => css.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g, "$1{");
1288
+ var hydrateScopedToShadow = () => {
1289
+ if (!win.document) {
1290
+ return;
1291
+ }
1292
+ const styles2 = win.document.querySelectorAll(`[${HYDRATED_STYLE_ID}]`);
1293
+ let i2 = 0;
1294
+ for (; i2 < styles2.length; i2++) {
1295
+ registerStyle(styles2[i2].getAttribute(HYDRATED_STYLE_ID), convertScopedToShadow(styles2[i2].innerHTML), true);
1296
+ }
1297
+ };
1298
+ var isComplexType = (o) => {
1299
+ o = typeof o;
1300
+ return o === "object" || o === "function";
1301
+ };
1302
+
1303
+ // src/runtime/vdom/h.ts
1304
+ var h = (nodeName, vnodeData, ...children) => {
1305
+ if (typeof nodeName === "string") {
1306
+ nodeName = transformTag(nodeName);
1307
+ }
1308
+ let child = null;
1309
+ let key = null;
1310
+ let simple = false;
1311
+ let lastSimple = false;
1312
+ const vNodeChildren = [];
1313
+ const walk = (c) => {
1314
+ for (let i2 = 0; i2 < c.length; i2++) {
1315
+ child = c[i2];
1316
+ if (Array.isArray(child)) {
1317
+ walk(child);
1318
+ } else if (child != null && typeof child !== "boolean") {
1319
+ if (simple = typeof nodeName !== "function" && !isComplexType(child)) {
1320
+ child = String(child);
1321
+ }
1322
+ if (simple && lastSimple) {
1323
+ vNodeChildren[vNodeChildren.length - 1].$text$ += child;
1324
+ } else {
1325
+ vNodeChildren.push(simple ? newVNode(null, child) : child);
1326
+ }
1327
+ lastSimple = simple;
1328
+ }
1329
+ }
1330
+ };
1331
+ walk(children);
1332
+ if (vnodeData) {
1333
+ if (vnodeData.key) {
1334
+ key = vnodeData.key;
1335
+ }
1336
+ {
1337
+ const classData = vnodeData.className || vnodeData.class;
1338
+ if (classData) {
1339
+ vnodeData.class = typeof classData !== "object" ? classData : Object.keys(classData).filter((k) => classData[k]).join(" ");
1340
+ }
1341
+ }
1342
+ }
1343
+ if (typeof nodeName === "function") {
1344
+ return nodeName(
1345
+ vnodeData === null ? {} : vnodeData,
1346
+ vNodeChildren,
1347
+ vdomFnUtils
1348
+ );
1349
+ }
1350
+ const vnode = newVNode(nodeName, null);
1351
+ vnode.$attrs$ = vnodeData;
1352
+ if (vNodeChildren.length > 0) {
1353
+ vnode.$children$ = vNodeChildren;
1354
+ }
1355
+ {
1356
+ vnode.$key$ = key;
1357
+ }
1358
+ return vnode;
1359
+ };
1360
+ var newVNode = (tag, text) => {
1361
+ const vnode = {
1362
+ $flags$: 0,
1363
+ $tag$: tag,
1364
+ // Normalize undefined to null to prevent rendering "undefined" as text
1365
+ $text$: text != null ? text : null,
1366
+ $elm$: null,
1367
+ $children$: null
1368
+ };
1369
+ {
1370
+ vnode.$attrs$ = null;
1371
+ }
1372
+ {
1373
+ vnode.$key$ = null;
1374
+ }
1375
+ return vnode;
1376
+ };
1377
+ var Host = {};
1378
+ var isHost = (node) => node && node.$tag$ === Host;
1379
+ var vdomFnUtils = {
1380
+ forEach: (children, cb) => children.map(convertToPublic).forEach(cb),
1381
+ map: (children, cb) => children.map(convertToPublic).map(cb).map(convertToPrivate)
1382
+ };
1383
+ var convertToPublic = (node) => ({
1384
+ vattrs: node.$attrs$,
1385
+ vchildren: node.$children$,
1386
+ vkey: node.$key$,
1387
+ vname: node.$name$,
1388
+ vtag: node.$tag$,
1389
+ vtext: node.$text$
1390
+ });
1391
+ var convertToPrivate = (node) => {
1392
+ if (typeof node.vtag === "function") {
1393
+ const vnodeData = { ...node.vattrs };
1394
+ if (node.vkey) {
1395
+ vnodeData.key = node.vkey;
1396
+ }
1397
+ if (node.vname) {
1398
+ vnodeData.name = node.vname;
1399
+ }
1400
+ return h(node.vtag, vnodeData, ...node.vchildren || []);
1401
+ }
1402
+ const vnode = newVNode(node.vtag, node.vtext);
1403
+ vnode.$attrs$ = node.vattrs;
1404
+ vnode.$children$ = node.vchildren;
1405
+ vnode.$key$ = node.vkey;
1406
+ vnode.$name$ = node.vname;
1407
+ return vnode;
1408
+ };
1409
+
1410
+ // src/runtime/client-hydrate.ts
1411
+ var initializeClientHydrate = (hostElm, tagName, hostId, hostRef) => {
1412
+ var _a, _b, _c, _d;
1413
+ const endHydrate = createTime("hydrateClient", tagName);
1414
+ const shadowRoot = hostElm.shadowRoot;
1415
+ const childRenderNodes = [];
1416
+ const slotNodes = [];
1417
+ const slottedNodes = [];
1418
+ const shadowRootNodes = shadowRoot ? [] : null;
1419
+ const vnode = newVNode(tagName, null);
1420
+ vnode.$elm$ = hostElm;
1421
+ if (win.document && (!plt.$orgLocNodes$ || !plt.$orgLocNodes$.size)) {
1422
+ initializeDocumentHydrate(win.document.body, plt.$orgLocNodes$ = /* @__PURE__ */ new Map());
1423
+ }
1424
+ hostElm[HYDRATE_ID] = hostId;
1425
+ hostElm.removeAttribute(HYDRATE_ID);
1426
+ hostRef.$vnode$ = clientHydrate(
1427
+ vnode,
1428
+ childRenderNodes,
1429
+ slotNodes,
1430
+ shadowRootNodes,
1431
+ hostElm,
1432
+ hostElm,
1433
+ hostId,
1434
+ slottedNodes
1435
+ );
1436
+ let crIndex = 0;
1437
+ const crLength = childRenderNodes.length;
1438
+ let childRenderNode;
1439
+ for (crIndex; crIndex < crLength; crIndex++) {
1440
+ childRenderNode = childRenderNodes[crIndex];
1441
+ const orgLocationId = childRenderNode.$hostId$ + "." + childRenderNode.$nodeId$;
1442
+ const orgLocationNode = plt.$orgLocNodes$.get(orgLocationId);
1443
+ const node = childRenderNode.$elm$;
1444
+ if (!shadowRoot) {
1445
+ node["s-hn"] = transformTag(tagName).toUpperCase();
1446
+ if (childRenderNode.$tag$ === "slot") {
1447
+ node["s-cr"] = hostElm["s-cr"];
1448
+ }
1449
+ } else if (((_a = childRenderNode.$tag$) == null ? void 0 : _a.toString().includes("-")) && childRenderNode.$tag$ !== "slot-fb" && !childRenderNode.$elm$.shadowRoot) {
1450
+ const cmpMeta = getHostRef(childRenderNode.$elm$);
1451
+ if (cmpMeta) {
1452
+ const scopeId3 = getScopeId(
1453
+ cmpMeta.$cmpMeta$);
1454
+ const styleSheet = win.document.querySelector(`style[sty-id="${scopeId3}"]`);
1455
+ if (styleSheet) {
1456
+ shadowRootNodes.unshift(styleSheet.cloneNode(true));
1457
+ }
1458
+ }
1459
+ }
1460
+ if (childRenderNode.$tag$ === "slot") {
1461
+ childRenderNode.$name$ = childRenderNode.$elm$["s-sn"] || childRenderNode.$elm$["name"] || null;
1462
+ if (childRenderNode.$children$) {
1463
+ childRenderNode.$flags$ |= 2 /* isSlotFallback */;
1464
+ if (!childRenderNode.$elm$.childNodes.length) {
1465
+ childRenderNode.$children$.forEach((c) => {
1466
+ childRenderNode.$elm$.appendChild(c.$elm$);
1467
+ });
1468
+ }
1469
+ } else {
1470
+ childRenderNode.$flags$ |= 1 /* isSlotReference */;
1471
+ }
1472
+ }
1473
+ if (orgLocationNode && orgLocationNode.isConnected) {
1474
+ if (orgLocationNode.parentElement.shadowRoot && orgLocationNode["s-en"] === "") {
1475
+ orgLocationNode.parentNode.insertBefore(node, orgLocationNode.nextSibling);
1476
+ }
1477
+ orgLocationNode.parentNode.removeChild(orgLocationNode);
1478
+ if (!shadowRoot) {
1479
+ node["s-oo"] = parseInt(childRenderNode.$nodeId$);
1480
+ }
1481
+ }
1482
+ if (orgLocationNode && !orgLocationNode["s-id"]) {
1483
+ plt.$orgLocNodes$.delete(orgLocationId);
1484
+ }
1485
+ }
1486
+ const hosts = [];
1487
+ const snLen = slottedNodes.length;
1488
+ let snIndex = 0;
1489
+ let slotGroup;
1490
+ let snGroupIdx;
1491
+ let snGroupLen;
1492
+ let slottedItem;
1493
+ let currentPos = 0;
1494
+ for (snIndex; snIndex < snLen; snIndex++) {
1495
+ slotGroup = slottedNodes[snIndex];
1496
+ if (!slotGroup || !slotGroup.length) continue;
1497
+ snGroupLen = slotGroup.length;
1498
+ snGroupIdx = 0;
1499
+ for (snGroupIdx; snGroupIdx < snGroupLen; snGroupIdx++) {
1500
+ slottedItem = slotGroup[snGroupIdx];
1501
+ if (!hosts[slottedItem.hostId]) {
1502
+ hosts[slottedItem.hostId] = plt.$orgLocNodes$.get(slottedItem.hostId);
1503
+ }
1504
+ if (!hosts[slottedItem.hostId]) continue;
1505
+ const hostEle = hosts[slottedItem.hostId];
1506
+ if (hostEle.shadowRoot && slottedItem.node.parentElement !== hostEle) {
1507
+ hostEle.insertBefore(slottedItem.node, (_c = (_b = slotGroup[snGroupIdx - 1]) == null ? void 0 : _b.node) == null ? void 0 : _c.nextSibling);
1508
+ }
1509
+ if (!hostEle.shadowRoot || !shadowRoot) {
1510
+ if (!slottedItem.slot["s-cr"]) {
1511
+ slottedItem.slot["s-cr"] = hostEle["s-cr"];
1512
+ if (!slottedItem.slot["s-cr"] && hostEle.shadowRoot) {
1513
+ slottedItem.slot["s-cr"] = hostEle;
1514
+ } else {
1515
+ slottedItem.slot["s-cr"] = (hostEle.__childNodes || hostEle.childNodes)[0];
1516
+ }
1517
+ }
1518
+ addSlotRelocateNode(slottedItem.node, slottedItem.slot, false, slottedItem.node["s-oo"] || currentPos);
1519
+ if (((_d = slottedItem.node.parentElement) == null ? void 0 : _d.shadowRoot) && slottedItem.node["getAttribute"] && slottedItem.node.getAttribute("slot")) {
1520
+ slottedItem.node.removeAttribute("slot");
1521
+ }
1522
+ {
1523
+ patchSlottedNode(slottedItem.node);
1524
+ }
1525
+ }
1526
+ currentPos = (slottedItem.node["s-oo"] || currentPos) + 1;
1527
+ }
1528
+ }
1529
+ if (shadowRoot && !shadowRoot.childNodes.length) {
1530
+ let rnIdex = 0;
1531
+ const rnLen = shadowRootNodes.length;
1532
+ if (rnLen) {
1533
+ for (rnIdex; rnIdex < rnLen; rnIdex++) {
1534
+ const node = shadowRootNodes[rnIdex];
1535
+ if (node) {
1536
+ shadowRoot.appendChild(node);
1537
+ }
1538
+ }
1539
+ Array.from(hostElm.childNodes).forEach((node) => {
1540
+ if (typeof node["s-en"] !== "string" && typeof node["s-sn"] !== "string") {
1541
+ if (node.nodeType === 1 /* ElementNode */ && node.slot && node.hidden) {
1542
+ node.removeAttribute("hidden");
1543
+ } else if (node.nodeType === 8 /* CommentNode */ && !node.nodeValue) {
1544
+ node.parentNode.removeChild(node);
1545
+ }
1546
+ }
1547
+ });
1548
+ }
1549
+ }
1550
+ hostRef.$hostElement$ = hostElm;
1551
+ endHydrate();
1552
+ };
1553
+ var clientHydrate = (parentVNode, childRenderNodes, slotNodes, shadowRootNodes, hostElm, node, hostId, slottedNodes = []) => {
1554
+ let childNodeType;
1555
+ let childIdSplt;
1556
+ let childVNode;
1557
+ let i2;
1558
+ if (node.nodeType === 1 /* ElementNode */) {
1559
+ childNodeType = node.getAttribute(HYDRATE_CHILD_ID);
1560
+ if (childNodeType) {
1561
+ childIdSplt = childNodeType.split(".");
1562
+ if (childIdSplt[0] === hostId || childIdSplt[0] === "0") {
1563
+ childVNode = createSimpleVNode({
1564
+ $flags$: 0,
1565
+ $hostId$: childIdSplt[0],
1566
+ $nodeId$: childIdSplt[1],
1567
+ $depth$: childIdSplt[2],
1568
+ $index$: childIdSplt[3],
1569
+ $tag$: node.tagName.toLowerCase(),
1570
+ $elm$: node,
1571
+ // If we don't add the initial classes to the VNode, the first `vdom-render.ts` patch
1572
+ // won't try to reconcile them. Classes set on the node will be blown away.
1573
+ $attrs$: { class: node.className || "" }
1574
+ });
1575
+ childRenderNodes.push(childVNode);
1576
+ node.removeAttribute(HYDRATE_CHILD_ID);
1577
+ if (!parentVNode.$children$) {
1578
+ parentVNode.$children$ = [];
1579
+ }
1580
+ const slotName = childVNode.$elm$.getAttribute("s-sn");
1581
+ if (typeof slotName === "string") {
1582
+ if (childVNode.$tag$ === "slot-fb") {
1583
+ addSlot(
1584
+ slotName,
1585
+ childIdSplt[2],
1586
+ childVNode,
1587
+ node,
1588
+ parentVNode,
1589
+ childRenderNodes,
1590
+ slotNodes,
1591
+ shadowRootNodes,
1592
+ slottedNodes
1593
+ );
1594
+ }
1595
+ childVNode.$elm$["s-sn"] = slotName;
1596
+ childVNode.$elm$.removeAttribute("s-sn");
1597
+ }
1598
+ if (childVNode.$index$ !== void 0) {
1599
+ parentVNode.$children$[childVNode.$index$] = childVNode;
1600
+ }
1601
+ parentVNode = childVNode;
1602
+ if (shadowRootNodes && childVNode.$depth$ === "0") {
1603
+ shadowRootNodes[childVNode.$index$] = childVNode.$elm$;
1604
+ }
1605
+ }
1606
+ }
1607
+ if (node.shadowRoot) {
1608
+ for (i2 = node.shadowRoot.childNodes.length - 1; i2 >= 0; i2--) {
1609
+ clientHydrate(
1610
+ parentVNode,
1611
+ childRenderNodes,
1612
+ slotNodes,
1613
+ shadowRootNodes,
1614
+ hostElm,
1615
+ node.shadowRoot.childNodes[i2],
1616
+ hostId,
1617
+ slottedNodes
1618
+ );
1619
+ }
1620
+ }
1621
+ const nonShadowNodes = node.__childNodes || node.childNodes;
1622
+ for (i2 = nonShadowNodes.length - 1; i2 >= 0; i2--) {
1623
+ clientHydrate(
1624
+ parentVNode,
1625
+ childRenderNodes,
1626
+ slotNodes,
1627
+ shadowRootNodes,
1628
+ hostElm,
1629
+ nonShadowNodes[i2],
1630
+ hostId,
1631
+ slottedNodes
1632
+ );
1633
+ }
1634
+ } else if (node.nodeType === 8 /* CommentNode */) {
1635
+ childIdSplt = node.nodeValue.split(".");
1636
+ if (childIdSplt[1] === hostId || childIdSplt[1] === "0") {
1637
+ childNodeType = childIdSplt[0];
1638
+ childVNode = createSimpleVNode({
1639
+ $hostId$: childIdSplt[1],
1640
+ $nodeId$: childIdSplt[2],
1641
+ $depth$: childIdSplt[3],
1642
+ $index$: childIdSplt[4] || "0",
1643
+ $elm$: node,
1644
+ $attrs$: null,
1645
+ $children$: null,
1646
+ $key$: null,
1647
+ $name$: null,
1648
+ $tag$: null,
1649
+ $text$: null
1650
+ });
1651
+ if (childNodeType === TEXT_NODE_ID) {
1652
+ childVNode.$elm$ = findCorrespondingNode(node, 3 /* TextNode */);
1653
+ if (childVNode.$elm$ && childVNode.$elm$.nodeType === 3 /* TextNode */) {
1654
+ childVNode.$text$ = childVNode.$elm$.textContent;
1655
+ childRenderNodes.push(childVNode);
1656
+ node.remove();
1657
+ if (hostId === childVNode.$hostId$) {
1658
+ if (!parentVNode.$children$) {
1659
+ parentVNode.$children$ = [];
1660
+ }
1661
+ parentVNode.$children$[childVNode.$index$] = childVNode;
1662
+ }
1663
+ if (shadowRootNodes && childVNode.$depth$ === "0") {
1664
+ shadowRootNodes[childVNode.$index$] = childVNode.$elm$;
1665
+ }
1666
+ }
1667
+ } else if (childNodeType === COMMENT_NODE_ID) {
1668
+ childVNode.$elm$ = findCorrespondingNode(node, 8 /* CommentNode */);
1669
+ if (childVNode.$elm$ && childVNode.$elm$.nodeType === 8 /* CommentNode */) {
1670
+ childRenderNodes.push(childVNode);
1671
+ node.remove();
1672
+ }
1673
+ } else if (childVNode.$hostId$ === hostId) {
1674
+ if (childNodeType === SLOT_NODE_ID) {
1675
+ const slotName = node["s-sn"] = childIdSplt[5] || "";
1676
+ addSlot(
1677
+ slotName,
1678
+ childIdSplt[2],
1679
+ childVNode,
1680
+ node,
1681
+ parentVNode,
1682
+ childRenderNodes,
1683
+ slotNodes,
1684
+ shadowRootNodes,
1685
+ slottedNodes
1686
+ );
1687
+ } else if (childNodeType === CONTENT_REF_ID) {
1688
+ if (shadowRootNodes) {
1689
+ node.remove();
1690
+ }
1691
+ }
1692
+ }
1693
+ }
1694
+ } else if (parentVNode && parentVNode.$tag$ === "style") {
1695
+ const vnode = newVNode(null, node.textContent);
1696
+ vnode.$elm$ = node;
1697
+ vnode.$index$ = "0";
1698
+ parentVNode.$children$ = [vnode];
1699
+ }
1700
+ return parentVNode;
1701
+ };
1702
+ var initializeDocumentHydrate = (node, orgLocNodes) => {
1703
+ if (node.nodeType === 1 /* ElementNode */) {
1704
+ const componentId = node[HYDRATE_ID] || node.getAttribute(HYDRATE_ID);
1705
+ if (componentId) {
1706
+ orgLocNodes.set(componentId, node);
1707
+ }
1708
+ let i2 = 0;
1709
+ if (node.shadowRoot) {
1710
+ for (; i2 < node.shadowRoot.childNodes.length; i2++) {
1711
+ initializeDocumentHydrate(node.shadowRoot.childNodes[i2], orgLocNodes);
1712
+ }
1713
+ }
1714
+ const nonShadowNodes = node.__childNodes || node.childNodes;
1715
+ for (i2 = 0; i2 < nonShadowNodes.length; i2++) {
1716
+ initializeDocumentHydrate(nonShadowNodes[i2], orgLocNodes);
1717
+ }
1718
+ } else if (node.nodeType === 8 /* CommentNode */) {
1719
+ const childIdSplt = node.nodeValue.split(".");
1720
+ if (childIdSplt[0] === ORG_LOCATION_ID) {
1721
+ orgLocNodes.set(childIdSplt[1] + "." + childIdSplt[2], node);
1722
+ node.nodeValue = "";
1723
+ node["s-en"] = childIdSplt[3];
1724
+ }
1725
+ }
1726
+ };
1727
+ var createSimpleVNode = (vnode) => {
1728
+ const defaultVNode = {
1729
+ $flags$: 0,
1730
+ $hostId$: null,
1731
+ $nodeId$: null,
1732
+ $depth$: null,
1733
+ $index$: "0",
1734
+ $elm$: null,
1735
+ $attrs$: null,
1736
+ $children$: null,
1737
+ $key$: null,
1738
+ $name$: null,
1739
+ $tag$: null,
1740
+ $text$: null
1741
+ };
1742
+ return { ...defaultVNode, ...vnode };
1743
+ };
1744
+ function addSlot(slotName, slotId, childVNode, node, parentVNode, childRenderNodes, slotNodes, shadowRootNodes, slottedNodes) {
1745
+ node["s-sr"] = true;
1746
+ childVNode.$name$ = slotName || null;
1747
+ childVNode.$tag$ = "slot";
1748
+ const parentNodeId = (parentVNode == null ? void 0 : parentVNode.$elm$) ? parentVNode.$elm$["s-id"] || parentVNode.$elm$.getAttribute("s-id") : "";
1749
+ if (shadowRootNodes && win.document) {
1750
+ const slot = childVNode.$elm$ = win.document.createElement(childVNode.$tag$);
1751
+ if (childVNode.$name$) {
1752
+ childVNode.$elm$.setAttribute("name", slotName);
1753
+ }
1754
+ if (parentVNode.$elm$.shadowRoot && parentNodeId && parentNodeId !== childVNode.$hostId$) {
1755
+ internalCall(parentVNode.$elm$, "insertBefore")(slot, internalCall(parentVNode.$elm$, "children")[0]);
1756
+ } else {
1757
+ internalCall(internalCall(node, "parentNode"), "insertBefore")(slot, node);
1758
+ }
1759
+ addSlottedNodes(slottedNodes, slotId, slotName, node, childVNode.$hostId$);
1760
+ node.remove();
1761
+ if (childVNode.$depth$ === "0") {
1762
+ shadowRootNodes[childVNode.$index$] = childVNode.$elm$;
1763
+ }
1764
+ } else {
1765
+ const slot = childVNode.$elm$;
1766
+ const shouldMove = parentNodeId && parentNodeId !== childVNode.$hostId$ && parentVNode.$elm$.shadowRoot;
1767
+ addSlottedNodes(slottedNodes, slotId, slotName, node, shouldMove ? parentNodeId : childVNode.$hostId$);
1768
+ patchSlotNode(node);
1769
+ if (shouldMove) {
1770
+ parentVNode.$elm$.insertBefore(slot, parentVNode.$elm$.children[0]);
1771
+ }
1772
+ }
1773
+ childRenderNodes.push(childVNode);
1774
+ slotNodes.push(childVNode);
1775
+ if (!parentVNode.$children$) {
1776
+ parentVNode.$children$ = [];
1777
+ }
1778
+ parentVNode.$children$[childVNode.$index$] = childVNode;
1779
+ }
1780
+ var addSlottedNodes = (slottedNodes, slotNodeId, slotName, slotNode, hostId) => {
1781
+ var _a, _b;
1782
+ let slottedNode = slotNode.nextSibling;
1783
+ slottedNodes[slotNodeId] = slottedNodes[slotNodeId] || [];
1784
+ if (!slottedNode || ((_a = slottedNode.nodeValue) == null ? void 0 : _a.startsWith(SLOT_NODE_ID + "."))) return;
1785
+ do {
1786
+ if (slottedNode && ((slottedNode["getAttribute"] && slottedNode.getAttribute("slot") || slottedNode["s-sn"]) === slotName || slotName === "" && !slottedNode["s-sn"] && (!slottedNode["getAttribute"] || !slottedNode.getAttribute("slot")) && (slottedNode.nodeType === 8 /* CommentNode */ || slottedNode.nodeType === 3 /* TextNode */))) {
1787
+ slottedNode["s-sn"] = slotName;
1788
+ slottedNodes[slotNodeId].push({ slot: slotNode, node: slottedNode, hostId });
1789
+ }
1790
+ slottedNode = slottedNode == null ? void 0 : slottedNode.nextSibling;
1791
+ } while (slottedNode && !((_b = slottedNode.nodeValue) == null ? void 0 : _b.startsWith(SLOT_NODE_ID + ".")));
1792
+ };
1793
+ var findCorrespondingNode = (node, type) => {
1794
+ let sibling = node;
1795
+ do {
1796
+ sibling = sibling.nextSibling;
1797
+ } while (sibling && (sibling.nodeType !== type || !sibling.nodeValue));
1798
+ return sibling;
1799
+ };
1800
+
1801
+ // src/runtime/normalize-watchers.ts
1802
+ var normalizeWatchers = (raw) => {
1803
+ if (!raw) return void 0;
1804
+ const keys = Object.keys(raw);
1805
+ if (keys.length === 0) return void 0;
1806
+ let hasLegacy = false;
1807
+ for (const propName of keys) {
1808
+ if (hasLegacy) break;
1809
+ for (const h2 of raw[propName]) {
1810
+ if (typeof h2 === "string") {
1811
+ hasLegacy = true;
1812
+ break;
1813
+ }
1814
+ }
1815
+ }
1816
+ if (!hasLegacy) return raw;
1817
+ const out = {};
1818
+ for (const propName of keys) {
1819
+ out[propName] = raw[propName].map(
1820
+ (h2) => typeof h2 === "string" ? { [h2]: 0 } : h2
1821
+ );
1822
+ }
1823
+ return out;
1824
+ };
1825
+
1826
+ // src/utils/remote-value.ts
1827
+ var RemoteValue = class _RemoteValue {
1828
+ /**
1829
+ * Deserializes a LocalValue serialized object back to its original JavaScript representation
1830
+ *
1831
+ * @param serialized The serialized LocalValue object
1832
+ * @returns The original JavaScript value/object
1833
+ */
1834
+ static fromLocalValue(serialized) {
1835
+ const type = serialized[TYPE_CONSTANT];
1836
+ const value = VALUE_CONSTANT in serialized ? serialized[VALUE_CONSTANT] : void 0;
1837
+ switch (type) {
1838
+ case "string" /* String */:
1839
+ return value;
1840
+ case "boolean" /* Boolean */:
1841
+ return value;
1842
+ case "bigint" /* BigInt */:
1843
+ return BigInt(value);
1844
+ case "undefined" /* Undefined */:
1845
+ return void 0;
1846
+ case "null" /* Null */:
1847
+ return null;
1848
+ case "number" /* Number */:
1849
+ if (value === "NaN") return NaN;
1850
+ if (value === "-0") return -0;
1851
+ if (value === "Infinity") return Infinity;
1852
+ if (value === "-Infinity") return -Infinity;
1853
+ return value;
1854
+ case "array" /* Array */:
1855
+ return value.map((item) => _RemoteValue.fromLocalValue(item));
1856
+ case "date" /* Date */:
1857
+ return new Date(value);
1858
+ case "map" /* Map */:
1859
+ const map = /* @__PURE__ */ new Map();
1860
+ for (const [key, val] of value) {
1861
+ const deserializedKey = typeof key === "object" && key !== null ? _RemoteValue.fromLocalValue(key) : key;
1862
+ const deserializedValue = _RemoteValue.fromLocalValue(val);
1863
+ map.set(deserializedKey, deserializedValue);
1864
+ }
1865
+ return map;
1866
+ case "object" /* Object */:
1867
+ const obj = {};
1868
+ for (const [key, val] of value) {
1869
+ obj[key] = _RemoteValue.fromLocalValue(val);
1870
+ }
1871
+ return obj;
1872
+ case "regexp" /* RegularExpression */:
1873
+ const { pattern, flags } = value;
1874
+ return new RegExp(pattern, flags);
1875
+ case "set" /* Set */:
1876
+ const set = /* @__PURE__ */ new Set();
1877
+ for (const item of value) {
1878
+ set.add(_RemoteValue.fromLocalValue(item));
1879
+ }
1880
+ return set;
1881
+ case "symbol" /* Symbol */:
1882
+ return Symbol(value);
1883
+ default:
1884
+ throw new Error(`Unsupported type: ${type}`);
1885
+ }
1886
+ }
1887
+ /**
1888
+ * Utility method to deserialize multiple LocalValues at once
1889
+ *
1890
+ * @param serializedValues Array of serialized LocalValue objects
1891
+ * @returns Array of deserialized JavaScript values
1892
+ */
1893
+ static fromLocalValueArray(serializedValues) {
1894
+ return serializedValues.map((value) => _RemoteValue.fromLocalValue(value));
1895
+ }
1896
+ /**
1897
+ * Verifies if the given object matches the structure of a serialized LocalValue
1898
+ *
1899
+ * @param obj Object to verify
1900
+ * @returns boolean indicating if the object has LocalValue structure
1901
+ */
1902
+ static isLocalValueObject(obj) {
1903
+ if (typeof obj !== "object" || obj === null) {
1904
+ return false;
1905
+ }
1906
+ if (!obj.hasOwnProperty(TYPE_CONSTANT)) {
1907
+ return false;
1908
+ }
1909
+ const type = obj[TYPE_CONSTANT];
1910
+ const hasTypeProperty = Object.values({ ...PrimitiveType, ...NonPrimitiveType }).includes(type);
1911
+ if (!hasTypeProperty) {
1912
+ return false;
1913
+ }
1914
+ if (type !== "null" /* Null */ && type !== "undefined" /* Undefined */) {
1915
+ return obj.hasOwnProperty(VALUE_CONSTANT);
1916
+ }
1917
+ return true;
1918
+ }
1919
+ };
1920
+
1921
+ // src/utils/serialize.ts
1922
+ function decodeBase64Unicode(base64) {
1923
+ const binary = atob(base64);
1924
+ const bytes = new Uint8Array(binary.length);
1925
+ for (let i2 = 0; i2 < binary.length; i2++) {
1926
+ bytes[i2] = binary.charCodeAt(i2);
1927
+ }
1928
+ return new TextDecoder().decode(bytes);
1929
+ }
1930
+ function deserializeProperty(value) {
1931
+ if (typeof value !== "string" || !value.startsWith(SERIALIZED_PREFIX)) {
1932
+ return value;
1933
+ }
1934
+ return RemoteValue.fromLocalValue(JSON.parse(decodeBase64Unicode(value.slice(SERIALIZED_PREFIX.length))));
1935
+ }
1936
+
1937
+ // src/runtime/parse-property-value.ts
1938
+ var parsePropertyValue = (propValue, propType, isFormAssociated) => {
1939
+ if (typeof propValue === "string" && propValue.startsWith(SERIALIZED_PREFIX)) {
1940
+ propValue = deserializeProperty(propValue);
1941
+ return propValue;
1942
+ }
1943
+ if (propValue != null && !isComplexType(propValue)) {
1944
+ if (propType & 4 /* Boolean */) {
1945
+ if (isFormAssociated && typeof propValue === "string") {
1946
+ return propValue === "" || !!propValue;
1947
+ } else {
1948
+ return propValue === "false" ? false : propValue === "" || !!propValue;
1949
+ }
1950
+ }
1951
+ if (propType & 2 /* Number */) {
1952
+ return typeof propValue === "string" ? parseFloat(propValue) : typeof propValue === "number" ? propValue : NaN;
1953
+ }
1954
+ if (propType & 1 /* String */) {
1955
+ return String(propValue);
1956
+ }
1957
+ return propValue;
1958
+ }
1959
+ return propValue;
1960
+ };
1961
+ var getElement = (ref) => {
1962
+ var _a;
1963
+ return (_a = getHostRef(ref)) == null ? void 0 : _a.$hostElement$ ;
1964
+ };
1965
+
1966
+ // src/runtime/event-emitter.ts
1967
+ var createEvent = (ref, name, flags) => {
1968
+ const elm = getElement(ref);
1969
+ return {
1970
+ emit: (detail) => {
1971
+ return emitEvent(elm, name, {
1972
+ bubbles: !!(flags & 4 /* Bubbles */),
1973
+ composed: !!(flags & 2 /* Composed */),
1974
+ cancelable: !!(flags & 1 /* Cancellable */),
1975
+ detail
1976
+ });
1977
+ }
1978
+ };
1979
+ };
1980
+ var emitEvent = (elm, name, opts) => {
1981
+ const ev = plt.ce(name, opts);
1982
+ elm.dispatchEvent(ev);
1983
+ return ev;
1984
+ };
1985
+ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags, initialRender) => {
1986
+ if (oldValue === newValue) {
1987
+ return;
1988
+ }
1989
+ let isProp = isMemberInElement(elm, memberName);
1990
+ let ln = memberName.toLowerCase();
1991
+ if (memberName === "class") {
1992
+ const classList = elm.classList;
1993
+ const oldClasses = parseClassList(oldValue);
1994
+ let newClasses = parseClassList(newValue);
1995
+ if ((elm["s-si"] || elm["s-sc"]) && initialRender) {
1996
+ const scopeId2 = elm["s-sc"] || elm["s-si"];
1997
+ newClasses.push(scopeId2);
1998
+ oldClasses.forEach((c) => {
1999
+ if (c.startsWith(scopeId2)) newClasses.push(c);
2000
+ });
2001
+ newClasses = [...new Set(newClasses)].filter((c) => c);
2002
+ classList.add(...newClasses);
2003
+ } else {
2004
+ classList.remove(...oldClasses.filter((c) => c && !newClasses.includes(c)));
2005
+ classList.add(...newClasses.filter((c) => c && !oldClasses.includes(c)));
2006
+ }
2007
+ } else if (memberName === "style") {
2008
+ {
2009
+ for (const prop in oldValue) {
2010
+ if (!newValue || newValue[prop] == null) {
2011
+ if (prop.includes("-")) {
2012
+ elm.style.removeProperty(prop);
2013
+ } else {
2014
+ elm.style[prop] = "";
2015
+ }
2016
+ }
2017
+ }
2018
+ }
2019
+ for (const prop in newValue) {
2020
+ if (!oldValue || newValue[prop] !== oldValue[prop]) {
2021
+ if (prop.includes("-")) {
2022
+ elm.style.setProperty(prop, newValue[prop]);
2023
+ } else {
2024
+ elm.style[prop] = newValue[prop];
2025
+ }
2026
+ }
2027
+ }
2028
+ } else if (memberName === "key") ; else if (memberName === "ref") {
2029
+ if (newValue) {
2030
+ queueRefAttachment(newValue, elm);
2031
+ }
2032
+ } else if ((!isProp ) && memberName[0] === "o" && memberName[1] === "n") {
2033
+ if (memberName[2] === "-") {
2034
+ memberName = memberName.slice(3);
2035
+ } else if (isMemberInElement(win, ln)) {
2036
+ memberName = ln.slice(2);
2037
+ } else {
2038
+ memberName = ln[2] + memberName.slice(3);
2039
+ }
2040
+ if (oldValue || newValue) {
2041
+ const capture = memberName.endsWith(CAPTURE_EVENT_SUFFIX);
2042
+ memberName = memberName.replace(CAPTURE_EVENT_REGEX, "");
2043
+ if (oldValue) {
2044
+ plt.rel(elm, memberName, oldValue, capture);
2045
+ }
2046
+ if (newValue) {
2047
+ plt.ael(elm, memberName, newValue, capture);
2048
+ }
2049
+ }
2050
+ } else if (memberName[0] === "a" && memberName.startsWith("attr:")) {
2051
+ const propName = memberName.slice(5);
2052
+ let attrName;
2053
+ {
2054
+ const hostRef = getHostRef(elm);
2055
+ if (hostRef && hostRef.$cmpMeta$ && hostRef.$cmpMeta$.$members$) {
2056
+ const memberMeta = hostRef.$cmpMeta$.$members$[propName];
2057
+ if (memberMeta && memberMeta[1]) {
2058
+ attrName = memberMeta[1];
2059
+ }
2060
+ }
2061
+ }
2062
+ if (!attrName) {
2063
+ attrName = propName.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase();
2064
+ }
2065
+ if (newValue == null || newValue === false) {
2066
+ if (newValue !== false || elm.getAttribute(attrName) === "") {
2067
+ elm.removeAttribute(attrName);
2068
+ }
2069
+ } else {
2070
+ elm.setAttribute(attrName, newValue === true ? "" : newValue);
2071
+ }
2072
+ return;
2073
+ } else if (memberName[0] === "p" && memberName.startsWith("prop:")) {
2074
+ const propName = memberName.slice(5);
2075
+ try {
2076
+ elm[propName] = newValue;
2077
+ } catch (e) {
2078
+ }
2079
+ return;
2080
+ } else {
2081
+ const isComplex = isComplexType(newValue);
2082
+ if ((isProp || isComplex && newValue !== null) && !isSvg) {
2083
+ try {
2084
+ if (!elm.tagName.includes("-")) {
2085
+ const n = newValue == null ? "" : newValue;
2086
+ if (memberName === "list") {
2087
+ isProp = false;
2088
+ } else if (oldValue == null || elm[memberName] !== n) {
2089
+ if (typeof elm.__lookupSetter__(memberName) === "function") {
2090
+ elm[memberName] = n;
2091
+ } else {
2092
+ elm.setAttribute(memberName, n);
2093
+ }
2094
+ }
2095
+ } else if (elm[memberName] !== newValue) {
2096
+ elm[memberName] = newValue;
2097
+ }
2098
+ } catch (e) {
2099
+ }
2100
+ }
2101
+ let xlink = false;
2102
+ {
2103
+ if (ln !== (ln = ln.replace(/^xlink\:?/, ""))) {
2104
+ memberName = ln;
2105
+ xlink = true;
2106
+ }
2107
+ }
2108
+ if (newValue == null || newValue === false) {
2109
+ if (newValue !== false || elm.getAttribute(memberName) === "") {
2110
+ if (xlink) {
2111
+ elm.removeAttributeNS(XLINK_NS, memberName);
2112
+ } else {
2113
+ elm.removeAttribute(memberName);
2114
+ }
2115
+ }
2116
+ } else if ((!isProp || flags & 4 /* isHost */ || isSvg) && !isComplex && elm.nodeType === 1 /* ElementNode */) {
2117
+ newValue = newValue === true ? "" : newValue;
2118
+ if (xlink) {
2119
+ elm.setAttributeNS(XLINK_NS, memberName, newValue);
2120
+ } else {
2121
+ elm.setAttribute(memberName, newValue);
2122
+ }
2123
+ }
2124
+ }
2125
+ };
2126
+ var parseClassListRegex = /\s/;
2127
+ var parseClassList = (value) => {
2128
+ if (typeof value === "object" && value && "baseVal" in value) {
2129
+ value = value.baseVal;
2130
+ }
2131
+ if (!value || typeof value !== "string") {
2132
+ return [];
2133
+ }
2134
+ return value.split(parseClassListRegex);
2135
+ };
2136
+ var CAPTURE_EVENT_SUFFIX = "Capture";
2137
+ var CAPTURE_EVENT_REGEX = new RegExp(CAPTURE_EVENT_SUFFIX + "$");
2138
+
2139
+ // src/runtime/vdom/update-element.ts
2140
+ var updateElement = (oldVnode, newVnode, isSvgMode2, isInitialRender) => {
2141
+ const elm = newVnode.$elm$.nodeType === 11 /* DocumentFragment */ && newVnode.$elm$.host ? newVnode.$elm$.host : newVnode.$elm$;
2142
+ const oldVnodeAttrs = oldVnode && oldVnode.$attrs$ || {};
2143
+ const newVnodeAttrs = newVnode.$attrs$ || {};
2144
+ {
2145
+ for (const memberName of sortedAttrNames(Object.keys(oldVnodeAttrs))) {
2146
+ if (!(memberName in newVnodeAttrs)) {
2147
+ setAccessor(
2148
+ elm,
2149
+ memberName,
2150
+ oldVnodeAttrs[memberName],
2151
+ void 0,
2152
+ isSvgMode2,
2153
+ newVnode.$flags$,
2154
+ isInitialRender
2155
+ );
2156
+ }
2157
+ }
2158
+ }
2159
+ for (const memberName of sortedAttrNames(Object.keys(newVnodeAttrs))) {
2160
+ setAccessor(
2161
+ elm,
2162
+ memberName,
2163
+ oldVnodeAttrs[memberName],
2164
+ newVnodeAttrs[memberName],
2165
+ isSvgMode2,
2166
+ newVnode.$flags$,
2167
+ isInitialRender
2168
+ );
2169
+ }
2170
+ };
2171
+ function sortedAttrNames(attrNames) {
2172
+ return attrNames.includes("ref") ? (
2173
+ // we need to sort these to ensure that `'ref'` is the last attr
2174
+ [...attrNames.filter((attr) => attr !== "ref"), "ref"]
2175
+ ) : (
2176
+ // no need to sort, return the original array
2177
+ attrNames
2178
+ );
2179
+ }
2180
+ var hostTagName;
2181
+ var useNativeShadowDom = false;
2182
+ var isSvgMode = false;
2183
+ var refCallbacksToRemove = [];
2184
+ var refCallbacksToAttach = [];
2185
+ var createElm = (oldParentVNode, newParentVNode, childIndex) => {
2186
+ const newVNode2 = newParentVNode.$children$[childIndex];
2187
+ let i2 = 0;
2188
+ let elm;
2189
+ let childNode;
2190
+ if (newVNode2.$text$ != null) {
2191
+ elm = newVNode2.$elm$ = win.document.createTextNode(newVNode2.$text$);
2192
+ } else {
2193
+ if (!isSvgMode) {
2194
+ isSvgMode = newVNode2.$tag$ === "svg";
2195
+ }
2196
+ if (!win.document) {
2197
+ throw new Error("You are trying to render a Stencil component in an environment that doesn't support the DOM.");
2198
+ }
2199
+ elm = newVNode2.$elm$ = win.document.createElementNS(
2200
+ isSvgMode ? SVG_NS : HTML_NS,
2201
+ newVNode2.$tag$
2202
+ ) ;
2203
+ if (isSvgMode && newVNode2.$tag$ === "foreignObject") {
2204
+ isSvgMode = false;
2205
+ }
2206
+ {
2207
+ updateElement(null, newVNode2, isSvgMode);
2208
+ }
2209
+ if (newVNode2.$children$) {
2210
+ const appendTarget = newVNode2.$tag$ === "template" ? elm.content : elm;
2211
+ for (i2 = 0; i2 < newVNode2.$children$.length; ++i2) {
2212
+ childNode = createElm(oldParentVNode, newVNode2, i2);
2213
+ if (childNode) {
2214
+ appendTarget.appendChild(childNode);
2215
+ }
2216
+ }
2217
+ }
2218
+ {
2219
+ if (newVNode2.$tag$ === "svg") {
2220
+ isSvgMode = false;
2221
+ } else if (elm.tagName === "foreignObject") {
2222
+ isSvgMode = true;
2223
+ }
2224
+ }
2225
+ }
2226
+ elm["s-hn"] = hostTagName;
2227
+ return elm;
2228
+ };
2229
+ var relocateToHostRoot = (parentElm) => {
2230
+ plt.$flags$ |= 1 /* isTmpDisconnected */;
2231
+ const host = parentElm.closest(hostTagName.toLowerCase());
2232
+ if (host != null) {
2233
+ const contentRefNode = Array.from(host.__childNodes || host.childNodes).find(
2234
+ (ref) => ref["s-cr"]
2235
+ );
2236
+ const childNodeArray = Array.from(
2237
+ parentElm.__childNodes || parentElm.childNodes
2238
+ );
2239
+ for (const childNode of contentRefNode ? childNodeArray.reverse() : childNodeArray) {
2240
+ if (childNode["s-sh"] != null) {
2241
+ insertBefore(host, childNode, contentRefNode != null ? contentRefNode : null);
2242
+ childNode["s-sh"] = void 0;
2243
+ }
2244
+ }
2245
+ }
2246
+ plt.$flags$ &= -2 /* isTmpDisconnected */;
2247
+ };
2248
+ var addVnodes = (parentElm, before, parentVNode, vnodes, startIdx, endIdx) => {
2249
+ let containerElm = parentElm;
2250
+ let childNode;
2251
+ if (containerElm.shadowRoot && containerElm.tagName === hostTagName) {
2252
+ containerElm = containerElm.shadowRoot;
2253
+ }
2254
+ if (parentVNode.$tag$ === "template") {
2255
+ containerElm = containerElm.content;
2256
+ }
2257
+ for (; startIdx <= endIdx; ++startIdx) {
2258
+ if (vnodes[startIdx]) {
2259
+ childNode = createElm(null, parentVNode, startIdx);
2260
+ if (childNode) {
2261
+ vnodes[startIdx].$elm$ = childNode;
2262
+ insertBefore(containerElm, childNode, before);
2263
+ }
2264
+ }
2265
+ }
2266
+ };
2267
+ var removeVnodes = (vnodes, startIdx, endIdx) => {
2268
+ for (let index = startIdx; index <= endIdx; ++index) {
2269
+ const vnode = vnodes[index];
2270
+ if (vnode) {
2271
+ const elm = vnode.$elm$;
2272
+ nullifyVNodeRefs(vnode);
2273
+ if (elm) {
2274
+ elm.remove();
2275
+ }
2276
+ }
2277
+ }
2278
+ };
2279
+ var updateChildren = (parentElm, oldCh, newVNode2, newCh, isInitialRender = false) => {
2280
+ let oldStartIdx = 0;
2281
+ let newStartIdx = 0;
2282
+ let idxInOld = 0;
2283
+ let i2 = 0;
2284
+ let oldEndIdx = oldCh.length - 1;
2285
+ let oldStartVnode = oldCh[0];
2286
+ let oldEndVnode = oldCh[oldEndIdx];
2287
+ let newEndIdx = newCh.length - 1;
2288
+ let newStartVnode = newCh[0];
2289
+ let newEndVnode = newCh[newEndIdx];
2290
+ let node;
2291
+ let elmToMove;
2292
+ const containerElm = newVNode2.$tag$ === "template" ? parentElm.content : parentElm;
2293
+ while (oldStartIdx <= oldEndIdx && newStartIdx <= newEndIdx) {
2294
+ if (oldStartVnode == null) {
2295
+ oldStartVnode = oldCh[++oldStartIdx];
2296
+ } else if (oldEndVnode == null) {
2297
+ oldEndVnode = oldCh[--oldEndIdx];
2298
+ } else if (newStartVnode == null) {
2299
+ newStartVnode = newCh[++newStartIdx];
2300
+ } else if (newEndVnode == null) {
2301
+ newEndVnode = newCh[--newEndIdx];
2302
+ } else if (isSameVnode(oldStartVnode, newStartVnode, isInitialRender)) {
2303
+ patch(oldStartVnode, newStartVnode, isInitialRender);
2304
+ oldStartVnode = oldCh[++oldStartIdx];
2305
+ newStartVnode = newCh[++newStartIdx];
2306
+ } else if (isSameVnode(oldEndVnode, newEndVnode, isInitialRender)) {
2307
+ patch(oldEndVnode, newEndVnode, isInitialRender);
2308
+ oldEndVnode = oldCh[--oldEndIdx];
2309
+ newEndVnode = newCh[--newEndIdx];
2310
+ } else if (isSameVnode(oldStartVnode, newEndVnode, isInitialRender)) {
2311
+ patch(oldStartVnode, newEndVnode, isInitialRender);
2312
+ insertBefore(containerElm, oldStartVnode.$elm$, oldEndVnode.$elm$.nextSibling);
2313
+ oldStartVnode = oldCh[++oldStartIdx];
2314
+ newEndVnode = newCh[--newEndIdx];
2315
+ } else if (isSameVnode(oldEndVnode, newStartVnode, isInitialRender)) {
2316
+ patch(oldEndVnode, newStartVnode, isInitialRender);
2317
+ insertBefore(containerElm, oldEndVnode.$elm$, oldStartVnode.$elm$);
2318
+ oldEndVnode = oldCh[--oldEndIdx];
2319
+ newStartVnode = newCh[++newStartIdx];
2320
+ } else {
2321
+ idxInOld = -1;
2322
+ {
2323
+ for (i2 = oldStartIdx; i2 <= oldEndIdx; ++i2) {
2324
+ if (oldCh[i2] && oldCh[i2].$key$ !== null && oldCh[i2].$key$ === newStartVnode.$key$) {
2325
+ idxInOld = i2;
2326
+ break;
2327
+ }
2328
+ }
2329
+ }
2330
+ if (idxInOld >= 0) {
2331
+ elmToMove = oldCh[idxInOld];
2332
+ if (elmToMove.$tag$ !== newStartVnode.$tag$) {
2333
+ node = createElm(oldCh && oldCh[newStartIdx], newVNode2, idxInOld);
2334
+ } else {
2335
+ patch(elmToMove, newStartVnode, isInitialRender);
2336
+ oldCh[idxInOld] = void 0;
2337
+ node = elmToMove.$elm$;
2338
+ }
2339
+ newStartVnode = newCh[++newStartIdx];
2340
+ } else {
2341
+ node = createElm(oldCh && oldCh[newStartIdx], newVNode2, newStartIdx);
2342
+ newStartVnode = newCh[++newStartIdx];
2343
+ }
2344
+ if (node) {
2345
+ {
2346
+ insertBefore(oldStartVnode.$elm$.parentNode, node, oldStartVnode.$elm$);
2347
+ }
2348
+ }
2349
+ }
2350
+ }
2351
+ if (oldStartIdx > oldEndIdx) {
2352
+ addVnodes(
2353
+ parentElm,
2354
+ newCh[newEndIdx + 1] == null ? null : newCh[newEndIdx + 1].$elm$,
2355
+ newVNode2,
2356
+ newCh,
2357
+ newStartIdx,
2358
+ newEndIdx
2359
+ );
2360
+ } else if (newStartIdx > newEndIdx) {
2361
+ removeVnodes(oldCh, oldStartIdx, oldEndIdx);
2362
+ }
2363
+ };
2364
+ var isSameVnode = (leftVNode, rightVNode, isInitialRender = false) => {
2365
+ if (leftVNode.$tag$ === rightVNode.$tag$) {
2366
+ if (!isInitialRender) {
2367
+ return leftVNode.$key$ === rightVNode.$key$;
2368
+ }
2369
+ if (isInitialRender && !leftVNode.$key$ && rightVNode.$key$) {
2370
+ leftVNode.$key$ = rightVNode.$key$;
2371
+ }
2372
+ return true;
2373
+ }
2374
+ return false;
2375
+ };
2376
+ var patch = (oldVNode, newVNode2, isInitialRender = false) => {
2377
+ const elm = newVNode2.$elm$ = oldVNode.$elm$;
2378
+ const oldChildren = oldVNode.$children$;
2379
+ const newChildren = newVNode2.$children$;
2380
+ const tag = newVNode2.$tag$;
2381
+ const text = newVNode2.$text$;
2382
+ if (text == null) {
2383
+ {
2384
+ isSvgMode = tag === "svg" ? true : tag === "foreignObject" ? false : isSvgMode;
2385
+ }
2386
+ {
2387
+ if (tag === "slot" && !useNativeShadowDom) {
2388
+ if (oldVNode.$name$ !== newVNode2.$name$) {
2389
+ newVNode2.$elm$["s-sn"] = newVNode2.$name$ || "";
2390
+ relocateToHostRoot(newVNode2.$elm$.parentElement);
2391
+ }
2392
+ }
2393
+ updateElement(oldVNode, newVNode2, isSvgMode, isInitialRender);
2394
+ }
2395
+ if (oldChildren !== null && newChildren !== null) {
2396
+ updateChildren(elm, oldChildren, newVNode2, newChildren, isInitialRender);
2397
+ } else if (newChildren !== null) {
2398
+ if (oldVNode.$text$ !== null) {
2399
+ elm.textContent = "";
2400
+ }
2401
+ addVnodes(elm, null, newVNode2, newChildren, 0, newChildren.length - 1);
2402
+ } else if (
2403
+ // don't do this on initial render as it can cause non-hydrated content to be removed
2404
+ !isInitialRender && BUILD.updatable && oldChildren !== null
2405
+ ) {
2406
+ removeVnodes(oldChildren, 0, oldChildren.length - 1);
2407
+ } else if (isInitialRender && BUILD.updatable && oldChildren !== null && newChildren === null) {
2408
+ newVNode2.$children$ = oldChildren;
2409
+ }
2410
+ if (isSvgMode && tag === "svg") {
2411
+ isSvgMode = false;
2412
+ }
2413
+ } else if (oldVNode.$text$ !== text) {
2414
+ elm.data = text;
2415
+ }
2416
+ };
2417
+ var nullifyVNodeRefs = (vNode) => {
2418
+ {
2419
+ if (vNode.$attrs$ && vNode.$attrs$.ref) {
2420
+ refCallbacksToRemove.push(() => vNode.$attrs$.ref(null));
2421
+ }
2422
+ vNode.$children$ && vNode.$children$.map(nullifyVNodeRefs);
2423
+ }
2424
+ };
2425
+ var queueRefAttachment = (refCallback, elm) => {
2426
+ {
2427
+ refCallbacksToAttach.push(() => refCallback(elm));
2428
+ }
2429
+ };
2430
+ var flushQueuedRefCallbacks = () => {
2431
+ {
2432
+ refCallbacksToRemove.forEach((cb) => cb());
2433
+ refCallbacksToRemove.length = 0;
2434
+ refCallbacksToAttach.forEach((cb) => cb());
2435
+ refCallbacksToAttach.length = 0;
2436
+ }
2437
+ };
2438
+ var insertBefore = (parent, newNode, reference, isInitialLoad) => {
2439
+ if (parent.__insertBefore) {
2440
+ return parent.__insertBefore(newNode, reference);
2441
+ } else {
2442
+ return parent == null ? void 0 : parent.insertBefore(newNode, reference);
2443
+ }
2444
+ };
2445
+ var renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
2446
+ const hostElm = hostRef.$hostElement$;
2447
+ const cmpMeta = hostRef.$cmpMeta$;
2448
+ const oldVNode = hostRef.$vnode$ || newVNode(null, null);
2449
+ const isHostElement = isHost(renderFnResults);
2450
+ const rootVnode = isHostElement ? renderFnResults : h(null, null, renderFnResults);
2451
+ hostTagName = hostElm.tagName;
2452
+ if (cmpMeta.$attrsToReflect$) {
2453
+ rootVnode.$attrs$ = rootVnode.$attrs$ || {};
2454
+ cmpMeta.$attrsToReflect$.forEach(([propName, attribute]) => {
2455
+ {
2456
+ rootVnode.$attrs$[attribute] = hostElm[propName];
2457
+ }
2458
+ });
2459
+ }
2460
+ if (isInitialLoad && rootVnode.$attrs$) {
2461
+ for (const key of Object.keys(rootVnode.$attrs$)) {
2462
+ if (hostElm.hasAttribute(key) && !["key", "ref", "style", "class"].includes(key)) {
2463
+ rootVnode.$attrs$[key] = hostElm[key];
2464
+ }
2465
+ }
2466
+ }
2467
+ rootVnode.$tag$ = null;
2468
+ rootVnode.$flags$ |= 4 /* isHost */;
2469
+ hostRef.$vnode$ = rootVnode;
2470
+ rootVnode.$elm$ = oldVNode.$elm$ = hostElm.shadowRoot || hostElm ;
2471
+ useNativeShadowDom = !!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) && !(cmpMeta.$flags$ & 128 /* shadowNeedsScopedCss */);
2472
+ patch(oldVNode, rootVnode, isInitialLoad);
2473
+ flushQueuedRefCallbacks();
2474
+ };
2475
+
2476
+ // src/runtime/update-component.ts
2477
+ var attachToAncestor = (hostRef, ancestorComponent) => {
2478
+ if (ancestorComponent && !hostRef.$onRenderResolve$ && ancestorComponent["s-p"]) {
2479
+ const index = ancestorComponent["s-p"].push(
2480
+ new Promise(
2481
+ (r) => hostRef.$onRenderResolve$ = () => {
2482
+ ancestorComponent["s-p"].splice(index - 1, 1);
2483
+ r();
2484
+ }
2485
+ )
2486
+ );
2487
+ }
2488
+ };
2489
+ var scheduleUpdate = (hostRef, isInitialLoad) => {
2490
+ {
2491
+ hostRef.$flags$ |= 16 /* isQueuedForUpdate */;
2492
+ }
2493
+ if (hostRef.$flags$ & 4 /* isWaitingForChildren */) {
2494
+ hostRef.$flags$ |= 512 /* needsRerender */;
2495
+ return;
2496
+ }
2497
+ attachToAncestor(hostRef, hostRef.$ancestorComponent$);
2498
+ const dispatch = () => dispatchHooks(hostRef, isInitialLoad);
2499
+ if (isInitialLoad) {
2500
+ queueMicrotask(() => {
2501
+ dispatch();
2502
+ });
2503
+ return;
2504
+ }
2505
+ return writeTask(dispatch) ;
2506
+ };
2507
+ var dispatchHooks = (hostRef, isInitialLoad) => {
2508
+ const elm = hostRef.$hostElement$;
2509
+ const endSchedule = createTime("scheduleUpdate", hostRef.$cmpMeta$.$tagName$);
2510
+ const instance = hostRef.$lazyInstance$ ;
2511
+ if (!instance) {
2512
+ throw new Error(
2513
+ `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`
2514
+ );
2515
+ }
2516
+ let maybePromise;
2517
+ if (isInitialLoad) {
2518
+ {
2519
+ {
2520
+ hostRef.$flags$ |= 256 /* isListenReady */;
2521
+ if (hostRef.$queuedListeners$) {
2522
+ hostRef.$queuedListeners$.map(([methodName, event]) => safeCall(instance, methodName, event, elm));
2523
+ hostRef.$queuedListeners$ = void 0;
2524
+ }
2525
+ }
2526
+ if (hostRef.$fetchedCbList$.length) {
2527
+ hostRef.$fetchedCbList$.forEach((cb) => cb(elm));
2528
+ }
2529
+ }
2530
+ maybePromise = safeCall(instance, "componentWillLoad", void 0, elm);
2531
+ } else {
2532
+ maybePromise = safeCall(instance, "componentWillUpdate", void 0, elm);
2533
+ }
2534
+ maybePromise = enqueue(maybePromise, () => safeCall(instance, "componentWillRender", void 0, elm));
2535
+ endSchedule();
2536
+ return enqueue(maybePromise, () => updateComponent(hostRef, instance, isInitialLoad));
2537
+ };
2538
+ var enqueue = (maybePromise, fn) => isPromisey(maybePromise) ? maybePromise.then(fn).catch((err) => {
2539
+ console.error(err);
2540
+ fn();
2541
+ }) : fn();
2542
+ var isPromisey = (maybePromise) => maybePromise instanceof Promise || maybePromise && maybePromise.then && typeof maybePromise.then === "function";
2543
+ var updateComponent = async (hostRef, instance, isInitialLoad) => {
2544
+ var _a;
2545
+ const elm = hostRef.$hostElement$;
2546
+ const endUpdate = createTime("update", hostRef.$cmpMeta$.$tagName$);
2547
+ const rc = elm["s-rc"];
2548
+ if (isInitialLoad) {
2549
+ attachStyles(hostRef);
2550
+ }
2551
+ const endRender = createTime("render", hostRef.$cmpMeta$.$tagName$);
2552
+ {
2553
+ callRender(hostRef, instance, elm, isInitialLoad);
2554
+ }
2555
+ if (rc) {
2556
+ rc.map((cb) => cb());
2557
+ elm["s-rc"] = void 0;
2558
+ }
2559
+ endRender();
2560
+ endUpdate();
2561
+ {
2562
+ const childrenPromises = (_a = elm["s-p"]) != null ? _a : [];
2563
+ const postUpdate = () => postUpdateComponent(hostRef);
2564
+ if (childrenPromises.length === 0) {
2565
+ postUpdate();
2566
+ } else {
2567
+ Promise.all(childrenPromises).then(postUpdate).catch(postUpdate);
2568
+ hostRef.$flags$ |= 4 /* isWaitingForChildren */;
2569
+ childrenPromises.length = 0;
2570
+ }
2571
+ }
2572
+ };
2573
+ var callRender = (hostRef, instance, elm, isInitialLoad) => {
2574
+ try {
2575
+ instance = instance.render() ;
2576
+ {
2577
+ hostRef.$flags$ &= -17 /* isQueuedForUpdate */;
2578
+ }
2579
+ {
2580
+ hostRef.$flags$ |= 2 /* hasRendered */;
2581
+ }
2582
+ {
2583
+ {
2584
+ {
2585
+ renderVdom(hostRef, instance, isInitialLoad);
2586
+ }
2587
+ }
2588
+ }
2589
+ } catch (e) {
2590
+ consoleError(e, hostRef.$hostElement$);
2591
+ }
2592
+ return null;
2593
+ };
2594
+ var postUpdateComponent = (hostRef) => {
2595
+ const tagName = hostRef.$cmpMeta$.$tagName$;
2596
+ const elm = hostRef.$hostElement$;
2597
+ const endPostUpdate = createTime("postUpdate", tagName);
2598
+ const instance = hostRef.$lazyInstance$ ;
2599
+ const ancestorComponent = hostRef.$ancestorComponent$;
2600
+ safeCall(instance, "componentDidRender", void 0, elm);
2601
+ if (!(hostRef.$flags$ & 64 /* hasLoadedComponent */)) {
2602
+ hostRef.$flags$ |= 64 /* hasLoadedComponent */;
2603
+ {
2604
+ addHydratedFlag(elm);
2605
+ }
2606
+ safeCall(instance, "componentDidLoad", void 0, elm);
2607
+ endPostUpdate();
2608
+ {
2609
+ hostRef.$onReadyResolve$(elm);
2610
+ if (!ancestorComponent) {
2611
+ appDidLoad();
2612
+ }
2613
+ }
2614
+ } else {
2615
+ safeCall(instance, "componentDidUpdate", void 0, elm);
2616
+ endPostUpdate();
2617
+ }
2618
+ {
2619
+ hostRef.$onInstanceResolve$(elm);
2620
+ }
2621
+ {
2622
+ if (hostRef.$onRenderResolve$) {
2623
+ hostRef.$onRenderResolve$();
2624
+ hostRef.$onRenderResolve$ = void 0;
2625
+ }
2626
+ if (hostRef.$flags$ & 512 /* needsRerender */) {
2627
+ nextTick(() => scheduleUpdate(hostRef, false));
2628
+ }
2629
+ hostRef.$flags$ &= -517;
2630
+ }
2631
+ };
2632
+ var appDidLoad = (who) => {
2633
+ var _a;
2634
+ nextTick(() => emitEvent(win, "appload", { detail: { namespace: NAMESPACE } }));
2635
+ {
2636
+ if ((_a = plt.$orgLocNodes$) == null ? void 0 : _a.size) {
2637
+ plt.$orgLocNodes$.clear();
2638
+ }
2639
+ }
2640
+ };
2641
+ var safeCall = (instance, method, arg, elm) => {
2642
+ if (instance && instance[method]) {
2643
+ try {
2644
+ return instance[method](arg);
2645
+ } catch (e) {
2646
+ consoleError(e, elm);
2647
+ }
2648
+ }
2649
+ return void 0;
2650
+ };
2651
+ var addHydratedFlag = (elm) => {
2652
+ var _a;
2653
+ return elm.classList.add((_a = BUILD.hydratedSelectorName) != null ? _a : "hydrated") ;
2654
+ };
2655
+
2656
+ // src/runtime/set-value.ts
2657
+ var getValue = (ref, propName) => getHostRef(ref).$instanceValues$.get(propName);
2658
+ var setValue = (ref, propName, newVal, cmpMeta) => {
2659
+ const hostRef = getHostRef(ref);
2660
+ if (!hostRef) {
2661
+ return;
2662
+ }
2663
+ if (!hostRef) {
2664
+ throw new Error(
2665
+ `Couldn't find host element for "${cmpMeta.$tagName$}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/stenciljs/core/issues/5457).`
2666
+ );
2667
+ }
2668
+ const elm = hostRef.$hostElement$ ;
2669
+ const oldVal = hostRef.$instanceValues$.get(propName);
2670
+ const flags = hostRef.$flags$;
2671
+ const instance = hostRef.$lazyInstance$ ;
2672
+ newVal = parsePropertyValue(
2673
+ newVal,
2674
+ cmpMeta.$members$[propName][0],
2675
+ !!(cmpMeta.$flags$ & 64 /* formAssociated */)
2676
+ );
2677
+ const areBothNaN = Number.isNaN(oldVal) && Number.isNaN(newVal);
2678
+ const didValueChange = newVal !== oldVal && !areBothNaN;
2679
+ if ((!(flags & 8 /* isConstructingInstance */) || oldVal === void 0) && didValueChange) {
2680
+ hostRef.$instanceValues$.set(propName, newVal);
2681
+ if (cmpMeta.$watchers$) {
2682
+ const watchMethods = cmpMeta.$watchers$[propName];
2683
+ if (watchMethods) {
2684
+ watchMethods.map((watcher) => {
2685
+ try {
2686
+ const [[watchMethodName, watcherFlags]] = Object.entries(watcher);
2687
+ if (flags & 128 /* isWatchReady */ || watcherFlags & 1 /* Immediate */) {
2688
+ if (!instance) {
2689
+ hostRef.$fetchedCbList$.push(() => {
2690
+ hostRef.$lazyInstance$[watchMethodName](newVal, oldVal, propName);
2691
+ });
2692
+ } else {
2693
+ instance[watchMethodName](newVal, oldVal, propName);
2694
+ }
2695
+ }
2696
+ } catch (e) {
2697
+ consoleError(e, elm);
2698
+ }
2699
+ });
2700
+ }
2701
+ }
2702
+ if (flags & 2 /* hasRendered */) {
2703
+ if (instance.componentShouldUpdate) {
2704
+ const shouldUpdate = instance.componentShouldUpdate(newVal, oldVal, propName);
2705
+ if (shouldUpdate === false && !(flags & 16 /* isQueuedForUpdate */)) {
2706
+ return;
2707
+ }
2708
+ }
2709
+ if (!(flags & 16 /* isQueuedForUpdate */)) {
2710
+ scheduleUpdate(hostRef, false);
2711
+ }
2712
+ }
2713
+ }
2714
+ };
2715
+
2716
+ // src/runtime/proxy-component.ts
2717
+ var proxyComponent = (Cstr, cmpMeta, flags) => {
2718
+ var _a, _b;
2719
+ const prototype = Cstr.prototype;
2720
+ if (cmpMeta.$flags$ & 64 /* formAssociated */ && flags & 1 /* isElementConstructor */) {
2721
+ FORM_ASSOCIATED_CUSTOM_ELEMENT_CALLBACKS.forEach((cbName) => {
2722
+ Object.defineProperty(prototype, cbName, {
2723
+ value(...args) {
2724
+ var _a2;
2725
+ const hostRef = getHostRef(this);
2726
+ const instance = hostRef == null ? void 0 : hostRef.$lazyInstance$ ;
2727
+ if (!instance) {
2728
+ (_a2 = hostRef == null ? void 0 : hostRef.$onReadyPromise$) == null ? void 0 : _a2.then((asyncInstance) => {
2729
+ const cb = asyncInstance[cbName];
2730
+ typeof cb === "function" && cb.call(asyncInstance, ...args);
2731
+ });
2732
+ } else {
2733
+ const cb = instance[cbName] ;
2734
+ typeof cb === "function" && cb.call(instance, ...args);
2735
+ }
2736
+ }
2737
+ });
2738
+ });
2739
+ }
2740
+ if (cmpMeta.$members$ || BUILD.propChangeCallback) {
2741
+ {
2742
+ if (Cstr.watchers && !cmpMeta.$watchers$) {
2743
+ cmpMeta.$watchers$ = normalizeWatchers(Cstr.watchers);
2744
+ }
2745
+ if (Cstr.deserializers && !cmpMeta.$deserializers$) {
2746
+ cmpMeta.$deserializers$ = Cstr.deserializers;
2747
+ }
2748
+ if (Cstr.serializers && !cmpMeta.$serializers$) {
2749
+ cmpMeta.$serializers$ = Cstr.serializers;
2750
+ }
2751
+ }
2752
+ const members = Object.entries((_a = cmpMeta.$members$) != null ? _a : {});
2753
+ members.map(([memberName, [memberFlags]]) => {
2754
+ if ((memberFlags & 31 /* Prop */ || (flags & 2 /* proxyState */) && memberFlags & 32 /* State */)) {
2755
+ const { get: origGetter, set: origSetter } = getPropertyDescriptor(prototype, memberName) || {};
2756
+ if (origGetter) cmpMeta.$members$[memberName][0] |= 2048 /* Getter */;
2757
+ if (origSetter) cmpMeta.$members$[memberName][0] |= 4096 /* Setter */;
2758
+ if (flags & 1 /* isElementConstructor */ || !origGetter) {
2759
+ Object.defineProperty(prototype, memberName, {
2760
+ get() {
2761
+ {
2762
+ if ((cmpMeta.$members$[memberName][0] & 2048 /* Getter */) === 0) {
2763
+ return getValue(this, memberName);
2764
+ }
2765
+ const ref = getHostRef(this);
2766
+ const instance = ref ? ref.$lazyInstance$ : prototype;
2767
+ if (!instance) return;
2768
+ return instance[memberName];
2769
+ }
2770
+ },
2771
+ configurable: true,
2772
+ enumerable: true
2773
+ });
2774
+ }
2775
+ Object.defineProperty(prototype, memberName, {
2776
+ set(newValue) {
2777
+ const ref = getHostRef(this);
2778
+ if (!ref) {
2779
+ return;
2780
+ }
2781
+ if (origSetter) {
2782
+ const currentValue = memberFlags & 32 /* State */ ? this[memberName] : ref.$hostElement$[memberName];
2783
+ if (typeof currentValue === "undefined" && ref.$instanceValues$.get(memberName)) {
2784
+ newValue = ref.$instanceValues$.get(memberName);
2785
+ }
2786
+ origSetter.apply(this, [
2787
+ parsePropertyValue(
2788
+ newValue,
2789
+ memberFlags,
2790
+ !!(cmpMeta.$flags$ & 64 /* formAssociated */)
2791
+ )
2792
+ ]);
2793
+ newValue = memberFlags & 32 /* State */ ? this[memberName] : ref.$hostElement$[memberName];
2794
+ setValue(this, memberName, newValue, cmpMeta);
2795
+ return;
2796
+ }
2797
+ {
2798
+ if ((flags & 1 /* isElementConstructor */) === 0 || (cmpMeta.$members$[memberName][0] & 4096 /* Setter */) === 0) {
2799
+ setValue(this, memberName, newValue, cmpMeta);
2800
+ if (flags & 1 /* isElementConstructor */ && !ref.$lazyInstance$) {
2801
+ ref.$fetchedCbList$.push(() => {
2802
+ if (cmpMeta.$members$[memberName][0] & 4096 /* Setter */ && ref.$lazyInstance$[memberName] !== ref.$instanceValues$.get(memberName)) {
2803
+ ref.$lazyInstance$[memberName] = newValue;
2804
+ }
2805
+ });
2806
+ }
2807
+ return;
2808
+ }
2809
+ const setterSetVal = () => {
2810
+ const currentValue = ref.$lazyInstance$[memberName];
2811
+ if (!ref.$instanceValues$.get(memberName) && currentValue) {
2812
+ ref.$instanceValues$.set(memberName, currentValue);
2813
+ }
2814
+ ref.$lazyInstance$[memberName] = parsePropertyValue(
2815
+ newValue,
2816
+ memberFlags,
2817
+ !!(cmpMeta.$flags$ & 64 /* formAssociated */)
2818
+ );
2819
+ setValue(this, memberName, ref.$lazyInstance$[memberName], cmpMeta);
2820
+ };
2821
+ if (ref.$lazyInstance$) {
2822
+ setterSetVal();
2823
+ } else {
2824
+ ref.$fetchedCbList$.push(() => {
2825
+ setterSetVal();
2826
+ });
2827
+ }
2828
+ }
2829
+ }
2830
+ });
2831
+ } else if (flags & 1 /* isElementConstructor */ && memberFlags & 64 /* Method */) {
2832
+ Object.defineProperty(prototype, memberName, {
2833
+ value(...args) {
2834
+ var _a2;
2835
+ const ref = getHostRef(this);
2836
+ return (_a2 = ref == null ? void 0 : ref.$onInstancePromise$) == null ? void 0 : _a2.then(() => {
2837
+ var _a3;
2838
+ return (_a3 = ref.$lazyInstance$) == null ? void 0 : _a3[memberName](...args);
2839
+ });
2840
+ }
2841
+ });
2842
+ }
2843
+ });
2844
+ if ((flags & 1 /* isElementConstructor */)) {
2845
+ const attrNameToPropName = /* @__PURE__ */ new Map();
2846
+ prototype.attributeChangedCallback = function(attrName, oldValue, newValue) {
2847
+ plt.jmp(() => {
2848
+ var _a2;
2849
+ const propName = attrNameToPropName.get(attrName);
2850
+ const hostRef = getHostRef(this);
2851
+ if (this.hasOwnProperty(propName) && BUILD.lazyLoad) {
2852
+ newValue = this[propName];
2853
+ delete this[propName];
2854
+ }
2855
+ if (prototype.hasOwnProperty(propName) && typeof this[propName] === "number" && // cast type to number to avoid TS compiler issues
2856
+ this[propName] == newValue) {
2857
+ return;
2858
+ } else if (propName == null) {
2859
+ const flags2 = hostRef == null ? void 0 : hostRef.$flags$;
2860
+ if (hostRef && flags2 && !(flags2 & 8 /* isConstructingInstance */) && newValue !== oldValue) {
2861
+ const instance = hostRef.$lazyInstance$ ;
2862
+ const entry = (_a2 = cmpMeta.$watchers$) == null ? void 0 : _a2[attrName];
2863
+ entry == null ? void 0 : entry.forEach((watcher) => {
2864
+ const [[watchMethodName, watcherFlags]] = Object.entries(watcher);
2865
+ if (instance[watchMethodName] != null && (flags2 & 128 /* isWatchReady */ || watcherFlags & 1 /* Immediate */)) {
2866
+ instance[watchMethodName].call(instance, newValue, oldValue, attrName);
2867
+ }
2868
+ });
2869
+ }
2870
+ return;
2871
+ }
2872
+ const propFlags = members.find(([m]) => m === propName);
2873
+ const isBooleanTarget = propFlags && propFlags[1][0] & 4 /* Boolean */;
2874
+ const isSpuriousBooleanRemoval = isBooleanTarget && newValue === null && this[propName] === void 0;
2875
+ if (isBooleanTarget) {
2876
+ newValue = newValue === null || newValue === "false" ? false : true;
2877
+ }
2878
+ const propDesc = Object.getOwnPropertyDescriptor(prototype, propName);
2879
+ if (!isSpuriousBooleanRemoval && newValue != this[propName] && (!propDesc.get || !!propDesc.set)) {
2880
+ this[propName] = newValue;
2881
+ }
2882
+ });
2883
+ };
2884
+ Cstr.observedAttributes = Array.from(
2885
+ /* @__PURE__ */ new Set([
2886
+ ...Object.keys((_b = cmpMeta.$watchers$) != null ? _b : {}),
2887
+ ...members.filter(([_, m]) => m[0] & 31 /* HasAttribute */).map(([propName, m]) => {
2888
+ var _a2;
2889
+ const attrName = m[1] || propName;
2890
+ attrNameToPropName.set(attrName, propName);
2891
+ if (m[0] & 512 /* ReflectAttr */) {
2892
+ (_a2 = cmpMeta.$attrsToReflect$) == null ? void 0 : _a2.push([propName, attrName]);
2893
+ }
2894
+ return attrName;
2895
+ })
2896
+ ])
2897
+ );
2898
+ }
2899
+ }
2900
+ return Cstr;
2901
+ };
2902
+
2903
+ // src/runtime/initialize-component.ts
2904
+ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
2905
+ let Cstr;
2906
+ try {
2907
+ if ((hostRef.$flags$ & 32 /* hasInitializedComponent */) === 0) {
2908
+ hostRef.$flags$ |= 32 /* hasInitializedComponent */;
2909
+ const bundleId = cmpMeta.$lazyBundleId$;
2910
+ if (bundleId) {
2911
+ const CstrImport = loadModule(cmpMeta, hostRef);
2912
+ if (CstrImport && "then" in CstrImport) {
2913
+ const endLoad = uniqueTime();
2914
+ Cstr = await CstrImport;
2915
+ endLoad();
2916
+ } else {
2917
+ Cstr = CstrImport;
2918
+ }
2919
+ if (!Cstr) {
2920
+ throw new Error(`Constructor for "${cmpMeta.$tagName$}#${hostRef.$modeName$}" was not found`);
2921
+ }
2922
+ if (!Cstr.isProxied) {
2923
+ {
2924
+ cmpMeta.$watchers$ = normalizeWatchers(Cstr.watchers);
2925
+ cmpMeta.$serializers$ = Cstr.serializers;
2926
+ cmpMeta.$deserializers$ = Cstr.deserializers;
2927
+ }
2928
+ proxyComponent(Cstr, cmpMeta, 2 /* proxyState */);
2929
+ Cstr.isProxied = true;
2930
+ }
2931
+ const endNewInstance = createTime("createInstance", cmpMeta.$tagName$);
2932
+ {
2933
+ hostRef.$flags$ |= 8 /* isConstructingInstance */;
2934
+ }
2935
+ try {
2936
+ new Cstr(hostRef);
2937
+ } catch (e) {
2938
+ consoleError(e, elm);
2939
+ }
2940
+ {
2941
+ hostRef.$flags$ &= -9 /* isConstructingInstance */;
2942
+ }
2943
+ {
2944
+ hostRef.$flags$ |= 128 /* isWatchReady */;
2945
+ }
2946
+ endNewInstance();
2947
+ {
2948
+ fireConnectedCallback(hostRef.$lazyInstance$, elm);
2949
+ }
2950
+ } else {
2951
+ Cstr = elm.constructor;
2952
+ const cmpTag = elm.localName;
2953
+ customElements.whenDefined(cmpTag).then(() => hostRef.$flags$ |= 128 /* isWatchReady */);
2954
+ }
2955
+ if (Cstr && Cstr.style) {
2956
+ let style;
2957
+ if (typeof Cstr.style === "string") {
2958
+ style = Cstr.style;
2959
+ }
2960
+ const scopeId2 = getScopeId(cmpMeta);
2961
+ if (!styles.has(scopeId2) || BUILD.hotModuleReplacement) {
2962
+ const endRegisterStyles = createTime("registerStyles", cmpMeta.$tagName$);
2963
+ registerStyle(scopeId2, style, !!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */));
2964
+ endRegisterStyles();
2965
+ }
2966
+ }
2967
+ }
2968
+ const ancestorComponent = hostRef.$ancestorComponent$;
2969
+ const schedule = () => scheduleUpdate(hostRef, true);
2970
+ if (ancestorComponent && ancestorComponent["s-rc"]) {
2971
+ ancestorComponent["s-rc"].push(schedule);
2972
+ } else {
2973
+ schedule();
2974
+ }
2975
+ } catch (e) {
2976
+ consoleError(e, elm);
2977
+ if (hostRef.$onRenderResolve$) {
2978
+ hostRef.$onRenderResolve$();
2979
+ hostRef.$onRenderResolve$ = void 0;
2980
+ }
2981
+ if (hostRef.$onReadyResolve$) {
2982
+ hostRef.$onReadyResolve$(elm);
2983
+ }
2984
+ }
2985
+ };
2986
+ var fireConnectedCallback = (instance, elm) => {
2987
+ {
2988
+ safeCall(instance, "connectedCallback", void 0, elm);
2989
+ }
2990
+ };
2991
+
2992
+ // src/runtime/connected-callback.ts
2993
+ var connectedCallback = (elm) => {
2994
+ if ((plt.$flags$ & 1 /* isTmpDisconnected */) === 0) {
2995
+ const hostRef = getHostRef(elm);
2996
+ if (!hostRef) {
2997
+ return;
2998
+ }
2999
+ const cmpMeta = hostRef.$cmpMeta$;
3000
+ const endConnected = createTime("connectedCallback", cmpMeta.$tagName$);
3001
+ if (!(hostRef.$flags$ & 1 /* hasConnected */)) {
3002
+ hostRef.$flags$ |= 1 /* hasConnected */;
3003
+ let hostId;
3004
+ {
3005
+ hostId = elm.getAttribute(HYDRATE_ID);
3006
+ if (hostId) {
3007
+ if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) {
3008
+ const scopeId2 = addStyle(elm.shadowRoot, cmpMeta);
3009
+ elm.classList.remove(scopeId2 + "-h", scopeId2 + "-s");
3010
+ }
3011
+ initializeClientHydrate(elm, cmpMeta.$tagName$, hostId, hostRef);
3012
+ }
3013
+ }
3014
+ {
3015
+ let ancestorComponent = elm;
3016
+ while (ancestorComponent = ancestorComponent.parentNode || ancestorComponent.host) {
3017
+ if (ancestorComponent.nodeType === 1 /* ElementNode */ && ancestorComponent.hasAttribute("s-id") && ancestorComponent["s-p"] || ancestorComponent["s-p"]) {
3018
+ attachToAncestor(hostRef, hostRef.$ancestorComponent$ = ancestorComponent);
3019
+ break;
3020
+ }
3021
+ }
3022
+ }
3023
+ if (cmpMeta.$members$) {
3024
+ Object.entries(cmpMeta.$members$).map(([memberName, [memberFlags]]) => {
3025
+ if (memberFlags & 31 /* Prop */ && Object.prototype.hasOwnProperty.call(elm, memberName)) {
3026
+ const value = elm[memberName];
3027
+ delete elm[memberName];
3028
+ elm[memberName] = value;
3029
+ }
3030
+ });
3031
+ }
3032
+ {
3033
+ initializeComponent(elm, hostRef, cmpMeta);
3034
+ }
3035
+ } else {
3036
+ addHostEventListeners(elm, hostRef, cmpMeta.$listeners$);
3037
+ if (hostRef == null ? void 0 : hostRef.$lazyInstance$) {
3038
+ fireConnectedCallback(hostRef.$lazyInstance$, elm);
3039
+ } else if (hostRef == null ? void 0 : hostRef.$onReadyPromise$) {
3040
+ hostRef.$onReadyPromise$.then(() => fireConnectedCallback(hostRef.$lazyInstance$, elm));
3041
+ }
3042
+ }
3043
+ endConnected();
3044
+ }
3045
+ };
3046
+ var disconnectInstance = (instance, elm) => {
3047
+ {
3048
+ safeCall(instance, "disconnectedCallback", void 0, elm || instance);
3049
+ }
3050
+ };
3051
+ var disconnectedCallback = async (elm) => {
3052
+ if ((plt.$flags$ & 1 /* isTmpDisconnected */) === 0) {
3053
+ const hostRef = getHostRef(elm);
3054
+ {
3055
+ if (hostRef == null ? void 0 : hostRef.$rmListeners$) {
3056
+ hostRef.$rmListeners$.map((rmListener) => rmListener());
3057
+ hostRef.$rmListeners$ = void 0;
3058
+ }
3059
+ }
3060
+ if (hostRef == null ? void 0 : hostRef.$lazyInstance$) {
3061
+ disconnectInstance(hostRef.$lazyInstance$, elm);
3062
+ } else if (hostRef == null ? void 0 : hostRef.$onReadyPromise$) {
3063
+ hostRef.$onReadyPromise$.then(() => disconnectInstance(hostRef.$lazyInstance$, elm));
3064
+ }
3065
+ }
3066
+ if (rootAppliedStyles.has(elm)) {
3067
+ rootAppliedStyles.delete(elm);
3068
+ }
3069
+ if (elm.shadowRoot && rootAppliedStyles.has(elm.shadowRoot)) {
3070
+ rootAppliedStyles.delete(elm.shadowRoot);
3071
+ }
3072
+ };
3073
+
3074
+ // src/runtime/bootstrap-lazy.ts
3075
+ var bootstrapLazy = (lazyBundles, options = {}) => {
3076
+ var _a;
3077
+ if (!win.document) {
3078
+ console.warn("Stencil: No document found. Skipping bootstrapping lazy components.");
3079
+ return;
3080
+ }
3081
+ const endBootstrap = createTime();
3082
+ const cmpTags = [];
3083
+ const exclude = options.exclude || [];
3084
+ const customElements2 = win.customElements;
3085
+ const head = win.document.head;
3086
+ const metaCharset = /* @__PURE__ */ head.querySelector("meta[charset]");
3087
+ const dataStyles = /* @__PURE__ */ win.document.createElement("style");
3088
+ const deferredConnectedCallbacks = [];
3089
+ let appLoadFallback;
3090
+ let isBootstrapping = true;
3091
+ Object.assign(plt, options);
3092
+ plt.$resourcesUrl$ = new URL(options.resourcesUrl || "./", win.document.baseURI).href;
3093
+ {
3094
+ plt.$flags$ |= 2 /* appLoaded */;
3095
+ }
3096
+ {
3097
+ hydrateScopedToShadow();
3098
+ }
3099
+ lazyBundles.map((lazyBundle) => {
3100
+ lazyBundle[1].map((compactMeta) => {
3101
+ var _a2, _b;
3102
+ const cmpMeta = {
3103
+ $flags$: compactMeta[0],
3104
+ $tagName$: compactMeta[1],
3105
+ $members$: compactMeta[2],
3106
+ $listeners$: compactMeta[3]
3107
+ };
3108
+ {
3109
+ cmpMeta.$members$ = compactMeta[2];
3110
+ }
3111
+ {
3112
+ cmpMeta.$listeners$ = compactMeta[3];
3113
+ }
3114
+ {
3115
+ cmpMeta.$attrsToReflect$ = [];
3116
+ }
3117
+ {
3118
+ cmpMeta.$watchers$ = normalizeWatchers(compactMeta[4]);
3119
+ cmpMeta.$serializers$ = (_a2 = compactMeta[5]) != null ? _a2 : {};
3120
+ cmpMeta.$deserializers$ = (_b = compactMeta[6]) != null ? _b : {};
3121
+ }
3122
+ const tagName = transformTag(cmpMeta.$tagName$);
3123
+ const HostElement = class extends HTMLElement {
3124
+ ["s-p"];
3125
+ ["s-rc"];
3126
+ hasRegisteredEventListeners = false;
3127
+ // StencilLazyHost
3128
+ constructor(self) {
3129
+ super(self);
3130
+ self = this;
3131
+ registerHost(self, cmpMeta);
3132
+ if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) {
3133
+ {
3134
+ if (!self.shadowRoot) {
3135
+ createShadowRoot.call(self, cmpMeta);
3136
+ } else {
3137
+ if (self.shadowRoot.mode !== "open") {
3138
+ throw new Error(
3139
+ `Unable to re-use existing shadow root for ${cmpMeta.$tagName$}! Mode is set to ${self.shadowRoot.mode} but Stencil only supports open shadow roots.`
3140
+ );
3141
+ }
3142
+ }
3143
+ }
3144
+ }
3145
+ }
3146
+ connectedCallback() {
3147
+ const hostRef = getHostRef(this);
3148
+ if (!hostRef) {
3149
+ return;
3150
+ }
3151
+ if (!this.hasRegisteredEventListeners) {
3152
+ this.hasRegisteredEventListeners = true;
3153
+ addHostEventListeners(this, hostRef, cmpMeta.$listeners$);
3154
+ }
3155
+ if (appLoadFallback) {
3156
+ clearTimeout(appLoadFallback);
3157
+ appLoadFallback = null;
3158
+ }
3159
+ if (isBootstrapping) {
3160
+ deferredConnectedCallbacks.push(this);
3161
+ } else {
3162
+ plt.jmp(() => connectedCallback(this));
3163
+ }
3164
+ }
3165
+ disconnectedCallback() {
3166
+ plt.jmp(() => disconnectedCallback(this));
3167
+ plt.raf(() => {
3168
+ var _a3;
3169
+ const hostRef = getHostRef(this);
3170
+ if (!hostRef) {
3171
+ return;
3172
+ }
3173
+ const i2 = deferredConnectedCallbacks.findIndex((host) => host === this);
3174
+ if (i2 > -1) {
3175
+ deferredConnectedCallbacks.splice(i2, 1);
3176
+ }
3177
+ if (((_a3 = hostRef == null ? void 0 : hostRef.$vnode$) == null ? void 0 : _a3.$elm$) instanceof Node && !hostRef.$vnode$.$elm$.isConnected) {
3178
+ delete hostRef.$vnode$.$elm$;
3179
+ }
3180
+ });
3181
+ }
3182
+ componentOnReady() {
3183
+ var _a3;
3184
+ return (_a3 = getHostRef(this)) == null ? void 0 : _a3.$onReadyPromise$;
3185
+ }
3186
+ };
3187
+ if (!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) && cmpMeta.$flags$ & 256 /* hasSlot */) {
3188
+ {
3189
+ patchPseudoShadowDom(HostElement.prototype);
3190
+ }
3191
+ } else {
3192
+ patchCloneNode(HostElement.prototype);
3193
+ }
3194
+ if (cmpMeta.$flags$ & 64 /* formAssociated */) {
3195
+ HostElement.formAssociated = true;
3196
+ }
3197
+ cmpMeta.$lazyBundleId$ = lazyBundle[0];
3198
+ if (!exclude.includes(tagName) && !customElements2.get(tagName)) {
3199
+ cmpTags.push(tagName);
3200
+ customElements2.define(
3201
+ tagName,
3202
+ proxyComponent(HostElement, cmpMeta, 1 /* isElementConstructor */)
3203
+ );
3204
+ }
3205
+ });
3206
+ });
3207
+ if (cmpTags.length > 0) {
3208
+ {
3209
+ dataStyles.textContent += cmpTags.sort() + HYDRATED_CSS;
3210
+ }
3211
+ if (dataStyles.innerHTML.length) {
3212
+ dataStyles.setAttribute("data-styles", "");
3213
+ const nonce = (_a = plt.$nonce$) != null ? _a : queryNonceMetaTagContent(win.document);
3214
+ if (nonce != null) {
3215
+ dataStyles.setAttribute("nonce", nonce);
3216
+ }
3217
+ head.insertBefore(dataStyles, metaCharset ? metaCharset.nextSibling : head.firstChild);
3218
+ }
3219
+ }
3220
+ isBootstrapping = false;
3221
+ if (deferredConnectedCallbacks.length) {
3222
+ deferredConnectedCallbacks.map((host) => host.connectedCallback());
3223
+ } else {
3224
+ {
3225
+ plt.jmp(() => appLoadFallback = setTimeout(appDidLoad, 30));
3226
+ }
3227
+ }
3228
+ endBootstrap();
3229
+ };
3230
+
3231
+ // src/runtime/fragment.ts
3232
+ var Fragment = (_, children) => children;
3233
+ var addHostEventListeners = (elm, hostRef, listeners, attachParentListeners) => {
3234
+ if (listeners && win.document) {
3235
+ listeners.map(([flags, name, method]) => {
3236
+ const target = getHostListenerTarget(win.document, elm, flags) ;
3237
+ const handler = hostListenerProxy(hostRef, method);
3238
+ const opts = hostListenerOpts(flags);
3239
+ plt.ael(target, name, handler, opts);
3240
+ (hostRef.$rmListeners$ = hostRef.$rmListeners$ || []).push(() => plt.rel(target, name, handler, opts));
3241
+ });
3242
+ }
3243
+ };
3244
+ var hostListenerProxy = (hostRef, methodName) => (ev) => {
3245
+ var _a;
3246
+ try {
3247
+ {
3248
+ if (hostRef.$flags$ & 256 /* isListenReady */) {
3249
+ (_a = hostRef.$lazyInstance$) == null ? void 0 : _a[methodName](ev);
3250
+ } else {
3251
+ (hostRef.$queuedListeners$ = hostRef.$queuedListeners$ || []).push([methodName, ev]);
3252
+ }
3253
+ }
3254
+ } catch (e) {
3255
+ consoleError(e, hostRef.$hostElement$);
3256
+ }
3257
+ };
3258
+ var getHostListenerTarget = (doc, elm, flags) => {
3259
+ if (flags & 4 /* TargetDocument */) {
3260
+ return doc;
3261
+ }
3262
+ if (flags & 8 /* TargetWindow */) {
3263
+ return win;
3264
+ }
3265
+ return elm;
3266
+ };
3267
+ var hostListenerOpts = (flags) => supportsListenerOptions ? {
3268
+ passive: (flags & 1 /* Passive */) !== 0,
3269
+ capture: (flags & 2 /* Capture */) !== 0
3270
+ } : (flags & 2 /* Capture */) !== 0;
3271
+
3272
+ // src/runtime/nonce.ts
3273
+ var setNonce = (nonce) => plt.$nonce$ = nonce;
3274
+ function transformTag(tag) {
3275
+ return tag;
3276
+ }
3277
+
3278
+ exports.Fragment = Fragment;
3279
+ exports.H = H;
3280
+ exports.Host = Host;
3281
+ exports.bootstrapLazy = bootstrapLazy;
3282
+ exports.createEvent = createEvent;
3283
+ exports.getElement = getElement;
3284
+ exports.h = h;
3285
+ exports.promiseResolve = promiseResolve;
3286
+ exports.registerInstance = registerInstance;
3287
+ exports.setNonce = setNonce;