@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.mjs CHANGED
@@ -3,6 +3,8 @@
3
3
  */
4
4
  import { Readable } from 'stream';
5
5
 
6
+ const modeResolutionChain = [];
7
+
6
8
  function hydrateFactory($stencilWindow, $stencilHydrateOpts, $stencilHydrateResults, $stencilAfterHydrate, $stencilHydrateResolve) {
7
9
  var globalThis = $stencilWindow;
8
10
  var self = $stencilWindow;
@@ -126,7 +128,7 @@ const NAMESPACE = 'ionic';
126
128
  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 };
127
129
 
128
130
  /*
129
- Stencil Hydrate Platform v4.21.0 | MIT Licensed | https://stenciljs.com
131
+ Stencil Hydrate Platform v4.21.0-dev.1726257631.b82b008 | MIT Licensed | https://stenciljs.com
130
132
  */
131
133
  var __defProp = Object.defineProperty;
132
134
  var __export = (target, all) => {
@@ -607,7 +609,7 @@ var addStyle = (styleContainerNode, cmpMeta, mode) => {
607
609
  if (!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */)) {
608
610
  if (styleContainerNode.nodeName === "HEAD") {
609
611
  const preconnectLinks = styleContainerNode.querySelectorAll("link[rel=preconnect]");
610
- const referenceNode2 = preconnectLinks.length > 0 ? preconnectLinks[preconnectLinks.length - 1].nextSibling : document.querySelector("style");
612
+ const referenceNode2 = preconnectLinks.length > 0 ? preconnectLinks[preconnectLinks.length - 1].nextSibling : styleContainerNode.querySelector("style");
611
613
  styleContainerNode.insertBefore(styleElm, referenceNode2);
612
614
  } else if ("host" in styleContainerNode) {
613
615
  styleContainerNode.prepend(styleElm);
@@ -2368,7 +2370,7 @@ var Build = {
2368
2370
  isTesting: false
2369
2371
  };
2370
2372
  var styles = /* @__PURE__ */ new Map();
2371
- var modeResolutionChain = [];
2373
+
2372
2374
 
2373
2375
  const transitionEndAsync = (el, expectedDuration = 0) => {
2374
2376
  return new Promise((resolve) => {
@@ -33258,8 +33260,105 @@ exports.hydrateApp = hydrateApp;
33258
33260
  hydrateAppClosure($stencilWindow);
33259
33261
  }
33260
33262
 
33263
+ // src/app-data/index.ts
33264
+ var BUILD = {
33265
+ allRenderFn: false,
33266
+ cmpDidLoad: true,
33267
+ cmpDidUnload: false,
33268
+ cmpDidUpdate: true,
33269
+ cmpDidRender: true,
33270
+ cmpWillLoad: true,
33271
+ cmpWillUpdate: true,
33272
+ cmpWillRender: true,
33273
+ connectedCallback: true,
33274
+ disconnectedCallback: true,
33275
+ element: true,
33276
+ event: true,
33277
+ hasRenderFn: true,
33278
+ lifecycle: true,
33279
+ hostListener: true,
33280
+ hostListenerTargetWindow: true,
33281
+ hostListenerTargetDocument: true,
33282
+ hostListenerTargetBody: true,
33283
+ hostListenerTargetParent: false,
33284
+ hostListenerTarget: true,
33285
+ member: true,
33286
+ method: true,
33287
+ mode: true,
33288
+ observeAttribute: true,
33289
+ prop: true,
33290
+ propMutable: true,
33291
+ reflect: true,
33292
+ scoped: true,
33293
+ shadowDom: true,
33294
+ slot: true,
33295
+ cssAnnotations: true,
33296
+ state: true,
33297
+ style: true,
33298
+ formAssociated: false,
33299
+ svg: true,
33300
+ updatable: true,
33301
+ vdomAttribute: true,
33302
+ vdomXlink: true,
33303
+ vdomClass: true,
33304
+ vdomFunctional: true,
33305
+ vdomKey: true,
33306
+ vdomListener: true,
33307
+ vdomRef: true,
33308
+ vdomPropOrAttr: true,
33309
+ vdomRender: true,
33310
+ vdomStyle: true,
33311
+ vdomText: true,
33312
+ watchCallback: true,
33313
+ taskQueue: true,
33314
+ hotModuleReplacement: false,
33315
+ isDebug: false,
33316
+ isDev: false,
33317
+ isTesting: false,
33318
+ hydrateServerSide: false,
33319
+ hydrateClientSide: false,
33320
+ lifecycleDOMEvents: false,
33321
+ lazyLoad: false,
33322
+ profile: false,
33323
+ slotRelocation: true,
33324
+ // TODO(STENCIL-914): remove this option when `experimentalSlotFixes` is the default behavior
33325
+ appendChildSlotFix: false,
33326
+ // TODO(STENCIL-914): remove this option when `experimentalSlotFixes` is the default behavior
33327
+ cloneNodeFix: false,
33328
+ hydratedAttribute: false,
33329
+ hydratedClass: true,
33330
+ // TODO(STENCIL-1305): remove this option
33331
+ scriptDataOpts: false,
33332
+ // TODO(STENCIL-914): remove this option when `experimentalSlotFixes` is the default behavior
33333
+ scopedSlotTextContentFix: false,
33334
+ // TODO(STENCIL-854): Remove code related to legacy shadowDomShim field
33335
+ shadowDomShim: false,
33336
+ // TODO(STENCIL-914): remove this option when `experimentalSlotFixes` is the default behavior
33337
+ slotChildNodesFix: false,
33338
+ invisiblePrehydration: true,
33339
+ propBoolean: true,
33340
+ propNumber: true,
33341
+ propString: true,
33342
+ constructableCSS: true,
33343
+ cmpShouldUpdate: true,
33344
+ devTools: false,
33345
+ shadowDelegatesFocus: true,
33346
+ initializeNextTick: false,
33347
+ asyncLoading: true,
33348
+ asyncQueue: false,
33349
+ transformTagName: false,
33350
+ attachStyles: true,
33351
+ // TODO(STENCIL-914): remove this option when `experimentalSlotFixes` is the default behavior
33352
+ experimentalSlotFixes: false
33353
+ };
33354
+ var Env = {};
33355
+ var NAMESPACE = (
33356
+ /* default */
33357
+ "app"
33358
+ );
33359
+
33261
33360
  /*
33262
- Stencil Hydrate Runner v4.21.0 | MIT Licensed | https://stenciljs.com
33361
+ Stencil Hydrate Runner v4.21.0-dev.1726257631.b82b008 | MIT Licensed | https://stenciljs.com
33263
33362
  */
33264
33363
  var __defProp = Object.defineProperty;
33265
33364
  var __export = (target, all) => {
@@ -33580,8 +33679,8 @@ function jsCaseToCssCase(str) {
33580
33679
 
33581
33680
  // src/mock-doc/custom-element-registry.ts
33582
33681
  var MockCustomElementRegistry = class {
33583
- constructor(win) {
33584
- this.win = win;
33682
+ constructor(win2) {
33683
+ this.win = win2;
33585
33684
  }
33586
33685
  define(tagName, cstr, options) {
33587
33686
  if (tagName.toLowerCase() !== tagName) {
@@ -33603,19 +33702,19 @@ var MockCustomElementRegistry = class {
33603
33702
  this.__whenDefined.delete(tagName);
33604
33703
  }
33605
33704
  }
33606
- const doc = this.win.document;
33607
- if (doc != null) {
33608
- const hosts = doc.querySelectorAll(tagName);
33705
+ const doc2 = this.win.document;
33706
+ if (doc2 != null) {
33707
+ const hosts = doc2.querySelectorAll(tagName);
33609
33708
  hosts.forEach((host) => {
33610
33709
  if (upgradedElements.has(host) === false) {
33611
- tempDisableCallbacks.add(doc);
33612
- const upgradedCmp = createCustomElement(this, doc, tagName);
33710
+ tempDisableCallbacks.add(doc2);
33711
+ const upgradedCmp = createCustomElement(this, doc2, tagName);
33613
33712
  for (let i = 0; i < host.childNodes.length; i++) {
33614
33713
  const childNode = host.childNodes[i];
33615
33714
  childNode.remove();
33616
33715
  upgradedCmp.appendChild(childNode);
33617
33716
  }
33618
- tempDisableCallbacks.delete(doc);
33717
+ tempDisableCallbacks.delete(doc2);
33619
33718
  if (proxyElements.has(host)) {
33620
33719
  proxyElements.set(host, upgradedCmp);
33621
33720
  }
@@ -33669,8 +33768,8 @@ var MockCustomElementRegistry = class {
33669
33768
  });
33670
33769
  }
33671
33770
  };
33672
- function createCustomElement(customElements, ownerDocument, tagName) {
33673
- const Cstr = customElements.get(tagName);
33771
+ function createCustomElement(customElements2, ownerDocument, tagName) {
33772
+ const Cstr = customElements2.get(tagName);
33674
33773
  if (Cstr != null) {
33675
33774
  const cmp = new Cstr(ownerDocument);
33676
33775
  cmp.nodeName = tagName.toUpperCase();
@@ -33718,8 +33817,8 @@ function connectNode(ownerDocument, node) {
33718
33817
  node.ownerDocument = ownerDocument;
33719
33818
  if (node.nodeType === 1 /* ELEMENT_NODE */) {
33720
33819
  if (ownerDocument != null && node.nodeName.includes("-")) {
33721
- const win = ownerDocument.defaultView;
33722
- if (win != null && typeof node.connectedCallback === "function" && node.isConnected) {
33820
+ const win2 = ownerDocument.defaultView;
33821
+ if (win2 != null && typeof node.connectedCallback === "function" && node.isConnected) {
33723
33822
  fireConnectedCallback(node);
33724
33823
  }
33725
33824
  const shadowRoot = node.shadowRoot;
@@ -38127,7 +38226,7 @@ var OpenElementStack = class {
38127
38226
  get currentTmplContentOrNode() {
38128
38227
  return this._isInTemplate() ? this.treeAdapter.getTemplateContent(this.current) : this.current;
38129
38228
  }
38130
- constructor(document, treeAdapter, handler) {
38229
+ constructor(document2, treeAdapter, handler) {
38131
38230
  this.treeAdapter = treeAdapter;
38132
38231
  this.handler = handler;
38133
38232
  this.items = [];
@@ -38135,7 +38234,7 @@ var OpenElementStack = class {
38135
38234
  this.stackTop = -1;
38136
38235
  this.tmplCount = 0;
38137
38236
  this.currentTagId = TAG_ID.UNKNOWN;
38138
- this.current = document;
38237
+ this.current = document2;
38139
38238
  }
38140
38239
  //Index of element
38141
38240
  _indexOf(element) {
@@ -38552,8 +38651,8 @@ var defaultTreeAdapter = {
38552
38651
  getTemplateContent(templateElement) {
38553
38652
  return templateElement.content;
38554
38653
  },
38555
- setDocumentType(document, name, publicId, systemId) {
38556
- const doctypeNode = document.childNodes.find((node) => node.nodeName === "#documentType");
38654
+ setDocumentType(document2, name, publicId, systemId) {
38655
+ const doctypeNode = document2.childNodes.find((node) => node.nodeName === "#documentType");
38557
38656
  if (doctypeNode) {
38558
38657
  doctypeNode.name = name;
38559
38658
  doctypeNode.publicId = publicId;
@@ -38566,14 +38665,14 @@ var defaultTreeAdapter = {
38566
38665
  systemId,
38567
38666
  parentNode: null
38568
38667
  };
38569
- defaultTreeAdapter.appendChild(document, node);
38668
+ defaultTreeAdapter.appendChild(document2, node);
38570
38669
  }
38571
38670
  },
38572
- setDocumentMode(document, mode) {
38573
- document.mode = mode;
38671
+ setDocumentMode(document2, mode) {
38672
+ document2.mode = mode;
38574
38673
  },
38575
- getDocumentMode(document) {
38576
- return document.mode;
38674
+ getDocumentMode(document2) {
38675
+ return document2.mode;
38577
38676
  },
38578
38677
  detachNode(node) {
38579
38678
  if (node.parentNode) {
@@ -39054,7 +39153,7 @@ var defaultParserOptions = {
39054
39153
  onParseError: null
39055
39154
  };
39056
39155
  var Parser = class {
39057
- constructor(options, document, fragmentContext = null, scriptHandler = null) {
39156
+ constructor(options, document2, fragmentContext = null, scriptHandler = null) {
39058
39157
  this.fragmentContext = fragmentContext;
39059
39158
  this.scriptHandler = scriptHandler;
39060
39159
  this.currentToken = null;
@@ -39079,7 +39178,7 @@ var Parser = class {
39079
39178
  if (this.onParseError) {
39080
39179
  this.options.sourceCodeLocationInfo = true;
39081
39180
  }
39082
- this.document = document !== null && document !== void 0 ? document : this.treeAdapter.createDocument();
39181
+ this.document = document2 !== null && document2 !== void 0 ? document2 : this.treeAdapter.createDocument();
39083
39182
  this.tokenizer = new Tokenizer(this.options, this);
39084
39183
  this.activeFormattingElements = new FormattingElementList(this.treeAdapter);
39085
39184
  this.fragmentContextID = fragmentContext ? getTagID(this.treeAdapter.getTagName(fragmentContext)) : TAG_ID.UNKNOWN;
@@ -42056,11 +42155,11 @@ function parseFragment(fragmentContext, html, options) {
42056
42155
  // src/mock-doc/parse-util.ts
42057
42156
  var docParser = /* @__PURE__ */ new WeakMap();
42058
42157
  function parseDocumentUtil(ownerDocument, html) {
42059
- const doc = parse(html.trim(), getParser(ownerDocument));
42060
- doc.documentElement = doc.firstElementChild;
42061
- doc.head = doc.documentElement.firstElementChild;
42062
- doc.body = doc.head.nextElementSibling;
42063
- return doc;
42158
+ const doc2 = parse(html.trim(), getParser(ownerDocument));
42159
+ doc2.documentElement = doc2.firstElementChild;
42160
+ doc2.head = doc2.documentElement.firstElementChild;
42161
+ doc2.body = doc2.head.nextElementSibling;
42162
+ return doc2;
42064
42163
  }
42065
42164
  function parseFragmentUtil(ownerDocument, html) {
42066
42165
  if (typeof html === "string") {
@@ -42078,9 +42177,9 @@ function getParser(ownerDocument) {
42078
42177
  }
42079
42178
  const treeAdapter = {
42080
42179
  createDocument() {
42081
- const doc = ownerDocument.createElement("#document" /* DOCUMENT_NODE */);
42082
- doc["x-mode"] = "no-quirks";
42083
- return doc;
42180
+ const doc2 = ownerDocument.createElement("#document" /* DOCUMENT_NODE */);
42181
+ doc2["x-mode"] = "no-quirks";
42182
+ return doc2;
42084
42183
  },
42085
42184
  setNodeSourceCodeLocation(node, location2) {
42086
42185
  node.sourceCodeLocation = location2;
@@ -42118,22 +42217,22 @@ function getParser(ownerDocument) {
42118
42217
  getTemplateContent(templateElement) {
42119
42218
  return templateElement.content;
42120
42219
  },
42121
- setDocumentType(doc, name, publicId, systemId) {
42122
- let doctypeNode = doc.childNodes.find((n) => n.nodeType === 10 /* DOCUMENT_TYPE_NODE */);
42220
+ setDocumentType(doc2, name, publicId, systemId) {
42221
+ let doctypeNode = doc2.childNodes.find((n) => n.nodeType === 10 /* DOCUMENT_TYPE_NODE */);
42123
42222
  if (doctypeNode == null) {
42124
42223
  doctypeNode = ownerDocument.createDocumentTypeNode();
42125
- doc.insertBefore(doctypeNode, doc.firstChild);
42224
+ doc2.insertBefore(doctypeNode, doc2.firstChild);
42126
42225
  }
42127
42226
  doctypeNode.nodeValue = "!DOCTYPE";
42128
42227
  doctypeNode["x-name"] = name;
42129
42228
  doctypeNode["x-publicId"] = publicId;
42130
42229
  doctypeNode["x-systemId"] = systemId;
42131
42230
  },
42132
- setDocumentMode(doc, mode) {
42133
- doc["x-mode"] = mode;
42231
+ setDocumentMode(doc2, mode) {
42232
+ doc2["x-mode"] = mode;
42134
42233
  },
42135
- getDocumentMode(doc) {
42136
- return doc["x-mode"];
42234
+ getDocumentMode(doc2) {
42235
+ return doc2["x-mode"];
42137
42236
  },
42138
42237
  detachNode(node) {
42139
42238
  node.remove();
@@ -42265,9 +42364,9 @@ var jquery_default = (
42265
42364
  nodeName: "HTML"
42266
42365
  }
42267
42366
  }
42268
- }, function(window, noGlobal) {
42367
+ }, function(window2, noGlobal) {
42269
42368
  "use strict";
42270
- if (!window.document) {
42369
+ if (!window2.document) {
42271
42370
  throw new Error("jQuery requires a window with a document");
42272
42371
  }
42273
42372
  var arr = [];
@@ -42302,16 +42401,16 @@ var jquery_default = (
42302
42401
  }
42303
42402
  return type === "array" || length === 0 || typeof length === "number" && length > 0 && length - 1 in obj;
42304
42403
  }
42305
- var document = window.document;
42404
+ var document2 = window2.document;
42306
42405
  var preservedScriptAttributes = {
42307
42406
  type: true,
42308
42407
  src: true,
42309
42408
  nonce: true,
42310
42409
  noModule: true
42311
42410
  };
42312
- function DOMEval(code, node, doc) {
42313
- doc = doc || document;
42314
- var i2, script = doc.createElement("script");
42411
+ function DOMEval(code, node, doc2) {
42412
+ doc2 = doc2 || document2;
42413
+ var i2, script = doc2.createElement("script");
42315
42414
  script.text = code;
42316
42415
  if (node) {
42317
42416
  for (i2 in preservedScriptAttributes) {
@@ -42320,7 +42419,7 @@ var jquery_default = (
42320
42419
  }
42321
42420
  }
42322
42421
  }
42323
- doc.head.appendChild(script).parentNode.removeChild(script);
42422
+ doc2.head.appendChild(script).parentNode.removeChild(script);
42324
42423
  }
42325
42424
  const jQuery = {};
42326
42425
  var version = "4.0.0-pre+9352011a7.dirty +selector", rhtmlSuffix = /HTML$/i, jQueryOrig = function(selector, context) {
@@ -42457,8 +42556,8 @@ var jquery_default = (
42457
42556
  },
42458
42557
  // Evaluates a script in a provided context; falls back to the global one
42459
42558
  // if not specified.
42460
- globalEval: function(code, options, doc) {
42461
- DOMEval(code, { nonce: options && options.nonce }, doc);
42559
+ globalEval: function(code, options, doc2) {
42560
+ DOMEval(code, { nonce: options && options.nonce }, doc2);
42462
42561
  },
42463
42562
  each: function(obj, callback) {
42464
42563
  var length, i2 = 0;
@@ -42585,9 +42684,9 @@ var jquery_default = (
42585
42684
  }
42586
42685
  var pop = arr.pop;
42587
42686
  var whitespace = "[\\x20\\t\\r\\n\\f]";
42588
- var isIE = document.documentMode;
42687
+ var isIE = document2.documentMode;
42589
42688
  try {
42590
- document.querySelector(":has(*,:jqfake)");
42689
+ document2.querySelector(":has(*,:jqfake)");
42591
42690
  support.cssHas = false;
42592
42691
  } catch (e) {
42593
42692
  support.cssHas = true;
@@ -42619,7 +42718,7 @@ var jquery_default = (
42619
42718
  var rleadingCombinator = new RegExp("^" + whitespace + "*([>+~]|" + whitespace + ")" + whitespace + "*");
42620
42719
  var rdescend = new RegExp(whitespace + "|>");
42621
42720
  var rsibling = /[+~]/;
42622
- var documentElement = document.documentElement;
42721
+ var documentElement = document2.documentElement;
42623
42722
  var matches2 = documentElement.matches || documentElement.msMatchesSelector;
42624
42723
  function createCache() {
42625
42724
  var keys = [];
@@ -42788,10 +42887,10 @@ var jquery_default = (
42788
42887
  1
42789
42888
  );
42790
42889
  if (compare & 1) {
42791
- if (a == document || a.ownerDocument == document && jQuery.contains(document, a)) {
42890
+ if (a == document2 || a.ownerDocument == document2 && jQuery.contains(document2, a)) {
42792
42891
  return -1;
42793
42892
  }
42794
- if (b == document || b.ownerDocument == document && jQuery.contains(document, b)) {
42893
+ if (b == document2 || b.ownerDocument == document2 && jQuery.contains(document2, b)) {
42795
42894
  return 1;
42796
42895
  }
42797
42896
  return 0;
@@ -42947,14 +43046,14 @@ var jquery_default = (
42947
43046
  });
42948
43047
  }
42949
43048
  function setDocument(node) {
42950
- var subWindow, doc = node ? node.ownerDocument || node : document;
42951
- if (doc == document$1 || doc.nodeType !== 9) {
43049
+ var subWindow, doc2 = node ? node.ownerDocument || node : document2;
43050
+ if (doc2 == document$1 || doc2.nodeType !== 9) {
42952
43051
  return;
42953
43052
  }
42954
- document$1 = doc;
43053
+ document$1 = doc2;
42955
43054
  documentElement$1 = document$1.documentElement;
42956
43055
  documentIsHTML = !jQuery.isXMLDoc(document$1);
42957
- if (isIE && document != document$1 && (subWindow = document$1.defaultView) && subWindow.top !== subWindow) {
43056
+ if (isIE && document2 != document$1 && (subWindow = document$1.defaultView) && subWindow.top !== subWindow) {
42958
43057
  subWindow.addEventListener("unload", unloadHandler);
42959
43058
  }
42960
43059
  }
@@ -43185,7 +43284,7 @@ var jquery_default = (
43185
43284
  }),
43186
43285
  // Miscellaneous
43187
43286
  target: function(elem) {
43188
- var hash = window.location && window.location.hash;
43287
+ var hash = window2.location && window2.location.hash;
43189
43288
  return hash && hash.slice(1) === elem.id;
43190
43289
  },
43191
43290
  root: function(elem) {
@@ -45175,9 +45274,9 @@ function createElement(ownerDocument, tagName) {
45175
45274
  return new MockUListElement(ownerDocument);
45176
45275
  }
45177
45276
  if (ownerDocument != null && tagName.includes("-")) {
45178
- const win = ownerDocument.defaultView;
45179
- if (win != null && win.customElements != null) {
45180
- return createCustomElement(win.customElements, ownerDocument, tagName);
45277
+ const win2 = ownerDocument.defaultView;
45278
+ if (win2 != null && win2.customElements != null) {
45279
+ return createCustomElement(win2.customElements, ownerDocument, tagName);
45181
45280
  }
45182
45281
  }
45183
45282
  return new MockHTMLElement(ownerDocument, tagName);
@@ -45599,9 +45698,9 @@ var CanvasRenderingContext = class {
45599
45698
  }
45600
45699
  clearRect() {
45601
45700
  }
45602
- getImageData(_, __, w, h) {
45701
+ getImageData(_, __, w, h2) {
45603
45702
  return {
45604
- data: new Array(w * h * 4)
45703
+ data: new Array(w * h2 * 4)
45605
45704
  };
45606
45705
  }
45607
45706
  toDataURL() {
@@ -45663,9 +45762,9 @@ var MockCanvasElement = class extends MockHTMLElement {
45663
45762
  function fullUrl(elm, attrName) {
45664
45763
  const val = elm.getAttribute(attrName) || "";
45665
45764
  if (elm.ownerDocument != null) {
45666
- const win = elm.ownerDocument.defaultView;
45667
- if (win != null) {
45668
- const loc = win.location;
45765
+ const win2 = elm.ownerDocument.defaultView;
45766
+ if (win2 != null) {
45767
+ const loc = win2.location;
45669
45768
  if (loc != null) {
45670
45769
  try {
45671
45770
  const url = new URL(val, loc.href);
@@ -46370,10 +46469,10 @@ var MockWindow = class {
46370
46469
  }
46371
46470
  get Document() {
46372
46471
  if (this.__docCstr == null) {
46373
- const win = this;
46472
+ const win2 = this;
46374
46473
  this.__docCstr = class extends MockDocument {
46375
46474
  constructor() {
46376
- super(false, win);
46475
+ super(false, win2);
46377
46476
  throw new Error("Illegal constructor: cannot construct Document");
46378
46477
  }
46379
46478
  };
@@ -46890,14 +46989,14 @@ var MockWindow = class {
46890
46989
  }
46891
46990
  };
46892
46991
  addGlobalsToWindowPrototype(MockWindow.prototype);
46893
- function resetWindowDefaults(win) {
46894
- win.__clearInterval = nativeClearInterval;
46895
- win.__clearTimeout = nativeClearTimeout;
46896
- win.__setInterval = nativeSetInterval;
46897
- win.__setTimeout = nativeSetTimeout;
46898
- win.__maxTimeout = 3e4;
46899
- win.__allowInterval = true;
46900
- win.URL = nativeURL;
46992
+ function resetWindowDefaults(win2) {
46993
+ win2.__clearInterval = nativeClearInterval;
46994
+ win2.__clearTimeout = nativeClearTimeout;
46995
+ win2.__setInterval = nativeSetInterval;
46996
+ win2.__setTimeout = nativeSetTimeout;
46997
+ win2.__maxTimeout = 3e4;
46998
+ win2.__allowInterval = true;
46999
+ win2.URL = nativeURL;
46901
47000
  }
46902
47001
  function cloneWindow(srcWin, opts = {}) {
46903
47002
  if (srcWin == null) {
@@ -46916,72 +47015,72 @@ function cloneWindow(srcWin, opts = {}) {
46916
47015
  }
46917
47016
  return clonedWin;
46918
47017
  }
46919
- function constrainTimeouts(win) {
46920
- win.__allowInterval = false;
46921
- win.__maxTimeout = 0;
47018
+ function constrainTimeouts(win2) {
47019
+ win2.__allowInterval = false;
47020
+ win2.__maxTimeout = 0;
46922
47021
  }
46923
- function resetWindow(win) {
46924
- if (win != null) {
46925
- if (win.__timeouts) {
46926
- win.__timeouts.forEach((timeoutId) => {
47022
+ function resetWindow(win2) {
47023
+ if (win2 != null) {
47024
+ if (win2.__timeouts) {
47025
+ win2.__timeouts.forEach((timeoutId) => {
46927
47026
  nativeClearInterval(timeoutId);
46928
47027
  nativeClearTimeout(timeoutId);
46929
47028
  });
46930
- win.__timeouts.clear();
47029
+ win2.__timeouts.clear();
46931
47030
  }
46932
- if (win.customElements && win.customElements.clear) {
46933
- win.customElements.clear();
47031
+ if (win2.customElements && win2.customElements.clear) {
47032
+ win2.customElements.clear();
46934
47033
  }
46935
- resetDocument(win.document);
46936
- resetPerformance(win.performance);
46937
- for (const key in win) {
46938
- if (win.hasOwnProperty(key) && key !== "document" && key !== "performance" && key !== "customElements") {
46939
- delete win[key];
47034
+ resetDocument(win2.document);
47035
+ resetPerformance(win2.performance);
47036
+ for (const key in win2) {
47037
+ if (win2.hasOwnProperty(key) && key !== "document" && key !== "performance" && key !== "customElements") {
47038
+ delete win2[key];
46940
47039
  }
46941
47040
  }
46942
- resetWindowDefaults(win);
46943
- resetWindowDimensions(win);
46944
- resetEventListeners(win);
46945
- if (win.document != null) {
47041
+ resetWindowDefaults(win2);
47042
+ resetWindowDimensions(win2);
47043
+ resetEventListeners(win2);
47044
+ if (win2.document != null) {
46946
47045
  try {
46947
- win.document.defaultView = win;
47046
+ win2.document.defaultView = win2;
46948
47047
  } catch (e) {
46949
47048
  }
46950
47049
  }
46951
- win.fetch = null;
46952
- win.Headers = null;
46953
- win.Request = null;
46954
- win.Response = null;
46955
- win.FetchError = null;
47050
+ win2.fetch = null;
47051
+ win2.Headers = null;
47052
+ win2.Request = null;
47053
+ win2.Response = null;
47054
+ win2.FetchError = null;
46956
47055
  }
46957
47056
  }
46958
- function resetWindowDimensions(win) {
47057
+ function resetWindowDimensions(win2) {
46959
47058
  try {
46960
- win.devicePixelRatio = 1;
46961
- win.innerHeight = 768;
46962
- win.innerWidth = 1366;
46963
- win.pageXOffset = 0;
46964
- win.pageYOffset = 0;
46965
- win.screenLeft = 0;
46966
- win.screenTop = 0;
46967
- win.screenX = 0;
46968
- win.screenY = 0;
46969
- win.scrollX = 0;
46970
- win.scrollY = 0;
46971
- win.screen = {
46972
- availHeight: win.innerHeight,
47059
+ win2.devicePixelRatio = 1;
47060
+ win2.innerHeight = 768;
47061
+ win2.innerWidth = 1366;
47062
+ win2.pageXOffset = 0;
47063
+ win2.pageYOffset = 0;
47064
+ win2.screenLeft = 0;
47065
+ win2.screenTop = 0;
47066
+ win2.screenX = 0;
47067
+ win2.screenY = 0;
47068
+ win2.scrollX = 0;
47069
+ win2.scrollY = 0;
47070
+ win2.screen = {
47071
+ availHeight: win2.innerHeight,
46973
47072
  availLeft: 0,
46974
47073
  availTop: 0,
46975
- availWidth: win.innerWidth,
47074
+ availWidth: win2.innerWidth,
46976
47075
  colorDepth: 24,
46977
- height: win.innerHeight,
47076
+ height: win2.innerHeight,
46978
47077
  keepAwake: false,
46979
47078
  orientation: {
46980
47079
  angle: 0,
46981
47080
  type: "portrait-primary"
46982
47081
  },
46983
47082
  pixelDepth: 24,
46984
- width: win.innerWidth
47083
+ width: win2.innerWidth
46985
47084
  };
46986
47085
  } catch (e) {
46987
47086
  }
@@ -46989,11 +47088,11 @@ function resetWindowDimensions(win) {
46989
47088
 
46990
47089
  // src/mock-doc/document.ts
46991
47090
  var MockDocument = class _MockDocument extends MockHTMLElement {
46992
- constructor(html = null, win = null) {
47091
+ constructor(html = null, win2 = null) {
46993
47092
  super(null, null);
46994
47093
  this.nodeName = "#document" /* DOCUMENT_NODE */;
46995
47094
  this.nodeType = 9 /* DOCUMENT_NODE */;
46996
- this.defaultView = win;
47095
+ this.defaultView = win2;
46997
47096
  this.cookie = "";
46998
47097
  this.referrer = "";
46999
47098
  this.appendChild(this.createDocumentTypeNode());
@@ -47140,10 +47239,10 @@ var MockDocument = class _MockDocument extends MockHTMLElement {
47140
47239
  }
47141
47240
  createElement(tagName) {
47142
47241
  if (tagName === "#document" /* DOCUMENT_NODE */) {
47143
- const doc = new _MockDocument(false);
47144
- doc.nodeName = tagName;
47145
- doc.parentNode = null;
47146
- return doc;
47242
+ const doc2 = new _MockDocument(false);
47243
+ doc2.nodeName = tagName;
47244
+ doc2.parentNode = null;
47245
+ return doc2;
47147
47246
  }
47148
47247
  return createElement(this, tagName);
47149
47248
  }
@@ -47183,10 +47282,10 @@ var MockDocument = class _MockDocument extends MockHTMLElement {
47183
47282
  title.textContent = value;
47184
47283
  }
47185
47284
  };
47186
- function resetDocument(doc) {
47187
- if (doc != null) {
47188
- resetEventListeners(doc);
47189
- const documentElement = doc.documentElement;
47285
+ function resetDocument(doc2) {
47286
+ if (doc2 != null) {
47287
+ resetEventListeners(doc2);
47288
+ const documentElement = doc2.documentElement;
47190
47289
  if (documentElement != null) {
47191
47290
  resetElement(documentElement);
47192
47291
  for (let i = 0, ii = documentElement.childNodes.length; i < ii; i++) {
@@ -47195,25 +47294,25 @@ function resetDocument(doc) {
47195
47294
  childNode.childNodes.length = 0;
47196
47295
  }
47197
47296
  }
47198
- for (const key in doc) {
47199
- if (doc.hasOwnProperty(key) && !DOC_KEY_KEEPERS.has(key)) {
47200
- delete doc[key];
47297
+ for (const key in doc2) {
47298
+ if (doc2.hasOwnProperty(key) && !DOC_KEY_KEEPERS.has(key)) {
47299
+ delete doc2[key];
47201
47300
  }
47202
47301
  }
47203
47302
  try {
47204
- doc.nodeName = "#document" /* DOCUMENT_NODE */;
47303
+ doc2.nodeName = "#document" /* DOCUMENT_NODE */;
47205
47304
  } catch (e) {
47206
47305
  }
47207
47306
  try {
47208
- doc.nodeType = 9 /* DOCUMENT_NODE */;
47307
+ doc2.nodeType = 9 /* DOCUMENT_NODE */;
47209
47308
  } catch (e) {
47210
47309
  }
47211
47310
  try {
47212
- doc.cookie = "";
47311
+ doc2.cookie = "";
47213
47312
  } catch (e) {
47214
47313
  }
47215
47314
  try {
47216
- doc.referrer = "";
47315
+ doc2.referrer = "";
47217
47316
  } catch (e) {
47218
47317
  }
47219
47318
  }
@@ -47269,9 +47368,33 @@ function createWindowFromHtml(templateHtml, uniqueId) {
47269
47368
  templateWindow = new MockWindow(templateHtml);
47270
47369
  templateWindows.set(uniqueId, templateWindow);
47271
47370
  }
47272
- const win = cloneWindow(templateWindow);
47273
- return win;
47371
+ const win2 = cloneWindow(templateWindow);
47372
+ return win2;
47274
47373
  }
47374
+ var Build = {
47375
+ isDev: BUILD.isDev ? true : false,
47376
+ isBrowser: true,
47377
+ isServer: false,
47378
+ isTesting: BUILD.isTesting ? true : false
47379
+ };
47380
+ var hostRefs = BUILD.hotModuleReplacement ? window.__STENCIL_HOSTREFS__ || (window.__STENCIL_HOSTREFS__ = /* @__PURE__ */ new WeakMap()) : /* @__PURE__ */ new WeakMap();
47381
+ var STENCIL_DEV_MODE = BUILD.isTesting ? ["STENCIL:"] : [
47382
+ "%cstencil",
47383
+ "color: white;background:#4c47ff;font-weight: bold; font-size:10px; padding:2px 6px; border-radius: 5px"
47384
+ ];
47385
+ var win = typeof window !== "undefined" ? window : {};
47386
+ var doc = win.document || { head: {} };
47387
+ var H = win.HTMLElement || class {
47388
+ };
47389
+ var supportsShadow = BUILD.shadowDom;
47390
+ var supportsConstructableStylesheets = BUILD.constructableCSS ? /* @__PURE__ */ (() => {
47391
+ try {
47392
+ new CSSStyleSheet();
47393
+ return typeof new CSSStyleSheet().replaceSync === "function";
47394
+ } catch (e) {
47395
+ }
47396
+ return false;
47397
+ })() : false;
47275
47398
 
47276
47399
  // src/utils/helpers.ts
47277
47400
  var isString = (v) => typeof v === "string";
@@ -47363,15 +47486,20 @@ var unwrapErr = (result) => {
47363
47486
  }
47364
47487
  };
47365
47488
 
47489
+ // src/runtime/mode.ts
47490
+ var setMode = (handler) => modeResolutionChain.push(handler);
47491
+ var CAPTURE_EVENT_SUFFIX = "Capture";
47492
+ var CAPTURE_EVENT_REGEX = new RegExp(CAPTURE_EVENT_SUFFIX + "$");
47493
+
47366
47494
  // src/compiler/html/canonical-link.ts
47367
- var updateCanonicalLink = (doc, href) => {
47495
+ var updateCanonicalLink = (doc2, href) => {
47368
47496
  var _a2;
47369
- let canonicalLinkElm = doc.head.querySelector('link[rel="canonical"]');
47497
+ let canonicalLinkElm = doc2.head.querySelector('link[rel="canonical"]');
47370
47498
  if (typeof href === "string") {
47371
47499
  if (canonicalLinkElm == null) {
47372
- canonicalLinkElm = doc.createElement("link");
47500
+ canonicalLinkElm = doc2.createElement("link");
47373
47501
  canonicalLinkElm.setAttribute("rel", "canonical");
47374
- doc.head.appendChild(canonicalLinkElm);
47502
+ doc2.head.appendChild(canonicalLinkElm);
47375
47503
  }
47376
47504
  canonicalLinkElm.setAttribute("href", href);
47377
47505
  } else {
@@ -47385,11 +47513,11 @@ var updateCanonicalLink = (doc, href) => {
47385
47513
  };
47386
47514
 
47387
47515
  // src/compiler/html/relocate-meta-charset.ts
47388
- var relocateMetaCharset = (doc) => {
47389
- const head = doc.head;
47516
+ var relocateMetaCharset = (doc2) => {
47517
+ const head = doc2.head;
47390
47518
  let charsetElm = head.querySelector("meta[charset]");
47391
47519
  if (charsetElm == null) {
47392
- charsetElm = doc.createElement("meta");
47520
+ charsetElm = doc2.createElement("meta");
47393
47521
  charsetElm.setAttribute("charset", "utf-8");
47394
47522
  } else {
47395
47523
  charsetElm.remove();
@@ -47664,13 +47792,13 @@ var parseCss = (css, filePath) => {
47664
47792
  const m = match(/^@([-\w]+)?document *([^{]+)/);
47665
47793
  if (!m) return null;
47666
47794
  const vendor = trim(m[1]);
47667
- const doc = trim(m[2]);
47795
+ const doc2 = trim(m[2]);
47668
47796
  if (!open()) return error(`@document missing '{'`);
47669
47797
  const style = comments().concat(rules());
47670
47798
  if (!close()) return error(`@document missing '}'`);
47671
47799
  return pos({
47672
47800
  type: 3 /* Document */,
47673
- document: doc,
47801
+ document: doc2,
47674
47802
  vendor,
47675
47803
  rules: style
47676
47804
  });
@@ -47996,11 +48124,11 @@ var serializeCssPage = (opts, node) => {
47996
48124
  };
47997
48125
  var serializeCssDocument = (opts, node) => {
47998
48126
  const documentCss = serializeCssMapVisit(opts, node.rules);
47999
- const doc = "@" + (node.vendor || "") + "document " + node.document;
48127
+ const doc2 = "@" + (node.vendor || "") + "document " + node.document;
48000
48128
  if (documentCss === "") {
48001
48129
  return "";
48002
48130
  }
48003
- return doc + "{" + documentCss + "}";
48131
+ return doc2 + "{" + documentCss + "}";
48004
48132
  };
48005
48133
  var serializeCssMapVisit = (opts, nodes) => {
48006
48134
  let rtn = "";
@@ -48098,12 +48226,12 @@ var collectUsedSelectors = (usedSelectors, elm) => {
48098
48226
  };
48099
48227
 
48100
48228
  // src/compiler/html/remove-unused-styles.ts
48101
- var removeUnusedStyles = (doc, diagnostics) => {
48229
+ var removeUnusedStyles = (doc2, diagnostics) => {
48102
48230
  try {
48103
- const styleElms = doc.head.querySelectorAll(`style[data-styles]`);
48231
+ const styleElms = doc2.head.querySelectorAll(`style[data-styles]`);
48104
48232
  const styleLen = styleElms.length;
48105
48233
  if (styleLen > 0) {
48106
- const usedSelectors = getUsedSelectors(doc.documentElement);
48234
+ const usedSelectors = getUsedSelectors(doc2.documentElement);
48107
48235
  for (let i = 0; i < styleLen; i++) {
48108
48236
  removeUnusedStyleText(usedSelectors, diagnostics, styleElms[i]);
48109
48237
  }
@@ -48236,49 +48364,49 @@ function collectAttributes(node) {
48236
48364
  var SKIP_ATTRS = /* @__PURE__ */ new Set(["s-id", "c-id"]);
48237
48365
 
48238
48366
  // src/hydrate/runner/patch-dom-implementation.ts
48239
- function patchDomImplementation(doc, opts) {
48240
- let win;
48241
- if (doc.defaultView != null) {
48367
+ function patchDomImplementation(doc2, opts) {
48368
+ let win2;
48369
+ if (doc2.defaultView != null) {
48242
48370
  opts.destroyWindow = true;
48243
- patchWindow(doc.defaultView);
48244
- win = doc.defaultView;
48371
+ patchWindow(doc2.defaultView);
48372
+ win2 = doc2.defaultView;
48245
48373
  } else {
48246
48374
  opts.destroyWindow = true;
48247
48375
  opts.destroyDocument = false;
48248
- win = new MockWindow(false);
48376
+ win2 = new MockWindow(false);
48249
48377
  }
48250
- if (win.document !== doc) {
48251
- win.document = doc;
48378
+ if (win2.document !== doc2) {
48379
+ win2.document = doc2;
48252
48380
  }
48253
- if (doc.defaultView !== win) {
48254
- doc.defaultView = win;
48381
+ if (doc2.defaultView !== win2) {
48382
+ doc2.defaultView = win2;
48255
48383
  }
48256
- const HTMLElement = doc.documentElement.constructor.prototype;
48257
- if (typeof HTMLElement.getRootNode !== "function") {
48258
- const elm = doc.createElement("unknown-element");
48384
+ const HTMLElement2 = doc2.documentElement.constructor.prototype;
48385
+ if (typeof HTMLElement2.getRootNode !== "function") {
48386
+ const elm = doc2.createElement("unknown-element");
48259
48387
  const HTMLUnknownElement = elm.constructor.prototype;
48260
48388
  HTMLUnknownElement.getRootNode = getRootNode;
48261
48389
  }
48262
- if (typeof doc.createEvent === "function") {
48263
- const CustomEvent = doc.createEvent("CustomEvent").constructor;
48264
- if (win.CustomEvent !== CustomEvent) {
48265
- win.CustomEvent = CustomEvent;
48390
+ if (typeof doc2.createEvent === "function") {
48391
+ const CustomEvent2 = doc2.createEvent("CustomEvent").constructor;
48392
+ if (win2.CustomEvent !== CustomEvent2) {
48393
+ win2.CustomEvent = CustomEvent2;
48266
48394
  }
48267
48395
  }
48268
48396
  try {
48269
- win.__stencil_baseURI = doc.baseURI;
48397
+ win2.__stencil_baseURI = doc2.baseURI;
48270
48398
  } catch (e) {
48271
- Object.defineProperty(doc, "baseURI", {
48399
+ Object.defineProperty(doc2, "baseURI", {
48272
48400
  get() {
48273
- const baseElm = doc.querySelector("base[href]");
48401
+ const baseElm = doc2.querySelector("base[href]");
48274
48402
  if (baseElm) {
48275
- return new URL(baseElm.getAttribute("href"), win.location.href).href;
48403
+ return new URL(baseElm.getAttribute("href"), win2.location.href).href;
48276
48404
  }
48277
- return win.location.href;
48405
+ return win2.location.href;
48278
48406
  }
48279
48407
  });
48280
48408
  }
48281
- return win;
48409
+ return win2;
48282
48410
  }
48283
48411
  function getRootNode(opts) {
48284
48412
  const isComposed = opts != null && opts.composed === true;
@@ -48431,10 +48559,10 @@ function renderCatchError(results, err2) {
48431
48559
  }
48432
48560
 
48433
48561
  // src/hydrate/runner/runtime-log.ts
48434
- function runtimeLogging(win, opts, results) {
48562
+ function runtimeLogging(win2, opts, results) {
48435
48563
  try {
48436
- const pathname = win.location.pathname;
48437
- win.console.error = (...msgs) => {
48564
+ const pathname = win2.location.pathname;
48565
+ win2.console.error = (...msgs) => {
48438
48566
  const errMsg = msgs.reduce((errMsg2, m) => {
48439
48567
  if (m) {
48440
48568
  if (m.stack != null) {
@@ -48454,7 +48582,7 @@ function runtimeLogging(win, opts, results) {
48454
48582
  }
48455
48583
  }
48456
48584
  };
48457
- win.console.debug = (...msgs) => {
48585
+ win2.console.debug = (...msgs) => {
48458
48586
  renderBuildDiagnostic(results, "debug", "Hydrate Debug", [...msgs].join(", "));
48459
48587
  if (opts.runtimeLogging) {
48460
48588
  runtimeLog(pathname, "debug", msgs);
@@ -48462,7 +48590,7 @@ function runtimeLogging(win, opts, results) {
48462
48590
  };
48463
48591
  if (opts.runtimeLogging) {
48464
48592
  ["log", "warn", "assert", "info", "trace"].forEach((type) => {
48465
- win.console[type] = (...msgs) => {
48593
+ win2.console[type] = (...msgs) => {
48466
48594
  runtimeLog(pathname, type, msgs);
48467
48595
  };
48468
48596
  });
@@ -48476,58 +48604,58 @@ function runtimeLog(pathname, type, msgs) {
48476
48604
  }
48477
48605
 
48478
48606
  // src/hydrate/runner/window-initialize.ts
48479
- function initializeWindow(win, doc, opts, results) {
48607
+ function initializeWindow(win2, doc2, opts, results) {
48480
48608
  if (typeof opts.url === "string") {
48481
48609
  try {
48482
- win.location.href = opts.url;
48610
+ win2.location.href = opts.url;
48483
48611
  } catch (e) {
48484
48612
  }
48485
48613
  }
48486
48614
  if (typeof opts.userAgent === "string") {
48487
48615
  try {
48488
- win.navigator.userAgent = opts.userAgent;
48616
+ win2.navigator.userAgent = opts.userAgent;
48489
48617
  } catch (e) {
48490
48618
  }
48491
48619
  }
48492
48620
  if (typeof opts.cookie === "string") {
48493
48621
  try {
48494
- doc.cookie = opts.cookie;
48622
+ doc2.cookie = opts.cookie;
48495
48623
  } catch (e) {
48496
48624
  }
48497
48625
  }
48498
48626
  if (typeof opts.referrer === "string") {
48499
48627
  try {
48500
- doc.referrer = opts.referrer;
48628
+ doc2.referrer = opts.referrer;
48501
48629
  } catch (e) {
48502
48630
  }
48503
48631
  }
48504
48632
  if (typeof opts.direction === "string") {
48505
48633
  try {
48506
- doc.documentElement.setAttribute("dir", opts.direction);
48634
+ doc2.documentElement.setAttribute("dir", opts.direction);
48507
48635
  } catch (e) {
48508
48636
  }
48509
48637
  }
48510
48638
  if (typeof opts.language === "string") {
48511
48639
  try {
48512
- doc.documentElement.setAttribute("lang", opts.language);
48640
+ doc2.documentElement.setAttribute("lang", opts.language);
48513
48641
  } catch (e) {
48514
48642
  }
48515
48643
  }
48516
48644
  if (typeof opts.buildId === "string") {
48517
48645
  try {
48518
- doc.documentElement.setAttribute("data-stencil-build", opts.buildId);
48646
+ doc2.documentElement.setAttribute("data-stencil-build", opts.buildId);
48519
48647
  } catch (e) {
48520
48648
  }
48521
48649
  }
48522
48650
  try {
48523
- win.customElements = null;
48651
+ win2.customElements = null;
48524
48652
  } catch (e) {
48525
48653
  }
48526
48654
  if (opts.constrainTimeouts) {
48527
- constrainTimeouts(win);
48655
+ constrainTimeouts(win2);
48528
48656
  }
48529
- runtimeLogging(win, opts, results);
48530
- return win;
48657
+ runtimeLogging(win2, opts, results);
48658
+ return win2;
48531
48659
  }
48532
48660
 
48533
48661
  // src/hydrate/runner/render.ts
@@ -48544,44 +48672,44 @@ function renderToString(html, options, asStream) {
48544
48672
  opts.constrainTimeouts = false;
48545
48673
  return hydrateDocument(html, opts, asStream);
48546
48674
  }
48547
- function hydrateDocument(doc, options, asStream) {
48675
+ function hydrateDocument(doc2, options, asStream) {
48548
48676
  const opts = normalizeHydrateOptions(options);
48549
- let win = null;
48677
+ let win2 = null;
48550
48678
  const results = generateHydrateResults(opts);
48551
48679
  if (hasError(results.diagnostics)) {
48552
48680
  return Promise.resolve(results);
48553
48681
  }
48554
- if (typeof doc === "string") {
48682
+ if (typeof doc2 === "string") {
48555
48683
  try {
48556
48684
  opts.destroyWindow = true;
48557
48685
  opts.destroyDocument = true;
48558
- win = new MockWindow(doc);
48686
+ win2 = new MockWindow(doc2);
48559
48687
  if (!asStream) {
48560
- return render(win, opts, results).then(() => results);
48688
+ return render(win2, opts, results).then(() => results);
48561
48689
  }
48562
- return renderStream(win, opts, results);
48690
+ return renderStream(win2, opts, results);
48563
48691
  } catch (e) {
48564
- if (win && win.close) {
48565
- win.close();
48692
+ if (win2 && win2.close) {
48693
+ win2.close();
48566
48694
  }
48567
- win = null;
48695
+ win2 = null;
48568
48696
  renderCatchError(results, e);
48569
48697
  return Promise.resolve(results);
48570
48698
  }
48571
48699
  }
48572
- if (isValidDocument(doc)) {
48700
+ if (isValidDocument(doc2)) {
48573
48701
  try {
48574
48702
  opts.destroyDocument = false;
48575
- win = patchDomImplementation(doc, opts);
48703
+ win2 = patchDomImplementation(doc2, opts);
48576
48704
  if (!asStream) {
48577
- return render(win, opts, results).then(() => results);
48705
+ return render(win2, opts, results).then(() => results);
48578
48706
  }
48579
- return renderStream(win, opts, results);
48707
+ return renderStream(win2, opts, results);
48580
48708
  } catch (e) {
48581
- if (win && win.close) {
48582
- win.close();
48709
+ if (win2 && win2.close) {
48710
+ win2.close();
48583
48711
  }
48584
- win = null;
48712
+ win2 = null;
48585
48713
  renderCatchError(results, e);
48586
48714
  return Promise.resolve(results);
48587
48715
  }
@@ -48589,75 +48717,81 @@ function hydrateDocument(doc, options, asStream) {
48589
48717
  renderBuildError(results, `Invalid html or document. Must be either a valid "html" string, or DOM "document".`);
48590
48718
  return Promise.resolve(results);
48591
48719
  }
48592
- async function render(win, opts, results) {
48720
+ async function render(win2, opts, results) {
48593
48721
  if ("process" in globalThis && typeof process.on === "function" && !process.__stencilErrors) {
48594
48722
  process.__stencilErrors = true;
48595
48723
  process.on("unhandledRejection", (e) => {
48596
48724
  console.log("unhandledRejection", e);
48597
48725
  });
48598
48726
  }
48599
- initializeWindow(win, win.document, opts, results);
48727
+ initializeWindow(win2, win2.document, opts, results);
48600
48728
  const beforeHydrateFn = typeof opts.beforeHydrate === "function" ? opts.beforeHydrate : NOOP;
48601
48729
  try {
48602
- await Promise.resolve(beforeHydrateFn(win.document));
48603
- return new Promise((resolve) => hydrateFactory(win, opts, results, afterHydrate, resolve));
48730
+ await Promise.resolve(beforeHydrateFn(win2.document));
48731
+ return new Promise((resolve) => {
48732
+ if (Array.isArray(opts.modes)) {
48733
+ modeResolutionChain.length = 0;
48734
+ opts.modes.forEach((mode) => setMode(mode));
48735
+ }
48736
+ return hydrateFactory(win2, opts, results, afterHydrate, resolve);
48737
+ });
48604
48738
  } catch (e) {
48605
48739
  renderCatchError(results, e);
48606
- return finalizeHydrate(win, win.document, opts, results);
48740
+ return finalizeHydrate(win2, win2.document, opts, results);
48607
48741
  }
48608
48742
  }
48609
- function renderStream(win, opts, results) {
48743
+ function renderStream(win2, opts, results) {
48610
48744
  async function* processRender() {
48611
- const renderResult = await render(win, opts, results);
48745
+ const renderResult = await render(win2, opts, results);
48612
48746
  yield renderResult.html;
48613
48747
  }
48614
48748
  return Readable.from(processRender());
48615
48749
  }
48616
- async function afterHydrate(win, opts, results, resolve) {
48750
+ async function afterHydrate(win2, opts, results, resolve) {
48617
48751
  const afterHydrateFn = typeof opts.afterHydrate === "function" ? opts.afterHydrate : NOOP;
48618
48752
  try {
48619
- await Promise.resolve(afterHydrateFn(win.document));
48620
- return resolve(finalizeHydrate(win, win.document, opts, results));
48753
+ await Promise.resolve(afterHydrateFn(win2.document));
48754
+ return resolve(finalizeHydrate(win2, win2.document, opts, results));
48621
48755
  } catch (e) {
48622
48756
  renderCatchError(results, e);
48623
- return resolve(finalizeHydrate(win, win.document, opts, results));
48757
+ return resolve(finalizeHydrate(win2, win2.document, opts, results));
48624
48758
  }
48625
48759
  }
48626
- function finalizeHydrate(win, doc, opts, results) {
48760
+ function finalizeHydrate(win2, doc2, opts, results) {
48627
48761
  try {
48628
- inspectElement(results, doc.documentElement, 0);
48762
+ inspectElement(results, doc2.documentElement, 0);
48629
48763
  if (opts.removeUnusedStyles !== false) {
48630
48764
  try {
48631
- removeUnusedStyles(doc, results.diagnostics);
48765
+ removeUnusedStyles(doc2, results.diagnostics);
48632
48766
  } catch (e) {
48633
48767
  renderCatchError(results, e);
48634
48768
  }
48635
48769
  }
48636
48770
  if (typeof opts.title === "string") {
48637
48771
  try {
48638
- doc.title = opts.title;
48772
+ doc2.title = opts.title;
48639
48773
  } catch (e) {
48640
48774
  renderCatchError(results, e);
48641
48775
  }
48642
48776
  }
48643
- results.title = doc.title;
48777
+ results.title = doc2.title;
48644
48778
  if (opts.removeScripts) {
48645
- removeScripts(doc.documentElement);
48779
+ removeScripts(doc2.documentElement);
48646
48780
  }
48647
48781
  try {
48648
- updateCanonicalLink(doc, opts.canonicalUrl);
48782
+ updateCanonicalLink(doc2, opts.canonicalUrl);
48649
48783
  } catch (e) {
48650
48784
  renderCatchError(results, e);
48651
48785
  }
48652
48786
  try {
48653
- relocateMetaCharset(doc);
48787
+ relocateMetaCharset(doc2);
48654
48788
  } catch (e) {
48655
48789
  }
48656
48790
  if (!hasError(results.diagnostics)) {
48657
48791
  results.httpStatus = 200;
48658
48792
  }
48659
48793
  try {
48660
- const metaStatus = doc.head.querySelector('meta[http-equiv="status"]');
48794
+ const metaStatus = doc2.head.querySelector('meta[http-equiv="status"]');
48661
48795
  if (metaStatus != null) {
48662
48796
  const metaStatusContent = metaStatus.getAttribute("content");
48663
48797
  if (metaStatusContent && metaStatusContent.length > 0) {
@@ -48667,35 +48801,35 @@ function finalizeHydrate(win, doc, opts, results) {
48667
48801
  } catch (e) {
48668
48802
  }
48669
48803
  if (opts.clientHydrateAnnotations) {
48670
- doc.documentElement.classList.add("hydrated");
48804
+ doc2.documentElement.classList.add("hydrated");
48671
48805
  }
48672
48806
  if (opts.serializeToHtml) {
48673
- results.html = serializeDocumentToString(doc, opts);
48807
+ results.html = serializeDocumentToString(doc2, opts);
48674
48808
  }
48675
48809
  } catch (e) {
48676
48810
  renderCatchError(results, e);
48677
48811
  }
48678
- destroyWindow(win, doc, opts, results);
48812
+ destroyWindow(win2, doc2, opts, results);
48679
48813
  return results;
48680
48814
  }
48681
- function destroyWindow(win, doc, opts, results) {
48815
+ function destroyWindow(win2, doc2, opts, results) {
48682
48816
  if (!opts.destroyWindow) {
48683
48817
  return;
48684
48818
  }
48685
48819
  try {
48686
48820
  if (!opts.destroyDocument) {
48687
- win.document = null;
48688
- doc.defaultView = null;
48821
+ win2.document = null;
48822
+ doc2.defaultView = null;
48689
48823
  }
48690
- if (win.close) {
48691
- win.close();
48824
+ if (win2.close) {
48825
+ win2.close();
48692
48826
  }
48693
48827
  } catch (e) {
48694
48828
  renderCatchError(results, e);
48695
48829
  }
48696
48830
  }
48697
- function serializeDocumentToString(doc, opts) {
48698
- return serializeNodeToHtml(doc, {
48831
+ function serializeDocumentToString(doc2, opts) {
48832
+ return serializeNodeToHtml(doc2, {
48699
48833
  approximateLineWidth: opts.approximateLineWidth,
48700
48834
  outerHtml: false,
48701
48835
  prettyHtml: opts.prettyHtml,
@@ -48707,8 +48841,8 @@ function serializeDocumentToString(doc, opts) {
48707
48841
  fullDocument: opts.fullDocument
48708
48842
  });
48709
48843
  }
48710
- function isValidDocument(doc) {
48711
- return doc != null && doc.nodeType === 9 && doc.documentElement != null && doc.documentElement.nodeType === 1 && doc.body != null && doc.body.nodeType === 1;
48844
+ function isValidDocument(doc2) {
48845
+ return doc2 != null && doc2.nodeType === 9 && doc2.documentElement != null && doc2.documentElement.nodeType === 1 && doc2.body != null && doc2.body.nodeType === 1;
48712
48846
  }
48713
48847
  function removeScripts(elm) {
48714
48848
  const children = elm.children;