@ionic/core 8.4.4-dev.11739312641.10060091 → 8.4.4-dev.11740658609.11c22eeb

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 (307) hide show
  1. package/components/alert.js +25 -4
  2. package/components/helpers.js +11 -1
  3. package/components/index9.js +1 -1
  4. package/components/ion-segment-button.js +40 -9
  5. package/components/ripple-effect.js +2 -4
  6. package/dist/cjs/{framework-delegate-55f5683a.js → framework-delegate-05579976.js} +1 -1
  7. package/dist/cjs/{helpers-afaa9001.js → helpers-4be3f90d.js} +11 -0
  8. package/dist/cjs/{index-8e789962.js → index-1ae3f40a.js} +1 -1
  9. package/dist/cjs/{index-f05acd21.js → index-4e14a46e.js} +3 -3
  10. package/dist/cjs/{index-9509ecad.js → index-ad7a712e.js} +1 -1
  11. package/dist/cjs/{index-5b6a7459.js → index-c441c903.js} +1 -1
  12. package/dist/cjs/index.cjs.js +7 -7
  13. package/dist/cjs/{input-shims-9e59ef62.js → input-shims-e748a364.js} +2 -2
  14. package/dist/cjs/{input.utils-611cde0b.js → input.utils-74e4ec28.js} +1 -1
  15. package/dist/cjs/ion-accordion_2.cjs.entry.js +1 -1
  16. package/dist/cjs/ion-action-sheet.cjs.entry.js +3 -3
  17. package/dist/cjs/ion-alert.cjs.entry.js +28 -7
  18. package/dist/cjs/ion-app_8.cjs.entry.js +8 -8
  19. package/dist/cjs/ion-back-button.cjs.entry.js +1 -1
  20. package/dist/cjs/ion-breadcrumb_2.cjs.entry.js +1 -1
  21. package/dist/cjs/ion-button_2.cjs.entry.js +1 -1
  22. package/dist/cjs/ion-card_5.cjs.entry.js +1 -1
  23. package/dist/cjs/ion-checkbox.cjs.entry.js +1 -1
  24. package/dist/cjs/ion-datetime-button.cjs.entry.js +1 -1
  25. package/dist/cjs/ion-datetime_3.cjs.entry.js +3 -3
  26. package/dist/cjs/ion-fab_3.cjs.entry.js +1 -1
  27. package/dist/cjs/ion-img.cjs.entry.js +1 -1
  28. package/dist/cjs/ion-infinite-scroll_2.cjs.entry.js +2 -2
  29. package/dist/cjs/ion-input.cjs.entry.js +3 -3
  30. package/dist/cjs/ion-item-option_3.cjs.entry.js +2 -2
  31. package/dist/cjs/ion-item_8.cjs.entry.js +1 -1
  32. package/dist/cjs/ion-loading.cjs.entry.js +3 -3
  33. package/dist/cjs/ion-menu_3.cjs.entry.js +4 -4
  34. package/dist/cjs/ion-modal.cjs.entry.js +5 -5
  35. package/dist/cjs/ion-nav_2.cjs.entry.js +4 -4
  36. package/dist/cjs/ion-picker-column-option.cjs.entry.js +1 -1
  37. package/dist/cjs/ion-picker-column.cjs.entry.js +1 -1
  38. package/dist/cjs/ion-picker.cjs.entry.js +1 -1
  39. package/dist/cjs/ion-popover.cjs.entry.js +4 -4
  40. package/dist/cjs/ion-progress-bar.cjs.entry.js +1 -1
  41. package/dist/cjs/ion-radio_2.cjs.entry.js +1 -1
  42. package/dist/cjs/ion-range.cjs.entry.js +2 -2
  43. package/dist/cjs/ion-refresher_2.cjs.entry.js +2 -2
  44. package/dist/cjs/ion-reorder_2.cjs.entry.js +2 -2
  45. package/dist/cjs/ion-ripple-effect.cjs.entry.js +2 -4
  46. package/dist/cjs/ion-route_4.cjs.entry.js +1 -1
  47. package/dist/cjs/ion-searchbar.cjs.entry.js +1 -1
  48. package/dist/cjs/ion-segment_2.cjs.entry.js +40 -9
  49. package/dist/cjs/ion-select-modal.cjs.entry.js +3 -3
  50. package/dist/cjs/ion-select_3.cjs.entry.js +4 -4
  51. package/dist/cjs/ion-tab-bar_2.cjs.entry.js +1 -1
  52. package/dist/cjs/ion-tab_2.cjs.entry.js +2 -2
  53. package/dist/cjs/ion-textarea.cjs.entry.js +3 -3
  54. package/dist/cjs/ion-toast.cjs.entry.js +3 -3
  55. package/dist/cjs/ion-toggle.cjs.entry.js +1 -1
  56. package/dist/cjs/{ios.transition-cf40433b.js → ios.transition-afdec89f.js} +2 -2
  57. package/dist/cjs/{md.transition-ededf99f.js → md.transition-9f0d3db5.js} +2 -2
  58. package/dist/cjs/{notch-controller-d69150f5.js → notch-controller-a0c464d1.js} +1 -1
  59. package/dist/cjs/{overlays-aa669eb8.js → overlays-76b29cd4.js} +2 -2
  60. package/dist/cjs/{status-tap-37681226.js → status-tap-fb807fad.js} +2 -2
  61. package/dist/cjs/{swipe-back-0303a5e4.js → swipe-back-47a52b83.js} +1 -1
  62. package/dist/collection/components/alert/alert.js +29 -4
  63. package/dist/collection/components/ripple-effect/ripple-effect.js +2 -4
  64. package/dist/collection/components/segment-button/segment-button.js +40 -9
  65. package/dist/collection/utils/helpers.js +10 -0
  66. package/dist/docs.json +5 -1
  67. package/dist/esm/{framework-delegate-63d1a679.js → framework-delegate-f683816e.js} +1 -1
  68. package/dist/esm/{helpers-da915de8.js → helpers-9b49d7d2.js} +11 -1
  69. package/dist/esm/{index-5cc724f3.js → index-33f7e3ff.js} +1 -1
  70. package/dist/esm/{index-79b30591.js → index-5a0f5fd0.js} +1 -1
  71. package/dist/esm/{index-3ad7f18b.js → index-7ec5519a.js} +3 -3
  72. package/dist/esm/{index-24b48b06.js → index-8785a9c6.js} +1 -1
  73. package/dist/esm/index.js +7 -7
  74. package/dist/esm/{input-shims-0314bbe5.js → input-shims-0e65111b.js} +2 -2
  75. package/dist/esm/{input.utils-09c71bc7.js → input.utils-1ad8dafc.js} +1 -1
  76. package/dist/esm/ion-accordion_2.entry.js +1 -1
  77. package/dist/esm/ion-action-sheet.entry.js +3 -3
  78. package/dist/esm/ion-alert.entry.js +28 -7
  79. package/dist/esm/ion-app_8.entry.js +8 -8
  80. package/dist/esm/ion-back-button.entry.js +1 -1
  81. package/dist/esm/ion-breadcrumb_2.entry.js +1 -1
  82. package/dist/esm/ion-button_2.entry.js +1 -1
  83. package/dist/esm/ion-card_5.entry.js +1 -1
  84. package/dist/esm/ion-checkbox.entry.js +1 -1
  85. package/dist/esm/ion-datetime-button.entry.js +1 -1
  86. package/dist/esm/ion-datetime_3.entry.js +3 -3
  87. package/dist/esm/ion-fab_3.entry.js +1 -1
  88. package/dist/esm/ion-img.entry.js +1 -1
  89. package/dist/esm/ion-infinite-scroll_2.entry.js +2 -2
  90. package/dist/esm/ion-input.entry.js +3 -3
  91. package/dist/esm/ion-item-option_3.entry.js +2 -2
  92. package/dist/esm/ion-item_8.entry.js +1 -1
  93. package/dist/esm/ion-loading.entry.js +3 -3
  94. package/dist/esm/ion-menu_3.entry.js +4 -4
  95. package/dist/esm/ion-modal.entry.js +5 -5
  96. package/dist/esm/ion-nav_2.entry.js +4 -4
  97. package/dist/esm/ion-picker-column-option.entry.js +1 -1
  98. package/dist/esm/ion-picker-column.entry.js +1 -1
  99. package/dist/esm/ion-picker.entry.js +1 -1
  100. package/dist/esm/ion-popover.entry.js +4 -4
  101. package/dist/esm/ion-progress-bar.entry.js +1 -1
  102. package/dist/esm/ion-radio_2.entry.js +1 -1
  103. package/dist/esm/ion-range.entry.js +2 -2
  104. package/dist/esm/ion-refresher_2.entry.js +2 -2
  105. package/dist/esm/ion-reorder_2.entry.js +2 -2
  106. package/dist/esm/ion-ripple-effect.entry.js +2 -4
  107. package/dist/esm/ion-route_4.entry.js +1 -1
  108. package/dist/esm/ion-searchbar.entry.js +1 -1
  109. package/dist/esm/ion-segment_2.entry.js +40 -9
  110. package/dist/esm/ion-select-modal.entry.js +3 -3
  111. package/dist/esm/ion-select_3.entry.js +4 -4
  112. package/dist/esm/ion-tab-bar_2.entry.js +1 -1
  113. package/dist/esm/ion-tab_2.entry.js +2 -2
  114. package/dist/esm/ion-textarea.entry.js +3 -3
  115. package/dist/esm/ion-toast.entry.js +3 -3
  116. package/dist/esm/ion-toggle.entry.js +1 -1
  117. package/dist/esm/{ios.transition-4ee1a3af.js → ios.transition-085853ff.js} +2 -2
  118. package/dist/esm/{md.transition-5106a0d2.js → md.transition-33826623.js} +2 -2
  119. package/dist/esm/{notch-controller-55b09e11.js → notch-controller-3dc61260.js} +1 -1
  120. package/dist/esm/{overlays-e7b9d6d9.js → overlays-e3d0d356.js} +2 -2
  121. package/dist/esm/{status-tap-f472b09f.js → status-tap-163e8128.js} +2 -2
  122. package/dist/esm/{swipe-back-e5394307.js → swipe-back-23ee7ab1.js} +1 -1
  123. package/dist/esm-es5/{framework-delegate-63d1a679.js → framework-delegate-f683816e.js} +1 -1
  124. package/dist/esm-es5/{helpers-da915de8.js → helpers-9b49d7d2.js} +1 -1
  125. package/dist/esm-es5/{index-5cc724f3.js → index-33f7e3ff.js} +1 -1
  126. package/dist/esm-es5/{index-79b30591.js → index-5a0f5fd0.js} +1 -1
  127. package/dist/esm-es5/{index-3ad7f18b.js → index-7ec5519a.js} +1 -1
  128. package/dist/esm-es5/{index-24b48b06.js → index-8785a9c6.js} +1 -1
  129. package/dist/esm-es5/index.js +1 -1
  130. package/dist/esm-es5/{input-shims-0314bbe5.js → input-shims-0e65111b.js} +1 -1
  131. package/dist/esm-es5/{input.utils-09c71bc7.js → input.utils-1ad8dafc.js} +1 -1
  132. package/dist/esm-es5/ion-accordion_2.entry.js +1 -1
  133. package/dist/esm-es5/ion-action-sheet.entry.js +1 -1
  134. package/dist/esm-es5/ion-alert.entry.js +1 -1
  135. package/dist/esm-es5/ion-app_8.entry.js +1 -1
  136. package/dist/esm-es5/ion-back-button.entry.js +1 -1
  137. package/dist/esm-es5/ion-breadcrumb_2.entry.js +1 -1
  138. package/dist/esm-es5/ion-button_2.entry.js +1 -1
  139. package/dist/esm-es5/ion-card_5.entry.js +1 -1
  140. package/dist/esm-es5/ion-checkbox.entry.js +1 -1
  141. package/dist/esm-es5/ion-datetime-button.entry.js +1 -1
  142. package/dist/esm-es5/ion-datetime_3.entry.js +1 -1
  143. package/dist/esm-es5/ion-fab_3.entry.js +1 -1
  144. package/dist/esm-es5/ion-img.entry.js +1 -1
  145. package/dist/esm-es5/ion-infinite-scroll_2.entry.js +1 -1
  146. package/dist/esm-es5/ion-input.entry.js +1 -1
  147. package/dist/esm-es5/ion-item-option_3.entry.js +1 -1
  148. package/dist/esm-es5/ion-item_8.entry.js +1 -1
  149. package/dist/esm-es5/ion-loading.entry.js +1 -1
  150. package/dist/esm-es5/ion-menu_3.entry.js +1 -1
  151. package/dist/esm-es5/ion-modal.entry.js +1 -1
  152. package/dist/esm-es5/ion-nav_2.entry.js +1 -1
  153. package/dist/esm-es5/ion-picker-column-option.entry.js +1 -1
  154. package/dist/esm-es5/ion-picker-column.entry.js +1 -1
  155. package/dist/esm-es5/ion-picker.entry.js +1 -1
  156. package/dist/esm-es5/ion-popover.entry.js +1 -1
  157. package/dist/esm-es5/ion-progress-bar.entry.js +1 -1
  158. package/dist/esm-es5/ion-radio_2.entry.js +1 -1
  159. package/dist/esm-es5/ion-range.entry.js +1 -1
  160. package/dist/esm-es5/ion-refresher_2.entry.js +1 -1
  161. package/dist/esm-es5/ion-reorder_2.entry.js +1 -1
  162. package/dist/esm-es5/ion-ripple-effect.entry.js +1 -1
  163. package/dist/esm-es5/ion-route_4.entry.js +1 -1
  164. package/dist/esm-es5/ion-searchbar.entry.js +1 -1
  165. package/dist/esm-es5/ion-segment_2.entry.js +1 -1
  166. package/dist/esm-es5/ion-select-modal.entry.js +1 -1
  167. package/dist/esm-es5/ion-select_3.entry.js +1 -1
  168. package/dist/esm-es5/ion-tab-bar_2.entry.js +1 -1
  169. package/dist/esm-es5/ion-tab_2.entry.js +1 -1
  170. package/dist/esm-es5/ion-textarea.entry.js +1 -1
  171. package/dist/esm-es5/ion-toast.entry.js +1 -1
  172. package/dist/esm-es5/ion-toggle.entry.js +1 -1
  173. package/dist/esm-es5/{ios.transition-4ee1a3af.js → ios.transition-085853ff.js} +1 -1
  174. package/dist/esm-es5/{md.transition-5106a0d2.js → md.transition-33826623.js} +1 -1
  175. package/dist/esm-es5/{notch-controller-55b09e11.js → notch-controller-3dc61260.js} +1 -1
  176. package/dist/esm-es5/{overlays-e7b9d6d9.js → overlays-e3d0d356.js} +1 -1
  177. package/dist/esm-es5/{status-tap-f472b09f.js → status-tap-163e8128.js} +1 -1
  178. package/dist/esm-es5/{swipe-back-e5394307.js → swipe-back-23ee7ab1.js} +1 -1
  179. package/dist/ionic/index.esm.js +1 -1
  180. package/dist/ionic/ionic.esm.js +1 -1
  181. package/dist/ionic/{p-88e63c7d.js → p-02e1ebd9.js} +1 -1
  182. package/dist/ionic/{p-937a7e21.entry.js → p-02e23f26.entry.js} +1 -1
  183. package/dist/ionic/{p-4439fc2a.entry.js → p-0397811d.entry.js} +1 -1
  184. package/dist/ionic/{p-06e58c4e.js → p-075a94bd.js} +1 -1
  185. package/dist/ionic/{p-908d6080.entry.js → p-0a59f4fa.entry.js} +1 -1
  186. package/dist/ionic/{p-f1acf541.system.entry.js → p-0c9b6d3a.system.entry.js} +1 -1
  187. package/dist/ionic/{p-8b8be2fd.entry.js → p-0e43be1b.entry.js} +1 -1
  188. package/dist/ionic/{p-7ed1657c.system.entry.js → p-0eb2553a.system.entry.js} +1 -1
  189. package/dist/ionic/{p-dfb78785.system.js → p-0ee3b5a2.system.js} +1 -1
  190. package/dist/ionic/p-135e5731.js +4 -0
  191. package/dist/ionic/{p-d6841eac.js → p-13dc21b0.js} +1 -1
  192. package/dist/ionic/{p-efaffe74.entry.js → p-14143257.entry.js} +1 -1
  193. package/dist/ionic/{p-37cb43bd.system.entry.js → p-162c8d0c.system.entry.js} +1 -1
  194. package/dist/ionic/{p-9ea607bd.system.js → p-1a790eef.system.js} +1 -1
  195. package/dist/ionic/{p-5823babc.system.entry.js → p-1bbe8665.system.entry.js} +2 -2
  196. package/dist/ionic/{p-ddaa748a.system.entry.js → p-1bc65aec.system.entry.js} +1 -1
  197. package/dist/ionic/p-1f405274.js +4 -0
  198. package/dist/ionic/{p-c9f3a539.entry.js → p-203633d1.entry.js} +1 -1
  199. package/dist/ionic/{p-a882acef.system.entry.js → p-2507278c.system.entry.js} +1 -1
  200. package/dist/ionic/{p-2b838f86.system.entry.js → p-2515cb4d.system.entry.js} +1 -1
  201. package/dist/ionic/{p-e85d901b.system.entry.js → p-25fa1d30.system.entry.js} +1 -1
  202. package/dist/ionic/{p-61e3f887.entry.js → p-26194519.entry.js} +1 -1
  203. package/dist/ionic/{p-de930745.entry.js → p-265939f0.entry.js} +1 -1
  204. package/dist/ionic/{p-34b11c24.js → p-2bc73fb5.js} +1 -1
  205. package/dist/ionic/{p-2b9b78c7.entry.js → p-2c8798d0.entry.js} +1 -1
  206. package/dist/ionic/p-2c9eb774.system.js +4 -0
  207. package/dist/ionic/{p-14e159ea.system.entry.js → p-2e4be620.system.entry.js} +1 -1
  208. package/dist/ionic/{p-2e46590d.system.entry.js → p-2ef3c7ee.system.entry.js} +1 -1
  209. package/dist/ionic/p-322c5fb4.system.js +1 -1
  210. package/dist/ionic/{p-982315a6.entry.js → p-32e99b0a.entry.js} +1 -1
  211. package/dist/ionic/{p-f9a53abb.system.js → p-340e3f24.system.js} +1 -1
  212. package/dist/ionic/{p-ca065903.system.entry.js → p-3572f86a.system.entry.js} +1 -1
  213. package/dist/ionic/p-360ced64.entry.js +4 -0
  214. package/dist/ionic/{p-a49378bb.system.entry.js → p-3df889b3.system.entry.js} +1 -1
  215. package/dist/ionic/{p-6499df44.system.entry.js → p-3eaf1444.system.entry.js} +1 -1
  216. package/dist/ionic/{p-9df2c6fb.entry.js → p-41780810.entry.js} +1 -1
  217. package/dist/ionic/{p-96cc4814.js → p-42808996.js} +1 -1
  218. package/dist/ionic/{p-bc36ad98.system.entry.js → p-4346c79d.system.entry.js} +1 -1
  219. package/dist/ionic/{p-a15ddedb.system.js → p-4452a8ac.system.js} +1 -1
  220. package/dist/ionic/{p-9fa07aec.entry.js → p-45de8d2a.entry.js} +1 -1
  221. package/dist/ionic/{p-69666e8a.system.entry.js → p-48a8d9b4.system.entry.js} +1 -1
  222. package/dist/ionic/{p-52d7a191.entry.js → p-4ad78edc.entry.js} +1 -1
  223. package/dist/ionic/{p-6b280620.entry.js → p-4c252070.entry.js} +1 -1
  224. package/dist/ionic/{p-19ea7bff.system.js → p-5126cf1e.system.js} +1 -1
  225. package/dist/ionic/{p-b82d4cab.js → p-51dec25d.js} +1 -1
  226. package/dist/ionic/{p-d18ab582.system.entry.js → p-561ddcd4.system.entry.js} +2 -2
  227. package/dist/ionic/p-56da53ad.system.entry.js +4 -0
  228. package/dist/ionic/{p-45693d7e.entry.js → p-57379000.entry.js} +1 -1
  229. package/dist/ionic/{p-19a5be0a.entry.js → p-57ceead7.entry.js} +1 -1
  230. package/dist/ionic/{p-e563a35c.entry.js → p-5cde8ef3.entry.js} +1 -1
  231. package/dist/ionic/{p-6d6cedc5.entry.js → p-6190d0d6.entry.js} +1 -1
  232. package/dist/ionic/{p-5ab1b709.entry.js → p-61d044b4.entry.js} +1 -1
  233. package/dist/ionic/p-68dc53a5.js +4 -0
  234. package/dist/ionic/{p-9e33104d.entry.js → p-6b1bd0c1.entry.js} +1 -1
  235. package/dist/ionic/p-6d32975a.entry.js +4 -0
  236. package/dist/ionic/{p-7ddc46c3.system.entry.js → p-70ccc275.system.entry.js} +1 -1
  237. package/dist/ionic/{p-98ff6b32.entry.js → p-76446a85.entry.js} +1 -1
  238. package/dist/ionic/{p-98231c01.system.entry.js → p-77e7b7b6.system.entry.js} +1 -1
  239. package/dist/ionic/{p-72812e99.js → p-7a1766d6.js} +1 -1
  240. package/dist/ionic/{p-1046866e.system.entry.js → p-7b96e5c1.system.entry.js} +1 -1
  241. package/dist/ionic/{p-16188af7.entry.js → p-7b98cebe.entry.js} +1 -1
  242. package/dist/ionic/{p-2fc0dafe.entry.js → p-803f0bc2.entry.js} +1 -1
  243. package/dist/ionic/{p-a61cba41.entry.js → p-82b931e2.entry.js} +1 -1
  244. package/dist/ionic/{p-508d024a.entry.js → p-83e68c71.entry.js} +1 -1
  245. package/dist/ionic/{p-1e67b266.system.entry.js → p-84d08aae.system.entry.js} +1 -1
  246. package/dist/ionic/{p-5da94421.system.js → p-881d9e52.system.js} +1 -1
  247. package/dist/ionic/{p-eba29931.entry.js → p-8a836849.entry.js} +1 -1
  248. package/dist/ionic/{p-1e010627.system.entry.js → p-91f17b25.system.entry.js} +1 -1
  249. package/dist/ionic/{p-567de071.system.entry.js → p-92365bc1.system.entry.js} +1 -1
  250. package/dist/ionic/{p-d7aa6b00.entry.js → p-955c3eb8.entry.js} +1 -1
  251. package/dist/ionic/{p-8635f5e6.system.js → p-95da3ae2.system.js} +1 -1
  252. package/dist/ionic/{p-12a722b8.system.entry.js → p-9a1f985d.system.entry.js} +1 -1
  253. package/dist/ionic/{p-b9d7015f.entry.js → p-9b3bb24e.entry.js} +1 -1
  254. package/dist/ionic/{p-2bd0ae94.system.entry.js → p-9be5f3ee.system.entry.js} +2 -2
  255. package/dist/ionic/{p-c449820c.system.js → p-9eee4de1.system.js} +1 -1
  256. package/dist/ionic/{p-e7ed4a7f.system.js → p-a2b6dd57.system.js} +1 -1
  257. package/dist/ionic/{p-2799c6d3.system.entry.js → p-a3c78186.system.entry.js} +1 -1
  258. package/dist/ionic/{p-32d44024.system.entry.js → p-a4575db1.system.entry.js} +1 -1
  259. package/dist/ionic/{p-01186920.system.entry.js → p-a9e24ae2.system.entry.js} +1 -1
  260. package/dist/ionic/{p-0c06e09b.system.js → p-aa63b365.system.js} +1 -1
  261. package/dist/ionic/p-af09741c.entry.js +4 -0
  262. package/dist/ionic/{p-3ad285e3.system.js → p-b3680e2f.system.js} +1 -1
  263. package/dist/ionic/{p-21e5e7e4.js → p-b7433d7d.js} +1 -1
  264. package/dist/ionic/{p-66640ff7.system.entry.js → p-b91acf8d.system.entry.js} +1 -1
  265. package/dist/ionic/{p-b51e4004.js → p-bb11d9fb.js} +1 -1
  266. package/dist/ionic/{p-081a4ce4.entry.js → p-bb2a6761.entry.js} +1 -1
  267. package/dist/ionic/{p-0aa833fb.system.js → p-c1b51537.system.js} +1 -1
  268. package/dist/ionic/{p-bb0db172.entry.js → p-c32644d7.entry.js} +1 -1
  269. package/dist/ionic/{p-c41ac815.entry.js → p-c8d645b3.entry.js} +1 -1
  270. package/dist/ionic/{p-9ee1e8a6.entry.js → p-cc700b6b.entry.js} +1 -1
  271. package/dist/ionic/{p-ebf042e0.system.entry.js → p-d06601eb.system.entry.js} +1 -1
  272. package/dist/ionic/{p-1fe02220.system.entry.js → p-d192fdf7.system.entry.js} +1 -1
  273. package/dist/ionic/{p-3cc276f4.js → p-d4ca0475.js} +1 -1
  274. package/dist/ionic/{p-58d5df0c.system.entry.js → p-da8ef548.system.entry.js} +1 -1
  275. package/dist/ionic/{p-985a7e17.system.entry.js → p-dc146a2a.system.entry.js} +1 -1
  276. package/dist/ionic/{p-cac0e0b3.system.entry.js → p-dd0c9350.system.entry.js} +1 -1
  277. package/dist/ionic/p-df862603.entry.js +4 -0
  278. package/dist/ionic/{p-b79ba17c.entry.js → p-e1bbacb7.entry.js} +1 -1
  279. package/dist/ionic/{p-b335ffed.system.entry.js → p-e265ae18.system.entry.js} +1 -1
  280. package/dist/ionic/{p-2172893e.system.entry.js → p-e2e19375.system.entry.js} +1 -1
  281. package/dist/ionic/p-e308de5b.system.js +4 -0
  282. package/dist/ionic/{p-a4565eb5.system.js → p-e8232807.system.js} +1 -1
  283. package/dist/ionic/{p-15e76dd1.entry.js → p-e8f34871.entry.js} +1 -1
  284. package/dist/ionic/{p-19ec4f42.entry.js → p-e97a3f44.entry.js} +1 -1
  285. package/dist/ionic/{p-b2272f51.system.entry.js → p-f2b8c349.system.entry.js} +1 -1
  286. package/dist/ionic/{p-e4ee80be.system.entry.js → p-f301a694.system.entry.js} +1 -1
  287. package/dist/ionic/{p-a43467d8.entry.js → p-f42743d1.entry.js} +1 -1
  288. package/dist/ionic/{p-e6635685.js → p-f5035354.js} +1 -1
  289. package/dist/ionic/{p-797eeea8.system.entry.js → p-f78af648.system.entry.js} +1 -1
  290. package/dist/ionic/{p-63b0abde.system.entry.js → p-f89cf011.system.entry.js} +1 -1
  291. package/dist/ionic/{p-7b9a2b23.entry.js → p-fca17935.entry.js} +1 -1
  292. package/dist/ionic/{p-e4f69534.system.entry.js → p-ffc48bc5.system.entry.js} +1 -1
  293. package/dist/types/components/segment-button/segment-button.d.ts +2 -1
  294. package/dist/types/utils/helpers.d.ts +1 -0
  295. package/hydrate/index.js +76 -16
  296. package/hydrate/index.mjs +76 -16
  297. package/package.json +2 -2
  298. package/dist/ionic/p-0303d0f8.js +0 -4
  299. package/dist/ionic/p-17474161.system.js +0 -4
  300. package/dist/ionic/p-1d8761e6.entry.js +0 -4
  301. package/dist/ionic/p-2690b1de.js +0 -4
  302. package/dist/ionic/p-4c2d5b80.system.js +0 -4
  303. package/dist/ionic/p-4ec778aa.entry.js +0 -4
  304. package/dist/ionic/p-72bc8a1c.js +0 -4
  305. package/dist/ionic/p-942b5e13.entry.js +0 -4
  306. package/dist/ionic/p-c4b53b16.system.entry.js +0 -4
  307. package/dist/ionic/p-cdc83025.entry.js +0 -4
