@ionic/core 8.3.1-dev.11726241210.1ab7a0ab → 8.3.1-dev.11726258029.1014159b

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 (335) hide show
  1. package/dist/cjs/{app-globals-2cfd442b.js → app-globals-9d795e44.js} +1 -1
  2. package/dist/cjs/{button-active-1a40c735.js → button-active-4115dc12.js} +1 -1
  3. package/dist/cjs/{hardware-back-button-1f867b1e.js → hardware-back-button-35a9ebdb.js} +2 -2
  4. package/dist/cjs/{index-c170694d.js → index-248835d7.js} +2 -2
  5. package/dist/cjs/{index-b9e25ecd.js → index-42dd5e74.js} +8 -2
  6. package/dist/cjs/{index-9bdd4f2a.js → index-44dacdce.js} +4 -4
  7. package/dist/cjs/index.cjs.js +8 -8
  8. package/dist/cjs/ion-accordion_2.cjs.entry.js +2 -2
  9. package/dist/cjs/ion-action-sheet.cjs.entry.js +5 -5
  10. package/dist/cjs/ion-alert.cjs.entry.js +5 -5
  11. package/dist/cjs/ion-app_8.cjs.entry.js +6 -6
  12. package/dist/cjs/ion-avatar_3.cjs.entry.js +2 -2
  13. package/dist/cjs/ion-back-button.cjs.entry.js +2 -2
  14. package/dist/cjs/ion-backdrop.cjs.entry.js +2 -2
  15. package/dist/cjs/ion-breadcrumb_2.cjs.entry.js +2 -2
  16. package/dist/cjs/ion-button_2.cjs.entry.js +2 -2
  17. package/dist/cjs/ion-card_5.cjs.entry.js +2 -2
  18. package/dist/cjs/ion-checkbox.cjs.entry.js +2 -2
  19. package/dist/cjs/ion-chip.cjs.entry.js +2 -2
  20. package/dist/cjs/ion-col_3.cjs.entry.js +2 -2
  21. package/dist/cjs/ion-datetime-button.cjs.entry.js +2 -2
  22. package/dist/cjs/ion-datetime_3.cjs.entry.js +4 -4
  23. package/dist/cjs/ion-fab_3.cjs.entry.js +2 -2
  24. package/dist/cjs/ion-img.cjs.entry.js +2 -2
  25. package/dist/cjs/ion-infinite-scroll_2.cjs.entry.js +2 -2
  26. package/dist/cjs/ion-input-password-toggle.cjs.entry.js +2 -2
  27. package/dist/cjs/ion-input.cjs.entry.js +2 -2
  28. package/dist/cjs/ion-item-option_3.cjs.entry.js +2 -2
  29. package/dist/cjs/ion-item_8.cjs.entry.js +2 -2
  30. package/dist/cjs/ion-loading.cjs.entry.js +4 -4
  31. package/dist/cjs/ion-menu_3.cjs.entry.js +5 -5
  32. package/dist/cjs/ion-modal.cjs.entry.js +5 -5
  33. package/dist/cjs/ion-nav_2.cjs.entry.js +3 -3
  34. package/dist/cjs/ion-picker-column-option.cjs.entry.js +2 -2
  35. package/dist/cjs/ion-picker-column.cjs.entry.js +2 -2
  36. package/dist/cjs/ion-picker.cjs.entry.js +1 -1
  37. package/dist/cjs/ion-popover.cjs.entry.js +5 -5
  38. package/dist/cjs/ion-progress-bar.cjs.entry.js +2 -2
  39. package/dist/cjs/ion-radio_2.cjs.entry.js +2 -2
  40. package/dist/cjs/ion-range.cjs.entry.js +2 -2
  41. package/dist/cjs/ion-refresher_2.cjs.entry.js +2 -2
  42. package/dist/cjs/ion-reorder_2.cjs.entry.js +2 -2
  43. package/dist/cjs/ion-ripple-effect.cjs.entry.js +2 -2
  44. package/dist/cjs/ion-route_4.cjs.entry.js +2 -2
  45. package/dist/cjs/ion-searchbar.cjs.entry.js +2 -2
  46. package/dist/cjs/ion-segment_2.cjs.entry.js +2 -2
  47. package/dist/cjs/ion-select_3.cjs.entry.js +4 -4
  48. package/dist/cjs/ion-spinner.cjs.entry.js +2 -2
  49. package/dist/cjs/ion-split-pane.cjs.entry.js +2 -2
  50. package/dist/cjs/ion-tab-bar_2.cjs.entry.js +2 -2
  51. package/dist/cjs/ion-tab_2.cjs.entry.js +1 -1
  52. package/dist/cjs/ion-text.cjs.entry.js +2 -2
  53. package/dist/cjs/ion-textarea.cjs.entry.js +2 -2
  54. package/dist/cjs/ion-toast.cjs.entry.js +4 -4
  55. package/dist/cjs/ion-toggle.cjs.entry.js +2 -2
  56. package/dist/cjs/{ionic-global-86430f67.js → ionic-global-2fc6b860.js} +1 -1
  57. package/dist/cjs/ionic.cjs.js +4 -4
  58. package/dist/cjs/{ios.transition-ac67e283.js → ios.transition-c28ff3cc.js} +3 -3
  59. package/dist/cjs/loader.cjs.js +3 -3
  60. package/dist/cjs/{md.transition-8ceb4e1a.js → md.transition-01295b30.js} +3 -3
  61. package/dist/cjs/{overlays-4451d3fc.js → overlays-76ac42e7.js} +2 -2
  62. package/dist/cjs/{status-tap-e52a48f8.js → status-tap-75c3a35d.js} +1 -1
  63. package/dist/collection/collection-manifest.json +2 -2
  64. package/dist/docs.json +3 -3
  65. package/dist/esm/{app-globals-b9f6e516.js → app-globals-cef8aa6d.js} +1 -1
  66. package/dist/esm/{button-active-13c37337.js → button-active-6700b8ee.js} +1 -1
  67. package/dist/esm/{hardware-back-button-8e2c1354.js → hardware-back-button-3dd2cf5a.js} +2 -2
  68. package/dist/esm/{index-4e02bb5d.js → index-3ed04e6d.js} +8 -2
  69. package/dist/esm/{index-8579e7fd.js → index-42907296.js} +4 -4
  70. package/dist/esm/{index-97b0ab3f.js → index-deb1a83e.js} +2 -2
  71. package/dist/esm/index.js +8 -8
  72. package/dist/esm/ion-accordion_2.entry.js +2 -2
  73. package/dist/esm/ion-action-sheet.entry.js +5 -5
  74. package/dist/esm/ion-alert.entry.js +5 -5
  75. package/dist/esm/ion-app_8.entry.js +6 -6
  76. package/dist/esm/ion-avatar_3.entry.js +2 -2
  77. package/dist/esm/ion-back-button.entry.js +2 -2
  78. package/dist/esm/ion-backdrop.entry.js +2 -2
  79. package/dist/esm/ion-breadcrumb_2.entry.js +2 -2
  80. package/dist/esm/ion-button_2.entry.js +2 -2
  81. package/dist/esm/ion-card_5.entry.js +2 -2
  82. package/dist/esm/ion-checkbox.entry.js +2 -2
  83. package/dist/esm/ion-chip.entry.js +2 -2
  84. package/dist/esm/ion-col_3.entry.js +2 -2
  85. package/dist/esm/ion-datetime-button.entry.js +2 -2
  86. package/dist/esm/ion-datetime_3.entry.js +4 -4
  87. package/dist/esm/ion-fab_3.entry.js +2 -2
  88. package/dist/esm/ion-img.entry.js +2 -2
  89. package/dist/esm/ion-infinite-scroll_2.entry.js +2 -2
  90. package/dist/esm/ion-input-password-toggle.entry.js +2 -2
  91. package/dist/esm/ion-input.entry.js +2 -2
  92. package/dist/esm/ion-item-option_3.entry.js +2 -2
  93. package/dist/esm/ion-item_8.entry.js +2 -2
  94. package/dist/esm/ion-loading.entry.js +4 -4
  95. package/dist/esm/ion-menu_3.entry.js +5 -5
  96. package/dist/esm/ion-modal.entry.js +5 -5
  97. package/dist/esm/ion-nav_2.entry.js +3 -3
  98. package/dist/esm/ion-picker-column-option.entry.js +2 -2
  99. package/dist/esm/ion-picker-column.entry.js +2 -2
  100. package/dist/esm/ion-picker.entry.js +1 -1
  101. package/dist/esm/ion-popover.entry.js +5 -5
  102. package/dist/esm/ion-progress-bar.entry.js +2 -2
  103. package/dist/esm/ion-radio_2.entry.js +2 -2
  104. package/dist/esm/ion-range.entry.js +2 -2
  105. package/dist/esm/ion-refresher_2.entry.js +2 -2
  106. package/dist/esm/ion-reorder_2.entry.js +2 -2
  107. package/dist/esm/ion-ripple-effect.entry.js +2 -2
  108. package/dist/esm/ion-route_4.entry.js +2 -2
  109. package/dist/esm/ion-searchbar.entry.js +2 -2
  110. package/dist/esm/ion-segment_2.entry.js +2 -2
  111. package/dist/esm/ion-select_3.entry.js +4 -4
  112. package/dist/esm/ion-spinner.entry.js +2 -2
  113. package/dist/esm/ion-split-pane.entry.js +2 -2
  114. package/dist/esm/ion-tab-bar_2.entry.js +2 -2
  115. package/dist/esm/ion-tab_2.entry.js +1 -1
  116. package/dist/esm/ion-text.entry.js +2 -2
  117. package/dist/esm/ion-textarea.entry.js +2 -2
  118. package/dist/esm/ion-toast.entry.js +4 -4
  119. package/dist/esm/ion-toggle.entry.js +2 -2
  120. package/dist/esm/{ionic-global-8f9440ec.js → ionic-global-aba82484.js} +1 -1
  121. package/dist/esm/ionic.js +5 -5
  122. package/dist/esm/{ios.transition-beb96e76.js → ios.transition-903646a5.js} +3 -3
  123. package/dist/esm/loader.js +4 -4
  124. package/dist/esm/{md.transition-d5aa5703.js → md.transition-92c7f8a6.js} +3 -3
  125. package/dist/esm/{overlays-2ea57630.js → overlays-d1a2f8a8.js} +2 -2
  126. package/dist/esm/{status-tap-a264a37f.js → status-tap-97e323a9.js} +1 -1
  127. package/dist/esm-es5/app-globals-cef8aa6d.js +4 -0
  128. package/dist/esm-es5/{button-active-13c37337.js → button-active-6700b8ee.js} +1 -1
  129. package/dist/esm-es5/{hardware-back-button-8e2c1354.js → hardware-back-button-3dd2cf5a.js} +1 -1
  130. package/dist/esm-es5/index-3ed04e6d.js +5 -0
  131. package/dist/esm-es5/index-42907296.js +4 -0
  132. package/dist/esm-es5/{index-97b0ab3f.js → index-deb1a83e.js} +1 -1
  133. package/dist/esm-es5/index.js +1 -1
  134. package/dist/esm-es5/ion-accordion_2.entry.js +1 -1
  135. package/dist/esm-es5/ion-action-sheet.entry.js +1 -1
  136. package/dist/esm-es5/ion-alert.entry.js +1 -1
  137. package/dist/esm-es5/ion-app_8.entry.js +1 -1
  138. package/dist/esm-es5/ion-avatar_3.entry.js +1 -1
  139. package/dist/esm-es5/ion-back-button.entry.js +1 -1
  140. package/dist/esm-es5/ion-backdrop.entry.js +1 -1
  141. package/dist/esm-es5/ion-breadcrumb_2.entry.js +1 -1
  142. package/dist/esm-es5/ion-button_2.entry.js +1 -1
  143. package/dist/esm-es5/ion-card_5.entry.js +1 -1
  144. package/dist/esm-es5/ion-checkbox.entry.js +1 -1
  145. package/dist/esm-es5/ion-chip.entry.js +1 -1
  146. package/dist/esm-es5/ion-col_3.entry.js +1 -1
  147. package/dist/esm-es5/ion-datetime-button.entry.js +1 -1
  148. package/dist/esm-es5/ion-datetime_3.entry.js +1 -1
  149. package/dist/esm-es5/ion-fab_3.entry.js +1 -1
  150. package/dist/esm-es5/ion-img.entry.js +1 -1
  151. package/dist/esm-es5/ion-infinite-scroll_2.entry.js +1 -1
  152. package/dist/esm-es5/ion-input-password-toggle.entry.js +1 -1
  153. package/dist/esm-es5/ion-input.entry.js +1 -1
  154. package/dist/esm-es5/ion-item-option_3.entry.js +1 -1
  155. package/dist/esm-es5/ion-item_8.entry.js +1 -1
  156. package/dist/esm-es5/ion-loading.entry.js +1 -1
  157. package/dist/esm-es5/ion-menu_3.entry.js +1 -1
  158. package/dist/esm-es5/ion-modal.entry.js +1 -1
  159. package/dist/esm-es5/ion-nav_2.entry.js +1 -1
  160. package/dist/esm-es5/ion-picker-column-option.entry.js +1 -1
  161. package/dist/esm-es5/ion-picker-column.entry.js +1 -1
  162. package/dist/esm-es5/ion-picker.entry.js +1 -1
  163. package/dist/esm-es5/ion-popover.entry.js +1 -1
  164. package/dist/esm-es5/ion-progress-bar.entry.js +1 -1
  165. package/dist/esm-es5/ion-radio_2.entry.js +1 -1
  166. package/dist/esm-es5/ion-range.entry.js +1 -1
  167. package/dist/esm-es5/ion-refresher_2.entry.js +1 -1
  168. package/dist/esm-es5/ion-reorder_2.entry.js +1 -1
  169. package/dist/esm-es5/ion-ripple-effect.entry.js +1 -1
  170. package/dist/esm-es5/ion-route_4.entry.js +1 -1
  171. package/dist/esm-es5/ion-searchbar.entry.js +1 -1
  172. package/dist/esm-es5/ion-segment_2.entry.js +1 -1
  173. package/dist/esm-es5/ion-select_3.entry.js +1 -1
  174. package/dist/esm-es5/ion-spinner.entry.js +1 -1
  175. package/dist/esm-es5/ion-split-pane.entry.js +1 -1
  176. package/dist/esm-es5/ion-tab-bar_2.entry.js +1 -1
  177. package/dist/esm-es5/ion-tab_2.entry.js +1 -1
  178. package/dist/esm-es5/ion-text.entry.js +1 -1
  179. package/dist/esm-es5/ion-textarea.entry.js +1 -1
  180. package/dist/esm-es5/ion-toast.entry.js +1 -1
  181. package/dist/esm-es5/ion-toggle.entry.js +1 -1
  182. package/dist/esm-es5/{ionic-global-8f9440ec.js → ionic-global-aba82484.js} +1 -1
  183. package/dist/esm-es5/ionic.js +1 -1
  184. package/dist/esm-es5/{ios.transition-beb96e76.js → ios.transition-903646a5.js} +1 -1
  185. package/dist/esm-es5/loader.js +1 -1
  186. package/dist/esm-es5/md.transition-92c7f8a6.js +4 -0
  187. package/dist/esm-es5/{overlays-2ea57630.js → overlays-d1a2f8a8.js} +1 -1
  188. package/dist/esm-es5/{status-tap-a264a37f.js → status-tap-97e323a9.js} +1 -1
  189. package/dist/ionic/index.esm.js +1 -1
  190. package/dist/ionic/ionic.esm.js +1 -1
  191. package/dist/ionic/ionic.js +1 -1
  192. package/dist/ionic/{p-5ae3649f.system.entry.js → p-0047371d.system.entry.js} +1 -1
  193. package/dist/ionic/{p-b032d7ad.system.entry.js → p-019fe44c.system.entry.js} +1 -1
  194. package/dist/ionic/{p-46121609.entry.js → p-05399319.entry.js} +1 -1
  195. package/dist/ionic/{p-62bb4a33.system.entry.js → p-067db520.system.entry.js} +1 -1
  196. package/dist/ionic/{p-15ef22b3.system.entry.js → p-0956b807.system.entry.js} +2 -2
  197. package/dist/ionic/{p-aa5358cb.system.entry.js → p-0b2cb317.system.entry.js} +1 -1
  198. package/dist/ionic/{p-7123a4b9.system.js → p-0b61b67e.system.js} +1 -1
  199. package/dist/ionic/{p-669c0566.system.js → p-0bfdb16f.system.js} +1 -1
  200. package/dist/ionic/{p-330d7e08.entry.js → p-0dc1d769.entry.js} +1 -1
  201. package/dist/ionic/p-0f9c24fe.system.js +4 -0
  202. package/dist/ionic/{p-2b37f5bd.entry.js → p-1350a9c2.entry.js} +1 -1
  203. package/dist/ionic/{p-da5af268.system.entry.js → p-14616c10.system.entry.js} +1 -1
  204. package/dist/ionic/{p-ebe1326c.system.js → p-149da974.system.js} +1 -1
  205. package/dist/ionic/{p-1b57577b.entry.js → p-16b7cfc2.entry.js} +1 -1
  206. package/dist/ionic/{p-8302d21c.system.entry.js → p-192e07b1.system.entry.js} +1 -1
  207. package/dist/ionic/{p-21904499.entry.js → p-1955f63a.entry.js} +1 -1
  208. package/dist/ionic/{p-cdb1dc2f.system.entry.js → p-1ca23ae9.system.entry.js} +2 -2
  209. package/dist/ionic/{p-289d16f5.system.js → p-1d524f20.system.js} +1 -1
  210. package/dist/ionic/{p-ff417d5d.system.entry.js → p-2067d815.system.entry.js} +1 -1
  211. package/dist/ionic/{p-98a7aade.js → p-2583e966.js} +1 -1
  212. package/dist/ionic/p-263a3f91.system.js +4 -0
  213. package/dist/ionic/p-2b2a48ed.entry.js +4 -0
  214. package/dist/ionic/{p-491deb33.entry.js → p-2b87a770.entry.js} +1 -1
  215. package/dist/ionic/{p-1e1b3d99.system.entry.js → p-2e2c1a93.system.entry.js} +1 -1
  216. package/dist/ionic/{p-6e4ff107.system.entry.js → p-2e5ee828.system.entry.js} +1 -1
  217. package/dist/ionic/p-2e6cf7f2.js +4 -0
  218. package/dist/ionic/{p-6d857105.system.entry.js → p-2f244b7c.system.entry.js} +1 -1
  219. package/dist/ionic/{p-c6181d52.system.js → p-30482ed4.system.js} +1 -1
  220. package/dist/ionic/{p-cc35239f.entry.js → p-33fb4e9d.entry.js} +1 -1
  221. package/dist/ionic/{p-1cacb881.system.entry.js → p-3447e604.system.entry.js} +1 -1
  222. package/dist/ionic/p-3b2c0ca4.entry.js +4 -0
  223. package/dist/ionic/{p-bb013b6c.system.entry.js → p-3c8001c7.system.entry.js} +1 -1
  224. package/dist/ionic/{p-0065a3d0.system.entry.js → p-3e4a7bd8.system.entry.js} +1 -1
  225. package/dist/ionic/{p-7de39857.system.entry.js → p-40277321.system.entry.js} +1 -1
  226. package/dist/ionic/{p-b0fea0ab.system.entry.js → p-4029255b.system.entry.js} +1 -1
  227. package/dist/ionic/{p-f4d568f8.entry.js → p-4205a4d9.entry.js} +1 -1
  228. package/dist/ionic/{p-303f64cd.entry.js → p-428db536.entry.js} +1 -1
  229. package/dist/ionic/{p-b6f09d60.system.entry.js → p-42f9a951.system.entry.js} +1 -1
  230. package/dist/ionic/{p-4384e5de.system.entry.js → p-44d98be5.system.entry.js} +1 -1
  231. package/dist/ionic/{p-9a64afc9.entry.js → p-46bac798.entry.js} +1 -1
  232. package/dist/ionic/{p-86deab17.system.entry.js → p-488bc4e4.system.entry.js} +1 -1
  233. package/dist/ionic/{p-4ad3a2de.entry.js → p-49c26aa9.entry.js} +1 -1
  234. package/dist/ionic/{p-11810112.system.entry.js → p-4ad055dc.system.entry.js} +1 -1
  235. package/dist/ionic/{p-d7cde2c6.entry.js → p-4b1364c9.entry.js} +1 -1
  236. package/dist/ionic/{p-8b3ff142.entry.js → p-4bd23b81.entry.js} +1 -1
  237. package/dist/ionic/{p-8d460677.entry.js → p-4d81423b.entry.js} +1 -1
  238. package/dist/ionic/{p-2afb9310.entry.js → p-4e7b0cee.entry.js} +1 -1
  239. package/dist/ionic/{p-1dfe9aa7.entry.js → p-4fe468c2.entry.js} +1 -1
  240. package/dist/ionic/{p-9a957058.system.entry.js → p-51ae8a06.system.entry.js} +1 -1
  241. package/dist/ionic/{p-e02807c4.entry.js → p-51d30486.entry.js} +1 -1
  242. package/dist/ionic/{p-3ba261ac.entry.js → p-52c20808.entry.js} +1 -1
  243. package/dist/ionic/p-56435093.js +4 -0
  244. package/dist/ionic/{p-b6fbbe81.system.entry.js → p-57f94155.system.entry.js} +1 -1
  245. package/dist/ionic/p-59a394ad.system.js +5 -0
  246. package/dist/ionic/{p-98203dbd.system.entry.js → p-59cda258.system.entry.js} +1 -1
  247. package/dist/ionic/{p-4440f5b4.entry.js → p-5d43e642.entry.js} +1 -1
  248. package/dist/ionic/{p-4fa22b8c.entry.js → p-5d5d5073.entry.js} +1 -1
  249. package/dist/ionic/p-5d6c0bf8.system.js +4 -0
  250. package/dist/ionic/{p-acaa514f.system.entry.js → p-5d7ea80a.system.entry.js} +1 -1
  251. package/dist/ionic/{p-1d3ea8c1.entry.js → p-5e94453a.entry.js} +1 -1
  252. package/dist/ionic/{p-fca0933c.system.entry.js → p-5e97855d.system.entry.js} +1 -1
  253. package/dist/ionic/{p-eecf3a84.entry.js → p-5ef51d63.entry.js} +1 -1
  254. package/dist/ionic/{p-8ed4381f.js → p-600a4ea0.js} +1 -1
  255. package/dist/ionic/{p-ed76b287.entry.js → p-62b04b4c.entry.js} +1 -1
  256. package/dist/ionic/{p-5749f245.system.entry.js → p-663fe7c8.system.entry.js} +1 -1
  257. package/dist/ionic/{p-2d93a7e5.system.js → p-68da7fc8.system.js} +1 -1
  258. package/dist/ionic/{p-fd70cb80.system.entry.js → p-6bbad9e4.system.entry.js} +1 -1
  259. package/dist/ionic/{p-c7b3353c.entry.js → p-6ca2a6af.entry.js} +1 -1
  260. package/dist/ionic/{p-e8cd5bde.js → p-6f465cce.js} +1 -1
  261. package/dist/ionic/{p-7f375f5a.entry.js → p-70325536.entry.js} +1 -1
  262. package/dist/ionic/p-714841be.system.js +4 -0
  263. package/dist/ionic/p-7414228b.js +5 -0
  264. package/dist/ionic/{p-505121c4.entry.js → p-76bb8eb2.entry.js} +1 -1
  265. package/dist/ionic/{p-06fbb310.entry.js → p-7e07fb64.entry.js} +1 -1
  266. package/dist/ionic/{p-49ffacc0.system.entry.js → p-7e497250.system.entry.js} +1 -1
  267. package/dist/ionic/{p-96503a77.entry.js → p-89bd4ed2.entry.js} +1 -1
  268. package/dist/ionic/{p-444c76ee.system.entry.js → p-91d713b7.system.entry.js} +1 -1
  269. package/dist/ionic/{p-ab44e74e.entry.js → p-933e9e71.entry.js} +1 -1
  270. package/dist/ionic/{p-e00617fb.entry.js → p-99859f95.entry.js} +1 -1
  271. package/dist/ionic/{p-d6b5bfa3.entry.js → p-9f8740b2.entry.js} +1 -1
  272. package/dist/ionic/{p-840cdfe8.entry.js → p-a8775bf9.entry.js} +1 -1
  273. package/dist/ionic/{p-50c38a28.system.entry.js → p-abc5c0a4.system.entry.js} +1 -1
  274. package/dist/ionic/{p-34a6b5a7.entry.js → p-aed9cc5b.entry.js} +1 -1
  275. package/dist/ionic/{p-8884ee37.system.entry.js → p-aee3f804.system.entry.js} +1 -1
  276. package/dist/ionic/{p-97f6c01c.system.entry.js → p-b2a2c6cf.system.entry.js} +1 -1
  277. package/dist/ionic/p-b69c1e65.system.entry.js +4 -0
  278. package/dist/ionic/{p-2056f176.js → p-b719790b.js} +1 -1
  279. package/dist/ionic/{p-cf6bad6d.entry.js → p-b7836cec.entry.js} +1 -1
  280. package/dist/ionic/{p-6be871f6.system.entry.js → p-b8157bb5.system.entry.js} +1 -1
  281. package/dist/ionic/{p-184f2f63.system.entry.js → p-bae531fb.system.entry.js} +1 -1
  282. package/dist/ionic/{p-4a963829.system.entry.js → p-bd9fd891.system.entry.js} +1 -1
  283. package/dist/ionic/{p-89d17c48.system.entry.js → p-c342dbdf.system.entry.js} +1 -1
  284. package/dist/ionic/{p-6e444bfa.entry.js → p-c57d792e.entry.js} +1 -1
  285. package/dist/ionic/{p-76256933.system.entry.js → p-c76e43a2.system.entry.js} +1 -1
  286. package/dist/ionic/{p-d690dc50.system.entry.js → p-c8e78b70.system.entry.js} +1 -1
  287. package/dist/ionic/{p-3d9ecf70.entry.js → p-cb9da2a3.entry.js} +1 -1
  288. package/dist/ionic/{p-d81e5138.entry.js → p-cc3e2b52.entry.js} +1 -1
  289. package/dist/ionic/{p-b0fbe12b.entry.js → p-ce58e8e0.entry.js} +1 -1
  290. package/dist/ionic/p-d073ba84.entry.js +4 -0
  291. package/dist/ionic/{p-985f06f3.entry.js → p-d0f8d0aa.entry.js} +1 -1
  292. package/dist/ionic/{p-2de64a3f.system.entry.js → p-d65d9c9c.system.entry.js} +1 -1
  293. package/dist/ionic/{p-1277436d.system.entry.js → p-d6e463ee.system.entry.js} +1 -1
  294. package/dist/ionic/p-d75bce6a.system.js +4 -0
  295. package/dist/ionic/p-d8ace0cb.entry.js +4 -0
  296. package/dist/ionic/{p-d232cc6e.system.entry.js → p-d8dcfbf3.system.entry.js} +1 -1
  297. package/dist/ionic/{p-d4a694c5.system.entry.js → p-da5e7dbe.system.entry.js} +1 -1
  298. package/dist/ionic/{p-1f772e46.entry.js → p-dc672c3a.entry.js} +1 -1
  299. package/dist/ionic/{p-ccfe13f3.entry.js → p-e351e0e3.entry.js} +1 -1
  300. package/dist/ionic/{p-83f7a890.system.entry.js → p-e6e98f68.system.entry.js} +1 -1
  301. package/dist/ionic/{p-dc65c03b.js → p-e8cc3bad.js} +1 -1
  302. package/dist/ionic/{p-23e0cd37.entry.js → p-e9119176.entry.js} +1 -1
  303. package/dist/ionic/{p-8cab6a5c.system.entry.js → p-ed3f6648.system.entry.js} +1 -1
  304. package/dist/ionic/{p-be32a527.entry.js → p-eec4b4ce.entry.js} +1 -1
  305. package/dist/ionic/{p-89611183.system.js → p-f08654ea.system.js} +1 -1
  306. package/dist/ionic/{p-c655f9cc.js → p-f22b3a75.js} +1 -1
  307. package/dist/ionic/p-f367478b.js +4 -0
  308. package/dist/ionic/{p-f8fbf20f.system.entry.js → p-f36c9945.system.entry.js} +1 -1
  309. package/dist/ionic/{p-8c1f6a17.entry.js → p-fc9b4e5a.entry.js} +1 -1
  310. package/dist/ionic/{p-4fbf3556.system.entry.js → p-fdfa74cc.system.entry.js} +1 -1
  311. package/dist/ionic/{p-9beb3fad.js → p-fec56d82.js} +1 -1
  312. package/dist/types/stencil-public-runtime.d.ts +4 -0
  313. package/hydrate/index.d.ts +6 -0
  314. package/hydrate/index.js +376 -242
  315. package/hydrate/index.mjs +376 -242
  316. package/package.json +2 -2
  317. package/dist/esm-es5/app-globals-b9f6e516.js +0 -4
  318. package/dist/esm-es5/index-4e02bb5d.js +0 -5
  319. package/dist/esm-es5/index-8579e7fd.js +0 -4
  320. package/dist/esm-es5/md.transition-d5aa5703.js +0 -4
  321. package/dist/ionic/p-08cfccad.js +0 -4
  322. package/dist/ionic/p-14c81a66.system.js +0 -4
  323. package/dist/ionic/p-16917251.entry.js +0 -4
  324. package/dist/ionic/p-382345db.system.entry.js +0 -4
  325. package/dist/ionic/p-487a3ae7.system.js +0 -5
  326. package/dist/ionic/p-4b528ed3.js +0 -5
  327. package/dist/ionic/p-4e6aa78c.entry.js +0 -4
  328. package/dist/ionic/p-52fce436.entry.js +0 -4
  329. package/dist/ionic/p-586fa05c.system.js +0 -4
  330. package/dist/ionic/p-66aa91c8.js +0 -4
  331. package/dist/ionic/p-82ad7191.entry.js +0 -4
  332. package/dist/ionic/p-86895ed7.system.js +0 -4
  333. package/dist/ionic/p-9cd1f569.system.js +0 -4
  334. package/dist/ionic/p-b0d099be.js +0 -4
  335. package/dist/ionic/p-be11fb42.system.js +0 -4
