@ionic/core 8.6.6 → 8.6.7

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 (390) hide show
  1. package/components/action-sheet.js +1 -1
  2. package/components/alert.js +1 -1
  3. package/components/backdrop.js +1 -1
  4. package/components/button.js +1 -1
  5. package/components/buttons.js +1 -1
  6. package/components/checkbox.js +1 -1
  7. package/components/content.js +1 -1
  8. package/components/header.js +1 -1
  9. package/components/icon.js +1 -1
  10. package/components/ion-accordion-group.js +1 -1
  11. package/components/ion-accordion.js +1 -1
  12. package/components/ion-app.js +1 -1
  13. package/components/ion-avatar.js +1 -1
  14. package/components/ion-back-button.js +1 -1
  15. package/components/ion-badge.js +1 -1
  16. package/components/ion-breadcrumb.js +1 -1
  17. package/components/ion-breadcrumbs.js +1 -1
  18. package/components/ion-card-content.js +1 -1
  19. package/components/ion-card-header.js +1 -1
  20. package/components/ion-card-subtitle.js +1 -1
  21. package/components/ion-card-title.js +1 -1
  22. package/components/ion-card.js +1 -1
  23. package/components/ion-chip.js +1 -1
  24. package/components/ion-col.js +1 -1
  25. package/components/ion-datetime-button.js +1 -1
  26. package/components/ion-datetime.js +1 -1
  27. package/components/ion-fab-button.js +1 -1
  28. package/components/ion-fab-list.js +1 -1
  29. package/components/ion-fab.js +1 -1
  30. package/components/ion-footer.js +1 -1
  31. package/components/ion-grid.js +1 -1
  32. package/components/ion-img.js +1 -1
  33. package/components/ion-infinite-scroll-content.js +1 -1
  34. package/components/ion-infinite-scroll.js +1 -1
  35. package/components/ion-input-otp.js +1 -1
  36. package/components/ion-input-password-toggle.js +1 -1
  37. package/components/ion-input.js +1 -1
  38. package/components/ion-item-divider.js +1 -1
  39. package/components/ion-item-group.js +1 -1
  40. package/components/ion-item-option.js +1 -1
  41. package/components/ion-item-options.js +1 -1
  42. package/components/ion-item-sliding.js +1 -1
  43. package/components/ion-loading.js +1 -1
  44. package/components/ion-menu-button.js +1 -1
  45. package/components/ion-menu-toggle.js +1 -1
  46. package/components/ion-menu.js +1 -1
  47. package/components/ion-nav-link.js +1 -1
  48. package/components/ion-nav.js +1 -1
  49. package/components/ion-note.js +1 -1
  50. package/components/ion-picker-legacy.js +1 -1
  51. package/components/ion-progress-bar.js +1 -1
  52. package/components/ion-range.js +1 -1
  53. package/components/ion-refresher-content.js +1 -1
  54. package/components/ion-refresher.js +1 -1
  55. package/components/ion-reorder-group.js +1 -1
  56. package/components/ion-reorder.js +1 -1
  57. package/components/ion-router-link.js +1 -1
  58. package/components/ion-router-outlet.js +1 -1
  59. package/components/ion-row.js +1 -1
  60. package/components/ion-searchbar.js +1 -1
  61. package/components/ion-segment-button.js +1 -1
  62. package/components/ion-segment-content.js +1 -1
  63. package/components/ion-segment-view.js +1 -1
  64. package/components/ion-segment.js +1 -1
  65. package/components/ion-select-option.js +1 -1
  66. package/components/ion-select.js +1 -1
  67. package/components/ion-skeleton-text.js +1 -1
  68. package/components/ion-split-pane.js +1 -1
  69. package/components/ion-tab-bar.js +1 -1
  70. package/components/ion-tab-button.js +1 -1
  71. package/components/ion-tab.js +1 -1
  72. package/components/ion-tabs.js +1 -1
  73. package/components/ion-text.js +1 -1
  74. package/components/ion-textarea.js +1 -1
  75. package/components/ion-thumbnail.js +1 -1
  76. package/components/ion-toast.js +1 -1
  77. package/components/ion-toggle.js +1 -1
  78. package/components/item.js +1 -1
  79. package/components/label.js +1 -1
  80. package/components/list-header.js +1 -1
  81. package/components/list.js +1 -1
  82. package/components/modal.js +1 -1
  83. package/components/picker-column-option.js +1 -1
  84. package/components/picker-column.js +1 -1
  85. package/components/picker-column2.js +1 -1
  86. package/components/picker.js +1 -1
  87. package/components/popover.js +1 -1
  88. package/components/radio-group.js +1 -1
  89. package/components/radio.js +1 -1
  90. package/components/ripple-effect.js +1 -1
  91. package/components/select-modal.js +3 -3
  92. package/components/select-popover.js +2 -2
  93. package/components/spinner.js +1 -1
  94. package/components/title.js +1 -1
  95. package/components/toolbar.js +1 -1
  96. package/dist/cjs/{animation-ZJ1lAkZD.js → animation-0T7gKwOt.js} +1 -1
  97. package/dist/cjs/{button-active-BzZenWWH.js → button-active-C-4ud7Ht.js} +1 -1
  98. package/dist/cjs/{config-CKhELRRu.js → config-U7OAuj53.js} +1 -1
  99. package/dist/cjs/{data-DW6ofvJ8.js → data-DRqa6oM4.js} +1 -1
  100. package/dist/cjs/{framework-delegate-WkyjrnCx.js → framework-delegate-C7sIJyT5.js} +1 -1
  101. package/dist/cjs/{hardware-back-button-BxdNu76F.js → hardware-back-button-D90qZxju.js} +1 -1
  102. package/dist/cjs/{helpers-DgwmcYAu.js → helpers-BITAzJfi.js} +1 -1
  103. package/dist/cjs/{index-bGpoPC4u.js → index-BDBT0u4l.js} +2 -2
  104. package/dist/cjs/{index-Cc5PNMyz.js → index-CVa6JE57.js} +2 -2
  105. package/dist/cjs/{index-D24wggHR.js → index-CxfLS2mX.js} +11 -12
  106. package/dist/cjs/{index-DNh170BW.js → index-DODXXb_r.js} +319 -274
  107. package/dist/cjs/{index-BzEyuIww.js → index-y0QaNtCi.js} +4 -4
  108. package/dist/cjs/index.cjs.js +15 -16
  109. package/dist/cjs/{input-shims-CLI_OrmU.js → input-shims-D1Mfgd4s.js} +3 -3
  110. package/dist/cjs/{input.utils-B2hZ5tX6.js → input.utils-DSoBEyUu.js} +2 -2
  111. package/dist/cjs/ion-accordion_2.cjs.entry.js +4 -5
  112. package/dist/cjs/ion-action-sheet.cjs.entry.js +9 -10
  113. package/dist/cjs/ion-alert.cjs.entry.js +12 -13
  114. package/dist/cjs/ion-app_8.cjs.entry.js +27 -28
  115. package/dist/cjs/ion-avatar_3.cjs.entry.js +4 -5
  116. package/dist/cjs/ion-back-button.cjs.entry.js +5 -6
  117. package/dist/cjs/ion-backdrop.cjs.entry.js +2 -3
  118. package/dist/cjs/ion-breadcrumb_2.cjs.entry.js +4 -5
  119. package/dist/cjs/ion-button_2.cjs.entry.js +3 -4
  120. package/dist/cjs/ion-card_5.cjs.entry.js +7 -8
  121. package/dist/cjs/ion-checkbox.cjs.entry.js +3 -4
  122. package/dist/cjs/ion-chip.cjs.entry.js +2 -3
  123. package/dist/cjs/ion-col_3.cjs.entry.js +4 -5
  124. package/dist/cjs/ion-datetime-button.cjs.entry.js +4 -5
  125. package/dist/cjs/ion-datetime_3.cjs.entry.js +12 -13
  126. package/dist/cjs/ion-fab_3.cjs.entry.js +5 -6
  127. package/dist/cjs/ion-img.cjs.entry.js +3 -4
  128. package/dist/cjs/ion-infinite-scroll_2.cjs.entry.js +7 -8
  129. package/dist/cjs/ion-input-otp.cjs.entry.js +3 -4
  130. package/dist/cjs/ion-input-password-toggle.cjs.entry.js +2 -3
  131. package/dist/cjs/ion-input.cjs.entry.js +6 -7
  132. package/dist/cjs/ion-item-option_3.cjs.entry.js +6 -7
  133. package/dist/cjs/ion-item_8.cjs.entry.js +10 -11
  134. package/dist/cjs/ion-loading.cjs.entry.js +9 -10
  135. package/dist/cjs/ion-menu_3.cjs.entry.js +13 -14
  136. package/dist/cjs/ion-modal.cjs.entry.js +15 -16
  137. package/dist/cjs/ion-nav_2.cjs.entry.js +7 -8
  138. package/dist/cjs/ion-picker-column-option.cjs.entry.js +3 -4
  139. package/dist/cjs/ion-picker-column.cjs.entry.js +5 -6
  140. package/dist/cjs/ion-picker.cjs.entry.js +2 -2
  141. package/dist/cjs/ion-popover.cjs.entry.js +10 -11
  142. package/dist/cjs/ion-progress-bar.cjs.entry.js +3 -4
  143. package/dist/cjs/ion-radio_2.cjs.entry.js +4 -5
  144. package/dist/cjs/ion-range.cjs.entry.js +4 -5
  145. package/dist/cjs/ion-refresher_2.cjs.entry.js +13 -14
  146. package/dist/cjs/ion-reorder_2.cjs.entry.js +5 -6
  147. package/dist/cjs/ion-ripple-effect.cjs.entry.js +2 -3
  148. package/dist/cjs/ion-route_4.cjs.entry.js +3 -4
  149. package/dist/cjs/ion-searchbar.cjs.entry.js +4 -5
  150. package/dist/cjs/ion-segment-content.cjs.entry.js +1 -1
  151. package/dist/cjs/ion-segment-view.cjs.entry.js +1 -1
  152. package/dist/cjs/ion-segment_2.cjs.entry.js +4 -5
  153. package/dist/cjs/ion-select-modal.cjs.entry.js +8 -9
  154. package/dist/cjs/ion-select_3.cjs.entry.js +16 -17
  155. package/dist/cjs/ion-spinner.cjs.entry.js +3 -4
  156. package/dist/cjs/ion-split-pane.cjs.entry.js +2 -3
  157. package/dist/cjs/ion-tab-bar_2.cjs.entry.js +4 -5
  158. package/dist/cjs/ion-tab_2.cjs.entry.js +3 -3
  159. package/dist/cjs/ion-text.cjs.entry.js +2 -3
  160. package/dist/cjs/ion-textarea.cjs.entry.js +6 -7
  161. package/dist/cjs/ion-toast.cjs.entry.js +10 -11
  162. package/dist/cjs/ion-toggle.cjs.entry.js +5 -6
  163. package/dist/cjs/ionic.cjs.js +4 -6
  164. package/dist/cjs/{ios.transition-DEitrLlG.js → ios.transition-baEy2tr4.js} +4 -4
  165. package/dist/cjs/loader.cjs.js +3 -5
  166. package/dist/cjs/{md.transition-BHtGC-Wg.js → md.transition-Bvc-JrM5.js} +4 -4
  167. package/dist/cjs/{notch-controller-Bf5Rr4R5.js → notch-controller-BAbqGXRi.js} +1 -1
  168. package/dist/cjs/{overlays-CglR7j-u.js → overlays-DRDumz2b.js} +7 -8
  169. package/dist/cjs/{status-tap-D9YPr62n.js → status-tap-Db3WeCkO.js} +3 -3
  170. package/dist/cjs/{swipe-back-C1wRtoww.js → swipe-back-D_VN6H9r.js} +2 -2
  171. package/dist/collection/collection-manifest.json +1 -1
  172. package/dist/docs.json +2 -2
  173. package/dist/esm/{animation-BvhAtgca.js → animation-BWcUKtbn.js} +1 -1
  174. package/dist/esm/{button-active-DBUPuLNw.js → button-active-Bxcnevju.js} +1 -1
  175. package/dist/esm/{config-Dx_6wPIJ.js → config-AaTyISnm.js} +1 -1
  176. package/dist/esm/{data-CKHMWxfe.js → data-GIsHsYIB.js} +1 -1
  177. package/dist/esm/{framework-delegate-BLEBgH06.js → framework-delegate-DxcnWic_.js} +1 -1
  178. package/dist/esm/{hardware-back-button-Dhbd-23H.js → hardware-back-button-DcH0BbDp.js} +1 -1
  179. package/dist/esm/{helpers-8KSQQGQy.js → helpers-1O4D2b7y.js} +1 -1
  180. package/dist/esm/{index-4DxY6_gG.js → index-B_U9CtaY.js} +315 -270
  181. package/dist/esm/{index-7UbSlv7N.js → index-BlJTBdxG.js} +2 -2
  182. package/dist/esm/{index-C6WeRr09.js → index-CWbP1eJz.js} +2 -2
  183. package/dist/esm/{index-CXSTcaAW.js → index-D8sncTHY.js} +4 -5
  184. package/dist/esm/{index-Dp7GXH1z.js → index-DfBA5ztX.js} +4 -4
  185. package/dist/esm/index.js +11 -12
  186. package/dist/esm/{input-shims-C4KDnhxb.js → input-shims-C3lNp93k.js} +3 -3
  187. package/dist/esm/{input.utils-be4gBvVY.js → input.utils-zWijNCrx.js} +2 -2
  188. package/dist/esm/ion-accordion_2.entry.js +2 -3
  189. package/dist/esm/ion-action-sheet.entry.js +7 -8
  190. package/dist/esm/ion-alert.entry.js +8 -9
  191. package/dist/esm/ion-app_8.entry.js +11 -12
  192. package/dist/esm/ion-avatar_3.entry.js +1 -2
  193. package/dist/esm/ion-back-button.entry.js +2 -3
  194. package/dist/esm/ion-backdrop.entry.js +1 -2
  195. package/dist/esm/ion-breadcrumb_2.entry.js +2 -3
  196. package/dist/esm/ion-button_2.entry.js +2 -3
  197. package/dist/esm/ion-card_5.entry.js +2 -3
  198. package/dist/esm/ion-checkbox.entry.js +2 -3
  199. package/dist/esm/ion-chip.entry.js +1 -2
  200. package/dist/esm/ion-col_3.entry.js +1 -2
  201. package/dist/esm/ion-datetime-button.entry.js +3 -4
  202. package/dist/esm/ion-datetime_3.entry.js +7 -8
  203. package/dist/esm/ion-fab_3.entry.js +2 -3
  204. package/dist/esm/ion-img.entry.js +2 -3
  205. package/dist/esm/ion-infinite-scroll_2.entry.js +4 -5
  206. package/dist/esm/ion-input-otp.entry.js +2 -3
  207. package/dist/esm/ion-input-password-toggle.entry.js +1 -2
  208. package/dist/esm/ion-input.entry.js +4 -5
  209. package/dist/esm/ion-item-option_3.entry.js +3 -4
  210. package/dist/esm/ion-item_8.entry.js +2 -3
  211. package/dist/esm/ion-loading.entry.js +7 -8
  212. package/dist/esm/ion-menu_3.entry.js +7 -8
  213. package/dist/esm/ion-modal.entry.js +8 -9
  214. package/dist/esm/ion-nav_2.entry.js +5 -6
  215. package/dist/esm/ion-picker-column-option.entry.js +2 -3
  216. package/dist/esm/ion-picker-column.entry.js +2 -3
  217. package/dist/esm/ion-picker.entry.js +2 -2
  218. package/dist/esm/ion-popover.entry.js +7 -8
  219. package/dist/esm/ion-progress-bar.entry.js +2 -3
  220. package/dist/esm/ion-radio_2.entry.js +2 -3
  221. package/dist/esm/ion-range.entry.js +3 -4
  222. package/dist/esm/ion-refresher_2.entry.js +5 -6
  223. package/dist/esm/ion-reorder_2.entry.js +3 -4
  224. package/dist/esm/ion-ripple-effect.entry.js +1 -2
  225. package/dist/esm/ion-route_4.entry.js +2 -3
  226. package/dist/esm/ion-searchbar.entry.js +2 -3
  227. package/dist/esm/ion-segment-content.entry.js +1 -1
  228. package/dist/esm/ion-segment-view.entry.js +1 -1
  229. package/dist/esm/ion-segment_2.entry.js +2 -3
  230. package/dist/esm/ion-select-modal.entry.js +7 -8
  231. package/dist/esm/ion-select_3.entry.js +7 -8
  232. package/dist/esm/ion-spinner.entry.js +1 -2
  233. package/dist/esm/ion-split-pane.entry.js +1 -2
  234. package/dist/esm/ion-tab-bar_2.entry.js +2 -3
  235. package/dist/esm/ion-tab_2.entry.js +3 -3
  236. package/dist/esm/ion-text.entry.js +1 -2
  237. package/dist/esm/ion-textarea.entry.js +4 -5
  238. package/dist/esm/ion-toast.entry.js +7 -8
  239. package/dist/esm/ion-toggle.entry.js +2 -3
  240. package/dist/esm/ionic.js +4 -6
  241. package/dist/esm/{ios.transition-eAEkgVAv.js → ios.transition-BmXtMRXZ.js} +4 -4
  242. package/dist/esm/loader.js +3 -5
  243. package/dist/esm/{md.transition-D8TeJ_Pz.js → md.transition-CLI683c7.js} +4 -4
  244. package/dist/esm/{notch-controller-lb417-kU.js → notch-controller-C5LPspO8.js} +1 -1
  245. package/dist/esm/{overlays-ZX_4-t_r.js → overlays-8Y2rA-ps.js} +4 -5
  246. package/dist/esm/{status-tap-pATNXEtr.js → status-tap-7t9T91bG.js} +3 -3
  247. package/dist/esm/{swipe-back-B2YfOHRM.js → swipe-back-VdaUzLWy.js} +2 -2
  248. package/dist/ionic/index.esm.js +1 -1
  249. package/dist/ionic/ionic.esm.js +1 -1
  250. package/dist/ionic/p-01123ecf.entry.js +4 -0
  251. package/dist/ionic/p-03d21728.entry.js +4 -0
  252. package/dist/ionic/p-0d131a02.entry.js +4 -0
  253. package/dist/ionic/p-0fc6fc38.entry.js +4 -0
  254. package/dist/ionic/p-1739f5f2.entry.js +4 -0
  255. package/dist/ionic/p-18f1813b.entry.js +4 -0
  256. package/dist/ionic/p-2bc871ee.entry.js +4 -0
  257. package/dist/ionic/p-2c6c6991.entry.js +4 -0
  258. package/dist/ionic/p-2cfd6b61.entry.js +4 -0
  259. package/dist/ionic/p-2d0eccfb.entry.js +4 -0
  260. package/dist/ionic/p-2da6a16b.entry.js +4 -0
  261. package/dist/ionic/p-2dca6aac.entry.js +4 -0
  262. package/dist/ionic/p-35c4a63f.entry.js +4 -0
  263. package/dist/ionic/p-3c855fa9.entry.js +4 -0
  264. package/dist/ionic/p-4b7d1f35.entry.js +4 -0
  265. package/dist/ionic/p-4d61f20b.entry.js +4 -0
  266. package/dist/ionic/p-5f671887.entry.js +4 -0
  267. package/dist/ionic/p-69f91268.entry.js +4 -0
  268. package/dist/ionic/{p-3e426ddc.entry.js → p-73d7ad90.entry.js} +1 -1
  269. package/dist/ionic/p-76b697a3.entry.js +4 -0
  270. package/dist/ionic/p-7d5cf8c1.entry.js +4 -0
  271. package/dist/ionic/{p-DiZPU8BH.js → p-7qk7mxdr.js} +1 -1
  272. package/dist/ionic/p-8957540a.entry.js +4 -0
  273. package/dist/ionic/{p-c0d58c8e.entry.js → p-8a8ef46b.entry.js} +1 -1
  274. package/dist/ionic/p-8c674371.entry.js +4 -0
  275. package/dist/ionic/p-8f2f76e0.entry.js +4 -0
  276. package/dist/ionic/p-91bde659.entry.js +4 -0
  277. package/dist/ionic/p-97667b9c.entry.js +4 -0
  278. package/dist/ionic/p-99774467.entry.js +4 -0
  279. package/dist/ionic/{p-9ddf2620.entry.js → p-9b46b31b.entry.js} +1 -1
  280. package/dist/ionic/{p-LaGjiAVo.js → p-B1MNHTYX.js} +1 -1
  281. package/dist/ionic/p-B3XSxWNQ.js +4 -0
  282. package/dist/ionic/p-BROiNJRB.js +4 -0
  283. package/dist/ionic/p-B_U9CtaY.js +5 -0
  284. package/dist/ionic/p-BhLqfMrf.js +4 -0
  285. package/dist/ionic/{p-B5MDSrGg.js → p-BmQduG8c.js} +1 -1
  286. package/dist/ionic/p-CL-KfWxq.js +4 -0
  287. package/dist/ionic/{p-CWvl4RPO.js → p-CPgXVSua.js} +1 -1
  288. package/dist/ionic/{p-BB-JoKGB.js → p-CRiGyYOA.js} +1 -1
  289. package/dist/ionic/{p-EnaLTYYj.js → p-CbI9XwwW.js} +1 -1
  290. package/dist/ionic/p-D-7TeYC4.js +4 -0
  291. package/dist/ionic/{p-BHGXdud8.js → p-DCfS5Jk_.js} +1 -1
  292. package/dist/ionic/{p-D2fQU_qK.js → p-DgdWETCP.js} +1 -1
  293. package/dist/ionic/{p-C-Cct-6D.js → p-Do-uqmtX.js} +1 -1
  294. package/dist/ionic/p-DzH0J0yi.js +4 -0
  295. package/dist/ionic/{p-BhNEp2QP.js → p-QwEXyOze.js} +1 -1
  296. package/dist/ionic/p-a6282370.entry.js +4 -0
  297. package/dist/ionic/p-a92bfa13.entry.js +4 -0
  298. package/dist/ionic/p-a9ac80bd.entry.js +4 -0
  299. package/dist/ionic/p-a9f99c74.entry.js +4 -0
  300. package/dist/ionic/p-aIxOGKys.js +4 -0
  301. package/dist/ionic/p-aa8956c2.entry.js +4 -0
  302. package/dist/ionic/p-b758a177.entry.js +4 -0
  303. package/dist/ionic/p-b9ba04ca.entry.js +4 -0
  304. package/dist/ionic/p-b9f79efc.entry.js +4 -0
  305. package/dist/ionic/p-bNmY-WfR.js +4 -0
  306. package/dist/ionic/p-bc01c127.entry.js +4 -0
  307. package/dist/ionic/p-c0335397.entry.js +4 -0
  308. package/dist/ionic/p-c4912ca5.entry.js +4 -0
  309. package/dist/ionic/p-c884d7e3.entry.js +4 -0
  310. package/dist/ionic/p-cf632ee2.entry.js +4 -0
  311. package/dist/ionic/p-d47b85ea.entry.js +4 -0
  312. package/dist/ionic/p-d8429eb4.entry.js +4 -0
  313. package/dist/ionic/p-d8ed5df0.entry.js +4 -0
  314. package/dist/ionic/p-e1260ed5.entry.js +4 -0
  315. package/dist/ionic/p-e37d6c67.entry.js +4 -0
  316. package/dist/ionic/p-e90652a0.entry.js +4 -0
  317. package/dist/ionic/p-ei_RiGrl.js +4 -0
  318. package/dist/ionic/p-f83db8cd.entry.js +4 -0
  319. package/dist/ionic/{p-d3df6032.entry.js → p-fb74fc38.entry.js} +1 -1
  320. package/dist/ionic/p-fbc5481b.entry.js +4 -0
  321. package/dist/ionic/p-fcc7437b.entry.js +4 -0
  322. package/dist/node_modules/ionicons/dist/collection/components/icon/icon.css +144 -0
  323. package/dist/types/stencil-public-runtime.d.ts +5 -12
  324. package/hydrate/index.js +250 -440
  325. package/hydrate/index.mjs +250 -440
  326. package/package.json +2 -2
  327. package/dist/cjs/app-globals-77ZfuXXk.js +0 -10
  328. package/dist/cjs/ionic-global-UI5YPSi-.js +0 -151
  329. package/dist/esm/app-globals-CvLYUxE9.js +0 -8
  330. package/dist/esm/ionic-global-CTSyufhF.js +0 -146
  331. package/dist/ionic/p-0ec5336d.entry.js +0 -4
  332. package/dist/ionic/p-0f396661.entry.js +0 -4
  333. package/dist/ionic/p-1191a2d9.entry.js +0 -4
  334. package/dist/ionic/p-16116947.entry.js +0 -4
  335. package/dist/ionic/p-1d5b934a.entry.js +0 -4
  336. package/dist/ionic/p-20a7e56a.entry.js +0 -4
  337. package/dist/ionic/p-2cb0f39f.entry.js +0 -4
  338. package/dist/ionic/p-3624b640.entry.js +0 -4
  339. package/dist/ionic/p-40d56a51.entry.js +0 -4
  340. package/dist/ionic/p-4DxY6_gG.js +0 -5
  341. package/dist/ionic/p-4a4f543a.entry.js +0 -4
  342. package/dist/ionic/p-4f2c5845.entry.js +0 -4
  343. package/dist/ionic/p-4f4fed67.entry.js +0 -4
  344. package/dist/ionic/p-54dec9b1.entry.js +0 -4
  345. package/dist/ionic/p-5944b332.entry.js +0 -4
  346. package/dist/ionic/p-66424a88.entry.js +0 -4
  347. package/dist/ionic/p-7a53f04c.entry.js +0 -4
  348. package/dist/ionic/p-7bac2c5f.entry.js +0 -4
  349. package/dist/ionic/p-7da05504.entry.js +0 -4
  350. package/dist/ionic/p-82cc4aa2.entry.js +0 -4
  351. package/dist/ionic/p-87b52a3d.entry.js +0 -4
  352. package/dist/ionic/p-8822db41.entry.js +0 -4
  353. package/dist/ionic/p-8b21572b.entry.js +0 -4
  354. package/dist/ionic/p-8d96a0cd.entry.js +0 -4
  355. package/dist/ionic/p-91d6ccb0.entry.js +0 -4
  356. package/dist/ionic/p-92e8f208.entry.js +0 -4
  357. package/dist/ionic/p-B1xocg0A.js +0 -4
  358. package/dist/ionic/p-Br3vSlYh.js +0 -4
  359. package/dist/ionic/p-C4I6B3uV.js +0 -4
  360. package/dist/ionic/p-C87oPMMF.js +0 -4
  361. package/dist/ionic/p-C8d2ebIg.js +0 -4
  362. package/dist/ionic/p-CSwZyt05.js +0 -4
  363. package/dist/ionic/p-CvaZMP6T.js +0 -4
  364. package/dist/ionic/p-DAfH9Iif.js +0 -4
  365. package/dist/ionic/p-DCuOL88l.js +0 -4
  366. package/dist/ionic/p-DJKvq7vb.js +0 -4
  367. package/dist/ionic/p-Dm_oBkW1.js +0 -4
  368. package/dist/ionic/p-a28a082f.entry.js +0 -4
  369. package/dist/ionic/p-a81be128.entry.js +0 -4
  370. package/dist/ionic/p-ab33ef20.entry.js +0 -4
  371. package/dist/ionic/p-ac434970.entry.js +0 -4
  372. package/dist/ionic/p-acd4479f.entry.js +0 -4
  373. package/dist/ionic/p-afeb9df6.entry.js +0 -4
  374. package/dist/ionic/p-b3c29eab.entry.js +0 -4
  375. package/dist/ionic/p-bc9f9032.entry.js +0 -4
  376. package/dist/ionic/p-be9d091b.entry.js +0 -4
  377. package/dist/ionic/p-bf81a468.entry.js +0 -4
  378. package/dist/ionic/p-c5210d3e.entry.js +0 -4
  379. package/dist/ionic/p-c836e1a2.entry.js +0 -4
  380. package/dist/ionic/p-cde6d39b.entry.js +0 -4
  381. package/dist/ionic/p-d04d66fc.entry.js +0 -4
  382. package/dist/ionic/p-dbba38cf.entry.js +0 -4
  383. package/dist/ionic/p-e6c465ff.entry.js +0 -4
  384. package/dist/ionic/p-ec76fec4.entry.js +0 -4
  385. package/dist/ionic/p-ee2e35a6.entry.js +0 -4
  386. package/dist/ionic/p-f2884bc2.entry.js +0 -4
  387. package/dist/ionic/p-f456d176.entry.js +0 -4
  388. package/dist/ionic/p-f7db572a.entry.js +0 -4
  389. package/dist/ionic/p-f9eb54ee.entry.js +0 -4
  390. package/dist/ionic/p-fcd1dba9.entry.js +0 -4