@@ -1,4 +1,4 @@
1
1
  var __awaiter=this&&this.__awaiter||function(e,t,r,i){function a(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,n){function o(e){try{l(i.next(e))}catch(e){n(e)}}function s(e){try{l(i["throw"](e))}catch(e){n(e)}}function l(e){e.done?r(e.value):a(e.value).then(o,s)}l((i=i.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var r={label:0,sent:function(){if(n[0]&1)throw n[1];return n[1]},trys:[],ops:[]},i,a,n,o;return o={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function s(e){return function(t){return l([e,t])}}function l(s){if(i)throw new TypeError("Generator is already executing.");while(o&&(o=0,s[0]&&(r=0)),r)try{if(i=1,a&&(n=s[0]&2?a["return"]:s[0]?a["throw"]||((n=a["return"])&&n.call(a),0):a.next)&&!(n=n.call(a,s[1])).done)return n;if(a=0,n)s=[s[0]&2,n.value];switch(s[0]){case 0:case 1:n=s;break;case 4:r.label++;return{value:s[1],done:false};case 5:r.label++;a=s[1];s=[0];continue;case 7:s=r.ops.pop();r.trys.pop();continue;default:if(!(n=r.trys,n=n.length>0&&n[n.length-1])&&(s[0]===6||s[0]===2)){r=0;continue}if(s[0]===3&&(!n||s[1]>n[0]&&s[1]<n[3])){r.label=s[1];break}if(s[0]===6&&r.label<n[1]){r.label=n[1];n=s;break}if(n&&r.label<n[2]){r.label=n[2];r.ops.push(s);break}if(n[2])r.ops.pop();r.trys.pop();continue}s=t.call(e,r)}catch(e){s=[6,e];a=0}finally{i=n=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};
2
2
  /*!
3
3
  * (C) Ionic http://ionicframework.com - MIT License
4
- */System.register(["./p-25180df3.system.js","./p-3ad285e3.system.js","./p-979d4f5c.system.js","./p-4609d030.system.js","./p-a69b9fc5.system.js"],(function(e){"use strict";var t,r,i,a,n,o,s,l,d,c,p,h;return{setters:[function(e){t=e.r;r=e.d;i=e.h;a=e.f;n=e.i},function(e){o=e.a;s=e.b;l=e.d},function(e){d=e.i},function(e){c=e.h;p=e.c},function(e){h=e.b}],execute:function(){var f=':host{--inner-border-radius:50%;display:inline-block;position:relative;max-width:100%;min-height:inherit;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:2;-webkit-box-sizing:border-box;box-sizing:border-box}:host(.radio-disabled){pointer-events:none}.radio-icon{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;contain:layout size style}.radio-icon,.radio-inner{-webkit-box-sizing:border-box;box-sizing:border-box}input{position:absolute;top:0;left:0;right:0;bottom:0;width:100%;height:100%;margin:0;padding:0;border:0;outline:0;clip:rect(0 0 0 0);opacity:0;overflow:hidden;-webkit-appearance:none;-moz-appearance:none}:host(:focus){outline:none}:host(.in-item){-ms-flex:1 1 0px;flex:1 1 0;width:100%;height:100%}:host([slot=start]),:host([slot=end]){-ms-flex:initial;flex:initial;width:auto}.radio-wrapper{display:-ms-flexbox;display:flex;position:relative;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;height:inherit;min-height:inherit;cursor:inherit}.label-text-wrapper{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}:host(.in-item) .label-text-wrapper{margin-top:10px;margin-bottom:10px}:host(.in-item.radio-label-placement-stacked) .label-text-wrapper{margin-top:10px;margin-bottom:16px}:host(.in-item.radio-label-placement-stacked) .native-wrapper{margin-bottom:10px}.label-text-wrapper-hidden{display:none}.native-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}:host(.radio-justify-space-between) .radio-wrapper{-ms-flex-pack:justify;justify-content:space-between}:host(.radio-justify-start) .radio-wrapper{-ms-flex-pack:start;justify-content:start}:host(.radio-justify-end) .radio-wrapper{-ms-flex-pack:end;justify-content:end}:host(.radio-alignment-start) .radio-wrapper{-ms-flex-align:start;align-items:start}:host(.radio-alignment-center) .radio-wrapper{-ms-flex-align:center;align-items:center}:host(.radio-justify-space-between),:host(.radio-justify-start),:host(.radio-justify-end),:host(.radio-alignment-start),:host(.radio-alignment-center){display:block}:host(.radio-label-placement-start) .radio-wrapper{-ms-flex-direction:row;flex-direction:row}:host(.radio-label-placement-start) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px}:host(.radio-label-placement-end) .radio-wrapper{-ms-flex-direction:row-reverse;flex-direction:row-reverse}:host(.radio-label-placement-end) .label-text-wrapper{-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0}:host(.radio-label-placement-fixed) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px}:host(.radio-label-placement-fixed) .label-text-wrapper{-ms-flex:0 0 100px;flex:0 0 100px;width:100px;min-width:100px}:host(.radio-label-placement-stacked) .radio-wrapper{-ms-flex-direction:column;flex-direction:column}:host(.radio-label-placement-stacked) .label-text-wrapper{-webkit-transform:scale(0.75);transform:scale(0.75);margin-left:0;margin-right:0;margin-bottom:16px;max-width:calc(100% / 0.75)}:host(.radio-label-placement-stacked.radio-alignment-start) .label-text-wrapper{-webkit-transform-origin:left top;transform-origin:left top}:host-context([dir=rtl]):host(.radio-label-placement-stacked.radio-alignment-start) .label-text-wrapper,:host-context([dir=rtl]).radio-label-placement-stacked.radio-alignment-start .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}@supports selector(:dir(rtl)){:host(.radio-label-placement-stacked.radio-alignment-start:dir(rtl)) .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}}:host(.radio-label-placement-stacked.radio-alignment-center) .label-text-wrapper{-webkit-transform-origin:center top;transform-origin:center top}:host-context([dir=rtl]):host(.radio-label-placement-stacked.radio-alignment-center) .label-text-wrapper,:host-context([dir=rtl]).radio-label-placement-stacked.radio-alignment-center .label-text-wrapper{-webkit-transform-origin:calc(100% - center) top;transform-origin:calc(100% - center) top}@supports selector(:dir(rtl)){:host(.radio-label-placement-stacked.radio-alignment-center:dir(rtl)) .label-text-wrapper{-webkit-transform-origin:calc(100% - center) top;transform-origin:calc(100% - center) top}}:host{--color-checked:var(--ion-color-primary, #0054e9)}:host(.ion-color.radio-checked) .radio-inner{border-color:var(--ion-color-base)}.item-radio.item-ios ion-label{-webkit-margin-start:0;margin-inline-start:0}.radio-inner{width:33%;height:50%}:host(.radio-checked) .radio-inner{-webkit-transform:rotate(45deg);transform:rotate(45deg);border-width:0.125rem;border-top-width:0;border-left-width:0;border-style:solid;border-color:var(--color-checked)}:host(.radio-disabled){opacity:0.3}:host(.ion-focused) .radio-icon::after{border-radius:var(--inner-border-radius);top:-8px;display:block;position:absolute;width:36px;height:36px;background:var(--ion-color-primary-tint, #1a65eb);content:"";opacity:0.2}:host(.ion-focused) .radio-icon::after{inset-inline-start:-9px}.native-wrapper .radio-icon{width:0.9375rem;height:1.5rem}';var b=f;var m=':host{--inner-border-radius:50%;display:inline-block;position:relative;max-width:100%;min-height:inherit;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:2;-webkit-box-sizing:border-box;box-sizing:border-box}:host(.radio-disabled){pointer-events:none}.radio-icon{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;contain:layout size style}.radio-icon,.radio-inner{-webkit-box-sizing:border-box;box-sizing:border-box}input{position:absolute;top:0;left:0;right:0;bottom:0;width:100%;height:100%;margin:0;padding:0;border:0;outline:0;clip:rect(0 0 0 0);opacity:0;overflow:hidden;-webkit-appearance:none;-moz-appearance:none}:host(:focus){outline:none}:host(.in-item){-ms-flex:1 1 0px;flex:1 1 0;width:100%;height:100%}:host([slot=start]),:host([slot=end]){-ms-flex:initial;flex:initial;width:auto}.radio-wrapper{display:-ms-flexbox;display:flex;position:relative;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;height:inherit;min-height:inherit;cursor:inherit}.label-text-wrapper{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}:host(.in-item) .label-text-wrapper{margin-top:10px;margin-bottom:10px}:host(.in-item.radio-label-placement-stacked) .label-text-wrapper{margin-top:10px;margin-bottom:16px}:host(.in-item.radio-label-placement-stacked) .native-wrapper{margin-bottom:10px}.label-text-wrapper-hidden{display:none}.native-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}:host(.radio-justify-space-between) .radio-wrapper{-ms-flex-pack:justify;justify-content:space-between}:host(.radio-justify-start) .radio-wrapper{-ms-flex-pack:start;justify-content:start}:host(.radio-justify-end) .radio-wrapper{-ms-flex-pack:end;justify-content:end}:host(.radio-alignment-start) .radio-wrapper{-ms-flex-align:start;align-items:start}:host(.radio-alignment-center) .radio-wrapper{-ms-flex-align:center;align-items:center}:host(.radio-justify-space-between),:host(.radio-justify-start),:host(.radio-justify-end),:host(.radio-alignment-start),:host(.radio-alignment-center){display:block}:host(.radio-label-placement-start) .radio-wrapper{-ms-flex-direction:row;flex-direction:row}:host(.radio-label-placement-start) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px}:host(.radio-label-placement-end) .radio-wrapper{-ms-flex-direction:row-reverse;flex-direction:row-reverse}:host(.radio-label-placement-end) .label-text-wrapper{-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0}:host(.radio-label-placement-fixed) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px}:host(.radio-label-placement-fixed) .label-text-wrapper{-ms-flex:0 0 100px;flex:0 0 100px;width:100px;min-width:100px}:host(.radio-label-placement-stacked) .radio-wrapper{-ms-flex-direction:column;flex-direction:column}:host(.radio-label-placement-stacked) .label-text-wrapper{-webkit-transform:scale(0.75);transform:scale(0.75);margin-left:0;margin-right:0;margin-bottom:16px;max-width:calc(100% / 0.75)}:host(.radio-label-placement-stacked.radio-alignment-start) .label-text-wrapper{-webkit-transform-origin:left top;transform-origin:left top}:host-context([dir=rtl]):host(.radio-label-placement-stacked.radio-alignment-start) .label-text-wrapper,:host-context([dir=rtl]).radio-label-placement-stacked.radio-alignment-start .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}@supports selector(:dir(rtl)){:host(.radio-label-placement-stacked.radio-alignment-start:dir(rtl)) .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}}:host(.radio-label-placement-stacked.radio-alignment-center) .label-text-wrapper{-webkit-transform-origin:center top;transform-origin:center top}:host-context([dir=rtl]):host(.radio-label-placement-stacked.radio-alignment-center) .label-text-wrapper,:host-context([dir=rtl]).radio-label-placement-stacked.radio-alignment-center .label-text-wrapper{-webkit-transform-origin:calc(100% - center) top;transform-origin:calc(100% - center) top}@supports selector(:dir(rtl)){:host(.radio-label-placement-stacked.radio-alignment-center:dir(rtl)) .label-text-wrapper{-webkit-transform-origin:calc(100% - center) top;transform-origin:calc(100% - center) top}}:host{--color:rgb(var(--ion-text-color-rgb, 0, 0, 0), 0.6);--color-checked:var(--ion-color-primary, #0054e9);--border-width:0.125rem;--border-style:solid;--border-radius:50%}:host(.ion-color) .radio-inner{background:var(--ion-color-base)}:host(.ion-color.radio-checked) .radio-icon{border-color:var(--ion-color-base)}.radio-icon{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;border-radius:var(--border-radius);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--color)}.radio-inner{border-radius:var(--inner-border-radius);width:calc(50% + var(--border-width));height:calc(50% + var(--border-width));-webkit-transform:scale3d(0, 0, 0);transform:scale3d(0, 0, 0);-webkit-transition:-webkit-transform 280ms cubic-bezier(0.4, 0, 0.2, 1);transition:-webkit-transform 280ms cubic-bezier(0.4, 0, 0.2, 1);transition:transform 280ms cubic-bezier(0.4, 0, 0.2, 1);transition:transform 280ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 280ms cubic-bezier(0.4, 0, 0.2, 1);background:var(--color-checked)}:host(.radio-checked) .radio-icon{border-color:var(--color-checked)}:host(.radio-checked) .radio-inner{-webkit-transform:scale3d(1, 1, 1);transform:scale3d(1, 1, 1)}:host(.radio-disabled) .label-text-wrapper{opacity:0.38}:host(.radio-disabled) .native-wrapper{opacity:0.63}:host(.ion-focused) .radio-icon::after{border-radius:var(--inner-border-radius);display:block;position:absolute;width:36px;height:36px;background:var(--ion-color-primary-tint, #1a65eb);content:"";opacity:0.2}.native-wrapper .radio-icon{width:1.25rem;height:1.25rem}';var u=m;var g=e("ion_radio",function(){function e(e){var i=this;t(this,e);this.ionFocus=r(this,"ionFocus",7);this.ionBlur=r(this,"ionBlur",7);this.inputId="ion-rb-".concat(w++);this.radioGroup=null;this.updateState=function(){if(i.radioGroup){var e=i.radioGroup,t=e.compareWith,r=e.value;i.checked=d(r,i.value,t)}};this.onClick=function(){var e=i,t=e.radioGroup,r=e.checked,a=e.disabled;if(a){return}if(r&&(t===null||t===void 0?void 0:t.allowEmptySelection)){i.checked=false}else{i.checked=true}};this.onFocus=function(){i.ionFocus.emit()};this.onBlur=function(){i.ionBlur.emit()};this.checked=false;this.buttonTabindex=-1;this.color=undefined;this.name=this.inputId;this.disabled=false;this.value=undefined;this.labelPlacement="start";this.justify=undefined;this.alignment=undefined}e.prototype.valueChanged=function(){this.updateState()};e.prototype.componentDidLoad=function(){this.updateState()};e.prototype.setFocus=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){if(e!==undefined){e.stopPropagation();e.preventDefault()}this.el.focus();return[2]}))}))};e.prototype.setButtonTabindex=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.buttonTabindex=e;return[2]}))}))};e.prototype.connectedCallback=function(){if(this.value===undefined){this.value=this.inputId}var e=this.radioGroup=this.el.closest("ion-radio-group");if(e){this.updateState();o(e,"ionValueChange",this.updateState)}};e.prototype.disconnectedCallback=function(){var e=this.radioGroup;if(e){s(e,"ionValueChange",this.updateState);this.radioGroup=null}};Object.defineProperty(e.prototype,"hasLabel",{get:function(){return this.el.textContent!==""},enumerable:false,configurable:true});e.prototype.renderRadioControl=function(){return i("div",{class:"radio-icon",part:"container"},i("div",{class:"radio-inner",part:"mark"}),i("div",{class:"radio-ripple"}))};e.prototype.render=function(){var e;var t=this,r=t.checked,n=t.disabled,o=t.color,s=t.el,l=t.justify,d=t.labelPlacement,f=t.hasLabel,b=t.buttonTabindex,m=t.alignment;var u=h(this);var g=c("ion-item",s);return i(a,{key:"5a0adab55ad009305de4856fa1b9f93f2279a734",onFocus:this.onFocus,onBlur:this.onBlur,onClick:this.onClick,class:p(o,(e={},e[u]=true,e["in-item"]=g,e["radio-checked"]=r,e["radio-disabled"]=n,e["radio-justify-".concat(l)]=l!==undefined,e["radio-alignment-".concat(m)]=m!==undefined,e["radio-label-placement-".concat(d)]=true,e["ion-activatable"]=!g,e["ion-focusable"]=!g,e)),role:"radio","aria-checked":r?"true":"false","aria-disabled":n?"true":null,tabindex:b},i("label",{key:"f5673a798e6d87868339f046445f707e1d93b7b6",class:"radio-wrapper"},i("div",{key:"e9190c06f75a171cab63e3f74ccf771c3ed87005",class:{"label-text-wrapper":true,"label-text-wrapper-hidden":!f},part:"label"},i("slot",{key:"6cedf4e7b3bd03e4a635727dd7b6094bab64af64"})),i("div",{key:"26dd48d9d2848b7f100b732abdc4a3171adde483",class:"native-wrapper"},this.renderRadioControl())))};Object.defineProperty(e.prototype,"el",{get:function(){return n(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{value:["valueChanged"]}},enumerable:false,configurable:true});return e}());var w=0;g.style={ios:b,md:u};var x=e("ion_radio_group",function(){function e(e){var i=this;t(this,e);this.ionChange=r(this,"ionChange",7);this.ionValueChange=r(this,"ionValueChange",7);this.inputId="ion-rg-".concat(v++);this.labelId="".concat(this.inputId,"-lbl");this.setRadioTabindex=function(e){var t=i.getRadios();var r=t.find((function(e){return!e.disabled}));var a=t.find((function(t){return t.value===e&&!t.disabled}));if(!r&&!a){return}var n=a||r;for(var o=0,s=t;o<s.length;o++){var l=s[o];var d=l===n?0:-1;l.setButtonTabindex(d)}};this.onClick=function(e){e.preventDefault();var t=e.target&&e.target.closest("ion-radio");if(t&&!t.disabled){var r=i.value;var a=t.value;if(a!==r){i.value=a;i.emitValueChange(e)}else if(i.allowEmptySelection){i.value=undefined;i.emitValueChange(e)}}};this.allowEmptySelection=false;this.compareWith=undefined;this.name=this.inputId;this.value=undefined}e.prototype.valueChanged=function(e){this.setRadioTabindex(e);this.ionValueChange.emit({value:e})};e.prototype.componentDidLoad=function(){this.valueChanged(this.value)};e.prototype.connectedCallback=function(){return __awaiter(this,void 0,void 0,(function(){var e,t;return __generator(this,(function(r){e=this.el.querySelector("ion-list-header")||this.el.querySelector("ion-item-divider");if(e){t=this.label=e.querySelector("ion-label");if(t){this.labelId=t.id=this.name+"-lbl"}}return[2]}))}))};e.prototype.getRadios=function(){return Array.from(this.el.querySelectorAll("ion-radio"))};e.prototype.emitValueChange=function(e){var t=this.value;this.ionChange.emit({value:t,event:e})};e.prototype.onKeydown=function(e){var t=!!this.el.closest("ion-select-popover")||!!this.el.closest("ion-select-modal");if(e.target&&!this.el.contains(e.target)){return}var r=this.getRadios().filter((function(e){return!e.disabled}));if(e.target&&r.includes(e.target)){var i=r.findIndex((function(t){return t===e.target}));var a=r[i];var n=void 0;if(["ArrowDown","ArrowRight"].includes(e.key)){n=i===r.length-1?r[0]:r[i+1]}if(["ArrowUp","ArrowLeft"].includes(e.key)){n=i===0?r[r.length-1]:r[i-1]}if(n&&r.includes(n)){n.setFocus(e);if(!t){this.value=n.value;this.emitValueChange(e)}}if([" "].includes(e.key)){var o=this.value;this.value=this.allowEmptySelection&&this.value!==undefined?undefined:a.value;if(o!==this.value||this.allowEmptySelection){this.emitValueChange(e)}e.preventDefault()}}};e.prototype.setFocus=function(){return __awaiter(this,void 0,void 0,(function(){var e;return __generator(this,(function(t){e=this.getRadios().find((function(e){return e.tabIndex!==-1}));e===null||e===void 0?void 0:e.setFocus();return[2]}))}))};e.prototype.render=function(){var e=this,t=e.label,r=e.labelId,n=e.el,o=e.name,s=e.value;var d=h(this);l(true,n,o,s,false);return i(a,{key:"a853e38901f0f4ba17bbf21ebb5da5b5c20b327e",role:"radiogroup","aria-labelledby":t?r:null,onClick:this.onClick,class:d})};Object.defineProperty(e.prototype,"el",{get:function(){return n(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{value:["valueChanged"]}},enumerable:false,configurable:true});return e}());var v=0}}}));
4
+ */System.register(["./p-25180df3.system.js","./p-b3680e2f.system.js","./p-979d4f5c.system.js","./p-4609d030.system.js","./p-a69b9fc5.system.js"],(function(e){"use strict";var t,r,i,a,n,o,s,l,d,c,p,h;return{setters:[function(e){t=e.r;r=e.d;i=e.h;a=e.f;n=e.i},function(e){o=e.a;s=e.b;l=e.d},function(e){d=e.i},function(e){c=e.h;p=e.c},function(e){h=e.b}],execute:function(){var f=':host{--inner-border-radius:50%;display:inline-block;position:relative;max-width:100%;min-height:inherit;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:2;-webkit-box-sizing:border-box;box-sizing:border-box}:host(.radio-disabled){pointer-events:none}.radio-icon{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;contain:layout size style}.radio-icon,.radio-inner{-webkit-box-sizing:border-box;box-sizing:border-box}input{position:absolute;top:0;left:0;right:0;bottom:0;width:100%;height:100%;margin:0;padding:0;border:0;outline:0;clip:rect(0 0 0 0);opacity:0;overflow:hidden;-webkit-appearance:none;-moz-appearance:none}:host(:focus){outline:none}:host(.in-item){-ms-flex:1 1 0px;flex:1 1 0;width:100%;height:100%}:host([slot=start]),:host([slot=end]){-ms-flex:initial;flex:initial;width:auto}.radio-wrapper{display:-ms-flexbox;display:flex;position:relative;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;height:inherit;min-height:inherit;cursor:inherit}.label-text-wrapper{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}:host(.in-item) .label-text-wrapper{margin-top:10px;margin-bottom:10px}:host(.in-item.radio-label-placement-stacked) .label-text-wrapper{margin-top:10px;margin-bottom:16px}:host(.in-item.radio-label-placement-stacked) .native-wrapper{margin-bottom:10px}.label-text-wrapper-hidden{display:none}.native-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}:host(.radio-justify-space-between) .radio-wrapper{-ms-flex-pack:justify;justify-content:space-between}:host(.radio-justify-start) .radio-wrapper{-ms-flex-pack:start;justify-content:start}:host(.radio-justify-end) .radio-wrapper{-ms-flex-pack:end;justify-content:end}:host(.radio-alignment-start) .radio-wrapper{-ms-flex-align:start;align-items:start}:host(.radio-alignment-center) .radio-wrapper{-ms-flex-align:center;align-items:center}:host(.radio-justify-space-between),:host(.radio-justify-start),:host(.radio-justify-end),:host(.radio-alignment-start),:host(.radio-alignment-center){display:block}:host(.radio-label-placement-start) .radio-wrapper{-ms-flex-direction:row;flex-direction:row}:host(.radio-label-placement-start) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px}:host(.radio-label-placement-end) .radio-wrapper{-ms-flex-direction:row-reverse;flex-direction:row-reverse}:host(.radio-label-placement-end) .label-text-wrapper{-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0}:host(.radio-label-placement-fixed) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px}:host(.radio-label-placement-fixed) .label-text-wrapper{-ms-flex:0 0 100px;flex:0 0 100px;width:100px;min-width:100px}:host(.radio-label-placement-stacked) .radio-wrapper{-ms-flex-direction:column;flex-direction:column}:host(.radio-label-placement-stacked) .label-text-wrapper{-webkit-transform:scale(0.75);transform:scale(0.75);margin-left:0;margin-right:0;margin-bottom:16px;max-width:calc(100% / 0.75)}:host(.radio-label-placement-stacked.radio-alignment-start) .label-text-wrapper{-webkit-transform-origin:left top;transform-origin:left top}:host-context([dir=rtl]):host(.radio-label-placement-stacked.radio-alignment-start) .label-text-wrapper,:host-context([dir=rtl]).radio-label-placement-stacked.radio-alignment-start .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}@supports selector(:dir(rtl)){:host(.radio-label-placement-stacked.radio-alignment-start:dir(rtl)) .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}}:host(.radio-label-placement-stacked.radio-alignment-center) .label-text-wrapper{-webkit-transform-origin:center top;transform-origin:center top}:host-context([dir=rtl]):host(.radio-label-placement-stacked.radio-alignment-center) .label-text-wrapper,:host-context([dir=rtl]).radio-label-placement-stacked.radio-alignment-center .label-text-wrapper{-webkit-transform-origin:calc(100% - center) top;transform-origin:calc(100% - center) top}@supports selector(:dir(rtl)){:host(.radio-label-placement-stacked.radio-alignment-center:dir(rtl)) .label-text-wrapper{-webkit-transform-origin:calc(100% - center) top;transform-origin:calc(100% - center) top}}:host{--color-checked:var(--ion-color-primary, #0054e9)}:host(.ion-color.radio-checked) .radio-inner{border-color:var(--ion-color-base)}.item-radio.item-ios ion-label{-webkit-margin-start:0;margin-inline-start:0}.radio-inner{width:33%;height:50%}:host(.radio-checked) .radio-inner{-webkit-transform:rotate(45deg);transform:rotate(45deg);border-width:0.125rem;border-top-width:0;border-left-width:0;border-style:solid;border-color:var(--color-checked)}:host(.radio-disabled){opacity:0.3}:host(.ion-focused) .radio-icon::after{border-radius:var(--inner-border-radius);top:-8px;display:block;position:absolute;width:36px;height:36px;background:var(--ion-color-primary-tint, #1a65eb);content:"";opacity:0.2}:host(.ion-focused) .radio-icon::after{inset-inline-start:-9px}.native-wrapper .radio-icon{width:0.9375rem;height:1.5rem}';var b=f;var m=':host{--inner-border-radius:50%;display:inline-block;position:relative;max-width:100%;min-height:inherit;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:2;-webkit-box-sizing:border-box;box-sizing:border-box}:host(.radio-disabled){pointer-events:none}.radio-icon{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;contain:layout size style}.radio-icon,.radio-inner{-webkit-box-sizing:border-box;box-sizing:border-box}input{position:absolute;top:0;left:0;right:0;bottom:0;width:100%;height:100%;margin:0;padding:0;border:0;outline:0;clip:rect(0 0 0 0);opacity:0;overflow:hidden;-webkit-appearance:none;-moz-appearance:none}:host(:focus){outline:none}:host(.in-item){-ms-flex:1 1 0px;flex:1 1 0;width:100%;height:100%}:host([slot=start]),:host([slot=end]){-ms-flex:initial;flex:initial;width:auto}.radio-wrapper{display:-ms-flexbox;display:flex;position:relative;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;height:inherit;min-height:inherit;cursor:inherit}.label-text-wrapper{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}:host(.in-item) .label-text-wrapper{margin-top:10px;margin-bottom:10px}:host(.in-item.radio-label-placement-stacked) .label-text-wrapper{margin-top:10px;margin-bottom:16px}:host(.in-item.radio-label-placement-stacked) .native-wrapper{margin-bottom:10px}.label-text-wrapper-hidden{display:none}.native-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}:host(.radio-justify-space-between) .radio-wrapper{-ms-flex-pack:justify;justify-content:space-between}:host(.radio-justify-start) .radio-wrapper{-ms-flex-pack:start;justify-content:start}:host(.radio-justify-end) .radio-wrapper{-ms-flex-pack:end;justify-content:end}:host(.radio-alignment-start) .radio-wrapper{-ms-flex-align:start;align-items:start}:host(.radio-alignment-center) .radio-wrapper{-ms-flex-align:center;align-items:center}:host(.radio-justify-space-between),:host(.radio-justify-start),:host(.radio-justify-end),:host(.radio-alignment-start),:host(.radio-alignment-center){display:block}:host(.radio-label-placement-start) .radio-wrapper{-ms-flex-direction:row;flex-direction:row}:host(.radio-label-placement-start) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px}:host(.radio-label-placement-end) .radio-wrapper{-ms-flex-direction:row-reverse;flex-direction:row-reverse}:host(.radio-label-placement-end) .label-text-wrapper{-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0}:host(.radio-label-placement-fixed) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px}:host(.radio-label-placement-fixed) .label-text-wrapper{-ms-flex:0 0 100px;flex:0 0 100px;width:100px;min-width:100px}:host(.radio-label-placement-stacked) .radio-wrapper{-ms-flex-direction:column;flex-direction:column}:host(.radio-label-placement-stacked) .label-text-wrapper{-webkit-transform:scale(0.75);transform:scale(0.75);margin-left:0;margin-right:0;margin-bottom:16px;max-width:calc(100% / 0.75)}:host(.radio-label-placement-stacked.radio-alignment-start) .label-text-wrapper{-webkit-transform-origin:left top;transform-origin:left top}:host-context([dir=rtl]):host(.radio-label-placement-stacked.radio-alignment-start) .label-text-wrapper,:host-context([dir=rtl]).radio-label-placement-stacked.radio-alignment-start .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}@supports selector(:dir(rtl)){:host(.radio-label-placement-stacked.radio-alignment-start:dir(rtl)) .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}}:host(.radio-label-placement-stacked.radio-alignment-center) .label-text-wrapper{-webkit-transform-origin:center top;transform-origin:center top}:host-context([dir=rtl]):host(.radio-label-placement-stacked.radio-alignment-center) .label-text-wrapper,:host-context([dir=rtl]).radio-label-placement-stacked.radio-alignment-center .label-text-wrapper{-webkit-transform-origin:calc(100% - center) top;transform-origin:calc(100% - center) top}@supports selector(:dir(rtl)){:host(.radio-label-placement-stacked.radio-alignment-center:dir(rtl)) .label-text-wrapper{-webkit-transform-origin:calc(100% - center) top;transform-origin:calc(100% - center) top}}:host{--color:rgb(var(--ion-text-color-rgb, 0, 0, 0), 0.6);--color-checked:var(--ion-color-primary, #0054e9);--border-width:0.125rem;--border-style:solid;--border-radius:50%}:host(.ion-color) .radio-inner{background:var(--ion-color-base)}:host(.ion-color.radio-checked) .radio-icon{border-color:var(--ion-color-base)}.radio-icon{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;border-radius:var(--border-radius);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--color)}.radio-inner{border-radius:var(--inner-border-radius);width:calc(50% + var(--border-width));height:calc(50% + var(--border-width));-webkit-transform:scale3d(0, 0, 0);transform:scale3d(0, 0, 0);-webkit-transition:-webkit-transform 280ms cubic-bezier(0.4, 0, 0.2, 1);transition:-webkit-transform 280ms cubic-bezier(0.4, 0, 0.2, 1);transition:transform 280ms cubic-bezier(0.4, 0, 0.2, 1);transition:transform 280ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 280ms cubic-bezier(0.4, 0, 0.2, 1);background:var(--color-checked)}:host(.radio-checked) .radio-icon{border-color:var(--color-checked)}:host(.radio-checked) .radio-inner{-webkit-transform:scale3d(1, 1, 1);transform:scale3d(1, 1, 1)}:host(.radio-disabled) .label-text-wrapper{opacity:0.38}:host(.radio-disabled) .native-wrapper{opacity:0.63}:host(.ion-focused) .radio-icon::after{border-radius:var(--inner-border-radius);display:block;position:absolute;width:36px;height:36px;background:var(--ion-color-primary-tint, #1a65eb);content:"";opacity:0.2}.native-wrapper .radio-icon{width:1.25rem;height:1.25rem}';var u=m;var g=e("ion_radio",function(){function e(e){var i=this;t(this,e);this.ionFocus=r(this,"ionFocus",7);this.ionBlur=r(this,"ionBlur",7);this.inputId="ion-rb-".concat(w++);this.radioGroup=null;this.updateState=function(){if(i.radioGroup){var e=i.radioGroup,t=e.compareWith,r=e.value;i.checked=d(r,i.value,t)}};this.onClick=function(){var e=i,t=e.radioGroup,r=e.checked,a=e.disabled;if(a){return}if(r&&(t===null||t===void 0?void 0:t.allowEmptySelection)){i.checked=false}else{i.checked=true}};this.onFocus=function(){i.ionFocus.emit()};this.onBlur=function(){i.ionBlur.emit()};this.checked=false;this.buttonTabindex=-1;this.color=undefined;this.name=this.inputId;this.disabled=false;this.value=undefined;this.labelPlacement="start";this.justify=undefined;this.alignment=undefined}e.prototype.valueChanged=function(){this.updateState()};e.prototype.componentDidLoad=function(){this.updateState()};e.prototype.setFocus=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){if(e!==undefined){e.stopPropagation();e.preventDefault()}this.el.focus();return[2]}))}))};e.prototype.setButtonTabindex=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.buttonTabindex=e;return[2]}))}))};e.prototype.connectedCallback=function(){if(this.value===undefined){this.value=this.inputId}var e=this.radioGroup=this.el.closest("ion-radio-group");if(e){this.updateState();o(e,"ionValueChange",this.updateState)}};e.prototype.disconnectedCallback=function(){var e=this.radioGroup;if(e){s(e,"ionValueChange",this.updateState);this.radioGroup=null}};Object.defineProperty(e.prototype,"hasLabel",{get:function(){return this.el.textContent!==""},enumerable:false,configurable:true});e.prototype.renderRadioControl=function(){return i("div",{class:"radio-icon",part:"container"},i("div",{class:"radio-inner",part:"mark"}),i("div",{class:"radio-ripple"}))};e.prototype.render=function(){var e;var t=this,r=t.checked,n=t.disabled,o=t.color,s=t.el,l=t.justify,d=t.labelPlacement,f=t.hasLabel,b=t.buttonTabindex,m=t.alignment;var u=h(this);var g=c("ion-item",s);return i(a,{key:"5a0adab55ad009305de4856fa1b9f93f2279a734",onFocus:this.onFocus,onBlur:this.onBlur,onClick:this.onClick,class:p(o,(e={},e[u]=true,e["in-item"]=g,e["radio-checked"]=r,e["radio-disabled"]=n,e["radio-justify-".concat(l)]=l!==undefined,e["radio-alignment-".concat(m)]=m!==undefined,e["radio-label-placement-".concat(d)]=true,e["ion-activatable"]=!g,e["ion-focusable"]=!g,e)),role:"radio","aria-checked":r?"true":"false","aria-disabled":n?"true":null,tabindex:b},i("label",{key:"f5673a798e6d87868339f046445f707e1d93b7b6",class:"radio-wrapper"},i("div",{key:"e9190c06f75a171cab63e3f74ccf771c3ed87005",class:{"label-text-wrapper":true,"label-text-wrapper-hidden":!f},part:"label"},i("slot",{key:"6cedf4e7b3bd03e4a635727dd7b6094bab64af64"})),i("div",{key:"26dd48d9d2848b7f100b732abdc4a3171adde483",class:"native-wrapper"},this.renderRadioControl())))};Object.defineProperty(e.prototype,"el",{get:function(){return n(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{value:["valueChanged"]}},enumerable:false,configurable:true});return e}());var w=0;g.style={ios:b,md:u};var x=e("ion_radio_group",function(){function e(e){var i=this;t(this,e);this.ionChange=r(this,"ionChange",7);this.ionValueChange=r(this,"ionValueChange",7);this.inputId="ion-rg-".concat(v++);this.labelId="".concat(this.inputId,"-lbl");this.setRadioTabindex=function(e){var t=i.getRadios();var r=t.find((function(e){return!e.disabled}));var a=t.find((function(t){return t.value===e&&!t.disabled}));if(!r&&!a){return}var n=a||r;for(var o=0,s=t;o<s.length;o++){var l=s[o];var d=l===n?0:-1;l.setButtonTabindex(d)}};this.onClick=function(e){e.preventDefault();var t=e.target&&e.target.closest("ion-radio");if(t&&!t.disabled){var r=i.value;var a=t.value;if(a!==r){i.value=a;i.emitValueChange(e)}else if(i.allowEmptySelection){i.value=undefined;i.emitValueChange(e)}}};this.allowEmptySelection=false;this.compareWith=undefined;this.name=this.inputId;this.value=undefined}e.prototype.valueChanged=function(e){this.setRadioTabindex(e);this.ionValueChange.emit({value:e})};e.prototype.componentDidLoad=function(){this.valueChanged(this.value)};e.prototype.connectedCallback=function(){return __awaiter(this,void 0,void 0,(function(){var e,t;return __generator(this,(function(r){e=this.el.querySelector("ion-list-header")||this.el.querySelector("ion-item-divider");if(e){t=this.label=e.querySelector("ion-label");if(t){this.labelId=t.id=this.name+"-lbl"}}return[2]}))}))};e.prototype.getRadios=function(){return Array.from(this.el.querySelectorAll("ion-radio"))};e.prototype.emitValueChange=function(e){var t=this.value;this.ionChange.emit({value:t,event:e})};e.prototype.onKeydown=function(e){var t=!!this.el.closest("ion-select-popover")||!!this.el.closest("ion-select-modal");if(e.target&&!this.el.contains(e.target)){return}var r=this.getRadios().filter((function(e){return!e.disabled}));if(e.target&&r.includes(e.target)){var i=r.findIndex((function(t){return t===e.target}));var a=r[i];var n=void 0;if(["ArrowDown","ArrowRight"].includes(e.key)){n=i===r.length-1?r[0]:r[i+1]}if(["ArrowUp","ArrowLeft"].includes(e.key)){n=i===0?r[r.length-1]:r[i-1]}if(n&&r.includes(n)){n.setFocus(e);if(!t){this.value=n.value;this.emitValueChange(e)}}if([" "].includes(e.key)){var o=this.value;this.value=this.allowEmptySelection&&this.value!==undefined?undefined:a.value;if(o!==this.value||this.allowEmptySelection){this.emitValueChange(e)}e.preventDefault()}}};e.prototype.setFocus=function(){return __awaiter(this,void 0,void 0,(function(){var e;return __generator(this,(function(t){e=this.getRadios().find((function(e){return e.tabIndex!==-1}));e===null||e===void 0?void 0:e.setFocus();return[2]}))}))};e.prototype.render=function(){var e=this,t=e.label,r=e.labelId,n=e.el,o=e.name,s=e.value;var d=h(this);l(true,n,o,s,false);return i(a,{key:"a853e38901f0f4ba17bbf21ebb5da5b5c20b327e",role:"radiogroup","aria-labelledby":t?r:null,onClick:this.onClick,class:d})};Object.defineProperty(e.prototype,"el",{get:function(){return n(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{value:["valueChanged"]}},enumerable:false,configurable:true});return e}());var v=0}}}));
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * (C) Ionic http://ionicframework.com - MIT License
3
3
  */
