@ionic/core 8.0.0-dev.11711498366.18f063ac → 8.0.0-rc.0

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 (941) hide show
  1. package/components/action-sheet.js +6 -11
  2. package/components/alert.js +8 -12
  3. package/components/backdrop.js +4 -8
  4. package/components/button.js +8 -25
  5. package/components/buttons.js +5 -9
  6. package/components/checkbox.js +9 -13
  7. package/components/data.js +4 -4
  8. package/components/index4.js +7 -8
  9. package/components/index6.js +30 -27
  10. package/components/index7.js +27 -124
  11. package/components/index8.js +111 -150
  12. package/components/index9.js +167 -0
  13. package/components/input-shims.js +1 -1
  14. package/components/input.utils.js +1 -1
  15. package/components/ion-accordion-group.js +6 -9
  16. package/components/ion-accordion.js +6 -10
  17. package/components/ion-app.js +6 -5
  18. package/components/ion-avatar.js +2 -9
  19. package/components/ion-back-button.js +8 -12
  20. package/components/ion-badge.js +5 -9
  21. package/components/ion-breadcrumb.js +7 -11
  22. package/components/ion-breadcrumbs.js +5 -9
  23. package/components/ion-card-content.js +5 -9
  24. package/components/ion-card-header.js +5 -9
  25. package/components/ion-card-subtitle.js +5 -9
  26. package/components/ion-card-title.js +5 -9
  27. package/components/ion-card.js +7 -11
  28. package/components/ion-chip.js +5 -9
  29. package/components/ion-col.js +5 -5
  30. package/components/ion-content.js +10 -10
  31. package/components/ion-datetime-button.js +6 -9
  32. package/components/ion-datetime.js +17 -20
  33. package/components/ion-fab-button.js +6 -10
  34. package/components/ion-fab-list.js +5 -5
  35. package/components/ion-fab.js +5 -5
  36. package/components/ion-footer.js +10 -14
  37. package/components/ion-grid.js +5 -5
  38. package/components/ion-header.js +10 -14
  39. package/components/ion-img.js +2 -5
  40. package/components/ion-infinite-scroll-content.js +8 -12
  41. package/components/ion-infinite-scroll.js +5 -5
  42. package/components/ion-input-password-toggle.js +3 -2
  43. package/components/ion-input.js +10 -14
  44. package/components/ion-item-divider.js +5 -9
  45. package/components/ion-item-group.js +5 -9
  46. package/components/ion-item-option.js +5 -9
  47. package/components/ion-item-options.js +5 -9
  48. package/components/ion-item-sliding.js +5 -5
  49. package/components/ion-loading.js +6 -10
  50. package/components/ion-menu-button.js +7 -11
  51. package/components/ion-menu-toggle.js +5 -5
  52. package/components/ion-menu.js +5 -9
  53. package/components/ion-modal.js +8 -11
  54. package/components/ion-nav-link.js +1 -1
  55. package/components/ion-nav.js +5 -6
  56. package/components/ion-note.js +5 -9
  57. package/components/ion-picker-legacy.js +6 -5
  58. package/components/ion-progress-bar.js +4 -8
  59. package/components/ion-range.js +8 -11
  60. package/components/ion-refresher-content.js +8 -9
  61. package/components/ion-refresher.js +6 -10
  62. package/components/ion-reorder-group.js +5 -5
  63. package/components/ion-reorder.js +5 -11
  64. package/components/ion-router-link.js +5 -5
  65. package/components/ion-router-outlet.js +1 -1
  66. package/components/ion-row.js +2 -5
  67. package/components/ion-searchbar.js +13 -17
  68. package/components/ion-segment-button.js +6 -10
  69. package/components/ion-segment.js +5 -9
  70. package/components/ion-select-option.js +2 -5
  71. package/components/ion-select.js +19 -23
  72. package/components/ion-skeleton-text.js +5 -5
  73. package/components/ion-split-pane.js +6 -10
  74. package/components/ion-tab-bar.js +5 -9
  75. package/components/ion-tab-button.js +5 -9
  76. package/components/ion-tab.js +2 -2
  77. package/components/ion-tabs.js +1 -1
  78. package/components/ion-text.js +5 -5
  79. package/components/ion-textarea.js +8 -12
  80. package/components/ion-thumbnail.js +2 -5
  81. package/components/ion-title.js +5 -9
  82. package/components/ion-toast.js +9 -13
  83. package/components/ion-toggle.js +13 -17
  84. package/components/ion-toolbar.js +5 -9
  85. package/components/ionic-global.js +14 -191
  86. package/components/ios.transition.js +0 -1
  87. package/components/item.js +7 -11
  88. package/components/label.js +5 -9
  89. package/components/list-header.js +5 -9
  90. package/components/list.js +6 -10
  91. package/components/overlays.js +2 -1
  92. package/components/picker-column-option.js +5 -9
  93. package/components/picker-column.js +6 -6
  94. package/components/picker-column2.js +4 -4
  95. package/components/picker.js +2 -6
  96. package/components/popover.js +6 -9
  97. package/components/radio-group.js +3 -5
  98. package/components/radio.js +6 -10
  99. package/components/ripple-effect.js +4 -4
  100. package/components/select-popover.js +2 -9
  101. package/components/spinner.js +6 -6
  102. package/components/status-tap.js +1 -1
  103. package/css/core.css +0 -18
  104. package/css/core.css.map +1 -1
  105. package/css/display.css +0 -6
  106. package/css/display.css.map +1 -1
  107. package/css/float-elements.css +0 -6
  108. package/css/float-elements.css.map +1 -1
  109. package/css/global.bundle.css +0 -12
  110. package/css/global.bundle.css.map +1 -1
  111. package/css/ionic-swiper.css +0 -6
  112. package/css/ionic-swiper.css.map +1 -1
  113. package/css/ionic.bundle.css.map +1 -1
  114. package/css/padding.css +0 -6
  115. package/css/padding.css.map +1 -1
  116. package/css/structure.css +0 -6
  117. package/css/structure.css.map +1 -1
  118. package/css/text-alignment.css +0 -6
  119. package/css/text-alignment.css.map +1 -1
  120. package/css/text-transformation.css +0 -6
  121. package/css/text-transformation.css.map +1 -1
  122. package/css/typography.css +0 -6
  123. package/css/typography.css.map +1 -1
  124. package/css/utils.bundle.css +0 -30
  125. package/css/utils.bundle.css.map +1 -1
  126. package/dist/cjs/{app-globals-c355ec99.js → app-globals-63aebf89.js} +1 -1
  127. package/dist/cjs/{button-active-e2ed5329.js → button-active-bd13859e.js} +1 -1
  128. package/dist/cjs/{data-7c73c8b9.js → data-21dc0f81.js} +6 -6
  129. package/dist/cjs/{hardware-back-button-e79bd12c.js → hardware-back-button-ad9299b4.js} +2 -2
  130. package/dist/cjs/index-5915f9b3.js +38 -0
  131. package/dist/cjs/{index-193def18.js → index-5b6a7459.js} +2 -2
  132. package/dist/cjs/{index-f06d55a9.js → index-5cf05f94.js} +12 -13
  133. package/dist/cjs/{index-2d21d526.js → index-af6d0fbb.js} +16 -4
  134. package/dist/cjs/{index-5643c839.js → index-ff66cc7c.js} +3 -3
  135. package/dist/cjs/index.cjs.js +9 -8
  136. package/dist/cjs/{input-shims-0c59e88a.js → input-shims-20d639e6.js} +2 -3
  137. package/dist/cjs/{input.utils-ee49fd29.js → input.utils-611cde0b.js} +2 -2
  138. package/dist/cjs/ion-accordion_2.cjs.entry.js +12 -19
  139. package/dist/cjs/ion-action-sheet.cjs.entry.js +11 -15
  140. package/dist/cjs/ion-alert.cjs.entry.js +13 -16
  141. package/dist/cjs/ion-app_8.cjs.entry.js +61 -80
  142. package/dist/cjs/ion-avatar_3.cjs.entry.js +8 -22
  143. package/dist/cjs/ion-back-button.cjs.entry.js +8 -12
  144. package/dist/cjs/ion-backdrop.cjs.entry.js +5 -9
  145. package/dist/cjs/ion-breadcrumb_2.cjs.entry.js +11 -19
  146. package/dist/cjs/ion-button_2.cjs.entry.js +12 -29
  147. package/dist/cjs/ion-card_5.cjs.entry.js +24 -44
  148. package/dist/cjs/ion-checkbox.cjs.entry.js +10 -14
  149. package/dist/cjs/ion-chip.cjs.entry.js +6 -10
  150. package/dist/cjs/ion-col_3.cjs.entry.js +11 -14
  151. package/dist/cjs/ion-datetime-button.cjs.entry.js +12 -15
  152. package/dist/cjs/ion-datetime_3.cjs.entry.js +103 -106
  153. package/dist/cjs/ion-fab_3.cjs.entry.js +14 -18
  154. package/dist/cjs/ion-img.cjs.entry.js +3 -6
  155. package/dist/cjs/ion-infinite-scroll_2.cjs.entry.js +14 -17
  156. package/dist/cjs/ion-input-password-toggle.cjs.entry.js +8 -7
  157. package/dist/cjs/ion-input.cjs.entry.js +12 -15
  158. package/dist/cjs/ion-item-option_3.cjs.entry.js +15 -22
  159. package/dist/cjs/ion-item_8.cjs.entry.js +36 -64
  160. package/dist/cjs/ion-loading.cjs.entry.js +10 -13
  161. package/dist/cjs/ion-menu_3.cjs.entry.js +19 -26
  162. package/dist/cjs/ion-modal.cjs.entry.js +17 -20
  163. package/dist/cjs/ion-nav_2.cjs.entry.js +7 -9
  164. package/dist/cjs/ion-picker-column-option.cjs.entry.js +6 -10
  165. package/dist/cjs/ion-picker-column.cjs.entry.js +7 -7
  166. package/dist/cjs/ion-picker.cjs.entry.js +3 -7
  167. package/dist/cjs/ion-popover.cjs.entry.js +13 -16
  168. package/dist/cjs/ion-progress-bar.cjs.entry.js +5 -9
  169. package/dist/cjs/ion-radio_2.cjs.entry.js +9 -15
  170. package/dist/cjs/ion-range.cjs.entry.js +14 -17
  171. package/dist/cjs/ion-refresher_2.cjs.entry.js +14 -18
  172. package/dist/cjs/ion-reorder_2.cjs.entry.js +10 -15
  173. package/dist/cjs/ion-ripple-effect.cjs.entry.js +5 -5
  174. package/dist/cjs/ion-route_4.cjs.entry.js +6 -6
  175. package/dist/cjs/ion-searchbar.cjs.entry.js +13 -17
  176. package/dist/cjs/ion-segment_2.cjs.entry.js +11 -19
  177. package/dist/cjs/ion-select_3.cjs.entry.js +24 -37
  178. package/dist/cjs/ion-spinner.cjs.entry.js +7 -7
  179. package/dist/cjs/ion-split-pane.cjs.entry.js +7 -11
  180. package/dist/cjs/ion-tab-bar_2.cjs.entry.js +10 -18
  181. package/dist/cjs/ion-tab_2.cjs.entry.js +4 -4
  182. package/dist/cjs/ion-text.cjs.entry.js +6 -6
  183. package/dist/cjs/ion-textarea.cjs.entry.js +11 -14
  184. package/dist/cjs/ion-toast.cjs.entry.js +32 -36
  185. package/dist/cjs/ion-toggle.cjs.entry.js +13 -17
  186. package/dist/cjs/ionic-global-1adf9bc4.js +230 -0
  187. package/dist/cjs/ionic.cjs.js +4 -4
  188. package/dist/cjs/{ios.transition-19155451.js → ios.transition-06673f18.js} +2 -3
  189. package/dist/cjs/loader.cjs.js +3 -3
  190. package/dist/cjs/{md.transition-1b1135b1.js → md.transition-4d7bb4b1.js} +2 -2
  191. package/dist/cjs/{overlays-f770745f.js → overlays-6487955a.js} +4 -3
  192. package/dist/cjs/{status-tap-8d40351a.js → status-tap-0be20572.js} +3 -3
  193. package/dist/collection/collection-manifest.json +2 -2
  194. package/dist/collection/components/accordion/accordion.ios.css +0 -12
  195. package/dist/collection/components/accordion/accordion.js +8 -11
  196. package/dist/collection/components/accordion/accordion.md.css +0 -6
  197. package/dist/collection/components/accordion-group/accordion-group.ios.css +0 -12
  198. package/dist/collection/components/accordion-group/accordion-group.js +8 -11
  199. package/dist/collection/components/accordion-group/accordion-group.md.css +0 -18
  200. package/dist/collection/components/action-sheet/action-sheet.ios.css +0 -12
  201. package/dist/collection/components/action-sheet/action-sheet.js +10 -14
  202. package/dist/collection/components/action-sheet/action-sheet.md.css +0 -12
  203. package/dist/collection/components/alert/alert.ios.css +0 -18
  204. package/dist/collection/components/alert/alert.js +12 -15
  205. package/dist/collection/components/alert/alert.md.css +0 -18
  206. package/dist/collection/components/app/app.js +4 -8
  207. package/dist/collection/components/avatar/avatar.ios.css +0 -12
  208. package/dist/collection/components/avatar/avatar.js +4 -13
  209. package/dist/collection/components/avatar/avatar.md.css +0 -12
  210. package/dist/collection/components/back-button/back-button.ios.css +0 -12
  211. package/dist/collection/components/back-button/back-button.js +10 -13
  212. package/dist/collection/components/back-button/back-button.md.css +0 -12
  213. package/dist/collection/components/backdrop/backdrop.ios.css +0 -12
  214. package/dist/collection/components/backdrop/backdrop.js +6 -12
  215. package/dist/collection/components/backdrop/backdrop.md.css +0 -12
  216. package/dist/collection/components/badge/badge.ios.css +0 -12
  217. package/dist/collection/components/badge/badge.js +8 -11
  218. package/dist/collection/components/badge/badge.md.css +0 -12
  219. package/dist/collection/components/breadcrumb/breadcrumb.ios.css +0 -12
  220. package/dist/collection/components/breadcrumb/breadcrumb.js +9 -12
  221. package/dist/collection/components/breadcrumb/breadcrumb.md.css +0 -12
  222. package/dist/collection/components/breadcrumbs/breadcrumbs.ios.css +0 -6
  223. package/dist/collection/components/breadcrumbs/breadcrumbs.js +9 -11
  224. package/dist/collection/components/breadcrumbs/breadcrumbs.md.css +0 -6
  225. package/dist/collection/components/button/button.ios.css +0 -18
  226. package/dist/collection/components/button/button.js +14 -31
  227. package/dist/collection/components/button/button.md.css +0 -12
  228. package/dist/collection/components/button/test/clear/button.e2e.js +3 -6
  229. package/dist/collection/components/button/test/round/button.e2e.js +52 -0
  230. package/dist/collection/components/button/test/size/button.e2e.js +1 -19
  231. package/dist/collection/components/buttons/buttons.ios.css +0 -18
  232. package/dist/collection/components/buttons/buttons.js +8 -14
  233. package/dist/collection/components/buttons/buttons.md.css +0 -18
  234. package/dist/collection/components/card/card.ios.css +0 -12
  235. package/dist/collection/components/card/card.js +10 -13
  236. package/dist/collection/components/card/card.md.css +0 -12
  237. package/dist/collection/components/card-content/card-content.ios.css +0 -12
  238. package/dist/collection/components/card-content/card-content.js +8 -11
  239. package/dist/collection/components/card-content/card-content.md.css +0 -12
  240. package/dist/collection/components/card-header/card-header.ios.css +0 -12
  241. package/dist/collection/components/card-header/card-header.js +9 -12
  242. package/dist/collection/components/card-header/card-header.md.css +0 -12
  243. package/dist/collection/components/card-subtitle/card-subtitle.ios.css +0 -12
  244. package/dist/collection/components/card-subtitle/card-subtitle.js +8 -11
  245. package/dist/collection/components/card-subtitle/card-subtitle.md.css +0 -12
  246. package/dist/collection/components/card-title/card-title.ios.css +0 -12
  247. package/dist/collection/components/card-title/card-title.js +8 -11
  248. package/dist/collection/components/card-title/card-title.md.css +0 -12
  249. package/dist/collection/components/checkbox/checkbox.ios.css +0 -18
  250. package/dist/collection/components/checkbox/checkbox.js +12 -15
  251. package/dist/collection/components/checkbox/checkbox.md.css +0 -18
  252. package/dist/collection/components/chip/chip.ios.css +0 -6
  253. package/dist/collection/components/chip/chip.js +8 -11
  254. package/dist/collection/components/chip/chip.md.css +0 -6
  255. package/dist/collection/components/col/col.css +0 -12
  256. package/dist/collection/components/col/col.js +5 -9
  257. package/dist/collection/components/content/content.css +0 -6
  258. package/dist/collection/components/content/content.js +10 -13
  259. package/dist/collection/components/datetime/datetime.ios.css +0 -12
  260. package/dist/collection/components/datetime/datetime.js +18 -21
  261. package/dist/collection/components/datetime/datetime.md.css +0 -12
  262. package/dist/collection/components/datetime/utils/data.js +3 -3
  263. package/dist/collection/components/datetime-button/datetime-button.ios.css +0 -6
  264. package/dist/collection/components/datetime-button/datetime-button.js +8 -11
  265. package/dist/collection/components/datetime-button/datetime-button.md.css +0 -6
  266. package/dist/collection/components/fab/fab.css +0 -24
  267. package/dist/collection/components/fab/fab.js +5 -9
  268. package/dist/collection/components/fab-button/fab-button.ios.css +0 -12
  269. package/dist/collection/components/fab-button/fab-button.js +9 -12
  270. package/dist/collection/components/fab-button/fab-button.md.css +0 -12
  271. package/dist/collection/components/fab-list/fab-list.css +0 -12
  272. package/dist/collection/components/fab-list/fab-list.js +5 -9
  273. package/dist/collection/components/footer/footer.ios.css +0 -12
  274. package/dist/collection/components/footer/footer.js +14 -17
  275. package/dist/collection/components/footer/footer.md.css +0 -12
  276. package/dist/collection/components/grid/grid.css +0 -12
  277. package/dist/collection/components/grid/grid.js +5 -9
  278. package/dist/collection/components/header/header.ios.css +0 -12
  279. package/dist/collection/components/header/header.js +14 -17
  280. package/dist/collection/components/header/header.md.css +0 -12
  281. package/dist/collection/components/img/img.js +2 -8
  282. package/dist/collection/components/infinite-scroll/infinite-scroll.js +4 -8
  283. package/dist/collection/components/infinite-scroll-content/infinite-scroll-content.ios.css +0 -12
  284. package/dist/collection/components/infinite-scroll-content/infinite-scroll-content.js +10 -16
  285. package/dist/collection/components/infinite-scroll-content/infinite-scroll-content.md.css +0 -12
  286. package/dist/collection/components/input/input.ios.css +0 -18
  287. package/dist/collection/components/input/input.js +14 -17
  288. package/dist/collection/components/input/input.md.css +0 -36
  289. package/dist/collection/components/item/item.ios.css +0 -12
  290. package/dist/collection/components/item/item.js +10 -13
  291. package/dist/collection/components/item/item.md.css +0 -24
  292. package/dist/collection/components/item-divider/item-divider.ios.css +0 -18
  293. package/dist/collection/components/item-divider/item-divider.js +8 -11
  294. package/dist/collection/components/item-divider/item-divider.md.css +0 -18
  295. package/dist/collection/components/item-group/item-group.ios.css +0 -12
  296. package/dist/collection/components/item-group/item-group.js +7 -13
  297. package/dist/collection/components/item-group/item-group.md.css +0 -12
  298. package/dist/collection/components/item-option/item-option.ios.css +0 -12
  299. package/dist/collection/components/item-option/item-option.js +8 -11
  300. package/dist/collection/components/item-option/item-option.md.css +0 -12
  301. package/dist/collection/components/item-options/item-options.ios.css +0 -18
  302. package/dist/collection/components/item-options/item-options.js +7 -13
  303. package/dist/collection/components/item-options/item-options.md.css +0 -18
  304. package/dist/collection/components/item-sliding/item-sliding.css +0 -6
  305. package/dist/collection/components/item-sliding/item-sliding.js +4 -8
  306. package/dist/collection/components/label/label.ios.css +0 -18
  307. package/dist/collection/components/label/label.js +8 -11
  308. package/dist/collection/components/label/label.md.css +0 -18
  309. package/dist/collection/components/list/list.ios.css +0 -18
  310. package/dist/collection/components/list/list.js +9 -12
  311. package/dist/collection/components/list/list.md.css +0 -18
  312. package/dist/collection/components/list-header/list-header.ios.css +0 -18
  313. package/dist/collection/components/list-header/list-header.js +8 -11
  314. package/dist/collection/components/list-header/list-header.md.css +0 -18
  315. package/dist/collection/components/loading/loading.ios.css +0 -12
  316. package/dist/collection/components/loading/loading.js +10 -13
  317. package/dist/collection/components/loading/loading.md.css +0 -12
  318. package/dist/collection/components/menu/menu.ios.css +0 -12
  319. package/dist/collection/components/menu/menu.js +7 -12
  320. package/dist/collection/components/menu/menu.md.css +0 -12
  321. package/dist/collection/components/menu-button/menu-button.ios.css +0 -12
  322. package/dist/collection/components/menu-button/menu-button.js +9 -12
  323. package/dist/collection/components/menu-button/menu-button.md.css +0 -12
  324. package/dist/collection/components/menu-toggle/menu-toggle.js +5 -8
  325. package/dist/collection/components/modal/modal.ios.css +0 -12
  326. package/dist/collection/components/modal/modal.js +9 -12
  327. package/dist/collection/components/modal/modal.md.css +0 -12
  328. package/dist/collection/components/nav/nav.css +0 -6
  329. package/dist/collection/components/nav/nav.js +5 -11
  330. package/dist/collection/components/nav-link/nav-link.js +1 -5
  331. package/dist/collection/components/note/note.ios.css +0 -12
  332. package/dist/collection/components/note/note.js +8 -11
  333. package/dist/collection/components/note/note.md.css +0 -12
  334. package/dist/collection/components/picker/picker.ios.css +0 -12
  335. package/dist/collection/components/picker/picker.js +5 -8
  336. package/dist/collection/components/picker/picker.md.css +0 -12
  337. package/dist/collection/components/picker-column/picker-column.css +0 -6
  338. package/dist/collection/components/picker-column/picker-column.js +7 -8
  339. package/dist/collection/components/picker-column-option/picker-column-option.ios.css +0 -6
  340. package/dist/collection/components/picker-column-option/picker-column-option.js +7 -13
  341. package/dist/collection/components/picker-column-option/picker-column-option.md.css +0 -6
  342. package/dist/collection/components/picker-legacy/picker.ios.css +0 -12
  343. package/dist/collection/components/picker-legacy/picker.js +6 -7
  344. package/dist/collection/components/picker-legacy/picker.md.css +0 -12
  345. package/dist/collection/components/picker-legacy-column/picker-column.ios.css +0 -12
  346. package/dist/collection/components/picker-legacy-column/picker-column.js +4 -4
  347. package/dist/collection/components/picker-legacy-column/picker-column.md.css +0 -12
  348. package/dist/collection/components/popover/popover.ios.css +0 -12
  349. package/dist/collection/components/popover/popover.js +12 -15
  350. package/dist/collection/components/popover/popover.md.css +0 -12
  351. package/dist/collection/components/progress-bar/progress-bar.ios.css +0 -6
  352. package/dist/collection/components/progress-bar/progress-bar.js +7 -10
  353. package/dist/collection/components/progress-bar/progress-bar.md.css +0 -6
  354. package/dist/collection/components/radio/radio.ios.css +0 -18
  355. package/dist/collection/components/radio/radio.js +9 -12
  356. package/dist/collection/components/radio/radio.md.css +0 -18
  357. package/dist/collection/components/radio-group/radio-group.js +3 -9
  358. package/dist/collection/components/range/range.ios.css +0 -12
  359. package/dist/collection/components/range/range.js +9 -12
  360. package/dist/collection/components/range/range.md.css +0 -12
  361. package/dist/collection/components/refresher/refresher.ios.css +0 -12
  362. package/dist/collection/components/refresher/refresher.js +8 -11
  363. package/dist/collection/components/refresher/refresher.md.css +0 -12
  364. package/dist/collection/components/refresher-content/refresher-content.js +7 -12
  365. package/dist/collection/components/reorder/reorder.ios.css +0 -6
  366. package/dist/collection/components/reorder/reorder.js +6 -13
  367. package/dist/collection/components/reorder/reorder.md.css +0 -6
  368. package/dist/collection/components/reorder-group/reorder-group.css +0 -6
  369. package/dist/collection/components/reorder-group/reorder-group.js +4 -8
  370. package/dist/collection/components/ripple-effect/ripple-effect.css +0 -6
  371. package/dist/collection/components/ripple-effect/ripple-effect.js +4 -8
  372. package/dist/collection/components/route/route.js +0 -4
  373. package/dist/collection/components/router/router.js +0 -4
  374. package/dist/collection/components/router-link/router-link.css +0 -6
  375. package/dist/collection/components/router-link/router-link.js +5 -9
  376. package/dist/collection/components/router-outlet/router-outlet.css +0 -6
  377. package/dist/collection/components/router-outlet/router-outlet.js +2 -5
  378. package/dist/collection/components/row/row.css +0 -12
  379. package/dist/collection/components/row/row.js +2 -9
  380. package/dist/collection/components/searchbar/searchbar.ios.css +0 -12
  381. package/dist/collection/components/searchbar/searchbar.js +20 -23
  382. package/dist/collection/components/searchbar/searchbar.md.css +0 -12
  383. package/dist/collection/components/segment/segment.ios.css +0 -18
  384. package/dist/collection/components/segment/segment.js +8 -11
  385. package/dist/collection/components/segment/segment.md.css +0 -18
  386. package/dist/collection/components/segment-button/segment-button.ios.css +0 -12
  387. package/dist/collection/components/segment-button/segment-button.js +9 -12
  388. package/dist/collection/components/segment-button/segment-button.md.css +0 -12
  389. package/dist/collection/components/select/select.ios.css +0 -18
  390. package/dist/collection/components/select/select.js +24 -27
  391. package/dist/collection/components/select/select.md.css +0 -30
  392. package/dist/collection/components/select-option/select-option.js +2 -9
  393. package/dist/collection/components/select-popover/select-popover.ios.css +0 -18
  394. package/dist/collection/components/select-popover/select-popover.js +4 -12
  395. package/dist/collection/components/select-popover/select-popover.md.css +0 -18
  396. package/dist/collection/components/skeleton-text/skeleton-text.css +0 -6
  397. package/dist/collection/components/skeleton-text/skeleton-text.js +5 -9
  398. package/dist/collection/components/spinner/spinner.css +0 -6
  399. package/dist/collection/components/spinner/spinner.js +6 -10
  400. package/dist/collection/components/split-pane/split-pane.ios.css +0 -18
  401. package/dist/collection/components/split-pane/split-pane.js +8 -14
  402. package/dist/collection/components/split-pane/split-pane.md.css +0 -18
  403. package/dist/collection/components/tab/tab.js +2 -6
  404. package/dist/collection/components/tab-bar/tab-bar.ios.css +0 -18
  405. package/dist/collection/components/tab-bar/tab-bar.js +9 -12
  406. package/dist/collection/components/tab-bar/tab-bar.md.css +0 -18
  407. package/dist/collection/components/tab-button/tab-button.ios.css +0 -12
  408. package/dist/collection/components/tab-button/tab-button.js +8 -11
  409. package/dist/collection/components/tab-button/tab-button.md.css +0 -12
  410. package/dist/collection/components/tabs/tabs.css +0 -6
  411. package/dist/collection/components/tabs/tabs.js +1 -4
  412. package/dist/collection/components/text/text.css +0 -6
  413. package/dist/collection/components/text/text.js +6 -7
  414. package/dist/collection/components/textarea/textarea.ios.css +0 -24
  415. package/dist/collection/components/textarea/textarea.js +12 -15
  416. package/dist/collection/components/textarea/textarea.md.css +0 -36
  417. package/dist/collection/components/thumbnail/thumbnail.css +0 -6
  418. package/dist/collection/components/thumbnail/thumbnail.js +2 -9
  419. package/dist/collection/components/title/title.ios.css +0 -6
  420. package/dist/collection/components/title/title.js +7 -13
  421. package/dist/collection/components/title/title.md.css +0 -6
  422. package/dist/collection/components/toast/animations/utils.js +1 -1
  423. package/dist/collection/components/toast/toast.ios.css +0 -12
  424. package/dist/collection/components/toast/toast.js +11 -15
  425. package/dist/collection/components/toast/toast.md.css +0 -12
  426. package/dist/collection/components/toggle/toggle.ios.css +0 -18
  427. package/dist/collection/components/toggle/toggle.js +15 -18
  428. package/dist/collection/components/toggle/toggle.md.css +0 -18
  429. package/dist/collection/components/toolbar/toolbar.ios.css +0 -12
  430. package/dist/collection/components/toolbar/toolbar.js +10 -13
  431. package/dist/collection/components/toolbar/toolbar.md.css +0 -12
  432. package/dist/collection/global/ionic-global.js +13 -161
  433. package/dist/collection/utils/menu-controller/animations/overlay.js +3 -3
  434. package/dist/collection/utils/menu-controller/animations/push.js +1 -2
  435. package/dist/collection/utils/menu-controller/animations/reveal.js +1 -2
  436. package/dist/collection/utils/test/playwright/generator.js +22 -45
  437. package/dist/collection/utils/test/playwright/page/utils/goto.js +4 -13
  438. package/dist/collection/utils/test/playwright/page/utils/set-content.js +1 -13
  439. package/dist/collection/utils/transition/ios.transition.js +0 -1
  440. package/dist/docs.json +274 -3831
  441. package/dist/esm/{app-globals-378c927e.js → app-globals-b8e5e7fa.js} +1 -1
  442. package/dist/esm/{button-active-6f657ae4.js → button-active-a411da52.js} +1 -1
  443. package/dist/esm/{data-502c79ce.js → data-ae11fd43.js} +4 -4
  444. package/dist/esm/{hardware-back-button-6d25372a.js → hardware-back-button-329c81fd.js} +2 -2
  445. package/dist/esm/{index-47afdf4f.js → index-10916999.js} +8 -9
  446. package/dist/esm/{index-84145911.js → index-5cc724f3.js} +1 -1
  447. package/dist/esm/{index-3a495cc6.js → index-6e4709ff.js} +17 -5
  448. package/dist/esm/index-9b0d46f4.js +34 -0
  449. package/dist/esm/{index-e3f4491c.js → index-f1f5de26.js} +3 -3
  450. package/dist/esm/index.js +9 -8
  451. package/dist/esm/{input-shims-d80cf854.js → input-shims-4530285e.js} +2 -3
  452. package/dist/esm/{input.utils-526678b9.js → input.utils-09c71bc7.js} +1 -1
  453. package/dist/esm/ion-accordion_2.entry.js +11 -18
  454. package/dist/esm/ion-action-sheet.entry.js +11 -15
  455. package/dist/esm/ion-alert.entry.js +13 -16
  456. package/dist/esm/ion-app_8.entry.js +50 -69
  457. package/dist/esm/ion-avatar_3.entry.js +8 -22
  458. package/dist/esm/ion-back-button.entry.js +8 -12
  459. package/dist/esm/ion-backdrop.entry.js +5 -9
  460. package/dist/esm/ion-breadcrumb_2.entry.js +11 -19
  461. package/dist/esm/ion-button_2.entry.js +9 -26
  462. package/dist/esm/ion-card_5.entry.js +24 -44
  463. package/dist/esm/ion-checkbox.entry.js +10 -14
  464. package/dist/esm/ion-chip.entry.js +6 -10
  465. package/dist/esm/ion-col_3.entry.js +11 -14
  466. package/dist/esm/ion-datetime-button.entry.js +8 -11
  467. package/dist/esm/ion-datetime_3.entry.js +27 -30
  468. package/dist/esm/ion-fab_3.entry.js +14 -18
  469. package/dist/esm/ion-img.entry.js +3 -6
  470. package/dist/esm/ion-infinite-scroll_2.entry.js +14 -17
  471. package/dist/esm/ion-input-password-toggle.entry.js +3 -2
  472. package/dist/esm/ion-input.entry.js +12 -15
  473. package/dist/esm/ion-item-option_3.entry.js +15 -22
  474. package/dist/esm/ion-item_8.entry.js +36 -64
  475. package/dist/esm/ion-loading.entry.js +10 -13
  476. package/dist/esm/ion-menu_3.entry.js +19 -26
  477. package/dist/esm/ion-modal.entry.js +12 -15
  478. package/dist/esm/ion-nav_2.entry.js +7 -9
  479. package/dist/esm/ion-picker-column-option.entry.js +6 -10
  480. package/dist/esm/ion-picker-column.entry.js +7 -7
  481. package/dist/esm/ion-picker.entry.js +3 -7
  482. package/dist/esm/ion-popover.entry.js +10 -13
  483. package/dist/esm/ion-progress-bar.entry.js +5 -9
  484. package/dist/esm/ion-radio_2.entry.js +9 -15
  485. package/dist/esm/ion-range.entry.js +9 -12
  486. package/dist/esm/ion-refresher_2.entry.js +14 -18
  487. package/dist/esm/ion-reorder_2.entry.js +10 -15
  488. package/dist/esm/ion-ripple-effect.entry.js +5 -5
  489. package/dist/esm/ion-route_4.entry.js +6 -6
  490. package/dist/esm/ion-searchbar.entry.js +13 -17
  491. package/dist/esm/ion-segment_2.entry.js +11 -19
  492. package/dist/esm/ion-select_3.entry.js +24 -37
  493. package/dist/esm/ion-spinner.entry.js +7 -7
  494. package/dist/esm/ion-split-pane.entry.js +7 -11
  495. package/dist/esm/ion-tab-bar_2.entry.js +10 -18
  496. package/dist/esm/ion-tab_2.entry.js +4 -4
  497. package/dist/esm/ion-text.entry.js +6 -6
  498. package/dist/esm/ion-textarea.entry.js +11 -14
  499. package/dist/esm/ion-toast.entry.js +12 -16
  500. package/dist/esm/ion-toggle.entry.js +13 -17
  501. package/dist/esm/ionic-global-c4e0c089.js +224 -0
  502. package/dist/esm/ionic.js +5 -5
  503. package/dist/esm/{ios.transition-2187a9fd.js → ios.transition-8e181a7e.js} +2 -3
  504. package/dist/esm/loader.js +4 -4
  505. package/dist/esm/{md.transition-a8d52fcb.js → md.transition-f1c3c737.js} +2 -2
  506. package/dist/esm/{overlays-84f5c587.js → overlays-9472c98b.js} +3 -2
  507. package/dist/esm/{status-tap-a65b162a.js → status-tap-39da9160.js} +3 -3
  508. package/dist/esm-es5/app-globals-b8e5e7fa.js +4 -0
  509. package/dist/esm-es5/{button-active-6f657ae4.js → button-active-a411da52.js} +1 -1
  510. package/dist/esm-es5/data-ae11fd43.js +4 -0
  511. package/dist/esm-es5/framework-delegate-63d1a679.js +2 -2
  512. package/dist/esm-es5/{hardware-back-button-6d25372a.js → hardware-back-button-329c81fd.js} +1 -1
  513. package/dist/esm-es5/index-10916999.js +4 -0
  514. package/dist/esm-es5/index-5cc724f3.js +4 -0
  515. package/dist/esm-es5/index-6e4709ff.js +5 -0
  516. package/dist/esm-es5/index-9b0d46f4.js +4 -0
  517. package/dist/esm-es5/{index-e3f4491c.js → index-f1f5de26.js} +1 -1
  518. package/dist/esm-es5/index.js +1 -1
  519. package/dist/esm-es5/input-shims-4530285e.js +4 -0
  520. package/dist/esm-es5/input.utils-09c71bc7.js +4 -0
  521. package/dist/esm-es5/ion-accordion_2.entry.js +1 -1
  522. package/dist/esm-es5/ion-action-sheet.entry.js +1 -1
  523. package/dist/esm-es5/ion-alert.entry.js +1 -1
  524. package/dist/esm-es5/ion-app_8.entry.js +1 -1
  525. package/dist/esm-es5/ion-avatar_3.entry.js +1 -1
  526. package/dist/esm-es5/ion-back-button.entry.js +1 -1
  527. package/dist/esm-es5/ion-backdrop.entry.js +1 -1
  528. package/dist/esm-es5/ion-breadcrumb_2.entry.js +1 -1
  529. package/dist/esm-es5/ion-button_2.entry.js +1 -1
  530. package/dist/esm-es5/ion-card_5.entry.js +1 -1
  531. package/dist/esm-es5/ion-checkbox.entry.js +1 -1
  532. package/dist/esm-es5/ion-chip.entry.js +1 -1
  533. package/dist/esm-es5/ion-col_3.entry.js +1 -1
  534. package/dist/esm-es5/ion-datetime-button.entry.js +1 -1
  535. package/dist/esm-es5/ion-datetime_3.entry.js +1 -1
  536. package/dist/esm-es5/ion-fab_3.entry.js +1 -1
  537. package/dist/esm-es5/ion-img.entry.js +1 -1
  538. package/dist/esm-es5/ion-infinite-scroll_2.entry.js +1 -1
  539. package/dist/esm-es5/ion-input-password-toggle.entry.js +1 -1
  540. package/dist/esm-es5/ion-input.entry.js +1 -1
  541. package/dist/esm-es5/ion-item-option_3.entry.js +1 -1
  542. package/dist/esm-es5/ion-item_8.entry.js +1 -1
  543. package/dist/esm-es5/ion-loading.entry.js +1 -1
  544. package/dist/esm-es5/ion-menu_3.entry.js +1 -1
  545. package/dist/esm-es5/ion-modal.entry.js +1 -1
  546. package/dist/esm-es5/ion-nav_2.entry.js +1 -1
  547. package/dist/esm-es5/ion-picker-column-option.entry.js +1 -1
  548. package/dist/esm-es5/ion-picker-column.entry.js +1 -1
  549. package/dist/esm-es5/ion-picker.entry.js +1 -1
  550. package/dist/esm-es5/ion-popover.entry.js +1 -1
  551. package/dist/esm-es5/ion-progress-bar.entry.js +1 -1
  552. package/dist/esm-es5/ion-radio_2.entry.js +1 -1
  553. package/dist/esm-es5/ion-range.entry.js +1 -1
  554. package/dist/esm-es5/ion-refresher_2.entry.js +1 -1
  555. package/dist/esm-es5/ion-reorder_2.entry.js +1 -1
  556. package/dist/esm-es5/ion-ripple-effect.entry.js +1 -1
  557. package/dist/esm-es5/ion-route_4.entry.js +1 -1
  558. package/dist/esm-es5/ion-searchbar.entry.js +1 -1
  559. package/dist/esm-es5/ion-segment_2.entry.js +1 -1
  560. package/dist/esm-es5/ion-select_3.entry.js +1 -1
  561. package/dist/esm-es5/ion-spinner.entry.js +1 -1
  562. package/dist/esm-es5/ion-split-pane.entry.js +1 -1
  563. package/dist/esm-es5/ion-tab-bar_2.entry.js +1 -1
  564. package/dist/esm-es5/ion-tab_2.entry.js +1 -1
  565. package/dist/esm-es5/ion-text.entry.js +1 -1
  566. package/dist/esm-es5/ion-textarea.entry.js +1 -1
  567. package/dist/esm-es5/ion-toast.entry.js +1 -1
  568. package/dist/esm-es5/ion-toggle.entry.js +1 -1
  569. package/dist/esm-es5/ionic-global-c4e0c089.js +4 -0
  570. package/dist/esm-es5/ionic.js +1 -1
  571. package/dist/esm-es5/ios.transition-8e181a7e.js +4 -0
  572. package/dist/esm-es5/loader.js +1 -1
  573. package/dist/esm-es5/md.transition-f1c3c737.js +4 -0
  574. package/dist/esm-es5/overlays-9472c98b.js +4 -0
  575. package/dist/esm-es5/status-tap-39da9160.js +4 -0
  576. package/dist/html.html-data.json +109 -1904
  577. package/dist/ionic/index.esm.js +1 -1
  578. package/dist/ionic/ionic.esm.js +1 -1
  579. package/dist/ionic/ionic.js +1 -1
  580. package/dist/ionic/{p-89d25317.system.entry.js → p-04070329.system.entry.js} +1 -1
  581. package/dist/ionic/p-049fa018.system.entry.js +4 -0
  582. package/dist/ionic/p-06e58c4e.js +4 -0
  583. package/dist/ionic/p-06fee233.js +4 -0
  584. package/dist/ionic/p-07ae133d.system.entry.js +4 -0
  585. package/dist/ionic/p-0aa4682e.entry.js +4 -0
  586. package/dist/ionic/p-0bbb6edf.system.entry.js +4 -0
  587. package/dist/ionic/{p-726f80e7.system.js → p-0c06e09b.system.js} +1 -1
  588. package/dist/ionic/p-0de546bb.entry.js +4 -0
  589. package/dist/ionic/p-0ebb1fe7.system.entry.js +4 -0
  590. package/dist/ionic/p-0f2d99a6.entry.js +4 -0
  591. package/dist/ionic/p-100bedc4.system.entry.js +4 -0
  592. package/dist/ionic/p-105f7d62.system.entry.js +4 -0
  593. package/dist/ionic/p-1672c4fd.system.entry.js +4 -0
  594. package/dist/ionic/{p-e03b9251.entry.js → p-17978fce.entry.js} +1 -1
  595. package/dist/ionic/p-1b235142.entry.js +4 -0
  596. package/dist/ionic/p-1cff9cad.entry.js +4 -0
  597. package/dist/ionic/p-1f9cdee2.entry.js +4 -0
  598. package/dist/ionic/p-23b89985.entry.js +4 -0
  599. package/dist/ionic/p-25575222.system.js +4 -0
  600. package/dist/ionic/p-266fc56e.system.js +4 -0
  601. package/dist/ionic/p-2e12bda2.entry.js +4 -0
  602. package/dist/ionic/p-2f6cedaf.system.entry.js +4 -0
  603. package/dist/ionic/{p-db490c56.js → p-3040730e.js} +1 -1
  604. package/dist/ionic/p-3391d9a3.entry.js +4 -0
  605. package/dist/ionic/p-352f7037.system.entry.js +4 -0
  606. package/dist/ionic/p-35722bba.system.entry.js +4 -0
  607. package/dist/ionic/p-35b9e842.entry.js +4 -0
  608. package/dist/ionic/p-3c70b01b.entry.js +4 -0
  609. package/dist/ionic/{p-ae6a5ee1.system.entry.js → p-3d6e882f.system.entry.js} +1 -1
  610. package/dist/ionic/p-3e3b34f7.system.entry.js +4 -0
  611. package/dist/ionic/p-3f70bfba.entry.js +4 -0
  612. package/dist/ionic/p-4196b2d1.system.entry.js +4 -0
  613. package/dist/ionic/{p-3b14e7b9.system.entry.js → p-43505ff8.system.entry.js} +2 -2
  614. package/dist/ionic/p-4429fc97.system.entry.js +4 -0
  615. package/dist/ionic/p-46111310.js +4 -0
  616. package/dist/ionic/p-46f407f0.system.js +4 -0
  617. package/dist/ionic/p-49b6fee0.system.entry.js +4 -0
  618. package/dist/ionic/p-4a615fea.entry.js +4 -0
  619. package/dist/ionic/{p-c11232d6.system.js → p-4dd82d9d.system.js} +1 -1
  620. package/dist/ionic/{p-66d55ac3.system.js → p-5033128d.system.js} +1 -1
  621. package/dist/ionic/p-510578f3.system.entry.js +4 -0
  622. package/dist/ionic/p-51b68ec9.system.entry.js +4 -0
  623. package/dist/ionic/p-51ff648c.entry.js +4 -0
  624. package/dist/ionic/p-546433d2.js +4 -0
  625. package/dist/ionic/p-54f76ced.js +4 -0
  626. package/dist/ionic/p-56c3b69c.entry.js +4 -0
  627. package/dist/ionic/p-58ea73f7.system.entry.js +4 -0
  628. package/dist/ionic/p-596e0cf8.system.entry.js +4 -0
  629. package/dist/ionic/p-5ae49f12.entry.js +4 -0
  630. package/dist/ionic/p-5b1273f4.system.entry.js +4 -0
  631. package/dist/ionic/p-5d3f6707.entry.js +4 -0
  632. package/dist/ionic/p-5da04d11.entry.js +4 -0
  633. package/dist/ionic/p-5e7c32e8.system.entry.js +4 -0
  634. package/dist/ionic/p-5fa8587e.system.entry.js +4 -0
  635. package/dist/ionic/p-68a1e274.system.entry.js +4 -0
  636. package/dist/ionic/p-6994c97a.js +4 -0
  637. package/dist/ionic/p-69bc14fd.entry.js +4 -0
  638. package/dist/ionic/p-6a7eac5a.js +4 -0
  639. package/dist/ionic/p-6f4db5ce.system.entry.js +4 -0
  640. package/dist/ionic/{p-1a488d6f.system.js → p-71215c1d.system.js} +1 -1
  641. package/dist/ionic/p-71688099.system.entry.js +4 -0
  642. package/dist/ionic/p-716ab5f8.system.entry.js +4 -0
  643. package/dist/ionic/p-74a9cafe.system.js +5 -0
  644. package/dist/ionic/p-75280815.entry.js +4 -0
  645. package/dist/ionic/p-75cddcc9.js +4 -0
  646. package/dist/ionic/{p-91b79359.system.entry.js → p-76907c2f.system.entry.js} +1 -1
  647. package/dist/ionic/p-7d9eefb3.system.js +4 -0
  648. package/dist/ionic/p-7df2c495.entry.js +4 -0
  649. package/dist/ionic/p-7fc505bf.entry.js +4 -0
  650. package/dist/ionic/p-83321ee8.entry.js +4 -0
  651. package/dist/ionic/p-8635f5e6.system.js +2 -2
  652. package/dist/ionic/p-88cff52d.entry.js +4 -0
  653. package/dist/ionic/p-896111fa.entry.js +4 -0
  654. package/dist/ionic/p-89b59bd7.entry.js +4 -0
  655. package/dist/ionic/p-8bd567ba.system.entry.js +4 -0
  656. package/dist/ionic/p-8e9ac22d.entry.js +4 -0
  657. package/dist/ionic/p-9540561f.entry.js +4 -0
  658. package/dist/ionic/{p-ca958797.js → p-96cc4814.js} +1 -1
  659. package/dist/ionic/{p-3df045bd.entry.js → p-99daf8b7.entry.js} +1 -1
  660. package/dist/ionic/p-9ad82dba.js +5 -0
  661. package/dist/ionic/{p-2a6e67b4.system.js → p-9d7fc908.system.js} +1 -1
  662. package/dist/ionic/{p-822696e5.system.js → p-9ea607bd.system.js} +2 -2
  663. package/dist/ionic/p-a1b4e619.system.entry.js +4 -0
  664. package/dist/ionic/p-a1f9f629.system.entry.js +4 -0
  665. package/dist/ionic/{p-fc9c5b84.system.js → p-a7ba2dcc.system.js} +1 -1
  666. package/dist/ionic/{p-e39ec17c.entry.js → p-a88fdfac.entry.js} +1 -1
  667. package/dist/ionic/p-a8f02173.system.js +4 -0
  668. package/dist/ionic/p-aa110ca0.system.entry.js +4 -0
  669. package/dist/ionic/p-aa4f2703.system.entry.js +4 -0
  670. package/dist/ionic/p-ab85debb.entry.js +4 -0
  671. package/dist/ionic/p-ac4e2a74.system.entry.js +4 -0
  672. package/dist/ionic/p-ac9f44a8.system.entry.js +4 -0
  673. package/dist/ionic/p-bb835b4d.system.entry.js +4 -0
  674. package/dist/ionic/p-c04d5a75.entry.js +4 -0
  675. package/dist/ionic/p-c198e1e1.system.entry.js +4 -0
  676. package/dist/ionic/{p-e1403ca6.system.entry.js → p-c1d1d004.system.entry.js} +1 -1
  677. package/dist/ionic/{p-d3498aab.js → p-c222f76a.js} +1 -1
  678. package/dist/ionic/p-c41af68a.entry.js +4 -0
  679. package/dist/ionic/p-c80d05c9.js +4 -0
  680. package/dist/ionic/p-c8f2b769.entry.js +4 -0
  681. package/dist/ionic/p-c99ccdc9.entry.js +4 -0
  682. package/dist/ionic/p-c9c39c98.system.entry.js +4 -0
  683. package/dist/ionic/p-cae889f9.entry.js +4 -0
  684. package/dist/ionic/p-d2544865.system.js +4 -0
  685. package/dist/ionic/p-d5f48185.system.entry.js +4 -0
  686. package/dist/ionic/{p-f35f7d6c.js → p-d60342e3.js} +1 -1
  687. package/dist/ionic/p-d79542bd.system.js +4 -0
  688. package/dist/ionic/p-d8067ea4.system.entry.js +4 -0
  689. package/dist/ionic/p-d8f66669.entry.js +4 -0
  690. package/dist/ionic/{p-31b66414.entry.js → p-d98c0112.entry.js} +1 -1
  691. package/dist/ionic/p-dc1372e0.entry.js +4 -0
  692. package/dist/ionic/p-df48edd6.entry.js +4 -0
  693. package/dist/ionic/p-df6fa126.entry.js +4 -0
  694. package/dist/ionic/p-e8a0e731.entry.js +4 -0
  695. package/dist/ionic/p-e955bf61.entry.js +4 -0
  696. package/dist/ionic/p-ea2c16b5.system.entry.js +4 -0
  697. package/dist/ionic/{p-2a31b1f5.system.js → p-ea4be6ac.system.js} +1 -1
  698. package/dist/ionic/p-eb3da535.system.entry.js +4 -0
  699. package/dist/ionic/p-f0392d49.entry.js +4 -0
  700. package/dist/ionic/p-f4cb521c.js +4 -0
  701. package/dist/ionic/{p-47883cab.system.js → p-f687573e.system.js} +1 -1
  702. package/dist/ionic/p-f818b01a.entry.js +4 -0
  703. package/dist/ionic/p-f94cbfe9.js +4 -0
  704. package/dist/ionic/p-fab4ecad.system.entry.js +4 -0
  705. package/dist/ionic/p-fb02eeec.system.entry.js +4 -0
  706. package/dist/ionic/p-fb97326f.system.entry.js +4 -0
  707. package/dist/ionic/p-fbd30ec7.entry.js +4 -0
  708. package/dist/ionic/{p-84549d94.entry.js → p-fda4872f.entry.js} +1 -1
  709. package/dist/ionic/p-ff2323ba.system.entry.js +4 -0
  710. package/dist/ionic/p-ff4b7e40.system.js +4 -0
  711. package/dist/types/components/accordion/accordion.d.ts +1 -2
  712. package/dist/types/components/accordion-group/accordion-group.d.ts +1 -2
  713. package/dist/types/components/action-sheet/action-sheet-interface.d.ts +7 -3
  714. package/dist/types/components/action-sheet/action-sheet.d.ts +2 -3
  715. package/dist/types/components/alert/alert-interface.d.ts +7 -3
  716. package/dist/types/components/alert/alert.d.ts +2 -3
  717. package/dist/types/components/app/app.d.ts +0 -4
  718. package/dist/types/components/avatar/avatar.d.ts +0 -4
  719. package/dist/types/components/back-button/back-button.d.ts +1 -2
  720. package/dist/types/components/backdrop/backdrop.d.ts +0 -4
  721. package/dist/types/components/badge/badge.d.ts +1 -2
  722. package/dist/types/components/breadcrumb/breadcrumb.d.ts +1 -2
  723. package/dist/types/components/breadcrumbs/breadcrumbs.d.ts +2 -2
  724. package/dist/types/components/button/button.d.ts +3 -8
  725. package/dist/types/components/buttons/buttons.d.ts +1 -5
  726. package/dist/types/components/card/card.d.ts +1 -2
  727. package/dist/types/components/card-content/card-content.d.ts +1 -2
  728. package/dist/types/components/card-header/card-header.d.ts +2 -3
  729. package/dist/types/components/card-subtitle/card-subtitle.d.ts +1 -2
  730. package/dist/types/components/card-title/card-title.d.ts +1 -2
  731. package/dist/types/components/checkbox/checkbox.d.ts +1 -2
  732. package/dist/types/components/chip/chip.d.ts +1 -2
  733. package/dist/types/components/col/col.d.ts +0 -4
  734. package/dist/types/components/content/content.d.ts +0 -3
  735. package/dist/types/components/datetime/datetime.d.ts +1 -2
  736. package/dist/types/components/datetime/utils/data.d.ts +3 -3
  737. package/dist/types/components/datetime-button/datetime-button.d.ts +1 -2
  738. package/dist/types/components/fab/fab.d.ts +0 -4
  739. package/dist/types/components/fab-button/fab-button.d.ts +2 -3
  740. package/dist/types/components/fab-list/fab-list.d.ts +0 -4
  741. package/dist/types/components/footer/footer.d.ts +3 -4
  742. package/dist/types/components/grid/grid.d.ts +0 -4
  743. package/dist/types/components/header/header.d.ts +3 -4
  744. package/dist/types/components/img/img.d.ts +0 -3
  745. package/dist/types/components/infinite-scroll/infinite-scroll.d.ts +0 -4
  746. package/dist/types/components/infinite-scroll-content/infinite-scroll-content.d.ts +0 -4
  747. package/dist/types/components/input/input.d.ts +2 -3
  748. package/dist/types/components/item/item.d.ts +3 -4
  749. package/dist/types/components/item-divider/item-divider.d.ts +1 -2
  750. package/dist/types/components/item-group/item-group.d.ts +0 -4
  751. package/dist/types/components/item-option/item-option.d.ts +1 -2
  752. package/dist/types/components/item-options/item-options.d.ts +0 -4
  753. package/dist/types/components/item-sliding/item-sliding.d.ts +0 -4
  754. package/dist/types/components/label/label.d.ts +1 -2
  755. package/dist/types/components/list/list.d.ts +1 -2
  756. package/dist/types/components/list-header/list-header.d.ts +1 -2
  757. package/dist/types/components/loading/loading-interface.d.ts +7 -2
  758. package/dist/types/components/loading/loading.d.ts +2 -3
  759. package/dist/types/components/menu/menu.d.ts +0 -3
  760. package/dist/types/components/menu-button/menu-button.d.ts +1 -2
  761. package/dist/types/components/menu-toggle/menu-toggle.d.ts +0 -3
  762. package/dist/types/components/modal/modal-interface.d.ts +7 -3
  763. package/dist/types/components/modal/modal.d.ts +1 -2
  764. package/dist/types/components/nav/nav-interface.d.ts +1 -9
  765. package/dist/types/components/nav/nav.d.ts +1 -5
  766. package/dist/types/components/nav-link/nav-link.d.ts +0 -4
  767. package/dist/types/components/note/note.d.ts +1 -2
  768. package/dist/types/components/picker/picker.d.ts +1 -2
  769. package/dist/types/components/picker-column/picker-column.d.ts +1 -2
  770. package/dist/types/components/picker-column-option/picker-column-option.d.ts +0 -4
  771. package/dist/types/components/picker-legacy/picker.d.ts +1 -2
  772. package/dist/types/components/popover/popover-interface.d.ts +7 -3
  773. package/dist/types/components/popover/popover.d.ts +5 -6
  774. package/dist/types/components/progress-bar/progress-bar.d.ts +1 -2
  775. package/dist/types/components/radio/radio.d.ts +1 -2
  776. package/dist/types/components/radio-group/radio-group.d.ts +0 -4
  777. package/dist/types/components/range/range.d.ts +1 -2
  778. package/dist/types/components/refresher/refresher.d.ts +1 -2
  779. package/dist/types/components/refresher-content/refresher-content.d.ts +0 -4
  780. package/dist/types/components/reorder/reorder.d.ts +0 -3
  781. package/dist/types/components/reorder-group/reorder-group.d.ts +0 -4
  782. package/dist/types/components/ripple-effect/ripple-effect.d.ts +0 -4
  783. package/dist/types/components/route/route.d.ts +0 -4
  784. package/dist/types/components/router/router.d.ts +0 -4
  785. package/dist/types/components/router-link/router-link.d.ts +0 -4
  786. package/dist/types/components/router-outlet/router-outlet.d.ts +1 -4
  787. package/dist/types/components/row/row.d.ts +0 -4
  788. package/dist/types/components/searchbar/searchbar.d.ts +7 -8
  789. package/dist/types/components/segment/segment.d.ts +1 -2
  790. package/dist/types/components/segment-button/segment-button.d.ts +1 -2
  791. package/dist/types/components/select/select.d.ts +5 -6
  792. package/dist/types/components/select-option/select-option.d.ts +0 -4
  793. package/dist/types/components/select-popover/select-popover.d.ts +0 -3
  794. package/dist/types/components/skeleton-text/skeleton-text.d.ts +0 -4
  795. package/dist/types/components/spinner/spinner.d.ts +0 -4
  796. package/dist/types/components/split-pane/split-pane.d.ts +0 -4
  797. package/dist/types/components/tab/tab.d.ts +0 -4
  798. package/dist/types/components/tab-bar/tab-bar.d.ts +2 -3
  799. package/dist/types/components/tab-button/tab-button.d.ts +1 -2
  800. package/dist/types/components/tabs/tabs.d.ts +0 -3
  801. package/dist/types/components/text/text.d.ts +1 -2
  802. package/dist/types/components/textarea/textarea.d.ts +2 -3
  803. package/dist/types/components/thumbnail/thumbnail.d.ts +0 -4
  804. package/dist/types/components/title/title.d.ts +0 -4
  805. package/dist/types/components/toast/animations/utils.d.ts +2 -2
  806. package/dist/types/components/toast/toast-interface.d.ts +7 -3
  807. package/dist/types/components/toast/toast.d.ts +2 -3
  808. package/dist/types/components/toggle/toggle.d.ts +1 -2
  809. package/dist/types/components/toolbar/toolbar.d.ts +3 -4
  810. package/dist/types/components.d.ts +160 -1184
  811. package/dist/types/global/ionic-global.d.ts +2 -25
  812. package/dist/types/interface.d.ts +0 -3
  813. package/dist/types/utils/config.d.ts +2 -17
  814. package/dist/types/utils/focus-trap.d.ts +2 -2
  815. package/dist/types/utils/overlays-interface.d.ts +1 -31
  816. package/dist/types/utils/overlays.d.ts +2 -2
  817. package/dist/types/utils/test/playwright/generator.d.ts +1 -8
  818. package/hydrate/index.js +539 -1154
  819. package/package.json +1 -1
  820. package/dist/cjs/ionic-global-ceb32795.js +0 -411
  821. package/dist/collection/components/button/button.ionic.css +0 -565
  822. package/dist/collection/components/button/test/shape/button.e2e.js +0 -88
  823. package/dist/collection/global/test/ionic-global.spec.js +0 -109
  824. package/dist/esm/ionic-global-a03b1588.js +0 -401
  825. package/dist/esm-es5/app-globals-378c927e.js +0 -4
  826. package/dist/esm-es5/data-502c79ce.js +0 -4
  827. package/dist/esm-es5/index-3a495cc6.js +0 -5
  828. package/dist/esm-es5/index-47afdf4f.js +0 -4
  829. package/dist/esm-es5/index-84145911.js +0 -4
  830. package/dist/esm-es5/input-shims-d80cf854.js +0 -4
  831. package/dist/esm-es5/input.utils-526678b9.js +0 -4
  832. package/dist/esm-es5/ionic-global-a03b1588.js +0 -4
  833. package/dist/esm-es5/ios.transition-2187a9fd.js +0 -4
  834. package/dist/esm-es5/md.transition-a8d52fcb.js +0 -4
  835. package/dist/esm-es5/overlays-84f5c587.js +0 -4
  836. package/dist/esm-es5/status-tap-a65b162a.js +0 -4
  837. package/dist/ionic/p-00017a0e.entry.js +0 -4
  838. package/dist/ionic/p-0483cb18.entry.js +0 -4
  839. package/dist/ionic/p-0afb8cd7.entry.js +0 -4
  840. package/dist/ionic/p-0c0065e8.js +0 -4
  841. package/dist/ionic/p-0fc68641.entry.js +0 -4
  842. package/dist/ionic/p-11f322f2.js +0 -4
  843. package/dist/ionic/p-158f84ef.system.entry.js +0 -4
  844. package/dist/ionic/p-1a721859.system.entry.js +0 -4
  845. package/dist/ionic/p-1a8de6fa.entry.js +0 -4
  846. package/dist/ionic/p-1ed7baef.system.entry.js +0 -4
  847. package/dist/ionic/p-22c5142f.entry.js +0 -4
  848. package/dist/ionic/p-23132e1f.js +0 -4
  849. package/dist/ionic/p-2ab228af.entry.js +0 -4
  850. package/dist/ionic/p-31bf1d38.entry.js +0 -4
  851. package/dist/ionic/p-3302a619.system.entry.js +0 -4
  852. package/dist/ionic/p-33c1c033.system.entry.js +0 -4
  853. package/dist/ionic/p-348beae7.system.entry.js +0 -4
  854. package/dist/ionic/p-355f3434.entry.js +0 -4
  855. package/dist/ionic/p-35dc747b.system.entry.js +0 -4
  856. package/dist/ionic/p-35e5e98a.system.entry.js +0 -4
  857. package/dist/ionic/p-368b5f57.js +0 -4
  858. package/dist/ionic/p-379c62e1.system.entry.js +0 -4
  859. package/dist/ionic/p-37c9bc91.system.js +0 -4
  860. package/dist/ionic/p-3b03dd5b.entry.js +0 -4
  861. package/dist/ionic/p-3d14260a.entry.js +0 -4
  862. package/dist/ionic/p-3d7001d7.js +0 -4
  863. package/dist/ionic/p-487bee8d.js +0 -4
  864. package/dist/ionic/p-49d23e05.entry.js +0 -4
  865. package/dist/ionic/p-4e27762d.entry.js +0 -4
  866. package/dist/ionic/p-4f785e62.system.entry.js +0 -4
  867. package/dist/ionic/p-4faa6455.system.entry.js +0 -4
  868. package/dist/ionic/p-4fbe6e81.entry.js +0 -4
  869. package/dist/ionic/p-50cf70e8.system.js +0 -4
  870. package/dist/ionic/p-525a9d5f.system.entry.js +0 -4
  871. package/dist/ionic/p-54cbb70e.system.entry.js +0 -4
  872. package/dist/ionic/p-5589bb5b.system.entry.js +0 -4
  873. package/dist/ionic/p-57963dea.entry.js +0 -4
  874. package/dist/ionic/p-58d1ab91.system.entry.js +0 -4
  875. package/dist/ionic/p-58df6e9f.system.entry.js +0 -4
  876. package/dist/ionic/p-5e0d356b.system.entry.js +0 -4
  877. package/dist/ionic/p-602146d8.js +0 -4
  878. package/dist/ionic/p-6117f6c5.system.entry.js +0 -4
  879. package/dist/ionic/p-61a87440.system.entry.js +0 -4
  880. package/dist/ionic/p-64eb01cb.system.entry.js +0 -4
  881. package/dist/ionic/p-66d0a048.system.entry.js +0 -4
  882. package/dist/ionic/p-680448fe.system.entry.js +0 -4
  883. package/dist/ionic/p-6a5b979b.system.js +0 -4
  884. package/dist/ionic/p-6df8b089.system.js +0 -4
  885. package/dist/ionic/p-707a9d71.system.entry.js +0 -4
  886. package/dist/ionic/p-738714f4.entry.js +0 -4
  887. package/dist/ionic/p-75257a79.system.js +0 -5
  888. package/dist/ionic/p-789f197c.entry.js +0 -4
  889. package/dist/ionic/p-8244824f.system.entry.js +0 -4
  890. package/dist/ionic/p-832dae23.js +0 -4
  891. package/dist/ionic/p-83d220ee.system.entry.js +0 -4
  892. package/dist/ionic/p-86379b84.js +0 -4
  893. package/dist/ionic/p-8e8522e3.entry.js +0 -4
  894. package/dist/ionic/p-8ef1d644.entry.js +0 -4
  895. package/dist/ionic/p-929058ef.entry.js +0 -4
  896. package/dist/ionic/p-92b3df98.system.js +0 -4
  897. package/dist/ionic/p-93c12309.system.entry.js +0 -4
  898. package/dist/ionic/p-94a31caf.system.entry.js +0 -4
  899. package/dist/ionic/p-96472d74.entry.js +0 -4
  900. package/dist/ionic/p-99bf116a.entry.js +0 -4
  901. package/dist/ionic/p-9c52644e.entry.js +0 -4
  902. package/dist/ionic/p-9d6f10bd.entry.js +0 -4
  903. package/dist/ionic/p-9dccdc99.entry.js +0 -4
  904. package/dist/ionic/p-9f1b4c72.system.entry.js +0 -4
  905. package/dist/ionic/p-a300b844.system.entry.js +0 -4
  906. package/dist/ionic/p-a3d98f76.system.entry.js +0 -4
  907. package/dist/ionic/p-a9e86436.system.entry.js +0 -4
  908. package/dist/ionic/p-ab45eca5.system.entry.js +0 -4
  909. package/dist/ionic/p-af5123f7.entry.js +0 -4
  910. package/dist/ionic/p-b29b0043.system.entry.js +0 -4
  911. package/dist/ionic/p-b4f2d31e.entry.js +0 -4
  912. package/dist/ionic/p-b5c85b3c.entry.js +0 -4
  913. package/dist/ionic/p-b6ad1585.system.entry.js +0 -4
  914. package/dist/ionic/p-b8df12bb.entry.js +0 -4
  915. package/dist/ionic/p-ba85f57a.entry.js +0 -4
  916. package/dist/ionic/p-bc4f3bb5.system.entry.js +0 -4
  917. package/dist/ionic/p-bd1a5533.system.entry.js +0 -4
  918. package/dist/ionic/p-bfd648f6.entry.js +0 -4
  919. package/dist/ionic/p-c0d40adb.entry.js +0 -4
  920. package/dist/ionic/p-c11dbd56.system.entry.js +0 -4
  921. package/dist/ionic/p-c33fe06e.entry.js +0 -4
  922. package/dist/ionic/p-c47d0e2a.system.js +0 -4
  923. package/dist/ionic/p-c5c7d271.entry.js +0 -4
  924. package/dist/ionic/p-cb4da696.js +0 -5
  925. package/dist/ionic/p-cbb46ee9.entry.js +0 -4
  926. package/dist/ionic/p-cd1250d7.js +0 -4
  927. package/dist/ionic/p-cf5829f5.system.entry.js +0 -4
  928. package/dist/ionic/p-d08ac146.entry.js +0 -4
  929. package/dist/ionic/p-d74b5b06.system.entry.js +0 -4
  930. package/dist/ionic/p-db643807.system.entry.js +0 -4
  931. package/dist/ionic/p-dfbfcb53.system.entry.js +0 -4
  932. package/dist/ionic/p-e30d6c34.entry.js +0 -4
  933. package/dist/ionic/p-e3b6bda8.entry.js +0 -4
  934. package/dist/ionic/p-e6f26311.entry.js +0 -4
  935. package/dist/ionic/p-e78ab7a6.system.js +0 -4
  936. package/dist/ionic/p-e85a8a81.entry.js +0 -4
  937. package/dist/ionic/p-ec637936.entry.js +0 -4
  938. package/dist/ionic/p-ef61637a.system.entry.js +0 -4
  939. package/dist/ionic/p-efdba78a.system.entry.js +0 -4
  940. package/dist/ionic/p-f02998b5.entry.js +0 -4
  941. package/dist/ionic/p-fc174bf1.entry.js +0 -4