@@ -121,8 +121,151 @@ const printRequiredElementError = (el, ...targetSelectors) => {
121
121
  return console.error(`<${el.tagName.toLowerCase()}> must be used inside ${targetSelectors.join(' or ')}.`);
122
122
  };
123
123
 
124
+ const getPlatforms = (win) => setupPlatforms(win);
125
+ const isPlatform = (winOrPlatform, platform) => {
126
+ if (typeof winOrPlatform === 'string') {
127
+ platform = winOrPlatform;
128
+ winOrPlatform = undefined;
129
+ }
130
+ return getPlatforms(winOrPlatform).includes(platform);
131
+ };
132
+ const setupPlatforms = (win = window) => {
133
+ if (typeof win === 'undefined') {
134
+ return [];
135
+ }
136
+ win.Ionic = win.Ionic || {};
137
+ let platforms = win.Ionic.platforms;
138
+ if (platforms == null) {
139
+ platforms = win.Ionic.platforms = detectPlatforms(win);
140
+ platforms.forEach((p) => win.document.documentElement.classList.add(`plt-${p}`));
141
+ }
142
+ return platforms;
143
+ };
144
+ const detectPlatforms = (win) => {
145
+ const customPlatformMethods = config.get('platform');
146
+ return Object.keys(PLATFORMS_MAP).filter((p) => {
147
+ const customMethod = customPlatformMethods === null || customPlatformMethods === void 0 ? void 0 : customPlatformMethods[p];
148
+ return typeof customMethod === 'function' ? customMethod(win) : PLATFORMS_MAP[p](win);
149
+ });
150
+ };
151
+ const isMobileWeb = (win) => isMobile(win) && !isHybrid(win);
152
+ const isIpad = (win) => {
153
+ // iOS 12 and below
154
+ if (testUserAgent(win, /iPad/i)) {
155
+ return true;
156
+ }
157
+ // iOS 13+
158
+ if (testUserAgent(win, /Macintosh/i) && isMobile(win)) {
159
+ return true;
160
+ }
161
+ return false;
162
+ };
163
+ const isIphone = (win) => testUserAgent(win, /iPhone/i);
164
+ const isIOS = (win) => testUserAgent(win, /iPhone|iPod/i) || isIpad(win);
165
+ const isAndroid = (win) => testUserAgent(win, /android|sink/i);
166
+ const isAndroidTablet = (win) => {
167
+ return isAndroid(win) && !testUserAgent(win, /mobile/i);
168
+ };
169
+ const isPhablet = (win) => {
170
+ const width = win.innerWidth;
171
+ const height = win.innerHeight;
172
+ const smallest = Math.min(width, height);
173
+ const largest = Math.max(width, height);
174
+ return smallest > 390 && smallest < 520 && largest > 620 && largest < 800;
175
+ };
176
+ const isTablet = (win) => {
177
+ const width = win.innerWidth;
178
+ const height = win.innerHeight;
179
+ const smallest = Math.min(width, height);
180
+ const largest = Math.max(width, height);
181
+ return isIpad(win) || isAndroidTablet(win) || (smallest > 460 && smallest < 820 && largest > 780 && largest < 1400);
182
+ };
183
+ const isMobile = (win) => matchMedia(win, '(any-pointer:coarse)');
184
+ const isDesktop = (win) => !isMobile(win);
185
+ const isHybrid = (win) => isCordova(win) || isCapacitorNative(win);
186
+ const isCordova = (win) => !!(win['cordova'] || win['phonegap'] || win['PhoneGap']);
187
+ const isCapacitorNative = (win) => {
188
+ const capacitor = win['Capacitor'];
189
+ // TODO(ROU-11693): Remove when we no longer support Capacitor 2, which does not have isNativePlatform
190
+ return !!((capacitor === null || capacitor === void 0 ? void 0 : capacitor.isNative) || ((capacitor === null || capacitor === void 0 ? void 0 : capacitor.isNativePlatform) && !!capacitor.isNativePlatform()));
191
+ };
192
+ const isElectron = (win) => testUserAgent(win, /electron/i);
193
+ const isPWA = (win) => { var _a; return !!(((_a = win.matchMedia) === null || _a === void 0 ? void 0 : _a.call(win, '(display-mode: standalone)').matches) || win.navigator.standalone); };
194
+ const testUserAgent = (win, expr) => expr.test(win.navigator.userAgent);
195
+ const matchMedia = (win, query) => { var _a; return (_a = win.matchMedia) === null || _a === void 0 ? void 0 : _a.call(win, query).matches; };
196
+ const PLATFORMS_MAP = {
197
+ ipad: isIpad,
198
+ iphone: isIphone,
199
+ ios: isIOS,
200
+ android: isAndroid,
201
+ phablet: isPhablet,
202
+ tablet: isTablet,
203
+ cordova: isCordova,
204
+ capacitor: isCapacitorNative,
205
+ electron: isElectron,
206
+ pwa: isPWA,
207
+ mobile: isMobile,
208
+ mobileweb: isMobileWeb,
209
+ desktop: isDesktop,
210
+ hybrid: isHybrid,
211
+ };
212
+
213
+ // TODO(FW-2832): types
214
+ let defaultMode;
215
+ const getIonMode = (ref) => {
216
+ return (ref && getMode(ref)) || defaultMode;
217
+ };
218
+ const initialize = (userConfig = {}) => {
219
+ if (typeof window === 'undefined') {
220
+ return;
221
+ }
222
+ const doc = window.document;
223
+ const win = window;
224
+ const Ionic = (win.Ionic = win.Ionic || {});
225
+ // create the Ionic.config from raw config object (if it exists)
226
+ // and convert Ionic.config into a ConfigApi that has a get() fn
227
+ const configObj = Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, configFromSession(win)), { persistConfig: false }), Ionic.config), configFromURL(win)), userConfig);
228
+ config.reset(configObj);
229
+ if (config.getBoolean('persistConfig')) {
230
+ saveConfig(win, configObj);
231
+ }
232
+ // Setup platforms
233
+ setupPlatforms(win);
234
+ // first see if the mode was set as an attribute on <html>
235
+ // which could have been set by the user, or by pre-rendering
236
+ // otherwise get the mode via config settings, and fallback to md
237
+ Ionic.config = config;
238
+ Ionic.mode = defaultMode = config.get('mode', doc.documentElement.getAttribute('mode') || (isPlatform(win, 'ios') ? 'ios' : 'md'));
239
+ config.set('mode', defaultMode);
240
+ doc.documentElement.setAttribute('mode', defaultMode);
241
+ doc.documentElement.classList.add(defaultMode);
242
+ if (config.getBoolean('_testing')) {
243
+ config.set('animated', false);
244
+ }
245
+ const isIonicElement = (elm) => { var _a; return (_a = elm.tagName) === null || _a === void 0 ? void 0 : _a.startsWith('ION-'); };
246
+ const isAllowedIonicModeValue = (elmMode) => ['ios', 'md'].includes(elmMode);
247
+ setMode((elm) => {
248
+ while (elm) {
249
+ const elmMode = elm.mode || elm.getAttribute('mode');
250
+ if (elmMode) {
251
+ if (isAllowedIonicModeValue(elmMode)) {
252
+ return elmMode;
253
+ }
254
+ else if (isIonicElement(elm)) {
255
+ printIonWarning('Invalid ionic mode: "' + elmMode + '", expected: "ios" or "md"');
256
+ }
257
+ }
258
+ elm = elm.parentElement;
259
+ }
260
+ return defaultMode;
261
+ });
262
+ };
263
+
264
+ const globalScripts = initialize;
265
+ const globalStyles = "";
266
+
124
267
  /*
125
- Stencil Client Platform v4.36.2 | MIT Licensed | https://stenciljs.com
268
+ Stencil Client Platform v4.33.1 | MIT Licensed | https://stenciljs.com
126
269
  */