4
- import{r as t,d as o,h as e,f as i,i as n}from"./p-d836d43e.js";import{c as a}from"./p-1e4371bd.js";import{c as r}from"./p-47794def.js";import{b as s,c as l}from"./p-0574e87e.js";import{h as d}from"./p-b51e4004.js";import"./p-7b30edcc.js";import"./p-27281edd.js";import"./p-c61cc894.js";const b=class{constructor(e){t(this,e),this.ionTabBarChanged=o(this,"ionTabBarChanged",7),this.ionTabBarLoaded=o(this,"ionTabBarLoaded",7),this.keyboardCtrl=null,this.keyboardVisible=!1,this.color=void 0,this.selectedTab=void 0,this.translucent=!1}selectedTabChanged(){void 0!==this.selectedTab&&this.ionTabBarChanged.emit({tab:this.selectedTab})}componentWillLoad(){this.selectedTabChanged()}async connectedCallback(){this.keyboardCtrl=await a((async(t,o)=>{!1===t&&void 0!==o&&await o,this.keyboardVisible=t}))}disconnectedCallback(){this.keyboardCtrl&&this.keyboardCtrl.destroy()}componentDidLoad(){this.ionTabBarLoaded.emit()}render(){const{color:t,translucent:o,keyboardVisible:n}=this,a=s(this),l=n&&"top"!==this.el.getAttribute("slot");return e(i,{key:"a87fd2ea5df053705a37ea7ffec043e75c4a9907",role:"tablist","aria-hidden":l?"true":null,class:r(t,{[a]:!0,"tab-bar-translucent":o,"tab-bar-hidden":l})},e("slot",{key:"81a6223299b6cab29d7ddced590e9152e2b3ded0"}))}get el(){return n(this)}static get watchers(){return{selectedTab:["selectedTabChanged"]}}};b.style={ios:":host{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:auto;padding-right:var(--ion-safe-area-right);padding-bottom:var(--ion-safe-area-bottom, 0);padding-left:var(--ion-safe-area-left);border-top:var(--border);background:var(--background);color:var(--color);text-align:center;contain:strict;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:10;-webkit-box-sizing:content-box !important;box-sizing:content-box !important}:host(.ion-color) ::slotted(ion-tab-button){--background-focused:var(--ion-color-shade);--color-selected:var(--ion-color-contrast)}:host(.ion-color) ::slotted(.tab-selected){color:var(--ion-color-contrast)}:host(.ion-color),:host(.ion-color) ::slotted(ion-tab-button){color:rgba(var(--ion-color-contrast-rgb), 0.7)}:host(.ion-color),:host(.ion-color) ::slotted(ion-tab-button){background:var(--ion-color-base)}:host(.ion-color) ::slotted(ion-tab-button.ion-focused),:host(.tab-bar-translucent) ::slotted(ion-tab-button.ion-focused){background:var(--background-focused)}:host(.tab-bar-translucent) ::slotted(ion-tab-button){background:transparent}:host([slot=top]){padding-top:var(--ion-safe-area-top, 0);padding-bottom:0;border-top:0;border-bottom:var(--border)}:host(.tab-bar-hidden){display:none !important}:host{--background:var(--ion-tab-bar-background, var(--ion-color-step-50, var(--ion-background-color-step-50, #f7f7f7)));--background-focused:var(--ion-tab-bar-background-focused, #e0e0e0);--border:0.55px solid var(--ion-tab-bar-border-color, var(--ion-border-color, var(--ion-color-step-150, var(--ion-background-color-step-150, rgba(0, 0, 0, 0.2)))));--color:var(--ion-tab-bar-color, var(--ion-color-step-600, var(--ion-text-color-step-400, #666666)));--color-selected:var(--ion-tab-bar-color-selected, var(--ion-color-primary, #0054e9));height:50px}@supports ((-webkit-backdrop-filter: blur(0)) or (backdrop-filter: blur(0))){:host(.tab-bar-translucent){--background:rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8);-webkit-backdrop-filter:saturate(210%) blur(20px);backdrop-filter:saturate(210%) blur(20px)}:host(.ion-color.tab-bar-translucent){background:rgba(var(--ion-color-base-rgb), 0.8)}:host(.tab-bar-translucent) ::slotted(ion-tab-button.ion-focused){background:rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.6)}}",md:":host{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:auto;padding-right:var(--ion-safe-area-right);padding-bottom:var(--ion-safe-area-bottom, 0);padding-left:var(--ion-safe-area-left);border-top:var(--border);background:var(--background);color:var(--color);text-align:center;contain:strict;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:10;-webkit-box-sizing:content-box !important;box-sizing:content-box !important}:host(.ion-color) ::slotted(ion-tab-button){--background-focused:var(--ion-color-shade);--color-selected:var(--ion-color-contrast)}:host(.ion-color) ::slotted(.tab-selected){color:var(--ion-color-contrast)}:host(.ion-color),:host(.ion-color) ::slotted(ion-tab-button){color:rgba(var(--ion-color-contrast-rgb), 0.7)}:host(.ion-color),:host(.ion-color) ::slotted(ion-tab-button){background:var(--ion-color-base)}:host(.ion-color) ::slotted(ion-tab-button.ion-focused),:host(.tab-bar-translucent) ::slotted(ion-tab-button.ion-focused){background:var(--background-focused)}:host(.tab-bar-translucent) ::slotted(ion-tab-button){background:transparent}:host([slot=top]){padding-top:var(--ion-safe-area-top, 0);padding-bottom:0;border-top:0;border-bottom:var(--border)}:host(.tab-bar-hidden){display:none !important}:host{--background:var(--ion-tab-bar-background, var(--ion-background-color, #fff));--background-focused:var(--ion-tab-bar-background-focused, #e0e0e0);--border:1px solid var(--ion-tab-bar-border-color, var(--ion-border-color, var(--ion-color-step-150, var(--ion-background-color-step-150, rgba(0, 0, 0, 0.07)))));--color:var(--ion-tab-bar-color, var(--ion-color-step-650, var(--ion-text-color-step-350, #595959)));--color-selected:var(--ion-tab-bar-color-selected, var(--ion-color-primary, #0054e9));height:56px}"};const c=class{constructor(e){t(this,e),this.ionTabButtonClick=o(this,"ionTabButtonClick",7),this.inheritedAttributes={},this.onKeyUp=t=>{"Enter"!==t.key&&" "!==t.key||this.selectTab(t)},this.onClick=t=>{this.selectTab(t)},this.disabled=!1,this.download=void 0,this.href=void 0,this.rel=void 0,this.layout=void 0,this.selected=!1,this.tab=void 0,this.target=void 0}onTabBarChanged(t){const o=t.target,e=this.el.parentElement;(t.composedPath().includes(e)||(null==o?void 0:o.contains(this.el)))&&(this.selected=this.tab===t.detail.tab)}componentWillLoad(){this.inheritedAttributes=Object.assign({},d(this.el,["aria-label"])),void 0===this.layout&&(this.layout=l.get("tabButtonLayout","icon-top"))}selectTab(t){void 0!==this.tab&&(this.disabled||this.ionTabButtonClick.emit({tab:this.tab,href:this.href,selected:this.selected}),t.preventDefault())}get hasLabel(){return!!this.el.querySelector("ion-label")}get hasIcon(){return!!this.el.querySelector("ion-icon")}render(){const{disabled:t,hasIcon:o,hasLabel:n,href:a,rel:r,target:l,layout:d,selected:b,tab:c,inheritedAttributes:h}=this,p=s(this),g={download:this.download,href:a,rel:r,target:l};return e(i,{key:"5976c45943ea7ea8e7c1a85fc9996de421439f08",onClick:this.onClick,onKeyup:this.onKeyUp,id:void 0!==c?`tab-button-${c}`:null,class:{[p]:!0,"tab-selected":b,"tab-disabled":t,"tab-has-label":n,"tab-has-icon":o,"tab-has-label-only":n&&!o,"tab-has-icon-only":o&&!n,[`tab-layout-${d}`]:!0,"ion-activatable":!0,"ion-selectable":!0,"ion-focusable":!0}},e("a",Object.assign({key:"1db09d861b67ff292018fb4b0dc7b85bd4677eb8"},g,{class:"button-native",part:"native",role:"tab","aria-selected":b?"true":null,"aria-disabled":t?"true":null,tabindex:t?"-1":void 0},h),e("span",{key:"4381eafcb27e8c7bb0d86d4f115ceb0caf03b9b4",class:"button-inner"},e("slot",{key:"1981135f6fbb88376c1bd923c55c70fe8b5c5159"})),"md"===p&&e("ion-ripple-effect",{key:"0509bc7155d055d1ed710600e9cf4df135881491",type:"unbounded"})))}get el(){return n(this)}};c.style={ios:':host{--ripple-color:var(--color-selected);--background-focused-opacity:1;-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;height:100%;outline:none;background:var(--background);color:var(--color)}.button-native{border-radius:inherit;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;display:-ms-flexbox;display:flex;position:relative;-ms-flex-direction:inherit;flex-direction:inherit;-ms-flex-align:inherit;align-items:inherit;-ms-flex-pack:inherit;justify-content:inherit;width:100%;height:100%;border:0;outline:none;background:transparent;text-decoration:none;cursor:pointer;overflow:hidden;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-user-drag:none}.button-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0}.button-inner{display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:inherit;flex-flow:inherit;-ms-flex-align:inherit;align-items:inherit;-ms-flex-pack:inherit;justify-content:inherit;width:100%;height:100%;z-index:1}:host(.ion-focused) .button-native{color:var(--color-focused)}:host(.ion-focused) .button-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}@media (any-hover: hover){a:hover{color:var(--color-selected)}}:host(.tab-selected){color:var(--color-selected)}:host(.tab-hidden){display:none !important}:host(.tab-disabled){pointer-events:none;opacity:0.4}::slotted(ion-label),::slotted(ion-icon){display:block;-ms-flex-item-align:center;align-self:center;max-width:100%;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;-webkit-box-sizing:border-box;box-sizing:border-box}::slotted(ion-label){-ms-flex-order:0;order:0}::slotted(ion-icon){-ms-flex-order:-1;order:-1;height:1em}:host(.tab-has-label-only) ::slotted(ion-label){white-space:normal}::slotted(ion-badge){-webkit-box-sizing:border-box;box-sizing:border-box;position:absolute;z-index:1}:host(.tab-layout-icon-start){-ms-flex-direction:row;flex-direction:row}:host(.tab-layout-icon-end){-ms-flex-direction:row-reverse;flex-direction:row-reverse}:host(.tab-layout-icon-bottom){-ms-flex-direction:column-reverse;flex-direction:column-reverse}:host(.tab-layout-icon-hide) ::slotted(ion-icon){display:none}:host(.tab-layout-label-hide) ::slotted(ion-label){display:none}ion-ripple-effect{color:var(--ripple-color)}:host{--padding-top:0;--padding-end:2px;--padding-bottom:0;--padding-start:2px;max-width:240px;font-size:10px}::slotted(ion-badge){-webkit-padding-start:6px;padding-inline-start:6px;-webkit-padding-end:6px;padding-inline-end:6px;padding-top:1px;padding-bottom:1px;top:4px;height:auto;font-size:12px;line-height:16px}::slotted(ion-badge){inset-inline-start:calc(50% + 6px)}::slotted(ion-icon){margin-top:2px;margin-bottom:2px;font-size:24px}::slotted(ion-icon::before){vertical-align:top}::slotted(ion-label){margin-top:0;margin-bottom:1px;min-height:11px;font-weight:500}:host(.tab-has-label-only) ::slotted(ion-label){margin-left:0;margin-right:0;margin-top:2px;margin-bottom:2px;font-size:12px;font-size:14px;line-height:1.1}:host(.tab-layout-icon-end) ::slotted(ion-label),:host(.tab-layout-icon-start) ::slotted(ion-label),:host(.tab-layout-icon-hide) ::slotted(ion-label){margin-top:2px;margin-bottom:2px;font-size:14px;line-height:1.1}:host(.tab-layout-icon-end) ::slotted(ion-icon),:host(.tab-layout-icon-start) ::slotted(ion-icon){min-width:24px;height:26px;margin-top:2px;margin-bottom:1px;font-size:24px}:host(.tab-layout-icon-bottom) ::slotted(ion-badge){inset-inline-start:calc(50% + 12px)}:host(.tab-layout-icon-bottom) ::slotted(ion-icon){margin-top:0;margin-bottom:1px}:host(.tab-layout-icon-bottom) ::slotted(ion-label){margin-top:4px}:host(.tab-layout-icon-start) ::slotted(ion-badge),:host(.tab-layout-icon-end) ::slotted(ion-badge){top:10px}:host(.tab-layout-icon-start) ::slotted(ion-badge),:host(.tab-layout-icon-end) ::slotted(ion-badge){inset-inline-start:calc(50% + 35px)}:host(.tab-layout-icon-hide) ::slotted(ion-badge),:host(.tab-has-label-only) ::slotted(ion-badge){top:10px}:host(.tab-layout-icon-hide) ::slotted(ion-badge),:host(.tab-has-label-only) ::slotted(ion-badge){inset-inline-start:calc(50% + 30px)}:host(.tab-layout-label-hide) ::slotted(ion-badge),:host(.tab-has-icon-only) ::slotted(ion-badge){top:10px}:host(.tab-layout-label-hide) ::slotted(ion-icon){margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}:host(.tab-layout-label-hide) ::slotted(ion-icon),:host(.tab-has-icon-only) ::slotted(ion-icon){font-size:30px}',md:':host{--ripple-color:var(--color-selected);--background-focused-opacity:1;-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;height:100%;outline:none;background:var(--background);color:var(--color)}.button-native{border-radius:inherit;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;display:-ms-flexbox;display:flex;position:relative;-ms-flex-direction:inherit;flex-direction:inherit;-ms-flex-align:inherit;align-items:inherit;-ms-flex-pack:inherit;justify-content:inherit;width:100%;height:100%;border:0;outline:none;background:transparent;text-decoration:none;cursor:pointer;overflow:hidden;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-user-drag:none}.button-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0}.button-inner{display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:inherit;flex-flow:inherit;-ms-flex-align:inherit;align-items:inherit;-ms-flex-pack:inherit;justify-content:inherit;width:100%;height:100%;z-index:1}:host(.ion-focused) .button-native{color:var(--color-focused)}:host(.ion-focused) .button-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}@media (any-hover: hover){a:hover{color:var(--color-selected)}}:host(.tab-selected){color:var(--color-selected)}:host(.tab-hidden){display:none !important}:host(.tab-disabled){pointer-events:none;opacity:0.4}::slotted(ion-label),::slotted(ion-icon){display:block;-ms-flex-item-align:center;align-self:center;max-width:100%;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;-webkit-box-sizing:border-box;box-sizing:border-box}::slotted(ion-label){-ms-flex-order:0;order:0}::slotted(ion-icon){-ms-flex-order:-1;order:-1;height:1em}:host(.tab-has-label-only) ::slotted(ion-label){white-space:normal}::slotted(ion-badge){-webkit-box-sizing:border-box;box-sizing:border-box;position:absolute;z-index:1}:host(.tab-layout-icon-start){-ms-flex-direction:row;flex-direction:row}:host(.tab-layout-icon-end){-ms-flex-direction:row-reverse;flex-direction:row-reverse}:host(.tab-layout-icon-bottom){-ms-flex-direction:column-reverse;flex-direction:column-reverse}:host(.tab-layout-icon-hide) ::slotted(ion-icon){display:none}:host(.tab-layout-label-hide) ::slotted(ion-label){display:none}ion-ripple-effect{color:var(--ripple-color)}:host{--padding-top:0;--padding-end:12px;--padding-bottom:0;--padding-start:12px;max-width:168px;font-size:12px;font-weight:normal;letter-spacing:0.03em}::slotted(ion-label){margin-left:0;margin-right:0;margin-top:2px;margin-bottom:2px;text-transform:none}::slotted(ion-icon){margin-left:0;margin-right:0;margin-top:16px;margin-bottom:16px;-webkit-transform-origin:center center;transform-origin:center center;font-size:22px}:host-context([dir=rtl]) ::slotted(ion-icon){-webkit-transform-origin:calc(100% - center) center;transform-origin:calc(100% - center) center}[dir=rtl] ::slotted(ion-icon){-webkit-transform-origin:calc(100% - center) center;transform-origin:calc(100% - center) center}@supports selector(:dir(rtl)){::slotted(ion-icon):dir(rtl){-webkit-transform-origin:calc(100% - center) center;transform-origin:calc(100% - center) center}}::slotted(ion-badge){border-radius:8px;-webkit-padding-start:2px;padding-inline-start:2px;-webkit-padding-end:2px;padding-inline-end:2px;padding-top:3px;padding-bottom:2px;top:8px;min-width:12px;font-size:8px;font-weight:normal}::slotted(ion-badge){inset-inline-start:calc(50% + 6px)}::slotted(ion-badge:empty){display:block;min-width:8px;height:8px}:host(.tab-layout-icon-top) ::slotted(ion-icon){margin-top:6px;margin-bottom:2px}:host(.tab-layout-icon-top) ::slotted(ion-label){margin-top:0;margin-bottom:6px}:host(.tab-layout-icon-bottom) ::slotted(ion-badge){top:8px}:host(.tab-layout-icon-bottom) ::slotted(ion-badge){inset-inline-start:70%}:host(.tab-layout-icon-bottom) ::slotted(ion-icon){margin-top:0;margin-bottom:6px}:host(.tab-layout-icon-bottom) ::slotted(ion-label){margin-top:6px;margin-bottom:0}:host(.tab-layout-icon-start) ::slotted(ion-badge),:host(.tab-layout-icon-end) ::slotted(ion-badge){top:16px}:host(.tab-layout-icon-start) ::slotted(ion-badge),:host(.tab-layout-icon-end) ::slotted(ion-badge){inset-inline-start:80%}:host(.tab-layout-icon-start) ::slotted(ion-icon){-webkit-margin-end:6px;margin-inline-end:6px}:host(.tab-layout-icon-end) ::slotted(ion-icon){-webkit-margin-start:6px;margin-inline-start:6px}:host(.tab-layout-icon-hide) ::slotted(ion-badge),:host(.tab-has-label-only) ::slotted(ion-badge){top:16px}:host(.tab-layout-icon-hide) ::slotted(ion-badge),:host(.tab-has-label-only) ::slotted(ion-badge){inset-inline-start:70%}:host(.tab-layout-icon-hide) ::slotted(ion-label),:host(.tab-has-label-only) ::slotted(ion-label){margin-top:0;margin-bottom:0}:host(.tab-layout-label-hide) ::slotted(ion-badge),:host(.tab-has-icon-only) ::slotted(ion-badge){top:16px}:host(.tab-layout-label-hide) ::slotted(ion-icon),:host(.tab-has-icon-only) ::slotted(ion-icon){margin-top:0;margin-bottom:0;font-size:24px}'};export{b as ion_tab_bar,c as ion_tab_button}
4
+ import{r as t,d as o,h as e,f as i,i as n}from"./p-d836d43e.js";import{c as a}from"./p-1e4371bd.js";import{c as r}from"./p-47794def.js";import{b as s,c as l}from"./p-0574e87e.js";import{h as d}from"./p-bb11d9fb.js";import"./p-7b30edcc.js";import"./p-27281edd.js";import"./p-c61cc894.js";const b=class{constructor(e){t(this,e),this.ionTabBarChanged=o(this,"ionTabBarChanged",7),this.ionTabBarLoaded=o(this,"ionTabBarLoaded",7),this.keyboardCtrl=null,this.keyboardVisible=!1,this.color=void 0,this.selectedTab=void 0,this.translucent=!1}selectedTabChanged(){void 0!==this.selectedTab&&this.ionTabBarChanged.emit({tab:this.selectedTab})}componentWillLoad(){this.selectedTabChanged()}async connectedCallback(){this.keyboardCtrl=await a((async(t,o)=>{!1===t&&void 0!==o&&await o,this.keyboardVisible=t}))}disconnectedCallback(){this.keyboardCtrl&&this.keyboardCtrl.destroy()}componentDidLoad(){this.ionTabBarLoaded.emit()}render(){const{color:t,translucent:o,keyboardVisible:n}=this,a=s(this),l=n&&"top"!==this.el.getAttribute("slot");return e(i,{key:"a87fd2ea5df053705a37ea7ffec043e75c4a9907",role:"tablist","aria-hidden":l?"true":null,class:r(t,{[a]:!0,"tab-bar-translucent":o,"tab-bar-hidden":l})},e("slot",{key:"81a6223299b6cab29d7ddced590e9152e2b3ded0"}))}get el(){return n(this)}static get watchers(){return{selectedTab:["selectedTabChanged"]}}};b.style={ios:":host{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:auto;padding-right:var(--ion-safe-area-right);padding-bottom:var(--ion-safe-area-bottom, 0);padding-left:var(--ion-safe-area-left);border-top:var(--border);background:var(--background);color:var(--color);text-align:center;contain:strict;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:10;-webkit-box-sizing:content-box !important;box-sizing:content-box !important}:host(.ion-color) ::slotted(ion-tab-button){--background-focused:var(--ion-color-shade);--color-selected:var(--ion-color-contrast)}:host(.ion-color) ::slotted(.tab-selected){color:var(--ion-color-contrast)}:host(.ion-color),:host(.ion-color) ::slotted(ion-tab-button){color:rgba(var(--ion-color-contrast-rgb), 0.7)}:host(.ion-color),:host(.ion-color) ::slotted(ion-tab-button){background:var(--ion-color-base)}:host(.ion-color) ::slotted(ion-tab-button.ion-focused),:host(.tab-bar-translucent) ::slotted(ion-tab-button.ion-focused){background:var(--background-focused)}:host(.tab-bar-translucent) ::slotted(ion-tab-button){background:transparent}:host([slot=top]){padding-top:var(--ion-safe-area-top, 0);padding-bottom:0;border-top:0;border-bottom:var(--border)}:host(.tab-bar-hidden){display:none !important}:host{--background:var(--ion-tab-bar-background, var(--ion-color-step-50, var(--ion-background-color-step-50, #f7f7f7)));--background-focused:var(--ion-tab-bar-background-focused, #e0e0e0);--border:0.55px solid var(--ion-tab-bar-border-color, var(--ion-border-color, var(--ion-color-step-150, var(--ion-background-color-step-150, rgba(0, 0, 0, 0.2)))));--color:var(--ion-tab-bar-color, var(--ion-color-step-600, var(--ion-text-color-step-400, #666666)));--color-selected:var(--ion-tab-bar-color-selected, var(--ion-color-primary, #0054e9));height:50px}@supports ((-webkit-backdrop-filter: blur(0)) or (backdrop-filter: blur(0))){:host(.tab-bar-translucent){--background:rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8);-webkit-backdrop-filter:saturate(210%) blur(20px);backdrop-filter:saturate(210%) blur(20px)}:host(.ion-color.tab-bar-translucent){background:rgba(var(--ion-color-base-rgb), 0.8)}:host(.tab-bar-translucent) ::slotted(ion-tab-button.ion-focused){background:rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.6)}}",md:":host{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:auto;padding-right:var(--ion-safe-area-right);padding-bottom:var(--ion-safe-area-bottom, 0);padding-left:var(--ion-safe-area-left);border-top:var(--border);background:var(--background);color:var(--color);text-align:center;contain:strict;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:10;-webkit-box-sizing:content-box !important;box-sizing:content-box !important}:host(.ion-color) ::slotted(ion-tab-button){--background-focused:var(--ion-color-shade);--color-selected:var(--ion-color-contrast)}:host(.ion-color) ::slotted(.tab-selected){color:var(--ion-color-contrast)}:host(.ion-color),:host(.ion-color) ::slotted(ion-tab-button){color:rgba(var(--ion-color-contrast-rgb), 0.7)}:host(.ion-color),:host(.ion-color) ::slotted(ion-tab-button){background:var(--ion-color-base)}:host(.ion-color) ::slotted(ion-tab-button.ion-focused),:host(.tab-bar-translucent) ::slotted(ion-tab-button.ion-focused){background:var(--background-focused)}:host(.tab-bar-translucent) ::slotted(ion-tab-button){background:transparent}:host([slot=top]){padding-top:var(--ion-safe-area-top, 0);padding-bottom:0;border-top:0;border-bottom:var(--border)}:host(.tab-bar-hidden){display:none !important}:host{--background:var(--ion-tab-bar-background, var(--ion-background-color, #fff));--background-focused:var(--ion-tab-bar-background-focused, #e0e0e0);--border:1px solid var(--ion-tab-bar-border-color, var(--ion-border-color, var(--ion-color-step-150, var(--ion-background-color-step-150, rgba(0, 0, 0, 0.07)))));--color:var(--ion-tab-bar-color, var(--ion-color-step-650, var(--ion-text-color-step-350, #595959)));--color-selected:var(--ion-tab-bar-color-selected, var(--ion-color-primary, #0054e9));height:56px}"};const c=class{constructor(e){t(this,e),this.ionTabButtonClick=o(this,"ionTabButtonClick",7),this.inheritedAttributes={},this.onKeyUp=t=>{"Enter"!==t.key&&" "!==t.key||this.selectTab(t)},this.onClick=t=>{this.selectTab(t)},this.disabled=!1,this.download=void 0,this.href=void 0,this.rel=void 0,this.layout=void 0,this.selected=!1,this.tab=void 0,this.target=void 0}onTabBarChanged(t){const o=t.target,e=this.el.parentElement;(t.composedPath().includes(e)||(null==o?void 0:o.contains(this.el)))&&(this.selected=this.tab===t.detail.tab)}componentWillLoad(){this.inheritedAttributes=Object.assign({},d(this.el,["aria-label"])),void 0===this.layout&&(this.layout=l.get("tabButtonLayout","icon-top"))}selectTab(t){void 0!==this.tab&&(this.disabled||this.ionTabButtonClick.emit({tab:this.tab,href:this.href,selected:this.selected}),t.preventDefault())}get hasLabel(){return!!this.el.querySelector("ion-label")}get hasIcon(){return!!this.el.querySelector("ion-icon")}render(){const{disabled:t,hasIcon:o,hasLabel:n,href:a,rel:r,target:l,layout:d,selected:b,tab:c,inheritedAttributes:h}=this,p=s(this),g={download:this.download,href:a,rel:r,target:l};return e(i,{key:"5976c45943ea7ea8e7c1a85fc9996de421439f08",onClick:this.onClick,onKeyup:this.onKeyUp,id:void 0!==c?`tab-button-${c}`:null,class:{[p]:!0,"tab-selected":b,"tab-disabled":t,"tab-has-label":n,"tab-has-icon":o,"tab-has-label-only":n&&!o,"tab-has-icon-only":o&&!n,[`tab-layout-${d}`]:!0,"ion-activatable":!0,"ion-selectable":!0,"ion-focusable":!0}},e("a",Object.assign({key:"1db09d861b67ff292018fb4b0dc7b85bd4677eb8"},g,{class:"button-native",part:"native",role:"tab","aria-selected":b?"true":null,"aria-disabled":t?"true":null,tabindex:t?"-1":void 0},h),e("span",{key:"4381eafcb27e8c7bb0d86d4f115ceb0caf03b9b4",class:"button-inner"},e("slot",{key:"1981135f6fbb88376c1bd923c55c70fe8b5c5159"})),"md"===p&&e("ion-ripple-effect",{key:"0509bc7155d055d1ed710600e9cf4df135881491",type:"unbounded"})))}get el(){return n(this)}};c.style={ios:':host{--ripple-color:var(--color-selected);--background-focused-opacity:1;-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;height:100%;outline:none;background:var(--background);color:var(--color)}.button-native{border-radius:inherit;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;display:-ms-flexbox;display:flex;position:relative;-ms-flex-direction:inherit;flex-direction:inherit;-ms-flex-align:inherit;align-items:inherit;-ms-flex-pack:inherit;justify-content:inherit;width:100%;height:100%;border:0;outline:none;background:transparent;text-decoration:none;cursor:pointer;overflow:hidden;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-user-drag:none}.button-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0}.button-inner{display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:inherit;flex-flow:inherit;-ms-flex-align:inherit;align-items:inherit;-ms-flex-pack:inherit;justify-content:inherit;width:100%;height:100%;z-index:1}:host(.ion-focused) .button-native{color:var(--color-focused)}:host(.ion-focused) .button-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}@media (any-hover: hover){a:hover{color:var(--color-selected)}}:host(.tab-selected){color:var(--color-selected)}:host(.tab-hidden){display:none !important}:host(.tab-disabled){pointer-events:none;opacity:0.4}::slotted(ion-label),::slotted(ion-icon){display:block;-ms-flex-item-align:center;align-self:center;max-width:100%;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;-webkit-box-sizing:border-box;box-sizing:border-box}::slotted(ion-label){-ms-flex-order:0;order:0}::slotted(ion-icon){-ms-flex-order:-1;order:-1;height:1em}:host(.tab-has-label-only) ::slotted(ion-label){white-space:normal}::slotted(ion-badge){-webkit-box-sizing:border-box;box-sizing:border-box;position:absolute;z-index:1}:host(.tab-layout-icon-start){-ms-flex-direction:row;flex-direction:row}:host(.tab-layout-icon-end){-ms-flex-direction:row-reverse;flex-direction:row-reverse}:host(.tab-layout-icon-bottom){-ms-flex-direction:column-reverse;flex-direction:column-reverse}:host(.tab-layout-icon-hide) ::slotted(ion-icon){display:none}:host(.tab-layout-label-hide) ::slotted(ion-label){display:none}ion-ripple-effect{color:var(--ripple-color)}:host{--padding-top:0;--padding-end:2px;--padding-bottom:0;--padding-start:2px;max-width:240px;font-size:10px}::slotted(ion-badge){-webkit-padding-start:6px;padding-inline-start:6px;-webkit-padding-end:6px;padding-inline-end:6px;padding-top:1px;padding-bottom:1px;top:4px;height:auto;font-size:12px;line-height:16px}::slotted(ion-badge){inset-inline-start:calc(50% + 6px)}::slotted(ion-icon){margin-top:2px;margin-bottom:2px;font-size:24px}::slotted(ion-icon::before){vertical-align:top}::slotted(ion-label){margin-top:0;margin-bottom:1px;min-height:11px;font-weight:500}:host(.tab-has-label-only) ::slotted(ion-label){margin-left:0;margin-right:0;margin-top:2px;margin-bottom:2px;font-size:12px;font-size:14px;line-height:1.1}:host(.tab-layout-icon-end) ::slotted(ion-label),:host(.tab-layout-icon-start) ::slotted(ion-label),:host(.tab-layout-icon-hide) ::slotted(ion-label){margin-top:2px;margin-bottom:2px;font-size:14px;line-height:1.1}:host(.tab-layout-icon-end) ::slotted(ion-icon),:host(.tab-layout-icon-start) ::slotted(ion-icon){min-width:24px;height:26px;margin-top:2px;margin-bottom:1px;font-size:24px}:host(.tab-layout-icon-bottom) ::slotted(ion-badge){inset-inline-start:calc(50% + 12px)}:host(.tab-layout-icon-bottom) ::slotted(ion-icon){margin-top:0;margin-bottom:1px}:host(.tab-layout-icon-bottom) ::slotted(ion-label){margin-top:4px}:host(.tab-layout-icon-start) ::slotted(ion-badge),:host(.tab-layout-icon-end) ::slotted(ion-badge){top:10px}:host(.tab-layout-icon-start) ::slotted(ion-badge),:host(.tab-layout-icon-end) ::slotted(ion-badge){inset-inline-start:calc(50% + 35px)}:host(.tab-layout-icon-hide) ::slotted(ion-badge),:host(.tab-has-label-only) ::slotted(ion-badge){top:10px}:host(.tab-layout-icon-hide) ::slotted(ion-badge),:host(.tab-has-label-only) ::slotted(ion-badge){inset-inline-start:calc(50% + 30px)}:host(.tab-layout-label-hide) ::slotted(ion-badge),:host(.tab-has-icon-only) ::slotted(ion-badge){top:10px}:host(.tab-layout-label-hide) ::slotted(ion-icon){margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}:host(.tab-layout-label-hide) ::slotted(ion-icon),:host(.tab-has-icon-only) ::slotted(ion-icon){font-size:30px}',md:':host{--ripple-color:var(--color-selected);--background-focused-opacity:1;-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;height:100%;outline:none;background:var(--background);color:var(--color)}.button-native{border-radius:inherit;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;display:-ms-flexbox;display:flex;position:relative;-ms-flex-direction:inherit;flex-direction:inherit;-ms-flex-align:inherit;align-items:inherit;-ms-flex-pack:inherit;justify-content:inherit;width:100%;height:100%;border:0;outline:none;background:transparent;text-decoration:none;cursor:pointer;overflow:hidden;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-user-drag:none}.button-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0}.button-inner{display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:inherit;flex-flow:inherit;-ms-flex-align:inherit;align-items:inherit;-ms-flex-pack:inherit;justify-content:inherit;width:100%;height:100%;z-index:1}:host(.ion-focused) .button-native{color:var(--color-focused)}:host(.ion-focused) .button-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}@media (any-hover: hover){a:hover{color:var(--color-selected)}}:host(.tab-selected){color:var(--color-selected)}:host(.tab-hidden){display:none !important}:host(.tab-disabled){pointer-events:none;opacity:0.4}::slotted(ion-label),::slotted(ion-icon){display:block;-ms-flex-item-align:center;align-self:center;max-width:100%;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;-webkit-box-sizing:border-box;box-sizing:border-box}::slotted(ion-label){-ms-flex-order:0;order:0}::slotted(ion-icon){-ms-flex-order:-1;order:-1;height:1em}:host(.tab-has-label-only) ::slotted(ion-label){white-space:normal}::slotted(ion-badge){-webkit-box-sizing:border-box;box-sizing:border-box;position:absolute;z-index:1}:host(.tab-layout-icon-start){-ms-flex-direction:row;flex-direction:row}:host(.tab-layout-icon-end){-ms-flex-direction:row-reverse;flex-direction:row-reverse}:host(.tab-layout-icon-bottom){-ms-flex-direction:column-reverse;flex-direction:column-reverse}:host(.tab-layout-icon-hide) ::slotted(ion-icon){display:none}:host(.tab-layout-label-hide) ::slotted(ion-label){display:none}ion-ripple-effect{color:var(--ripple-color)}:host{--padding-top:0;--padding-end:12px;--padding-bottom:0;--padding-start:12px;max-width:168px;font-size:12px;font-weight:normal;letter-spacing:0.03em}::slotted(ion-label){margin-left:0;margin-right:0;margin-top:2px;margin-bottom:2px;text-transform:none}::slotted(ion-icon){margin-left:0;margin-right:0;margin-top:16px;margin-bottom:16px;-webkit-transform-origin:center center;transform-origin:center center;font-size:22px}:host-context([dir=rtl]) ::slotted(ion-icon){-webkit-transform-origin:calc(100% - center) center;transform-origin:calc(100% - center) center}[dir=rtl] ::slotted(ion-icon){-webkit-transform-origin:calc(100% - center) center;transform-origin:calc(100% - center) center}@supports selector(:dir(rtl)){::slotted(ion-icon):dir(rtl){-webkit-transform-origin:calc(100% - center) center;transform-origin:calc(100% - center) center}}::slotted(ion-badge){border-radius:8px;-webkit-padding-start:2px;padding-inline-start:2px;-webkit-padding-end:2px;padding-inline-end:2px;padding-top:3px;padding-bottom:2px;top:8px;min-width:12px;font-size:8px;font-weight:normal}::slotted(ion-badge){inset-inline-start:calc(50% + 6px)}::slotted(ion-badge:empty){display:block;min-width:8px;height:8px}:host(.tab-layout-icon-top) ::slotted(ion-icon){margin-top:6px;margin-bottom:2px}:host(.tab-layout-icon-top) ::slotted(ion-label){margin-top:0;margin-bottom:6px}:host(.tab-layout-icon-bottom) ::slotted(ion-badge){top:8px}:host(.tab-layout-icon-bottom) ::slotted(ion-badge){inset-inline-start:70%}:host(.tab-layout-icon-bottom) ::slotted(ion-icon){margin-top:0;margin-bottom:6px}:host(.tab-layout-icon-bottom) ::slotted(ion-label){margin-top:6px;margin-bottom:0}:host(.tab-layout-icon-start) ::slotted(ion-badge),:host(.tab-layout-icon-end) ::slotted(ion-badge){top:16px}:host(.tab-layout-icon-start) ::slotted(ion-badge),:host(.tab-layout-icon-end) ::slotted(ion-badge){inset-inline-start:80%}:host(.tab-layout-icon-start) ::slotted(ion-icon){-webkit-margin-end:6px;margin-inline-end:6px}:host(.tab-layout-icon-end) ::slotted(ion-icon){-webkit-margin-start:6px;margin-inline-start:6px}:host(.tab-layout-icon-hide) ::slotted(ion-badge),:host(.tab-has-label-only) ::slotted(ion-badge){top:16px}:host(.tab-layout-icon-hide) ::slotted(ion-badge),:host(.tab-has-label-only) ::slotted(ion-badge){inset-inline-start:70%}:host(.tab-layout-icon-hide) ::slotted(ion-label),:host(.tab-has-label-only) ::slotted(ion-label){margin-top:0;margin-bottom:0}:host(.tab-layout-label-hide) ::slotted(ion-badge),:host(.tab-has-icon-only) ::slotted(ion-badge){top:16px}:host(.tab-layout-label-hide) ::slotted(ion-icon),:host(.tab-has-icon-only) ::slotted(ion-icon){margin-top:0;margin-bottom:0;font-size:24px}'};export{b as ion_tab_bar,c as ion_tab_button}
@@ -1,4 +1,4 @@
1
1
  var __awaiter=this&&this.__awaiter||function(r,t,n,e){function i(r){return r instanceof n?r:new n((function(t){t(r)}))}return new(n||(n=Promise))((function(n,u){function o(r){try{f(e.next(r))}catch(r){u(r)}}function a(r){try{f(e["throw"](r))}catch(r){u(r)}}function f(r){r.done?n(r.value):i(r.value).then(o,a)}f((e=e.apply(r,t||[])).next())}))};var __generator=this&&this.__generator||function(r,t){var n={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]},e,i,u,o;return o={next:a(0),throw:a(1),return:a(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function a(r){return function(t){return f([r,t])}}function f(a){if(e)throw new TypeError("Generator is already executing.");while(o&&(o=0,a[0]&&(n=0)),n)try{if(e=1,i&&(u=a[0]&2?i["return"]:a[0]?i["throw"]||((u=i["return"])&&u.call(i),0):i.next)&&!(u=u.call(i,a[1])).done)return u;if(i=0,u)a=[a[0]&2,u.value];switch(a[0]){case 0:case 1:u=a;break;case 4:n.label++;return{value:a[1],done:false};case 5:n.label++;i=a[1];a=[0];continue;case 7:a=n.ops.pop();n.trys.pop();continue;default:if(!(u=n.trys,u=u.length>0&&u[u.length-1])&&(a[0]===6||a[0]===2)){n=0;continue}if(a[0]===3&&(!u||a[1]>u[0]&&a[1]<u[3])){n.label=a[1];break}if(a[0]===6&&n.label<u[1]){n.label=u[1];u=a;break}if(u&&n.label<u[2]){n.label=u[2];n.ops.push(a);break}if(u[2])n.ops.pop();n.trys.pop();continue}a=t.call(r,n)}catch(r){a=[6,r];i=0}finally{e=u=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(r,t,n){if(n||arguments.length===2)for(var e=0,i=t.length,u;e<i;e++){if(u||!(e in t)){if(!u)u=Array.prototype.slice.call(t,0,e);u[e]=t[e]}}return r.concat(u||Array.prototype.slice.call(t))};
2
2
  /*!
3
3
  * (C) Ionic http://ionicframework.com - MIT License
4
- */System.register(["./p-25180df3.system.js","./p-3ad285e3.system.js","./p-4609d030.system.js","./p-a69b9fc5.system.js"],(function(r){"use strict";var t,n,e,i,u,o,a,f,s,c;return{setters:[function(r){t=r.r;n=r.d;e=r.i;i=r.h;u=r.f},function(r){o=r.c;a=r.o},function(r){f=r.o;s=r.c},function(r){c=r.b}],execute:function(){var h=this;var v=r("ion_route",function(){function r(r){t(this,r);this.ionRouteDataChanged=n(this,"ionRouteDataChanged",7);this.url="";this.component=undefined;this.componentProps=undefined;this.beforeLeave=undefined;this.beforeEnter=undefined}r.prototype.onUpdate=function(r){this.ionRouteDataChanged.emit(r)};r.prototype.onComponentProps=function(r,t){if(r===t){return}var n=r?Object.keys(r):[];var e=t?Object.keys(t):[];if(n.length!==e.length){this.onUpdate(r);return}for(var i=0,u=n;i<u.length;i++){var o=u[i];if(r[o]!==t[o]){this.onUpdate(r);return}}};r.prototype.connectedCallback=function(){this.ionRouteDataChanged.emit()};Object.defineProperty(r,"watchers",{get:function(){return{url:["onUpdate"],component:["onUpdate"],componentProps:["onComponentProps"]}},enumerable:false,configurable:true});return r}());var l=r("ion_route_redirect",function(){function r(r){t(this,r);this.ionRouteRedirectChanged=n(this,"ionRouteRedirectChanged",7);this.from=undefined;this.to=undefined}r.prototype.propDidChange=function(){this.ionRouteRedirectChanged.emit()};r.prototype.connectedCallback=function(){this.ionRouteRedirectChanged.emit()};Object.defineProperty(r,"watchers",{get:function(){return{from:["propDidChange"],to:["propDidChange"]}},enumerable:false,configurable:true});return r}());var d="root";var _="forward";var w="back";var b=function(r){var t=r.filter((function(r){return r.length>0})).join("/");return"/"+t};var g=function(r,t,n){var e=b(r);if(t){e="#"+e}if(n!==undefined){e+="?"+n}return e};var m=function(r,t,n,e,i,u,o){var a=g(__spreadArray(__spreadArray([],j(t).segments,true),e,true),n,o);if(i===_){r.pushState(u,"",a)}else{r.replaceState(u,"",a)}};var p=function(r){var t=[];for(var n=0,e=r;n<e.length;n++){var i=e[n];for(var u=0,o=i.segments;u<o.length;u++){var a=o[u];if(a[0]===":"){var f=i.params&&i.params[a.slice(1)];if(!f){return null}t.push(f)}else if(a!==""){t.push(a)}}}return t};var y=function(r,t){if(r.length>t.length){return null}if(r.length<=1&&r[0]===""){return t}for(var n=0;n<r.length;n++){if(r[n]!==t[n]){return null}}if(t.length===r.length){return[""]}return t.slice(r.length)};var R=function(r,t,n){var e=j(t).segments;var i=n?r.hash.slice(1):r.pathname;var u=j(i).segments;return y(e,u)};var j=function(r){var t=[""];var n;if(r!=null){var e=r.indexOf("?");if(e>-1){n=r.substring(e+1);r=r.substring(0,e)}t=r.split("/").map((function(r){return r.trim()})).filter((function(r){return r.length>0}));if(t.length===0){t=[""]}}return{segments:t,queryString:n}};var O=function(r){console.group("[ion-core] ROUTES[".concat(r.length,"]"));var t=function(r){var t=[];r.forEach((function(r){return t.push.apply(t,r.segments)}));var n=r.map((function(r){return r.id}));console.debug("%c ".concat(b(t)),"font-weight: bold; padding-left: 20px","=>\t","(".concat(n.join(", "),")"))};for(var n=0,e=r;n<e.length;n++){var i=e[n];t(i)}console.groupEnd()};var k=function(r){console.group("[ion-core] REDIRECTS[".concat(r.length,"]"));for(var t=0,n=r;t<n.length;t++){var e=n[t];if(e.to){console.debug("FROM: ","$c ".concat(b(e.from)),"font-weight: bold"," TO: ","$c ".concat(b(e.to.segments)),"font-weight: bold")}}console.groupEnd()};var C=function(r,t,n,e){var i=[];for(var u=4;u<arguments.length;u++){i[u-4]=arguments[u]}return __awaiter(h,__spreadArray([r,t,n,e],i,true),void 0,(function(r,t,n,e,i,u){var a,f,s,c;if(i===void 0){i=false}return __generator(this,(function(h){switch(h.label){case 0:h.trys.push([0,6,,7]);a=P(r);if(e>=t.length||!a){return[2,i]}return[4,new Promise((function(r){return o(a,r)}))];case 1:h.sent();f=t[e];return[4,a.setRouteId(f.id,f.params,n,u)];case 2:s=h.sent();if(s.changed){n=d;i=true}return[4,C(s.element,t,n,e+1,i,u)];case 3:i=h.sent();if(!s.markVisible)return[3,5];return[4,s.markVisible()];case 4:h.sent();h.label=5;case 5:return[2,i];case 6:c=h.sent();console.error(c);return[2,false];case 7:return[2]}}))}))};var E=function(r){return __awaiter(h,void 0,void 0,(function(){var t,n,e,i;return __generator(this,(function(u){switch(u.label){case 0:t=[];e=r;u.label=1;case 1:if(!(n=P(e)))return[3,3];return[4,n.getRouteId()];case 2:i=u.sent();if(i){e=i.element;i.element=undefined;t.push(i)}else{return[3,3]}return[3,1];case 3:return[2,{ids:t,outlet:n}]}}))}))};var A=function(){if(P(document.body)){return Promise.resolve()}return new Promise((function(r){window.addEventListener("ionNavWillLoad",(function(){return r()}),{once:true})}))};var x=":not([no-router]) ion-nav, :not([no-router]) ion-tabs, :not([no-router]) ion-router-outlet";var P=function(r){if(!r){return undefined}if(r.matches(x)){return r}var t=r.querySelector(x);return t!==null&&t!==void 0?t:undefined};var U=function(r,t){var n=t.from,e=t.to;if(e===undefined){return false}if(n.length>r.length){return false}for(var i=0;i<n.length;i++){var u=n[i];if(u==="*"){return true}if(u!==r[i]){return false}}return n.length===r.length};var D=function(r,t){return t.find((function(t){return U(r,t)}))};var L=function(r,t){var n=Math.min(r.length,t.length);var e=0;for(var i=0;i<n;i++){var u=r[i];var o=t[i];if(u.id.toLowerCase()!==o.id){break}if(u.params){var a=Object.keys(u.params);if(a.length===o.segments.length){var f=a.map((function(r){return":".concat(r)}));for(var s=0;s<f.length;s++){if(f[s].toLowerCase()!==o.segments[s]){break}e++}}}e++}return e};var T=function(r,t){var n=new q(r);var e=false;var i;for(var u=0;u<t.length;u++){var o=t[u].segments;if(o[0]===""){e=true}else{for(var a=0,f=o;a<f.length;a++){var s=f[a];var c=n.next();if(s[0]===":"){if(c===""){return null}i=i||[];var h=i[u]||(i[u]={});h[s.slice(1)]=c}else if(c!==s){return null}}e=false}}var v=e?e===(n.next()===""):true;if(!v){return null}if(i){return t.map((function(r,t){return{id:r.id,segments:r.segments,params:S(r.params,i[t]),beforeEnter:r.beforeEnter,beforeLeave:r.beforeLeave}}))}return t};var S=function(r,t){return r||t?Object.assign(Object.assign({},r),t):undefined};var I=function(r,t){var n=null;var e=0;for(var i=0,u=t;i<u.length;i++){var o=u[i];var a=L(r,o);if(a>e){n=o;e=a}}if(n){return n.map((function(t,n){var e;return{id:t.id,segments:t.segments,params:S(t.params,(e=r[n])===null||e===void 0?void 0:e.params)}}))}return null};var M=function(r,t){var n=null;var e=0;for(var i=0,u=t;i<u.length;i++){var o=u[i];var a=T(r,o);if(a!==null){var f=N(a);if(f>e){e=f;n=a}}}return n};var N=function(r){var t=1;var n=1;for(var e=0,i=r;e<i.length;e++){var u=i[e];for(var o=0,a=u.segments;o<a.length;o++){var f=a[o];if(f[0]===":"){t+=Math.pow(1,n)}else if(f!==""){t+=Math.pow(2,n)}n++}}return t};var q=function(){function r(r){this.segments=r.slice()}r.prototype.next=function(){if(this.segments.length>0){return this.segments.shift()}return""};return r}();var F=function(r,t){if(t in r){return r[t]}if(r.hasAttribute(t)){return r.getAttribute(t)}return null};var W=function(r){return Array.from(r.children).filter((function(r){return r.tagName==="ION-ROUTE-REDIRECT"})).map((function(r){var t=F(r,"to");return{from:j(F(r,"from")).segments,to:t==null?undefined:j(t)}}))};var $=function(r){return G(z(r))};var z=function(r){return Array.from(r.children).filter((function(r){return r.tagName==="ION-ROUTE"&&r.component})).map((function(r){var t=F(r,"component");return{segments:j(F(r,"url")).segments,id:t.toLowerCase(),params:r.componentProps,beforeLeave:r.beforeLeave,beforeEnter:r.beforeEnter,children:z(r)}}))};var G=function(r){var t=[];for(var n=0,e=r;n<e.length;n++){var i=e[n];B([],t,i)}return t};var B=function(r,t,n){r=__spreadArray(__spreadArray([],r,true),[{id:n.id,segments:n.segments,params:n.params,beforeLeave:n.beforeLeave,beforeEnter:n.beforeEnter}],false);if(n.children.length===0){t.push(r);return}for(var e=0,i=n.children;e<i.length;e++){var u=i[e];B(r,t,u)}};var H=r("ion_router",function(){function r(r){t(this,r);this.ionRouteWillChange=n(this,"ionRouteWillChange",7);this.ionRouteDidChange=n(this,"ionRouteDidChange",7);this.previousPath=null;this.busy=false;this.state=0;this.lastState=0;this.root="/";this.useHash=true}r.prototype.componentWillLoad=function(){return __awaiter(this,void 0,void 0,(function(){var r,t,n;return __generator(this,(function(e){switch(e.label){case 0:return[4,A()];case 1:e.sent();return[4,this.runGuards(this.getSegments())];case 2:r=e.sent();if(!(r!==true))return[3,5];if(!(typeof r==="object"))return[3,4];t=r.redirect;n=j(t);this.setSegments(n.segments,d,n.queryString);return[4,this.writeNavStateRoot(n.segments,d)];case 3:e.sent();e.label=4;case 4:return[3,7];case 5:return[4,this.onRoutesChanged()];case 6:e.sent();e.label=7;case 7:return[2]}}))}))};r.prototype.componentDidLoad=function(){window.addEventListener("ionRouteRedirectChanged",a(this.onRedirectChanged.bind(this),10));window.addEventListener("ionRouteDataChanged",a(this.onRoutesChanged.bind(this),100))};r.prototype.onPopState=function(){return __awaiter(this,void 0,void 0,(function(){var r,t,n;return __generator(this,(function(e){switch(e.label){case 0:r=this.historyDirection();t=this.getSegments();return[4,this.runGuards(t)];case 1:n=e.sent();if(n!==true){if(typeof n==="object"){t=j(n.redirect).segments}else{return[2,false]}}return[2,this.writeNavStateRoot(t,r)]}}))}))};r.prototype.onBackButton=function(r){var t=this;r.detail.register(0,(function(r){t.back();r()}))};r.prototype.canTransition=function(){return __awaiter(this,void 0,void 0,(function(){var r;return __generator(this,(function(t){switch(t.label){case 0:return[4,this.runGuards()];case 1:r=t.sent();if(r!==true){if(typeof r==="object"){return[2,r.redirect]}else{return[2,false]}}return[2,true]}}))}))};r.prototype.push=function(r){return __awaiter(this,arguments,void 0,(function(r,t,n){var e,i,u,o,a;if(t===void 0){t="forward"}return __generator(this,(function(f){switch(f.label){case 0:if(r.startsWith(".")){i=(e=this.previousPath)!==null&&e!==void 0?e:"/";u=new URL(r,"https://host/".concat(i));r=u.pathname+u.search}o=j(r);return[4,this.runGuards(o.segments)];case 1:a=f.sent();if(a!==true){if(typeof a==="object"){o=j(a.redirect)}else{return[2,false]}}this.setSegments(o.segments,t,o.queryString);return[2,this.writeNavStateRoot(o.segments,t,n)]}}))}))};r.prototype.back=function(){window.history.back();return Promise.resolve(this.waitPromise)};r.prototype.printDebug=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(r){O($(this.el));k(W(this.el));return[2]}))}))};r.prototype.navChanged=function(r){return __awaiter(this,void 0,void 0,(function(){var t,n,e,i,u,o;return __generator(this,(function(a){switch(a.label){case 0:if(this.busy){console.warn("[ion-router] router is busy, navChanged was cancelled");return[2,false]}return[4,E(window.document.body)];case 1:t=a.sent(),n=t.ids,e=t.outlet;i=$(this.el);u=I(n,i);if(!u){console.warn("[ion-router] no matching URL for ",n.map((function(r){return r.id})));return[2,false]}o=p(u);if(!o){console.warn("[ion-router] router could not match path because some required param is missing");return[2,false]}this.setSegments(o,r);return[4,this.safeWriteNavState(e,u,d,o,null,n.length)];case 2:a.sent();return[2,true]}}))}))};r.prototype.onRedirectChanged=function(){var r=this.getSegments();if(r&&D(r,W(this.el))){this.writeNavStateRoot(r,d)}};r.prototype.onRoutesChanged=function(){return this.writeNavStateRoot(this.getSegments(),d)};r.prototype.historyDirection=function(){var r;var t=window;if(t.history.state===null){this.state++;t.history.replaceState(this.state,t.document.title,(r=t.document.location)===null||r===void 0?void 0:r.href)}var n=t.history.state;var e=this.lastState;this.lastState=n;if(n>e||n>=e&&e>0){return _}if(n<e){return w}return d};r.prototype.writeNavStateRoot=function(r,t,n){return __awaiter(this,void 0,void 0,(function(){var e,i,u,o,a,f,s,c;return __generator(this,(function(h){if(!r){console.error("[ion-router] URL is not part of the routing set");return[2,false]}e=W(this.el);i=D(r,e);u=null;if(i){o=i.to,a=o.segments,f=o.queryString;this.setSegments(a,t,f);u=i.from;r=a}s=$(this.el);c=M(r,s);if(!c){console.error("[ion-router] the path does not match any route");return[2,false]}return[2,this.safeWriteNavState(document.body,c,t,r,u,0,n)]}))}))};r.prototype.safeWriteNavState=function(r,t,n,e,i){return __awaiter(this,arguments,void 0,(function(r,t,n,e,i,u,o){var a,f,s;if(u===void 0){u=0}return __generator(this,(function(c){switch(c.label){case 0:return[4,this.lock()];case 1:a=c.sent();f=false;c.label=2;case 2:c.trys.push([2,4,,5]);return[4,this.writeNavState(r,t,n,e,i,u,o)];case 3:f=c.sent();return[3,5];case 4:s=c.sent();console.error(s);return[3,5];case 5:a();return[2,f]}}))}))};r.prototype.lock=function(){return __awaiter(this,void 0,void 0,(function(){var r,t;return __generator(this,(function(n){switch(n.label){case 0:r=this.waitPromise;this.waitPromise=new Promise((function(r){return t=r}));if(!(r!==undefined))return[3,2];return[4,r];case 1:n.sent();n.label=2;case 2:return[2,t]}}))}))};r.prototype.runGuards=function(){return __awaiter(this,arguments,void 0,(function(r,t){var n,e,i,u,o,a,f;if(r===void 0){r=this.getSegments()}return __generator(this,(function(s){switch(s.label){case 0:if(t===undefined){t=j(this.previousPath).segments}if(!r||!t){return[2,true]}n=$(this.el);e=M(t,n);i=e&&e[e.length-1].beforeLeave;if(!i)return[3,2];return[4,i()];case 1:o=s.sent();return[3,3];case 2:o=true;s.label=3;case 3:u=o;if(u===false||typeof u==="object"){return[2,u]}a=M(r,n);f=a&&a[a.length-1].beforeEnter;return[2,f?f():true]}}))}))};r.prototype.writeNavState=function(r,t,n,e,i){return __awaiter(this,arguments,void 0,(function(r,t,n,e,i,u,o){var a,f;if(u===void 0){u=0}return __generator(this,(function(s){switch(s.label){case 0:if(this.busy){console.warn("[ion-router] router is busy, transition was cancelled");return[2,false]}this.busy=true;a=this.routeChangeEvent(e,i);if(a){this.ionRouteWillChange.emit(a)}return[4,C(r,t,n,u,false,o)];case 1:f=s.sent();this.busy=false;if(a){this.ionRouteDidChange.emit(a)}return[2,f]}}))}))};r.prototype.setSegments=function(r,t,n){this.state++;m(window.history,this.root,this.useHash,r,t,this.state,n)};r.prototype.getSegments=function(){return R(window.location,this.root,this.useHash)};r.prototype.routeChangeEvent=function(r,t){var n=this.previousPath;var e=b(r);this.previousPath=e;if(e===n){return null}var i=t?b(t):null;return{from:n,redirectedFrom:i,to:e}};Object.defineProperty(r.prototype,"el",{get:function(){return e(this)},enumerable:false,configurable:true});return r}());var J=":host{--background:transparent;--color:var(--ion-color-primary, #0054e9);background:var(--background);color:var(--color)}:host(.ion-color){color:var(--ion-color-base)}a{font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit}";var K=J;var Q=r("ion_router_link",function(){function r(r){var n=this;t(this,r);this.onClick=function(r){f(n.href,r,n.routerDirection,n.routerAnimation)};this.color=undefined;this.href=undefined;this.rel=undefined;this.routerDirection="forward";this.routerAnimation=undefined;this.target=undefined}r.prototype.render=function(){var r;var t=c(this);var n={href:this.href,rel:this.rel,target:this.target};return i(u,{key:"529ceed5beaf92d7b4cc315c82f449eac18310e8",onClick:this.onClick,class:s(this.color,(r={},r[t]=true,r["ion-activatable"]=true,r))},i("a",Object.assign({key:"d5f1f8b256695d70bdafd20ff3d1b625963fa2da"},n),i("slot",{key:"613fcdb36a71e076f989551ea21f1d5c118b1cd2"})))};return r}());Q.style=K}}}));
4
+ */System.register(["./p-25180df3.system.js","./p-b3680e2f.system.js","./p-4609d030.system.js","./p-a69b9fc5.system.js"],(function(r){"use strict";var t,n,e,i,u,o,a,f,s,c;return{setters:[function(r){t=r.r;n=r.d;e=r.i;i=r.h;u=r.f},function(r){o=r.c;a=r.p},function(r){f=r.o;s=r.c},function(r){c=r.b}],execute:function(){var h=this;var v=r("ion_route",function(){function r(r){t(this,r);this.ionRouteDataChanged=n(this,"ionRouteDataChanged",7);this.url="";this.component=undefined;this.componentProps=undefined;this.beforeLeave=undefined;this.beforeEnter=undefined}r.prototype.onUpdate=function(r){this.ionRouteDataChanged.emit(r)};r.prototype.onComponentProps=function(r,t){if(r===t){return}var n=r?Object.keys(r):[];var e=t?Object.keys(t):[];if(n.length!==e.length){this.onUpdate(r);return}for(var i=0,u=n;i<u.length;i++){var o=u[i];if(r[o]!==t[o]){this.onUpdate(r);return}}};r.prototype.connectedCallback=function(){this.ionRouteDataChanged.emit()};Object.defineProperty(r,"watchers",{get:function(){return{url:["onUpdate"],component:["onUpdate"],componentProps:["onComponentProps"]}},enumerable:false,configurable:true});return r}());var l=r("ion_route_redirect",function(){function r(r){t(this,r);this.ionRouteRedirectChanged=n(this,"ionRouteRedirectChanged",7);this.from=undefined;this.to=undefined}r.prototype.propDidChange=function(){this.ionRouteRedirectChanged.emit()};r.prototype.connectedCallback=function(){this.ionRouteRedirectChanged.emit()};Object.defineProperty(r,"watchers",{get:function(){return{from:["propDidChange"],to:["propDidChange"]}},enumerable:false,configurable:true});return r}());var d="root";var _="forward";var w="back";var b=function(r){var t=r.filter((function(r){return r.length>0})).join("/");return"/"+t};var g=function(r,t,n){var e=b(r);if(t){e="#"+e}if(n!==undefined){e+="?"+n}return e};var m=function(r,t,n,e,i,u,o){var a=g(__spreadArray(__spreadArray([],j(t).segments,true),e,true),n,o);if(i===_){r.pushState(u,"",a)}else{r.replaceState(u,"",a)}};var p=function(r){var t=[];for(var n=0,e=r;n<e.length;n++){var i=e[n];for(var u=0,o=i.segments;u<o.length;u++){var a=o[u];if(a[0]===":"){var f=i.params&&i.params[a.slice(1)];if(!f){return null}t.push(f)}else if(a!==""){t.push(a)}}}return t};var y=function(r,t){if(r.length>t.length){return null}if(r.length<=1&&r[0]===""){return t}for(var n=0;n<r.length;n++){if(r[n]!==t[n]){return null}}if(t.length===r.length){return[""]}return t.slice(r.length)};var R=function(r,t,n){var e=j(t).segments;var i=n?r.hash.slice(1):r.pathname;var u=j(i).segments;return y(e,u)};var j=function(r){var t=[""];var n;if(r!=null){var e=r.indexOf("?");if(e>-1){n=r.substring(e+1);r=r.substring(0,e)}t=r.split("/").map((function(r){return r.trim()})).filter((function(r){return r.length>0}));if(t.length===0){t=[""]}}return{segments:t,queryString:n}};var O=function(r){console.group("[ion-core] ROUTES[".concat(r.length,"]"));var t=function(r){var t=[];r.forEach((function(r){return t.push.apply(t,r.segments)}));var n=r.map((function(r){return r.id}));console.debug("%c ".concat(b(t)),"font-weight: bold; padding-left: 20px","=>\t","(".concat(n.join(", "),")"))};for(var n=0,e=r;n<e.length;n++){var i=e[n];t(i)}console.groupEnd()};var k=function(r){console.group("[ion-core] REDIRECTS[".concat(r.length,"]"));for(var t=0,n=r;t<n.length;t++){var e=n[t];if(e.to){console.debug("FROM: ","$c ".concat(b(e.from)),"font-weight: bold"," TO: ","$c ".concat(b(e.to.segments)),"font-weight: bold")}}console.groupEnd()};var C=function(r,t,n,e){var i=[];for(var u=4;u<arguments.length;u++){i[u-4]=arguments[u]}return __awaiter(h,__spreadArray([r,t,n,e],i,true),void 0,(function(r,t,n,e,i,u){var a,f,s,c;if(i===void 0){i=false}return __generator(this,(function(h){switch(h.label){case 0:h.trys.push([0,6,,7]);a=P(r);if(e>=t.length||!a){return[2,i]}return[4,new Promise((function(r){return o(a,r)}))];case 1:h.sent();f=t[e];return[4,a.setRouteId(f.id,f.params,n,u)];case 2:s=h.sent();if(s.changed){n=d;i=true}return[4,C(s.element,t,n,e+1,i,u)];case 3:i=h.sent();if(!s.markVisible)return[3,5];return[4,s.markVisible()];case 4:h.sent();h.label=5;case 5:return[2,i];case 6:c=h.sent();console.error(c);return[2,false];case 7:return[2]}}))}))};var E=function(r){return __awaiter(h,void 0,void 0,(function(){var t,n,e,i;return __generator(this,(function(u){switch(u.label){case 0:t=[];e=r;u.label=1;case 1:if(!(n=P(e)))return[3,3];return[4,n.getRouteId()];case 2:i=u.sent();if(i){e=i.element;i.element=undefined;t.push(i)}else{return[3,3]}return[3,1];case 3:return[2,{ids:t,outlet:n}]}}))}))};var A=function(){if(P(document.body)){return Promise.resolve()}return new Promise((function(r){window.addEventListener("ionNavWillLoad",(function(){return r()}),{once:true})}))};var x=":not([no-router]) ion-nav, :not([no-router]) ion-tabs, :not([no-router]) ion-router-outlet";var P=function(r){if(!r){return undefined}if(r.matches(x)){return r}var t=r.querySelector(x);return t!==null&&t!==void 0?t:undefined};var U=function(r,t){var n=t.from,e=t.to;if(e===undefined){return false}if(n.length>r.length){return false}for(var i=0;i<n.length;i++){var u=n[i];if(u==="*"){return true}if(u!==r[i]){return false}}return n.length===r.length};var D=function(r,t){return t.find((function(t){return U(r,t)}))};var L=function(r,t){var n=Math.min(r.length,t.length);var e=0;for(var i=0;i<n;i++){var u=r[i];var o=t[i];if(u.id.toLowerCase()!==o.id){break}if(u.params){var a=Object.keys(u.params);if(a.length===o.segments.length){var f=a.map((function(r){return":".concat(r)}));for(var s=0;s<f.length;s++){if(f[s].toLowerCase()!==o.segments[s]){break}e++}}}e++}return e};var T=function(r,t){var n=new q(r);var e=false;var i;for(var u=0;u<t.length;u++){var o=t[u].segments;if(o[0]===""){e=true}else{for(var a=0,f=o;a<f.length;a++){var s=f[a];var c=n.next();if(s[0]===":"){if(c===""){return null}i=i||[];var h=i[u]||(i[u]={});h[s.slice(1)]=c}else if(c!==s){return null}}e=false}}var v=e?e===(n.next()===""):true;if(!v){return null}if(i){return t.map((function(r,t){return{id:r.id,segments:r.segments,params:S(r.params,i[t]),beforeEnter:r.beforeEnter,beforeLeave:r.beforeLeave}}))}return t};var S=function(r,t){return r||t?Object.assign(Object.assign({},r),t):undefined};var I=function(r,t){var n=null;var e=0;for(var i=0,u=t;i<u.length;i++){var o=u[i];var a=L(r,o);if(a>e){n=o;e=a}}if(n){return n.map((function(t,n){var e;return{id:t.id,segments:t.segments,params:S(t.params,(e=r[n])===null||e===void 0?void 0:e.params)}}))}return null};var M=function(r,t){var n=null;var e=0;for(var i=0,u=t;i<u.length;i++){var o=u[i];var a=T(r,o);if(a!==null){var f=N(a);if(f>e){e=f;n=a}}}return n};var N=function(r){var t=1;var n=1;for(var e=0,i=r;e<i.length;e++){var u=i[e];for(var o=0,a=u.segments;o<a.length;o++){var f=a[o];if(f[0]===":"){t+=Math.pow(1,n)}else if(f!==""){t+=Math.pow(2,n)}n++}}return t};var q=function(){function r(r){this.segments=r.slice()}r.prototype.next=function(){if(this.segments.length>0){return this.segments.shift()}return""};return r}();var F=function(r,t){if(t in r){return r[t]}if(r.hasAttribute(t)){return r.getAttribute(t)}return null};var W=function(r){return Array.from(r.children).filter((function(r){return r.tagName==="ION-ROUTE-REDIRECT"})).map((function(r){var t=F(r,"to");return{from:j(F(r,"from")).segments,to:t==null?undefined:j(t)}}))};var $=function(r){return G(z(r))};var z=function(r){return Array.from(r.children).filter((function(r){return r.tagName==="ION-ROUTE"&&r.component})).map((function(r){var t=F(r,"component");return{segments:j(F(r,"url")).segments,id:t.toLowerCase(),params:r.componentProps,beforeLeave:r.beforeLeave,beforeEnter:r.beforeEnter,children:z(r)}}))};var G=function(r){var t=[];for(var n=0,e=r;n<e.length;n++){var i=e[n];B([],t,i)}return t};var B=function(r,t,n){r=__spreadArray(__spreadArray([],r,true),[{id:n.id,segments:n.segments,params:n.params,beforeLeave:n.beforeLeave,beforeEnter:n.beforeEnter}],false);if(n.children.length===0){t.push(r);return}for(var e=0,i=n.children;e<i.length;e++){var u=i[e];B(r,t,u)}};var H=r("ion_router",function(){function r(r){t(this,r);this.ionRouteWillChange=n(this,"ionRouteWillChange",7);this.ionRouteDidChange=n(this,"ionRouteDidChange",7);this.previousPath=null;this.busy=false;this.state=0;this.lastState=0;this.root="/";this.useHash=true}r.prototype.componentWillLoad=function(){return __awaiter(this,void 0,void 0,(function(){var r,t,n;return __generator(this,(function(e){switch(e.label){case 0:return[4,A()];case 1:e.sent();return[4,this.runGuards(this.getSegments())];case 2:r=e.sent();if(!(r!==true))return[3,5];if(!(typeof r==="object"))return[3,4];t=r.redirect;n=j(t);this.setSegments(n.segments,d,n.queryString);return[4,this.writeNavStateRoot(n.segments,d)];case 3:e.sent();e.label=4;case 4:return[3,7];case 5:return[4,this.onRoutesChanged()];case 6:e.sent();e.label=7;case 7:return[2]}}))}))};r.prototype.componentDidLoad=function(){window.addEventListener("ionRouteRedirectChanged",a(this.onRedirectChanged.bind(this),10));window.addEventListener("ionRouteDataChanged",a(this.onRoutesChanged.bind(this),100))};r.prototype.onPopState=function(){return __awaiter(this,void 0,void 0,(function(){var r,t,n;return __generator(this,(function(e){switch(e.label){case 0:r=this.historyDirection();t=this.getSegments();return[4,this.runGuards(t)];case 1:n=e.sent();if(n!==true){if(typeof n==="object"){t=j(n.redirect).segments}else{return[2,false]}}return[2,this.writeNavStateRoot(t,r)]}}))}))};r.prototype.onBackButton=function(r){var t=this;r.detail.register(0,(function(r){t.back();r()}))};r.prototype.canTransition=function(){return __awaiter(this,void 0,void 0,(function(){var r;return __generator(this,(function(t){switch(t.label){case 0:return[4,this.runGuards()];case 1:r=t.sent();if(r!==true){if(typeof r==="object"){return[2,r.redirect]}else{return[2,false]}}return[2,true]}}))}))};r.prototype.push=function(r){return __awaiter(this,arguments,void 0,(function(r,t,n){var e,i,u,o,a;if(t===void 0){t="forward"}return __generator(this,(function(f){switch(f.label){case 0:if(r.startsWith(".")){i=(e=this.previousPath)!==null&&e!==void 0?e:"/";u=new URL(r,"https://host/".concat(i));r=u.pathname+u.search}o=j(r);return[4,this.runGuards(o.segments)];case 1:a=f.sent();if(a!==true){if(typeof a==="object"){o=j(a.redirect)}else{return[2,false]}}this.setSegments(o.segments,t,o.queryString);return[2,this.writeNavStateRoot(o.segments,t,n)]}}))}))};r.prototype.back=function(){window.history.back();return Promise.resolve(this.waitPromise)};r.prototype.printDebug=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(r){O($(this.el));k(W(this.el));return[2]}))}))};r.prototype.navChanged=function(r){return __awaiter(this,void 0,void 0,(function(){var t,n,e,i,u,o;return __generator(this,(function(a){switch(a.label){case 0:if(this.busy){console.warn("[ion-router] router is busy, navChanged was cancelled");return[2,false]}return[4,E(window.document.body)];case 1:t=a.sent(),n=t.ids,e=t.outlet;i=$(this.el);u=I(n,i);if(!u){console.warn("[ion-router] no matching URL for ",n.map((function(r){return r.id})));return[2,false]}o=p(u);if(!o){console.warn("[ion-router] router could not match path because some required param is missing");return[2,false]}this.setSegments(o,r);return[4,this.safeWriteNavState(e,u,d,o,null,n.length)];case 2:a.sent();return[2,true]}}))}))};r.prototype.onRedirectChanged=function(){var r=this.getSegments();if(r&&D(r,W(this.el))){this.writeNavStateRoot(r,d)}};r.prototype.onRoutesChanged=function(){return this.writeNavStateRoot(this.getSegments(),d)};r.prototype.historyDirection=function(){var r;var t=window;if(t.history.state===null){this.state++;t.history.replaceState(this.state,t.document.title,(r=t.document.location)===null||r===void 0?void 0:r.href)}var n=t.history.state;var e=this.lastState;this.lastState=n;if(n>e||n>=e&&e>0){return _}if(n<e){return w}return d};r.prototype.writeNavStateRoot=function(r,t,n){return __awaiter(this,void 0,void 0,(function(){var e,i,u,o,a,f,s,c;return __generator(this,(function(h){if(!r){console.error("[ion-router] URL is not part of the routing set");return[2,false]}e=W(this.el);i=D(r,e);u=null;if(i){o=i.to,a=o.segments,f=o.queryString;this.setSegments(a,t,f);u=i.from;r=a}s=$(this.el);c=M(r,s);if(!c){console.error("[ion-router] the path does not match any route");return[2,false]}return[2,this.safeWriteNavState(document.body,c,t,r,u,0,n)]}))}))};r.prototype.safeWriteNavState=function(r,t,n,e,i){return __awaiter(this,arguments,void 0,(function(r,t,n,e,i,u,o){var a,f,s;if(u===void 0){u=0}return __generator(this,(function(c){switch(c.label){case 0:return[4,this.lock()];case 1:a=c.sent();f=false;c.label=2;case 2:c.trys.push([2,4,,5]);return[4,this.writeNavState(r,t,n,e,i,u,o)];case 3:f=c.sent();return[3,5];case 4:s=c.sent();console.error(s);return[3,5];case 5:a();return[2,f]}}))}))};r.prototype.lock=function(){return __awaiter(this,void 0,void 0,(function(){var r,t;return __generator(this,(function(n){switch(n.label){case 0:r=this.waitPromise;this.waitPromise=new Promise((function(r){return t=r}));if(!(r!==undefined))return[3,2];return[4,r];case 1:n.sent();n.label=2;case 2:return[2,t]}}))}))};r.prototype.runGuards=function(){return __awaiter(this,arguments,void 0,(function(r,t){var n,e,i,u,o,a,f;if(r===void 0){r=this.getSegments()}return __generator(this,(function(s){switch(s.label){case 0:if(t===undefined){t=j(this.previousPath).segments}if(!r||!t){return[2,true]}n=$(this.el);e=M(t,n);i=e&&e[e.length-1].beforeLeave;if(!i)return[3,2];return[4,i()];case 1:o=s.sent();return[3,3];case 2:o=true;s.label=3;case 3:u=o;if(u===false||typeof u==="object"){return[2,u]}a=M(r,n);f=a&&a[a.length-1].beforeEnter;return[2,f?f():true]}}))}))};r.prototype.writeNavState=function(r,t,n,e,i){return __awaiter(this,arguments,void 0,(function(r,t,n,e,i,u,o){var a,f;if(u===void 0){u=0}return __generator(this,(function(s){switch(s.label){case 0:if(this.busy){console.warn("[ion-router] router is busy, transition was cancelled");return[2,false]}this.busy=true;a=this.routeChangeEvent(e,i);if(a){this.ionRouteWillChange.emit(a)}return[4,C(r,t,n,u,false,o)];case 1:f=s.sent();this.busy=false;if(a){this.ionRouteDidChange.emit(a)}return[2,f]}}))}))};r.prototype.setSegments=function(r,t,n){this.state++;m(window.history,this.root,this.useHash,r,t,this.state,n)};r.prototype.getSegments=function(){return R(window.location,this.root,this.useHash)};r.prototype.routeChangeEvent=function(r,t){var n=this.previousPath;var e=b(r);this.previousPath=e;if(e===n){return null}var i=t?b(t):null;return{from:n,redirectedFrom:i,to:e}};Object.defineProperty(r.prototype,"el",{get:function(){return e(this)},enumerable:false,configurable:true});return r}());var J=":host{--background:transparent;--color:var(--ion-color-primary, #0054e9);background:var(--background);color:var(--color)}:host(.ion-color){color:var(--ion-color-base)}a{font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit}";var K=J;var Q=r("ion_router_link",function(){function r(r){var n=this;t(this,r);this.onClick=function(r){f(n.href,r,n.routerDirection,n.routerAnimation)};this.color=undefined;this.href=undefined;this.rel=undefined;this.routerDirection="forward";this.routerAnimation=undefined;this.target=undefined}r.prototype.render=function(){var r;var t=c(this);var n={href:this.href,rel:this.rel,target:this.target};return i(u,{key:"529ceed5beaf92d7b4cc315c82f449eac18310e8",onClick:this.onClick,class:s(this.color,(r={},r[t]=true,r["ion-activatable"]=true,r))},i("a",Object.assign({key:"d5f1f8b256695d70bdafd20ff3d1b625963fa2da"},n),i("slot",{key:"613fcdb36a71e076f989551ea21f1d5c118b1cd2"})))};return r}());Q.style=K}}}));
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * (C) Ionic http://ionicframework.com - MIT License
3
3
  */