package/hydrate/index.js CHANGED
@@ -7,6 +7,8 @@ Object.defineProperty(exports, '__esModule', { value: true });
7
7
 
8
8
  var stream = require('stream');
9
9
 
10
+ const modeResolutionChain = [];
11
+
10
12
  function hydrateFactory($stencilWindow, $stencilHydrateOpts, $stencilHydrateResults, $stencilAfterHydrate, $stencilHydrateResolve) {
11
13
  var globalThis = $stencilWindow;
12
14
  var self = $stencilWindow;
@@ -130,7 +132,7 @@ const NAMESPACE = 'ionic';
130
132
  const BUILD = /* ionic */ { allRenderFn: false, appendChildSlotFix: false, asyncLoading: true, attachStyles: true, cloneNodeFix: false, cmpDidLoad: true, cmpDidRender: true, cmpDidUnload: false, cmpDidUpdate: true, cmpShouldUpdate: false, cmpWillLoad: true, cmpWillRender: true, cmpWillUpdate: false, connectedCallback: true, constructableCSS: false, cssAnnotations: true, devTools: false, disconnectedCallback: true, element: false, event: true, experimentalScopedSlotChanges: false, experimentalSlotFixes: false, formAssociated: false, hasRenderFn: true, hostListener: true, hostListenerTarget: true, hostListenerTargetBody: true, hostListenerTargetDocument: true, hostListenerTargetParent: false, hostListenerTargetWindow: true, hotModuleReplacement: false, hydrateClientSide: true, hydrateServerSide: true, hydratedAttribute: false, hydratedClass: true, hydratedSelectorName: "hydrated", invisiblePrehydration: true, isDebug: false, isDev: false, isTesting: false, lazyLoad: true, lifecycle: true, lifecycleDOMEvents: false, member: true, method: true, mode: true, observeAttribute: true, profile: false, prop: true, propBoolean: true, propMutable: true, propNumber: true, propString: true, reflect: true, scoped: true, scopedSlotTextContentFix: true, scriptDataOpts: false, shadowDelegatesFocus: true, shadowDom: true, shadowDomShim: true, slot: true, slotChildNodesFix: false, slotRelocation: true, state: true, style: true, svg: true, taskQueue: true, updatable: true, vdomAttribute: true, vdomClass: true, vdomFunctional: true, vdomKey: true, vdomListener: true, vdomPropOrAttr: true, vdomRef: true, vdomRender: true, vdomStyle: true, vdomText: true, vdomXlink: true, watchCallback: true };
131
133
 
132
134
  /*
133
- Stencil Hydrate Platform v4.21.0 | MIT Licensed | https://stenciljs.com
135
+ Stencil Hydrate Platform v4.21.0-dev.1726257631.b82b008 | MIT Licensed | https://stenciljs.com
134
136
  */
135
137
  var __defProp = Object.defineProperty;
136
138
  var __export = (target, all) => {
@@ -611,7 +613,7 @@ var addStyle = (styleContainerNode, cmpMeta, mode) => {
611
613
  if (!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */)) {
612
614
  if (styleContainerNode.nodeName === "HEAD") {
613
615
  const preconnectLinks = styleContainerNode.querySelectorAll("link[rel=preconnect]");
614
- const referenceNode2 = preconnectLinks.length > 0 ? preconnectLinks[preconnectLinks.length - 1].nextSibling : document.querySelector("style");
616
+ const referenceNode2 = preconnectLinks.length > 0 ? preconnectLinks[preconnectLinks.length - 1].nextSibling : styleContainerNode.querySelector("style");
615
617
  styleContainerNode.insertBefore(styleElm, referenceNode2);
616
618
  } else if ("host" in styleContainerNode) {
617
619
  styleContainerNode.prepend(styleElm);
@@ -2372,7 +2374,7 @@ var Build = {
2372
2374
  isTesting: false
2373
2375
  };
2374
2376
  var styles = /* @__PURE__ */ new Map();
2375
- var modeResolutionChain = [];
2377
+
2376
2378
 
2377
2379
  const transitionEndAsync = (el, expectedDuration = 0) => {
2378
2380
  return new Promise((resolve) => {
@@ -33262,8 +33264,105 @@ exports.hydrateApp = hydrateApp;
33262
33264
  hydrateAppClosure($stencilWindow);
33263
33265
  }
33264
33266
 
33267
+ // src/app-data/index.ts
33268
+ var BUILD = {
33269
+ allRenderFn: false,
33270
+ cmpDidLoad: true,
33271
+ cmpDidUnload: false,
33272
+ cmpDidUpdate: true,
33273
+ cmpDidRender: true,
33274
+ cmpWillLoad: true,
33275
+ cmpWillUpdate: true,
33276
+ cmpWillRender: true,
33277
+ connectedCallback: true,
33278
+ disconnectedCallback: true,
33279
+ element: true,
33280
+ event: true,
33281
+ hasRenderFn: true,
33282
+ lifecycle: true,
33283
+ hostListener: true,
33284
+ hostListenerTargetWindow: true,
33285
+ hostListenerTargetDocument: true,
33286
+ hostListenerTargetBody: true,
33287
+ hostListenerTargetParent: false,
33288
+ hostListenerTarget: true,
33289
+ member: true,
33290
+ method: true,
33291
+ mode: true,
33292
+ observeAttribute: true,
33293
+ prop: true,
33294
+ propMutable: true,
33295
+ reflect: true,
33296
+ scoped: true,
33297
+ shadowDom: true,
33298
+ slot: true,
33299
+ cssAnnotations: true,
33300
+ state: true,
33301
+ style: true,
33302
+ formAssociated: false,
33303
+ svg: true,
33304
+ updatable: true,
33305
+ vdomAttribute: true,
33306
+ vdomXlink: true,
33307
+ vdomClass: true,
33308
+ vdomFunctional: true,
33309
+ vdomKey: true,
33310
+ vdomListener: true,
33311
+ vdomRef: true,
33312
+ vdomPropOrAttr: true,
33313
+ vdomRender: true,
33314
+ vdomStyle: true,
33315
+ vdomText: true,
33316
+ watchCallback: true,
33317
+ taskQueue: true,
33318
+ hotModuleReplacement: false,
33319
+ isDebug: false,
33320
+ isDev: false,
33321
+ isTesting: false,
33322
+ hydrateServerSide: false,
33323
+ hydrateClientSide: false,
33324
+ lifecycleDOMEvents: false,
33325
+ lazyLoad: false,
33326
+ profile: false,
33327
+ slotRelocation: true,
33328
+ // TODO(STENCIL-914): remove this option when `experimentalSlotFixes` is the default behavior
33329
+ appendChildSlotFix: false,
33330
+ // TODO(STENCIL-914): remove this option when `experimentalSlotFixes` is the default behavior
33331
+ cloneNodeFix: false,
33332
+ hydratedAttribute: false,
33333
+ hydratedClass: true,
33334
+ // TODO(STENCIL-1305): remove this option
33335
+ scriptDataOpts: false,
33336
+ // TODO(STENCIL-914): remove this option when `experimentalSlotFixes` is the default behavior
33337
+ scopedSlotTextContentFix: false,
33338
+ // TODO(STENCIL-854): Remove code related to legacy shadowDomShim field
33339
+ shadowDomShim: false,
33340
+ // TODO(STENCIL-914): remove this option when `experimentalSlotFixes` is the default behavior
33341
+ slotChildNodesFix: false,
33342
+ invisiblePrehydration: true,
33343
+ propBoolean: true,
33344
+ propNumber: true,
33345
+ propString: true,
33346
+ constructableCSS: true,
33347
+ cmpShouldUpdate: true,
33348
+ devTools: false,
33349
+ shadowDelegatesFocus: true,
33350
+ initializeNextTick: false,
33351
+ asyncLoading: true,
33352
+ asyncQueue: false,
33353
+ transformTagName: false,
33354
+ attachStyles: true,
33355
+ // TODO(STENCIL-914): remove this option when `experimentalSlotFixes` is the default behavior
33356
+ experimentalSlotFixes: false
33357
+ };
33358
+ var Env = {};
33359
+ var NAMESPACE = (
33360
+ /* default */
33361
+ "app"
33362
+ );
33363
+
33265
33364
  /*
33266
- Stencil Hydrate Runner v4.21.0 | MIT Licensed | https://stenciljs.com
33365
+ Stencil Hydrate Runner v4.21.0-dev.1726257631.b82b008 | MIT Licensed | https://stenciljs.com
33267
33366
  */
33268
33367
  var __defProp = Object.defineProperty;
33269
33368
  var __export = (target, all) => {
@@ -33584,8 +33683,8 @@ function jsCaseToCssCase(str) {
33584
33683
 
33585
33684
  // src/mock-doc/custom-element-registry.ts
33586
33685
  var MockCustomElementRegistry = class {
33587
- constructor(win) {
33588
- this.win = win;
33686
+ constructor(win2) {
33687
+ this.win = win2;
33589
33688
  }
33590
33689
  define(tagName, cstr, options) {
33591
33690
  if (tagName.toLowerCase() !== tagName) {
@@ -33607,19 +33706,19 @@ var MockCustomElementRegistry = class {
33607
33706
  this.__whenDefined.delete(tagName);
33608
33707
  }
33609
33708
  }
33610
- const doc = this.win.document;
33611
- if (doc != null) {
33612
- const hosts = doc.querySelectorAll(tagName);
33709
+ const doc2 = this.win.document;
33710
+ if (doc2 != null) {
33711
+ const hosts = doc2.querySelectorAll(tagName);
33613
33712
  hosts.forEach((host) => {
33614
33713
  if (upgradedElements.has(host) === false) {
33615
- tempDisableCallbacks.add(doc);
33616
- const upgradedCmp = createCustomElement(this, doc, tagName);
33714
+ tempDisableCallbacks.add(doc2);
33715
+ const upgradedCmp = createCustomElement(this, doc2, tagName);
33617
33716
  for (let i = 0; i < host.childNodes.length; i++) {
33618
33717
  const childNode = host.childNodes[i];
33619
33718
  childNode.remove();
33620
33719
  upgradedCmp.appendChild(childNode);
33621
33720
  }
33622
- tempDisableCallbacks.delete(doc);
33721
+ tempDisableCallbacks.delete(doc2);
33623
33722
  if (proxyElements.has(host)) {
33624
33723
  proxyElements.set(host, upgradedCmp);
33625
33724
  }
@@ -33673,8 +33772,8 @@ var MockCustomElementRegistry = class {
33673
33772
  });
33674
33773
  }
33675
33774
  };
33676
- function createCustomElement(customElements, ownerDocument, tagName) {
33677
- const Cstr = customElements.get(tagName);
33775
+ function createCustomElement(customElements2, ownerDocument, tagName) {
33776
+ const Cstr = customElements2.get(tagName);
33678
33777
  if (Cstr != null) {
33679
33778
  const cmp = new Cstr(ownerDocument);
33680
33779
  cmp.nodeName = tagName.toUpperCase();
@@ -33722,8 +33821,8 @@ function connectNode(ownerDocument, node) {
33722
33821
  node.ownerDocument = ownerDocument;
33723
33822
  if (node.nodeType === 1 /* ELEMENT_NODE */) {
33724
33823
  if (ownerDocument != null && node.nodeName.includes("-")) {
33725
- const win = ownerDocument.defaultView;
33726
- if (win != null && typeof node.connectedCallback === "function" && node.isConnected) {
33824
+ const win2 = ownerDocument.defaultView;
33825
+ if (win2 != null && typeof node.connectedCallback === "function" && node.isConnected) {
33727
33826
  fireConnectedCallback(node);
33728
33827
  }
33729
33828
  const shadowRoot = node.shadowRoot;
@@ -38131,7 +38230,7 @@ var OpenElementStack = class {
38131
38230
  get currentTmplContentOrNode() {
38132
38231
  return this._isInTemplate() ? this.treeAdapter.getTemplateContent(this.current) : this.current;
38133
38232
  }
38134
- constructor(document, treeAdapter, handler) {
38233
+ constructor(document2, treeAdapter, handler) {
38135
38234
  this.treeAdapter = treeAdapter;
38136
38235
  this.handler = handler;
38137
38236
  this.items = [];
@@ -38139,7 +38238,7 @@ var OpenElementStack = class {
38139
38238
  this.stackTop = -1;
38140
38239
  this.tmplCount = 0;
38141
38240
  this.currentTagId = TAG_ID.UNKNOWN;
38142
- this.current = document;
38241
+ this.current = document2;
38143
38242
  }
38144
38243
  //Index of element
38145
38244
  _indexOf(element) {
@@ -38556,8 +38655,8 @@ var defaultTreeAdapter = {
38556
38655
  getTemplateContent(templateElement) {
38557
38656
  return templateElement.content;
38558
38657
  },
38559
- setDocumentType(document, name, publicId, systemId) {
38560
- const doctypeNode = document.childNodes.find((node) => node.nodeName === "#documentType");
38658
+ setDocumentType(document2, name, publicId, systemId) {
38659
+ const doctypeNode = document2.childNodes.find((node) => node.nodeName === "#documentType");
38561
38660
  if (doctypeNode) {
38562
38661
  doctypeNode.name = name;
38563
38662
  doctypeNode.publicId = publicId;
@@ -38570,14 +38669,14 @@ var defaultTreeAdapter = {
38570
38669
  systemId,
38571
38670
  parentNode: null
38572
38671
  };
38573
- defaultTreeAdapter.appendChild(document, node);
38672
+ defaultTreeAdapter.appendChild(document2, node);
38574
38673
  }
38575
38674
  },
38576
- setDocumentMode(document, mode) {
38577
- document.mode = mode;
38675
+ setDocumentMode(document2, mode) {
38676
+ document2.mode = mode;
38578
38677
  },
38579
- getDocumentMode(document) {
38580
- return document.mode;
38678
+ getDocumentMode(document2) {
38679
+ return document2.mode;
38581
38680
  },
38582
38681
  detachNode(node) {
38583
38682
  if (node.parentNode) {
@@ -39058,7 +39157,7 @@ var defaultParserOptions = {
39058
39157
  onParseError: null
39059
39158
  };
39060
39159
  var Parser = class {
39061
- constructor(options, document, fragmentContext = null, scriptHandler = null) {
39160
+ constructor(options, document2, fragmentContext = null, scriptHandler = null) {
39062
39161
  this.fragmentContext = fragmentContext;
39063
39162
  this.scriptHandler = scriptHandler;
39064
39163
  this.currentToken = null;
@@ -39083,7 +39182,7 @@ var Parser = class {
39083
39182
  if (this.onParseError) {
39084
39183
  this.options.sourceCodeLocationInfo = true;
39085
39184
  }
39086
- this.document = document !== null && document !== void 0 ? document : this.treeAdapter.createDocument();
39185
+ this.document = document2 !== null && document2 !== void 0 ? document2 : this.treeAdapter.createDocument();
39087
39186
  this.tokenizer = new Tokenizer(this.options, this);
39088
39187
  this.activeFormattingElements = new FormattingElementList(this.treeAdapter);
39089
39188
  this.fragmentContextID = fragmentContext ? getTagID(this.treeAdapter.getTagName(fragmentContext)) : TAG_ID.UNKNOWN;
@@ -42060,11 +42159,11 @@ function parseFragment(fragmentContext, html, options) {
42060
42159
  // src/mock-doc/parse-util.ts
42061
42160
  var docParser = /* @__PURE__ */ new WeakMap();
42062
42161
  function parseDocumentUtil(ownerDocument, html) {
42063
- const doc = parse(html.trim(), getParser(ownerDocument));
42064
- doc.documentElement = doc.firstElementChild;
42065
- doc.head = doc.documentElement.firstElementChild;
42066
- doc.body = doc.head.nextElementSibling;
42067
- return doc;
42162
+ const doc2 = parse(html.trim(), getParser(ownerDocument));
42163
+ doc2.documentElement = doc2.firstElementChild;
42164
+ doc2.head = doc2.documentElement.firstElementChild;
42165
+ doc2.body = doc2.head.nextElementSibling;
42166
+ return doc2;
42068
42167
  }
42069
42168
  function parseFragmentUtil(ownerDocument, html) {
42070
42169
  if (typeof html === "string") {
@@ -42082,9 +42181,9 @@ function getParser(ownerDocument) {
42082
42181
  }
42083
42182
  const treeAdapter = {
42084
42183
  createDocument() {
42085
- const doc = ownerDocument.createElement("#document" /* DOCUMENT_NODE */);
42086
- doc["x-mode"] = "no-quirks";
42087
- return doc;
42184
+ const doc2 = ownerDocument.createElement("#document" /* DOCUMENT_NODE */);
42185
+ doc2["x-mode"] = "no-quirks";
42186
+ return doc2;
42088
42187
  },
42089
42188
  setNodeSourceCodeLocation(node, location2) {
42090
42189
  node.sourceCodeLocation = location2;
@@ -42122,22 +42221,22 @@ function getParser(ownerDocument) {
42122
42221
  getTemplateContent(templateElement) {
42123
42222
  return templateElement.content;
42124
42223
  },
42125
- setDocumentType(doc, name, publicId, systemId) {
42126
- let doctypeNode = doc.childNodes.find((n) => n.nodeType === 10 /* DOCUMENT_TYPE_NODE */);
42224
+ setDocumentType(doc2, name, publicId, systemId) {
42225
+ let doctypeNode = doc2.childNodes.find((n) => n.nodeType === 10 /* DOCUMENT_TYPE_NODE */);
42127
42226
  if (doctypeNode == null) {
42128
42227
  doctypeNode = ownerDocument.createDocumentTypeNode();
42129
- doc.insertBefore(doctypeNode, doc.firstChild);
42228
+ doc2.insertBefore(doctypeNode, doc2.firstChild);
42130
42229
  }
42131
42230
  doctypeNode.nodeValue = "!DOCTYPE";
42132
42231
  doctypeNode["x-name"] = name;
42133
42232
  doctypeNode["x-publicId"] = publicId;
42134
42233
  doctypeNode["x-systemId"] = systemId;
42135
42234
  },
42136
- setDocumentMode(doc, mode) {
42137
- doc["x-mode"] = mode;
42235
+ setDocumentMode(doc2, mode) {
42236
+ doc2["x-mode"] = mode;
42138
42237
  },
42139
- getDocumentMode(doc) {
42140
- return doc["x-mode"];
42238
+ getDocumentMode(doc2) {
42239
+ return doc2["x-mode"];
42141
42240
  },
42142
42241
  detachNode(node) {
42143
42242
  node.remove();
@@ -42269,9 +42368,9 @@ var jquery_default = (
42269
42368
  nodeName: "HTML"
42270
42369
  }
42271
42370
  }
42272
- }, function(window, noGlobal) {
42371
+ }, function(window2, noGlobal) {
42273
42372
  "use strict";
42274
- if (!window.document) {
42373
+ if (!window2.document) {
42275
42374
  throw new Error("jQuery requires a window with a document");
42276
42375
  }
42277
42376
  var arr = [];
@@ -42306,16 +42405,16 @@ var jquery_default = (
42306
42405
  }
42307
42406
  return type === "array" || length === 0 || typeof length === "number" && length > 0 && length - 1 in obj;
42308
42407
  }
42309
- var document = window.document;
42408
+ var document2 = window2.document;
42310
42409
  var preservedScriptAttributes = {
42311
42410
  type: true,
42312
42411
  src: true,
42313
42412
  nonce: true,
42314
42413
  noModule: true
42315
42414
  };
42316
- function DOMEval(code, node, doc) {
42317
- doc = doc || document;
42318
- var i2, script = doc.createElement("script");
42415
+ function DOMEval(code, node, doc2) {
42416
+ doc2 = doc2 || document2;
42417
+ var i2, script = doc2.createElement("script");
42319
42418
  script.text = code;
42320
42419
  if (node) {
42321
42420
  for (i2 in preservedScriptAttributes) {
@@ -42324,7 +42423,7 @@ var jquery_default = (
42324
42423
  }
42325
42424
  }
42326
42425
  }
42327
- doc.head.appendChild(script).parentNode.removeChild(script);
42426
+ doc2.head.appendChild(script).parentNode.removeChild(script);
42328
42427
  }
42329
42428
  const jQuery = {};
42330
42429
  var version = "4.0.0-pre+9352011a7.dirty +selector", rhtmlSuffix = /HTML$/i, jQueryOrig = function(selector, context) {
@@ -42461,8 +42560,8 @@ var jquery_default = (
42461
42560
  },
42462
42561
  // Evaluates a script in a provided context; falls back to the global one
42463
42562
  // if not specified.
42464
- globalEval: function(code, options, doc) {
42465
- DOMEval(code, { nonce: options && options.nonce }, doc);
42563
+ globalEval: function(code, options, doc2) {
42564
+ DOMEval(code, { nonce: options && options.nonce }, doc2);
42466
42565
  },
42467
42566
  each: function(obj, callback) {
42468
42567
  var length, i2 = 0;
@@ -42589,9 +42688,9 @@ var jquery_default = (
42589
42688
  }
42590
42689
  var pop = arr.pop;
42591
42690
  var whitespace = "[\\x20\\t\\r\\n\\f]";
42592
- var isIE = document.documentMode;
42691
+ var isIE = document2.documentMode;
42593
42692
  try {
42594
- document.querySelector(":has(*,:jqfake)");
42693
+ document2.querySelector(":has(*,:jqfake)");
42595
42694
  support.cssHas = false;
42596
42695
  } catch (e) {
42597
42696
  support.cssHas = true;
@@ -42623,7 +42722,7 @@ var jquery_default = (
42623
42722
  var rleadingCombinator = new RegExp("^" + whitespace + "*([>+~]|" + whitespace + ")" + whitespace + "*");
42624
42723
  var rdescend = new RegExp(whitespace + "|>");
42625
42724
  var rsibling = /[+~]/;
42626
- var documentElement = document.documentElement;
42725
+ var documentElement = document2.documentElement;
42627
42726
  var matches2 = documentElement.matches || documentElement.msMatchesSelector;
42628
42727
  function createCache() {
42629
42728
  var keys = [];
@@ -42792,10 +42891,10 @@ var jquery_default = (
42792
42891
  1
42793
42892
  );
42794
42893
  if (compare & 1) {
42795
- if (a == document || a.ownerDocument == document && jQuery.contains(document, a)) {
42894
+ if (a == document2 || a.ownerDocument == document2 && jQuery.contains(document2, a)) {
42796
42895
  return -1;
42797
42896
  }
42798
- if (b == document || b.ownerDocument == document && jQuery.contains(document, b)) {
42897
+ if (b == document2 || b.ownerDocument == document2 && jQuery.contains(document2, b)) {
42799
42898
  return 1;
42800
42899
  }
42801
42900
  return 0;
@@ -42951,14 +43050,14 @@ var jquery_default = (
42951
43050
  });
42952
43051
  }
42953
43052
  function setDocument(node) {
42954
- var subWindow, doc = node ? node.ownerDocument || node : document;
42955
- if (doc == document$1 || doc.nodeType !== 9) {
43053
+ var subWindow, doc2 = node ? node.ownerDocument || node : document2;
43054
+ if (doc2 == document$1 || doc2.nodeType !== 9) {
42956
43055
  return;
42957
43056
  }
42958
- document$1 = doc;
43057
+ document$1 = doc2;
42959
43058
  documentElement$1 = document$1.documentElement;
42960
43059
  documentIsHTML = !jQuery.isXMLDoc(document$1);
42961
- if (isIE && document != document$1 && (subWindow = document$1.defaultView) && subWindow.top !== subWindow) {
43060
+ if (isIE && document2 != document$1 && (subWindow = document$1.defaultView) && subWindow.top !== subWindow) {
42962
43061
  subWindow.addEventListener("unload", unloadHandler);
42963
43062
  }
42964
43063
  }
@@ -43189,7 +43288,7 @@ var jquery_default = (
43189
43288
  }),
43190
43289
  // Miscellaneous
43191
43290
  target: function(elem) {
43192
- var hash = window.location && window.location.hash;
43291
+ var hash = window2.location && window2.location.hash;
43193
43292
  return hash && hash.slice(1) === elem.id;
43194
43293
  },
43195
43294
  root: function(elem) {
@@ -45179,9 +45278,9 @@ function createElement(ownerDocument, tagName) {
45179
45278
  return new MockUListElement(ownerDocument);
45180
45279
  }
45181
45280
  if (ownerDocument != null && tagName.includes("-")) {
45182
- const win = ownerDocument.defaultView;
45183
- if (win != null && win.customElements != null) {
45184
- return createCustomElement(win.customElements, ownerDocument, tagName);
45281
+ const win2 = ownerDocument.defaultView;
45282
+ if (win2 != null && win2.customElements != null) {
45283
+ return createCustomElement(win2.customElements, ownerDocument, tagName);
45185
45284
  }
45186
45285
  }
45187
45286
  return new MockHTMLElement(ownerDocument, tagName);
@@ -45603,9 +45702,9 @@ var CanvasRenderingContext = class {
45603
45702
  }
45604
45703
  clearRect() {
45605
45704
  }
45606
- getImageData(_, __, w, h) {
45705
+ getImageData(_, __, w, h2) {
45607
45706
  return {
45608
- data: new Array(w * h * 4)
45707
+ data: new Array(w * h2 * 4)
45609
45708
  };
45610
45709
  }
45611
45710
  toDataURL() {
@@ -45667,9 +45766,9 @@ var MockCanvasElement = class extends MockHTMLElement {
45667
45766
  function fullUrl(elm, attrName) {
45668
45767
  const val = elm.getAttribute(attrName) || "";
45669
45768
  if (elm.ownerDocument != null) {
45670
- const win = elm.ownerDocument.defaultView;
45671
- if (win != null) {
45672
- const loc = win.location;
45769
+ const win2 = elm.ownerDocument.defaultView;
45770
+ if (win2 != null) {
45771
+ const loc = win2.location;
45673
45772
  if (loc != null) {
45674
45773
  try {
45675
45774
  const url = new URL(val, loc.href);
@@ -46374,10 +46473,10 @@ var MockWindow = class {
46374
46473
  }
46375
46474
  get Document() {
46376
46475
  if (this.__docCstr == null) {
46377
- const win = this;
46476
+ const win2 = this;
46378
46477
  this.__docCstr = class extends MockDocument {
46379
46478
  constructor() {
46380
- super(false, win);
46479
+ super(false, win2);
46381
46480
  throw new Error("Illegal constructor: cannot construct Document");
46382
46481
  }
46383
46482
  };
@@ -46894,14 +46993,14 @@ var MockWindow = class {
46894
46993
  }
46895
46994
  };
46896
46995
  addGlobalsToWindowPrototype(MockWindow.prototype);
46897
- function resetWindowDefaults(win) {
46898
- win.__clearInterval = nativeClearInterval;
46899
- win.__clearTimeout = nativeClearTimeout;
46900
- win.__setInterval = nativeSetInterval;
46901
- win.__setTimeout = nativeSetTimeout;
46902
- win.__maxTimeout = 3e4;
46903
- win.__allowInterval = true;
46904
- win.URL = nativeURL;
46996
+ function resetWindowDefaults(win2) {
46997
+ win2.__clearInterval = nativeClearInterval;
46998
+ win2.__clearTimeout = nativeClearTimeout;
46999
+ win2.__setInterval = nativeSetInterval;
47000
+ win2.__setTimeout = nativeSetTimeout;
47001
+ win2.__maxTimeout = 3e4;
47002
+ win2.__allowInterval = true;
47003
+ win2.URL = nativeURL;
46905
47004
  }
46906
47005
  function cloneWindow(srcWin, opts = {}) {
46907
47006
  if (srcWin == null) {
@@ -46920,72 +47019,72 @@ function cloneWindow(srcWin, opts = {}) {
46920
47019
  }
46921
47020
  return clonedWin;
46922
47021
  }
46923
- function constrainTimeouts(win) {
46924
- win.__allowInterval = false;
46925
- win.__maxTimeout = 0;
47022
+ function constrainTimeouts(win2) {
47023
+ win2.__allowInterval = false;
47024
+ win2.__maxTimeout = 0;
46926
47025
  }
46927
- function resetWindow(win) {
46928
- if (win != null) {
46929
- if (win.__timeouts) {
46930
- win.__timeouts.forEach((timeoutId) => {
47026
+ function resetWindow(win2) {
47027
+ if (win2 != null) {
47028
+ if (win2.__timeouts) {
47029
+ win2.__timeouts.forEach((timeoutId) => {
46931
47030
  nativeClearInterval(timeoutId);
46932
47031
  nativeClearTimeout(timeoutId);
46933
47032
  });
46934
- win.__timeouts.clear();
47033
+ win2.__timeouts.clear();
46935
47034
  }
46936
- if (win.customElements && win.customElements.clear) {
46937
- win.customElements.clear();
47035
+ if (win2.customElements && win2.customElements.clear) {
47036
+ win2.customElements.clear();
46938
47037
  }
46939
- resetDocument(win.document);
46940
- resetPerformance(win.performance);
46941
- for (const key in win) {
46942
- if (win.hasOwnProperty(key) && key !== "document" && key !== "performance" && key !== "customElements") {
46943
- delete win[key];
47038
+ resetDocument(win2.document);
47039
+ resetPerformance(win2.performance);
47040
+ for (const key in win2) {
47041
+ if (win2.hasOwnProperty(key) && key !== "document" && key !== "performance" && key !== "customElements") {
47042
+ delete win2[key];
46944
47043
  }
46945
47044
  }
46946
- resetWindowDefaults(win);
46947
- resetWindowDimensions(win);
46948
- resetEventListeners(win);
46949
- if (win.document != null) {
47045
+ resetWindowDefaults(win2);
47046
+ resetWindowDimensions(win2);
47047
+ resetEventListeners(win2);
47048
+ if (win2.document != null) {
46950
47049
  try {
46951
- win.document.defaultView = win;
47050
+ win2.document.defaultView = win2;
46952
47051
  } catch (e) {
46953
47052
  }
46954
47053
  }
46955
- win.fetch = null;
46956
- win.Headers = null;
46957
- win.Request = null;
46958
- win.Response = null;
46959
- win.FetchError = null;
47054
+ win2.fetch = null;
47055
+ win2.Headers = null;
47056
+ win2.Request = null;
47057
+ win2.Response = null;
47058
+ win2.FetchError = null;
46960
47059
  }
46961
47060
  }
46962
- function resetWindowDimensions(win) {
47061
+ function resetWindowDimensions(win2) {
46963
47062
  try {
46964
- win.devicePixelRatio = 1;
46965
- win.innerHeight = 768;
46966
- win.innerWidth = 1366;
46967
- win.pageXOffset = 0;
46968
- win.pageYOffset = 0;
46969
- win.screenLeft = 0;
46970
- win.screenTop = 0;
46971
- win.screenX = 0;
46972
- win.screenY = 0;
46973
- win.scrollX = 0;
46974
- win.scrollY = 0;
46975
- win.screen = {
46976
- availHeight: win.innerHeight,
47063
+ win2.devicePixelRatio = 1;
47064
+ win2.innerHeight = 768;
47065
+ win2.innerWidth = 1366;
47066
+ win2.pageXOffset = 0;
47067
+ win2.pageYOffset = 0;
47068
+ win2.screenLeft = 0;
47069
+ win2.screenTop = 0;
47070
+ win2.screenX = 0;
47071
+ win2.screenY = 0;
47072
+ win2.scrollX = 0;
47073
+ win2.scrollY = 0;
47074
+ win2.screen = {
47075
+ availHeight: win2.innerHeight,
46977
47076
  availLeft: 0,
46978
47077
  availTop: 0,
46979
- availWidth: win.innerWidth,
47078
+ availWidth: win2.innerWidth,
46980
47079
  colorDepth: 24,
46981
- height: win.innerHeight,
47080
+ height: win2.innerHeight,
46982
47081
  keepAwake: false,
46983
47082
  orientation: {
46984
47083
  angle: 0,
46985
47084
  type: "portrait-primary"
46986
47085
  },
46987
47086
  pixelDepth: 24,
46988
- width: win.innerWidth
47087
+ width: win2.innerWidth
46989
47088
  };
46990
47089
  } catch (e) {
46991
47090
  }
@@ -46993,11 +47092,11 @@ function resetWindowDimensions(win) {
46993
47092
 
46994
47093
  // src/mock-doc/document.ts
46995
47094
  var MockDocument = class _MockDocument extends MockHTMLElement {
46996
- constructor(html = null, win = null) {
47095
+ constructor(html = null, win2 = null) {
46997
47096
  super(null, null);
46998
47097
  this.nodeName = "#document" /* DOCUMENT_NODE */;
46999
47098
  this.nodeType = 9 /* DOCUMENT_NODE */;
47000
- this.defaultView = win;
47099
+ this.defaultView = win2;
47001
47100
  this.cookie = "";
47002
47101
  this.referrer = "";
47003
47102
  this.appendChild(this.createDocumentTypeNode());
@@ -47144,10 +47243,10 @@ var MockDocument = class _MockDocument extends MockHTMLElement {
47144
47243
  }
47145
47244
  createElement(tagName) {
47146
47245
  if (tagName === "#document" /* DOCUMENT_NODE */) {
47147
- const doc = new _MockDocument(false);
47148
- doc.nodeName = tagName;
47149
- doc.parentNode = null;
47150
- return doc;
47246
+ const doc2 = new _MockDocument(false);
47247
+ doc2.nodeName = tagName;
47248
+ doc2.parentNode = null;
47249
+ return doc2;
47151
47250
  }
47152
47251
  return createElement(this, tagName);
47153
47252
  }
@@ -47187,10 +47286,10 @@ var MockDocument = class _MockDocument extends MockHTMLElement {
47187
47286
  title.textContent = value;
47188
47287
  }
47189
47288
  };
47190
- function resetDocument(doc) {
47191
- if (doc != null) {
47192
- resetEventListeners(doc);
47193
- const documentElement = doc.documentElement;
47289
+ function resetDocument(doc2) {
47290
+ if (doc2 != null) {
47291
+ resetEventListeners(doc2);
47292
+ const documentElement = doc2.documentElement;
47194
47293
  if (documentElement != null) {
47195
47294
  resetElement(documentElement);
47196
47295
  for (let i = 0, ii = documentElement.childNodes.length; i < ii; i++) {
@@ -47199,25 +47298,25 @@ function resetDocument(doc) {
47199
47298
  childNode.childNodes.length = 0;
47200
47299
  }
47201
47300
  }
47202
- for (const key in doc) {
47203
- if (doc.hasOwnProperty(key) && !DOC_KEY_KEEPERS.has(key)) {
47204
- delete doc[key];
47301
+ for (const key in doc2) {
47302
+ if (doc2.hasOwnProperty(key) && !DOC_KEY_KEEPERS.has(key)) {
47303
+ delete doc2[key];
47205
47304
  }
47206
47305
  }
47207
47306
  try {
47208
- doc.nodeName = "#document" /* DOCUMENT_NODE */;
47307
+ doc2.nodeName = "#document" /* DOCUMENT_NODE */;
47209
47308
  } catch (e) {
47210
47309
  }
47211
47310
  try {
47212
- doc.nodeType = 9 /* DOCUMENT_NODE */;
47311
+ doc2.nodeType = 9 /* DOCUMENT_NODE */;
47213
47312
  } catch (e) {
47214
47313
  }
47215
47314
  try {
47216
- doc.cookie = "";
47315
+ doc2.cookie = "";
47217
47316
  } catch (e) {
47218
47317
  }
47219
47318
  try {
47220
- doc.referrer = "";
47319
+ doc2.referrer = "";
47221
47320
  } catch (e) {
47222
47321
  }
47223
47322
  }
@@ -47273,9 +47372,33 @@ function createWindowFromHtml(templateHtml, uniqueId) {
47273
47372
  templateWindow = new MockWindow(templateHtml);
47274
47373
  templateWindows.set(uniqueId, templateWindow);
47275
47374
  }
47276
- const win = cloneWindow(templateWindow);
47277
- return win;
47375
+ const win2 = cloneWindow(templateWindow);
47376
+ return win2;
47278
47377
  }
47378
+ var Build = {
47379
+ isDev: BUILD.isDev ? true : false,
47380
+ isBrowser: true,
47381
+ isServer: false,
47382
+ isTesting: BUILD.isTesting ? true : false
47383
+ };
47384
+ var hostRefs = BUILD.hotModuleReplacement ? window.__STENCIL_HOSTREFS__ || (window.__STENCIL_HOSTREFS__ = /* @__PURE__ */ new WeakMap()) : /* @__PURE__ */ new WeakMap();
47385
+ var STENCIL_DEV_MODE = BUILD.isTesting ? ["STENCIL:"] : [
47386
+ "%cstencil",
47387
+ "color: white;background:#4c47ff;font-weight: bold; font-size:10px; padding:2px 6px; border-radius: 5px"
47388
+ ];
47389
+ var win = typeof window !== "undefined" ? window : {};
47390
+ var doc = win.document || { head: {} };
47391
+ var H = win.HTMLElement || class {
47392
+ };
47393
+ var supportsShadow = BUILD.shadowDom;
47394
+ var supportsConstructableStylesheets = BUILD.constructableCSS ? /* @__PURE__ */ (() => {
47395
+ try {
47396
+ new CSSStyleSheet();
47397
+ return typeof new CSSStyleSheet().replaceSync === "function";
47398
+ } catch (e) {
47399
+ }
47400
+ return false;
47401
+ })() : false;
47279
47402
 
47280
47403
  // src/utils/helpers.ts
47281
47404
  var isString = (v) => typeof v === "string";
@@ -47367,15 +47490,20 @@ var unwrapErr = (result) => {
47367
47490
  }
47368
47491
  };
47369
47492
 
47493
+ // src/runtime/mode.ts
47494
+ var setMode = (handler) => modeResolutionChain.push(handler);
47495
+ var CAPTURE_EVENT_SUFFIX = "Capture";
47496
+ var CAPTURE_EVENT_REGEX = new RegExp(CAPTURE_EVENT_SUFFIX + "$");
47497
+
47370
47498
  // src/compiler/html/canonical-link.ts
47371
- var updateCanonicalLink = (doc, href) => {
47499
+ var updateCanonicalLink = (doc2, href) => {
47372
47500
  var _a2;
47373
- let canonicalLinkElm = doc.head.querySelector('link[rel="canonical"]');
47501
+ let canonicalLinkElm = doc2.head.querySelector('link[rel="canonical"]');
47374
47502
  if (typeof href === "string") {
47375
47503
  if (canonicalLinkElm == null) {
47376
- canonicalLinkElm = doc.createElement("link");
47504
+ canonicalLinkElm = doc2.createElement("link");
47377
47505
  canonicalLinkElm.setAttribute("rel", "canonical");
47378
- doc.head.appendChild(canonicalLinkElm);
47506
+ doc2.head.appendChild(canonicalLinkElm);
47379
47507
  }
47380
47508
  canonicalLinkElm.setAttribute("href", href);
47381
47509
  } else {
@@ -47389,11 +47517,11 @@ var updateCanonicalLink = (doc, href) => {
47389
47517
  };
47390
47518
 
47391
47519
  // src/compiler/html/relocate-meta-charset.ts
47392
- var relocateMetaCharset = (doc) => {
47393
- const head = doc.head;
47520
+ var relocateMetaCharset = (doc2) => {
47521
+ const head = doc2.head;
47394
47522
  let charsetElm = head.querySelector("meta[charset]");
47395
47523
  if (charsetElm == null) {
47396
- charsetElm = doc.createElement("meta");
47524
+ charsetElm = doc2.createElement("meta");
47397
47525
  charsetElm.setAttribute("charset", "utf-8");
47398
47526
  } else {
47399
47527
  charsetElm.remove();
@@ -47668,13 +47796,13 @@ var parseCss = (css, filePath) => {
47668
47796
  const m = match(/^@([-\w]+)?document *([^{]+)/);
47669
47797
  if (!m) return null;
47670
47798
  const vendor = trim(m[1]);
47671
- const doc = trim(m[2]);
47799
+ const doc2 = trim(m[2]);
47672
47800
  if (!open()) return error(`@document missing '{'`);
47673
47801
  const style = comments().concat(rules());
47674
47802
  if (!close()) return error(`@document missing '}'`);
47675
47803
  return pos({
47676
47804
  type: 3 /* Document */,
47677
- document: doc,
47805
+ document: doc2,
47678
47806
  vendor,
47679
47807
  rules: style
47680
47808
  });
@@ -48000,11 +48128,11 @@ var serializeCssPage = (opts, node) => {
48000
48128
  };
48001
48129
  var serializeCssDocument = (opts, node) => {
48002
48130
  const documentCss = serializeCssMapVisit(opts, node.rules);
48003
- const doc = "@" + (node.vendor || "") + "document " + node.document;
48131
+ const doc2 = "@" + (node.vendor || "") + "document " + node.document;
48004
48132
  if (documentCss === "") {
48005
48133
  return "";
48006
48134
  }
48007
- return doc + "{" + documentCss + "}";
48135
+ return doc2 + "{" + documentCss + "}";
48008
48136
  };
48009
48137
  var serializeCssMapVisit = (opts, nodes) => {
48010
48138
  let rtn = "";
@@ -48102,12 +48230,12 @@ var collectUsedSelectors = (usedSelectors, elm) => {
48102
48230
  };
48103
48231
 
48104
48232
  // src/compiler/html/remove-unused-styles.ts
48105
- var removeUnusedStyles = (doc, diagnostics) => {
48233
+ var removeUnusedStyles = (doc2, diagnostics) => {
48106
48234
  try {
48107
- const styleElms = doc.head.querySelectorAll(`style[data-styles]`);
48235
+ const styleElms = doc2.head.querySelectorAll(`style[data-styles]`);
48108
48236
  const styleLen = styleElms.length;
48109
48237
  if (styleLen > 0) {
48110
- const usedSelectors = getUsedSelectors(doc.documentElement);
48238
+ const usedSelectors = getUsedSelectors(doc2.documentElement);
48111
48239
  for (let i = 0; i < styleLen; i++) {
48112
48240
  removeUnusedStyleText(usedSelectors, diagnostics, styleElms[i]);
48113
48241
  }
@@ -48240,49 +48368,49 @@ function collectAttributes(node) {
48240
48368
  var SKIP_ATTRS = /* @__PURE__ */ new Set(["s-id", "c-id"]);
48241
48369
 
48242
48370
  // src/hydrate/runner/patch-dom-implementation.ts
48243
- function patchDomImplementation(doc, opts) {
48244
- let win;
48245
- if (doc.defaultView != null) {
48371
+ function patchDomImplementation(doc2, opts) {
48372
+ let win2;
48373
+ if (doc2.defaultView != null) {
48246
48374
  opts.destroyWindow = true;
48247
- patchWindow(doc.defaultView);
48248
- win = doc.defaultView;
48375
+ patchWindow(doc2.defaultView);
48376
+ win2 = doc2.defaultView;
48249
48377
  } else {
48250
48378
  opts.destroyWindow = true;
48251
48379
  opts.destroyDocument = false;
48252
- win = new MockWindow(false);
48380
+ win2 = new MockWindow(false);
48253
48381
  }
48254
- if (win.document !== doc) {
48255
- win.document = doc;
48382
+ if (win2.document !== doc2) {
48383
+ win2.document = doc2;
48256
48384
  }
48257
- if (doc.defaultView !== win) {
48258
- doc.defaultView = win;
48385
+ if (doc2.defaultView !== win2) {
48386
+ doc2.defaultView = win2;
48259
48387
  }
48260
- const HTMLElement = doc.documentElement.constructor.prototype;
48261
- if (typeof HTMLElement.getRootNode !== "function") {
48262
- const elm = doc.createElement("unknown-element");
48388
+ const HTMLElement2 = doc2.documentElement.constructor.prototype;
48389
+ if (typeof HTMLElement2.getRootNode !== "function") {
48390
+ const elm = doc2.createElement("unknown-element");
48263
48391
  const HTMLUnknownElement = elm.constructor.prototype;
48264
48392
  HTMLUnknownElement.getRootNode = getRootNode;
48265
48393
  }
48266
- if (typeof doc.createEvent === "function") {
48267
- const CustomEvent = doc.createEvent("CustomEvent").constructor;
48268
- if (win.CustomEvent !== CustomEvent) {
48269
- win.CustomEvent = CustomEvent;
48394
+ if (typeof doc2.createEvent === "function") {
48395
+ const CustomEvent2 = doc2.createEvent("CustomEvent").constructor;
48396
+ if (win2.CustomEvent !== CustomEvent2) {
48397
+ win2.CustomEvent = CustomEvent2;
48270
48398
  }
48271
48399
  }
48272
48400
  try {
48273
- win.__stencil_baseURI = doc.baseURI;
48401
+ win2.__stencil_baseURI = doc2.baseURI;
48274
48402
  } catch (e) {
48275
- Object.defineProperty(doc, "baseURI", {
48403
+ Object.defineProperty(doc2, "baseURI", {
48276
48404
  get() {
48277
- const baseElm = doc.querySelector("base[href]");
48405
+ const baseElm = doc2.querySelector("base[href]");
48278
48406
  if (baseElm) {
48279
- return new URL(baseElm.getAttribute("href"), win.location.href).href;
48407
+ return new URL(baseElm.getAttribute("href"), win2.location.href).href;
48280
48408
  }
48281
- return win.location.href;
48409
+ return win2.location.href;
48282
48410
  }
48283
48411
  });
48284
48412
  }
48285
- return win;
48413
+ return win2;
48286
48414
  }
48287
48415
  function getRootNode(opts) {
48288
48416
  const isComposed = opts != null && opts.composed === true;
@@ -48435,10 +48563,10 @@ function renderCatchError(results, err2) {
48435
48563
  }
48436
48564
 
48437
48565
  // src/hydrate/runner/runtime-log.ts
48438
- function runtimeLogging(win, opts, results) {
48566
+ function runtimeLogging(win2, opts, results) {
48439
48567
  try {
48440
- const pathname = win.location.pathname;
48441
- win.console.error = (...msgs) => {
48568
+ const pathname = win2.location.pathname;
48569
+ win2.console.error = (...msgs) => {
48442
48570
  const errMsg = msgs.reduce((errMsg2, m) => {
48443
48571
  if (m) {
48444
48572
  if (m.stack != null) {
@@ -48458,7 +48586,7 @@ function runtimeLogging(win, opts, results) {
48458
48586
  }
48459
48587
  }
48460
48588
  };
48461
- win.console.debug = (...msgs) => {
48589
+ win2.console.debug = (...msgs) => {
48462
48590
  renderBuildDiagnostic(results, "debug", "Hydrate Debug", [...msgs].join(", "));
48463
48591
  if (opts.runtimeLogging) {
48464
48592
  runtimeLog(pathname, "debug", msgs);
@@ -48466,7 +48594,7 @@ function runtimeLogging(win, opts, results) {
48466
48594
  };
48467
48595
  if (opts.runtimeLogging) {
48468
48596
  ["log", "warn", "assert", "info", "trace"].forEach((type) => {
48469
- win.console[type] = (...msgs) => {
48597
+ win2.console[type] = (...msgs) => {
48470
48598
  runtimeLog(pathname, type, msgs);
48471
48599
  };
48472
48600
  });
@@ -48480,58 +48608,58 @@ function runtimeLog(pathname, type, msgs) {
48480
48608
  }
48481
48609
 
48482
48610
  // src/hydrate/runner/window-initialize.ts
48483
- function initializeWindow(win, doc, opts, results) {
48611
+ function initializeWindow(win2, doc2, opts, results) {
48484
48612
  if (typeof opts.url === "string") {
48485
48613
  try {
48486
- win.location.href = opts.url;
48614
+ win2.location.href = opts.url;
48487
48615
  } catch (e) {
48488
48616
  }
48489
48617
  }
48490
48618
  if (typeof opts.userAgent === "string") {
48491
48619
  try {
48492
- win.navigator.userAgent = opts.userAgent;
48620
+ win2.navigator.userAgent = opts.userAgent;
48493
48621
  } catch (e) {
48494
48622
  }
48495
48623
  }
48496
48624
  if (typeof opts.cookie === "string") {
48497
48625
  try {
48498
- doc.cookie = opts.cookie;
48626
+ doc2.cookie = opts.cookie;
48499
48627
  } catch (e) {
48500
48628
  }
48501
48629
  }
48502
48630
  if (typeof opts.referrer === "string") {
48503
48631
  try {
48504
- doc.referrer = opts.referrer;
48632
+ doc2.referrer = opts.referrer;
48505
48633
  } catch (e) {
48506
48634
  }
48507
48635
  }
48508
48636
  if (typeof opts.direction === "string") {
48509
48637
  try {
48510
- doc.documentElement.setAttribute("dir", opts.direction);
48638
+ doc2.documentElement.setAttribute("dir", opts.direction);
48511
48639
  } catch (e) {
48512
48640
  }
48513
48641
  }
48514
48642
  if (typeof opts.language === "string") {
48515
48643
  try {
48516
- doc.documentElement.setAttribute("lang", opts.language);
48644
+ doc2.documentElement.setAttribute("lang", opts.language);
48517
48645
  } catch (e) {
48518
48646
  }
48519
48647
  }
48520
48648
  if (typeof opts.buildId === "string") {
48521
48649
  try {
48522
- doc.documentElement.setAttribute("data-stencil-build", opts.buildId);
48650
+ doc2.documentElement.setAttribute("data-stencil-build", opts.buildId);
48523
48651
  } catch (e) {
48524
48652
  }
48525
48653
  }
48526
48654
  try {
48527
- win.customElements = null;
48655
+ win2.customElements = null;
48528
48656
  } catch (e) {
48529
48657
  }
48530
48658
  if (opts.constrainTimeouts) {
48531
- constrainTimeouts(win);
48659
+ constrainTimeouts(win2);
48532
48660
  }
48533
- runtimeLogging(win, opts, results);
48534
- return win;
48661
+ runtimeLogging(win2, opts, results);
48662
+ return win2;
48535
48663
  }
48536
48664
 
48537
48665
  // src/hydrate/runner/render.ts
@@ -48548,44 +48676,44 @@ function renderToString(html, options, asStream) {
48548
48676
  opts.constrainTimeouts = false;
48549
48677
  return hydrateDocument(html, opts, asStream);
48550
48678
  }
48551
- function hydrateDocument(doc, options, asStream) {
48679
+ function hydrateDocument(doc2, options, asStream) {
48552
48680
  const opts = normalizeHydrateOptions(options);
48553
- let win = null;
48681
+ let win2 = null;
48554
48682
  const results = generateHydrateResults(opts);
48555
48683
  if (hasError(results.diagnostics)) {
48556
48684
  return Promise.resolve(results);
48557
48685
  }
48558
- if (typeof doc === "string") {
48686
+ if (typeof doc2 === "string") {
48559
48687
  try {
48560
48688
  opts.destroyWindow = true;
48561
48689
  opts.destroyDocument = true;
48562
- win = new MockWindow(doc);
48690
+ win2 = new MockWindow(doc2);
48563
48691
  if (!asStream) {
48564
- return render(win, opts, results).then(() => results);
48692
+ return render(win2, opts, results).then(() => results);
48565
48693
  }
48566
- return renderStream(win, opts, results);
48694
+ return renderStream(win2, opts, results);
48567
48695
  } catch (e) {
48568
- if (win && win.close) {
48569
- win.close();
48696
+ if (win2 && win2.close) {
48697
+ win2.close();
48570
48698
  }
48571
- win = null;
48699
+ win2 = null;
48572
48700
  renderCatchError(results, e);
48573
48701
  return Promise.resolve(results);
48574
48702
  }
48575
48703
  }
48576
- if (isValidDocument(doc)) {
48704
+ if (isValidDocument(doc2)) {
48577
48705
  try {
48578
48706
  opts.destroyDocument = false;
48579
- win = patchDomImplementation(doc, opts);
48707
+ win2 = patchDomImplementation(doc2, opts);
48580
48708
  if (!asStream) {
48581
- return render(win, opts, results).then(() => results);
48709
+ return render(win2, opts, results).then(() => results);
48582
48710
  }
48583
- return renderStream(win, opts, results);
48711
+ return renderStream(win2, opts, results);
48584
48712
  } catch (e) {
48585
- if (win && win.close) {
48586
- win.close();
48713
+ if (win2 && win2.close) {
48714
+ win2.close();
48587
48715
  }
48588
- win = null;
48716
+ win2 = null;
48589
48717
  renderCatchError(results, e);
48590
48718
  return Promise.resolve(results);
48591
48719
  }
@@ -48593,75 +48721,81 @@ function hydrateDocument(doc, options, asStream) {
48593
48721
  renderBuildError(results, `Invalid html or document. Must be either a valid "html" string, or DOM "document".`);
48594
48722
  return Promise.resolve(results);
48595
48723
  }
48596
- async function render(win, opts, results) {
48724
+ async function render(win2, opts, results) {
48597
48725
  if ("process" in globalThis && typeof process.on === "function" && !process.__stencilErrors) {
48598
48726
  process.__stencilErrors = true;
48599
48727
  process.on("unhandledRejection", (e) => {
48600
48728
  console.log("unhandledRejection", e);
48601
48729
  });
48602
48730
  }
48603
- initializeWindow(win, win.document, opts, results);
48731
+ initializeWindow(win2, win2.document, opts, results);
48604
48732
  const beforeHydrateFn = typeof opts.beforeHydrate === "function" ? opts.beforeHydrate : NOOP;
48605
48733
  try {
48606
- await Promise.resolve(beforeHydrateFn(win.document));
48607
- return new Promise((resolve) => hydrateFactory(win, opts, results, afterHydrate, resolve));
48734
+ await Promise.resolve(beforeHydrateFn(win2.document));
48735
+ return new Promise((resolve) => {
48736
+ if (Array.isArray(opts.modes)) {
48737
+ modeResolutionChain.length = 0;
48738
+ opts.modes.forEach((mode) => setMode(mode));
48739
+ }
48740
+ return hydrateFactory(win2, opts, results, afterHydrate, resolve);
48741
+ });
48608
48742
  } catch (e) {
48609
48743
  renderCatchError(results, e);
48610
- return finalizeHydrate(win, win.document, opts, results);
48744
+ return finalizeHydrate(win2, win2.document, opts, results);
48611
48745
  }
48612
48746
  }
48613
- function renderStream(win, opts, results) {
48747
+ function renderStream(win2, opts, results) {
48614
48748
  async function* processRender() {
48615
- const renderResult = await render(win, opts, results);
48749
+ const renderResult = await render(win2, opts, results);
48616
48750
  yield renderResult.html;
48617
48751
  }
48618
48752
  return stream.Readable.from(processRender());
48619
48753
  }
48620
- async function afterHydrate(win, opts, results, resolve) {
48754
+ async function afterHydrate(win2, opts, results, resolve) {
48621
48755
  const afterHydrateFn = typeof opts.afterHydrate === "function" ? opts.afterHydrate : NOOP;
48622
48756
  try {
48623
- await Promise.resolve(afterHydrateFn(win.document));
48624
- return resolve(finalizeHydrate(win, win.document, opts, results));
48757
+ await Promise.resolve(afterHydrateFn(win2.document));
48758
+ return resolve(finalizeHydrate(win2, win2.document, opts, results));
48625
48759
  } catch (e) {
48626
48760
  renderCatchError(results, e);
48627
- return resolve(finalizeHydrate(win, win.document, opts, results));
48761
+ return resolve(finalizeHydrate(win2, win2.document, opts, results));
48628
48762
  }
48629
48763
  }
48630
- function finalizeHydrate(win, doc, opts, results) {
48764
+ function finalizeHydrate(win2, doc2, opts, results) {
48631
48765
  try {
48632
- inspectElement(results, doc.documentElement, 0);
48766
+ inspectElement(results, doc2.documentElement, 0);
48633
48767
  if (opts.removeUnusedStyles !== false) {
48634
48768
  try {
48635
- removeUnusedStyles(doc, results.diagnostics);
48769
+ removeUnusedStyles(doc2, results.diagnostics);
48636
48770
  } catch (e) {
48637
48771
  renderCatchError(results, e);
48638
48772
  }
48639
48773
  }
48640
48774
  if (typeof opts.title === "string") {
48641
48775
  try {
48642
- doc.title = opts.title;
48776
+ doc2.title = opts.title;
48643
48777
  } catch (e) {
48644
48778
  renderCatchError(results, e);
48645
48779
  }
48646
48780
  }
48647
- results.title = doc.title;
48781
+ results.title = doc2.title;
48648
48782
  if (opts.removeScripts) {
48649
- removeScripts(doc.documentElement);
48783
+ removeScripts(doc2.documentElement);
48650
48784
  }
48651
48785
  try {
48652
- updateCanonicalLink(doc, opts.canonicalUrl);
48786
+ updateCanonicalLink(doc2, opts.canonicalUrl);
48653
48787
  } catch (e) {
48654
48788
  renderCatchError(results, e);
48655
48789
  }
48656
48790
  try {
48657
- relocateMetaCharset(doc);
48791
+ relocateMetaCharset(doc2);
48658
48792
  } catch (e) {
48659
48793
  }
48660
48794
  if (!hasError(results.diagnostics)) {
48661
48795
  results.httpStatus = 200;
48662
48796
  }
48663
48797
  try {
48664
- const metaStatus = doc.head.querySelector('meta[http-equiv="status"]');
48798
+ const metaStatus = doc2.head.querySelector('meta[http-equiv="status"]');
48665
48799
  if (metaStatus != null) {
48666
48800
  const metaStatusContent = metaStatus.getAttribute("content");
48667
48801
  if (metaStatusContent && metaStatusContent.length > 0) {
@@ -48671,35 +48805,35 @@ function finalizeHydrate(win, doc, opts, results) {
48671
48805
  } catch (e) {
48672
48806
  }
48673
48807
  if (opts.clientHydrateAnnotations) {
48674
- doc.documentElement.classList.add("hydrated");
48808
+ doc2.documentElement.classList.add("hydrated");
48675
48809
  }
48676
48810
  if (opts.serializeToHtml) {
48677
- results.html = serializeDocumentToString(doc, opts);
48811
+ results.html = serializeDocumentToString(doc2, opts);
48678
48812
  }
48679
48813
  } catch (e) {
48680
48814
  renderCatchError(results, e);
48681
48815
  }
48682
- destroyWindow(win, doc, opts, results);
48816
+ destroyWindow(win2, doc2, opts, results);
48683
48817
  return results;
48684
48818
  }
48685
- function destroyWindow(win, doc, opts, results) {
48819
+ function destroyWindow(win2, doc2, opts, results) {
48686
48820
  if (!opts.destroyWindow) {
48687
48821
  return;
48688
48822
  }
48689
48823
  try {
48690
48824
  if (!opts.destroyDocument) {
48691
- win.document = null;
48692
- doc.defaultView = null;
48825
+ win2.document = null;
48826
+ doc2.defaultView = null;
48693
48827
  }
48694
- if (win.close) {
48695
- win.close();
48828
+ if (win2.close) {
48829
+ win2.close();
48696
48830
  }
48697
48831
  } catch (e) {
48698
48832
  renderCatchError(results, e);
48699
48833
  }
48700
48834
  }
48701
- function serializeDocumentToString(doc, opts) {
48702
- return serializeNodeToHtml(doc, {
48835
+ function serializeDocumentToString(doc2, opts) {
48836
+ return serializeNodeToHtml(doc2, {
48703
48837
  approximateLineWidth: opts.approximateLineWidth,
48704
48838
  outerHtml: false,
48705
48839
  prettyHtml: opts.prettyHtml,
@@ -48711,8 +48845,8 @@ function serializeDocumentToString(doc, opts) {
48711
48845
  fullDocument: opts.fullDocument
48712
48846
  });
48713
48847
  }
48714
- function isValidDocument(doc) {
48715
- return doc != null && doc.nodeType === 9 && doc.documentElement != null && doc.documentElement.nodeType === 1 && doc.body != null && doc.body.nodeType === 1;
48848
+ function isValidDocument(doc2) {
48849
+ return doc2 != null && doc2.nodeType === 9 && doc2.documentElement != null && doc2.documentElement.nodeType === 1 && doc2.body != null && doc2.body.nodeType === 1;
48716
48850
  }
48717
48851
  function removeScripts(elm) {
48718
48852
  const children = elm.children;