127
270
  var __defProp = Object.defineProperty;
128
271
  var __export = (target, all) => {
@@ -280,7 +423,6 @@ var supportsConstructableStylesheets = /* @__PURE__ */ (() => {
280
423
  }
281
424
  return false;
282
425
  })() ;
283
- var supportsMutableAdoptedStyleSheets = supportsConstructableStylesheets ? /* @__PURE__ */ (() => !!win.document && Object.getOwnPropertyDescriptor(win.document.adoptedStyleSheets, "length").writable)() : false;
284
426
  var queuePending = false;
285
427
  var queueDomReads = [];
286
428
  var queueDomWrites = [];
@@ -493,27 +635,15 @@ function deserializeProperty(value) {
493
635
  }
494
636
  return RemoteValue.fromLocalValue(JSON.parse(atob(value.slice(SERIALIZED_PREFIX.length))));
495
637
  }
496
-
497
- // src/utils/style.ts
498
- function createStyleSheetIfNeededAndSupported(styles2) {
499
- return void 0;
500
- }
501
-
502
- // src/utils/shadow-root.ts
503
- var globalStyleSheet;
504
638
  function createShadowRoot(cmpMeta) {
505
- var _a;
506
639
  const shadowRoot = this.attachShadow({
507
640
  mode: "open",
508
641
  delegatesFocus: !!(cmpMeta.$flags$ & 16 /* shadowDelegatesFocus */)
509
642
  }) ;
510
- if (globalStyleSheet === void 0) globalStyleSheet = (_a = createStyleSheetIfNeededAndSupported()) != null ? _a : null;
511
- if (globalStyleSheet) {
512
- if (supportsMutableAdoptedStyleSheets) {
513
- shadowRoot.adoptedStyleSheets.push(globalStyleSheet);
514
- } else {
515
- shadowRoot.adoptedStyleSheets = [...shadowRoot.adoptedStyleSheets, globalStyleSheet];
516
- }
643
+ if (supportsConstructableStylesheets) {
644
+ const sheet = new CSSStyleSheet();
645
+ sheet.replaceSync(globalStyles);
646
+ shadowRoot.adoptedStyleSheets.push(sheet);
517
647
  }
518
648
  }
519
649
  var updateFallbackSlotVisibility = (elm) => {
@@ -621,7 +751,7 @@ function patchSlotNode(node) {
621
751
  const slotName = this["s-sn"];
622
752
  if (opts == null ? void 0 : opts.flatten) {
623
753
  console.error(`
624
- Flattening is not supported for Stencil non-shadow slots.
754
+ Flattening is not supported for Stencil non-shadow slots.
625
755
  You can use \`.childNodes\` to nested slot fallback content.
626
756
  If you have a particular use case, please open an issue on the Stencil repo.
627
757
  `);
@@ -1008,9 +1138,6 @@ var validNodesPatches = [
1008
1138
  "parentNode"
1009
1139
  ];
1010
1140
  function patchHostOriginalAccessor(accessorName, node) {
1011
- if (!globalThis.Node || !globalThis.Element) {
1012
- return;
1013
- }
1014
1141
  let accessor;
1015
1142
  if (validElementPatches.includes(accessorName)) {
1016
1143
  accessor = Object.getOwnPropertyDescriptor(Element.prototype, accessorName);
@@ -1046,125 +1173,6 @@ var uniqueTime = (key, measureText) => {
1046
1173
  };
1047
1174
  }
1048
1175
  };
1049
- var rootAppliedStyles = /* @__PURE__ */ new WeakMap();
1050
- var registerStyle = (scopeId2, cssText, allowCS) => {
1051
- let style = styles.get(scopeId2);
1052
- if (supportsConstructableStylesheets && allowCS) {
1053
- style = style || new CSSStyleSheet();
1054
- if (typeof style === "string") {
1055
- style = cssText;
1056
- } else {
1057
- style.replaceSync(cssText);
1058
- }
1059
- } else {
1060
- style = cssText;
1061
- }
1062
- styles.set(scopeId2, style);
1063
- };
1064
- var addStyle = (styleContainerNode, cmpMeta, mode) => {
1065
- var _a;
1066
- const scopeId2 = getScopeId(cmpMeta, mode);
1067
- const style = styles.get(scopeId2);
1068
- if (!win.document) {
1069
- return scopeId2;
1070
- }
1071
- styleContainerNode = styleContainerNode.nodeType === 11 /* DocumentFragment */ ? styleContainerNode : win.document;
1072
- if (style) {
1073
- if (typeof style === "string") {
1074
- styleContainerNode = styleContainerNode.head || styleContainerNode;
1075
- let appliedStyles = rootAppliedStyles.get(styleContainerNode);
1076
- let styleElm;
1077
- if (!appliedStyles) {
1078
- rootAppliedStyles.set(styleContainerNode, appliedStyles = /* @__PURE__ */ new Set());
1079
- }
1080
- if (!appliedStyles.has(scopeId2)) {
1081
- if (styleContainerNode.host && (styleElm = styleContainerNode.querySelector(`[${HYDRATED_STYLE_ID}="${scopeId2}"]`))) {
1082
- styleElm.innerHTML = style;
1083
- } else {
1084
- styleElm = win.document.createElement("style");
1085
- styleElm.innerHTML = style;
1086
- const nonce = (_a = plt.$nonce$) != null ? _a : queryNonceMetaTagContent(win.document);
1087
- if (nonce != null) {
1088
- styleElm.setAttribute("nonce", nonce);
1089
- }
1090
- if (!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */)) {
1091
- if (styleContainerNode.nodeName === "HEAD") {
1092
- const preconnectLinks = styleContainerNode.querySelectorAll("link[rel=preconnect]");
1093
- const referenceNode2 = preconnectLinks.length > 0 ? preconnectLinks[preconnectLinks.length - 1].nextSibling : styleContainerNode.querySelector("style");
1094
- styleContainerNode.insertBefore(
1095
- styleElm,
1096
- (referenceNode2 == null ? void 0 : referenceNode2.parentNode) === styleContainerNode ? referenceNode2 : null
1097
- );
1098
- } else if ("host" in styleContainerNode) {
1099
- if (supportsConstructableStylesheets) {
1100
- const stylesheet = new CSSStyleSheet();
1101
- stylesheet.replaceSync(style);
1102
- if (supportsMutableAdoptedStyleSheets) {
1103
- styleContainerNode.adoptedStyleSheets.unshift(stylesheet);
1104
- } else {
1105
- styleContainerNode.adoptedStyleSheets = [stylesheet, ...styleContainerNode.adoptedStyleSheets];
1106
- }
1107
- } else {
1108
- const existingStyleContainer = styleContainerNode.querySelector("style");
1109
- if (existingStyleContainer) {
1110
- existingStyleContainer.innerHTML = style + existingStyleContainer.innerHTML;
1111
- } else {
1112
- styleContainerNode.prepend(styleElm);
1113
- }
1114
- }
1115
- } else {
1116
- styleContainerNode.append(styleElm);
1117
- }
1118
- }
1119
- if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) {
1120
- styleContainerNode.insertBefore(styleElm, null);
1121
- }
1122
- }
1123
- if (cmpMeta.$flags$ & 4 /* hasSlotRelocation */) {
1124
- styleElm.innerHTML += SLOT_FB_CSS;
1125
- }
1126
- if (appliedStyles) {
1127
- appliedStyles.add(scopeId2);
1128
- }
1129
- }
1130
- } else if (!styleContainerNode.adoptedStyleSheets.includes(style)) {
1131
- if (supportsMutableAdoptedStyleSheets) {
1132
- styleContainerNode.adoptedStyleSheets.push(style);
1133
- } else {
1134
- styleContainerNode.adoptedStyleSheets = [...styleContainerNode.adoptedStyleSheets, style];
1135
- }
1136
- }
1137
- }
1138
- return scopeId2;
1139
- };
1140
- var attachStyles = (hostRef) => {
1141
- const cmpMeta = hostRef.$cmpMeta$;
1142
- const elm = hostRef.$hostElement$;
1143
- const flags = cmpMeta.$flags$;
1144
- const endAttachStyles = createTime("attachStyles", cmpMeta.$tagName$);
1145
- const scopeId2 = addStyle(
1146
- elm.shadowRoot ? elm.shadowRoot : elm.getRootNode(),
1147
- cmpMeta,
1148
- hostRef.$modeName$
1149
- );
1150
- if (flags & 10 /* needsScopedEncapsulation */) {
1151
- elm["s-sc"] = scopeId2;
1152
- elm.classList.add(scopeId2 + "-h");
1153
- }
1154
- endAttachStyles();
1155
- };
1156
- var getScopeId = (cmp, mode) => "sc-" + (mode && cmp.$flags$ & 32 /* hasMode */ ? cmp.$tagName$ + "-" + mode : cmp.$tagName$);
1157
- var convertScopedToShadow = (css) => css.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g, "$1{");
1158
- var hydrateScopedToShadow = () => {
1159
- if (!win.document) {
1160
- return;
1161
- }
1162
- const styles2 = win.document.querySelectorAll(`[${HYDRATED_STYLE_ID}]`);
1163
- let i2 = 0;
1164
- for (; i2 < styles2.length; i2++) {
1165
- registerStyle(styles2[i2].getAttribute(HYDRATED_STYLE_ID), convertScopedToShadow(styles2[i2].innerHTML), true);
1166
- }
1167
- };
1168
1176
  var h = (nodeName, vnodeData, ...children) => {
1169
1177
  let child = null;
1170
1178
  let key = null;
@@ -1279,7 +1287,7 @@ var convertToPrivate = (node) => {
1279
1287
 
1280
1288
  // src/runtime/client-hydrate.ts
1281
1289
  var initializeClientHydrate = (hostElm, tagName, hostId, hostRef) => {
1282
- var _a, _b, _c;
1290
+ var _a;
1283
1291
  const endHydrate = createTime("hydrateClient", tagName);
1284
1292
  const shadowRoot = hostElm.shadowRoot;
1285
1293
  const childRenderNodes = [];
@@ -1290,17 +1298,15 @@ var initializeClientHydrate = (hostElm, tagName, hostId, hostRef) => {
1290
1298
  vnode.$elm$ = hostElm;
1291
1299
  const members = Object.entries(((_a = hostRef.$cmpMeta$) == null ? void 0 : _a.$members$) || {});
1292
1300
  members.forEach(([memberName, [memberFlags, metaAttributeName]]) => {
1293
- var _b2;
1301
+ var _a2;
1294
1302
  if (!(memberFlags & 31 /* Prop */)) {
1295
1303
  return;
1296
1304
  }
1297
1305
  const attributeName = metaAttributeName || memberName;
1298
1306
  const attrVal = hostElm.getAttribute(attributeName);
1299
1307
  if (attrVal !== null) {
1300
- const attrPropVal = parsePropertyValue(
1301
- attrVal,
1302
- memberFlags);
1303
- (_b2 = hostRef == null ? void 0 : hostRef.$instanceValues$) == null ? void 0 : _b2.set(memberName, attrPropVal);
1308
+ const attrPropVal = parsePropertyValue(attrVal, memberFlags);
1309
+ (_a2 = hostRef == null ? void 0 : hostRef.$instanceValues$) == null ? void 0 : _a2.set(memberName, attrPropVal);
1304
1310
  }
1305
1311
  });
1306
1312
  let scopeId2;
@@ -1341,18 +1347,6 @@ var initializeClientHydrate = (hostElm, tagName, hostId, hostRef) => {
1341
1347
  if (childRenderNode.$tag$ === "slot") {
1342
1348
  node["s-cr"] = hostElm["s-cr"];
1343
1349
  }
1344
- } else if (((_b = childRenderNode.$tag$) == null ? void 0 : _b.toString().includes("-")) && childRenderNode.$tag$ !== "slot-fb" && !childRenderNode.$elm$.shadowRoot) {
1345
- const cmpMeta = getHostRef(childRenderNode.$elm$);
1346
- if (cmpMeta) {
1347
- const scopeId3 = getScopeId(
1348
- cmpMeta.$cmpMeta$,
1349
- childRenderNode.$elm$.getAttribute("s-mode")
1350
- );
1351
- const styleSheet = win.document.querySelector(`style[sty-id="${scopeId3}"]`);
1352
- if (styleSheet) {
1353
- hostElm.shadowRoot.append(styleSheet.cloneNode(true));
1354
- }
1355
- }
1356
1350
  }
1357
1351
  if (childRenderNode.$tag$ === "slot") {
1358
1352
  childRenderNode.$name$ = childRenderNode.$elm$["s-sn"] || childRenderNode.$elm$["name"] || null;
@@ -1368,7 +1362,7 @@ var initializeClientHydrate = (hostElm, tagName, hostId, hostRef) => {
1368
1362
  }
1369
1363
  }
1370
1364
  if (orgLocationNode && orgLocationNode.isConnected) {
1371
- if (orgLocationNode.parentElement.shadowRoot && orgLocationNode["s-en"] === "") {
1365
+ if (shadowRoot && orgLocationNode["s-en"] === "") {
1372
1366
  orgLocationNode.parentNode.insertBefore(node, orgLocationNode.nextSibling);
1373
1367
  }
1374
1368
  orgLocationNode.parentNode.removeChild(orgLocationNode);
@@ -1376,9 +1370,7 @@ var initializeClientHydrate = (hostElm, tagName, hostId, hostRef) => {
1376
1370
  node["s-oo"] = parseInt(childRenderNode.$nodeId$);
1377
1371
  }
1378
1372
  }
1379
- if (orgLocationNode && !orgLocationNode["s-id"]) {
1380
- plt.$orgLocNodes$.delete(orgLocationId);
1381
- }
1373
+ plt.$orgLocNodes$.delete(orgLocationId);
1382
1374
  }
1383
1375
  const hosts = [];
1384
1376
  const snLen = slottedNodes.length;
@@ -1399,26 +1391,21 @@ var initializeClientHydrate = (hostElm, tagName, hostId, hostRef) => {
1399
1391
  }
1400
1392
  if (!hosts[slottedItem.hostId]) continue;
1401
1393
  const hostEle = hosts[slottedItem.hostId];
1402
- if (hostEle.shadowRoot && slottedItem.node.parentElement !== hostEle) {
1403
- hostEle.appendChild(slottedItem.node);
1404
- }
1405
1394
  if (!hostEle.shadowRoot || !shadowRoot) {
1406
- if (!slottedItem.slot["s-cr"]) {
1407
- slottedItem.slot["s-cr"] = hostEle["s-cr"];
1408
- if (!slottedItem.slot["s-cr"] && hostEle.shadowRoot) {
1409
- slottedItem.slot["s-cr"] = hostEle;
1410
- } else {
1411
- slottedItem.slot["s-cr"] = (hostEle.__childNodes || hostEle.childNodes)[0];
1412
- }
1395
+ slottedItem.slot["s-cr"] = hostEle["s-cr"];
1396
+ if (!slottedItem.slot["s-cr"] && hostEle.shadowRoot) {
1397
+ slottedItem.slot["s-cr"] = hostEle;
1398
+ } else {
1399
+ slottedItem.slot["s-cr"] = (hostEle.__childNodes || hostEle.childNodes)[0];
1413
1400
  }
1414
1401
  addSlotRelocateNode(slottedItem.node, slottedItem.slot, false, slottedItem.node["s-oo"]);
1415
- if (((_c = slottedItem.node.parentElement) == null ? void 0 : _c.shadowRoot) && slottedItem.node["getAttribute"] && slottedItem.node.getAttribute("slot")) {
1416
- slottedItem.node.removeAttribute("slot");
1417
- }
1418
1402
  {
1419
1403
  patchSlottedNode(slottedItem.node);
1420
1404
  }
1421
1405
  }
1406
+ if (hostEle.shadowRoot && slottedItem.node.parentElement !== hostEle) {
1407
+ hostEle.appendChild(slottedItem.node);
1408
+ }
1422
1409
  }
1423
1410
  }
1424
1411
  if (scopeId2 && slotNodes.length) {
@@ -1426,27 +1413,25 @@ var initializeClientHydrate = (hostElm, tagName, hostId, hostRef) => {
1426
1413
  slot.$elm$.parentElement.classList.add(scopeId2 + "-s");
1427
1414
  });
1428
1415
  }
1429
- if (shadowRoot) {
1416
+ if (shadowRoot && !shadowRoot.childNodes.length) {
1430
1417
  let rnIdex = 0;
1431
1418
  const rnLen = shadowRootNodes.length;
1432
1419
  if (rnLen) {
1433
1420
  for (rnIdex; rnIdex < rnLen; rnIdex++) {
1434
- const node = shadowRootNodes[rnIdex];
1435
- if (node) {
1436
- shadowRoot.appendChild(node);
1437
- }
1421
+ shadowRoot.appendChild(shadowRootNodes[rnIdex]);
1438
1422
  }
1439
1423
  Array.from(hostElm.childNodes).forEach((node) => {
1440
- if (typeof node["s-en"] !== "string" && typeof node["s-sn"] !== "string") {
1424
+ if (typeof node["s-sn"] !== "string") {
1441
1425
  if (node.nodeType === 1 /* ElementNode */ && node.slot && node.hidden) {
1442
1426
  node.removeAttribute("hidden");
1443
- } else if (node.nodeType === 8 /* CommentNode */ && !node.nodeValue || node.nodeType === 3 /* TextNode */ && !node.wholeText.trim()) {
1427
+ } else if (node.nodeType === 8 /* CommentNode */ || node.nodeType === 3 /* TextNode */ && !node.wholeText.trim()) {
1444
1428
  node.parentNode.removeChild(node);
1445
1429
  }
1446
1430
  }
1447
1431
  });
1448
1432
  }
1449
1433
  }
1434
+ plt.$orgLocNodes$.delete(hostElm["s-id"]);
1450
1435
  hostRef.$hostElement$ = hostElm;
1451
1436
  endHydrate();
1452
1437
  };
@@ -1478,7 +1463,7 @@ var clientHydrate = (parentVNode, childRenderNodes, slotNodes, shadowRootNodes,
1478
1463
  if (!parentVNode.$children$) {
1479
1464
  parentVNode.$children$ = [];
1480
1465
  }
1481
- if (scopeId2 && childIdSplt[0] === hostId) {
1466
+ if (scopeId2) {
1482
1467
  node["s-si"] = scopeId2;
1483
1468
  childVNode.$attrs$.class += " " + scopeId2;
1484
1469
  }
@@ -1608,7 +1593,7 @@ var clientHydrate = (parentVNode, childRenderNodes, slotNodes, shadowRootNodes,
1608
1593
  vnode.$index$ = "0";
1609
1594
  parentVNode.$children$ = [vnode];
1610
1595
  } else {
1611
- if (node.nodeType === 3 /* TextNode */ && !node.wholeText.trim() && !node["s-nr"]) {
1596
+ if (node.nodeType === 3 /* TextNode */ && !node.wholeText.trim()) {
1612
1597
  node.remove();
1613
1598
  }
1614
1599
  }
@@ -1666,10 +1651,10 @@ function addSlot(slotName, slotId, childVNode, node, parentVNode, childRenderNod
1666
1651
  if (childVNode.$name$) {
1667
1652
  childVNode.$elm$.setAttribute("name", slotName);
1668
1653
  }
1669
- if (parentVNode.$elm$.shadowRoot && parentNodeId && parentNodeId !== childVNode.$hostId$) {
1670
- internalCall(parentVNode.$elm$, "insertBefore")(slot, internalCall(parentVNode.$elm$, "children")[0]);
1654
+ if (parentNodeId && parentNodeId !== childVNode.$hostId$) {
1655
+ parentVNode.$elm$.insertBefore(slot, parentVNode.$elm$.children[0]);
1671
1656
  } else {
1672
- internalCall(internalCall(node, "parentNode"), "insertBefore")(slot, node);
1657
+ node.parentNode.insertBefore(childVNode.$elm$, node);
1673
1658
  }
1674
1659
  addSlottedNodes(slottedNodes, slotId, slotName, node, childVNode.$hostId$);
1675
1660
  node.remove();
@@ -1684,8 +1669,8 @@ function addSlot(slotName, slotId, childVNode, node, parentVNode, childRenderNod
1684
1669
  if (shouldMove) {
1685
1670
  parentVNode.$elm$.insertBefore(slot, parentVNode.$elm$.children[0]);
1686
1671
  }
1672
+ childRenderNodes.push(childVNode);
1687
1673
  }
1688
- childRenderNodes.push(childVNode);
1689
1674
  slotNodes.push(childVNode);
1690
1675
  if (!parentVNode.$children$) {
1691
1676
  parentVNode.$children$ = [];
@@ -1693,17 +1678,13 @@ function addSlot(slotName, slotId, childVNode, node, parentVNode, childRenderNod
1693
1678
  parentVNode.$children$[childVNode.$index$] = childVNode;
1694
1679
  }
1695
1680
  var addSlottedNodes = (slottedNodes, slotNodeId, slotName, slotNode, hostId) => {
1696
- var _a, _b;
1697
1681
  let slottedNode = slotNode.nextSibling;
1698
1682
  slottedNodes[slotNodeId] = slottedNodes[slotNodeId] || [];
1699
- if (!slottedNode || ((_a = slottedNode.nodeValue) == null ? void 0 : _a.startsWith(SLOT_NODE_ID + "."))) return;
1700
- do {
1701
- 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 */))) {
1702
- slottedNode["s-sn"] = slotName;
1703
- slottedNodes[slotNodeId].push({ slot: slotNode, node: slottedNode, hostId });
1704
- }
1705
- slottedNode = slottedNode == null ? void 0 : slottedNode.nextSibling;
1706
- } while (slottedNode && !((_b = slottedNode.nodeValue) == null ? void 0 : _b.startsWith(SLOT_NODE_ID + ".")));
1683
+ while (slottedNode && ((slottedNode["getAttribute"] && slottedNode.getAttribute("slot") || slottedNode["s-sn"]) === slotName || slotName === "" && !slottedNode["s-sn"] && (slottedNode.nodeType === 8 /* CommentNode */ && slottedNode.nodeValue.indexOf(".") !== 1 || slottedNode.nodeType === 3 /* TextNode */))) {
1684
+ slottedNode["s-sn"] = slotName;
1685
+ slottedNodes[slotNodeId].push({ slot: slotNode, node: slottedNode, hostId });
1686
+ slottedNode = slottedNode.nextSibling;
1687
+ }
1707
1688
  };
1708
1689
  var findCorrespondingNode = (node, type) => {
1709
1690
  let sibling = node;
@@ -1728,26 +1709,22 @@ createSupportsRuleRe(":host-context");
1728
1709
  // src/runtime/mode.ts
1729
1710
  var computeMode = (elm) => modeResolutionChain.map((h2) => h2(elm)).find((m) => !!m);
1730
1711
  var setMode = (handler) => modeResolutionChain.push(handler);
1731
- var getMode = (ref) => {
1732
- var _a;
1733
- return (_a = getHostRef(ref)) == null ? void 0 : _a.$modeName$;
1734
- };
1735
- var parsePropertyValue = (propValue, propType, isFormAssociated) => {
1736
- if (typeof propValue === "string" && propValue.startsWith(SERIALIZED_PREFIX)) {
1737
- propValue = deserializeProperty(propValue);
1738
- return propValue;
1739
- }
1740
- if (typeof propValue === "string" && (propType & 16 /* Unknown */ || propType & 8 /* Any */) && (propValue.startsWith("{") && propValue.endsWith("}") || propValue.startsWith("[") && propValue.endsWith("]"))) {
1712
+ var getMode = (ref) => getHostRef(ref).$modeName$;
1713
+ var parsePropertyValue = (propValue, propType) => {
1714
+ if (typeof propValue === "string" && (propValue.startsWith("{") && propValue.endsWith("}") || propValue.startsWith("[") && propValue.endsWith("]"))) {
1741
1715
  try {
1742
- return JSON.parse(propValue);
1716
+ propValue = JSON.parse(propValue);
1717
+ return propValue;
1743
1718
  } catch (e) {
1744
1719
  }
1745
1720
  }
1721
+ if (typeof propValue === "string" && propValue.startsWith(SERIALIZED_PREFIX)) {
1722
+ propValue = deserializeProperty(propValue);
1723
+ return propValue;
1724
+ }
1746
1725
  if (propValue != null && !isComplexType(propValue)) {
1747
1726
  if (propType & 4 /* Boolean */) {
1748
- {
1749
- return propValue === "false" ? false : propValue === "" || !!propValue;
1750
- }
1727
+ return propValue === "false" ? false : propValue === "" || !!propValue;
1751
1728
  }
1752
1729
  if (propType & 2 /* Number */) {
1753
1730
  return typeof propValue === "string" ? parseFloat(propValue) : typeof propValue === "number" ? propValue : NaN;
@@ -1759,10 +1736,7 @@ var parsePropertyValue = (propValue, propType, isFormAssociated) => {
1759
1736
  }
1760
1737
  return propValue;
1761
1738
  };
1762
- var getElement = (ref) => {
1763
- var _a;
1764
- return (_a = getHostRef(ref)) == null ? void 0 : _a.$hostElement$ ;
1765
- };
1739
+ var getElement = (ref) => getHostRef(ref).$hostElement$ ;
1766
1740
 
1767
1741
  // src/runtime/event-emitter.ts
1768
1742
  var createEvent = (ref, name, flags) => {
@@ -1783,6 +1757,117 @@ var emitEvent = (elm, name, opts) => {
1783
1757
  elm.dispatchEvent(ev);
1784
1758
  return ev;
1785
1759
  };
1760
+ var rootAppliedStyles = /* @__PURE__ */ new WeakMap();
1761
+ var registerStyle = (scopeId2, cssText, allowCS) => {
1762
+ let style = styles.get(scopeId2);
1763
+ if (supportsConstructableStylesheets && allowCS) {
1764
+ style = style || new CSSStyleSheet();
1765
+ if (typeof style === "string") {
1766
+ style = cssText;
1767
+ } else {
1768
+ style.replaceSync(cssText);
1769
+ }
1770
+ } else {
1771
+ style = cssText;
1772
+ }
1773
+ styles.set(scopeId2, style);
1774
+ };
1775
+ var addStyle = (styleContainerNode, cmpMeta, mode) => {
1776
+ var _a;
1777
+ const scopeId2 = getScopeId(cmpMeta, mode);
1778
+ const style = styles.get(scopeId2);
1779
+ if (!win.document) {
1780
+ return scopeId2;
1781
+ }
1782
+ styleContainerNode = styleContainerNode.nodeType === 11 /* DocumentFragment */ ? styleContainerNode : win.document;
1783
+ if (style) {
1784
+ if (typeof style === "string") {
1785
+ styleContainerNode = styleContainerNode.head || styleContainerNode;
1786
+ let appliedStyles = rootAppliedStyles.get(styleContainerNode);
1787
+ let styleElm;
1788
+ if (!appliedStyles) {
1789
+ rootAppliedStyles.set(styleContainerNode, appliedStyles = /* @__PURE__ */ new Set());
1790
+ }
1791
+ if (!appliedStyles.has(scopeId2)) {
1792
+ if (styleContainerNode.host && (styleElm = styleContainerNode.querySelector(`[${HYDRATED_STYLE_ID}="${scopeId2}"]`))) {
1793
+ styleElm.innerHTML = style;
1794
+ } else {
1795
+ styleElm = document.querySelector(`[${HYDRATED_STYLE_ID}="${scopeId2}"]`) || win.document.createElement("style");
1796
+ styleElm.innerHTML = style;
1797
+ const nonce = (_a = plt.$nonce$) != null ? _a : queryNonceMetaTagContent(win.document);
1798
+ if (nonce != null) {
1799
+ styleElm.setAttribute("nonce", nonce);
1800
+ }
1801
+ if (!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */)) {
1802
+ if (styleContainerNode.nodeName === "HEAD") {
1803
+ const preconnectLinks = styleContainerNode.querySelectorAll("link[rel=preconnect]");
1804
+ const referenceNode2 = preconnectLinks.length > 0 ? preconnectLinks[preconnectLinks.length - 1].nextSibling : styleContainerNode.querySelector("style");
1805
+ styleContainerNode.insertBefore(
1806
+ styleElm,
1807
+ (referenceNode2 == null ? void 0 : referenceNode2.parentNode) === styleContainerNode ? referenceNode2 : null
1808
+ );
1809
+ } else if ("host" in styleContainerNode) {
1810
+ if (supportsConstructableStylesheets) {
1811
+ const stylesheet = new CSSStyleSheet();
1812
+ stylesheet.replaceSync(style);
1813
+ styleContainerNode.adoptedStyleSheets = [stylesheet, ...styleContainerNode.adoptedStyleSheets];
1814
+ } else {
1815
+ const existingStyleContainer = styleContainerNode.querySelector("style");
1816
+ if (existingStyleContainer) {
1817
+ existingStyleContainer.innerHTML = style + existingStyleContainer.innerHTML;
1818
+ } else {
1819
+ styleContainerNode.prepend(styleElm);
1820
+ }
1821
+ }
1822
+ } else {
1823
+ styleContainerNode.append(styleElm);
1824
+ }
1825
+ }
1826
+ if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) {
1827
+ styleContainerNode.insertBefore(styleElm, null);
1828
+ }
1829
+ }
1830
+ if (cmpMeta.$flags$ & 4 /* hasSlotRelocation */) {
1831
+ styleElm.innerHTML += SLOT_FB_CSS;
1832
+ }
1833
+ if (appliedStyles) {
1834
+ appliedStyles.add(scopeId2);
1835
+ }
1836
+ }
1837
+ } else if (!styleContainerNode.adoptedStyleSheets.includes(style)) {
1838
+ styleContainerNode.adoptedStyleSheets = [...styleContainerNode.adoptedStyleSheets, style];
1839
+ }
1840
+ }
1841
+ return scopeId2;
1842
+ };
1843
+ var attachStyles = (hostRef) => {
1844
+ const cmpMeta = hostRef.$cmpMeta$;
1845
+ const elm = hostRef.$hostElement$;
1846
+ const flags = cmpMeta.$flags$;
1847
+ const endAttachStyles = createTime("attachStyles", cmpMeta.$tagName$);
1848
+ const scopeId2 = addStyle(
1849
+ elm.shadowRoot ? elm.shadowRoot : elm.getRootNode(),
1850
+ cmpMeta,
1851
+ hostRef.$modeName$
1852
+ );
1853
+ if (flags & 10 /* needsScopedEncapsulation */) {
1854
+ elm["s-sc"] = scopeId2;
1855
+ elm.classList.add(scopeId2 + "-h");
1856
+ }
1857
+ endAttachStyles();
1858
+ };
1859
+ var getScopeId = (cmp, mode) => "sc-" + (mode && cmp.$flags$ & 32 /* hasMode */ ? cmp.$tagName$ + "-" + mode : cmp.$tagName$);
1860
+ var convertScopedToShadow = (css) => css.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g, "$1{");
1861
+ var hydrateScopedToShadow = () => {
1862
+ if (!win.document) {
1863
+ return;
1864
+ }
1865
+ const styles2 = win.document.querySelectorAll(`[${HYDRATED_STYLE_ID}]`);
1866
+ let i2 = 0;
1867
+ for (; i2 < styles2.length; i2++) {
1868
+ registerStyle(styles2[i2].getAttribute(HYDRATED_STYLE_ID), convertScopedToShadow(styles2[i2].innerHTML), true);
1869
+ }
1870
+ };
1786
1871
  var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags, initialRender) => {
1787
1872
  if (oldValue === newValue) {
1788
1873
  return;
@@ -1793,13 +1878,12 @@ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags, initialRen
1793
1878
  const classList = elm.classList;
1794
1879
  const oldClasses = parseClassList(oldValue);
1795
1880
  let newClasses = parseClassList(newValue);
1796
- if ((elm["s-si"] || elm["s-sc"]) && initialRender) {
1797
- const scopeId2 = elm["s-sc"] || elm["s-si"];
1798
- newClasses.push(scopeId2);
1881
+ if (elm["s-si"] && initialRender) {
1882
+ newClasses.push(elm["s-si"]);
1799
1883
  oldClasses.forEach((c) => {
1800
- if (c.startsWith(scopeId2)) newClasses.push(c);
1884
+ if (c.startsWith(elm["s-si"])) newClasses.push(c);
1801
1885
  });
1802
- newClasses = [...new Set(newClasses)].filter((c) => c);
1886
+ newClasses = [...new Set(newClasses)];
1803
1887
  classList.add(...newClasses);
1804
1888
  } else {
1805
1889
  classList.remove(...oldClasses.filter((c) => c && !newClasses.includes(c)));
@@ -2269,8 +2353,6 @@ var patch = (oldVNode, newVNode2, isInitialRender = false) => {
2269
2353
  !isInitialRender && BUILD.updatable && oldChildren !== null
2270
2354
  ) {
2271
2355
  removeVnodes(oldChildren, 0, oldChildren.length - 1);
2272
- } else if (isInitialRender && BUILD.updatable && oldChildren !== null && newChildren === null) {
2273
- newVNode2.$children$ = oldChildren;
2274
2356
  }
2275
2357
  if (isSvgMode && tag === "svg") {
2276
2358
  isSvgMode = false;
@@ -2509,12 +2591,6 @@ var scheduleUpdate = (hostRef, isInitialLoad) => {
2509
2591
  }
2510
2592
  attachToAncestor(hostRef, hostRef.$ancestorComponent$);
2511
2593
  const dispatch = () => dispatchHooks(hostRef, isInitialLoad);
2512
- if (isInitialLoad) {
2513
- queueMicrotask(() => {
2514
- dispatch();
2515
- });
2516
- return;
2517
- }
2518
2594
  return writeTask(dispatch) ;
2519
2595
  };
2520
2596
  var dispatchHooks = (hostRef, isInitialLoad) => {
@@ -2638,10 +2714,9 @@ var postUpdateComponent = (hostRef) => {
2638
2714
  }
2639
2715
  };
2640
2716
  var forceUpdate = (ref) => {
2641
- var _a;
2642
2717
  {
2643
2718
  const hostRef = getHostRef(ref);
2644
- const isConnected = (_a = hostRef == null ? void 0 : hostRef.$hostElement$) == null ? void 0 : _a.isConnected;
2719
+ const isConnected = hostRef.$hostElement$.isConnected;
2645
2720
  if (isConnected && (hostRef.$flags$ & (2 /* hasRendered */ | 16 /* isQueuedForUpdate */)) === 2 /* hasRendered */) {
2646
2721
  scheduleUpdate(hostRef, false);
2647
2722
  }
@@ -2649,13 +2724,7 @@ var forceUpdate = (ref) => {
2649
2724
  }
2650
2725
  };
2651
2726
  var appDidLoad = (who) => {
2652
- var _a;
2653
2727
  nextTick(() => emitEvent(win, "appload", { detail: { namespace: NAMESPACE } }));
2654
- {
2655
- if ((_a = plt.$orgLocNodes$) == null ? void 0 : _a.size) {
2656
- plt.$orgLocNodes$.clear();
2657
- }
2658
- }
2659
2728
  };
2660
2729
  var safeCall = (instance, method, arg, elm) => {
2661
2730
  if (instance && instance[method]) {
@@ -2676,9 +2745,6 @@ var addHydratedFlag = (elm) => {
2676
2745
  var getValue = (ref, propName) => getHostRef(ref).$instanceValues$.get(propName);
2677
2746
  var setValue = (ref, propName, newVal, cmpMeta) => {
2678
2747
  const hostRef = getHostRef(ref);
2679
- if (!hostRef) {
2680
- return;
2681
- }
2682
2748
  if (!hostRef) {
2683
2749
  throw new Error(
2684
2750
  `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).`
@@ -2688,9 +2754,7 @@ var setValue = (ref, propName, newVal, cmpMeta) => {
2688
2754
  const oldVal = hostRef.$instanceValues$.get(propName);
2689
2755
  const flags = hostRef.$flags$;
2690
2756
  const instance = hostRef.$lazyInstance$ ;
2691
- newVal = parsePropertyValue(
2692
- newVal,
2693
- cmpMeta.$members$[propName][0]);
2757
+ newVal = parsePropertyValue(newVal, cmpMeta.$members$[propName][0]);
2694
2758
  const areBothNaN = Number.isNaN(oldVal) && Number.isNaN(newVal);
2695
2759
  const didValueChange = newVal !== oldVal && !areBothNaN;
2696
2760
  if ((!(flags & 8 /* isConstructingInstance */) || oldVal === void 0) && didValueChange) {
@@ -2754,9 +2818,6 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
2754
2818
  Object.defineProperty(prototype, memberName, {
2755
2819
  set(newValue) {
2756
2820
  const ref = getHostRef(this);
2757
- if (!ref) {
2758
- return;
2759
- }
2760
2821
  if (origSetter) {
2761
2822
  const currentValue = memberFlags & 32 /* State */ ? this[memberName] : ref.$hostElement$[memberName];
2762
2823
  if (typeof currentValue === "undefined" && ref.$instanceValues$.get(memberName)) {
@@ -2764,11 +2825,7 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
2764
2825
  } else if (!ref.$instanceValues$.get(memberName) && currentValue) {
2765
2826
  ref.$instanceValues$.set(memberName, currentValue);
2766
2827
  }
2767
- origSetter.apply(this, [
2768
- parsePropertyValue(
2769
- newValue,
2770
- memberFlags)
2771
- ]);
2828
+ origSetter.apply(this, [parsePropertyValue(newValue, memberFlags)]);
2772
2829
  newValue = memberFlags & 32 /* State */ ? this[memberName] : ref.$hostElement$[memberName];
2773
2830
  setValue(this, memberName, newValue, cmpMeta);
2774
2831
  return;
@@ -2790,9 +2847,7 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
2790
2847
  if (!ref.$instanceValues$.get(memberName) && currentValue) {
2791
2848
  ref.$instanceValues$.set(memberName, currentValue);
2792
2849
  }
2793
- ref.$lazyInstance$[memberName] = parsePropertyValue(
2794
- newValue,
2795
- memberFlags);
2850
+ ref.$lazyInstance$[memberName] = parsePropertyValue(newValue, memberFlags);
2796
2851
  setValue(this, memberName, ref.$lazyInstance$[memberName], cmpMeta);
2797
2852
  };
2798
2853
  if (ref.$lazyInstance$) {
@@ -2831,7 +2886,7 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
2831
2886
  } else if (propName == null) {
2832
2887
  const hostRef = getHostRef(this);
2833
2888
  const flags2 = hostRef == null ? void 0 : hostRef.$flags$;
2834
- if (hostRef && flags2 && !(flags2 & 8 /* isConstructingInstance */) && flags2 & 128 /* isWatchReady */ && newValue !== oldValue) {
2889
+ if (flags2 && !(flags2 & 8 /* isConstructingInstance */) && flags2 & 128 /* isWatchReady */ && newValue !== oldValue) {
2835
2890
  const instance = hostRef.$lazyInstance$ ;
2836
2891
  const entry = (_a2 = cmpMeta.$watchers$) == null ? void 0 : _a2[attrName];
2837
2892
  entry == null ? void 0 : entry.forEach((callbackName) => {
@@ -2951,9 +3006,6 @@ var fireConnectedCallback = (instance, elm) => {
2951
3006
  var connectedCallback = (elm) => {
2952
3007
  if ((plt.$flags$ & 1 /* isTmpDisconnected */) === 0) {
2953
3008
  const hostRef = getHostRef(elm);
2954
- if (!hostRef) {
2955
- return;
2956
- }
2957
3009
  const cmpMeta = hostRef.$cmpMeta$;
2958
3010
  const endConnected = createTime("connectedCallback", cmpMeta.$tagName$);
2959
3011
  if (!(hostRef.$flags$ & 1 /* hasConnected */)) {
@@ -3029,7 +3081,7 @@ var disconnectedCallback = async (elm) => {
3029
3081
  if ((plt.$flags$ & 1 /* isTmpDisconnected */) === 0) {
3030
3082
  const hostRef = getHostRef(elm);
3031
3083
  {
3032
- if (hostRef == null ? void 0 : hostRef.$rmListeners$) {
3084
+ if (hostRef.$rmListeners$) {
3033
3085
  hostRef.$rmListeners$.map((rmListener) => rmListener());
3034
3086
  hostRef.$rmListeners$ = void 0;
3035
3087
  }
@@ -3122,9 +3174,6 @@ var bootstrapLazy = (lazyBundles, options = {}) => {
3122
3174
  }
3123
3175
  connectedCallback() {
3124
3176
  const hostRef = getHostRef(this);
3125
- if (!hostRef) {
3126
- return;
3127
- }
3128
3177
  if (!this.hasRegisteredEventListeners) {
3129
3178
  this.hasRegisteredEventListeners = true;
3130
3179
  addHostEventListeners(this, hostRef, cmpMeta.$listeners$);
@@ -3144,9 +3193,6 @@ var bootstrapLazy = (lazyBundles, options = {}) => {
3144
3193
  plt.raf(() => {
3145
3194
  var _a3;
3146
3195
  const hostRef = getHostRef(this);
3147
- if (!hostRef) {
3148
- return;
3149
- }
3150
3196
  const i2 = deferredConnectedCallbacks.findIndex((host) => host === this);
3151
3197
  if (i2 > -1) {
3152
3198
  deferredConnectedCallbacks.splice(i2, 1);
@@ -3157,12 +3203,11 @@ var bootstrapLazy = (lazyBundles, options = {}) => {
3157
3203
  });
3158
3204
  }
3159
3205
  componentOnReady() {
3160
- var _a3;
3161
- return (_a3 = getHostRef(this)) == null ? void 0 : _a3.$onReadyPromise$;
3206
+ return getHostRef(this).$onReadyPromise$;
3162
3207
  }
3163
3208
  };
3164
- if (!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) && cmpMeta.$flags$ & 256 /* hasRenderFn */) {
3165
- {
3209
+ {
3210
+ if (cmpMeta.$flags$ & 2 /* scopedCssEncapsulation */) {
3166
3211
  patchPseudoShadowDom(HostElement.prototype);
3167
3212
  }
3168
3213
  }
@@ -3250,4 +3295,4 @@ var hostListenerOpts = (flags) => supportsListenerOptions ? {
3250
3295
  // src/runtime/nonce.ts
3251
3296
  var setNonce = (nonce) => plt.$nonce$ = nonce;
3252
3297
 
3253
- export { Build as B, Fragment as F, H, LogLevel as L, readTask as a, bootstrapLazy as b, createEvent as c, Host as d, config as e, printIonWarning as f, getElement as g, h, forceUpdate as i, printIonError as j, getAssetPath as k, configFromSession as l, configFromURL as m, saveConfig as n, getMode as o, promiseResolve as p, setMode as q, registerInstance as r, setNonce as s, printRequiredElementError as t, writeTask as w };
3298
+ export { Build as B, Fragment as F, H, LogLevel as L, isPlatform as a, bootstrapLazy as b, getPlatforms as c, createEvent as d, getIonMode as e, readTask as f, globalScripts as g, h, initialize as i, Host as j, getElement as k, config as l, printIonWarning as m, forceUpdate as n, printIonError as o, promiseResolve as p, getAssetPath as q, registerInstance as r, setNonce as s, printRequiredElementError as t, writeTask as w };