@@ -1,109 +0,0 @@
1
- /*!
2
- * (C) Ionic http://ionicframework.com - MIT License
3
- */
4
- const getMode = jest.fn();
5
- const getElement = jest.fn();
6
- jest.mock('@stencil/core', () => {
7
- const original = jest.requireActual('@stencil/core');
8
- return Object.assign(Object.assign({}, original), { getMode,
9
- getElement });
10
- });
11
- /**
12
- * The implementation needs to be mocked before the implementation is imported.
13
- */
14
- // eslint-disable-next-line import/first
15
- import { getIonTheme, isModeValidForTheme, getIonMode } from "../ionic-global";
16
- describe('Ionic Global', () => {
17
- describe('isModeValidForTheme', () => {
18
- it('should return true for md mode with md theme', () => {
19
- expect(isModeValidForTheme('md', 'md')).toBe(true);
20
- });
21
- it('should return true for md mode with ionic theme', () => {
22
- expect(isModeValidForTheme('md', 'ionic')).toBe(true);
23
- });
24
- it('should return true for ios mode with ios theme', () => {
25
- expect(isModeValidForTheme('ios', 'ios')).toBe(true);
26
- });
27
- it('should return true for ios mode with ionic theme', () => {
28
- expect(isModeValidForTheme('ios', 'ionic')).toBe(true);
29
- });
30
- it('should return false for md mode with ios theme', () => {
31
- expect(isModeValidForTheme('md', 'ios')).toBe(false);
32
- });
33
- it('should return false for ios mode with md theme', () => {
34
- expect(isModeValidForTheme('ios', 'md')).toBe(false);
35
- });
36
- });
37
- describe('getIonMode', () => {
38
- const parentRef = { mode: 'md' };
39
- const ref = { parentElement: parentRef };
40
- beforeEach(() => {
41
- getMode.mockImplementation((ref) => { var _a; return (_a = ref.mode) !== null && _a !== void 0 ? _a : parentRef.mode; });
42
- getElement.mockImplementation(() => ({
43
- closest: () => ({
44
- getAttribute: () => parentRef.mode,
45
- }),
46
- }));
47
- });
48
- afterEach(() => {
49
- getMode.mockReset();
50
- getElement.mockReset();
51
- });
52
- it('should return the mode value of the element reference', () => {
53
- const ref = { mode: 'ios' };
54
- getMode.mockImplementation((ref) => ref.mode);
55
- getElement.mockImplementation(() => ({
56
- closest: () => ({
57
- getAttribute: () => ref.mode,
58
- }),
59
- }));
60
- expect(getIonMode(ref, 'ios')).toBe('ios');
61
- });
62
- it('should return the mode value of the closest parent with a valid mode', () => {
63
- expect(getIonMode(ref)).toBe('md');
64
- });
65
- it('should return the default mode if the mode cannot be determined', () => {
66
- expect(getIonMode()).toBe('md');
67
- });
68
- it('should return the theme value if provided and no mode is found', () => {
69
- const ref = { mode: undefined };
70
- const theme = 'ios';
71
- expect(getIonMode(ref, theme)).toBe('ios');
72
- });
73
- });
74
- describe('getIonTheme', () => {
75
- const parentRef = { mode: 'md' };
76
- beforeEach(() => {
77
- getMode.mockImplementation((ref) => { var _a; return (_a = ref === null || ref === void 0 ? void 0 : ref.mode) !== null && _a !== void 0 ? _a : parentRef.mode; });
78
- getElement.mockImplementation(() => ({
79
- closest: () => ({
80
- getAttribute: () => parentRef.mode,
81
- }),
82
- }));
83
- });
84
- afterEach(() => {
85
- getMode.mockReset();
86
- getElement.mockReset();
87
- });
88
- it('should return the theme value of the element reference', () => {
89
- const ref = { mode: 'ios' };
90
- expect(getIonTheme(ref)).toBe('ios');
91
- });
92
- it('should return the theme value of the closest parent with a valid theme', () => {
93
- getElement.mockImplementation(() => ({
94
- closest: () => ({
95
- getAttribute: () => 'ios',
96
- }),
97
- }));
98
- expect(getIonTheme()).toBe('ios');
99
- });
100
- it('should return the default theme if it cannot be determined', () => {
101
- getElement.mockImplementation(() => ({
102
- closest: () => ({
103
- getAttribute: () => null,
104
- }),
105
- }));
106
- expect(getIonTheme()).toBe('md');
107
- });
108
- });
109
- });
@@ -1,401 +0,0 @@
1
- /*!
2
- * (C) Ionic http://ionicframework.com - MIT License
3
- */
4
- import { a as setPlatformHelpers, g as getElement, c as getMode, d as setMode } from './index-3a495cc6.js';
5
-
6
- /**
7
- * Logs a warning to the console with an Ionic prefix
8
- * to indicate the library that is warning the developer.
9
- *
10
- * @param message - The string message to be logged to the console.
11
- */
12
- const printIonWarning = (message, ...params) => {
13
- return console.warn(`[Ionic Warning]: ${message}`, ...params);
14
- };
15
- /*
16
- * Logs an error to the console with an Ionic prefix
17
- * to indicate the library that is warning the developer.
18
- *
19
- * @param message - The string message to be logged to the console.
20
- * @param params - Additional arguments to supply to the console.error.
21
- */
22
- const printIonError = (message, ...params) => {
23
- return console.error(`[Ionic Error]: ${message}`, ...params);
24
- };
25
- /**
26
- * Prints an error informing developers that an implementation requires an element to be used
27
- * within a specific selector.
28
- *
29
- * @param el The web component element this is requiring the element.
30
- * @param targetSelectors The selector or selectors that were not found.
31
- */
32
- const printRequiredElementError = (el, ...targetSelectors) => {
33
- return console.error(`<${el.tagName.toLowerCase()}> must be used inside ${targetSelectors.join(' or ')}.`);
34
- };
35
-
36
- // TODO(FW-2832): types
37
- class Config {
38
- constructor() {
39
- this.m = new Map();
40
- }
41
- reset(configObj) {
42
- this.m = new Map(Object.entries(configObj));
43
- }
44
- get(key, fallback) {
45
- const value = this.m.get(key);
46
- return value !== undefined ? value : fallback;
47
- }
48
- getBoolean(key, fallback = false) {
49
- const val = this.m.get(key);
50
- if (val === undefined) {
51
- return fallback;
52
- }
53
- if (typeof val === 'string') {
54
- return val === 'true';
55
- }
56
- return !!val;
57
- }
58
- getNumber(key, fallback) {
59
- const val = parseFloat(this.m.get(key));
60
- return isNaN(val) ? (fallback !== undefined ? fallback : NaN) : val;
61
- }
62
- set(key, value) {
63
- this.m.set(key, value);
64
- }
65
- }
66
- const config = /*@__PURE__*/ new Config();
67
- const configFromSession = (win) => {
68
- try {
69
- const configStr = win.sessionStorage.getItem(IONIC_SESSION_KEY);
70
- return configStr !== null ? JSON.parse(configStr) : {};
71
- }
72
- catch (e) {
73
- return {};
74
- }
75
- };
76
- const saveConfig = (win, c) => {
77
- try {
78
- win.sessionStorage.setItem(IONIC_SESSION_KEY, JSON.stringify(c));
79
- }
80
- catch (e) {
81
- return;
82
- }
83
- };
84
- const configFromURL = (win) => {
85
- const configObj = {};
86
- win.location.search
87
- .slice(1)
88
- .split('&')
89
- .map((entry) => entry.split('='))
90
- .map(([key, value]) => [decodeURIComponent(key), decodeURIComponent(value)])
91
- .filter(([key]) => startsWith(key, IONIC_PREFIX))
92
- .map(([key, value]) => [key.slice(IONIC_PREFIX.length), value])
93
- .forEach(([key, value]) => {
94
- configObj[key] = value;
95
- });
96
- return configObj;
97
- };
98
- const startsWith = (input, search) => {
99
- return input.substr(0, search.length) === search;
100
- };
101
- const IONIC_PREFIX = 'ionic:';
102
- const IONIC_SESSION_KEY = 'ionic-persist-config';
103
-
104
- const getPlatforms = (win) => setupPlatforms(win);
105
- const isPlatform = (winOrPlatform, platform) => {
106
- if (typeof winOrPlatform === 'string') {
107
- platform = winOrPlatform;
108
- winOrPlatform = undefined;
109
- }
110
- return getPlatforms(winOrPlatform).includes(platform);
111
- };
112
- const setupPlatforms = (win = window) => {
113
- if (typeof win === 'undefined') {
114
- return [];
115
- }
116
- win.Ionic = win.Ionic || {};
117
- let platforms = win.Ionic.platforms;
118
- if (platforms == null) {
119
- platforms = win.Ionic.platforms = detectPlatforms(win);
120
- platforms.forEach((p) => win.document.documentElement.classList.add(`plt-${p}`));
121
- }
122
- return platforms;
123
- };
124
- const detectPlatforms = (win) => {
125
- const customPlatformMethods = config.get('platform');
126
- return Object.keys(PLATFORMS_MAP).filter((p) => {
127
- const customMethod = customPlatformMethods === null || customPlatformMethods === void 0 ? void 0 : customPlatformMethods[p];
128
- return typeof customMethod === 'function' ? customMethod(win) : PLATFORMS_MAP[p](win);
129
- });
130
- };
131
- const isMobileWeb = (win) => isMobile(win) && !isHybrid(win);
132
- const isIpad = (win) => {
133
- // iOS 12 and below
134
- if (testUserAgent(win, /iPad/i)) {
135
- return true;
136
- }
137
- // iOS 13+
138
- if (testUserAgent(win, /Macintosh/i) && isMobile(win)) {
139
- return true;
140
- }
141
- return false;
142
- };
143
- const isIphone = (win) => testUserAgent(win, /iPhone/i);
144
- const isIOS = (win) => testUserAgent(win, /iPhone|iPod/i) || isIpad(win);
145
- const isAndroid = (win) => testUserAgent(win, /android|sink/i);
146
- const isAndroidTablet = (win) => {
147
- return isAndroid(win) && !testUserAgent(win, /mobile/i);
148
- };
149
- const isPhablet = (win) => {
150
- const width = win.innerWidth;
151
- const height = win.innerHeight;
152
- const smallest = Math.min(width, height);
153
- const largest = Math.max(width, height);
154
- return smallest > 390 && smallest < 520 && largest > 620 && largest < 800;
155
- };
156
- const isTablet = (win) => {
157
- const width = win.innerWidth;
158
- const height = win.innerHeight;
159
- const smallest = Math.min(width, height);
160
- const largest = Math.max(width, height);
161
- return isIpad(win) || isAndroidTablet(win) || (smallest > 460 && smallest < 820 && largest > 780 && largest < 1400);
162
- };
163
- const isMobile = (win) => matchMedia(win, '(any-pointer:coarse)');
164
- const isDesktop = (win) => !isMobile(win);
165
- const isHybrid = (win) => isCordova(win) || isCapacitorNative(win);
166
- const isCordova = (win) => !!(win['cordova'] || win['phonegap'] || win['PhoneGap']);
167
- const isCapacitorNative = (win) => {
168
- const capacitor = win['Capacitor'];
169
- return !!(capacitor === null || capacitor === void 0 ? void 0 : capacitor.isNative);
170
- };
171
- const isElectron = (win) => testUserAgent(win, /electron/i);
172
- const isPWA = (win) => { var _a; return !!(((_a = win.matchMedia) === null || _a === void 0 ? void 0 : _a.call(win, '(display-mode: standalone)').matches) || win.navigator.standalone); };
173
- const testUserAgent = (win, expr) => expr.test(win.navigator.userAgent);
174
- const matchMedia = (win, query) => { var _a; return (_a = win.matchMedia) === null || _a === void 0 ? void 0 : _a.call(win, query).matches; };
175
- const PLATFORMS_MAP = {
176
- ipad: isIpad,
177
- iphone: isIphone,
178
- ios: isIOS,
179
- android: isAndroid,
180
- phablet: isPhablet,
181
- tablet: isTablet,
182
- cordova: isCordova,
183
- capacitor: isCapacitorNative,
184
- electron: isElectron,
185
- pwa: isPWA,
186
- mobile: isMobile,
187
- mobileweb: isMobileWeb,
188
- desktop: isDesktop,
189
- hybrid: isHybrid,
190
- };
191
-
192
- let defaultMode;
193
- let defaultTheme = 'md';
194
- /**
195
- * Prints a warning message to the developer to inform them of
196
- * an invalid configuration of mode and theme.
197
- * @param mode The invalid mode configuration.
198
- * @param theme The invalid theme configuration.
199
- */
200
- const printInvalidModeWarning = (mode, theme, ref) => {
201
- printIonWarning(`Invalid mode and theme combination provided: mode: ${mode}, theme: ${theme}. Fallback mode ${getDefaultModeForTheme(theme)} will be used.`, ref);
202
- };
203
- /**
204
- * Validates if a mode is accepted for a theme configuration.
205
- * @param mode The mode to validate.
206
- * @param theme The theme the mode is being used with.
207
- * @returns `true` if the mode is valid for the theme, `false` if invalid.
208
- */
209
- const isModeValidForTheme = (mode, theme) => {
210
- if (mode === 'md') {
211
- return theme === 'md' || theme === 'ionic';
212
- }
213
- else if (mode === 'ios') {
214
- return theme === 'ios' || theme === 'ionic';
215
- }
216
- return false;
217
- };
218
- /**
219
- * Returns the default mode for a specified theme.
220
- * @param theme The theme to return a default mode for.
221
- * @returns The default mode, either `ios` or `md`.
222
- */
223
- const getDefaultModeForTheme = (theme) => {
224
- if (theme === 'ios') {
225
- return 'ios';
226
- }
227
- return 'md';
228
- };
229
- /**
230
- * Returns the default theme for a specified mode.
231
- * @param mode The mode to return a default theme for.
232
- * @returns The default theme.
233
- */
234
- const getDefaultThemeForMode = (mode) => {
235
- if (mode === 'ios') {
236
- return 'ios';
237
- }
238
- return 'md';
239
- };
240
- const isModeSupported = (elmMode) => ['ios', 'md'].includes(elmMode);
241
- const isThemeSupported = (theme) => ['ios', 'md', 'ionic'].includes(theme);
242
- const isIonicElement = (elm) => { var _a; return (_a = elm.tagName) === null || _a === void 0 ? void 0 : _a.startsWith('ION-'); };
243
- /**
244
- * Returns the mode value of the element reference or the closest
245
- * parent with a valid mode.
246
- * @param ref The element reference to look up the mode for.
247
- * @param theme Optionally can provide the theme to avoid an additional look-up.
248
- * @returns The mode value for the element reference.
249
- */
250
- const getIonMode = (ref, theme = getIonTheme(ref)) => {
251
- var _a;
252
- if ((ref === null || ref === void 0 ? void 0 : ref.mode) && isModeValidForTheme(ref === null || ref === void 0 ? void 0 : ref.mode, theme)) {
253
- /**
254
- * If the reference already has a mode configuration,
255
- * use it instead of performing a look-up.
256
- */
257
- return ref.mode;
258
- }
259
- else {
260
- const el = getElement(ref);
261
- const mode = ((_a = el.closest('[mode]')) === null || _a === void 0 ? void 0 : _a.getAttribute('mode')) || defaultMode;
262
- if (isModeValidForTheme(mode, theme)) {
263
- /**
264
- * The mode configuration is supported for the configured theme.
265
- */
266
- return mode;
267
- }
268
- else {
269
- printInvalidModeWarning(mode, theme, ref);
270
- }
271
- }
272
- return getDefaultModeForTheme(theme);
273
- };
274
- /**
275
- * Returns the theme value of the element reference or the closest
276
- * parent with a valid theme.
277
- *
278
- * @param ref The element reference to look up the theme for.
279
- * @returns The theme value for the element reference, defaults to
280
- * the default theme if it cannot be determined.
281
- */
282
- const getIonTheme = (ref) => {
283
- var _a, _b;
284
- const theme = ref && getMode(ref);
285
- if (theme) {
286
- return theme;
287
- }
288
- /**
289
- * If the theme cannot be detected, then fallback to using
290
- * the `mode` attribute to determine the style sheets to use.
291
- */
292
- const el = getElement(ref);
293
- const mode = (_a = ref === null || ref === void 0 ? void 0 : ref.mode) !== null && _a !== void 0 ? _a : (_b = el.closest('[mode]')) === null || _b === void 0 ? void 0 : _b.getAttribute('mode');
294
- if (mode) {
295
- return getDefaultThemeForMode(mode);
296
- }
297
- /**
298
- * If a mode is not detected, then fallback to using the
299
- * default theme.
300
- */
301
- return defaultTheme;
302
- };
303
- const initialize = (userConfig = {}) => {
304
- if (typeof window === 'undefined') {
305
- return;
306
- }
307
- const doc = window.document;
308
- const win = window;
309
- const Ionic = (win.Ionic = win.Ionic || {});
310
- const platformHelpers = {};
311
- if (userConfig._ael) {
312
- platformHelpers.ael = userConfig._ael;
313
- }
314
- if (userConfig._rel) {
315
- platformHelpers.rel = userConfig._rel;
316
- }
317
- if (userConfig._ce) {
318
- platformHelpers.ce = userConfig._ce;
319
- }
320
- setPlatformHelpers(platformHelpers);
321
- // create the Ionic.config from raw config object (if it exists)
322
- // and convert Ionic.config into a ConfigApi that has a get() fn
323
- const configObj = Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, configFromSession(win)), { persistConfig: false }), Ionic.config), configFromURL(win)), userConfig);
324
- config.reset(configObj);
325
- if (config.getBoolean('persistConfig')) {
326
- saveConfig(win, configObj);
327
- }
328
- // Setup platforms
329
- setupPlatforms(win);
330
- Ionic.config = config;
331
- /**
332
- * Check if the mode was set as an attribute on <html>
333
- * which could have been set by the user, or by pre-rendering
334
- * otherwise get the mode via config settings, and fallback to md.
335
- */
336
- Ionic.mode = defaultMode = config.get('mode', doc.documentElement.getAttribute('mode') || (isPlatform(win, 'ios') ? 'ios' : 'md'));
337
- /**
338
- * Check if the theme was set as an attribute on <html>
339
- * which could have been set by the user, or by pre-rendering
340
- * otherwise get the theme via config settings, and fallback to md.
341
- */
342
- Ionic.theme = defaultTheme = config.get('theme', doc.documentElement.getAttribute('theme') || getDefaultThemeForMode(defaultMode));
343
- if (!isModeValidForTheme(defaultMode, defaultTheme)) {
344
- printInvalidModeWarning(defaultMode, defaultTheme, configObj);
345
- defaultMode = getDefaultModeForTheme(defaultTheme);
346
- }
347
- config.set('mode', defaultMode);
348
- doc.documentElement.setAttribute('mode', defaultMode);
349
- doc.documentElement.classList.add(defaultMode);
350
- config.set('theme', defaultTheme);
351
- doc.documentElement.setAttribute('theme', defaultTheme);
352
- doc.documentElement.classList.add(defaultTheme);
353
- if (config.getBoolean('_testing')) {
354
- config.set('animated', false);
355
- }
356
- setMode((elm) => {
357
- /**
358
- * Iterate over all the element nodes, to both validate and
359
- * set the "mode" that is used for determining the styles to
360
- * apply to the element.
361
- *
362
- * setMode refers to Stencil's internal metadata for "mode",
363
- * which is used to set the correct styleUrl for the component.
364
- *
365
- * If the "theme" attribute or property is set, then use it
366
- * to determine the style sheets to use.
367
- *
368
- * If the "mode" attribute or property is set, then use it
369
- * to determine the style sheets to use. This is fallback
370
- * behavior for applications that are not setting the "theme".
371
- */
372
- while (elm) {
373
- const theme = elm.getAttribute('theme');
374
- if (theme) {
375
- if (isThemeSupported(theme)) {
376
- return theme;
377
- }
378
- else if (isIonicElement(elm)) {
379
- printIonWarning(`Invalid theme: "${theme}". Supported themes include: "ios" or "md".`);
380
- }
381
- }
382
- /**
383
- * If a theme is not detected, then fallback to using the
384
- * `mode` attribute to determine the style sheets to use.
385
- */
386
- const elmMode = elm.getAttribute('mode');
387
- if (elmMode) {
388
- if (isModeSupported(elmMode)) {
389
- return elmMode;
390
- }
391
- else if (isIonicElement(elm)) {
392
- printIonWarning(`Invalid mode: "${elmMode}". Ionic modes can be only "ios" or "md"`);
393
- }
394
- }
395
- elm = elm.parentElement;
396
- }
397
- return defaultTheme;
398
- });
399
- };
400
-
401
- export { isPlatform as a, getIonMode as b, config as c, getIonTheme as d, printIonError as e, printRequiredElementError as f, getPlatforms as g, initialize as i, printIonWarning as p };
@@ -1,4 +0,0 @@
1
- /*!
2
- * (C) Ionic http://ionicframework.com - MIT License
3
- */
4
- import{i as initialize}from"./ionic-global-a03b1588.js";var globalScripts=initialize;export{globalScripts as g};
@@ -1,4 +0,0 @@
1
- import{__spreadArray}from"tslib";
2
- /*!
3
- * (C) Ionic http://ionicframework.com - MIT License
4
- */import{p as printIonWarning}from"./ionic-global-a03b1588.js";var isSameDay=function(e,r){return e.month===r.month&&e.day===r.day&&e.year===r.year};var isBefore=function(e,r){return!!(e.year<r.year||e.year===r.year&&e.month<r.month||e.year===r.year&&e.month===r.month&&e.day!==null&&e.day<r.day)};var isAfter=function(e,r){return!!(e.year>r.year||e.year===r.year&&e.month>r.month||e.year===r.year&&e.month===r.month&&e.day!==null&&e.day>r.day)};var warnIfValueOutOfBounds=function(e,r,n){var a=Array.isArray(e)?e:[e];for(var t=0,i=a;t<i.length;t++){var u=i[t];if(r!==undefined&&isBefore(u,r)||n!==undefined&&isAfter(u,n)){printIonWarning("The value provided to ion-datetime is out of bounds.\n\n"+"Min: ".concat(JSON.stringify(r),"\n")+"Max: ".concat(JSON.stringify(n),"\n")+"Value: ".concat(JSON.stringify(e)));break}}};var isLeapYear=function(e){return e%4===0&&e%100!==0||e%400===0};var getHourCycle=function(e,r){if(r!==undefined){return r}var n=new Intl.DateTimeFormat(e,{hour:"numeric"});var a=n.resolvedOptions();if(a.hourCycle!==undefined){return a.hourCycle}var t=new Date("5/18/2021 00:00");var i=n.formatToParts(t);var u=i.find((function(e){return e.type==="hour"}));if(!u){throw new Error("Hour value not found from DateTimeFormat")}switch(u.value){case"0":return"h11";case"12":return"h12";case"00":return"h23";case"24":return"h24";default:throw new Error('Invalid hour cycle "'.concat(r,'"'))}};var is24Hour=function(e){return e==="h23"||e==="h24"};var getNumDaysInMonth=function(e,r){return e===4||e===6||e===9||e===11?30:e===2?isLeapYear(r)?29:28:31};var isMonthFirstLocale=function(e,r){if(r===void 0){r={month:"numeric",year:"numeric"}}var n=new Intl.DateTimeFormat(e,r).formatToParts(new Date);return n[0].type==="month"};var isLocaleDayPeriodRTL=function(e){var r=new Intl.DateTimeFormat(e,{hour:"numeric"}).formatToParts(new Date);return r[0].type==="dayPeriod"};var ISO_8601_REGEXP=/^(\d{4}|[+\-]\d{6})(?:-(\d{2})(?:-(\d{2}))?)?(?:T(\d{2}):(\d{2})(?::(\d{2})(?:\.(\d{3}))?)?(?:(Z)|([+\-])(\d{2})(?::(\d{2}))?)?)?$/;var TIME_REGEXP=/^((\d{2}):(\d{2})(?::(\d{2})(?:\.(\d{3}))?)?(?:(Z)|([+\-])(\d{2})(?::(\d{2}))?)?)?$/;var convertToArrayOfNumbers=function(e){if(e===undefined){return}var r=e;if(typeof e==="string"){r=e.replace(/\[|\]|\s/g,"").split(",")}var n;if(Array.isArray(r)){n=r.map((function(e){return parseInt(e,10)})).filter(isFinite)}else{n=[r]}return n};var getPartsFromCalendarDay=function(e){return{month:parseInt(e.getAttribute("data-month"),10),day:parseInt(e.getAttribute("data-day"),10),year:parseInt(e.getAttribute("data-year"),10),dayOfWeek:parseInt(e.getAttribute("data-day-of-week"),10)}};function parseDate(e){if(Array.isArray(e)){var r=[];for(var n=0,a=e;n<a.length;n++){var t=a[n];var i=parseDate(t);if(!i){return undefined}r.push(i)}return r}var u=null;if(e!=null&&e!==""){u=TIME_REGEXP.exec(e);if(u){u.unshift(undefined,undefined);u[2]=u[3]=undefined}else{u=ISO_8601_REGEXP.exec(e)}}if(u===null){printIonWarning("Unable to parse date string: ".concat(e,". Please provide a valid ISO 8601 datetime string."));return undefined}for(var o=1;o<8;o++){u[o]=u[o]!==undefined?parseInt(u[o],10):undefined}return{year:u[1],month:u[2],day:u[3],hour:u[4],minute:u[5],ampm:u[4]<12?"am":"pm"}}var clampDate=function(e,r,n){if(r&&isBefore(e,r)){return r}else if(n&&isAfter(e,n)){return n}return e};var parseAmPm=function(e){return e>=12?"pm":"am"};var parseMaxParts=function(e,r){var n=parseDate(e);if(n===undefined){return}var a=n.month,t=n.day,i=n.year,u=n.hour,o=n.minute;var d=i!==null&&i!==void 0?i:r.year;var f=a!==null&&a!==void 0?a:12;return{month:f,day:t!==null&&t!==void 0?t:getNumDaysInMonth(f,d),year:d,hour:u!==null&&u!==void 0?u:23,minute:o!==null&&o!==void 0?o:59}};var parseMinParts=function(e,r){var n=parseDate(e);if(n===undefined){return}var a=n.month,t=n.day,i=n.year,u=n.hour,o=n.minute;return{month:a!==null&&a!==void 0?a:1,day:t!==null&&t!==void 0?t:1,year:i!==null&&i!==void 0?i:r.year,hour:u!==null&&u!==void 0?u:0,minute:o!==null&&o!==void 0?o:0}};var twoDigit=function(e){return("0"+(e!==undefined?Math.abs(e):"0")).slice(-2)};var fourDigit=function(e){return("000"+(e!==undefined?Math.abs(e):"0")).slice(-4)};function convertDataToISO(e){if(Array.isArray(e)){return e.map((function(e){return convertDataToISO(e)}))}var r="";if(e.year!==undefined){r=fourDigit(e.year);if(e.month!==undefined){r+="-"+twoDigit(e.month);if(e.day!==undefined){r+="-"+twoDigit(e.day);if(e.hour!==undefined){r+="T".concat(twoDigit(e.hour),":").concat(twoDigit(e.minute),":00")}}}}else if(e.hour!==undefined){r=twoDigit(e.hour)+":"+twoDigit(e.minute)}return r}var convert12HourTo24Hour=function(e,r){if(r===undefined){return e}if(r==="am"){if(e===12){return 0}return e}if(e===12){return 12}return e+12};var getStartOfWeek=function(e){var r=e.dayOfWeek;if(r===null||r===undefined){throw new Error("No day of week provided")}return subtractDays(e,r)};var getEndOfWeek=function(e){var r=e.dayOfWeek;if(r===null||r===undefined){throw new Error("No day of week provided")}return addDays(e,6-r)};var getNextDay=function(e){return addDays(e,1)};var getPreviousDay=function(e){return subtractDays(e,1)};var getPreviousWeek=function(e){return subtractDays(e,7)};var getNextWeek=function(e){return addDays(e,7)};var subtractDays=function(e,r){var n=e.month,a=e.day,t=e.year;if(a===null){throw new Error("No day provided")}var i={month:n,day:a,year:t};i.day=a-r;if(i.day<1){i.month-=1}if(i.month<1){i.month=12;i.year-=1}if(i.day<1){var u=getNumDaysInMonth(i.month,i.year);i.day=u+i.day}return i};var addDays=function(e,r){var n=e.month,a=e.day,t=e.year;if(a===null){throw new Error("No day provided")}var i={month:n,day:a,year:t};var u=getNumDaysInMonth(n,t);i.day=a+r;if(i.day>u){i.day-=u;i.month+=1}if(i.month>12){i.month=1;i.year+=1}return i};var getPreviousMonth=function(e){var r=e.month===1?12:e.month-1;var n=e.month===1?e.year-1:e.year;var a=getNumDaysInMonth(r,n);var t=a<e.day?a:e.day;return{month:r,year:n,day:t}};var getNextMonth=function(e){var r=e.month===12?1:e.month+1;var n=e.month===12?e.year+1:e.year;var a=getNumDaysInMonth(r,n);var t=a<e.day?a:e.day;return{month:r,year:n,day:t}};var changeYear=function(e,r){var n=e.month;var a=e.year+r;var t=getNumDaysInMonth(n,a);var i=t<e.day?t:e.day;return{month:n,year:a,day:i}};var getPreviousYear=function(e){return changeYear(e,-1)};var getNextYear=function(e){return changeYear(e,1)};var getInternalHourValue=function(e,r,n){if(r){return e}return convert12HourTo24Hour(e,n)};var calculateHourFromAMPM=function(e,r){var n=e.ampm,a=e.hour;var t=a;if(n==="am"&&r==="pm"){t=convert12HourTo24Hour(t,"pm")}else if(n==="pm"&&r==="am"){t=Math.abs(t-12)}return t};var validateParts=function(e,r,n){var a=e.month,t=e.day,i=e.year;var u=clampDate(Object.assign({},e),r,n);var o=getNumDaysInMonth(a,i);if(t!==null&&o<t){u.day=o}if(r!==undefined&&isSameDay(u,r)){if(u.hour!==undefined&&r.hour!==undefined){if(u.hour<r.hour){u.hour=r.hour;u.minute=r.minute}else if(u.hour===r.hour&&u.minute!==undefined&&r.minute!==undefined&&u.minute<r.minute){u.minute=r.minute}}}if(n!==undefined&&isSameDay(e,n)){if(u.hour!==undefined&&n.hour!==undefined){if(u.hour>n.hour){u.hour=n.hour;u.minute=n.minute}else if(u.hour===n.hour&&u.minute!==undefined&&n.minute!==undefined&&u.minute>n.minute){u.minute=n.minute}}}return u};var getClosestValidDate=function(e){var r=e.refParts,n=e.monthValues,a=e.dayValues,t=e.yearValues,i=e.hourValues,u=e.minuteValues,o=e.minParts,d=e.maxParts;var f=r.hour,v=r.minute,s=r.day,l=r.month,c=r.year;var m=Object.assign(Object.assign({},r),{dayOfWeek:undefined});if(t!==undefined){var y=t.filter((function(e){if(o!==undefined&&e<o.year){return false}if(d!==undefined&&e>d.year){return false}return true}));m.year=findClosestValue(c,y)}if(n!==undefined){var g=n.filter((function(e){if(o!==undefined&&m.year===o.year&&e<o.month){return false}if(d!==undefined&&m.year===d.year&&e>d.month){return false}return true}));m.month=findClosestValue(l,g)}if(s!==null&&a!==undefined){var D=a.filter((function(e){if(o!==undefined&&isBefore(Object.assign(Object.assign({},m),{day:e}),o)){return false}if(d!==undefined&&isAfter(Object.assign(Object.assign({},m),{day:e}),d)){return false}return true}));m.day=findClosestValue(s,D)}if(f!==undefined&&i!==undefined){var h=i.filter((function(e){if((o===null||o===void 0?void 0:o.hour)!==undefined&&isSameDay(m,o)&&e<o.hour){return false}if((d===null||d===void 0?void 0:d.hour)!==undefined&&isSameDay(m,d)&&e>d.hour){return false}return true}));m.hour=findClosestValue(f,h);m.ampm=parseAmPm(m.hour)}if(v!==undefined&&u!==undefined){var T=u.filter((function(e){if((o===null||o===void 0?void 0:o.minute)!==undefined&&isSameDay(m,o)&&m.hour===o.hour&&e<o.minute){return false}if((d===null||d===void 0?void 0:d.minute)!==undefined&&isSameDay(m,d)&&m.hour===d.hour&&e>d.minute){return false}return true}));m.minute=findClosestValue(v,T)}return m};var findClosestValue=function(e,r){var n=r[0];var a=Math.abs(n-e);for(var t=1;t<r.length;t++){var i=r[t];var u=Math.abs(i-e);if(u<a){n=i;a=u}}return n};var getFormattedDayPeriod=function(e){if(e===undefined){return""}return e.toUpperCase()};var stripTimeZone=function(e){return Object.assign(Object.assign({},e),{timeZone:"UTC",timeZoneName:undefined})};var getLocalizedTime=function(e,r,n,a){if(a===void 0){a={hour:"numeric",minute:"numeric"}}var t={hour:r.hour,minute:r.minute};if(t.hour===undefined||t.minute===undefined){return"Invalid Time"}return new Intl.DateTimeFormat(e,Object.assign(Object.assign({},stripTimeZone(a)),{hourCycle:n})).format(new Date(convertDataToISO(Object.assign({year:2023,day:1,month:1},t))+"Z"))};var addTimePadding=function(e){var r=e.toString();if(r.length>1){return r}return"0".concat(r)};var getFormattedHour=function(e,r){if(e===0){switch(r){case"h11":return"0";case"h12":return"12";case"h23":return"00";case"h24":return"24";default:throw new Error('Invalid hour cycle "'.concat(r,'"'))}}var n=is24Hour(r);if(n){return addTimePadding(e)}return e.toString()};var generateDayAriaLabel=function(e,r,n){if(n.day===null){return null}var a=getNormalizedDate(n);var t=new Intl.DateTimeFormat(e,{weekday:"long",month:"long",day:"numeric",timeZone:"UTC"}).format(a);return r?"Today, ".concat(t):t};var getMonthAndYear=function(e,r){var n=getNormalizedDate(r);return new Intl.DateTimeFormat(e,{month:"long",year:"numeric",timeZone:"UTC"}).format(n)};var getDay=function(e,r){return getLocalizedDateTimeParts(e,r,{day:"numeric"}).find((function(e){return e.type==="day"})).value};var getYear=function(e,r){return getLocalizedDateTime(e,r,{year:"numeric"})};var getNormalizedDate=function(e){var r,n,a;var t=e.hour!==undefined&&e.minute!==undefined?" ".concat(e.hour,":").concat(e.minute):"";return new Date("".concat((r=e.month)!==null&&r!==void 0?r:1,"/").concat((n=e.day)!==null&&n!==void 0?n:1,"/").concat((a=e.year)!==null&&a!==void 0?a:2023).concat(t," GMT+0000"))};var getLocalizedDateTime=function(e,r,n){var a=getNormalizedDate(r);return getDateTimeFormat(e,stripTimeZone(n)).format(a)};var getLocalizedDateTimeParts=function(e,r,n){var a=getNormalizedDate(r);return getDateTimeFormat(e,n).formatToParts(a)};var getDateTimeFormat=function(e,r){return new Intl.DateTimeFormat(e,Object.assign(Object.assign({},r),{timeZone:"UTC"}))};var getTodayLabel=function(e){if("RelativeTimeFormat"in Intl){var r=new Intl.RelativeTimeFormat(e,{numeric:"auto"}).format(0,"day");return r.charAt(0).toUpperCase()+r.slice(1)}else{return"Today"}};var removeDateTzOffset=function(e){var r=e.getTimezoneOffset();e.setMinutes(e.getMinutes()-r);return e};var DATE_AM=removeDateTzOffset(new Date("2022T01:00"));var DATE_PM=removeDateTzOffset(new Date("2022T13:00"));var getLocalizedDayPeriod=function(e,r){var n=r==="am"?DATE_AM:DATE_PM;var a=new Intl.DateTimeFormat(e,{hour:"numeric",timeZone:"UTC"}).formatToParts(n).find((function(e){return e.type==="dayPeriod"}));if(a){return a.value}return getFormattedDayPeriod(r)};var formatValue=function(e){return Array.isArray(e)?e.join(","):e};var getToday=function(){return removeDateTzOffset(new Date).toISOString()};var minutes=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59];var hour11=[0,1,2,3,4,5,6,7,8,9,10,11];var hour12=[0,1,2,3,4,5,6,7,8,9,10,11];var hour23=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23];var hour24=[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,0];var getDaysOfWeek=function(e,r,n){if(n===void 0){n=0}var a=r==="ios"?"short":"narrow";var t=new Intl.DateTimeFormat(e,{weekday:a});var i=new Date("11/01/2020");var u=[];for(var o=n;o<n+7;o++){var d=new Date(i);d.setDate(d.getDate()+o);u.push(t.format(d))}return u};var getDaysOfMonth=function(e,r,n){var a=getNumDaysInMonth(e,r);var t=new Date("".concat(e,"/1/").concat(r)).getDay();var i=t>=n?t-(n+1):6-(n-t);var u=[];for(var o=1;o<=a;o++){u.push({day:o,dayOfWeek:(i+o)%7})}for(var o=0;o<=i;o++){u=__spreadArray([{day:null,dayOfWeek:null}],u,true)}return u};var getHourData=function(e){switch(e){case"h11":return hour11;case"h12":return hour12;case"h23":return hour23;case"h24":return hour24;default:throw new Error('Invalid hour cycle "'.concat(e,'"'))}};var generateTime=function(e,r,n,a,t,i,u){if(n===void 0){n="h12"}var o=getHourCycle(e,n);var d=is24Hour(o);var f=getHourData(o);var v=minutes;var s=true;var l=true;if(i){f=f.filter((function(e){return i.includes(e)}))}if(u){v=v.filter((function(e){return u.includes(e)}))}if(a){if(isSameDay(r,a)){if(a.hour!==undefined){f=f.filter((function(e){var n=r.ampm==="pm"?(e+12)%24:e;return(d?e:n)>=a.hour}));s=a.hour<13}if(a.minute!==undefined){var c=false;if(a.hour!==undefined&&r.hour!==undefined){if(r.hour>a.hour){c=true}}v=v.filter((function(e){if(c){return true}return e>=a.minute}))}}else if(isBefore(r,a)){f=[];v=[];s=l=false}}if(t){if(isSameDay(r,t)){if(t.hour!==undefined){f=f.filter((function(e){var n=r.ampm==="pm"?(e+12)%24:e;return(d?e:n)<=t.hour}));l=t.hour>=12}if(t.minute!==undefined&&r.hour===t.hour){v=v.filter((function(e){return e<=t.minute}))}}else if(isAfter(r,t)){f=[];v=[];s=l=false}}return{hours:f,minutes:v,am:s,pm:l}};var generateMonths=function(e,r){var n={month:e.month,year:e.year,day:e.day};if(r!==undefined&&(e.month!==r.month||e.year!==r.year)){var a={month:r.month,year:r.year,day:r.day};var t=isBefore(a,n);return t?[a,n,getNextMonth(e)]:[getPreviousMonth(e),n,a]}return[getPreviousMonth(e),n,getNextMonth(e)]};var getMonthColumnData=function(e,r,n,a,t,i){if(i===void 0){i={month:"long"}}var u=r.year;var o=[];if(t!==undefined){var d=t;if((a===null||a===void 0?void 0:a.month)!==undefined){d=d.filter((function(e){return e<=a.month}))}if((n===null||n===void 0?void 0:n.month)!==undefined){d=d.filter((function(e){return e>=n.month}))}d.forEach((function(r){var n=new Date("".concat(r,"/1/").concat(u," GMT+0000"));var a=new Intl.DateTimeFormat(e,Object.assign(Object.assign({},i),{timeZone:"UTC"})).format(n);o.push({text:a,value:r})}))}else{var f=a&&a.year===u?a.month:12;var v=n&&n.year===u?n.month:1;for(var s=v;s<=f;s++){var l=new Date("".concat(s,"/1/").concat(u," GMT+0000"));var c=new Intl.DateTimeFormat(e,Object.assign(Object.assign({},i),{timeZone:"UTC"})).format(l);o.push({text:c,value:s})}}return o};var getDayColumnData=function(e,r,n,a,t,i){if(i===void 0){i={day:"numeric"}}var u=r.month,o=r.year;var d=[];var f=getNumDaysInMonth(u,o);var v=(a===null||a===void 0?void 0:a.day)!==null&&(a===null||a===void 0?void 0:a.day)!==undefined&&a.year===o&&a.month===u?a.day:f;var s=(n===null||n===void 0?void 0:n.day)!==null&&(n===null||n===void 0?void 0:n.day)!==undefined&&n.year===o&&n.month===u?n.day:1;if(t!==undefined){var l=t;l=l.filter((function(e){return e>=s&&e<=v}));l.forEach((function(r){var n=new Date("".concat(u,"/").concat(r,"/").concat(o," GMT+0000"));var a=new Intl.DateTimeFormat(e,Object.assign(Object.assign({},i),{timeZone:"UTC"})).format(n);d.push({text:a,value:r})}))}else{for(var c=s;c<=v;c++){var m=new Date("".concat(u,"/").concat(c,"/").concat(o," GMT+0000"));var y=new Intl.DateTimeFormat(e,Object.assign(Object.assign({},i),{timeZone:"UTC"})).format(m);d.push({text:y,value:c})}}return d};var getYearColumnData=function(e,r,n,a,t){var i,u;var o=[];if(t!==undefined){o=t;if((a===null||a===void 0?void 0:a.year)!==undefined){o=o.filter((function(e){return e<=a.year}))}if((n===null||n===void 0?void 0:n.year)!==undefined){o=o.filter((function(e){return e>=n.year}))}}else{var d=r.year;var f=(i=a===null||a===void 0?void 0:a.year)!==null&&i!==void 0?i:d;var v=(u=n===null||n===void 0?void 0:n.year)!==null&&u!==void 0?u:d-100;for(var s=v;s<=f;s++){o.push(s)}}return o.map((function(n){return{text:getYear(e,{year:n,month:r.month,day:r.day}),value:n}}))};var getAllMonthsInRange=function(e,r){if(e.month===r.month&&e.year===r.year){return[e]}return __spreadArray([e],getAllMonthsInRange(getNextMonth(e),r),true)};var getCombinedDateColumnData=function(e,r,n,a,t,i){var u=[];var o=[];var d=getAllMonthsInRange(n,a);if(i){d=d.filter((function(e){var r=e.month;return i.includes(r)}))}d.forEach((function(i){var d={month:i.month,day:null,year:i.year};var f=getDayColumnData(e,d,n,a,t,{month:"short",day:"numeric",weekday:"short"});var v=[];var s=[];f.forEach((function(n){var a=isSameDay(Object.assign(Object.assign({},d),{day:n.value}),r);s.push({text:a?getTodayLabel(e):n.text,value:"".concat(d.year,"-").concat(d.month,"-").concat(n.value)});v.push({month:d.month,year:d.year,day:n.value})}));o=__spreadArray(__spreadArray([],o,true),v,true);u=__spreadArray(__spreadArray([],u,true),s,true)}));return{parts:o,items:u}};var getTimeColumnsData=function(e,r,n,a,t,i,u){var o=getHourCycle(e,n);var d=is24Hour(o);var f=generateTime(e,r,o,a,t,i,u),v=f.hours,s=f.minutes,l=f.am,c=f.pm;var m=v.map((function(e){return{text:getFormattedHour(e,o),value:getInternalHourValue(e,d,r.ampm)}}));var y=s.map((function(e){return{text:addTimePadding(e),value:e}}));var g=[];if(l&&!d){g.push({text:getLocalizedDayPeriod(e,"am"),value:"am"})}if(c&&!d){g.push({text:getLocalizedDayPeriod(e,"pm"),value:"pm"})}return{minutesData:y,hoursData:m,dayPeriodData:g}};export{getNumDaysInMonth as A,getCombinedDateColumnData as B,getMonthColumnData as C,getDayColumnData as D,getYearColumnData as E,isMonthFirstLocale as F,getTimeColumnsData as G,isLocaleDayPeriodRTL as H,getDaysOfWeek as I,getMonthAndYear as J,getDaysOfMonth as K,getHourCycle as L,getLocalizedTime as M,getLocalizedDateTime as N,formatValue as O,clampDate as P,parseAmPm as Q,calculateHourFromAMPM as R,getDay as a,isAfter as b,isSameDay as c,getPreviousMonth as d,getNextMonth as e,getPartsFromCalendarDay as f,generateDayAriaLabel as g,getNextYear as h,isBefore as i,getPreviousYear as j,getEndOfWeek as k,getStartOfWeek as l,getPreviousDay as m,getNextDay as n,getPreviousWeek as o,getNextWeek as p,parseMinParts as q,parseMaxParts as r,parseDate as s,convertToArrayOfNumbers as t,convertDataToISO as u,validateParts as v,warnIfValueOutOfBounds as w,getToday as x,getClosestValidDate as y,generateMonths as z};
@@ -1,5 +0,0 @@
1
- import{__awaiter,__extends,__generator,__spreadArray}from"tslib";
2
- /*!
3
- * (C) Ionic http://ionicframework.com - MIT License
4
- */var NAMESPACE="ionic";var scopeId;var contentRef;var hostTagName;var useNativeShadowDom=false;var checkSlotFallbackVisibility=false;var checkSlotRelocate=false;var isSvgMode=false;var queuePending=false;var Build={isDev:false,isBrowser:true,isServer:false,isTesting:false};var getAssetPath=function(e){var t=new URL(e,plt.t);return t.origin!==win.location.origin?t.href:t.pathname};var createTime=function(e,t){if(t===void 0){t=""}{return function(){return}}};var uniqueTime=function(e,t){{return function(){return}}};var CONTENT_REF_ID="r";var ORG_LOCATION_ID="o";var SLOT_NODE_ID="s";var TEXT_NODE_ID="t";var HYDRATE_ID="s-id";var HYDRATED_STYLE_ID="sty-id";var HYDRATE_CHILD_ID="c-id";var HYDRATED_CSS="{visibility:hidden}.hydrated{visibility:inherit}";var SLOT_FB_CSS="slot-fb{display:contents}slot-fb[hidden]{display:none}";var XLINK_NS="http://www.w3.org/1999/xlink";var EMPTY_OBJ={};var SVG_NS="http://www.w3.org/2000/svg";var HTML_NS="http://www.w3.org/1999/xhtml";var isDef=function(e){return e!=null};var isComplexType=function(e){e=typeof e;return e==="object"||e==="function"};function queryNonceMetaTagContent(e){var t,r,n;return(n=(r=(t=e.head)===null||t===void 0?void 0:t.querySelector('meta[name="csp-nonce"]'))===null||r===void 0?void 0:r.getAttribute("content"))!==null&&n!==void 0?n:undefined}var h=function(e,t){var r=[];for(var n=2;n<arguments.length;n++){r[n-2]=arguments[n]}var i=null;var a=null;var o=null;var l=false;var f=false;var u=[];var s=function(t){for(var r=0;r<t.length;r++){i=t[r];if(Array.isArray(i)){s(i)}else if(i!=null&&typeof i!=="boolean"){if(l=typeof e!=="function"&&!isComplexType(i)){i=String(i)}if(l&&f){u[u.length-1].i+=i}else{u.push(l?newVNode(null,i):i)}f=l}}};s(r);if(t){if(t.key){a=t.key}if(t.name){o=t.name}{var c=t.className||t.class;if(c){t.class=typeof c!=="object"?c:Object.keys(c).filter((function(e){return c[e]})).join(" ")}}}if(typeof e==="function"){return e(t===null?{}:t,u,vdomFnUtils)}var v=newVNode(e,null);v.o=t;if(u.length>0){v.l=u}{v.u=a}{v.v=o}return v};var newVNode=function(e,t){var r={p:0,h:e,i:t,m:null,l:null};{r.o=null}{r.u=null}{r.v=null}return r};var Host={};var isHost=function(e){return e&&e.h===Host};var vdomFnUtils={forEach:function(e,t){return e.map(convertToPublic).forEach(t)},map:function(e,t){return e.map(convertToPublic).map(t).map(convertToPrivate)}};var convertToPublic=function(e){return{vattrs:e.o,vchildren:e.l,vkey:e.u,vname:e.v,vtag:e.h,vtext:e.i}};var convertToPrivate=function(e){if(typeof e.vtag==="function"){var t=Object.assign({},e.vattrs);if(e.vkey){t.key=e.vkey}if(e.vname){t.name=e.vname}return h.apply(void 0,__spreadArray([e.vtag,t],e.vchildren||[],false))}var r=newVNode(e.vtag,e.vtext);r.o=e.vattrs;r.l=e.vchildren;r.u=e.vkey;r.v=e.vname;return r};var initializeClientHydrate=function(e,t,r,n){var i=createTime("hydrateClient",t);var a=e.shadowRoot;var o=[];var l=[];var f=a?[]:null;var u=n.S=newVNode(t,null);if(!plt.T){initializeDocumentHydrate(doc.body,plt.T=new Map)}e[HYDRATE_ID]=r;e.removeAttribute(HYDRATE_ID);clientHydrate(u,o,l,f,e,e,r);o.map((function(e){var r=e.C+"."+e.N;var n=plt.T.get(r);var i=e.m;if(n&&supportsShadow&&n["s-en"]===""){n.parentNode.insertBefore(i,n.nextSibling)}if(!a){i["s-hn"]=t;if(n){i["s-ol"]=n;i["s-ol"]["s-nr"]=i}}plt.T.delete(r)}));if(a){f.map((function(e){if(e){a.appendChild(e)}}))}i()};var clientHydrate=function(e,t,r,n,i,a,o){var l;var f;var u;var s;if(a.nodeType===1){l=a.getAttribute(HYDRATE_CHILD_ID);if(l){f=l.split(".");if(f[0]===o||f[0]==="0"){u={p:0,C:f[0],N:f[1],_:f[2],R:f[3],h:a.tagName.toLowerCase(),m:a,o:null,l:null,u:null,v:null,i:null};t.push(u);a.removeAttribute(HYDRATE_CHILD_ID);if(!e.l){e.l=[]}e.l[u.R]=u;e=u;if(n&&u._==="0"){n[u.R]=u.m}}}for(s=a.childNodes.length-1;s>=0;s--){clientHydrate(e,t,r,n,i,a.childNodes[s],o)}if(a.shadowRoot){for(s=a.shadowRoot.childNodes.length-1;s>=0;s--){clientHydrate(e,t,r,n,i,a.shadowRoot.childNodes[s],o)}}}else if(a.nodeType===8){f=a.nodeValue.split(".");if(f[1]===o||f[1]==="0"){l=f[0];u={p:0,C:f[1],N:f[2],_:f[3],R:f[4],m:a,o:null,l:null,u:null,v:null,h:null,i:null};if(l===TEXT_NODE_ID){u.m=a.nextSibling;if(u.m&&u.m.nodeType===3){u.i=u.m.textContent;t.push(u);a.remove();if(!e.l){e.l=[]}e.l[u.R]=u;if(n&&u._==="0"){n[u.R]=u.m}}}else if(u.C===o){if(l===SLOT_NODE_ID){u.h="slot";if(f[5]){a["s-sn"]=u.v=f[5]}else{a["s-sn"]=""}a["s-sr"]=true;if(n){u.m=doc.createElement(u.h);if(u.v){u.m.setAttribute("name",u.v)}a.parentNode.insertBefore(u.m,a);a.remove();if(u._==="0"){n[u.R]=u.m}}r.push(u);if(!e.l){e.l=[]}e.l[u.R]=u}else if(l===CONTENT_REF_ID){if(n){a.remove()}else{i["s-cr"]=a;a["s-cn"]=true}}}}}else if(e&&e.h==="style"){var c=newVNode(null,a.textContent);c.m=a;c.R="0";e.l=[c]}};var initializeDocumentHydrate=function(e,t){if(e.nodeType===1){var r=0;for(;r<e.childNodes.length;r++){initializeDocumentHydrate(e.childNodes[r],t)}if(e.shadowRoot){for(r=0;r<e.shadowRoot.childNodes.length;r++){initializeDocumentHydrate(e.shadowRoot.childNodes[r],t)}}}else if(e.nodeType===8){var n=e.nodeValue.split(".");if(n[0]===ORG_LOCATION_ID){t.set(n[1]+"."+n[2],e);e.nodeValue="";e["s-en"]=n[3]}}};var computeMode=function(e){return modeResolutionChain.map((function(t){return t(e)})).find((function(e){return!!e}))};var setMode=function(e){return modeResolutionChain.push(e)};var getMode=function(e){return getHostRef(e).$};var parsePropertyValue=function(e,t){if(e!=null&&!isComplexType(e)){if(t&4){return e==="false"?false:e===""||!!e}if(t&2){return parseFloat(e)}if(t&1){return String(e)}return e}return e};var getElement=function(e){return getHostRef(e).$hostElement$};var createEvent=function(e,t,r){var n=getElement(e);return{emit:function(e){return emitEvent(n,t,{bubbles:!!(r&4),composed:!!(r&2),cancelable:!!(r&1),detail:e})}}};var emitEvent=function(e,t,r){var n=plt.ce(t,r);e.dispatchEvent(n);return n};var rootAppliedStyles=new WeakMap;var registerStyle=function(e,t,r){var n=styles.get(e);if(supportsConstructableStylesheets&&r){n=n||new CSSStyleSheet;if(typeof n==="string"){n=t}else{n.replaceSync(t)}}else{n=t}styles.set(e,n)};var addStyle=function(e,t,r){var n;var i=getScopeId(t,r);var a=styles.get(i);e=e.nodeType===11?e:doc;if(a){if(typeof a==="string"){e=e.head||e;var o=rootAppliedStyles.get(e);var l=void 0;if(!o){rootAppliedStyles.set(e,o=new Set)}if(!o.has(i)){if(e.host&&(l=e.querySelector("[".concat(HYDRATED_STYLE_ID,'="').concat(i,'"]')))){l.innerHTML=a}else{l=doc.createElement("style");l.innerHTML=a;var f=(n=plt.H)!==null&&n!==void 0?n:queryNonceMetaTagContent(doc);if(f!=null){l.setAttribute("nonce",f)}e.insertBefore(l,e.querySelector("link"))}if(t.p&4){l.innerHTML+=SLOT_FB_CSS}if(o){o.add(i)}}}else if(!e.adoptedStyleSheets.includes(a)){e.adoptedStyleSheets=__spreadArray(__spreadArray([],e.adoptedStyleSheets,true),[a],false)}}return i};var attachStyles=function(e){var t=e.D;var r=e.$hostElement$;var n=t.p;var i=createTime("attachStyles",t.k);var a=addStyle(r.shadowRoot?r.shadowRoot:r.getRootNode(),t,e.$);if(n&10){r["s-sc"]=a;r.classList.add(a+"-h");if(n&2){r.classList.add(a+"-s")}}i()};var getScopeId=function(e,t){return"sc-"+(t&&e.p&32?e.k+"-"+t:e.k)};var convertScopedToShadow=function(e){return e.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g,"$1{")};var setAccessor=function(e,t,r,n,i,a){if(r!==n){var o=isMemberInElement(e,t);var l=t.toLowerCase();if(t==="class"){var f=e.classList;var u=parseClassList(r);var s=parseClassList(n);f.remove.apply(f,u.filter((function(e){return e&&!s.includes(e)})));f.add.apply(f,s.filter((function(e){return e&&!u.includes(e)})))}else if(t==="style"){{for(var c in r){if(!n||n[c]==null){if(c.includes("-")){e.style.removeProperty(c)}else{e.style[c]=""}}}}for(var c in n){if(!r||n[c]!==r[c]){if(c.includes("-")){e.style.setProperty(c,n[c])}else{e.style[c]=n[c]}}}}else if(t==="key");else if(t==="ref"){if(n){n(e)}}else if(!o&&t[0]==="o"&&t[1]==="n"){if(t[2]==="-"){t=t.slice(3)}else if(isMemberInElement(win,l)){t=l.slice(2)}else{t=l[2]+t.slice(3)}if(r||n){var v=t.endsWith(CAPTURE_EVENT_SUFFIX);t=t.replace(CAPTURE_EVENT_REGEX,"");if(r){plt.rel(e,t,r,v)}if(n){plt.ael(e,t,n,v)}}}else{var d=isComplexType(n);if((o||d&&n!==null)&&!i){try{if(!e.tagName.includes("-")){var p=n==null?"":n;if(t==="list"){o=false}else if(r==null||e[t]!=p){e[t]=p}}else{e[t]=n}}catch(e){}}var h=false;{if(l!==(l=l.replace(/^xlink\:?/,""))){t=l;h=true}}if(n==null||n===false){if(n!==false||e.getAttribute(t)===""){if(h){e.removeAttributeNS(XLINK_NS,t)}else{e.removeAttribute(t)}}}else if((!o||a&4||i)&&!d){n=n===true?"":n;if(h){e.setAttributeNS(XLINK_NS,t,n)}else{e.setAttribute(t,n)}}}}};var parseClassListRegex=/\s/;var parseClassList=function(e){return!e?[]:e.split(parseClassListRegex)};var CAPTURE_EVENT_SUFFIX="Capture";var CAPTURE_EVENT_REGEX=new RegExp(CAPTURE_EVENT_SUFFIX+"$");var updateElement=function(e,t,r,n){var i=t.m.nodeType===11&&t.m.host?t.m.host:t.m;var a=e&&e.o||EMPTY_OBJ;var o=t.o||EMPTY_OBJ;{for(n in a){if(!(n in o)){setAccessor(i,n,a[n],undefined,r,t.p)}}}for(n in o){setAccessor(i,n,a[n],o[n],r,t.p)}};var createElm=function(e,t,r,n){var i=t.l[r];var a=0;var o;var l;var f;if(!useNativeShadowDom){checkSlotRelocate=true;if(i.h==="slot"){if(scopeId){n.classList.add(scopeId+"-s")}i.p|=i.l?2:1}}if(i.i!==null){o=i.m=doc.createTextNode(i.i)}else if(i.p&1){o=i.m=doc.createTextNode("")}else{if(!isSvgMode){isSvgMode=i.h==="svg"}o=i.m=doc.createElementNS(isSvgMode?SVG_NS:HTML_NS,i.p&2?"slot-fb":i.h);if(isSvgMode&&i.h==="foreignObject"){isSvgMode=false}{updateElement(null,i,isSvgMode)}if(isDef(scopeId)&&o["s-si"]!==scopeId){o.classList.add(o["s-si"]=scopeId)}if(i.l){for(a=0;a<i.l.length;++a){l=createElm(e,i,a,o);if(l){o.appendChild(l)}}}{if(i.h==="svg"){isSvgMode=false}else if(o.tagName==="foreignObject"){isSvgMode=true}}}o["s-hn"]=hostTagName;{if(i.p&(2|1)){o["s-sr"]=true;o["s-cr"]=contentRef;o["s-sn"]=i.v||"";f=e&&e.l&&e.l[r];if(f&&f.h===i.h&&e.m){{relocateToHostRoot(e.m)}}}}return o};var relocateToHostRoot=function(e){plt.p|=1;var t=e.closest(hostTagName.toLowerCase());if(t!=null){var r=Array.from(t.childNodes).find((function(e){return e["s-cr"]}));var n=Array.from(e.childNodes);for(var i=0,a=r?n.reverse():n;i<a.length;i++){var o=a[i];if(o["s-sh"]!=null){t.insertBefore(o,r!==null&&r!==void 0?r:null);o["s-sh"]=undefined;checkSlotRelocate=true}}}plt.p&=~1};var putBackInOriginalLocation=function(e,t){plt.p|=1;var r=e.childNodes;for(var n=r.length-1;n>=0;n--){var i=r[n];if(i["s-hn"]!==hostTagName&&i["s-ol"]){parentReferenceNode(i).insertBefore(i,referenceNode(i));i["s-ol"].remove();i["s-ol"]=undefined;i["s-sh"]=undefined;checkSlotRelocate=true}if(t){putBackInOriginalLocation(i,t)}}plt.p&=~1};var addVnodes=function(e,t,r,n,i,a){var o=e["s-cr"]&&e["s-cr"].parentNode||e;var l;if(o.shadowRoot&&o.tagName===hostTagName){o=o.shadowRoot}for(;i<=a;++i){if(n[i]){l=createElm(null,r,i,e);if(l){n[i].m=l;o.insertBefore(l,referenceNode(t))}}}};var removeVnodes=function(e,t,r){for(var n=t;n<=r;++n){var i=e[n];if(i){var a=i.m;nullifyVNodeRefs(i);if(a){{checkSlotFallbackVisibility=true;if(a["s-ol"]){a["s-ol"].remove()}else{putBackInOriginalLocation(a,true)}}a.remove()}}}};var updateChildren=function(e,t,r,n,i){if(i===void 0){i=false}var a=0;var o=0;var l=0;var f=0;var u=t.length-1;var s=t[0];var c=t[u];var v=n.length-1;var d=n[0];var p=n[v];var h;var m;while(a<=u&&o<=v){if(s==null){s=t[++a]}else if(c==null){c=t[--u]}else if(d==null){d=n[++o]}else if(p==null){p=n[--v]}else if(isSameVnode(s,d,i)){patch(s,d,i);s=t[++a];d=n[++o]}else if(isSameVnode(c,p,i)){patch(c,p,i);c=t[--u];p=n[--v]}else if(isSameVnode(s,p,i)){if(s.h==="slot"||p.h==="slot"){putBackInOriginalLocation(s.m.parentNode,false)}patch(s,p,i);e.insertBefore(s.m,c.m.nextSibling);s=t[++a];p=n[--v]}else if(isSameVnode(c,d,i)){if(s.h==="slot"||p.h==="slot"){putBackInOriginalLocation(c.m.parentNode,false)}patch(c,d,i);e.insertBefore(c.m,s.m);c=t[--u];d=n[++o]}else{l=-1;{for(f=a;f<=u;++f){if(t[f]&&t[f].u!==null&&t[f].u===d.u){l=f;break}}}if(l>=0){m=t[l];if(m.h!==d.h){h=createElm(t&&t[o],r,l,e)}else{patch(m,d,i);t[l]=undefined;h=m.m}d=n[++o]}else{h=createElm(t&&t[o],r,o,e);d=n[++o]}if(h){{parentReferenceNode(s.m).insertBefore(h,referenceNode(s.m))}}}}if(a>u){addVnodes(e,n[v+1]==null?null:n[v+1].m,r,n,o,v)}else if(o>v){removeVnodes(t,a,u)}};var isSameVnode=function(e,t,r){if(r===void 0){r=false}if(e.h===t.h){if(e.h==="slot"){return e.v===t.v}if(!r){return e.u===t.u}return true}return false};var referenceNode=function(e){return e&&e["s-ol"]||e};var parentReferenceNode=function(e){return(e["s-ol"]?e["s-ol"]:e).parentNode};var patch=function(e,t,r){if(r===void 0){r=false}var n=t.m=e.m;var i=e.l;var a=t.l;var o=t.h;var l=t.i;var f;if(l===null){{isSvgMode=o==="svg"?true:o==="foreignObject"?false:isSvgMode}{if(o==="slot"&&!useNativeShadowDom){if(e.v!==t.v){t.m["s-sn"]=t.v||"";relocateToHostRoot(t.m.parentElement)}}else{updateElement(e,t,isSvgMode)}}if(i!==null&&a!==null){updateChildren(n,i,t,a,r)}else if(a!==null){if(e.i!==null){n.textContent=""}addVnodes(n,null,t,a,0,a.length-1)}else if(i!==null){removeVnodes(i,0,i.length-1)}if(isSvgMode&&o==="svg"){isSvgMode=false}}else if(f=n["s-cr"]){f.parentNode.textContent=l}else if(e.i!==l){n.data=l}};var updateFallbackSlotVisibility=function(e){var t=e.childNodes;for(var r=0,n=t;r<n.length;r++){var i=n[r];if(i.nodeType===1){if(i["s-sr"]){var a=i["s-sn"];i.hidden=false;for(var o=0,l=t;o<l.length;o++){var f=l[o];if(f!==i){if(f["s-hn"]!==i["s-hn"]||a!==""){if(f.nodeType===1&&(a===f.getAttribute("slot")||a===f["s-sn"])){i.hidden=true;break}}else{if(f.nodeType===1||f.nodeType===3&&f.textContent.trim()!==""){i.hidden=true;break}}}}}updateFallbackSlotVisibility(i)}}};var relocateNodes=[];var markSlotContentForRelocation=function(e){var t;var r;var n;for(var i=0,a=e.childNodes;i<a.length;i++){var o=a[i];if(o["s-sr"]&&(t=o["s-cr"])&&t.parentNode){r=t.parentNode.childNodes;var l=o["s-sn"];var f=function(){t=r[n];if(!t["s-cn"]&&!t["s-nr"]&&t["s-hn"]!==o["s-hn"]&&(!t["s-sh"]||t["s-sh"]!==o["s-hn"])){if(isNodeLocatedInSlot(t,l)){var e=relocateNodes.find((function(e){return e.I===t}));checkSlotFallbackVisibility=true;t["s-sn"]=t["s-sn"]||l;if(e){e.I["s-sh"]=o["s-hn"];e.A=o}else{t["s-sh"]=o["s-hn"];relocateNodes.push({A:o,I:t})}if(t["s-sr"]){relocateNodes.map((function(r){if(isNodeLocatedInSlot(r.I,t["s-sn"])){e=relocateNodes.find((function(e){return e.I===t}));if(e&&!r.A){r.A=e.A}}}))}}else if(!relocateNodes.some((function(e){return e.I===t}))){relocateNodes.push({I:t})}}};for(n=r.length-1;n>=0;n--){f()}}if(o.nodeType===1){markSlotContentForRelocation(o)}}};var isNodeLocatedInSlot=function(e,t){if(e.nodeType===1){if(e.getAttribute("slot")===null&&t===""){return true}if(e.getAttribute("slot")===t){return true}return false}if(e["s-sn"]===t){return true}return t===""};var nullifyVNodeRefs=function(e){{e.o&&e.o.ref&&e.o.ref(null);e.l&&e.l.map(nullifyVNodeRefs)}};var renderVdom=function(e,t,r){if(r===void 0){r=false}var n,i,a,o,l;var f=e.$hostElement$;var u=e.D;var s=e.S||newVNode(null,null);var c=isHost(t)?t:h(null,null,t);hostTagName=f.tagName;if(u.L){c.o=c.o||{};u.L.map((function(e){var t=e[0],r=e[1];return c.o[r]=f[t]}))}if(r&&c.o){for(var v=0,d=Object.keys(c.o);v<d.length;v++){var p=d[v];if(f.hasAttribute(p)&&!["key","ref","style","class"].includes(p)){c.o[p]=f[p]}}}c.h=null;c.p|=4;e.S=c;c.m=s.m=f.shadowRoot||f;{scopeId=f["s-sc"]}useNativeShadowDom=(u.p&1)!==0;{contentRef=f["s-cr"];checkSlotFallbackVisibility=false}patch(s,c,r);{plt.p|=1;if(checkSlotRelocate){markSlotContentForRelocation(c.m);for(var m=0,S=relocateNodes;m<S.length;m++){var g=S[m];var y=g.I;if(!y["s-ol"]){var T=doc.createTextNode("");T["s-nr"]=y;y.parentNode.insertBefore(y["s-ol"]=T,y)}}for(var C=0,N=relocateNodes;C<N.length;C++){var g=N[C];var y=g.I;var _=g.A;if(_){var b=_.parentNode;var E=_.nextSibling;if(E&&E.nodeType===1){var T=(n=y["s-ol"])===null||n===void 0?void 0:n.previousSibling;while(T){var R=(i=T["s-nr"])!==null&&i!==void 0?i:null;if(R&&R["s-sn"]===y["s-sn"]&&b===R.parentNode){R=R.nextSibling;if(!R||!R["s-nr"]){E=R;break}}T=T.previousSibling}}if(!E&&b!==y.parentNode||y.nextSibling!==E){if(y!==E){b.insertBefore(y,E);if(y.nodeType===1){y.hidden=(a=y["s-ih"])!==null&&a!==void 0?a:false}}}}else{if(y.nodeType===1){if(r){y["s-ih"]=(o=y.hidden)!==null&&o!==void 0?o:false}y.hidden=true}}}}if(checkSlotFallbackVisibility){updateFallbackSlotVisibility(c.m)}plt.p&=~1;relocateNodes.length=0}if(u.p&2){for(var $=0,w=c.m.childNodes;$<w.length;$++){var H=w[$];if(H["s-hn"]!==hostTagName&&!H["s-sh"]){if(r&&H["s-ih"]==null){H["s-ih"]=(l=H.hidden)!==null&&l!==void 0?l:false}H.hidden=true}}}contentRef=undefined};var attachToAncestor=function(e,t){if(t&&!e.M&&t["s-p"]){t["s-p"].push(new Promise((function(t){return e.M=t})))}};var scheduleUpdate=function(e,t){{e.p|=16}if(e.p&4){e.p|=512;return}attachToAncestor(e,e.O);var r=function(){return dispatchHooks(e,t)};return writeTask(r)};var dispatchHooks=function(e,t){var r=createTime("scheduleUpdate",e.D.k);var n=e.V;var i;if(t){{e.p|=256;if(e.P){e.P.map((function(e){var t=e[0],r=e[1];return safeCall(n,t,r)}));e.P=undefined}}{i=safeCall(n,"componentWillLoad")}}{i=enqueue(i,(function(){return safeCall(n,"componentWillRender")}))}r();return enqueue(i,(function(){return updateComponent(e,n,t)}))};var enqueue=function(e,t){return isPromisey(e)?e.then(t):t()};var isPromisey=function(e){return e instanceof Promise||e&&e.then&&typeof e.then==="function"};var updateComponent=function(e,t,r){return __awaiter(void 0,void 0,void 0,(function(){var n,i,a,o,l,f,u;return __generator(this,(function(s){i=e.$hostElement$;a=createTime("update",e.D.k);o=i["s-rc"];if(r){attachStyles(e)}l=createTime("render",e.D.k);{callRender(e,t,i,r)}if(o){o.map((function(e){return e()}));i["s-rc"]=undefined}l();a();{f=(n=i["s-p"])!==null&&n!==void 0?n:[];u=function(){return postUpdateComponent(e)};if(f.length===0){u()}else{Promise.all(f).then(u);e.p|=4;f.length=0}}return[2]}))}))};var callRender=function(e,t,r,n){try{t=t.render&&t.render();{e.p&=~16}{e.p|=2}{{{renderVdom(e,t,n)}}}}catch(t){consoleError(t,e.$hostElement$)}return null};var postUpdateComponent=function(e){var t=e.D.k;var r=e.$hostElement$;var n=createTime("postUpdate",t);var i=e.V;var a=e.O;{safeCall(i,"componentDidRender")}if(!(e.p&64)){e.p|=64;{addHydratedFlag(r)}{safeCall(i,"componentDidLoad")}n();{e.F(r);if(!a){appDidLoad()}}}else{{safeCall(i,"componentDidUpdate")}n()}{e.j(r)}{if(e.M){e.M();e.M=undefined}if(e.p&512){nextTick((function(){return scheduleUpdate(e,false)}))}e.p&=~(4|512)}};var forceUpdate=function(e){{var t=getHostRef(e);var r=t.$hostElement$.isConnected;if(r&&(t.p&(2|16))===2){scheduleUpdate(t,false)}return r}};var appDidLoad=function(e){{addHydratedFlag(doc.documentElement)}nextTick((function(){return emitEvent(win,"appload",{detail:{namespace:NAMESPACE}})}))};var safeCall=function(e,t,r){if(e&&e[t]){try{return e[t](r)}catch(e){consoleError(e)}}return undefined};var addHydratedFlag=function(e){return e.classList.add("hydrated")};var getValue=function(e,t){return getHostRef(e).U.get(t)};var setValue=function(e,t,r,n){var i=getHostRef(e);var a=i.$hostElement$;var o=i.U.get(t);var l=i.p;var f=i.V;r=parsePropertyValue(r,n.q[t][0]);var u=Number.isNaN(o)&&Number.isNaN(r);var s=r!==o&&!u;if((!(l&8)||o===undefined)&&s){i.U.set(t,r);if(f){if(n.Y&&l&128){var c=n.Y[t];if(c){c.map((function(e){try{f[e](r,o,t)}catch(e){consoleError(e,a)}}))}}if((l&(2|16))===2){scheduleUpdate(i,false)}}}};var proxyComponent=function(e,t,r){var n;var i=e.prototype;if(t.q){if(e.watchers){t.Y=e.watchers}var a=Object.entries(t.q);a.map((function(e){var n=e[0],a=e[1][0];if(a&31||r&2&&a&32){Object.defineProperty(i,n,{get:function(){return getValue(this,n)},set:function(e){setValue(this,n,e,t)},configurable:true,enumerable:true})}else if(r&1&&a&64){Object.defineProperty(i,n,{value:function(){var e=[];for(var t=0;t<arguments.length;t++){e[t]=arguments[t]}var r;var i=getHostRef(this);return(r=i===null||i===void 0?void 0:i.B)===null||r===void 0?void 0:r.then((function(){var t;return(t=i.V)===null||t===void 0?void 0:t[n].apply(t,e)}))}})}}));if(r&1){var o=new Map;i.attributeChangedCallback=function(e,r,n){var a=this;plt.jmp((function(){var l;var f=o.get(e);if(a.hasOwnProperty(f)){n=a[f];delete a[f]}else if(i.hasOwnProperty(f)&&typeof a[f]==="number"&&a[f]==n){return}else if(f==null){var u=getHostRef(a);var s=u===null||u===void 0?void 0:u.p;if(s&&!(s&8)&&s&128&&n!==r){var c=u.V;var v=(l=t.Y)===null||l===void 0?void 0:l[e];v===null||v===void 0?void 0:v.forEach((function(t){if(c[t]!=null){c[t].call(c,n,r,e)}}))}return}a[f]=n===null&&typeof a[f]==="boolean"?false:n}))};e.observedAttributes=Array.from(new Set(__spreadArray(__spreadArray([],Object.keys((n=t.Y)!==null&&n!==void 0?n:{}),true),a.filter((function(e){var t=e[0],r=e[1];return r[0]&15})).map((function(e){var r=e[0],n=e[1];var i;var a=n[1]||r;o.set(a,r);if(n[0]&512){(i=t.L)===null||i===void 0?void 0:i.push([r,a])}return a})),true)))}}return e};var initializeComponent=function(e,t,r,n){return __awaiter(void 0,void 0,void 0,(function(){var n,i,a,o,l,f,u,s,c;return __generator(this,(function(v){switch(v.label){case 0:if(!((t.p&32)===0))return[3,5];t.p|=32;i=r.X;if(!i)return[3,3];n=loadModule(r);if(!n.then)return[3,2];a=uniqueTime();return[4,n];case 1:n=v.sent();a();v.label=2;case 2:if(!n.isProxied){{r.Y=n.watchers}proxyComponent(n,r,2);n.isProxied=true}o=createTime("createInstance",r.k);{t.p|=8}try{new n(t)}catch(e){consoleError(e)}{t.p&=~8}{t.p|=128}o();fireConnectedCallback(t.V);return[3,4];case 3:n=e.constructor;customElements.whenDefined(r.k).then((function(){return t.p|=128}));v.label=4;case 4:if(n.style){l=n.style;if(typeof l!=="string"){l=l[t.$=computeMode(e)]}f=getScopeId(r,t.$);if(!styles.has(f)){u=createTime("registerStyles",r.k);registerStyle(f,l,!!(r.p&1));u()}}v.label=5;case 5:s=t.O;c=function(){return scheduleUpdate(t,true)};if(s&&s["s-rc"]){s["s-rc"].push(c)}else{c()}return[2]}}))}))};var fireConnectedCallback=function(e){{safeCall(e,"connectedCallback")}};var connectedCallback=function(e){if((plt.p&1)===0){var t=getHostRef(e);var r=t.D;var n=createTime("connectedCallback",r.k);if(!(t.p&1)){t.p|=1;var i=void 0;{i=e.getAttribute(HYDRATE_ID);if(i){if(r.p&1){var a=addStyle(e.shadowRoot,r,e.getAttribute("s-mode"));e.classList.remove(a+"-h",a+"-s")}initializeClientHydrate(e,r.k,i,t)}}if(!i){if(r.p&(4|8)){setContentReference(e)}}{var o=e;while(o=o.parentNode||o.host){if(o.nodeType===1&&o.hasAttribute("s-id")&&o["s-p"]||o["s-p"]){attachToAncestor(t,t.O=o);break}}}if(r.q){Object.entries(r.q).map((function(t){var r=t[0],n=t[1][0];if(n&31&&e.hasOwnProperty(r)){var i=e[r];delete e[r];e[r]=i}}))}{initializeComponent(e,t,r)}}else{addHostEventListeners(e,t,r.W);if(t===null||t===void 0?void 0:t.V){fireConnectedCallback(t.V)}else if(t===null||t===void 0?void 0:t.G){t.G.then((function(){return fireConnectedCallback(t.V)}))}}n()}};var setContentReference=function(e){var t=e["s-cr"]=doc.createComment("");t["s-cn"]=true;e.insertBefore(t,e.firstChild)};var disconnectInstance=function(e){{safeCall(e,"disconnectedCallback")}};var disconnectedCallback=function(e){return __awaiter(void 0,void 0,void 0,(function(){var t;return __generator(this,(function(r){if((plt.p&1)===0){t=getHostRef(e);{if(t.J){t.J.map((function(e){return e()}));t.J=undefined}}if(t===null||t===void 0?void 0:t.V){disconnectInstance(t.V)}else if(t===null||t===void 0?void 0:t.G){t.G.then((function(){return disconnectInstance(t.V)}))}}return[2]}))}))};var patchPseudoShadowDom=function(e,t){patchCloneNode(e);patchSlotAppendChild(e);patchSlotAppend(e);patchSlotPrepend(e);patchSlotInsertAdjacentElement(e);patchSlotInsertAdjacentHTML(e);patchSlotInsertAdjacentText(e);patchTextContent(e);patchChildSlotNodes(e,t);patchSlotRemoveChild(e)};var patchCloneNode=function(e){var t=e.cloneNode;e.cloneNode=function(e){var r=this;var n=r.shadowRoot&&supportsShadow;var i=t.call(r,n?e:false);if(!n&&e){var a=0;var o=void 0,l=void 0;var f=["s-id","s-cr","s-lr","s-rc","s-sc","s-p","s-cn","s-sr","s-sn","s-hn","s-ol","s-nr","s-si"];for(;a<r.childNodes.length;a++){o=r.childNodes[a]["s-nr"];l=f.every((function(e){return!r.childNodes[a][e]}));if(o){if(i.__appendChild){i.__appendChild(o.cloneNode(true))}else{i.appendChild(o.cloneNode(true))}}if(l){i.appendChild(r.childNodes[a].cloneNode(true))}}}return i}};var patchSlotAppendChild=function(e){e.__appendChild=e.appendChild;e.appendChild=function(e){var t=e["s-sn"]=getSlotName(e);var r=getHostSlotNode(this.childNodes,t);if(r){var n=getHostSlotChildNodes(r,t);var i=n[n.length-1];var a=i.parentNode.insertBefore(e,i.nextSibling);updateFallbackSlotVisibility(this);forceUpdate(this);return a}return this.__appendChild(e)}};var patchSlotRemoveChild=function(e){e.__removeChild=e.removeChild;e.removeChild=function(e){if(e&&typeof e["s-sn"]!=="undefined"){var t=getHostSlotNode(this.childNodes,e["s-sn"]);if(t){var r=getHostSlotChildNodes(t,e["s-sn"]);var n=r.find((function(t){return t===e}));if(n){n.remove();updateFallbackSlotVisibility(this);return}}}return this.__removeChild(e)}};var patchSlotPrepend=function(e){var t=e.prepend;e.prepend=function(){var e=this;var r=[];for(var n=0;n<arguments.length;n++){r[n]=arguments[n]}r.forEach((function(r){if(typeof r==="string"){r=e.ownerDocument.createTextNode(r)}var n=r["s-sn"]=getSlotName(r);var i=getHostSlotNode(e.childNodes,n);if(i){var a=document.createTextNode("");a["s-nr"]=r;i["s-cr"].parentNode.__appendChild(a);r["s-ol"]=a;var o=getHostSlotChildNodes(i,n);var l=o[0];return l.parentNode.insertBefore(r,l.nextSibling)}if(r.nodeType===1&&!!r.getAttribute("slot")){r.hidden=true}return t.call(e,r)}))}};var patchSlotAppend=function(e){e.append=function(){var e=this;var t=[];for(var r=0;r<arguments.length;r++){t[r]=arguments[r]}t.forEach((function(t){if(typeof t==="string"){t=e.ownerDocument.createTextNode(t)}e.appendChild(t)}))}};var patchSlotInsertAdjacentHTML=function(e){var t=e.insertAdjacentHTML;e.insertAdjacentHTML=function(e,r){if(e!=="afterbegin"&&e!=="beforeend"){return t.call(this,e,r)}var n=this.ownerDocument.createElement("_");var i;n.innerHTML=r;if(e==="afterbegin"){while(i=n.firstChild){this.prepend(i)}}else if(e==="beforeend"){while(i=n.firstChild){this.append(i)}}}};var patchSlotInsertAdjacentText=function(e){e.insertAdjacentText=function(e,t){this.insertAdjacentHTML(e,t)}};var patchSlotInsertAdjacentElement=function(e){var t=e.insertAdjacentElement;e.insertAdjacentElement=function(e,r){if(e!=="afterbegin"&&e!=="beforeend"){return t.call(this,e,r)}if(e==="afterbegin"){this.prepend(r);return r}else if(e==="beforeend"){this.append(r);return r}return r}};var patchTextContent=function(e){var t=Object.getOwnPropertyDescriptor(Node.prototype,"textContent");Object.defineProperty(e,"__textContent",t);{Object.defineProperty(e,"textContent",{get:function(){var e=getAllChildSlotNodes(this.childNodes);var t=e.map((function(e){var t,r;var n=[];var i=e.nextSibling;while(i&&i["s-sn"]===e["s-sn"]){if(i.nodeType===3||i.nodeType===1){n.push((r=(t=i.textContent)===null||t===void 0?void 0:t.trim())!==null&&r!==void 0?r:"")}i=i.nextSibling}return n.filter((function(e){return e!==""})).join(" ")})).filter((function(e){return e!==""})).join(" ");return" "+t+" "},set:function(e){var t=this;var r=getAllChildSlotNodes(this.childNodes);r.forEach((function(r){var n=r.nextSibling;while(n&&n["s-sn"]===r["s-sn"]){var i=n;n=n.nextSibling;i.remove()}if(r["s-sn"]===""){var a=t.ownerDocument.createTextNode(e);a["s-sn"]="";r.parentElement.insertBefore(a,r.nextSibling)}else{r.remove()}}))}})}};var patchChildSlotNodes=function(e,t){var r=function(e){__extends(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}t.prototype.item=function(e){return this[e]};return t}(Array);if(t.p&8){var n=e.__lookupGetter__("childNodes");Object.defineProperty(e,"children",{get:function(){return this.childNodes.map((function(e){return e.nodeType===1}))}});Object.defineProperty(e,"childElementCount",{get:function(){return e.children.length}});Object.defineProperty(e,"childNodes",{get:function(){var e=n.call(this);if((plt.p&1)===0&&getHostRef(this).p&2){var t=new r;for(var i=0;i<e.length;i++){var a=e[i]["s-nr"];if(a){t.push(a)}}return t}return r.from(e)}})}};var getAllChildSlotNodes=function(e){var t=[];for(var r=0,n=Array.from(e);r<n.length;r++){var i=n[r];if(i["s-sr"]){t.push(i)}t.push.apply(t,getAllChildSlotNodes(i.childNodes))}return t};var getSlotName=function(e){return e["s-sn"]||e.nodeType===1&&e.getAttribute("slot")||""};var getHostSlotNode=function(e,t){var r=0;var n;for(;r<e.length;r++){n=e[r];if(n["s-sr"]&&n["s-sn"]===t){return n}n=getHostSlotNode(n.childNodes,t);if(n){return n}}return null};var getHostSlotChildNodes=function(e,t){var r=[e];while((e=e.nextSibling)&&e["s-sn"]===t){r.push(e)}return r};var bootstrapLazy=function(e,t){if(t===void 0){t={}}var r;var n=createTime();var i=[];var a=t.exclude||[];var o=win.customElements;var l=doc.head;var f=l.querySelector("meta[charset]");var u=doc.createElement("style");var s=[];var c=doc.querySelectorAll("[".concat(HYDRATED_STYLE_ID,"]"));var v;var d=true;var p=0;Object.assign(plt,t);plt.t=new URL(t.resourcesUrl||"./",doc.baseURI).href;{plt.p|=2}{for(;p<c.length;p++){registerStyle(c[p].getAttribute(HYDRATED_STYLE_ID),convertScopedToShadow(c[p].innerHTML),true)}}var h=false;e.map((function(e){e[1].map((function(t){var r;var n={p:t[0],k:t[1],q:t[2],W:t[3]};if(n.p&4){h=true}{n.q=t[2]}{n.W=t[3]}{n.L=[]}{n.Y=(r=t[4])!==null&&r!==void 0?r:{}}var l=n.k;var f=function(e){__extends(t,e);function t(t){var r=e.call(this,t)||this;t=r;registerHost(t,n);if(n.p&1){{{t.attachShadow({mode:"open",delegatesFocus:!!(n.p&16)})}}}return r}t.prototype.connectedCallback=function(){var e=this;if(v){clearTimeout(v);v=null}if(d){s.push(this)}else{plt.jmp((function(){return connectedCallback(e)}))}};t.prototype.disconnectedCallback=function(){var e=this;plt.jmp((function(){return disconnectedCallback(e)}))};t.prototype.componentOnReady=function(){return getHostRef(this).G};return t}(HTMLElement);{if(n.p&2){patchPseudoShadowDom(f.prototype,n)}}n.X=e[0];if(!a.includes(l)&&!o.get(l)){i.push(l);o.define(l,proxyComponent(f,n,1))}}))}));if(i.length>0){if(h){u.textContent+=SLOT_FB_CSS}{u.textContent+=i+HYDRATED_CSS}if(u.innerHTML.length){u.setAttribute("data-styles","");var m=(r=plt.H)!==null&&r!==void 0?r:queryNonceMetaTagContent(doc);if(m!=null){u.setAttribute("nonce",m)}l.insertBefore(u,f?f.nextSibling:l.firstChild)}}d=false;if(s.length){s.map((function(e){return e.connectedCallback()}))}else{{plt.jmp((function(){return v=setTimeout(appDidLoad,30)}))}}n()};var addHostEventListeners=function(e,t,r,n){if(r){r.map((function(r){var n=r[0],i=r[1],a=r[2];var o=getHostListenerTarget(e,n);var l=hostListenerProxy(t,a);var f=hostListenerOpts(n);plt.ael(o,i,l,f);(t.J=t.J||[]).push((function(){return plt.rel(o,i,l,f)}))}))}};var hostListenerProxy=function(e,t){return function(r){try{{if(e.p&256){e.V[t](r)}else{(e.P=e.P||[]).push([t,r])}}}catch(e){consoleError(e)}}};var getHostListenerTarget=function(e,t){if(t&4)return doc;if(t&8)return win;if(t&16)return doc.body;return e};var hostListenerOpts=function(e){return supportsListenerOptions?{passive:(e&1)!==0,capture:(e&2)!==0}:(e&2)!==0};var setNonce=function(e){return plt.H=e};var hostRefs=new WeakMap;var getHostRef=function(e){return hostRefs.get(e)};var registerInstance=function(e,t){return hostRefs.set(t.V=e,t)};var registerHost=function(e,t){var r={p:0,$hostElement$:e,D:t,U:new Map};{r.B=new Promise((function(e){return r.j=e}))}{r.G=new Promise((function(e){return r.F=e}));e["s-p"]=[];e["s-rc"]=[]}addHostEventListeners(e,r,t.W);return hostRefs.set(e,r)};var isMemberInElement=function(e,t){return t in e};var consoleError=function(e,t){return(0,console.error)(e,t)};var cmpModules=new Map;var loadModule=function(e,t,r){var n=e.k.replace(/-/g,"_");var i=e.X;var a=cmpModules.get(i);if(a){return a[n]}
5
- /*!__STENCIL_STATIC_IMPORT_SWITCH__*/return import("./".concat(i,".entry.js").concat("")).then((function(e){{cmpModules.set(i,e)}return e[n]}),consoleError)};var styles=new Map;var modeResolutionChain=[];var win=typeof window!=="undefined"?window:{};var doc=win.document||{head:{}};var H=win.HTMLElement||function(){function e(){}return e}();var plt={p:0,t:"",jmp:function(e){return e()},raf:function(e){return requestAnimationFrame(e)},ael:function(e,t,r,n){return e.addEventListener(t,r,n)},rel:function(e,t,r,n){return e.removeEventListener(t,r,n)},ce:function(e,t){return new CustomEvent(e,t)}};var setPlatformHelpers=function(e){Object.assign(plt,e)};var supportsShadow=true;var supportsListenerOptions=function(){var e=false;try{doc.addEventListener("e",null,Object.defineProperty({},"passive",{get:function(){e=true}}))}catch(e){}return e}();var promiseResolve=function(e){return Promise.resolve(e)};var supportsConstructableStylesheets=function(){try{new CSSStyleSheet;return typeof(new CSSStyleSheet).replaceSync==="function"}catch(e){}return false}();var queueDomReads=[];var queueDomWrites=[];var queueTask=function(e,t){return function(r){e.push(r);if(!queuePending){queuePending=true;if(t&&plt.p&4){nextTick(flush)}else{plt.raf(flush)}}}};var consume=function(e){for(var t=0;t<e.length;t++){try{e[t](performance.now())}catch(e){consoleError(e)}}e.length=0};var flush=function(){consume(queueDomReads);{consume(queueDomWrites);if(queuePending=queueDomReads.length>0){plt.raf(flush)}}};var nextTick=function(e){return promiseResolve().then(e)};var readTask=queueTask(queueDomReads,false);var writeTask=queueTask(queueDomWrites,true);export{Build as B,H,setPlatformHelpers as a,bootstrapLazy as b,getMode as c,setMode as d,createEvent as e,readTask as f,getElement as g,h,Host as i,forceUpdate as j,getAssetPath as k,promiseResolve as p,registerInstance as r,setNonce as s,writeTask as w};