4
- import{d as t}from"./p-7b30edcc.js";import{p as e}from"./p-b51e4004.js";const o=o=>{if(void 0===t)return;let s,p,u,d=0;const l=o.getBoolean("animated",!0)&&o.getBoolean("rippleEffect",!0),v=new WeakMap,m=()=>{u&&clearTimeout(u),u=void 0,s&&(h(!1),s=void 0)},b=(t,o)=>{if(t&&t===s)return;u&&clearTimeout(u),u=void 0;const{x:i,y:r}=e(o);if(s){if(v.has(s))throw new Error("internal error");s.classList.contains(a)||w(s,i,r),h(!0)}if(t){const e=v.get(t);e&&(clearTimeout(e),v.delete(t)),t.classList.remove(a);const o=()=>{w(t,i,r),u=void 0};n(t)?o():u=setTimeout(o,c)}s=t},w=(t,e,o)=>{if(d=Date.now(),t.classList.add(a),!l)return;const i=r(t);null!==i&&(T(),p=i.addRipple(e,o))},T=()=>{void 0!==p&&(p.then((t=>t())),p=void 0)},h=t=>{T();const e=s;if(!e)return;const o=f-Date.now()+d;if(t&&o>0&&!n(e)){const t=setTimeout((()=>{e.classList.remove(a),v.delete(e)}),f);v.set(e,t)}else e.classList.remove(a)};t.addEventListener("ionGestureCaptured",m),t.addEventListener("pointerdown",(t=>{s||2===t.button||b(i(t),t)}),!0),t.addEventListener("pointerup",(t=>{b(void 0,t)}),!0),t.addEventListener("pointercancel",m,!0)},i=t=>{if(void 0===t.composedPath)return t.target.closest(".ion-activatable");{const e=t.composedPath();for(let t=0;t<e.length-2;t++){const o=e[t];if(!(o instanceof ShadowRoot)&&o.classList.contains("ion-activatable"))return o}}},n=t=>t.classList.contains("ion-activatable-instant"),r=t=>{if(t.shadowRoot){const e=t.shadowRoot.querySelector("ion-ripple-effect");if(e)return e}return t.querySelector("ion-ripple-effect")},a="ion-activated",c=100,f=150;export{o as startTapClick}
4
+ import{d as t}from"./p-7b30edcc.js";import{q as e}from"./p-bb11d9fb.js";const o=o=>{if(void 0===t)return;let s,d,p,u=0;const l=o.getBoolean("animated",!0)&&o.getBoolean("rippleEffect",!0),v=new WeakMap,m=()=>{p&&clearTimeout(p),p=void 0,s&&(h(!1),s=void 0)},b=(t,o)=>{if(t&&t===s)return;p&&clearTimeout(p),p=void 0;const{x:i,y:r}=e(o);if(s){if(v.has(s))throw new Error("internal error");s.classList.contains(a)||w(s,i,r),h(!0)}if(t){const e=v.get(t);e&&(clearTimeout(e),v.delete(t)),t.classList.remove(a);const o=()=>{w(t,i,r),p=void 0};n(t)?o():p=setTimeout(o,c)}s=t},w=(t,e,o)=>{if(u=Date.now(),t.classList.add(a),!l)return;const i=r(t);null!==i&&(T(),d=i.addRipple(e,o))},T=()=>{void 0!==d&&(d.then((t=>t())),d=void 0)},h=t=>{T();const e=s;if(!e)return;const o=f-Date.now()+u;if(t&&o>0&&!n(e)){const t=setTimeout((()=>{e.classList.remove(a),v.delete(e)}),f);v.set(e,t)}else e.classList.remove(a)};t.addEventListener("ionGestureCaptured",m),t.addEventListener("pointerdown",(t=>{s||2===t.button||b(i(t),t)}),!0),t.addEventListener("pointerup",(t=>{b(void 0,t)}),!0),t.addEventListener("pointercancel",m,!0)},i=t=>{if(void 0===t.composedPath)return t.target.closest(".ion-activatable");{const e=t.composedPath();for(let t=0;t<e.length-2;t++){const o=e[t];if(!(o instanceof ShadowRoot)&&o.classList.contains("ion-activatable"))return o}}},n=t=>t.classList.contains("ion-activatable-instant"),r=t=>{if(t.shadowRoot){const e=t.shadowRoot.querySelector("ion-ripple-effect");if(e)return e}return t.querySelector("ion-ripple-effect")},a="ion-activated",c=100,f=150;export{o as startTapClick}
@@ -1,4 +1,4 @@
1
1
  var __awaiter=this&&this.__awaiter||function(t,e,r,o){function i(t){return t instanceof r?t:new r((function(e){e(t)}))}return new(r||(r=Promise))((function(r,n){function a(t){try{p(o.next(t))}catch(t){n(t)}}function s(t){try{p(o["throw"](t))}catch(t){n(t)}}function p(t){t.done?r(t.value):i(t.value).then(a,s)}p((o=o.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var r={label:0,sent:function(){if(n[0]&1)throw n[1];return n[1]},trys:[],ops:[]},o,i,n,a;return a={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(a[Symbol.iterator]=function(){return this}),a;function s(t){return function(e){return p([t,e])}}function p(s){if(o)throw new TypeError("Generator is already executing.");while(a&&(a=0,s[0]&&(r=0)),r)try{if(o=1,i&&(n=s[0]&2?i["return"]:s[0]?i["throw"]||((n=i["return"])&&n.call(i),0):i.next)&&!(n=n.call(i,s[1])).done)return n;if(i=0,n)s=[s[0]&2,n.value];switch(s[0]){case 0:case 1:n=s;break;case 4:r.label++;return{value:s[1],done:false};case 5:r.label++;i=s[1];s=[0];continue;case 7:s=r.ops.pop();r.trys.pop();continue;default:if(!(n=r.trys,n=n.length>0&&n[n.length-1])&&(s[0]===6||s[0]===2)){r=0;continue}if(s[0]===3&&(!n||s[1]>n[0]&&s[1]<n[3])){r.label=s[1];break}if(s[0]===6&&r.label<n[1]){r.label=n[1];n=s;break}if(n&&r.label<n[2]){r.label=n[2];r.ops.push(s);break}if(n[2])r.ops.pop();r.trys.pop();continue}s=e.call(t,r)}catch(t){s=[6,t];i=0}finally{o=n=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};
2
2
  /*!
3
3
  * (C) Ionic http://ionicframework.com - MIT License
4
- */System.register(["./p-25180df3.system.js","./p-0aa833fb.system.js","./p-8635f5e6.system.js","./p-3ad285e3.system.js","./p-4f255d5a.system.js","./p-ff4b7e40.system.js","./p-a69b9fc5.system.js","./p-4609d030.system.js","./p-f9a53abb.system.js","./p-9146695e.system.js","./p-792919fd.system.js","./p-9f3008d4.system.js","./p-20d469d0.system.js"],(function(t){"use strict";var e,r,o,i,n,a,s,p,f,c,v,u,d,h,l,g,b,x,m,w,k,y,P,_,D,T,j,N;return{setters:[function(t){e=t.r;r=t.d;o=t.h;i=t.f;n=t.i},function(t){a=t.B;s=t.j;p=t.k;f=t.f;c=t.n;v=t.g;u=t.h;d=t.F},function(t){h=t.C;l=t.a;g=t.d},function(t){b=t.r;x=t.g;m=t.a;w=t.k},function(t){k=t.c},function(t){y=t.p},function(t){P=t.b;_=t.a},function(t){D=t.g},function(t){T=t.e;j=t.w},function(t){N=t.c},function(){},function(){},function(){}],execute:function(){var O=this;var A=function(t){if(!t){return{arrowWidth:0,arrowHeight:0}}var e=t.getBoundingClientRect(),r=e.width,o=e.height;return{arrowWidth:r,arrowHeight:o}};var I=function(t,e,r){var o=e.getBoundingClientRect();var i=o.height;var n=o.width;if(t==="cover"&&r){var a=r.getBoundingClientRect();n=a.width}return{contentWidth:n,contentHeight:i}};var W=function(t,e,r,o){var i=[];var n=x(o);var a=n.querySelector(".popover-content");switch(e){case"hover":i=[{eventName:"mouseenter",callback:function(e){var o=document.elementFromPoint(e.clientX,e.clientY);if(o===t){return}r.dismiss(undefined,undefined,false)}}];break;case"context-menu":case"click":default:i=[{eventName:"click",callback:function(e){var o=e.target;var i=o.closest("[data-ion-popover-trigger]");if(i===t){e.stopPropagation();return}r.dismiss(undefined,undefined,false)}}];break}i.forEach((function(t){var e=t.eventName,r=t.callback;return a.addEventListener(e,r)}));return function(){i.forEach((function(t){var e=t.eventName,r=t.callback;return a.removeEventListener(e,r)}))}};var L=function(t,e,r){var o=[];switch(e){case"hover":var i;o=[{eventName:"mouseenter",callback:function(t){return __awaiter(O,void 0,void 0,(function(){return __generator(this,(function(e){t.stopPropagation();if(i){clearTimeout(i)}i=setTimeout((function(){b((function(){r.presentFromTrigger(t);i=undefined}))}),100);return[2]}))}))}},{eventName:"mouseleave",callback:function(t){if(i){clearTimeout(i)}var e=t.relatedTarget;if(!e){return}if(e.closest("ion-popover")!==r){r.dismiss(undefined,undefined,false)}}},{eventName:"click",callback:function(t){return t.stopPropagation()}},{eventName:"ionPopoverActivateTrigger",callback:function(t){return r.presentFromTrigger(t,true)}}];break;case"context-menu":o=[{eventName:"contextmenu",callback:function(t){t.preventDefault();r.presentFromTrigger(t)}},{eventName:"click",callback:function(t){return t.stopPropagation()}},{eventName:"ionPopoverActivateTrigger",callback:function(t){return r.presentFromTrigger(t,true)}}];break;case"click":default:o=[{eventName:"click",callback:function(t){return r.presentFromTrigger(t)}},{eventName:"ionPopoverActivateTrigger",callback:function(t){return r.presentFromTrigger(t,true)}}];break}o.forEach((function(e){var r=e.eventName,o=e.callback;return t.addEventListener(r,o)}));t.setAttribute("data-ion-popover-trigger","true");return function(){o.forEach((function(e){var r=e.eventName,o=e.callback;return t.removeEventListener(r,o)}));t.removeAttribute("data-ion-popover-trigger")}};var z=function(t,e){if(!e||e.tagName!=="ION-ITEM"){return-1}return t.findIndex((function(t){return t===e}))};var E=function(t,e){var r=z(t,e);return t[r+1]};var X=function(t,e){var r=z(t,e);return t[r-1]};var Y=function(t){var e=x(t);var r=e.querySelector("button");if(r){b((function(){return r.focus()}))}};var C=function(t){return t.hasAttribute("data-ion-popover-trigger")};var M=function(t){var e=function(e){return __awaiter(O,void 0,void 0,(function(){var r,o,i,n,a,s,p,f,c,v,u;return __generator(this,(function(d){switch(d.label){case 0:o=document.activeElement;i=[];n=(r=e.target)===null||r===void 0?void 0:r.tagName;if(n!=="ION-POPOVER"&&n!=="ION-ITEM"){return[2]}try{i=Array.from(t.querySelectorAll("ion-item:not(ion-popover ion-popover *):not([disabled])"))}catch(t){}a=e.key;switch(a){case"ArrowLeft":return[3,1];case"ArrowDown":return[3,3];case"ArrowUp":return[3,4];case"Home":return[3,5];case"End":return[3,6];case"ArrowRight":return[3,7];case" ":return[3,7];case"Enter":return[3,7]}return[3,8];case 1:return[4,t.getParentPopover()];case 2:s=d.sent();if(s){t.dismiss(undefined,undefined,false)}return[3,8];case 3:e.preventDefault();p=E(i,o);if(p!==undefined){Y(p)}return[3,8];case 4:e.preventDefault();f=X(i,o);if(f!==undefined){Y(f)}return[3,8];case 5:e.preventDefault();c=i[0];if(c!==undefined){Y(c)}return[3,8];case 6:e.preventDefault();v=i[i.length-1];if(v!==undefined){Y(v)}return[3,8];case 7:if(o&&C(o)){u=new CustomEvent("ionPopoverActivateTrigger");o.dispatchEvent(u)}return[3,8];case 8:return[2]}}))}))};t.addEventListener("keydown",e);return function(){return t.removeEventListener("keydown",e)}};var S=function(t,e,r,o,i,n,a,s,p,f,c){var v;var u={top:0,left:0,width:0,height:0};switch(n){case"event":if(!c){return p}var d=c;u={top:d.clientY,left:d.clientX,width:1,height:1};break;case"trigger":default:var h=c;var l=f||((v=h===null||h===void 0?void 0:h.detail)===null||v===void 0?void 0:v.ionShadowTarget)||(h===null||h===void 0?void 0:h.target);if(!l){return p}var g=l.getBoundingClientRect();u={top:g.top,left:g.left,width:g.width,height:g.height};break}var b=G(a,u,e,r,o,i,t);var x=U(s,a,u,e,r);var m=b.top+x.top;var w=b.left+x.left;var k=B(a,o,i,m,w,e,r,t),y=k.arrowTop,P=k.arrowLeft;var _=V(a,s,t),D=_.originX,T=_.originY;return{top:m,left:w,referenceCoordinates:u,arrowTop:y,arrowLeft:P,originX:D,originY:T}};var V=function(t,e,r){switch(t){case"top":return{originX:H(e),originY:"bottom"};case"bottom":return{originX:H(e),originY:"top"};case"left":return{originX:"right",originY:R(e)};case"right":return{originX:"left",originY:R(e)};case"start":return{originX:r?"left":"right",originY:R(e)};case"end":return{originX:r?"right":"left",originY:R(e)}}};var H=function(t){switch(t){case"start":return"left";case"center":return"center";case"end":return"right"}};var R=function(t){switch(t){case"start":return"top";case"center":return"center";case"end":return"bottom"}};var B=function(t,e,r,o,i,n,a,s){var p={arrowTop:o+a/2-e/2,arrowLeft:i+n-e/2};var f={arrowTop:o+a/2-e/2,arrowLeft:i-e*1.5};switch(t){case"top":return{arrowTop:o+a,arrowLeft:i+n/2-e/2};case"bottom":return{arrowTop:o-r,arrowLeft:i+n/2-e/2};case"left":return p;case"right":return f;case"start":return s?f:p;case"end":return s?p:f;default:return{arrowTop:0,arrowLeft:0}}};var G=function(t,e,r,o,i,n,a){var s={top:e.top,left:e.left-r-i};var p={top:e.top,left:e.left+e.width+i};switch(t){case"top":return{top:e.top-o-n,left:e.left};case"right":return p;case"bottom":return{top:e.top+e.height+n,left:e.left};case"left":return s;case"start":return a?p:s;case"end":return a?s:p}};var U=function(t,e,r,o,i){switch(t){case"center":return F(e,r,o,i);case"end":return q(e,r,o,i);case"start":default:return{top:0,left:0}}};var q=function(t,e,r,o){switch(t){case"start":case"end":case"left":case"right":return{top:-(o-e.height),left:0};case"top":case"bottom":default:return{top:0,left:-(r-e.width)}}};var F=function(t,e,r,o){switch(t){case"start":case"end":case"left":case"right":return{top:-(o/2-e.height/2),left:0};case"top":case"bottom":default:return{top:0,left:-(r/2-e.width/2)}}};var J=function(t,e,r,o,i,n,a,s,p,f,c,v,u,d,h){if(u===void 0){u=0}if(d===void 0){d=0}if(h===void 0){h=0}var l=u;var g=d;var b=r;var x=e;var m;var w=f;var k=c;var y=false;var P=false;var _=v?v.top+v.height:n/2-s/2;var D=v?v.height:0;var T=false;if(b<o+p){b=o;y=true;w="left"}else if(a+o+b+p>i){P=true;b=i-a-o;w="right"}if(_+D+s>n&&(t==="top"||t==="bottom")){if(_-s>0){x=Math.max(12,_-s-D-(h-1));l=x+s;k="bottom";T=true}else{m=o}}return{top:x,left:b,bottom:m,originX:w,originY:k,checkSafeAreaLeft:y,checkSafeAreaRight:P,arrowTop:l,arrowLeft:g,addPopoverBottomClass:T}};var K=function(t,e,r,o){if(e===void 0){e=false}if(!r&&!o){return false}if(t!=="top"&&t!=="bottom"&&e){return false}return true};var Q=5;var Z=function(t,e){var r;var o=e.event,i=e.size,n=e.trigger,a=e.reference,s=e.side,p=e.align;var f=t.ownerDocument;var c=f.dir==="rtl";var v=f.defaultView.innerWidth;var u=f.defaultView.innerHeight;var d=x(t);var h=d.querySelector(".popover-content");var l=d.querySelector(".popover-arrow");var g=n||((r=o===null||o===void 0?void 0:o.detail)===null||r===void 0?void 0:r.ionShadowTarget)||(o===null||o===void 0?void 0:o.target);var b=I(i,h,g),m=b.contentWidth,w=b.contentHeight;var k=A(l),y=k.arrowWidth,P=k.arrowHeight;var _={top:u/2-w/2,left:v/2-m/2,originX:c?"right":"left",originY:"top"};var D=S(c,m,w,y,P,a,s,p,_,n,o);var T=i==="cover"?0:Q;var j=i==="cover"?0:25;var O=J(s,D.top,D.left,T,v,u,m,w,j,D.originX,D.originY,D.referenceCoordinates,D.arrowTop,D.arrowLeft,P),W=O.originX,L=O.originY,z=O.top,E=O.left,X=O.bottom,Y=O.checkSafeAreaLeft,C=O.checkSafeAreaRight,M=O.arrowTop,V=O.arrowLeft,H=O.addPopoverBottomClass;var R=N();var B=N();var G=N();B.addElement(d.querySelector("ion-backdrop")).fromTo("opacity",.01,"var(--backdrop-opacity)").beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"]);G.addElement(d.querySelector(".popover-arrow")).addElement(d.querySelector(".popover-content")).fromTo("opacity",.01,1);return R.easing("ease").duration(100).beforeAddWrite((function(){if(i==="cover"){t.style.setProperty("--width","".concat(m,"px"))}if(H){t.classList.add("popover-bottom")}if(X!==undefined){h.style.setProperty("bottom","".concat(X,"px"))}var e=" + var(--ion-safe-area-left, 0)";var r=" - var(--ion-safe-area-right, 0)";var a="".concat(E,"px");if(Y){a="".concat(E,"px").concat(e)}if(C){a="".concat(E,"px").concat(r)}h.style.setProperty("top","calc(".concat(z,"px + var(--offset-y, 0))"));h.style.setProperty("left","calc(".concat(a," + var(--offset-x, 0))"));h.style.setProperty("transform-origin","".concat(L," ").concat(W));if(l!==null){var p=D.top!==z||D.left!==E;var f=K(s,p,o,n);if(f){l.style.setProperty("top","calc(".concat(M,"px + var(--offset-y, 0))"));l.style.setProperty("left","calc(".concat(V,"px + var(--offset-x, 0))"))}else{l.style.setProperty("display","none")}}})).addAnimation([B,G])};var $=function(t){var e=x(t);var r=e.querySelector(".popover-content");var o=e.querySelector(".popover-arrow");var i=N();var n=N();var a=N();n.addElement(e.querySelector("ion-backdrop")).fromTo("opacity","var(--backdrop-opacity)",0);a.addElement(e.querySelector(".popover-arrow")).addElement(e.querySelector(".popover-content")).fromTo("opacity",.99,0);return i.easing("ease").afterAddWrite((function(){t.style.removeProperty("--width");t.classList.remove("popover-bottom");r.style.removeProperty("top");r.style.removeProperty("left");r.style.removeProperty("bottom");r.style.removeProperty("transform-origin");if(o){o.style.removeProperty("top");o.style.removeProperty("left");o.style.removeProperty("display")}})).duration(300).addAnimation([n,a])};var tt=12;var et=function(t,e){var r;var o=e.event,i=e.size,n=e.trigger,a=e.reference,s=e.side,p=e.align;var f=t.ownerDocument;var c=f.dir==="rtl";var v=f.defaultView.innerWidth;var u=f.defaultView.innerHeight;var d=x(t);var h=d.querySelector(".popover-content");var l=n||((r=o===null||o===void 0?void 0:o.detail)===null||r===void 0?void 0:r.ionShadowTarget)||(o===null||o===void 0?void 0:o.target);var g=I(i,h,l),b=g.contentWidth,m=g.contentHeight;var w={top:u/2-m/2,left:v/2-b/2,originX:c?"right":"left",originY:"top"};var k=S(c,b,m,0,0,a,s,p,w,n,o);var y=i==="cover"?0:tt;var P=J(s,k.top,k.left,y,v,u,b,m,0,k.originX,k.originY,k.referenceCoordinates),_=P.originX,D=P.originY,T=P.top,j=P.left,O=P.bottom;var A=N();var W=N();var L=N();var z=N();var E=N();W.addElement(d.querySelector("ion-backdrop")).fromTo("opacity",.01,"var(--backdrop-opacity)").beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"]);L.addElement(d.querySelector(".popover-wrapper")).duration(150).fromTo("opacity",.01,1);z.addElement(h).beforeStyles({top:"calc(".concat(T,"px + var(--offset-y, 0px))"),left:"calc(".concat(j,"px + var(--offset-x, 0px))"),"transform-origin":"".concat(D," ").concat(_)}).beforeAddWrite((function(){if(O!==undefined){h.style.setProperty("bottom","".concat(O,"px"))}})).fromTo("transform","scale(0.8)","scale(1)");E.addElement(d.querySelector(".popover-viewport")).fromTo("opacity",.01,1);return A.easing("cubic-bezier(0.36,0.66,0.04,1)").duration(300).beforeAddWrite((function(){if(i==="cover"){t.style.setProperty("--width","".concat(b,"px"))}if(D==="bottom"){t.classList.add("popover-bottom")}})).addAnimation([W,L,z,E])};var rt=function(t){var e=x(t);var r=e.querySelector(".popover-content");var o=N();var i=N();var n=N();i.addElement(e.querySelector("ion-backdrop")).fromTo("opacity","var(--backdrop-opacity)",0);n.addElement(e.querySelector(".popover-wrapper")).fromTo("opacity",.99,0);return o.easing("ease").afterAddWrite((function(){t.style.removeProperty("--width");t.classList.remove("popover-bottom");r.style.removeProperty("top");r.style.removeProperty("left");r.style.removeProperty("bottom");r.style.removeProperty("transform-origin")})).duration(150).addAnimation([i,n])};var ot=':host{--background:var(--ion-background-color, #fff);--min-width:0;--min-height:0;--max-width:auto;--height:auto;--offset-x:0px;--offset-y:0px;left:0;right:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:fixed;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;outline:none;color:var(--ion-text-color, #000);z-index:1001}:host(.popover-nested){pointer-events:none}:host(.popover-nested) .popover-wrapper{pointer-events:auto}:host(.overlay-hidden){display:none}.popover-wrapper{z-index:10}.popover-content{display:-ms-flexbox;display:flex;position:absolute;-ms-flex-direction:column;flex-direction:column;width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);background:var(--background);-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);overflow:auto;z-index:10}::slotted(.popover-viewport){--ion-safe-area-top:0px;--ion-safe-area-right:0px;--ion-safe-area-bottom:0px;--ion-safe-area-left:0px;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}:host(.popover-nested.popover-side-left){--offset-x:5px}:host(.popover-nested.popover-side-right){--offset-x:-5px}:host(.popover-nested.popover-side-start){--offset-x:5px}:host-context([dir=rtl]):host(.popover-nested.popover-side-start),:host-context([dir=rtl]).popover-nested.popover-side-start{--offset-x:-5px}@supports selector(:dir(rtl)){:host(.popover-nested.popover-side-start:dir(rtl)){--offset-x:-5px}}:host(.popover-nested.popover-side-end){--offset-x:-5px}:host-context([dir=rtl]):host(.popover-nested.popover-side-end),:host-context([dir=rtl]).popover-nested.popover-side-end{--offset-x:5px}@supports selector(:dir(rtl)){:host(.popover-nested.popover-side-end:dir(rtl)){--offset-x:5px}}:host{--width:200px;--max-height:90%;--box-shadow:none;--backdrop-opacity:var(--ion-backdrop-opacity, 0.08)}:host(.popover-desktop){--box-shadow:0px 4px 16px 0px rgba(0, 0, 0, 0.12)}.popover-content{border-radius:10px}:host(.popover-desktop) .popover-content{border:0.5px solid var(--ion-color-step-100, var(--ion-background-color-step-100, #e6e6e6))}.popover-arrow{display:block;position:absolute;width:20px;height:10px;overflow:hidden;z-index:11}.popover-arrow::after{top:3px;border-radius:3px;position:absolute;width:14px;height:14px;-webkit-transform:rotate(45deg);transform:rotate(45deg);background:var(--background);content:"";z-index:10}.popover-arrow::after{inset-inline-start:3px}:host(.popover-bottom) .popover-arrow{top:auto;bottom:-10px}:host(.popover-bottom) .popover-arrow::after{top:-6px}:host(.popover-side-left) .popover-arrow{-webkit-transform:rotate(90deg);transform:rotate(90deg)}:host(.popover-side-right) .popover-arrow{-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}:host(.popover-side-top) .popover-arrow{-webkit-transform:rotate(180deg);transform:rotate(180deg)}:host(.popover-side-start) .popover-arrow{-webkit-transform:rotate(90deg);transform:rotate(90deg)}:host-context([dir=rtl]):host(.popover-side-start) .popover-arrow,:host-context([dir=rtl]).popover-side-start .popover-arrow{-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}@supports selector(:dir(rtl)){:host(.popover-side-start:dir(rtl)) .popover-arrow{-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}}:host(.popover-side-end) .popover-arrow{-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}:host-context([dir=rtl]):host(.popover-side-end) .popover-arrow,:host-context([dir=rtl]).popover-side-end .popover-arrow{-webkit-transform:rotate(90deg);transform:rotate(90deg)}@supports selector(:dir(rtl)){:host(.popover-side-end:dir(rtl)) .popover-arrow{-webkit-transform:rotate(90deg);transform:rotate(90deg)}}.popover-arrow,.popover-content{opacity:0}@supports ((-webkit-backdrop-filter: blur(0)) or (backdrop-filter: blur(0))){:host(.popover-translucent) .popover-content,:host(.popover-translucent) .popover-arrow::after{background:rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8);-webkit-backdrop-filter:saturate(180%) blur(20px);backdrop-filter:saturate(180%) blur(20px)}}';var it=ot;var nt=":host{--background:var(--ion-background-color, #fff);--min-width:0;--min-height:0;--max-width:auto;--height:auto;--offset-x:0px;--offset-y:0px;left:0;right:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:fixed;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;outline:none;color:var(--ion-text-color, #000);z-index:1001}:host(.popover-nested){pointer-events:none}:host(.popover-nested) .popover-wrapper{pointer-events:auto}:host(.overlay-hidden){display:none}.popover-wrapper{z-index:10}.popover-content{display:-ms-flexbox;display:flex;position:absolute;-ms-flex-direction:column;flex-direction:column;width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);background:var(--background);-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);overflow:auto;z-index:10}::slotted(.popover-viewport){--ion-safe-area-top:0px;--ion-safe-area-right:0px;--ion-safe-area-bottom:0px;--ion-safe-area-left:0px;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}:host(.popover-nested.popover-side-left){--offset-x:5px}:host(.popover-nested.popover-side-right){--offset-x:-5px}:host(.popover-nested.popover-side-start){--offset-x:5px}:host-context([dir=rtl]):host(.popover-nested.popover-side-start),:host-context([dir=rtl]).popover-nested.popover-side-start{--offset-x:-5px}@supports selector(:dir(rtl)){:host(.popover-nested.popover-side-start:dir(rtl)){--offset-x:-5px}}:host(.popover-nested.popover-side-end){--offset-x:-5px}:host-context([dir=rtl]):host(.popover-nested.popover-side-end),:host-context([dir=rtl]).popover-nested.popover-side-end{--offset-x:5px}@supports selector(:dir(rtl)){:host(.popover-nested.popover-side-end:dir(rtl)){--offset-x:5px}}:host{--width:250px;--max-height:90%;--box-shadow:0 5px 5px -3px rgba(0, 0, 0, 0.2), 0 8px 10px 1px rgba(0, 0, 0, 0.14), 0 3px 14px 2px rgba(0, 0, 0, 0.12);--backdrop-opacity:var(--ion-backdrop-opacity, 0.32)}.popover-content{border-radius:4px;-webkit-transform-origin:left top;transform-origin:left top}:host-context([dir=rtl]) .popover-content{-webkit-transform-origin:right top;transform-origin:right top}[dir=rtl] .popover-content{-webkit-transform-origin:right top;transform-origin:right top}@supports selector(:dir(rtl)){.popover-content:dir(rtl){-webkit-transform-origin:right top;transform-origin:right top}}.popover-viewport{-webkit-transition-delay:100ms;transition-delay:100ms}.popover-wrapper{opacity:0}";var at=nt;var st=t("ion_popover",function(){function t(t){var o=this;e(this,t);this.didPresent=r(this,"ionPopoverDidPresent",7);this.willPresent=r(this,"ionPopoverWillPresent",7);this.willDismiss=r(this,"ionPopoverWillDismiss",7);this.didDismiss=r(this,"ionPopoverDidDismiss",7);this.didPresentShorthand=r(this,"didPresent",7);this.willPresentShorthand=r(this,"willPresent",7);this.willDismissShorthand=r(this,"willDismiss",7);this.didDismissShorthand=r(this,"didDismiss",7);this.ionMount=r(this,"ionMount",7);this.parentPopover=null;this.coreDelegate=h();this.lockController=k();this.inline=false;this.focusDescendantOnPresent=false;this.onBackdropTap=function(){o.dismiss(undefined,a)};this.onLifecycle=function(t){var e=o.usersElement;var r=pt[t.type];if(e&&r){var i=new CustomEvent(r,{bubbles:false,cancelable:false,detail:t.detail});e.dispatchEvent(i)}};this.configureTriggerInteraction=function(){var t=o,e=t.trigger,r=t.triggerAction,i=t.el,n=t.destroyTriggerInteraction;if(n){n()}if(e===undefined){return}var a=o.triggerEl=e!==undefined?document.getElementById(e):null;if(!a){y('A trigger element with the ID "'.concat(e,'" was not found in the DOM. The trigger element must be in the DOM when the "trigger" property is set on ion-popover.'),o.el);return}o.destroyTriggerInteraction=L(a,r,i)};this.configureKeyboardInteraction=function(){var t=o,e=t.destroyKeyboardInteraction,r=t.el;if(e){e()}o.destroyKeyboardInteraction=M(r)};this.configureDismissInteraction=function(){var t=o,e=t.destroyDismissInteraction,r=t.parentPopover,i=t.triggerAction,n=t.triggerEl,a=t.el;if(!r||!n){return}if(e){e()}o.destroyDismissInteraction=W(n,i,a,r)};this.presented=false;this.hasController=false;this.delegate=undefined;this.overlayIndex=undefined;this.enterAnimation=undefined;this.leaveAnimation=undefined;this.component=undefined;this.componentProps=undefined;this.keyboardClose=true;this.cssClass=undefined;this.backdropDismiss=true;this.event=undefined;this.showBackdrop=true;this.translucent=false;this.animated=true;this.htmlAttributes=undefined;this.triggerAction="click";this.trigger=undefined;this.size="auto";this.dismissOnSelect=false;this.reference="trigger";this.side="bottom";this.alignment=undefined;this.arrow=true;this.isOpen=false;this.keyboardEvents=false;this.focusTrap=true;this.keepContentsMounted=false}t.prototype.onTriggerChange=function(){this.configureTriggerInteraction()};t.prototype.onIsOpenChange=function(t,e){if(t===true&&e===false){this.present()}else if(t===false&&e===true){this.dismiss()}};t.prototype.connectedCallback=function(){var t=this,e=t.configureTriggerInteraction,r=t.el;s(r);e()};t.prototype.disconnectedCallback=function(){var t=this.destroyTriggerInteraction;if(t){t()}};t.prototype.componentWillLoad=function(){var t,e;var r=this.el;var o=(e=(t=this.htmlAttributes)===null||t===void 0?void 0:t.id)!==null&&e!==void 0?e:p(r);this.parentPopover=r.closest("ion-popover:not(#".concat(o,")"));if(this.alignment===undefined){this.alignment=P(this)==="ios"?"center":"start"}};t.prototype.componentDidLoad=function(){var t=this;var e=this,r=e.parentPopover,o=e.isOpen;if(o===true){b((function(){return t.present()}))}if(r){m(r,"ionPopoverWillDismiss",(function(){t.dismiss(undefined,undefined,false)}))}this.configureTriggerInteraction()};t.prototype.presentFromTrigger=function(t){return __awaiter(this,arguments,void 0,(function(t,e){if(e===void 0){e=false}return __generator(this,(function(r){switch(r.label){case 0:this.focusDescendantOnPresent=e;return[4,this.present(t)];case 1:r.sent();this.focusDescendantOnPresent=false;return[2]}}))}))};t.prototype.getDelegate=function(t){if(t===void 0){t=false}if(this.workingDelegate&&!t){return{delegate:this.workingDelegate,inline:this.inline}}var e=this.el.parentNode;var r=this.inline=e!==null&&!this.hasController;var o=this.workingDelegate=r?this.delegate||this.coreDelegate:this.delegate;return{inline:r,delegate:o}};t.prototype.present=function(t){return __awaiter(this,void 0,void 0,(function(){var e,r,o,i,n,a;return __generator(this,(function(s){switch(s.label){case 0:return[4,this.lockController.lock()];case 1:e=s.sent();if(this.presented){e();return[2]}r=this.el;o=this.getDelegate(true),i=o.inline,n=o.delegate;this.ionMount.emit();a=this;return[4,l(n,r,this.component,["popover-viewport"],this.componentProps,i)];case 2:a.usersElement=s.sent();if(!this.keyboardEvents){this.configureKeyboardInteraction()}this.configureDismissInteraction();if(!w(r))return[3,4];return[4,T(this.usersElement)];case 3:s.sent();return[3,6];case 4:if(!!this.keepContentsMounted)return[3,6];return[4,j()];case 5:s.sent();s.label=6;case 6:return[4,f(this,"popoverEnter",Z,et,{event:t||this.event,size:this.size,trigger:this.triggerEl,reference:this.reference,side:this.side,align:this.alignment})];case 7:s.sent();if(this.focusDescendantOnPresent){c(r)}e();return[2]}}))}))};t.prototype.dismiss=function(t,e){return __awaiter(this,arguments,void 0,(function(t,e,r){var o,i,n,a,s,p;if(r===void 0){r=true}return __generator(this,(function(f){switch(f.label){case 0:return[4,this.lockController.lock()];case 1:o=f.sent();i=this,n=i.destroyKeyboardInteraction,a=i.destroyDismissInteraction;if(r&&this.parentPopover){this.parentPopover.dismiss(t,e,r)}return[4,v(this,t,e,"popoverLeave",$,rt,this.event)];case 2:s=f.sent();if(!s)return[3,4];if(n){n();this.destroyKeyboardInteraction=undefined}if(a){a();this.destroyDismissInteraction=undefined}p=this.getDelegate().delegate;return[4,g(p,this.usersElement)];case 3:f.sent();f.label=4;case 4:o();return[2,s]}}))}))};t.prototype.getParentPopover=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){return[2,this.parentPopover]}))}))};t.prototype.onDidDismiss=function(){return u(this.el,"ionPopoverDidDismiss")};t.prototype.onWillDismiss=function(){return u(this.el,"ionPopoverWillDismiss")};t.prototype.render=function(){var t;var e=this;var r=P(this);var n=this,a=n.onLifecycle,s=n.parentPopover,p=n.dismissOnSelect,f=n.side,c=n.arrow,v=n.htmlAttributes,u=n.focusTrap;var h=_("desktop");var l=c&&!s;return o(i,Object.assign({key:"ffe8b37c9ffb5cac210a7307e6cdfcf78712905b","aria-modal":"true","no-router":true,tabindex:"-1"},v,{style:{zIndex:"".concat(2e4+this.overlayIndex)},class:Object.assign(Object.assign({},D(this.cssClass)),(t={},t[r]=true,t["popover-translucent"]=this.translucent,t["overlay-hidden"]=true,t["popover-desktop"]=h,t["popover-side-".concat(f)]=true,t[d]=u===false,t["popover-nested"]=!!s,t)),onIonPopoverDidPresent:a,onIonPopoverWillPresent:a,onIonPopoverWillDismiss:a,onIonPopoverDidDismiss:a,onIonBackdropTap:this.onBackdropTap}),!s&&o("ion-backdrop",{key:"12b3ffa3928b4d56a4f09c3d2f5d493d47b45255",tappable:this.backdropDismiss,visible:this.showBackdrop,part:"backdrop"}),o("div",{key:"2c2862d5c7e75b637973c712b4982bf4978c0cdf",class:"popover-wrapper ion-overlay-wrapper",onClick:p?function(){return e.dismiss()}:undefined},l&&o("div",{key:"0cfacc52afaa7abc28c1b7742889d7a1c23a37ad",class:"popover-arrow",part:"arrow"}),o("div",{key:"3ef570c44d4fe7f063dd419008c92c8c40d3cd22",class:"popover-content",part:"content"},o("slot",{key:"6fc5dfdce20fee1642bc1f05d41b5bf7d1034457"}))))};Object.defineProperty(t.prototype,"el",{get:function(){return n(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{trigger:["onTriggerChange"],triggerAction:["onTriggerChange"],isOpen:["onIsOpenChange"]}},enumerable:false,configurable:true});return t}());var pt={ionPopoverDidPresent:"ionViewDidEnter",ionPopoverWillPresent:"ionViewWillEnter",ionPopoverWillDismiss:"ionViewWillLeave",ionPopoverDidDismiss:"ionViewDidLeave"};st.style={ios:it,md:at}}}}));
4
+ */System.register(["./p-25180df3.system.js","./p-c1b51537.system.js","./p-95da3ae2.system.js","./p-b3680e2f.system.js","./p-4f255d5a.system.js","./p-ff4b7e40.system.js","./p-a69b9fc5.system.js","./p-4609d030.system.js","./p-340e3f24.system.js","./p-9146695e.system.js","./p-792919fd.system.js","./p-9f3008d4.system.js","./p-20d469d0.system.js"],(function(t){"use strict";var e,r,o,i,n,a,s,p,f,c,v,u,d,h,l,g,b,x,m,w,k,y,P,_,D,T,j,N;return{setters:[function(t){e=t.r;r=t.d;o=t.h;i=t.f;n=t.i},function(t){a=t.B;s=t.j;p=t.k;f=t.f;c=t.n;v=t.g;u=t.h;d=t.F},function(t){h=t.C;l=t.a;g=t.d},function(t){b=t.r;x=t.g;m=t.a;w=t.k},function(t){k=t.c},function(t){y=t.p},function(t){P=t.b;_=t.a},function(t){D=t.g},function(t){T=t.e;j=t.w},function(t){N=t.c},function(){},function(){},function(){}],execute:function(){var O=this;var A=function(t){if(!t){return{arrowWidth:0,arrowHeight:0}}var e=t.getBoundingClientRect(),r=e.width,o=e.height;return{arrowWidth:r,arrowHeight:o}};var I=function(t,e,r){var o=e.getBoundingClientRect();var i=o.height;var n=o.width;if(t==="cover"&&r){var a=r.getBoundingClientRect();n=a.width}return{contentWidth:n,contentHeight:i}};var W=function(t,e,r,o){var i=[];var n=x(o);var a=n.querySelector(".popover-content");switch(e){case"hover":i=[{eventName:"mouseenter",callback:function(e){var o=document.elementFromPoint(e.clientX,e.clientY);if(o===t){return}r.dismiss(undefined,undefined,false)}}];break;case"context-menu":case"click":default:i=[{eventName:"click",callback:function(e){var o=e.target;var i=o.closest("[data-ion-popover-trigger]");if(i===t){e.stopPropagation();return}r.dismiss(undefined,undefined,false)}}];break}i.forEach((function(t){var e=t.eventName,r=t.callback;return a.addEventListener(e,r)}));return function(){i.forEach((function(t){var e=t.eventName,r=t.callback;return a.removeEventListener(e,r)}))}};var L=function(t,e,r){var o=[];switch(e){case"hover":var i;o=[{eventName:"mouseenter",callback:function(t){return __awaiter(O,void 0,void 0,(function(){return __generator(this,(function(e){t.stopPropagation();if(i){clearTimeout(i)}i=setTimeout((function(){b((function(){r.presentFromTrigger(t);i=undefined}))}),100);return[2]}))}))}},{eventName:"mouseleave",callback:function(t){if(i){clearTimeout(i)}var e=t.relatedTarget;if(!e){return}if(e.closest("ion-popover")!==r){r.dismiss(undefined,undefined,false)}}},{eventName:"click",callback:function(t){return t.stopPropagation()}},{eventName:"ionPopoverActivateTrigger",callback:function(t){return r.presentFromTrigger(t,true)}}];break;case"context-menu":o=[{eventName:"contextmenu",callback:function(t){t.preventDefault();r.presentFromTrigger(t)}},{eventName:"click",callback:function(t){return t.stopPropagation()}},{eventName:"ionPopoverActivateTrigger",callback:function(t){return r.presentFromTrigger(t,true)}}];break;case"click":default:o=[{eventName:"click",callback:function(t){return r.presentFromTrigger(t)}},{eventName:"ionPopoverActivateTrigger",callback:function(t){return r.presentFromTrigger(t,true)}}];break}o.forEach((function(e){var r=e.eventName,o=e.callback;return t.addEventListener(r,o)}));t.setAttribute("data-ion-popover-trigger","true");return function(){o.forEach((function(e){var r=e.eventName,o=e.callback;return t.removeEventListener(r,o)}));t.removeAttribute("data-ion-popover-trigger")}};var z=function(t,e){if(!e||e.tagName!=="ION-ITEM"){return-1}return t.findIndex((function(t){return t===e}))};var E=function(t,e){var r=z(t,e);return t[r+1]};var X=function(t,e){var r=z(t,e);return t[r-1]};var Y=function(t){var e=x(t);var r=e.querySelector("button");if(r){b((function(){return r.focus()}))}};var C=function(t){return t.hasAttribute("data-ion-popover-trigger")};var M=function(t){var e=function(e){return __awaiter(O,void 0,void 0,(function(){var r,o,i,n,a,s,p,f,c,v,u;return __generator(this,(function(d){switch(d.label){case 0:o=document.activeElement;i=[];n=(r=e.target)===null||r===void 0?void 0:r.tagName;if(n!=="ION-POPOVER"&&n!=="ION-ITEM"){return[2]}try{i=Array.from(t.querySelectorAll("ion-item:not(ion-popover ion-popover *):not([disabled])"))}catch(t){}a=e.key;switch(a){case"ArrowLeft":return[3,1];case"ArrowDown":return[3,3];case"ArrowUp":return[3,4];case"Home":return[3,5];case"End":return[3,6];case"ArrowRight":return[3,7];case" ":return[3,7];case"Enter":return[3,7]}return[3,8];case 1:return[4,t.getParentPopover()];case 2:s=d.sent();if(s){t.dismiss(undefined,undefined,false)}return[3,8];case 3:e.preventDefault();p=E(i,o);if(p!==undefined){Y(p)}return[3,8];case 4:e.preventDefault();f=X(i,o);if(f!==undefined){Y(f)}return[3,8];case 5:e.preventDefault();c=i[0];if(c!==undefined){Y(c)}return[3,8];case 6:e.preventDefault();v=i[i.length-1];if(v!==undefined){Y(v)}return[3,8];case 7:if(o&&C(o)){u=new CustomEvent("ionPopoverActivateTrigger");o.dispatchEvent(u)}return[3,8];case 8:return[2]}}))}))};t.addEventListener("keydown",e);return function(){return t.removeEventListener("keydown",e)}};var S=function(t,e,r,o,i,n,a,s,p,f,c){var v;var u={top:0,left:0,width:0,height:0};switch(n){case"event":if(!c){return p}var d=c;u={top:d.clientY,left:d.clientX,width:1,height:1};break;case"trigger":default:var h=c;var l=f||((v=h===null||h===void 0?void 0:h.detail)===null||v===void 0?void 0:v.ionShadowTarget)||(h===null||h===void 0?void 0:h.target);if(!l){return p}var g=l.getBoundingClientRect();u={top:g.top,left:g.left,width:g.width,height:g.height};break}var b=G(a,u,e,r,o,i,t);var x=U(s,a,u,e,r);var m=b.top+x.top;var w=b.left+x.left;var k=B(a,o,i,m,w,e,r,t),y=k.arrowTop,P=k.arrowLeft;var _=V(a,s,t),D=_.originX,T=_.originY;return{top:m,left:w,referenceCoordinates:u,arrowTop:y,arrowLeft:P,originX:D,originY:T}};var V=function(t,e,r){switch(t){case"top":return{originX:H(e),originY:"bottom"};case"bottom":return{originX:H(e),originY:"top"};case"left":return{originX:"right",originY:R(e)};case"right":return{originX:"left",originY:R(e)};case"start":return{originX:r?"left":"right",originY:R(e)};case"end":return{originX:r?"right":"left",originY:R(e)}}};var H=function(t){switch(t){case"start":return"left";case"center":return"center";case"end":return"right"}};var R=function(t){switch(t){case"start":return"top";case"center":return"center";case"end":return"bottom"}};var B=function(t,e,r,o,i,n,a,s){var p={arrowTop:o+a/2-e/2,arrowLeft:i+n-e/2};var f={arrowTop:o+a/2-e/2,arrowLeft:i-e*1.5};switch(t){case"top":return{arrowTop:o+a,arrowLeft:i+n/2-e/2};case"bottom":return{arrowTop:o-r,arrowLeft:i+n/2-e/2};case"left":return p;case"right":return f;case"start":return s?f:p;case"end":return s?p:f;default:return{arrowTop:0,arrowLeft:0}}};var G=function(t,e,r,o,i,n,a){var s={top:e.top,left:e.left-r-i};var p={top:e.top,left:e.left+e.width+i};switch(t){case"top":return{top:e.top-o-n,left:e.left};case"right":return p;case"bottom":return{top:e.top+e.height+n,left:e.left};case"left":return s;case"start":return a?p:s;case"end":return a?s:p}};var U=function(t,e,r,o,i){switch(t){case"center":return F(e,r,o,i);case"end":return q(e,r,o,i);case"start":default:return{top:0,left:0}}};var q=function(t,e,r,o){switch(t){case"start":case"end":case"left":case"right":return{top:-(o-e.height),left:0};case"top":case"bottom":default:return{top:0,left:-(r-e.width)}}};var F=function(t,e,r,o){switch(t){case"start":case"end":case"left":case"right":return{top:-(o/2-e.height/2),left:0};case"top":case"bottom":default:return{top:0,left:-(r/2-e.width/2)}}};var J=function(t,e,r,o,i,n,a,s,p,f,c,v,u,d,h){if(u===void 0){u=0}if(d===void 0){d=0}if(h===void 0){h=0}var l=u;var g=d;var b=r;var x=e;var m;var w=f;var k=c;var y=false;var P=false;var _=v?v.top+v.height:n/2-s/2;var D=v?v.height:0;var T=false;if(b<o+p){b=o;y=true;w="left"}else if(a+o+b+p>i){P=true;b=i-a-o;w="right"}if(_+D+s>n&&(t==="top"||t==="bottom")){if(_-s>0){x=Math.max(12,_-s-D-(h-1));l=x+s;k="bottom";T=true}else{m=o}}return{top:x,left:b,bottom:m,originX:w,originY:k,checkSafeAreaLeft:y,checkSafeAreaRight:P,arrowTop:l,arrowLeft:g,addPopoverBottomClass:T}};var K=function(t,e,r,o){if(e===void 0){e=false}if(!r&&!o){return false}if(t!=="top"&&t!=="bottom"&&e){return false}return true};var Q=5;var Z=function(t,e){var r;var o=e.event,i=e.size,n=e.trigger,a=e.reference,s=e.side,p=e.align;var f=t.ownerDocument;var c=f.dir==="rtl";var v=f.defaultView.innerWidth;var u=f.defaultView.innerHeight;var d=x(t);var h=d.querySelector(".popover-content");var l=d.querySelector(".popover-arrow");var g=n||((r=o===null||o===void 0?void 0:o.detail)===null||r===void 0?void 0:r.ionShadowTarget)||(o===null||o===void 0?void 0:o.target);var b=I(i,h,g),m=b.contentWidth,w=b.contentHeight;var k=A(l),y=k.arrowWidth,P=k.arrowHeight;var _={top:u/2-w/2,left:v/2-m/2,originX:c?"right":"left",originY:"top"};var D=S(c,m,w,y,P,a,s,p,_,n,o);var T=i==="cover"?0:Q;var j=i==="cover"?0:25;var O=J(s,D.top,D.left,T,v,u,m,w,j,D.originX,D.originY,D.referenceCoordinates,D.arrowTop,D.arrowLeft,P),W=O.originX,L=O.originY,z=O.top,E=O.left,X=O.bottom,Y=O.checkSafeAreaLeft,C=O.checkSafeAreaRight,M=O.arrowTop,V=O.arrowLeft,H=O.addPopoverBottomClass;var R=N();var B=N();var G=N();B.addElement(d.querySelector("ion-backdrop")).fromTo("opacity",.01,"var(--backdrop-opacity)").beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"]);G.addElement(d.querySelector(".popover-arrow")).addElement(d.querySelector(".popover-content")).fromTo("opacity",.01,1);return R.easing("ease").duration(100).beforeAddWrite((function(){if(i==="cover"){t.style.setProperty("--width","".concat(m,"px"))}if(H){t.classList.add("popover-bottom")}if(X!==undefined){h.style.setProperty("bottom","".concat(X,"px"))}var e=" + var(--ion-safe-area-left, 0)";var r=" - var(--ion-safe-area-right, 0)";var a="".concat(E,"px");if(Y){a="".concat(E,"px").concat(e)}if(C){a="".concat(E,"px").concat(r)}h.style.setProperty("top","calc(".concat(z,"px + var(--offset-y, 0))"));h.style.setProperty("left","calc(".concat(a," + var(--offset-x, 0))"));h.style.setProperty("transform-origin","".concat(L," ").concat(W));if(l!==null){var p=D.top!==z||D.left!==E;var f=K(s,p,o,n);if(f){l.style.setProperty("top","calc(".concat(M,"px + var(--offset-y, 0))"));l.style.setProperty("left","calc(".concat(V,"px + var(--offset-x, 0))"))}else{l.style.setProperty("display","none")}}})).addAnimation([B,G])};var $=function(t){var e=x(t);var r=e.querySelector(".popover-content");var o=e.querySelector(".popover-arrow");var i=N();var n=N();var a=N();n.addElement(e.querySelector("ion-backdrop")).fromTo("opacity","var(--backdrop-opacity)",0);a.addElement(e.querySelector(".popover-arrow")).addElement(e.querySelector(".popover-content")).fromTo("opacity",.99,0);return i.easing("ease").afterAddWrite((function(){t.style.removeProperty("--width");t.classList.remove("popover-bottom");r.style.removeProperty("top");r.style.removeProperty("left");r.style.removeProperty("bottom");r.style.removeProperty("transform-origin");if(o){o.style.removeProperty("top");o.style.removeProperty("left");o.style.removeProperty("display")}})).duration(300).addAnimation([n,a])};var tt=12;var et=function(t,e){var r;var o=e.event,i=e.size,n=e.trigger,a=e.reference,s=e.side,p=e.align;var f=t.ownerDocument;var c=f.dir==="rtl";var v=f.defaultView.innerWidth;var u=f.defaultView.innerHeight;var d=x(t);var h=d.querySelector(".popover-content");var l=n||((r=o===null||o===void 0?void 0:o.detail)===null||r===void 0?void 0:r.ionShadowTarget)||(o===null||o===void 0?void 0:o.target);var g=I(i,h,l),b=g.contentWidth,m=g.contentHeight;var w={top:u/2-m/2,left:v/2-b/2,originX:c?"right":"left",originY:"top"};var k=S(c,b,m,0,0,a,s,p,w,n,o);var y=i==="cover"?0:tt;var P=J(s,k.top,k.left,y,v,u,b,m,0,k.originX,k.originY,k.referenceCoordinates),_=P.originX,D=P.originY,T=P.top,j=P.left,O=P.bottom;var A=N();var W=N();var L=N();var z=N();var E=N();W.addElement(d.querySelector("ion-backdrop")).fromTo("opacity",.01,"var(--backdrop-opacity)").beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"]);L.addElement(d.querySelector(".popover-wrapper")).duration(150).fromTo("opacity",.01,1);z.addElement(h).beforeStyles({top:"calc(".concat(T,"px + var(--offset-y, 0px))"),left:"calc(".concat(j,"px + var(--offset-x, 0px))"),"transform-origin":"".concat(D," ").concat(_)}).beforeAddWrite((function(){if(O!==undefined){h.style.setProperty("bottom","".concat(O,"px"))}})).fromTo("transform","scale(0.8)","scale(1)");E.addElement(d.querySelector(".popover-viewport")).fromTo("opacity",.01,1);return A.easing("cubic-bezier(0.36,0.66,0.04,1)").duration(300).beforeAddWrite((function(){if(i==="cover"){t.style.setProperty("--width","".concat(b,"px"))}if(D==="bottom"){t.classList.add("popover-bottom")}})).addAnimation([W,L,z,E])};var rt=function(t){var e=x(t);var r=e.querySelector(".popover-content");var o=N();var i=N();var n=N();i.addElement(e.querySelector("ion-backdrop")).fromTo("opacity","var(--backdrop-opacity)",0);n.addElement(e.querySelector(".popover-wrapper")).fromTo("opacity",.99,0);return o.easing("ease").afterAddWrite((function(){t.style.removeProperty("--width");t.classList.remove("popover-bottom");r.style.removeProperty("top");r.style.removeProperty("left");r.style.removeProperty("bottom");r.style.removeProperty("transform-origin")})).duration(150).addAnimation([i,n])};var ot=':host{--background:var(--ion-background-color, #fff);--min-width:0;--min-height:0;--max-width:auto;--height:auto;--offset-x:0px;--offset-y:0px;left:0;right:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:fixed;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;outline:none;color:var(--ion-text-color, #000);z-index:1001}:host(.popover-nested){pointer-events:none}:host(.popover-nested) .popover-wrapper{pointer-events:auto}:host(.overlay-hidden){display:none}.popover-wrapper{z-index:10}.popover-content{display:-ms-flexbox;display:flex;position:absolute;-ms-flex-direction:column;flex-direction:column;width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);background:var(--background);-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);overflow:auto;z-index:10}::slotted(.popover-viewport){--ion-safe-area-top:0px;--ion-safe-area-right:0px;--ion-safe-area-bottom:0px;--ion-safe-area-left:0px;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}:host(.popover-nested.popover-side-left){--offset-x:5px}:host(.popover-nested.popover-side-right){--offset-x:-5px}:host(.popover-nested.popover-side-start){--offset-x:5px}:host-context([dir=rtl]):host(.popover-nested.popover-side-start),:host-context([dir=rtl]).popover-nested.popover-side-start{--offset-x:-5px}@supports selector(:dir(rtl)){:host(.popover-nested.popover-side-start:dir(rtl)){--offset-x:-5px}}:host(.popover-nested.popover-side-end){--offset-x:-5px}:host-context([dir=rtl]):host(.popover-nested.popover-side-end),:host-context([dir=rtl]).popover-nested.popover-side-end{--offset-x:5px}@supports selector(:dir(rtl)){:host(.popover-nested.popover-side-end:dir(rtl)){--offset-x:5px}}:host{--width:200px;--max-height:90%;--box-shadow:none;--backdrop-opacity:var(--ion-backdrop-opacity, 0.08)}:host(.popover-desktop){--box-shadow:0px 4px 16px 0px rgba(0, 0, 0, 0.12)}.popover-content{border-radius:10px}:host(.popover-desktop) .popover-content{border:0.5px solid var(--ion-color-step-100, var(--ion-background-color-step-100, #e6e6e6))}.popover-arrow{display:block;position:absolute;width:20px;height:10px;overflow:hidden;z-index:11}.popover-arrow::after{top:3px;border-radius:3px;position:absolute;width:14px;height:14px;-webkit-transform:rotate(45deg);transform:rotate(45deg);background:var(--background);content:"";z-index:10}.popover-arrow::after{inset-inline-start:3px}:host(.popover-bottom) .popover-arrow{top:auto;bottom:-10px}:host(.popover-bottom) .popover-arrow::after{top:-6px}:host(.popover-side-left) .popover-arrow{-webkit-transform:rotate(90deg);transform:rotate(90deg)}:host(.popover-side-right) .popover-arrow{-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}:host(.popover-side-top) .popover-arrow{-webkit-transform:rotate(180deg);transform:rotate(180deg)}:host(.popover-side-start) .popover-arrow{-webkit-transform:rotate(90deg);transform:rotate(90deg)}:host-context([dir=rtl]):host(.popover-side-start) .popover-arrow,:host-context([dir=rtl]).popover-side-start .popover-arrow{-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}@supports selector(:dir(rtl)){:host(.popover-side-start:dir(rtl)) .popover-arrow{-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}}:host(.popover-side-end) .popover-arrow{-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}:host-context([dir=rtl]):host(.popover-side-end) .popover-arrow,:host-context([dir=rtl]).popover-side-end .popover-arrow{-webkit-transform:rotate(90deg);transform:rotate(90deg)}@supports selector(:dir(rtl)){:host(.popover-side-end:dir(rtl)) .popover-arrow{-webkit-transform:rotate(90deg);transform:rotate(90deg)}}.popover-arrow,.popover-content{opacity:0}@supports ((-webkit-backdrop-filter: blur(0)) or (backdrop-filter: blur(0))){:host(.popover-translucent) .popover-content,:host(.popover-translucent) .popover-arrow::after{background:rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8);-webkit-backdrop-filter:saturate(180%) blur(20px);backdrop-filter:saturate(180%) blur(20px)}}';var it=ot;var nt=":host{--background:var(--ion-background-color, #fff);--min-width:0;--min-height:0;--max-width:auto;--height:auto;--offset-x:0px;--offset-y:0px;left:0;right:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:fixed;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;outline:none;color:var(--ion-text-color, #000);z-index:1001}:host(.popover-nested){pointer-events:none}:host(.popover-nested) .popover-wrapper{pointer-events:auto}:host(.overlay-hidden){display:none}.popover-wrapper{z-index:10}.popover-content{display:-ms-flexbox;display:flex;position:absolute;-ms-flex-direction:column;flex-direction:column;width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);background:var(--background);-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);overflow:auto;z-index:10}::slotted(.popover-viewport){--ion-safe-area-top:0px;--ion-safe-area-right:0px;--ion-safe-area-bottom:0px;--ion-safe-area-left:0px;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}:host(.popover-nested.popover-side-left){--offset-x:5px}:host(.popover-nested.popover-side-right){--offset-x:-5px}:host(.popover-nested.popover-side-start){--offset-x:5px}:host-context([dir=rtl]):host(.popover-nested.popover-side-start),:host-context([dir=rtl]).popover-nested.popover-side-start{--offset-x:-5px}@supports selector(:dir(rtl)){:host(.popover-nested.popover-side-start:dir(rtl)){--offset-x:-5px}}:host(.popover-nested.popover-side-end){--offset-x:-5px}:host-context([dir=rtl]):host(.popover-nested.popover-side-end),:host-context([dir=rtl]).popover-nested.popover-side-end{--offset-x:5px}@supports selector(:dir(rtl)){:host(.popover-nested.popover-side-end:dir(rtl)){--offset-x:5px}}:host{--width:250px;--max-height:90%;--box-shadow:0 5px 5px -3px rgba(0, 0, 0, 0.2), 0 8px 10px 1px rgba(0, 0, 0, 0.14), 0 3px 14px 2px rgba(0, 0, 0, 0.12);--backdrop-opacity:var(--ion-backdrop-opacity, 0.32)}.popover-content{border-radius:4px;-webkit-transform-origin:left top;transform-origin:left top}:host-context([dir=rtl]) .popover-content{-webkit-transform-origin:right top;transform-origin:right top}[dir=rtl] .popover-content{-webkit-transform-origin:right top;transform-origin:right top}@supports selector(:dir(rtl)){.popover-content:dir(rtl){-webkit-transform-origin:right top;transform-origin:right top}}.popover-viewport{-webkit-transition-delay:100ms;transition-delay:100ms}.popover-wrapper{opacity:0}";var at=nt;var st=t("ion_popover",function(){function t(t){var o=this;e(this,t);this.didPresent=r(this,"ionPopoverDidPresent",7);this.willPresent=r(this,"ionPopoverWillPresent",7);this.willDismiss=r(this,"ionPopoverWillDismiss",7);this.didDismiss=r(this,"ionPopoverDidDismiss",7);this.didPresentShorthand=r(this,"didPresent",7);this.willPresentShorthand=r(this,"willPresent",7);this.willDismissShorthand=r(this,"willDismiss",7);this.didDismissShorthand=r(this,"didDismiss",7);this.ionMount=r(this,"ionMount",7);this.parentPopover=null;this.coreDelegate=h();this.lockController=k();this.inline=false;this.focusDescendantOnPresent=false;this.onBackdropTap=function(){o.dismiss(undefined,a)};this.onLifecycle=function(t){var e=o.usersElement;var r=pt[t.type];if(e&&r){var i=new CustomEvent(r,{bubbles:false,cancelable:false,detail:t.detail});e.dispatchEvent(i)}};this.configureTriggerInteraction=function(){var t=o,e=t.trigger,r=t.triggerAction,i=t.el,n=t.destroyTriggerInteraction;if(n){n()}if(e===undefined){return}var a=o.triggerEl=e!==undefined?document.getElementById(e):null;if(!a){y('A trigger element with the ID "'.concat(e,'" was not found in the DOM. The trigger element must be in the DOM when the "trigger" property is set on ion-popover.'),o.el);return}o.destroyTriggerInteraction=L(a,r,i)};this.configureKeyboardInteraction=function(){var t=o,e=t.destroyKeyboardInteraction,r=t.el;if(e){e()}o.destroyKeyboardInteraction=M(r)};this.configureDismissInteraction=function(){var t=o,e=t.destroyDismissInteraction,r=t.parentPopover,i=t.triggerAction,n=t.triggerEl,a=t.el;if(!r||!n){return}if(e){e()}o.destroyDismissInteraction=W(n,i,a,r)};this.presented=false;this.hasController=false;this.delegate=undefined;this.overlayIndex=undefined;this.enterAnimation=undefined;this.leaveAnimation=undefined;this.component=undefined;this.componentProps=undefined;this.keyboardClose=true;this.cssClass=undefined;this.backdropDismiss=true;this.event=undefined;this.showBackdrop=true;this.translucent=false;this.animated=true;this.htmlAttributes=undefined;this.triggerAction="click";this.trigger=undefined;this.size="auto";this.dismissOnSelect=false;this.reference="trigger";this.side="bottom";this.alignment=undefined;this.arrow=true;this.isOpen=false;this.keyboardEvents=false;this.focusTrap=true;this.keepContentsMounted=false}t.prototype.onTriggerChange=function(){this.configureTriggerInteraction()};t.prototype.onIsOpenChange=function(t,e){if(t===true&&e===false){this.present()}else if(t===false&&e===true){this.dismiss()}};t.prototype.connectedCallback=function(){var t=this,e=t.configureTriggerInteraction,r=t.el;s(r);e()};t.prototype.disconnectedCallback=function(){var t=this.destroyTriggerInteraction;if(t){t()}};t.prototype.componentWillLoad=function(){var t,e;var r=this.el;var o=(e=(t=this.htmlAttributes)===null||t===void 0?void 0:t.id)!==null&&e!==void 0?e:p(r);this.parentPopover=r.closest("ion-popover:not(#".concat(o,")"));if(this.alignment===undefined){this.alignment=P(this)==="ios"?"center":"start"}};t.prototype.componentDidLoad=function(){var t=this;var e=this,r=e.parentPopover,o=e.isOpen;if(o===true){b((function(){return t.present()}))}if(r){m(r,"ionPopoverWillDismiss",(function(){t.dismiss(undefined,undefined,false)}))}this.configureTriggerInteraction()};t.prototype.presentFromTrigger=function(t){return __awaiter(this,arguments,void 0,(function(t,e){if(e===void 0){e=false}return __generator(this,(function(r){switch(r.label){case 0:this.focusDescendantOnPresent=e;return[4,this.present(t)];case 1:r.sent();this.focusDescendantOnPresent=false;return[2]}}))}))};t.prototype.getDelegate=function(t){if(t===void 0){t=false}if(this.workingDelegate&&!t){return{delegate:this.workingDelegate,inline:this.inline}}var e=this.el.parentNode;var r=this.inline=e!==null&&!this.hasController;var o=this.workingDelegate=r?this.delegate||this.coreDelegate:this.delegate;return{inline:r,delegate:o}};t.prototype.present=function(t){return __awaiter(this,void 0,void 0,(function(){var e,r,o,i,n,a;return __generator(this,(function(s){switch(s.label){case 0:return[4,this.lockController.lock()];case 1:e=s.sent();if(this.presented){e();return[2]}r=this.el;o=this.getDelegate(true),i=o.inline,n=o.delegate;this.ionMount.emit();a=this;return[4,l(n,r,this.component,["popover-viewport"],this.componentProps,i)];case 2:a.usersElement=s.sent();if(!this.keyboardEvents){this.configureKeyboardInteraction()}this.configureDismissInteraction();if(!w(r))return[3,4];return[4,T(this.usersElement)];case 3:s.sent();return[3,6];case 4:if(!!this.keepContentsMounted)return[3,6];return[4,j()];case 5:s.sent();s.label=6;case 6:return[4,f(this,"popoverEnter",Z,et,{event:t||this.event,size:this.size,trigger:this.triggerEl,reference:this.reference,side:this.side,align:this.alignment})];case 7:s.sent();if(this.focusDescendantOnPresent){c(r)}e();return[2]}}))}))};t.prototype.dismiss=function(t,e){return __awaiter(this,arguments,void 0,(function(t,e,r){var o,i,n,a,s,p;if(r===void 0){r=true}return __generator(this,(function(f){switch(f.label){case 0:return[4,this.lockController.lock()];case 1:o=f.sent();i=this,n=i.destroyKeyboardInteraction,a=i.destroyDismissInteraction;if(r&&this.parentPopover){this.parentPopover.dismiss(t,e,r)}return[4,v(this,t,e,"popoverLeave",$,rt,this.event)];case 2:s=f.sent();if(!s)return[3,4];if(n){n();this.destroyKeyboardInteraction=undefined}if(a){a();this.destroyDismissInteraction=undefined}p=this.getDelegate().delegate;return[4,g(p,this.usersElement)];case 3:f.sent();f.label=4;case 4:o();return[2,s]}}))}))};t.prototype.getParentPopover=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){return[2,this.parentPopover]}))}))};t.prototype.onDidDismiss=function(){return u(this.el,"ionPopoverDidDismiss")};t.prototype.onWillDismiss=function(){return u(this.el,"ionPopoverWillDismiss")};t.prototype.render=function(){var t;var e=this;var r=P(this);var n=this,a=n.onLifecycle,s=n.parentPopover,p=n.dismissOnSelect,f=n.side,c=n.arrow,v=n.htmlAttributes,u=n.focusTrap;var h=_("desktop");var l=c&&!s;return o(i,Object.assign({key:"ffe8b37c9ffb5cac210a7307e6cdfcf78712905b","aria-modal":"true","no-router":true,tabindex:"-1"},v,{style:{zIndex:"".concat(2e4+this.overlayIndex)},class:Object.assign(Object.assign({},D(this.cssClass)),(t={},t[r]=true,t["popover-translucent"]=this.translucent,t["overlay-hidden"]=true,t["popover-desktop"]=h,t["popover-side-".concat(f)]=true,t[d]=u===false,t["popover-nested"]=!!s,t)),onIonPopoverDidPresent:a,onIonPopoverWillPresent:a,onIonPopoverWillDismiss:a,onIonPopoverDidDismiss:a,onIonBackdropTap:this.onBackdropTap}),!s&&o("ion-backdrop",{key:"12b3ffa3928b4d56a4f09c3d2f5d493d47b45255",tappable:this.backdropDismiss,visible:this.showBackdrop,part:"backdrop"}),o("div",{key:"2c2862d5c7e75b637973c712b4982bf4978c0cdf",class:"popover-wrapper ion-overlay-wrapper",onClick:p?function(){return e.dismiss()}:undefined},l&&o("div",{key:"0cfacc52afaa7abc28c1b7742889d7a1c23a37ad",class:"popover-arrow",part:"arrow"}),o("div",{key:"3ef570c44d4fe7f063dd419008c92c8c40d3cd22",class:"popover-content",part:"content"},o("slot",{key:"6fc5dfdce20fee1642bc1f05d41b5bf7d1034457"}))))};Object.defineProperty(t.prototype,"el",{get:function(){return n(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{trigger:["onTriggerChange"],triggerAction:["onTriggerChange"],isOpen:["onIsOpenChange"]}},enumerable:false,configurable:true});return t}());var pt={ionPopoverDidPresent:"ionViewDidEnter",ionPopoverWillPresent:"ionViewWillEnter",ionPopoverWillDismiss:"ionViewWillLeave",ionPopoverDidDismiss:"ionViewDidLeave"};st.style={ios:it,md:at}}}}));