voyager-ionic-core 7.6.0 → 7.6.3

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 (399) hide show
  1. package/components/data.js +64 -14
  2. package/components/icon.js +15 -3
  3. package/components/index7.js +1 -1
  4. package/components/ion-datetime.js +23 -4
  5. package/components/ion-input.js +23 -4
  6. package/components/ion-menu.js +2 -2
  7. package/components/ion-refresher-content.js +10 -3
  8. package/components/ion-refresher.js +4 -183
  9. package/components/ion-select.js +2 -2
  10. package/components/ion-split-pane.js +2 -2
  11. package/components/ion-textarea.js +27 -4
  12. package/components/item.js +2 -2
  13. package/components/radio-group.js +9 -1
  14. package/components/refresher.utils.js +196 -0
  15. package/css/core.css +0 -8
  16. package/css/core.css.map +1 -1
  17. package/css/ionic.bundle.css +1 -1
  18. package/css/ionic.bundle.css.map +1 -1
  19. package/dist/cjs/{app-globals-0af482c7.js → app-globals-7def22c8.js} +1 -1
  20. package/dist/cjs/{button-active-a5185907.js → button-active-962fe442.js} +1 -1
  21. package/dist/cjs/{data-36b9094e.js → data-a5109f09.js} +64 -14
  22. package/dist/cjs/{index-f8f13389.js → index-17ab7794.js} +3 -3
  23. package/dist/cjs/{index-ce101dc9.js → index-3b012034.js} +1 -1
  24. package/dist/cjs/{index-bbb4336c.js → index-50dcfe2f.js} +21 -8
  25. package/dist/cjs/{index-09471526.js → index-f52c6d38.js} +1 -1
  26. package/dist/cjs/index.cjs.js +7 -7
  27. package/dist/cjs/ion-accordion_2.cjs.entry.js +3 -3
  28. package/dist/cjs/ion-action-sheet.cjs.entry.js +4 -4
  29. package/dist/cjs/ion-alert.cjs.entry.js +4 -4
  30. package/dist/cjs/ion-app_8.cjs.entry.js +4 -4
  31. package/dist/cjs/ion-avatar_3.cjs.entry.js +2 -2
  32. package/dist/cjs/ion-back-button.cjs.entry.js +3 -3
  33. package/dist/cjs/ion-backdrop.cjs.entry.js +2 -2
  34. package/dist/cjs/ion-breadcrumb_2.cjs.entry.js +3 -3
  35. package/dist/cjs/ion-button_2.cjs.entry.js +17 -5
  36. package/dist/cjs/ion-card_5.cjs.entry.js +2 -2
  37. package/dist/cjs/ion-checkbox.cjs.entry.js +2 -2
  38. package/dist/cjs/ion-chip.cjs.entry.js +2 -2
  39. package/dist/cjs/ion-col_3.cjs.entry.js +2 -2
  40. package/dist/cjs/ion-datetime-button.cjs.entry.js +3 -3
  41. package/dist/cjs/ion-datetime_3.cjs.entry.js +28 -9
  42. package/dist/cjs/ion-fab_3.cjs.entry.js +3 -3
  43. package/dist/cjs/ion-img.cjs.entry.js +2 -2
  44. package/dist/cjs/ion-infinite-scroll_2.cjs.entry.js +2 -2
  45. package/dist/cjs/ion-input.cjs.entry.js +26 -7
  46. package/dist/cjs/ion-item-option_3.cjs.entry.js +2 -2
  47. package/dist/cjs/ion-item_8.cjs.entry.js +5 -5
  48. package/dist/cjs/ion-loading.cjs.entry.js +3 -3
  49. package/dist/cjs/ion-menu_3.cjs.entry.js +7 -7
  50. package/dist/cjs/ion-modal.cjs.entry.js +4 -4
  51. package/dist/cjs/ion-nav_2.cjs.entry.js +3 -3
  52. package/dist/cjs/ion-picker-column-internal.cjs.entry.js +2 -2
  53. package/dist/cjs/ion-picker-internal.cjs.entry.js +1 -1
  54. package/dist/cjs/ion-popover.cjs.entry.js +4 -4
  55. package/dist/cjs/ion-progress-bar.cjs.entry.js +2 -2
  56. package/dist/cjs/ion-radio_2.cjs.entry.js +11 -3
  57. package/dist/cjs/ion-range.cjs.entry.js +2 -2
  58. package/dist/cjs/ion-refresher_2.cjs.entry.js +30 -15
  59. package/dist/cjs/ion-reorder_2.cjs.entry.js +3 -3
  60. package/dist/cjs/ion-ripple-effect.cjs.entry.js +2 -2
  61. package/dist/cjs/ion-route_4.cjs.entry.js +2 -2
  62. package/dist/cjs/ion-searchbar.cjs.entry.js +3 -3
  63. package/dist/cjs/ion-segment_2.cjs.entry.js +2 -2
  64. package/dist/cjs/ion-select_3.cjs.entry.js +6 -6
  65. package/dist/cjs/ion-spinner.cjs.entry.js +2 -2
  66. package/dist/cjs/ion-split-pane.cjs.entry.js +4 -4
  67. package/dist/cjs/ion-tab-bar_2.cjs.entry.js +2 -2
  68. package/dist/cjs/ion-tab_2.cjs.entry.js +1 -1
  69. package/dist/cjs/ion-text.cjs.entry.js +2 -2
  70. package/dist/cjs/ion-textarea.cjs.entry.js +29 -6
  71. package/dist/cjs/ion-toast.cjs.entry.js +3 -3
  72. package/dist/cjs/ion-toggle.cjs.entry.js +3 -3
  73. package/dist/cjs/{ionic-global-f4a2093b.js → ionic-global-a4edbf03.js} +1 -1
  74. package/dist/cjs/ionic.cjs.js +4 -4
  75. package/dist/cjs/{ios.transition-6787b799.js → ios.transition-b5353f3e.js} +2 -2
  76. package/dist/cjs/loader.cjs.js +3 -3
  77. package/dist/cjs/{md.transition-e033d20a.js → md.transition-67157dd9.js} +2 -2
  78. package/dist/cjs/{overlays-27a6fb16.js → overlays-e77cc023.js} +1 -1
  79. package/dist/cjs/{status-tap-415acac6.js → status-tap-b5d77c08.js} +1 -1
  80. package/dist/collection/collection-manifest.json +1 -1
  81. package/dist/collection/components/datetime/datetime.ios.css +3 -1
  82. package/dist/collection/components/datetime/datetime.js +23 -4
  83. package/dist/collection/components/datetime/test/basic/datetime.e2e.js +29 -0
  84. package/dist/collection/components/datetime/test/manipulation.spec.js +133 -1
  85. package/dist/collection/components/datetime/test/prefer-wheel/datetime.spec.js +27 -0
  86. package/dist/collection/components/datetime/utils/manipulation.js +65 -15
  87. package/dist/collection/components/input/input.ios.css +20 -0
  88. package/dist/collection/components/input/input.js +22 -3
  89. package/dist/collection/components/input/input.md.css +21 -0
  90. package/dist/collection/components/input/test/clear-on-edit/input.e2e.js +28 -8
  91. package/dist/collection/components/input/test/slot/input.e2e.js +6 -2
  92. package/dist/collection/components/item/item.ios.css +6 -0
  93. package/dist/collection/components/item/item.md.css +6 -0
  94. package/dist/collection/components/label/test/a11y/label.e2e.js +25 -0
  95. package/dist/collection/components/menu/menu.ios.css +3 -4
  96. package/dist/collection/components/menu/menu.md.css +3 -4
  97. package/dist/collection/components/menu/test/custom/menu.e2e.js +61 -0
  98. package/dist/collection/components/modal/modal.js +1 -1
  99. package/dist/collection/components/radio/test/a11y/radio.e2e.js +15 -1
  100. package/dist/collection/components/radio/test/legacy/a11y/radio.e2e.js +15 -2
  101. package/dist/collection/components/radio-group/radio-group.js +9 -1
  102. package/dist/collection/components/range/range.js +1 -1
  103. package/dist/collection/components/refresher/refresher.js +3 -0
  104. package/dist/collection/components/refresher/refresher.utils.js +19 -11
  105. package/dist/collection/components/refresher-content/refresher-content.js +9 -3
  106. package/dist/collection/components/select/select.ios.css +20 -0
  107. package/dist/collection/components/select/select.md.css +21 -0
  108. package/dist/collection/components/select/test/slot/select.e2e.js +6 -2
  109. package/dist/collection/components/split-pane/split-pane.ios.css +10 -2
  110. package/dist/collection/components/split-pane/split-pane.md.css +10 -2
  111. package/dist/collection/components/textarea/test/clear-on-edit/textarea.e2e.js +36 -0
  112. package/dist/collection/components/textarea/test/slot/textarea.e2e.js +6 -2
  113. package/dist/collection/components/textarea/textarea.ios.css +20 -0
  114. package/dist/collection/components/textarea/textarea.js +26 -3
  115. package/dist/collection/components/textarea/textarea.md.css +21 -0
  116. package/dist/docs.json +34 -8
  117. package/dist/esm/{app-globals-722340c4.js → app-globals-8c62bec2.js} +1 -1
  118. package/dist/esm/{button-active-c6ee4f50.js → button-active-308d3edd.js} +1 -1
  119. package/dist/esm/{data-f5c75b4e.js → data-775093f5.js} +64 -14
  120. package/dist/esm/{index-0c12c22b.js → index-1193f005.js} +1 -1
  121. package/dist/esm/{index-1932b201.js → index-4743453d.js} +3 -3
  122. package/dist/esm/{index-08d686eb.js → index-b7d870cf.js} +21 -8
  123. package/dist/esm/{index-c132c5f1.js → index-f7dc70ba.js} +1 -1
  124. package/dist/esm/index.js +7 -7
  125. package/dist/esm/ion-accordion_2.entry.js +3 -3
  126. package/dist/esm/ion-action-sheet.entry.js +4 -4
  127. package/dist/esm/ion-alert.entry.js +4 -4
  128. package/dist/esm/ion-app_8.entry.js +4 -4
  129. package/dist/esm/ion-avatar_3.entry.js +2 -2
  130. package/dist/esm/ion-back-button.entry.js +3 -3
  131. package/dist/esm/ion-backdrop.entry.js +2 -2
  132. package/dist/esm/ion-breadcrumb_2.entry.js +3 -3
  133. package/dist/esm/ion-button_2.entry.js +17 -5
  134. package/dist/esm/ion-card_5.entry.js +2 -2
  135. package/dist/esm/ion-checkbox.entry.js +2 -2
  136. package/dist/esm/ion-chip.entry.js +2 -2
  137. package/dist/esm/ion-col_3.entry.js +2 -2
  138. package/dist/esm/ion-datetime-button.entry.js +3 -3
  139. package/dist/esm/ion-datetime_3.entry.js +28 -9
  140. package/dist/esm/ion-fab_3.entry.js +3 -3
  141. package/dist/esm/ion-img.entry.js +2 -2
  142. package/dist/esm/ion-infinite-scroll_2.entry.js +2 -2
  143. package/dist/esm/ion-input.entry.js +26 -7
  144. package/dist/esm/ion-item-option_3.entry.js +2 -2
  145. package/dist/esm/ion-item_8.entry.js +5 -5
  146. package/dist/esm/ion-loading.entry.js +3 -3
  147. package/dist/esm/ion-menu_3.entry.js +7 -7
  148. package/dist/esm/ion-modal.entry.js +4 -4
  149. package/dist/esm/ion-nav_2.entry.js +3 -3
  150. package/dist/esm/ion-picker-column-internal.entry.js +2 -2
  151. package/dist/esm/ion-picker-internal.entry.js +1 -1
  152. package/dist/esm/ion-popover.entry.js +4 -4
  153. package/dist/esm/ion-progress-bar.entry.js +2 -2
  154. package/dist/esm/ion-radio_2.entry.js +11 -3
  155. package/dist/esm/ion-range.entry.js +2 -2
  156. package/dist/esm/ion-refresher_2.entry.js +30 -15
  157. package/dist/esm/ion-reorder_2.entry.js +3 -3
  158. package/dist/esm/ion-ripple-effect.entry.js +2 -2
  159. package/dist/esm/ion-route_4.entry.js +2 -2
  160. package/dist/esm/ion-searchbar.entry.js +3 -3
  161. package/dist/esm/ion-segment_2.entry.js +2 -2
  162. package/dist/esm/ion-select_3.entry.js +6 -6
  163. package/dist/esm/ion-spinner.entry.js +2 -2
  164. package/dist/esm/ion-split-pane.entry.js +4 -4
  165. package/dist/esm/ion-tab-bar_2.entry.js +2 -2
  166. package/dist/esm/ion-tab_2.entry.js +1 -1
  167. package/dist/esm/ion-text.entry.js +2 -2
  168. package/dist/esm/ion-textarea.entry.js +29 -6
  169. package/dist/esm/ion-toast.entry.js +3 -3
  170. package/dist/esm/ion-toggle.entry.js +3 -3
  171. package/dist/esm/{ionic-global-c0cda98e.js → ionic-global-1f99b929.js} +1 -1
  172. package/dist/esm/ionic.js +5 -5
  173. package/dist/esm/{ios.transition-802a84a6.js → ios.transition-3376ccb2.js} +2 -2
  174. package/dist/esm/loader.js +4 -4
  175. package/dist/esm/{md.transition-43c2874d.js → md.transition-f992779f.js} +2 -2
  176. package/dist/esm/{overlays-32ef481d.js → overlays-b33f6bca.js} +1 -1
  177. package/dist/esm/{status-tap-2b93b1b5.js → status-tap-16fd8f3d.js} +1 -1
  178. package/dist/esm-es5/app-globals-8c62bec2.js +4 -0
  179. package/dist/esm-es5/{button-active-c6ee4f50.js → button-active-308d3edd.js} +1 -1
  180. package/dist/esm-es5/data-775093f5.js +4 -0
  181. package/dist/esm-es5/{index-0c12c22b.js → index-1193f005.js} +1 -1
  182. package/dist/esm-es5/{index-1932b201.js → index-4743453d.js} +1 -1
  183. package/dist/esm-es5/index-b7d870cf.js +5 -0
  184. package/dist/esm-es5/index.js +1 -1
  185. package/dist/esm-es5/ion-accordion_2.entry.js +1 -1
  186. package/dist/esm-es5/ion-action-sheet.entry.js +1 -1
  187. package/dist/esm-es5/ion-alert.entry.js +1 -1
  188. package/dist/esm-es5/ion-app_8.entry.js +1 -1
  189. package/dist/esm-es5/ion-avatar_3.entry.js +1 -1
  190. package/dist/esm-es5/ion-back-button.entry.js +1 -1
  191. package/dist/esm-es5/ion-backdrop.entry.js +1 -1
  192. package/dist/esm-es5/ion-breadcrumb_2.entry.js +1 -1
  193. package/dist/esm-es5/ion-button_2.entry.js +1 -1
  194. package/dist/esm-es5/ion-card_5.entry.js +1 -1
  195. package/dist/esm-es5/ion-checkbox.entry.js +1 -1
  196. package/dist/esm-es5/ion-chip.entry.js +1 -1
  197. package/dist/esm-es5/ion-col_3.entry.js +1 -1
  198. package/dist/esm-es5/ion-datetime-button.entry.js +1 -1
  199. package/dist/esm-es5/ion-datetime_3.entry.js +1 -1
  200. package/dist/esm-es5/ion-fab_3.entry.js +1 -1
  201. package/dist/esm-es5/ion-img.entry.js +1 -1
  202. package/dist/esm-es5/ion-infinite-scroll_2.entry.js +1 -1
  203. package/dist/esm-es5/ion-input.entry.js +1 -1
  204. package/dist/esm-es5/ion-item-option_3.entry.js +1 -1
  205. package/dist/esm-es5/ion-item_8.entry.js +1 -1
  206. package/dist/esm-es5/ion-loading.entry.js +1 -1
  207. package/dist/esm-es5/ion-menu_3.entry.js +1 -1
  208. package/dist/esm-es5/ion-modal.entry.js +1 -1
  209. package/dist/esm-es5/ion-nav_2.entry.js +1 -1
  210. package/dist/esm-es5/ion-picker-column-internal.entry.js +1 -1
  211. package/dist/esm-es5/ion-picker-internal.entry.js +1 -1
  212. package/dist/esm-es5/ion-popover.entry.js +1 -1
  213. package/dist/esm-es5/ion-progress-bar.entry.js +1 -1
  214. package/dist/esm-es5/ion-radio_2.entry.js +1 -1
  215. package/dist/esm-es5/ion-range.entry.js +1 -1
  216. package/dist/esm-es5/ion-refresher_2.entry.js +1 -1
  217. package/dist/esm-es5/ion-reorder_2.entry.js +1 -1
  218. package/dist/esm-es5/ion-ripple-effect.entry.js +1 -1
  219. package/dist/esm-es5/ion-route_4.entry.js +1 -1
  220. package/dist/esm-es5/ion-searchbar.entry.js +1 -1
  221. package/dist/esm-es5/ion-segment_2.entry.js +1 -1
  222. package/dist/esm-es5/ion-select_3.entry.js +1 -1
  223. package/dist/esm-es5/ion-spinner.entry.js +1 -1
  224. package/dist/esm-es5/ion-split-pane.entry.js +1 -1
  225. package/dist/esm-es5/ion-tab-bar_2.entry.js +1 -1
  226. package/dist/esm-es5/ion-tab_2.entry.js +1 -1
  227. package/dist/esm-es5/ion-text.entry.js +1 -1
  228. package/dist/esm-es5/ion-textarea.entry.js +1 -1
  229. package/dist/esm-es5/ion-toast.entry.js +1 -1
  230. package/dist/esm-es5/ion-toggle.entry.js +1 -1
  231. package/dist/esm-es5/{ionic-global-c0cda98e.js → ionic-global-1f99b929.js} +1 -1
  232. package/dist/esm-es5/ionic.js +1 -1
  233. package/dist/esm-es5/{ios.transition-802a84a6.js → ios.transition-3376ccb2.js} +1 -1
  234. package/dist/esm-es5/loader.js +1 -1
  235. package/dist/esm-es5/md.transition-f992779f.js +4 -0
  236. package/dist/esm-es5/{overlays-32ef481d.js → overlays-b33f6bca.js} +1 -1
  237. package/dist/esm-es5/{status-tap-2b93b1b5.js → status-tap-16fd8f3d.js} +1 -1
  238. package/dist/html.html-data.json +13 -1
  239. package/dist/ionic/index.esm.js +1 -1
  240. package/dist/ionic/ionic.esm.js +1 -1
  241. package/dist/ionic/ionic.js +1 -1
  242. package/dist/ionic/{p-f70970cf.js → p-0235067a.js} +1 -1
  243. package/dist/ionic/p-02cb0cf0.entry.js +4 -0
  244. package/dist/ionic/{p-cdbeaadc.js → p-04377cfa.js} +1 -1
  245. package/dist/ionic/{p-f656e032.system.entry.js → p-043aa6cc.system.entry.js} +1 -1
  246. package/dist/ionic/{p-c3c3333a.js → p-0509fd34.js} +1 -1
  247. package/dist/ionic/{p-765f4dde.entry.js → p-0550f802.entry.js} +1 -1
  248. package/dist/ionic/{p-d032f825.system.entry.js → p-068ec6d3.system.entry.js} +1 -1
  249. package/dist/ionic/{p-8acae6b0.system.entry.js → p-06abe918.system.entry.js} +1 -1
  250. package/dist/ionic/{p-5e745192.system.js → p-0aa78a8d.system.js} +1 -1
  251. package/dist/ionic/{p-b56d0866.system.entry.js → p-0ebc87b7.system.entry.js} +1 -1
  252. package/dist/ionic/{p-e7ea9815.system.entry.js → p-149567b1.system.entry.js} +1 -1
  253. package/dist/ionic/{p-b4a51c42.system.js → p-1501b945.system.js} +1 -1
  254. package/dist/ionic/{p-0add7211.entry.js → p-154e5e06.entry.js} +1 -1
  255. package/dist/ionic/{p-6f8dbe92.system.entry.js → p-158efe8d.system.entry.js} +1 -1
  256. package/dist/ionic/{p-8804a472.system.entry.js → p-17d283b9.system.entry.js} +1 -1
  257. package/dist/ionic/p-18cae04f.js +4 -0
  258. package/dist/ionic/{p-e3584231.system.js → p-19d9ceb8.system.js} +1 -1
  259. package/dist/ionic/{p-2d539df1.entry.js → p-1b27ac67.entry.js} +1 -1
  260. package/dist/ionic/{p-a3277a67.entry.js → p-1c249831.entry.js} +1 -1
  261. package/dist/ionic/{p-0e53f8ea.system.entry.js → p-20e0e75d.system.entry.js} +1 -1
  262. package/dist/ionic/p-213e377d.system.entry.js +4 -0
  263. package/dist/ionic/{p-9f6ee2c0.system.entry.js → p-254ec7c0.system.entry.js} +1 -1
  264. package/dist/ionic/{p-78aadecb.entry.js → p-26c4bf85.entry.js} +1 -1
  265. package/dist/ionic/{p-a1987850.entry.js → p-2894d5f6.entry.js} +1 -1
  266. package/dist/ionic/{p-9738fd82.js → p-290d3fe9.js} +1 -1
  267. package/dist/ionic/{p-8d69a624.entry.js → p-2b3debd5.entry.js} +1 -1
  268. package/dist/ionic/{p-958d6ebe.system.entry.js → p-2ba9a9bd.system.entry.js} +2 -2
  269. package/dist/ionic/{p-c847fb35.system.entry.js → p-328107a5.system.entry.js} +1 -1
  270. package/dist/ionic/p-328b49db.system.entry.js +4 -0
  271. package/dist/ionic/{p-1161a793.entry.js → p-3313c481.entry.js} +1 -1
  272. package/dist/ionic/{p-2938823a.system.entry.js → p-332ea4d3.system.entry.js} +1 -1
  273. package/dist/ionic/p-3381c3f4.entry.js +4 -0
  274. package/dist/ionic/{p-a0d7bb5e.system.js → p-3671f1b9.system.js} +1 -1
  275. package/dist/ionic/{p-b7010c69.system.entry.js → p-39f96ff6.system.entry.js} +1 -1
  276. package/dist/ionic/{p-98f3d827.entry.js → p-3dfc522b.entry.js} +1 -1
  277. package/dist/ionic/{p-88fde0e0.entry.js → p-3e8d5e53.entry.js} +1 -1
  278. package/dist/ionic/{p-ef126ae8.system.entry.js → p-41208f54.system.entry.js} +1 -1
  279. package/dist/ionic/{p-a0bb7b92.system.entry.js → p-43f03cf4.system.entry.js} +1 -1
  280. package/dist/ionic/{p-caf21b46.system.entry.js → p-4489dd20.system.entry.js} +1 -1
  281. package/dist/ionic/{p-72f6ff89.js → p-44a56556.js} +1 -1
  282. package/dist/ionic/{p-353b349d.entry.js → p-44dc52e5.entry.js} +1 -1
  283. package/dist/ionic/{p-80fa068e.entry.js → p-47bb15a1.entry.js} +1 -1
  284. package/dist/ionic/p-4a3218d4.system.entry.js +4 -0
  285. package/dist/ionic/{p-3f5179b5.entry.js → p-4f400544.entry.js} +1 -1
  286. package/dist/ionic/{p-16756e94.system.entry.js → p-507ddbfe.system.entry.js} +1 -1
  287. package/dist/ionic/p-52cfafe9.system.js +5 -0
  288. package/dist/ionic/{p-4155f352.system.js → p-5ad1fe3b.system.js} +1 -1
  289. package/dist/ionic/p-5e0c7fdc.entry.js +4 -0
  290. package/dist/ionic/{p-8f5d30f5.entry.js → p-5ff99b79.entry.js} +1 -1
  291. package/dist/ionic/{p-d37b441e.entry.js → p-60959b71.entry.js} +1 -1
  292. package/dist/ionic/{p-28a2c2a2.entry.js → p-61e4d3ec.entry.js} +1 -1
  293. package/dist/ionic/{p-9709ebd8.system.entry.js → p-6337e56b.system.entry.js} +1 -1
  294. package/dist/ionic/{p-ada96dd0.system.entry.js → p-648ad047.system.entry.js} +1 -1
  295. package/dist/ionic/{p-51a087d6.entry.js → p-6855f26a.entry.js} +1 -1
  296. package/dist/ionic/{p-4fb51e61.system.entry.js → p-69641343.system.entry.js} +1 -1
  297. package/dist/ionic/{p-47b6ba5b.js → p-6ab03751.js} +1 -1
  298. package/dist/ionic/{p-517a9885.system.entry.js → p-6c277fa2.system.entry.js} +1 -1
  299. package/dist/ionic/{p-46d400b4.system.entry.js → p-6e0539ea.system.entry.js} +1 -1
  300. package/dist/ionic/{p-dee7c1d0.system.entry.js → p-6fba0ce1.system.entry.js} +1 -1
  301. package/dist/ionic/p-72cb0718.system.entry.js +4 -0
  302. package/dist/ionic/{p-9eec42cc.system.entry.js → p-745e3339.system.entry.js} +1 -1
  303. package/dist/ionic/{p-1b19c04b.entry.js → p-767f1a92.entry.js} +1 -1
  304. package/dist/ionic/{p-c9a21dfd.system.entry.js → p-793a10e0.system.entry.js} +1 -1
  305. package/dist/ionic/p-799da666.entry.js +4 -0
  306. package/dist/ionic/{p-5ecae037.js → p-7fae5c36.js} +1 -1
  307. package/dist/ionic/{p-ea69616e.entry.js → p-84b567a6.entry.js} +1 -1
  308. package/dist/ionic/{p-b6f9d32a.entry.js → p-85f48531.entry.js} +1 -1
  309. package/dist/ionic/p-87bb3735.system.js +4 -0
  310. package/dist/ionic/p-8dae44aa.entry.js +4 -0
  311. package/dist/ionic/{p-908475e7.system.entry.js → p-8f301ac5.system.entry.js} +1 -1
  312. package/dist/ionic/{p-cfe57b1b.entry.js → p-928ee57a.entry.js} +1 -1
  313. package/dist/ionic/{p-953009b1.entry.js → p-93390f78.entry.js} +1 -1
  314. package/dist/ionic/p-93419ece.system.entry.js +4 -0
  315. package/dist/ionic/p-97174c1e.js +4 -0
  316. package/dist/ionic/{p-6de472cb.js → p-98f35d98.js} +1 -1
  317. package/dist/ionic/p-9a68d8ef.system.js +4 -0
  318. package/dist/ionic/{p-5b365ca7.system.js → p-9f94c72e.system.js} +1 -1
  319. package/dist/ionic/{p-1208f939.entry.js → p-9fb45814.entry.js} +1 -1
  320. package/dist/ionic/{p-3e6b47e8.system.entry.js → p-9fda6824.system.entry.js} +1 -1
  321. package/dist/ionic/{p-31fcb233.system.js → p-a074be82.system.js} +1 -1
  322. package/dist/ionic/p-a20bb802.entry.js +4 -0
  323. package/dist/ionic/{p-17da5ed1.entry.js → p-a3013394.entry.js} +1 -1
  324. package/dist/ionic/p-a4461d1c.system.entry.js +4 -0
  325. package/dist/ionic/{p-8314281e.system.js → p-a49931aa.system.js} +1 -1
  326. package/dist/ionic/{p-e6d68e02.system.entry.js → p-a821750c.system.entry.js} +1 -1
  327. package/dist/ionic/{p-5bebc7b3.system.entry.js → p-abd5d0d5.system.entry.js} +1 -1
  328. package/dist/ionic/{p-270e1a1d.entry.js → p-ade3cf46.entry.js} +1 -1
  329. package/dist/ionic/{p-6fbecbda.entry.js → p-aed4931c.entry.js} +1 -1
  330. package/dist/ionic/{p-e24ce1e5.system.js → p-afa9f205.system.js} +1 -1
  331. package/dist/ionic/{p-c91ccbfa.system.entry.js → p-b7058a0e.system.entry.js} +1 -1
  332. package/dist/ionic/{p-cce9f61a.system.entry.js → p-b7a2ffc9.system.entry.js} +1 -1
  333. package/dist/ionic/{p-b3b3efba.system.entry.js → p-b8a9e195.system.entry.js} +1 -1
  334. package/dist/ionic/{p-ddb30596.entry.js → p-b964aba3.entry.js} +1 -1
  335. package/dist/ionic/{p-9b7f0b0f.entry.js → p-bdf71399.entry.js} +1 -1
  336. package/dist/ionic/{p-6e70dd1a.system.entry.js → p-beeed22c.system.entry.js} +1 -1
  337. package/dist/ionic/{p-f8a5bb89.entry.js → p-c08fe2c0.entry.js} +1 -1
  338. package/dist/ionic/{p-4d67d27a.entry.js → p-c1701827.entry.js} +1 -1
  339. package/dist/ionic/{p-18ba8221.entry.js → p-c23eff76.entry.js} +1 -1
  340. package/dist/ionic/{p-b5f9f14c.entry.js → p-c68dd1e0.entry.js} +1 -1
  341. package/dist/ionic/p-c8aadc98.system.entry.js +4 -0
  342. package/dist/ionic/{p-3dd98a73.entry.js → p-cad1126a.entry.js} +1 -1
  343. package/dist/ionic/{p-042e6f4b.entry.js → p-cd1b920b.entry.js} +1 -1
  344. package/dist/ionic/p-cd574dfa.js +4 -0
  345. package/dist/ionic/{p-3a45a82b.entry.js → p-cf235986.entry.js} +1 -1
  346. package/dist/ionic/p-d0748f6d.entry.js +4 -0
  347. package/dist/ionic/{p-b6f5e4f2.system.entry.js → p-d93eed83.system.entry.js} +1 -1
  348. package/dist/ionic/{p-e94c392d.entry.js → p-da5e2652.entry.js} +1 -1
  349. package/dist/ionic/p-da666998.system.entry.js +4 -0
  350. package/dist/ionic/{p-7d92bf15.system.entry.js → p-dc71e4ef.system.entry.js} +1 -1
  351. package/dist/ionic/{p-6577aea9.system.entry.js → p-ddd48faf.system.entry.js} +1 -1
  352. package/dist/ionic/p-e2903cdc.system.entry.js +4 -0
  353. package/dist/ionic/{p-2092f39f.entry.js → p-e33d1ebc.entry.js} +1 -1
  354. package/dist/ionic/p-eb246b50.entry.js +4 -0
  355. package/dist/ionic/p-ee810056.system.entry.js +4 -0
  356. package/dist/ionic/{p-33a37fad.system.js → p-f6e9c227.system.js} +1 -1
  357. package/dist/ionic/{p-251666e2.entry.js → p-f894e0ad.entry.js} +1 -1
  358. package/dist/types/components/datetime/datetime.d.ts +3 -0
  359. package/dist/types/components/datetime/utils/manipulation.d.ts +34 -7
  360. package/dist/types/components/input/input.d.ts +3 -0
  361. package/dist/types/components/modal/modal.d.ts +3 -0
  362. package/dist/types/components/range/range.d.ts +3 -0
  363. package/dist/types/components/refresher/refresher.d.ts +3 -0
  364. package/dist/types/components/refresher/refresher.utils.d.ts +16 -0
  365. package/dist/types/components/textarea/textarea.d.ts +3 -0
  366. package/dist/types/components.d.ts +18 -10
  367. package/hydrate/index.js +221 -83
  368. package/package.json +7 -7
  369. package/dist/esm-es5/app-globals-722340c4.js +0 -4
  370. package/dist/esm-es5/data-f5c75b4e.js +0 -4
  371. package/dist/esm-es5/index-08d686eb.js +0 -5
  372. package/dist/esm-es5/md.transition-43c2874d.js +0 -4
  373. package/dist/ionic/p-01d14eba.system.entry.js +0 -4
  374. package/dist/ionic/p-1786bc72.js +0 -4
  375. package/dist/ionic/p-28249b10.system.entry.js +0 -4
  376. package/dist/ionic/p-2aea8b1e.js +0 -4
  377. package/dist/ionic/p-2d3b9fa3.system.entry.js +0 -4
  378. package/dist/ionic/p-350f7292.system.entry.js +0 -4
  379. package/dist/ionic/p-4233cc1e.system.entry.js +0 -4
  380. package/dist/ionic/p-564af202.system.entry.js +0 -4
  381. package/dist/ionic/p-588fdf40.entry.js +0 -4
  382. package/dist/ionic/p-5e4eec2e.entry.js +0 -4
  383. package/dist/ionic/p-5eda1d7d.entry.js +0 -4
  384. package/dist/ionic/p-6ad34705.system.entry.js +0 -4
  385. package/dist/ionic/p-6de62649.system.entry.js +0 -4
  386. package/dist/ionic/p-82e3d633.system.js +0 -4
  387. package/dist/ionic/p-91d33c4a.js +0 -4
  388. package/dist/ionic/p-9e447eb1.system.js +0 -4
  389. package/dist/ionic/p-a4afcc88.entry.js +0 -4
  390. package/dist/ionic/p-a9978d08.entry.js +0 -4
  391. package/dist/ionic/p-afd6ca9d.entry.js +0 -4
  392. package/dist/ionic/p-d3b030b8.system.js +0 -5
  393. package/dist/ionic/p-dc6af8e9.entry.js +0 -4
  394. package/dist/ionic/p-f0445d82.system.entry.js +0 -4
  395. package/dist/ionic/p-fba0a6e7.system.entry.js +0 -4
  396. package/dist/ionic/p-feae5133.entry.js +0 -4
  397. /package/dist/esm-es5/{index-c132c5f1.js → index-f7dc70ba.js} +0 -0
  398. /package/dist/ionic/{p-ea96fa73.js → p-831269de.js} +0 -0
  399. /package/dist/ionic/{p-8050b9b9.system.js → p-dfb6de03.system.js} +0 -0
@@ -1,4 +1,4 @@
1
1
  var __awaiter=this&&this.__awaiter||function(t,e,i,r){function a(t){return t instanceof i?t:new i((function(e){e(t)}))}return new(i||(i=Promise))((function(i,n){function o(t){try{l(r.next(t))}catch(t){n(t)}}function s(t){try{l(r["throw"](t))}catch(t){n(t)}}function l(t){t.done?i(t.value):a(t.value).then(o,s)}l((r=r.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var i={label:0,sent:function(){if(n[0]&1)throw n[1];return n[1]},trys:[],ops:[]},r,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(t){return function(e){return l([t,e])}}function l(s){if(r)throw new TypeError("Generator is already executing.");while(o&&(o=0,s[0]&&(i=0)),i)try{if(r=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:i.label++;return{value:s[1],done:false};case 5:i.label++;a=s[1];s=[0];continue;case 7:s=i.ops.pop();i.trys.pop();continue;default:if(!(n=i.trys,n=n.length>0&&n[n.length-1])&&(s[0]===6||s[0]===2)){i=0;continue}if(s[0]===3&&(!n||s[1]>n[0]&&s[1]<n[3])){i.label=s[1];break}if(s[0]===6&&i.label<n[1]){i.label=n[1];n=s;break}if(n&&i.label<n[2]){i.label=n[2];i.ops.push(s);break}if(n[2])i.ops.pop();i.trys.pop();continue}s=e.call(t,i)}catch(t){s=[6,t];a=0}finally{r=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-d3b030b8.system.js","./p-38c337e7.system.js","./p-32ad210f.system.js","./p-979d4f5c.system.js","./p-ff4b7e40.system.js","./p-4609d030.system.js","./p-b4a51c42.system.js"],(function(t){"use strict";var e,i,r,a,n,o,s,l,d,c,p,h,m,f,u;return{setters:[function(t){e=t.r;i=t.d;r=t.h;a=t.H;n=t.f},function(t){o=t.c},function(t){s=t.a;l=t.b;d=t.e;c=t.d},function(t){p=t.i},function(t){h=t.p},function(t){m=t.h;f=t.c},function(t){u=t.b}],execute:function(){var b=':host{--inner-border-radius:50%;display:inline-block;position:relative;-webkit-box-sizing:border-box;box-sizing:border-box;max-width:100%;min-height:inherit;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:2}:host(:not(.legacy-radio)){cursor:pointer}: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}:host(.legacy-radio) label{top:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;position:absolute;width:100%;height:100%;border:0;background:transparent;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;outline:none;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;opacity:0}@supports (inset-inline-start: 0){:host(.legacy-radio) label{inset-inline-start:0}}@supports not (inset-inline-start: 0){:host(.legacy-radio) label{left:0}:host-context([dir=rtl]):host(.legacy-radio) label,:host-context([dir=rtl]).legacy-radio label{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){:host(.legacy-radio:dir(rtl)) label{left:unset;right:unset;right:0}}}:host(.legacy-radio) label::-moz-focus-inner{border:0}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:not(.legacy-radio)){width:100%;height:100%}:host([slot=start]:not(.legacy-radio)),:host([slot=end]:not(.legacy-radio)){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;height:inherit;min-height:inherit;cursor:inherit}.label-text-wrapper{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}:host(.in-item:not(.legacy-radio)) .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-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, #3880ff)}:host(.legacy-radio){width:0.9375rem;height:1.5rem}: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, #4c8dff);content:"";opacity:0.2}@supports (inset-inline-start: 0){:host(.ion-focused) .radio-icon::after{inset-inline-start:-9px}}@supports not (inset-inline-start: 0){:host(.ion-focused) .radio-icon::after{left:-9px}:host-context([dir=rtl]):host(.ion-focused) .radio-icon::after,:host-context([dir=rtl]).ion-focused .radio-icon::after{left:unset;right:unset;right:-9px}@supports selector(:dir(rtl)){:host(.ion-focused:dir(rtl)) .radio-icon::after{left:unset;right:unset;right:-9px}}}:host(.in-item.legacy-radio){-webkit-margin-start:8px;margin-inline-start:8px;-webkit-margin-end:11px;margin-inline-end:11px;margin-top:8px;margin-bottom:8px;display:block;position:static}:host(.in-item.legacy-radio[slot=start]){-webkit-margin-start:3px;margin-inline-start:3px;-webkit-margin-end:21px;margin-inline-end:21px;margin-top:8px;margin-bottom:8px}.native-wrapper .radio-icon{width:0.9375rem;height:1.5rem}';var g=':host{--inner-border-radius:50%;display:inline-block;position:relative;-webkit-box-sizing:border-box;box-sizing:border-box;max-width:100%;min-height:inherit;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:2}:host(:not(.legacy-radio)){cursor:pointer}: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}:host(.legacy-radio) label{top:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;position:absolute;width:100%;height:100%;border:0;background:transparent;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;outline:none;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;opacity:0}@supports (inset-inline-start: 0){:host(.legacy-radio) label{inset-inline-start:0}}@supports not (inset-inline-start: 0){:host(.legacy-radio) label{left:0}:host-context([dir=rtl]):host(.legacy-radio) label,:host-context([dir=rtl]).legacy-radio label{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){:host(.legacy-radio:dir(rtl)) label{left:unset;right:unset;right:0}}}:host(.legacy-radio) label::-moz-focus-inner{border:0}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:not(.legacy-radio)){width:100%;height:100%}:host([slot=start]:not(.legacy-radio)),:host([slot=end]:not(.legacy-radio)){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;height:inherit;min-height:inherit;cursor:inherit}.label-text-wrapper{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}:host(.in-item:not(.legacy-radio)) .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-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, #3880ff);--border-width:0.125rem;--border-style:solid;--border-radius:50%}:host(.legacy-radio){width:1.25rem;height:1.25rem}: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(.legacy-radio.radio-disabled),:host(.radio-disabled) .label-text-wrapper{opacity:0.38}:host(.radio-disabled) .native-wrapper{opacity:0.63}:host(.ion-focused.legacy-radio) .radio-icon::after{top:-12px}@supports (inset-inline-start: 0){:host(.ion-focused.legacy-radio) .radio-icon::after{inset-inline-start:-12px}}@supports not (inset-inline-start: 0){:host(.ion-focused.legacy-radio) .radio-icon::after{left:-12px}:host-context([dir=rtl]):host(.ion-focused.legacy-radio) .radio-icon::after,:host-context([dir=rtl]).ion-focused.legacy-radio .radio-icon::after{left:unset;right:unset;right:-12px}@supports selector(:dir(rtl)){:host(.ion-focused.legacy-radio:dir(rtl)) .radio-icon::after{left:unset;right:unset;right:-12px}}}: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, #4c8dff);content:"";opacity:0.2}:host(.in-item.legacy-radio){margin-left:0;margin-right:0;margin-top:9px;margin-bottom:9px;display:block;position:static}:host(.in-item.legacy-radio[slot=start]){-webkit-margin-start:4px;margin-inline-start:4px;-webkit-margin-end:36px;margin-inline-end:36px;margin-top:11px;margin-bottom:10px}.native-wrapper .radio-icon{width:1.25rem;height:1.25rem}';var x=t("ion_radio",function(){function t(t){var r=this;e(this,t);this.ionStyle=i(this,"ionStyle",7);this.ionFocus=i(this,"ionFocus",7);this.ionBlur=i(this,"ionBlur",7);this.inputId="ion-rb-".concat(w++);this.radioGroup=null;this.hasLoggedDeprecationWarning=false;this.updateState=function(){if(r.radioGroup){var t=r.radioGroup,e=t.compareWith,i=t.value;r.checked=p(i,r.value,e)}};this.onClick=function(){var t=r,e=t.radioGroup,i=t.checked,a=t.disabled;if(a){return}if(r.legacyFormController.hasLegacyControl()){r.checked=r.nativeInput.checked;return}if(i&&(e===null||e===void 0?void 0:e.allowEmptySelection)){r.checked=false}else{r.checked=true}};this.onFocus=function(){r.ionFocus.emit()};this.onBlur=function(){r.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.legacy=undefined;this.justify="space-between";this.alignment="center"}t.prototype.valueChanged=function(){this.updateState()};t.prototype.setFocus=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){t.stopPropagation();t.preventDefault();this.el.focus();return[2]}))}))};t.prototype.setButtonTabindex=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.buttonTabindex=t;return[2]}))}))};t.prototype.connectedCallback=function(){this.legacyFormController=o(this.el);if(this.value===undefined){this.value=this.inputId}var t=this.radioGroup=this.el.closest("ion-radio-group");if(t){this.updateState();s(t,"ionValueChange",this.updateState)}};t.prototype.disconnectedCallback=function(){var t=this.radioGroup;if(t){l(t,"ionValueChange",this.updateState);this.radioGroup=null}};t.prototype.componentWillLoad=function(){this.emitStyle()};t.prototype.styleChanged=function(){this.emitStyle()};t.prototype.emitStyle=function(){var t={"interactive-disabled":this.disabled,legacy:!!this.legacy};if(this.legacyFormController.hasLegacyControl()){t["radio-checked"]=this.checked}this.ionStyle.emit(t)};Object.defineProperty(t.prototype,"hasLabel",{get:function(){return this.el.textContent!==""},enumerable:false,configurable:true});t.prototype.renderRadioControl=function(){return r("div",{class:"radio-icon",part:"container"},r("div",{class:"radio-inner",part:"mark"}),r("div",{class:"radio-ripple"}))};t.prototype.render=function(){var t=this.legacyFormController;return t.hasLegacyControl()?this.renderLegacyRadio():this.renderRadio()};t.prototype.renderRadio=function(){var t;var e=this,i=e.checked,n=e.disabled,o=e.color,s=e.el,l=e.justify,d=e.labelPlacement,c=e.hasLabel,p=e.buttonTabindex,h=e.alignment;var b=u(this);var g=m("ion-item",s);return r(a,{onFocus:this.onFocus,onBlur:this.onBlur,onClick:this.onClick,class:f(o,(t={},t[b]=true,t["in-item"]=g,t["radio-checked"]=i,t["radio-disabled"]=n,t["radio-justify-".concat(l)]=true,t["radio-alignment-".concat(h)]=true,t["radio-label-placement-".concat(d)]=true,t["ion-activatable"]=!g,t["ion-focusable"]=!g,t)),role:"radio","aria-checked":i?"true":"false","aria-disabled":n?"true":null,tabindex:p},r("label",{class:"radio-wrapper"},r("div",{class:{"label-text-wrapper":true,"label-text-wrapper-hidden":!c},part:"label"},r("slot",null)),r("div",{class:"native-wrapper"},this.renderRadioControl())))};t.prototype.renderLegacyRadio=function(){var t;var e=this;if(!this.hasLoggedDeprecationWarning){h('ion-radio now requires providing a label with either the default slot or the "aria-label" attribute. To migrate, remove any usage of "ion-label" and pass the label text to either the component or the "aria-label" attribute.\n\nExample: <ion-radio>Option Label</ion-radio>\nExample with aria-label: <ion-radio aria-label="Option Label"></ion-radio>\n\nDevelopers can use the "legacy" property to continue using the legacy form markup. This property will be removed in an upcoming major release of Ionic where this form control will use the modern form markup.',this.el);if(this.legacy){h('ion-radio is being used with the "legacy" property enabled which will forcibly enable the legacy form markup. This property will be removed in an upcoming major release of Ionic where this form control will use the modern form markup.\n\nDevelopers can dismiss this warning by removing their usage of the "legacy" property and using the new radio syntax.',this.el)}this.hasLoggedDeprecationWarning=true}var i=this,n=i.inputId,o=i.disabled,s=i.checked,l=i.color,c=i.el,p=i.buttonTabindex;var b=u(this);var g=d(c,n),x=g.label,w=g.labelId,y=g.labelText;return r(a,{"aria-checked":"".concat(s),"aria-hidden":o?"true":null,"aria-labelledby":x?w:null,role:"radio",tabindex:p,onFocus:this.onFocus,onBlur:this.onBlur,onClick:this.onClick,class:f(l,(t={},t[b]=true,t["in-item"]=m("ion-item",c),t.interactive=true,t["radio-checked"]=s,t["radio-disabled"]=o,t["legacy-radio"]=true,t))},this.renderRadioControl(),r("label",{htmlFor:n},y),r("input",{type:"radio",checked:s,disabled:o,tabindex:"-1",id:n,ref:function(t){return e.nativeInput=t}}))};Object.defineProperty(t.prototype,"el",{get:function(){return n(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{value:["valueChanged"],checked:["styleChanged"],color:["styleChanged"],disabled:["styleChanged"]}},enumerable:false,configurable:true});return t}());var w=0;x.style={ios:b,md:g};var y=t("ion_radio_group",function(){function t(t){var r=this;e(this,t);this.ionChange=i(this,"ionChange",7);this.ionValueChange=i(this,"ionValueChange",7);this.inputId="ion-rg-".concat(v++);this.labelId="".concat(this.inputId,"-lbl");this.setRadioTabindex=function(t){var e=r.getRadios();var i=e.find((function(t){return!t.disabled}));var a=e.find((function(e){return e.value===t&&!e.disabled}));if(!i&&!a){return}var n=a||i;for(var o=0,s=e;o<s.length;o++){var l=s[o];var d=l===n?0:-1;l.setButtonTabindex(d)}};this.onClick=function(t){t.preventDefault();var e=t.target&&t.target.closest("ion-radio");if(e&&e.disabled===false){var i=r.value;var a=e.value;if(a!==i){r.value=a;r.emitValueChange(t)}else if(r.allowEmptySelection){r.value=undefined;r.emitValueChange(t)}}};this.allowEmptySelection=false;this.compareWith=undefined;this.name=this.inputId;this.value=undefined}t.prototype.valueChanged=function(t){this.setRadioTabindex(t);this.ionValueChange.emit({value:t})};t.prototype.componentDidLoad=function(){this.valueChanged(this.value)};t.prototype.connectedCallback=function(){return __awaiter(this,void 0,void 0,(function(){var t,e;return __generator(this,(function(i){t=this.el.querySelector("ion-list-header")||this.el.querySelector("ion-item-divider");if(t){e=this.label=t.querySelector("ion-label");if(e){this.labelId=e.id=this.name+"-lbl"}}return[2]}))}))};t.prototype.getRadios=function(){return Array.from(this.el.querySelectorAll("ion-radio"))};t.prototype.emitValueChange=function(t){var e=this.value;this.ionChange.emit({value:e,event:t})};t.prototype.onKeydown=function(t){var e=!!this.el.closest("ion-select-popover");if(t.target&&!this.el.contains(t.target)){return}var i=this.getRadios().filter((function(t){return!t.disabled}));if(t.target&&i.includes(t.target)){var r=i.findIndex((function(e){return e===t.target}));var a=i[r];var n=void 0;if(["ArrowDown","ArrowRight"].includes(t.key)){n=r===i.length-1?i[0]:i[r+1]}if(["ArrowUp","ArrowLeft"].includes(t.key)){n=r===0?i[i.length-1]:i[r-1]}if(n&&i.includes(n)){n.setFocus(t);if(!e){this.value=n.value;this.emitValueChange(t)}}if([" "].includes(t.key)){var o=this.value;this.value=this.allowEmptySelection&&this.value!==undefined?undefined:a.value;if(o!==this.value||this.allowEmptySelection){this.emitValueChange(t)}t.preventDefault()}}};t.prototype.render=function(){var t=this,e=t.label,i=t.labelId,n=t.el,o=t.name,s=t.value;var l=u(this);c(true,n,o,s,false);return r(a,{role:"radiogroup","aria-labelledby":e?i:null,onClick:this.onClick,class:l})};Object.defineProperty(t.prototype,"el",{get:function(){return n(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{value:["valueChanged"]}},enumerable:false,configurable:true});return t}());var v=0}}}));
4
+ */System.register(["./p-52cfafe9.system.js","./p-38c337e7.system.js","./p-32ad210f.system.js","./p-979d4f5c.system.js","./p-ff4b7e40.system.js","./p-4609d030.system.js","./p-1501b945.system.js"],(function(t){"use strict";var e,i,r,a,n,o,s,l,d,c,p,h,m,f,u;return{setters:[function(t){e=t.r;i=t.d;r=t.h;a=t.H;n=t.f},function(t){o=t.c},function(t){s=t.a;l=t.b;d=t.e;c=t.d},function(t){p=t.i},function(t){h=t.p},function(t){m=t.h;f=t.c},function(t){u=t.b}],execute:function(){var b=':host{--inner-border-radius:50%;display:inline-block;position:relative;-webkit-box-sizing:border-box;box-sizing:border-box;max-width:100%;min-height:inherit;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:2}:host(:not(.legacy-radio)){cursor:pointer}: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}:host(.legacy-radio) label{top:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;position:absolute;width:100%;height:100%;border:0;background:transparent;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;outline:none;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;opacity:0}@supports (inset-inline-start: 0){:host(.legacy-radio) label{inset-inline-start:0}}@supports not (inset-inline-start: 0){:host(.legacy-radio) label{left:0}:host-context([dir=rtl]):host(.legacy-radio) label,:host-context([dir=rtl]).legacy-radio label{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){:host(.legacy-radio:dir(rtl)) label{left:unset;right:unset;right:0}}}:host(.legacy-radio) label::-moz-focus-inner{border:0}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:not(.legacy-radio)){width:100%;height:100%}:host([slot=start]:not(.legacy-radio)),:host([slot=end]:not(.legacy-radio)){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;height:inherit;min-height:inherit;cursor:inherit}.label-text-wrapper{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}:host(.in-item:not(.legacy-radio)) .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-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, #3880ff)}:host(.legacy-radio){width:0.9375rem;height:1.5rem}: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, #4c8dff);content:"";opacity:0.2}@supports (inset-inline-start: 0){:host(.ion-focused) .radio-icon::after{inset-inline-start:-9px}}@supports not (inset-inline-start: 0){:host(.ion-focused) .radio-icon::after{left:-9px}:host-context([dir=rtl]):host(.ion-focused) .radio-icon::after,:host-context([dir=rtl]).ion-focused .radio-icon::after{left:unset;right:unset;right:-9px}@supports selector(:dir(rtl)){:host(.ion-focused:dir(rtl)) .radio-icon::after{left:unset;right:unset;right:-9px}}}:host(.in-item.legacy-radio){-webkit-margin-start:8px;margin-inline-start:8px;-webkit-margin-end:11px;margin-inline-end:11px;margin-top:8px;margin-bottom:8px;display:block;position:static}:host(.in-item.legacy-radio[slot=start]){-webkit-margin-start:3px;margin-inline-start:3px;-webkit-margin-end:21px;margin-inline-end:21px;margin-top:8px;margin-bottom:8px}.native-wrapper .radio-icon{width:0.9375rem;height:1.5rem}';var g=':host{--inner-border-radius:50%;display:inline-block;position:relative;-webkit-box-sizing:border-box;box-sizing:border-box;max-width:100%;min-height:inherit;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:2}:host(:not(.legacy-radio)){cursor:pointer}: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}:host(.legacy-radio) label{top:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;position:absolute;width:100%;height:100%;border:0;background:transparent;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;outline:none;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;opacity:0}@supports (inset-inline-start: 0){:host(.legacy-radio) label{inset-inline-start:0}}@supports not (inset-inline-start: 0){:host(.legacy-radio) label{left:0}:host-context([dir=rtl]):host(.legacy-radio) label,:host-context([dir=rtl]).legacy-radio label{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){:host(.legacy-radio:dir(rtl)) label{left:unset;right:unset;right:0}}}:host(.legacy-radio) label::-moz-focus-inner{border:0}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:not(.legacy-radio)){width:100%;height:100%}:host([slot=start]:not(.legacy-radio)),:host([slot=end]:not(.legacy-radio)){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;height:inherit;min-height:inherit;cursor:inherit}.label-text-wrapper{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}:host(.in-item:not(.legacy-radio)) .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-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, #3880ff);--border-width:0.125rem;--border-style:solid;--border-radius:50%}:host(.legacy-radio){width:1.25rem;height:1.25rem}: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(.legacy-radio.radio-disabled),:host(.radio-disabled) .label-text-wrapper{opacity:0.38}:host(.radio-disabled) .native-wrapper{opacity:0.63}:host(.ion-focused.legacy-radio) .radio-icon::after{top:-12px}@supports (inset-inline-start: 0){:host(.ion-focused.legacy-radio) .radio-icon::after{inset-inline-start:-12px}}@supports not (inset-inline-start: 0){:host(.ion-focused.legacy-radio) .radio-icon::after{left:-12px}:host-context([dir=rtl]):host(.ion-focused.legacy-radio) .radio-icon::after,:host-context([dir=rtl]).ion-focused.legacy-radio .radio-icon::after{left:unset;right:unset;right:-12px}@supports selector(:dir(rtl)){:host(.ion-focused.legacy-radio:dir(rtl)) .radio-icon::after{left:unset;right:unset;right:-12px}}}: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, #4c8dff);content:"";opacity:0.2}:host(.in-item.legacy-radio){margin-left:0;margin-right:0;margin-top:9px;margin-bottom:9px;display:block;position:static}:host(.in-item.legacy-radio[slot=start]){-webkit-margin-start:4px;margin-inline-start:4px;-webkit-margin-end:36px;margin-inline-end:36px;margin-top:11px;margin-bottom:10px}.native-wrapper .radio-icon{width:1.25rem;height:1.25rem}';var x=t("ion_radio",function(){function t(t){var r=this;e(this,t);this.ionStyle=i(this,"ionStyle",7);this.ionFocus=i(this,"ionFocus",7);this.ionBlur=i(this,"ionBlur",7);this.inputId="ion-rb-".concat(w++);this.radioGroup=null;this.hasLoggedDeprecationWarning=false;this.updateState=function(){if(r.radioGroup){var t=r.radioGroup,e=t.compareWith,i=t.value;r.checked=p(i,r.value,e)}};this.onClick=function(){var t=r,e=t.radioGroup,i=t.checked,a=t.disabled;if(a){return}if(r.legacyFormController.hasLegacyControl()){r.checked=r.nativeInput.checked;return}if(i&&(e===null||e===void 0?void 0:e.allowEmptySelection)){r.checked=false}else{r.checked=true}};this.onFocus=function(){r.ionFocus.emit()};this.onBlur=function(){r.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.legacy=undefined;this.justify="space-between";this.alignment="center"}t.prototype.valueChanged=function(){this.updateState()};t.prototype.setFocus=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){t.stopPropagation();t.preventDefault();this.el.focus();return[2]}))}))};t.prototype.setButtonTabindex=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.buttonTabindex=t;return[2]}))}))};t.prototype.connectedCallback=function(){this.legacyFormController=o(this.el);if(this.value===undefined){this.value=this.inputId}var t=this.radioGroup=this.el.closest("ion-radio-group");if(t){this.updateState();s(t,"ionValueChange",this.updateState)}};t.prototype.disconnectedCallback=function(){var t=this.radioGroup;if(t){l(t,"ionValueChange",this.updateState);this.radioGroup=null}};t.prototype.componentWillLoad=function(){this.emitStyle()};t.prototype.styleChanged=function(){this.emitStyle()};t.prototype.emitStyle=function(){var t={"interactive-disabled":this.disabled,legacy:!!this.legacy};if(this.legacyFormController.hasLegacyControl()){t["radio-checked"]=this.checked}this.ionStyle.emit(t)};Object.defineProperty(t.prototype,"hasLabel",{get:function(){return this.el.textContent!==""},enumerable:false,configurable:true});t.prototype.renderRadioControl=function(){return r("div",{class:"radio-icon",part:"container"},r("div",{class:"radio-inner",part:"mark"}),r("div",{class:"radio-ripple"}))};t.prototype.render=function(){var t=this.legacyFormController;return t.hasLegacyControl()?this.renderLegacyRadio():this.renderRadio()};t.prototype.renderRadio=function(){var t;var e=this,i=e.checked,n=e.disabled,o=e.color,s=e.el,l=e.justify,d=e.labelPlacement,c=e.hasLabel,p=e.buttonTabindex,h=e.alignment;var b=u(this);var g=m("ion-item",s);return r(a,{onFocus:this.onFocus,onBlur:this.onBlur,onClick:this.onClick,class:f(o,(t={},t[b]=true,t["in-item"]=g,t["radio-checked"]=i,t["radio-disabled"]=n,t["radio-justify-".concat(l)]=true,t["radio-alignment-".concat(h)]=true,t["radio-label-placement-".concat(d)]=true,t["ion-activatable"]=!g,t["ion-focusable"]=!g,t)),role:"radio","aria-checked":i?"true":"false","aria-disabled":n?"true":null,tabindex:p},r("label",{class:"radio-wrapper"},r("div",{class:{"label-text-wrapper":true,"label-text-wrapper-hidden":!c},part:"label"},r("slot",null)),r("div",{class:"native-wrapper"},this.renderRadioControl())))};t.prototype.renderLegacyRadio=function(){var t;var e=this;if(!this.hasLoggedDeprecationWarning){h('ion-radio now requires providing a label with either the default slot or the "aria-label" attribute. To migrate, remove any usage of "ion-label" and pass the label text to either the component or the "aria-label" attribute.\n\nExample: <ion-radio>Option Label</ion-radio>\nExample with aria-label: <ion-radio aria-label="Option Label"></ion-radio>\n\nDevelopers can use the "legacy" property to continue using the legacy form markup. This property will be removed in an upcoming major release of Ionic where this form control will use the modern form markup.',this.el);if(this.legacy){h('ion-radio is being used with the "legacy" property enabled which will forcibly enable the legacy form markup. This property will be removed in an upcoming major release of Ionic where this form control will use the modern form markup.\n\nDevelopers can dismiss this warning by removing their usage of the "legacy" property and using the new radio syntax.',this.el)}this.hasLoggedDeprecationWarning=true}var i=this,n=i.inputId,o=i.disabled,s=i.checked,l=i.color,c=i.el,p=i.buttonTabindex;var b=u(this);var g=d(c,n),x=g.label,w=g.labelId,y=g.labelText;return r(a,{"aria-checked":"".concat(s),"aria-hidden":o?"true":null,"aria-labelledby":x?w:null,role:"radio",tabindex:p,onFocus:this.onFocus,onBlur:this.onBlur,onClick:this.onClick,class:f(l,(t={},t[b]=true,t["in-item"]=m("ion-item",c),t.interactive=true,t["radio-checked"]=s,t["radio-disabled"]=o,t["legacy-radio"]=true,t))},this.renderRadioControl(),r("label",{htmlFor:n},y),r("input",{type:"radio",checked:s,disabled:o,tabindex:"-1",id:n,ref:function(t){return e.nativeInput=t}}))};Object.defineProperty(t.prototype,"el",{get:function(){return n(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{value:["valueChanged"],checked:["styleChanged"],color:["styleChanged"],disabled:["styleChanged"]}},enumerable:false,configurable:true});return t}());var w=0;x.style={ios:b,md:g};var y=t("ion_radio_group",function(){function t(t){var r=this;e(this,t);this.ionChange=i(this,"ionChange",7);this.ionValueChange=i(this,"ionValueChange",7);this.inputId="ion-rg-".concat(v++);this.labelId="".concat(this.inputId,"-lbl");this.setRadioTabindex=function(t){var e=r.getRadios();var i=e.find((function(t){return!t.disabled}));var a=e.find((function(e){return e.value===t&&!e.disabled}));if(!i&&!a){return}var n=a||i;for(var o=0,s=e;o<s.length;o++){var l=s[o];var d=l===n?0:-1;l.setButtonTabindex(d)}};this.onClick=function(t){t.preventDefault();var e=t.target&&t.target.closest("ion-radio");if(e&&!e.disabled){var i=r.value;var a=e.value;if(a!==i){r.value=a;r.emitValueChange(t)}else if(r.allowEmptySelection){r.value=undefined;r.emitValueChange(t)}}};this.allowEmptySelection=false;this.compareWith=undefined;this.name=this.inputId;this.value=undefined}t.prototype.valueChanged=function(t){this.setRadioTabindex(t);this.ionValueChange.emit({value:t})};t.prototype.componentDidLoad=function(){this.valueChanged(this.value)};t.prototype.connectedCallback=function(){return __awaiter(this,void 0,void 0,(function(){var t,e;return __generator(this,(function(i){t=this.el.querySelector("ion-list-header")||this.el.querySelector("ion-item-divider");if(t){e=this.label=t.querySelector("ion-label");if(e){this.labelId=e.id=this.name+"-lbl"}}return[2]}))}))};t.prototype.getRadios=function(){return Array.from(this.el.querySelectorAll("ion-radio"))};t.prototype.emitValueChange=function(t){var e=this.value;this.ionChange.emit({value:e,event:t})};t.prototype.onKeydown=function(t){var e=!!this.el.closest("ion-select-popover");if(t.target&&!this.el.contains(t.target)){return}var i=this.getRadios().filter((function(t){return!t.disabled}));if(t.target&&i.includes(t.target)){var r=i.findIndex((function(e){return e===t.target}));var a=i[r];var n=void 0;if(["ArrowDown","ArrowRight"].includes(t.key)){n=r===i.length-1?i[0]:i[r+1]}if(["ArrowUp","ArrowLeft"].includes(t.key)){n=r===0?i[i.length-1]:i[r-1]}if(n&&i.includes(n)){n.setFocus(t);if(!e){this.value=n.value;this.emitValueChange(t)}}if([" "].includes(t.key)){var o=this.value;this.value=this.allowEmptySelection&&this.value!==undefined?undefined:a.value;if(o!==this.value||this.allowEmptySelection){this.emitValueChange(t)}t.preventDefault()}}};t.prototype.render=function(){var t=this,e=t.label,i=t.labelId,n=t.el,o=t.name,s=t.value;var l=u(this);c(true,n,o,s,false);return r(a,{role:"radiogroup","aria-labelledby":e?i:null,onClick:this.onClick,class:l})};Object.defineProperty(t.prototype,"el",{get:function(){return n(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{value:["valueChanged"]}},enumerable:false,configurable:true});return t}());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,H as i,f as n}from"./p-9738fd82.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-5ecae037.js";import{k as d}from"./p-23a9d086.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,{role:"tablist","aria-hidden":l?"true":null,class:r(t,{[a]:!0,"tab-bar-translucent":o,"tab-bar-hidden":l})},e("slot",null))}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, #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, rgba(0, 0, 0, 0.2))));--color:var(--ion-tab-bar-color, var(--ion-color-step-600, #666666));--color-selected:var(--ion-tab-bar-color-selected, var(--ion-color-primary, #3880ff));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, rgba(0, 0, 0, 0.07))));--color:var(--ion-tab-bar-color, var(--ion-color-step-650, #595959));--color-selected:var(--ion-tab-bar-color-selected, var(--ion-color-primary, #3880ff));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);return e(i,{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({},{download:this.download,href:a,rel:r,target:l},{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",{class:"button-inner"},e("slot",null)),"md"===p&&e("ion-ripple-effect",{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}@supports (inset-inline-start: 0){::slotted(ion-badge){inset-inline-start:calc(50% + 6px)}}@supports not (inset-inline-start: 0){::slotted(ion-badge){left:calc(50% + 6px)}:host-context([dir=rtl]) ::slotted(ion-badge){left:unset;right:unset;right:calc(50% + 6px)}[dir=rtl] ::slotted(ion-badge){left:unset;right:unset;right:calc(50% + 6px)}@supports selector(:dir(rtl)){::slotted(ion-badge):dir(rtl){left:unset;right:unset;right:calc(50% + 6px)}}}::slotted(ion-icon){margin-top:2px;margin-bottom:2px;font-size:30px}::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}@supports (inset-inline-start: 0){:host(.tab-layout-icon-bottom) ::slotted(ion-badge){inset-inline-start:calc(50% + 12px)}}@supports not (inset-inline-start: 0){:host(.tab-layout-icon-bottom) ::slotted(ion-badge){left:calc(50% + 12px)}:host-context([dir=rtl]):host(.tab-layout-icon-bottom) ::slotted(ion-badge),:host-context([dir=rtl]).tab-layout-icon-bottom ::slotted(ion-badge){left:unset;right:unset;right:calc(50% + 12px)}@supports selector(:dir(rtl)){:host(.tab-layout-icon-bottom:dir(rtl)) ::slotted(ion-badge){left:unset;right:unset;right: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}@supports (inset-inline-start: 0){:host(.tab-layout-icon-start) ::slotted(ion-badge),:host(.tab-layout-icon-end) ::slotted(ion-badge){inset-inline-start:calc(50% + 35px)}}@supports not (inset-inline-start: 0){:host(.tab-layout-icon-start) ::slotted(ion-badge),:host(.tab-layout-icon-end) ::slotted(ion-badge){left:calc(50% + 35px)}:host-context([dir=rtl]):host(.tab-layout-icon-start) ::slotted(ion-badge),:host-context([dir=rtl]).tab-layout-icon-start ::slotted(ion-badge),:host-context([dir=rtl]):host(.tab-layout-icon-end) ::slotted(ion-badge),:host-context([dir=rtl]).tab-layout-icon-end ::slotted(ion-badge){left:unset;right:unset;right:calc(50% + 35px)}@supports selector(:dir(rtl)){:host(.tab-layout-icon-start:dir(rtl)) ::slotted(ion-badge),:host(.tab-layout-icon-end:dir(rtl)) ::slotted(ion-badge){left:unset;right:unset;right:calc(50% + 35px)}}}:host(.tab-layout-icon-hide) ::slotted(ion-badge),:host(.tab-has-label-only) ::slotted(ion-badge){top:10px}@supports (inset-inline-start: 0){:host(.tab-layout-icon-hide) ::slotted(ion-badge),:host(.tab-has-label-only) ::slotted(ion-badge){inset-inline-start:calc(50% + 30px)}}@supports not (inset-inline-start: 0){:host(.tab-layout-icon-hide) ::slotted(ion-badge),:host(.tab-has-label-only) ::slotted(ion-badge){left:calc(50% + 30px)}:host-context([dir=rtl]):host(.tab-layout-icon-hide) ::slotted(ion-badge),:host-context([dir=rtl]).tab-layout-icon-hide ::slotted(ion-badge),:host-context([dir=rtl]):host(.tab-has-label-only) ::slotted(ion-badge),:host-context([dir=rtl]).tab-has-label-only ::slotted(ion-badge){left:unset;right:unset;right:calc(50% + 30px)}@supports selector(:dir(rtl)){:host(.tab-layout-icon-hide:dir(rtl)) ::slotted(ion-badge),:host(.tab-has-label-only:dir(rtl)) ::slotted(ion-badge){left:unset;right:unset;right: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}',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}@supports (inset-inline-start: 0){::slotted(ion-badge){inset-inline-start:calc(50% + 6px)}}@supports not (inset-inline-start: 0){::slotted(ion-badge){left:calc(50% + 6px)}:host-context([dir=rtl]) ::slotted(ion-badge){left:unset;right:unset;right:calc(50% + 6px)}[dir=rtl] ::slotted(ion-badge){left:unset;right:unset;right:calc(50% + 6px)}@supports selector(:dir(rtl)){::slotted(ion-badge):dir(rtl){left:unset;right:unset;right: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}@supports (inset-inline-start: 0){:host(.tab-layout-icon-bottom) ::slotted(ion-badge){inset-inline-start:70%}}@supports not (inset-inline-start: 0){:host(.tab-layout-icon-bottom) ::slotted(ion-badge){left:70%}:host-context([dir=rtl]):host(.tab-layout-icon-bottom) ::slotted(ion-badge),:host-context([dir=rtl]).tab-layout-icon-bottom ::slotted(ion-badge){left:unset;right:unset;right:70%}@supports selector(:dir(rtl)){:host(.tab-layout-icon-bottom:dir(rtl)) ::slotted(ion-badge){left:unset;right:unset;right: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}@supports (inset-inline-start: 0){:host(.tab-layout-icon-start) ::slotted(ion-badge),:host(.tab-layout-icon-end) ::slotted(ion-badge){inset-inline-start:80%}}@supports not (inset-inline-start: 0){:host(.tab-layout-icon-start) ::slotted(ion-badge),:host(.tab-layout-icon-end) ::slotted(ion-badge){left:80%}:host-context([dir=rtl]):host(.tab-layout-icon-start) ::slotted(ion-badge),:host-context([dir=rtl]).tab-layout-icon-start ::slotted(ion-badge),:host-context([dir=rtl]):host(.tab-layout-icon-end) ::slotted(ion-badge),:host-context([dir=rtl]).tab-layout-icon-end ::slotted(ion-badge){left:unset;right:unset;right:80%}@supports selector(:dir(rtl)){:host(.tab-layout-icon-start:dir(rtl)) ::slotted(ion-badge),:host(.tab-layout-icon-end:dir(rtl)) ::slotted(ion-badge){left:unset;right:unset;right: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}@supports (inset-inline-start: 0){:host(.tab-layout-icon-hide) ::slotted(ion-badge),:host(.tab-has-label-only) ::slotted(ion-badge){inset-inline-start:70%}}@supports not (inset-inline-start: 0){:host(.tab-layout-icon-hide) ::slotted(ion-badge),:host(.tab-has-label-only) ::slotted(ion-badge){left:70%}:host-context([dir=rtl]):host(.tab-layout-icon-hide) ::slotted(ion-badge),:host-context([dir=rtl]).tab-layout-icon-hide ::slotted(ion-badge),:host-context([dir=rtl]):host(.tab-has-label-only) ::slotted(ion-badge),:host-context([dir=rtl]).tab-has-label-only ::slotted(ion-badge){left:unset;right:unset;right:70%}@supports selector(:dir(rtl)){:host(.tab-layout-icon-hide:dir(rtl)) ::slotted(ion-badge),:host(.tab-has-label-only:dir(rtl)) ::slotted(ion-badge){left:unset;right:unset;right: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,H as i,f as n}from"./p-290d3fe9.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-7fae5c36.js";import{k as d}from"./p-23a9d086.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,{role:"tablist","aria-hidden":l?"true":null,class:r(t,{[a]:!0,"tab-bar-translucent":o,"tab-bar-hidden":l})},e("slot",null))}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, #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, rgba(0, 0, 0, 0.2))));--color:var(--ion-tab-bar-color, var(--ion-color-step-600, #666666));--color-selected:var(--ion-tab-bar-color-selected, var(--ion-color-primary, #3880ff));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, rgba(0, 0, 0, 0.07))));--color:var(--ion-tab-bar-color, var(--ion-color-step-650, #595959));--color-selected:var(--ion-tab-bar-color-selected, var(--ion-color-primary, #3880ff));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);return e(i,{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({},{download:this.download,href:a,rel:r,target:l},{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",{class:"button-inner"},e("slot",null)),"md"===p&&e("ion-ripple-effect",{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}@supports (inset-inline-start: 0){::slotted(ion-badge){inset-inline-start:calc(50% + 6px)}}@supports not (inset-inline-start: 0){::slotted(ion-badge){left:calc(50% + 6px)}:host-context([dir=rtl]) ::slotted(ion-badge){left:unset;right:unset;right:calc(50% + 6px)}[dir=rtl] ::slotted(ion-badge){left:unset;right:unset;right:calc(50% + 6px)}@supports selector(:dir(rtl)){::slotted(ion-badge):dir(rtl){left:unset;right:unset;right:calc(50% + 6px)}}}::slotted(ion-icon){margin-top:2px;margin-bottom:2px;font-size:30px}::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}@supports (inset-inline-start: 0){:host(.tab-layout-icon-bottom) ::slotted(ion-badge){inset-inline-start:calc(50% + 12px)}}@supports not (inset-inline-start: 0){:host(.tab-layout-icon-bottom) ::slotted(ion-badge){left:calc(50% + 12px)}:host-context([dir=rtl]):host(.tab-layout-icon-bottom) ::slotted(ion-badge),:host-context([dir=rtl]).tab-layout-icon-bottom ::slotted(ion-badge){left:unset;right:unset;right:calc(50% + 12px)}@supports selector(:dir(rtl)){:host(.tab-layout-icon-bottom:dir(rtl)) ::slotted(ion-badge){left:unset;right:unset;right: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}@supports (inset-inline-start: 0){:host(.tab-layout-icon-start) ::slotted(ion-badge),:host(.tab-layout-icon-end) ::slotted(ion-badge){inset-inline-start:calc(50% + 35px)}}@supports not (inset-inline-start: 0){:host(.tab-layout-icon-start) ::slotted(ion-badge),:host(.tab-layout-icon-end) ::slotted(ion-badge){left:calc(50% + 35px)}:host-context([dir=rtl]):host(.tab-layout-icon-start) ::slotted(ion-badge),:host-context([dir=rtl]).tab-layout-icon-start ::slotted(ion-badge),:host-context([dir=rtl]):host(.tab-layout-icon-end) ::slotted(ion-badge),:host-context([dir=rtl]).tab-layout-icon-end ::slotted(ion-badge){left:unset;right:unset;right:calc(50% + 35px)}@supports selector(:dir(rtl)){:host(.tab-layout-icon-start:dir(rtl)) ::slotted(ion-badge),:host(.tab-layout-icon-end:dir(rtl)) ::slotted(ion-badge){left:unset;right:unset;right:calc(50% + 35px)}}}:host(.tab-layout-icon-hide) ::slotted(ion-badge),:host(.tab-has-label-only) ::slotted(ion-badge){top:10px}@supports (inset-inline-start: 0){:host(.tab-layout-icon-hide) ::slotted(ion-badge),:host(.tab-has-label-only) ::slotted(ion-badge){inset-inline-start:calc(50% + 30px)}}@supports not (inset-inline-start: 0){:host(.tab-layout-icon-hide) ::slotted(ion-badge),:host(.tab-has-label-only) ::slotted(ion-badge){left:calc(50% + 30px)}:host-context([dir=rtl]):host(.tab-layout-icon-hide) ::slotted(ion-badge),:host-context([dir=rtl]).tab-layout-icon-hide ::slotted(ion-badge),:host-context([dir=rtl]):host(.tab-has-label-only) ::slotted(ion-badge),:host-context([dir=rtl]).tab-has-label-only ::slotted(ion-badge){left:unset;right:unset;right:calc(50% + 30px)}@supports selector(:dir(rtl)){:host(.tab-layout-icon-hide:dir(rtl)) ::slotted(ion-badge),:host(.tab-has-label-only:dir(rtl)) ::slotted(ion-badge){left:unset;right:unset;right: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}',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}@supports (inset-inline-start: 0){::slotted(ion-badge){inset-inline-start:calc(50% + 6px)}}@supports not (inset-inline-start: 0){::slotted(ion-badge){left:calc(50% + 6px)}:host-context([dir=rtl]) ::slotted(ion-badge){left:unset;right:unset;right:calc(50% + 6px)}[dir=rtl] ::slotted(ion-badge){left:unset;right:unset;right:calc(50% + 6px)}@supports selector(:dir(rtl)){::slotted(ion-badge):dir(rtl){left:unset;right:unset;right: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}@supports (inset-inline-start: 0){:host(.tab-layout-icon-bottom) ::slotted(ion-badge){inset-inline-start:70%}}@supports not (inset-inline-start: 0){:host(.tab-layout-icon-bottom) ::slotted(ion-badge){left:70%}:host-context([dir=rtl]):host(.tab-layout-icon-bottom) ::slotted(ion-badge),:host-context([dir=rtl]).tab-layout-icon-bottom ::slotted(ion-badge){left:unset;right:unset;right:70%}@supports selector(:dir(rtl)){:host(.tab-layout-icon-bottom:dir(rtl)) ::slotted(ion-badge){left:unset;right:unset;right: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}@supports (inset-inline-start: 0){:host(.tab-layout-icon-start) ::slotted(ion-badge),:host(.tab-layout-icon-end) ::slotted(ion-badge){inset-inline-start:80%}}@supports not (inset-inline-start: 0){:host(.tab-layout-icon-start) ::slotted(ion-badge),:host(.tab-layout-icon-end) ::slotted(ion-badge){left:80%}:host-context([dir=rtl]):host(.tab-layout-icon-start) ::slotted(ion-badge),:host-context([dir=rtl]).tab-layout-icon-start ::slotted(ion-badge),:host-context([dir=rtl]):host(.tab-layout-icon-end) ::slotted(ion-badge),:host-context([dir=rtl]).tab-layout-icon-end ::slotted(ion-badge){left:unset;right:unset;right:80%}@supports selector(:dir(rtl)){:host(.tab-layout-icon-start:dir(rtl)) ::slotted(ion-badge),:host(.tab-layout-icon-end:dir(rtl)) ::slotted(ion-badge){left:unset;right:unset;right: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}@supports (inset-inline-start: 0){:host(.tab-layout-icon-hide) ::slotted(ion-badge),:host(.tab-has-label-only) ::slotted(ion-badge){inset-inline-start:70%}}@supports not (inset-inline-start: 0){:host(.tab-layout-icon-hide) ::slotted(ion-badge),:host(.tab-has-label-only) ::slotted(ion-badge){left:70%}:host-context([dir=rtl]):host(.tab-layout-icon-hide) ::slotted(ion-badge),:host-context([dir=rtl]).tab-layout-icon-hide ::slotted(ion-badge),:host-context([dir=rtl]):host(.tab-has-label-only) ::slotted(ion-badge),:host-context([dir=rtl]).tab-has-label-only ::slotted(ion-badge){left:unset;right:unset;right:70%}@supports selector(:dir(rtl)){:host(.tab-layout-icon-hide:dir(rtl)) ::slotted(ion-badge),:host(.tab-has-label-only:dir(rtl)) ::slotted(ion-badge){left:unset;right:unset;right: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
  /*!
2
2
  * (C) Ionic http://ionicframework.com - MIT License
3
3
  */
4
- import{r as t,h as i,H as e,f as n,d as o}from"./p-9738fd82.js";import{c as s}from"./p-47794def.js";import{b as r}from"./p-5ecae037.js";import{p as a}from"./p-23a9d086.js";import{f as l,d,r as m}from"./p-66d633fb.js";import{w as p}from"./p-459d13d5.js";import"./p-06fee233.js";const h=class{constructor(i){t(this,i),this.onClick=t=>{t.target.closest("ion-item-option")&&t.preventDefault()},this.color=void 0,this.disabled=!1,this.download=void 0,this.expandable=!1,this.href=void 0,this.rel=void 0,this.target=void 0,this.type="button"}render(){const{disabled:t,expandable:n,href:o}=this,a=void 0===o?"button":"a",l=r(this),d="button"===a?{type:this.type}:{download:this.download,href:this.href,target:this.target};return i(e,{onClick:this.onClick,class:s(this.color,{[l]:!0,"item-option-disabled":t,"item-option-expandable":n,"ion-activatable":!0})},i(a,Object.assign({},d,{class:"button-native",part:"native",disabled:t}),i("span",{class:"button-inner"},i("slot",{name:"top"}),i("div",{class:"horizontal-wrapper"},i("slot",{name:"start"}),i("slot",{name:"icon-only"}),i("slot",null),i("slot",{name:"end"})),i("slot",{name:"bottom"})),"md"===l&&i("ion-ripple-effect",null)))}get el(){return n(this)}};h.style={ios:":host{--background:var(--ion-color-primary, #3880ff);--color:var(--ion-color-primary-contrast, #fff);background:var(--background);color:var(--color);font-family:var(--ion-font-family, inherit)}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}.button-native{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;-webkit-padding-start:0.7em;padding-inline-start:0.7em;-webkit-padding-end:0.7em;padding-inline-end:0.7em;padding-top:0;padding-bottom:0;display:inline-block;position:relative;width:100%;height:100%;border:0;outline:none;background:transparent;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;-webkit-box-sizing:border-box;box-sizing:border-box}.button-inner{display:-ms-flexbox;display:flex;-ms-flex-flow:column nowrap;flex-flow:column nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%}.horizontal-wrapper{display:-ms-flexbox;display:flex;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%}::slotted(*){-ms-flex-negative:0;flex-shrink:0}::slotted([slot=start]){-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:5px;margin-inline-end:5px;margin-top:0;margin-bottom:0}::slotted([slot=end]){-webkit-margin-start:5px;margin-inline-start:5px;-webkit-margin-end:0;margin-inline-end:0;margin-top:0;margin-bottom:0}::slotted([slot=icon-only]){padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;-webkit-margin-start:10px;margin-inline-start:10px;-webkit-margin-end:10px;margin-inline-end:10px;margin-top:0;margin-bottom:0;min-width:0.9em;font-size:1.8em}:host(.item-option-expandable){-ms-flex-negative:0;flex-shrink:0;-webkit-transition-duration:0;transition-duration:0;-webkit-transition-property:none;transition-property:none;-webkit-transition-timing-function:cubic-bezier(0.65, 0.05, 0.36, 1);transition-timing-function:cubic-bezier(0.65, 0.05, 0.36, 1)}:host(.item-option-disabled){pointer-events:none}:host(.item-option-disabled) .button-native{cursor:default;opacity:0.5;pointer-events:none}:host{font-size:clamp(16px, 1rem, 35.2px)}:host(.ion-activated){background:var(--ion-color-primary-shade, #3171e0)}:host(.ion-color.ion-activated){background:var(--ion-color-shade)}",md:":host{--background:var(--ion-color-primary, #3880ff);--color:var(--ion-color-primary-contrast, #fff);background:var(--background);color:var(--color);font-family:var(--ion-font-family, inherit)}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}.button-native{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;-webkit-padding-start:0.7em;padding-inline-start:0.7em;-webkit-padding-end:0.7em;padding-inline-end:0.7em;padding-top:0;padding-bottom:0;display:inline-block;position:relative;width:100%;height:100%;border:0;outline:none;background:transparent;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;-webkit-box-sizing:border-box;box-sizing:border-box}.button-inner{display:-ms-flexbox;display:flex;-ms-flex-flow:column nowrap;flex-flow:column nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%}.horizontal-wrapper{display:-ms-flexbox;display:flex;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%}::slotted(*){-ms-flex-negative:0;flex-shrink:0}::slotted([slot=start]){-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:5px;margin-inline-end:5px;margin-top:0;margin-bottom:0}::slotted([slot=end]){-webkit-margin-start:5px;margin-inline-start:5px;-webkit-margin-end:0;margin-inline-end:0;margin-top:0;margin-bottom:0}::slotted([slot=icon-only]){padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;-webkit-margin-start:10px;margin-inline-start:10px;-webkit-margin-end:10px;margin-inline-end:10px;margin-top:0;margin-bottom:0;min-width:0.9em;font-size:1.8em}:host(.item-option-expandable){-ms-flex-negative:0;flex-shrink:0;-webkit-transition-duration:0;transition-duration:0;-webkit-transition-property:none;transition-property:none;-webkit-transition-timing-function:cubic-bezier(0.65, 0.05, 0.36, 1);transition-timing-function:cubic-bezier(0.65, 0.05, 0.36, 1)}:host(.item-option-disabled){pointer-events:none}:host(.item-option-disabled) .button-native{cursor:default;opacity:0.5;pointer-events:none}:host{font-size:0.875rem;font-weight:500;text-transform:uppercase}"};const c=class{constructor(i){t(this,i),this.ionSwipe=o(this,"ionSwipe",7),this.side="end"}async fireSwipeEvent(){this.ionSwipe.emit({side:this.side})}render(){const t=r(this),n=a(this.side);return i(e,{class:{[t]:!0,[`item-options-${t}`]:!0,"item-options-start":!n,"item-options-end":n}})}get el(){return n(this)}};let f;c.style={ios:"ion-item-options{top:0;right:0;-ms-flex-pack:end;justify-content:flex-end;display:none;position:absolute;height:100%;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:1}:host-context([dir=rtl]) ion-item-options{-ms-flex-pack:start;justify-content:flex-start}:host-context([dir=rtl]) ion-item-options:not(.item-options-end){right:auto;left:0;-ms-flex-pack:end;justify-content:flex-end}[dir=rtl] ion-item-options{-ms-flex-pack:start;justify-content:flex-start}[dir=rtl] ion-item-options:not(.item-options-end){right:auto;left:0;-ms-flex-pack:end;justify-content:flex-end}@supports selector(:dir(rtl)){ion-item-options:dir(rtl){-ms-flex-pack:start;justify-content:flex-start}ion-item-options:dir(rtl):not(.item-options-end){right:auto;left:0;-ms-flex-pack:end;justify-content:flex-end}}.item-options-start{right:auto;left:0;-ms-flex-pack:start;justify-content:flex-start}:host-context([dir=rtl]) .item-options-start{-ms-flex-pack:end;justify-content:flex-end}[dir=rtl] .item-options-start{-ms-flex-pack:end;justify-content:flex-end}@supports selector(:dir(rtl)){.item-options-start:dir(rtl){-ms-flex-pack:end;justify-content:flex-end}}[dir=ltr] .item-options-start ion-item-option:first-child,[dir=rtl] .item-options-start ion-item-option:last-child{padding-left:var(--ion-safe-area-left)}[dir=ltr] .item-options-end ion-item-option:last-child,[dir=rtl] .item-options-end ion-item-option:first-child{padding-right:var(--ion-safe-area-right)}:host-context([dir=rtl]) .item-sliding-active-slide.item-sliding-active-options-start ion-item-options:not(.item-options-end){width:100%;visibility:visible}[dir=rtl] .item-sliding-active-slide.item-sliding-active-options-start ion-item-options:not(.item-options-end){width:100%;visibility:visible}@supports selector(:dir(rtl)){.item-sliding-active-slide:dir(rtl).item-sliding-active-options-start ion-item-options:not(.item-options-end){width:100%;visibility:visible}}.item-sliding-active-slide ion-item-options{display:-ms-flexbox;display:flex;visibility:hidden}.item-sliding-active-slide.item-sliding-active-options-start .item-options-start,.item-sliding-active-slide.item-sliding-active-options-end ion-item-options:not(.item-options-start){width:100%;visibility:visible}.item-options-ios{border-bottom-width:0;border-bottom-style:solid;border-bottom-color:var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-250, #c8c7cc)))}.item-options-ios.item-options-end{border-bottom-width:0.55px}.list-ios-lines-none .item-options-ios{border-bottom-width:0}.list-ios-lines-full .item-options-ios,.list-ios-lines-inset .item-options-ios.item-options-end{border-bottom-width:0.55px}",md:"ion-item-options{top:0;right:0;-ms-flex-pack:end;justify-content:flex-end;display:none;position:absolute;height:100%;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:1}:host-context([dir=rtl]) ion-item-options{-ms-flex-pack:start;justify-content:flex-start}:host-context([dir=rtl]) ion-item-options:not(.item-options-end){right:auto;left:0;-ms-flex-pack:end;justify-content:flex-end}[dir=rtl] ion-item-options{-ms-flex-pack:start;justify-content:flex-start}[dir=rtl] ion-item-options:not(.item-options-end){right:auto;left:0;-ms-flex-pack:end;justify-content:flex-end}@supports selector(:dir(rtl)){ion-item-options:dir(rtl){-ms-flex-pack:start;justify-content:flex-start}ion-item-options:dir(rtl):not(.item-options-end){right:auto;left:0;-ms-flex-pack:end;justify-content:flex-end}}.item-options-start{right:auto;left:0;-ms-flex-pack:start;justify-content:flex-start}:host-context([dir=rtl]) .item-options-start{-ms-flex-pack:end;justify-content:flex-end}[dir=rtl] .item-options-start{-ms-flex-pack:end;justify-content:flex-end}@supports selector(:dir(rtl)){.item-options-start:dir(rtl){-ms-flex-pack:end;justify-content:flex-end}}[dir=ltr] .item-options-start ion-item-option:first-child,[dir=rtl] .item-options-start ion-item-option:last-child{padding-left:var(--ion-safe-area-left)}[dir=ltr] .item-options-end ion-item-option:last-child,[dir=rtl] .item-options-end ion-item-option:first-child{padding-right:var(--ion-safe-area-right)}:host-context([dir=rtl]) .item-sliding-active-slide.item-sliding-active-options-start ion-item-options:not(.item-options-end){width:100%;visibility:visible}[dir=rtl] .item-sliding-active-slide.item-sliding-active-options-start ion-item-options:not(.item-options-end){width:100%;visibility:visible}@supports selector(:dir(rtl)){.item-sliding-active-slide:dir(rtl).item-sliding-active-options-start ion-item-options:not(.item-options-end){width:100%;visibility:visible}}.item-sliding-active-slide ion-item-options{display:-ms-flexbox;display:flex;visibility:hidden}.item-sliding-active-slide.item-sliding-active-options-start .item-options-start,.item-sliding-active-slide.item-sliding-active-options-end ion-item-options:not(.item-options-start){width:100%;visibility:visible}.item-options-md{border-bottom-width:0;border-bottom-style:solid;border-bottom-color:var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-150, rgba(0, 0, 0, 0.13))))}.list-md-lines-none .item-options-md{border-bottom-width:0}.list-md-lines-full .item-options-md,.list-md-lines-inset .item-options-md.item-options-end{border-bottom-width:1px}"};const g=class{constructor(i){t(this,i),this.ionDrag=o(this,"ionDrag",7),this.item=null,this.openAmount=0,this.initialOpenAmount=0,this.optsWidthRightSide=0,this.optsWidthLeftSide=0,this.sides=0,this.optsDirty=!0,this.contentEl=null,this.initialContentScrollY=!0,this.state=2,this.disabled=!1}disabledChanged(){this.gesture&&this.gesture.enable(!this.disabled)}async connectedCallback(){const{el:t}=this;this.item=t.querySelector("ion-item"),this.contentEl=l(t),this.mutationObserver=p(t,"ion-item-option",(async()=>{await this.updateOptions()})),await this.updateOptions(),this.gesture=(await import("./p-f5d2dc9b.js")).createGesture({el:t,gestureName:"item-swipe",gesturePriority:100,threshold:5,canStart:t=>this.canStart(t),onStart:()=>this.onStart(),onMove:t=>this.onMove(t),onEnd:t=>this.onEnd(t)}),this.disabledChanged()}disconnectedCallback(){this.gesture&&(this.gesture.destroy(),this.gesture=void 0),this.item=null,this.leftOptions=this.rightOptions=void 0,f===this.el&&(f=void 0),this.mutationObserver&&(this.mutationObserver.disconnect(),this.mutationObserver=void 0)}getOpenAmount(){return Promise.resolve(this.openAmount)}getSlidingRatio(){return Promise.resolve(this.getSlidingRatioSync())}async open(t){var i;if(null===(this.item=null!==(i=this.item)&&void 0!==i?i:this.el.querySelector("ion-item")))return;const e=this.getOptions(t);e&&(void 0===t&&(t=e===this.leftOptions?"start":"end"),t=a(t)?"end":"start",this.openAmount<0&&e===this.leftOptions||this.openAmount>0&&e===this.rightOptions||(this.closeOpened(),this.state=4,requestAnimationFrame((()=>{this.calculateOptsWidth(),f=this.el,this.setOpenAmount("end"===t?this.optsWidthRightSide:-this.optsWidthLeftSide,!1),this.state="end"===t?8:16}))))}async close(){this.setOpenAmount(0,!0)}async closeOpened(){return void 0!==f&&(f.close(),f=void 0,!0)}getOptions(t){return void 0===t?this.leftOptions||this.rightOptions:"start"===t?this.leftOptions:this.rightOptions}async updateOptions(){const t=this.el.querySelectorAll("ion-item-options");let i=0;this.leftOptions=this.rightOptions=void 0;for(let e=0;e<t.length;e++){const n=t.item(e),o=void 0!==n.componentOnReady?await n.componentOnReady():n;"start"==(a(o.side)?"end":"start")?(this.leftOptions=o,i|=1):(this.rightOptions=o,i|=2)}this.optsDirty=!0,this.sides=i}canStart(t){return!("rtl"===document.dir?window.innerWidth-t.startX<15:t.startX<15)&&(f&&f!==this.el&&this.closeOpened(),!(!this.rightOptions&&!this.leftOptions))}onStart(){this.item=this.el.querySelector("ion-item");const{contentEl:t}=this;t&&(this.initialContentScrollY=d(t)),f=this.el,void 0!==this.tmr&&(clearTimeout(this.tmr),this.tmr=void 0),0===this.openAmount&&(this.optsDirty=!0,this.state=4),this.initialOpenAmount=this.openAmount,this.item&&(this.item.style.transition="none")}onMove(t){this.optsDirty&&this.calculateOptsWidth();let i,e=this.initialOpenAmount-t.deltaX;switch(this.sides){case 2:e=Math.max(0,e);break;case 1:e=Math.min(0,e);break;case 3:break;case 0:return;default:console.warn("invalid ItemSideFlags value",this.sides)}e>this.optsWidthRightSide?(i=this.optsWidthRightSide,e=i+.55*(e-i)):e<-this.optsWidthLeftSide&&(i=-this.optsWidthLeftSide,e=i+.55*(e-i)),this.setOpenAmount(e,!1)}onEnd(t){const{contentEl:i,initialContentScrollY:e}=this;i&&m(i,e);const n=t.velocityX;let o=this.openAmount>0?this.optsWidthRightSide:-this.optsWidthLeftSide;const s=this.openAmount>0==!(n<0),r=Math.abs(n)>.3,a=Math.abs(this.openAmount)<Math.abs(o/2);b(s,r,a)&&(o=0);const l=this.state;this.setOpenAmount(o,!0),0!=(32&l)&&this.rightOptions?this.rightOptions.fireSwipeEvent():0!=(64&l)&&this.leftOptions&&this.leftOptions.fireSwipeEvent()}calculateOptsWidth(){this.optsWidthRightSide=0,this.rightOptions&&(this.rightOptions.style.display="flex",this.optsWidthRightSide=this.rightOptions.offsetWidth,this.rightOptions.style.display=""),this.optsWidthLeftSide=0,this.leftOptions&&(this.leftOptions.style.display="flex",this.optsWidthLeftSide=this.leftOptions.offsetWidth,this.leftOptions.style.display=""),this.optsDirty=!1}setOpenAmount(t,i){if(void 0!==this.tmr&&(clearTimeout(this.tmr),this.tmr=void 0),!this.item)return;const{el:e}=this,n=this.item.style;if(this.openAmount=t,i&&(n.transition=""),t>0)this.state=t>=this.optsWidthRightSide+30?40:8;else{if(!(t<0))return e.classList.add("item-sliding-closing"),this.gesture&&this.gesture.enable(!1),this.tmr=setTimeout((()=>{this.state=2,this.tmr=void 0,this.gesture&&this.gesture.enable(!this.disabled),e.classList.remove("item-sliding-closing")}),600),f=void 0,void(n.transform="");this.state=t<=-this.optsWidthLeftSide-30?80:16}n.transform=`translate3d(${-t}px,0,0)`,this.ionDrag.emit({amount:t,ratio:this.getSlidingRatioSync()})}getSlidingRatioSync(){return this.openAmount>0?this.openAmount/this.optsWidthRightSide:this.openAmount<0?this.openAmount/this.optsWidthLeftSide:0}render(){const t=r(this);return i(e,{class:{[t]:!0,"item-sliding-active-slide":2!==this.state,"item-sliding-active-options-end":0!=(8&this.state),"item-sliding-active-options-start":0!=(16&this.state),"item-sliding-active-swipe-end":0!=(32&this.state),"item-sliding-active-swipe-start":0!=(64&this.state)}})}get el(){return n(this)}static get watchers(){return{disabled:["disabledChanged"]}}},b=(t,i,e)=>!i&&e||t&&i;g.style="ion-item-sliding{display:block;position:relative;width:100%;overflow:hidden;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}ion-item-sliding .item{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.item-sliding-active-slide .item{position:relative;-webkit-transition:-webkit-transform 500ms cubic-bezier(0.36, 0.66, 0.04, 1);transition:-webkit-transform 500ms cubic-bezier(0.36, 0.66, 0.04, 1);transition:transform 500ms cubic-bezier(0.36, 0.66, 0.04, 1);transition:transform 500ms cubic-bezier(0.36, 0.66, 0.04, 1), -webkit-transform 500ms cubic-bezier(0.36, 0.66, 0.04, 1);opacity:1;z-index:2;pointer-events:none;will-change:transform}.item-sliding-closing ion-item-options{pointer-events:none}.item-sliding-active-swipe-end .item-options-end .item-option-expandable{padding-left:100%;-ms-flex-order:1;order:1;-webkit-transition-duration:0.6s;transition-duration:0.6s;-webkit-transition-property:padding-left;transition-property:padding-left}:host-context([dir=rtl]) .item-sliding-active-swipe-end .item-options-end .item-option-expandable{-ms-flex-order:-1;order:-1}[dir=rtl] .item-sliding-active-swipe-end .item-options-end .item-option-expandable{-ms-flex-order:-1;order:-1}@supports selector(:dir(rtl)){.item-sliding-active-swipe-end .item-options-end .item-option-expandable:dir(rtl){-ms-flex-order:-1;order:-1}}.item-sliding-active-swipe-start .item-options-start .item-option-expandable{padding-right:100%;-ms-flex-order:-1;order:-1;-webkit-transition-duration:0.6s;transition-duration:0.6s;-webkit-transition-property:padding-right;transition-property:padding-right}:host-context([dir=rtl]) .item-sliding-active-swipe-start .item-options-start .item-option-expandable{-ms-flex-order:1;order:1}[dir=rtl] .item-sliding-active-swipe-start .item-options-start .item-option-expandable{-ms-flex-order:1;order:1}@supports selector(:dir(rtl)){.item-sliding-active-swipe-start .item-options-start .item-option-expandable:dir(rtl){-ms-flex-order:1;order:1}}";export{h as ion_item_option,c as ion_item_options,g as ion_item_sliding}
4
+ import{r as t,h as i,H as e,f as n,d as o}from"./p-290d3fe9.js";import{c as s}from"./p-47794def.js";import{b as r}from"./p-7fae5c36.js";import{p as a}from"./p-23a9d086.js";import{f as l,d,r as m}from"./p-66d633fb.js";import{w as p}from"./p-459d13d5.js";import"./p-06fee233.js";const h=class{constructor(i){t(this,i),this.onClick=t=>{t.target.closest("ion-item-option")&&t.preventDefault()},this.color=void 0,this.disabled=!1,this.download=void 0,this.expandable=!1,this.href=void 0,this.rel=void 0,this.target=void 0,this.type="button"}render(){const{disabled:t,expandable:n,href:o}=this,a=void 0===o?"button":"a",l=r(this),d="button"===a?{type:this.type}:{download:this.download,href:this.href,target:this.target};return i(e,{onClick:this.onClick,class:s(this.color,{[l]:!0,"item-option-disabled":t,"item-option-expandable":n,"ion-activatable":!0})},i(a,Object.assign({},d,{class:"button-native",part:"native",disabled:t}),i("span",{class:"button-inner"},i("slot",{name:"top"}),i("div",{class:"horizontal-wrapper"},i("slot",{name:"start"}),i("slot",{name:"icon-only"}),i("slot",null),i("slot",{name:"end"})),i("slot",{name:"bottom"})),"md"===l&&i("ion-ripple-effect",null)))}get el(){return n(this)}};h.style={ios:":host{--background:var(--ion-color-primary, #3880ff);--color:var(--ion-color-primary-contrast, #fff);background:var(--background);color:var(--color);font-family:var(--ion-font-family, inherit)}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}.button-native{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;-webkit-padding-start:0.7em;padding-inline-start:0.7em;-webkit-padding-end:0.7em;padding-inline-end:0.7em;padding-top:0;padding-bottom:0;display:inline-block;position:relative;width:100%;height:100%;border:0;outline:none;background:transparent;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;-webkit-box-sizing:border-box;box-sizing:border-box}.button-inner{display:-ms-flexbox;display:flex;-ms-flex-flow:column nowrap;flex-flow:column nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%}.horizontal-wrapper{display:-ms-flexbox;display:flex;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%}::slotted(*){-ms-flex-negative:0;flex-shrink:0}::slotted([slot=start]){-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:5px;margin-inline-end:5px;margin-top:0;margin-bottom:0}::slotted([slot=end]){-webkit-margin-start:5px;margin-inline-start:5px;-webkit-margin-end:0;margin-inline-end:0;margin-top:0;margin-bottom:0}::slotted([slot=icon-only]){padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;-webkit-margin-start:10px;margin-inline-start:10px;-webkit-margin-end:10px;margin-inline-end:10px;margin-top:0;margin-bottom:0;min-width:0.9em;font-size:1.8em}:host(.item-option-expandable){-ms-flex-negative:0;flex-shrink:0;-webkit-transition-duration:0;transition-duration:0;-webkit-transition-property:none;transition-property:none;-webkit-transition-timing-function:cubic-bezier(0.65, 0.05, 0.36, 1);transition-timing-function:cubic-bezier(0.65, 0.05, 0.36, 1)}:host(.item-option-disabled){pointer-events:none}:host(.item-option-disabled) .button-native{cursor:default;opacity:0.5;pointer-events:none}:host{font-size:clamp(16px, 1rem, 35.2px)}:host(.ion-activated){background:var(--ion-color-primary-shade, #3171e0)}:host(.ion-color.ion-activated){background:var(--ion-color-shade)}",md:":host{--background:var(--ion-color-primary, #3880ff);--color:var(--ion-color-primary-contrast, #fff);background:var(--background);color:var(--color);font-family:var(--ion-font-family, inherit)}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}.button-native{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;-webkit-padding-start:0.7em;padding-inline-start:0.7em;-webkit-padding-end:0.7em;padding-inline-end:0.7em;padding-top:0;padding-bottom:0;display:inline-block;position:relative;width:100%;height:100%;border:0;outline:none;background:transparent;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;-webkit-box-sizing:border-box;box-sizing:border-box}.button-inner{display:-ms-flexbox;display:flex;-ms-flex-flow:column nowrap;flex-flow:column nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%}.horizontal-wrapper{display:-ms-flexbox;display:flex;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%}::slotted(*){-ms-flex-negative:0;flex-shrink:0}::slotted([slot=start]){-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:5px;margin-inline-end:5px;margin-top:0;margin-bottom:0}::slotted([slot=end]){-webkit-margin-start:5px;margin-inline-start:5px;-webkit-margin-end:0;margin-inline-end:0;margin-top:0;margin-bottom:0}::slotted([slot=icon-only]){padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;-webkit-margin-start:10px;margin-inline-start:10px;-webkit-margin-end:10px;margin-inline-end:10px;margin-top:0;margin-bottom:0;min-width:0.9em;font-size:1.8em}:host(.item-option-expandable){-ms-flex-negative:0;flex-shrink:0;-webkit-transition-duration:0;transition-duration:0;-webkit-transition-property:none;transition-property:none;-webkit-transition-timing-function:cubic-bezier(0.65, 0.05, 0.36, 1);transition-timing-function:cubic-bezier(0.65, 0.05, 0.36, 1)}:host(.item-option-disabled){pointer-events:none}:host(.item-option-disabled) .button-native{cursor:default;opacity:0.5;pointer-events:none}:host{font-size:0.875rem;font-weight:500;text-transform:uppercase}"};const c=class{constructor(i){t(this,i),this.ionSwipe=o(this,"ionSwipe",7),this.side="end"}async fireSwipeEvent(){this.ionSwipe.emit({side:this.side})}render(){const t=r(this),n=a(this.side);return i(e,{class:{[t]:!0,[`item-options-${t}`]:!0,"item-options-start":!n,"item-options-end":n}})}get el(){return n(this)}};let f;c.style={ios:"ion-item-options{top:0;right:0;-ms-flex-pack:end;justify-content:flex-end;display:none;position:absolute;height:100%;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:1}:host-context([dir=rtl]) ion-item-options{-ms-flex-pack:start;justify-content:flex-start}:host-context([dir=rtl]) ion-item-options:not(.item-options-end){right:auto;left:0;-ms-flex-pack:end;justify-content:flex-end}[dir=rtl] ion-item-options{-ms-flex-pack:start;justify-content:flex-start}[dir=rtl] ion-item-options:not(.item-options-end){right:auto;left:0;-ms-flex-pack:end;justify-content:flex-end}@supports selector(:dir(rtl)){ion-item-options:dir(rtl){-ms-flex-pack:start;justify-content:flex-start}ion-item-options:dir(rtl):not(.item-options-end){right:auto;left:0;-ms-flex-pack:end;justify-content:flex-end}}.item-options-start{right:auto;left:0;-ms-flex-pack:start;justify-content:flex-start}:host-context([dir=rtl]) .item-options-start{-ms-flex-pack:end;justify-content:flex-end}[dir=rtl] .item-options-start{-ms-flex-pack:end;justify-content:flex-end}@supports selector(:dir(rtl)){.item-options-start:dir(rtl){-ms-flex-pack:end;justify-content:flex-end}}[dir=ltr] .item-options-start ion-item-option:first-child,[dir=rtl] .item-options-start ion-item-option:last-child{padding-left:var(--ion-safe-area-left)}[dir=ltr] .item-options-end ion-item-option:last-child,[dir=rtl] .item-options-end ion-item-option:first-child{padding-right:var(--ion-safe-area-right)}:host-context([dir=rtl]) .item-sliding-active-slide.item-sliding-active-options-start ion-item-options:not(.item-options-end){width:100%;visibility:visible}[dir=rtl] .item-sliding-active-slide.item-sliding-active-options-start ion-item-options:not(.item-options-end){width:100%;visibility:visible}@supports selector(:dir(rtl)){.item-sliding-active-slide:dir(rtl).item-sliding-active-options-start ion-item-options:not(.item-options-end){width:100%;visibility:visible}}.item-sliding-active-slide ion-item-options{display:-ms-flexbox;display:flex;visibility:hidden}.item-sliding-active-slide.item-sliding-active-options-start .item-options-start,.item-sliding-active-slide.item-sliding-active-options-end ion-item-options:not(.item-options-start){width:100%;visibility:visible}.item-options-ios{border-bottom-width:0;border-bottom-style:solid;border-bottom-color:var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-250, #c8c7cc)))}.item-options-ios.item-options-end{border-bottom-width:0.55px}.list-ios-lines-none .item-options-ios{border-bottom-width:0}.list-ios-lines-full .item-options-ios,.list-ios-lines-inset .item-options-ios.item-options-end{border-bottom-width:0.55px}",md:"ion-item-options{top:0;right:0;-ms-flex-pack:end;justify-content:flex-end;display:none;position:absolute;height:100%;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:1}:host-context([dir=rtl]) ion-item-options{-ms-flex-pack:start;justify-content:flex-start}:host-context([dir=rtl]) ion-item-options:not(.item-options-end){right:auto;left:0;-ms-flex-pack:end;justify-content:flex-end}[dir=rtl] ion-item-options{-ms-flex-pack:start;justify-content:flex-start}[dir=rtl] ion-item-options:not(.item-options-end){right:auto;left:0;-ms-flex-pack:end;justify-content:flex-end}@supports selector(:dir(rtl)){ion-item-options:dir(rtl){-ms-flex-pack:start;justify-content:flex-start}ion-item-options:dir(rtl):not(.item-options-end){right:auto;left:0;-ms-flex-pack:end;justify-content:flex-end}}.item-options-start{right:auto;left:0;-ms-flex-pack:start;justify-content:flex-start}:host-context([dir=rtl]) .item-options-start{-ms-flex-pack:end;justify-content:flex-end}[dir=rtl] .item-options-start{-ms-flex-pack:end;justify-content:flex-end}@supports selector(:dir(rtl)){.item-options-start:dir(rtl){-ms-flex-pack:end;justify-content:flex-end}}[dir=ltr] .item-options-start ion-item-option:first-child,[dir=rtl] .item-options-start ion-item-option:last-child{padding-left:var(--ion-safe-area-left)}[dir=ltr] .item-options-end ion-item-option:last-child,[dir=rtl] .item-options-end ion-item-option:first-child{padding-right:var(--ion-safe-area-right)}:host-context([dir=rtl]) .item-sliding-active-slide.item-sliding-active-options-start ion-item-options:not(.item-options-end){width:100%;visibility:visible}[dir=rtl] .item-sliding-active-slide.item-sliding-active-options-start ion-item-options:not(.item-options-end){width:100%;visibility:visible}@supports selector(:dir(rtl)){.item-sliding-active-slide:dir(rtl).item-sliding-active-options-start ion-item-options:not(.item-options-end){width:100%;visibility:visible}}.item-sliding-active-slide ion-item-options{display:-ms-flexbox;display:flex;visibility:hidden}.item-sliding-active-slide.item-sliding-active-options-start .item-options-start,.item-sliding-active-slide.item-sliding-active-options-end ion-item-options:not(.item-options-start){width:100%;visibility:visible}.item-options-md{border-bottom-width:0;border-bottom-style:solid;border-bottom-color:var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-150, rgba(0, 0, 0, 0.13))))}.list-md-lines-none .item-options-md{border-bottom-width:0}.list-md-lines-full .item-options-md,.list-md-lines-inset .item-options-md.item-options-end{border-bottom-width:1px}"};const g=class{constructor(i){t(this,i),this.ionDrag=o(this,"ionDrag",7),this.item=null,this.openAmount=0,this.initialOpenAmount=0,this.optsWidthRightSide=0,this.optsWidthLeftSide=0,this.sides=0,this.optsDirty=!0,this.contentEl=null,this.initialContentScrollY=!0,this.state=2,this.disabled=!1}disabledChanged(){this.gesture&&this.gesture.enable(!this.disabled)}async connectedCallback(){const{el:t}=this;this.item=t.querySelector("ion-item"),this.contentEl=l(t),this.mutationObserver=p(t,"ion-item-option",(async()=>{await this.updateOptions()})),await this.updateOptions(),this.gesture=(await import("./p-f5d2dc9b.js")).createGesture({el:t,gestureName:"item-swipe",gesturePriority:100,threshold:5,canStart:t=>this.canStart(t),onStart:()=>this.onStart(),onMove:t=>this.onMove(t),onEnd:t=>this.onEnd(t)}),this.disabledChanged()}disconnectedCallback(){this.gesture&&(this.gesture.destroy(),this.gesture=void 0),this.item=null,this.leftOptions=this.rightOptions=void 0,f===this.el&&(f=void 0),this.mutationObserver&&(this.mutationObserver.disconnect(),this.mutationObserver=void 0)}getOpenAmount(){return Promise.resolve(this.openAmount)}getSlidingRatio(){return Promise.resolve(this.getSlidingRatioSync())}async open(t){var i;if(null===(this.item=null!==(i=this.item)&&void 0!==i?i:this.el.querySelector("ion-item")))return;const e=this.getOptions(t);e&&(void 0===t&&(t=e===this.leftOptions?"start":"end"),t=a(t)?"end":"start",this.openAmount<0&&e===this.leftOptions||this.openAmount>0&&e===this.rightOptions||(this.closeOpened(),this.state=4,requestAnimationFrame((()=>{this.calculateOptsWidth(),f=this.el,this.setOpenAmount("end"===t?this.optsWidthRightSide:-this.optsWidthLeftSide,!1),this.state="end"===t?8:16}))))}async close(){this.setOpenAmount(0,!0)}async closeOpened(){return void 0!==f&&(f.close(),f=void 0,!0)}getOptions(t){return void 0===t?this.leftOptions||this.rightOptions:"start"===t?this.leftOptions:this.rightOptions}async updateOptions(){const t=this.el.querySelectorAll("ion-item-options");let i=0;this.leftOptions=this.rightOptions=void 0;for(let e=0;e<t.length;e++){const n=t.item(e),o=void 0!==n.componentOnReady?await n.componentOnReady():n;"start"==(a(o.side)?"end":"start")?(this.leftOptions=o,i|=1):(this.rightOptions=o,i|=2)}this.optsDirty=!0,this.sides=i}canStart(t){return!("rtl"===document.dir?window.innerWidth-t.startX<15:t.startX<15)&&(f&&f!==this.el&&this.closeOpened(),!(!this.rightOptions&&!this.leftOptions))}onStart(){this.item=this.el.querySelector("ion-item");const{contentEl:t}=this;t&&(this.initialContentScrollY=d(t)),f=this.el,void 0!==this.tmr&&(clearTimeout(this.tmr),this.tmr=void 0),0===this.openAmount&&(this.optsDirty=!0,this.state=4),this.initialOpenAmount=this.openAmount,this.item&&(this.item.style.transition="none")}onMove(t){this.optsDirty&&this.calculateOptsWidth();let i,e=this.initialOpenAmount-t.deltaX;switch(this.sides){case 2:e=Math.max(0,e);break;case 1:e=Math.min(0,e);break;case 3:break;case 0:return;default:console.warn("invalid ItemSideFlags value",this.sides)}e>this.optsWidthRightSide?(i=this.optsWidthRightSide,e=i+.55*(e-i)):e<-this.optsWidthLeftSide&&(i=-this.optsWidthLeftSide,e=i+.55*(e-i)),this.setOpenAmount(e,!1)}onEnd(t){const{contentEl:i,initialContentScrollY:e}=this;i&&m(i,e);const n=t.velocityX;let o=this.openAmount>0?this.optsWidthRightSide:-this.optsWidthLeftSide;const s=this.openAmount>0==!(n<0),r=Math.abs(n)>.3,a=Math.abs(this.openAmount)<Math.abs(o/2);b(s,r,a)&&(o=0);const l=this.state;this.setOpenAmount(o,!0),0!=(32&l)&&this.rightOptions?this.rightOptions.fireSwipeEvent():0!=(64&l)&&this.leftOptions&&this.leftOptions.fireSwipeEvent()}calculateOptsWidth(){this.optsWidthRightSide=0,this.rightOptions&&(this.rightOptions.style.display="flex",this.optsWidthRightSide=this.rightOptions.offsetWidth,this.rightOptions.style.display=""),this.optsWidthLeftSide=0,this.leftOptions&&(this.leftOptions.style.display="flex",this.optsWidthLeftSide=this.leftOptions.offsetWidth,this.leftOptions.style.display=""),this.optsDirty=!1}setOpenAmount(t,i){if(void 0!==this.tmr&&(clearTimeout(this.tmr),this.tmr=void 0),!this.item)return;const{el:e}=this,n=this.item.style;if(this.openAmount=t,i&&(n.transition=""),t>0)this.state=t>=this.optsWidthRightSide+30?40:8;else{if(!(t<0))return e.classList.add("item-sliding-closing"),this.gesture&&this.gesture.enable(!1),this.tmr=setTimeout((()=>{this.state=2,this.tmr=void 0,this.gesture&&this.gesture.enable(!this.disabled),e.classList.remove("item-sliding-closing")}),600),f=void 0,void(n.transform="");this.state=t<=-this.optsWidthLeftSide-30?80:16}n.transform=`translate3d(${-t}px,0,0)`,this.ionDrag.emit({amount:t,ratio:this.getSlidingRatioSync()})}getSlidingRatioSync(){return this.openAmount>0?this.openAmount/this.optsWidthRightSide:this.openAmount<0?this.openAmount/this.optsWidthLeftSide:0}render(){const t=r(this);return i(e,{class:{[t]:!0,"item-sliding-active-slide":2!==this.state,"item-sliding-active-options-end":0!=(8&this.state),"item-sliding-active-options-start":0!=(16&this.state),"item-sliding-active-swipe-end":0!=(32&this.state),"item-sliding-active-swipe-start":0!=(64&this.state)}})}get el(){return n(this)}static get watchers(){return{disabled:["disabledChanged"]}}},b=(t,i,e)=>!i&&e||t&&i;g.style="ion-item-sliding{display:block;position:relative;width:100%;overflow:hidden;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}ion-item-sliding .item{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.item-sliding-active-slide .item{position:relative;-webkit-transition:-webkit-transform 500ms cubic-bezier(0.36, 0.66, 0.04, 1);transition:-webkit-transform 500ms cubic-bezier(0.36, 0.66, 0.04, 1);transition:transform 500ms cubic-bezier(0.36, 0.66, 0.04, 1);transition:transform 500ms cubic-bezier(0.36, 0.66, 0.04, 1), -webkit-transform 500ms cubic-bezier(0.36, 0.66, 0.04, 1);opacity:1;z-index:2;pointer-events:none;will-change:transform}.item-sliding-closing ion-item-options{pointer-events:none}.item-sliding-active-swipe-end .item-options-end .item-option-expandable{padding-left:100%;-ms-flex-order:1;order:1;-webkit-transition-duration:0.6s;transition-duration:0.6s;-webkit-transition-property:padding-left;transition-property:padding-left}:host-context([dir=rtl]) .item-sliding-active-swipe-end .item-options-end .item-option-expandable{-ms-flex-order:-1;order:-1}[dir=rtl] .item-sliding-active-swipe-end .item-options-end .item-option-expandable{-ms-flex-order:-1;order:-1}@supports selector(:dir(rtl)){.item-sliding-active-swipe-end .item-options-end .item-option-expandable:dir(rtl){-ms-flex-order:-1;order:-1}}.item-sliding-active-swipe-start .item-options-start .item-option-expandable{padding-right:100%;-ms-flex-order:-1;order:-1;-webkit-transition-duration:0.6s;transition-duration:0.6s;-webkit-transition-property:padding-right;transition-property:padding-right}:host-context([dir=rtl]) .item-sliding-active-swipe-start .item-options-start .item-option-expandable{-ms-flex-order:1;order:1}[dir=rtl] .item-sliding-active-swipe-start .item-options-start .item-option-expandable{-ms-flex-order:1;order:1}@supports selector(:dir(rtl)){.item-sliding-active-swipe-start .item-options-start .item-option-expandable:dir(rtl){-ms-flex-order:1;order:1}}";export{h as ion_item_option,c as ion_item_options,g as ion_item_sliding}
@@ -1,5 +1,5 @@
1
1
  /*!
2
2
  * (C) Ionic http://ionicframework.com - MIT License
3
3
  */
4
- let e,n,t,l=!1,o=!1,s=!1,i=!1,c=!1;const r={isDev:!1,isBrowser:!0,isServer:!1,isTesting:!1},f=e=>{const n=new URL(e,Ne.t);return n.origin!==De.location.origin?n.href:n.pathname},u="s-id",a="sty-id",d="c-id",$="slot-fb{display:contents}slot-fb[hidden]{display:none}",v="http://www.w3.org/1999/xlink",p={},y=e=>"object"==(e=typeof e)||"function"===e;function h(e){var n,t,l;return null!==(l=null===(t=null===(n=e.head)||void 0===n?void 0:n.querySelector('meta[name="csp-nonce"]'))||void 0===t?void 0:t.getAttribute("content"))&&void 0!==l?l:void 0}const m=(e,n,...t)=>{let l=null,o=null,s=null,i=!1,c=!1;const r=[],f=n=>{for(let t=0;t<n.length;t++)l=n[t],Array.isArray(l)?f(l):null!=l&&"boolean"!=typeof l&&((i="function"!=typeof e&&!y(l))&&(l+=""),i&&c?r[r.length-1].l+=l:r.push(i?b(null,l):l),c=i)};if(f(t),n){n.key&&(o=n.key),n.name&&(s=n.name);{const e=n.className||n.class;e&&(n.class="object"!=typeof e?e:Object.keys(e).filter((n=>e[n])).join(" "))}}if("function"==typeof e)return e(null===n?{}:n,r,g);const u=b(e,null);return u.o=n,r.length>0&&(u.i=r),u.u=o,u.$=s,u},b=(e,n)=>({v:0,p:e,l:n,h:null,i:null,o:null,u:null,$:null}),w={},g={forEach:(e,n)=>e.map(k).forEach(n),map:(e,n)=>e.map(k).map(n).map(j)},k=e=>({vattrs:e.o,vchildren:e.i,vkey:e.u,vname:e.$,vtag:e.p,vtext:e.l}),j=e=>{if("function"==typeof e.vtag){const n=Object.assign({},e.vattrs);return e.vkey&&(n.key=e.vkey),e.vname&&(n.name=e.vname),m(e.vtag,n,...e.vchildren||[])}const n=b(e.vtag,e.vtext);return n.o=e.vattrs,n.i=e.vchildren,n.u=e.vkey,n.$=e.vname,n},S=(e,n,t,l,o,s,i)=>{let c,r,f,u;if(1===s.nodeType){for(c=s.getAttribute(d),c&&(r=c.split("."),r[0]!==i&&"0"!==r[0]||(f={v:0,m:r[0],k:r[1],j:r[2],S:r[3],p:s.tagName.toLowerCase(),h:s,o:null,i:null,u:null,$:null,l:null},n.push(f),s.removeAttribute(d),e.i||(e.i=[]),e.i[f.S]=f,e=f,l&&"0"===f.j&&(l[f.S]=f.h))),u=s.childNodes.length-1;u>=0;u--)S(e,n,t,l,o,s.childNodes[u],i);if(s.shadowRoot)for(u=s.shadowRoot.childNodes.length-1;u>=0;u--)S(e,n,t,l,o,s.shadowRoot.childNodes[u],i)}else if(8===s.nodeType)r=s.nodeValue.split("."),r[1]!==i&&"0"!==r[1]||(c=r[0],f={v:0,m:r[1],k:r[2],j:r[3],S:r[4],h:s,o:null,i:null,u:null,$:null,p:null,l:null},"t"===c?(f.h=s.nextSibling,f.h&&3===f.h.nodeType&&(f.l=f.h.textContent,n.push(f),s.remove(),e.i||(e.i=[]),e.i[f.S]=f,l&&"0"===f.j&&(l[f.S]=f.h))):f.m===i&&("s"===c?(f.p="slot",s["s-sn"]=r[5]?f.$=r[5]:"",s["s-sr"]=!0,l&&(f.h=Ie.createElement(f.p),f.$&&f.h.setAttribute("name",f.$),s.parentNode.insertBefore(f.h,s),s.remove(),"0"===f.j&&(l[f.S]=f.h)),t.push(f),e.i||(e.i=[]),e.i[f.S]=f):"r"===c&&(l?s.remove():(o["s-cr"]=s,s["s-cn"]=!0))));else if(e&&"style"===e.p){const n=b(null,s.textContent);n.h=s,n.S="0",e.i=[n]}},O=(e,n)=>{if(1===e.nodeType){let t=0;for(;t<e.childNodes.length;t++)O(e.childNodes[t],n);if(e.shadowRoot)for(t=0;t<e.shadowRoot.childNodes.length;t++)O(e.shadowRoot.childNodes[t],n)}else if(8===e.nodeType){const t=e.nodeValue.split(".");"o"===t[0]&&(n.set(t[1]+"."+t[2],e),e.nodeValue="",e["s-en"]=t[3])}},x=e=>Le.push(e),C=e=>Oe(e).O,M=e=>Oe(e).$hostElement$,R=(e,n,t)=>{const l=M(e);return{emit:e=>P(l,n,{bubbles:!!(4&t),composed:!!(2&t),cancelable:!!(1&t),detail:e})}},P=(e,n,t)=>{const l=Ne.ce(n,t);return e.dispatchEvent(l),l},T=new WeakMap,E=(e,n,t)=>{let l=Ee.get(e);Fe&&t?(l=l||new CSSStyleSheet,"string"==typeof l?l=n:l.replaceSync(n)):l=n,Ee.set(e,l)},L=(e,n,t)=>{var l;const o=D(n,t),s=Ee.get(o);if(e=11===e.nodeType?e:Ie,s)if("string"==typeof s){let t,i=T.get(e=e.head||e);if(i||T.set(e,i=new Set),!i.has(o)){if(e.host&&(t=e.querySelector(`[${a}="${o}"]`)))t.innerHTML=s;else{t=Ie.createElement("style"),t.innerHTML=s;const n=null!==(l=Ne.C)&&void 0!==l?l:h(Ie);null!=n&&t.setAttribute("nonce",n),e.insertBefore(t,e.querySelector("link"))}4&n.v&&(t.innerHTML+=$),i&&i.add(o)}}else e.adoptedStyleSheets.includes(s)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,s]);return o},D=(e,n)=>"sc-"+(n&&32&e.v?e.M+"-"+n:e.M),I=e=>e.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g,"$1{"),N=(e,n,t,l,o,s)=>{if(t!==l){let i=Me(e,n),c=n.toLowerCase();if("class"===n){const n=e.classList,o=W(t),s=W(l);n.remove(...o.filter((e=>e&&!s.includes(e)))),n.add(...s.filter((e=>e&&!o.includes(e))))}else if("style"===n){for(const n in t)l&&null!=l[n]||(n.includes("-")?e.style.removeProperty(n):e.style[n]="");for(const n in l)t&&l[n]===t[n]||(n.includes("-")?e.style.setProperty(n,l[n]):e.style[n]=l[n])}else if("key"===n);else if("ref"===n)l&&l(e);else if(i||"o"!==n[0]||"n"!==n[1]){const r=y(l);if((i||r&&null!==l)&&!o)try{if(e.tagName.includes("-"))e[n]=l;else{const o=null==l?"":l;"list"===n?i=!1:null!=t&&e[n]==o||(e[n]=o)}}catch(e){}let f=!1;c!==(c=c.replace(/^xlink\:?/,""))&&(n=c,f=!0),null==l||!1===l?!1===l&&""!==e.getAttribute(n)||(f?e.removeAttributeNS(v,n):e.removeAttribute(n)):(!i||4&s||o)&&!r&&(l=!0===l?"":l,f?e.setAttributeNS(v,n,l):e.setAttribute(n,l))}else if(n="-"===n[2]?n.slice(3):Me(De,c)?c.slice(2):c[2]+n.slice(3),t||l){const o=n.endsWith(A);n=n.replace(F,""),t&&Ne.rel(e,n,t,o),l&&Ne.ael(e,n,l,o)}}},U=/\s/,W=e=>e?e.split(U):[],A="Capture",F=RegExp(A+"$"),B=(e,n,t,l)=>{const o=11===n.h.nodeType&&n.h.host?n.h.host:n.h,s=e&&e.o||p,i=n.o||p;for(l in s)l in i||N(o,l,s[l],void 0,t,n.v);for(l in i)N(o,l,s[l],i[l],t,n.v)},H=(o,c,r,f)=>{var u;const a=c.i[r];let d,$,v,p=0;if(l||(s=!0,"slot"===a.p&&(e&&f.classList.add(e+"-s"),a.v|=a.i?2:1)),null!==a.l)d=a.h=Ie.createTextNode(a.l);else if(1&a.v)d=a.h=Ie.createTextNode("");else{if(i||(i="svg"===a.p),d=a.h=Ie.createElementNS(i?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",2&a.v?"slot-fb":a.p),i&&"foreignObject"===a.p&&(i=!1),B(null,a,i),null!=e&&d["s-si"]!==e&&d.classList.add(d["s-si"]=e),a.i)for(p=0;p<a.i.length;++p)$=H(o,a,p,d),$&&d.appendChild($);"svg"===a.p?i=!1:"foreignObject"===d.tagName&&(i=!0)}return d["s-hn"]=t,3&a.v&&(d["s-sr"]=!0,d["s-fs"]=null===(u=a.o)||void 0===u?void 0:u.slot,d["s-cr"]=n,d["s-sn"]=a.$||"",v=o&&o.i&&o.i[r],v&&v.p===a.p&&o.h&&q(o.h,!1)),d},q=(e,n)=>{var l;Ne.v|=1;const o=e.childNodes;for(let e=o.length-1;e>=0;e--){const i=o[e];i["s-hn"]!==t&&i["s-ol"]&&(J(i).insertBefore(i,G(i)),i["s-ol"].remove(),i["s-ol"]=void 0,i["s-sh"]=void 0,1===i.nodeType&&i.setAttribute("slot",null!==(l=i["s-sn"])&&void 0!==l?l:""),s=!0),n&&q(i,n)}Ne.v&=-2},V=(e,n,l,o,s,i)=>{let c,r=e["s-cr"]&&e["s-cr"].parentNode||e;for(r.shadowRoot&&r.tagName===t&&(r=r.shadowRoot);s<=i;++s)o[s]&&(c=H(null,l,s,e),c&&(o[s].h=c,r.insertBefore(c,G(n))))},_=(e,n,t)=>{for(let l=n;l<=t;++l){const n=e[l];if(n){const e=n.h;ee(n),e&&(o=!0,e["s-ol"]?e["s-ol"].remove():q(e,!0),e.remove())}}},z=(e,n)=>e.p===n.p&&("slot"===e.p?e.$===n.$:e.u===n.u),G=e=>e&&e["s-ol"]||e,J=e=>(e["s-ol"]?e["s-ol"]:e).parentNode,K=(e,n)=>{const t=n.h=e.h,l=e.i,o=n.i,s=n.p,c=n.l;let r;null===c?(i="svg"===s||"foreignObject"!==s&&i,"slot"===s||B(e,n,i),null!==l&&null!==o?((e,n,t,l)=>{let o,s,i=0,c=0,r=0,f=0,u=n.length-1,a=n[0],d=n[u],$=l.length-1,v=l[0],p=l[$];for(;i<=u&&c<=$;)if(null==a)a=n[++i];else if(null==d)d=n[--u];else if(null==v)v=l[++c];else if(null==p)p=l[--$];else if(z(a,v))K(a,v),a=n[++i],v=l[++c];else if(z(d,p))K(d,p),d=n[--u],p=l[--$];else if(z(a,p))"slot"!==a.p&&"slot"!==p.p||q(a.h.parentNode,!1),K(a,p),e.insertBefore(a.h,d.h.nextSibling),a=n[++i],p=l[--$];else if(z(d,v))"slot"!==a.p&&"slot"!==p.p||q(d.h.parentNode,!1),K(d,v),e.insertBefore(d.h,a.h),d=n[--u],v=l[++c];else{for(r=-1,f=i;f<=u;++f)if(n[f]&&null!==n[f].u&&n[f].u===v.u){r=f;break}r>=0?(s=n[r],s.p!==v.p?o=H(n&&n[c],t,r,e):(K(s,v),n[r]=void 0,o=s.h),v=l[++c]):(o=H(n&&n[c],t,c,e),v=l[++c]),o&&J(a.h).insertBefore(o,G(a.h))}i>u?V(e,null==l[$+1]?null:l[$+1].h,t,l,c,$):c>$&&_(n,i,u)})(t,l,n,o):null!==o?(null!==e.l&&(t.textContent=""),V(t,null,n,o,0,o.length-1)):null!==l&&_(l,0,l.length-1),i&&"svg"===s&&(i=!1)):(r=t["s-cr"])?r.parentNode.textContent=c:e.l!==c&&(t.data=c)},Q=e=>{const n=e.childNodes;for(const e of n)if(1===e.nodeType){if(e["s-sr"]){const t=e["s-sn"];e.hidden=!1;for(const l of n)if(l!==e)if(l["s-hn"]!==e["s-hn"]||""!==t){if(1===l.nodeType&&(t===l.getAttribute("slot")||t===l["s-sn"])){e.hidden=!0;break}}else if(1===l.nodeType||3===l.nodeType&&""!==l.textContent.trim()){e.hidden=!0;break}}Q(e)}},X=[],Y=e=>{let n,t,l;for(const s of e.childNodes){if(s["s-sr"]&&(n=s["s-cr"])&&n.parentNode){t=n.parentNode.childNodes;const e=s["s-sn"];for(l=t.length-1;l>=0;l--)if(n=t[l],!n["s-cn"]&&!n["s-nr"]&&n["s-hn"]!==s["s-hn"])if(Z(n,e)){let t=X.find((e=>e.R===n));o=!0,n["s-sn"]=n["s-sn"]||e,t?(t.R["s-sh"]=s["s-hn"],t.P=s):(n["s-sh"]=s["s-hn"],X.push({P:s,R:n})),n["s-sr"]&&X.map((e=>{Z(e.R,n["s-sn"])&&(t=X.find((e=>e.R===n)),t&&!e.P&&(e.P=t.P))}))}else X.some((e=>e.R===n))||X.push({R:n})}1===s.nodeType&&Y(s)}},Z=(e,n)=>1===e.nodeType?null===e.getAttribute("slot")&&""===n||e.getAttribute("slot")===n:e["s-sn"]===n||""===n,ee=e=>{e.o&&e.o.ref&&e.o.ref(null),e.i&&e.i.map(ee)},ne=(e,n)=>{n&&!e.T&&n["s-p"]&&n["s-p"].push(new Promise((n=>e.T=n)))},te=(e,n)=>{if(e.v|=16,!(4&e.v))return ne(e,e.L),Je((()=>le(e,n)));e.v|=512},le=(e,n)=>{const t=e.D;let l;return n&&(e.v|=256,e.I&&(e.I.map((([e,n])=>ae(t,e,n))),e.I=void 0),l=ae(t,"componentWillLoad")),l=oe(l,(()=>ae(t,"componentWillRender"))),oe(l,(()=>ie(e,t,n)))},oe=(e,n)=>se(e)?e.then(n):n(),se=e=>e instanceof Promise||e&&e.then&&"function"==typeof e.then,ie=async(e,n,t)=>{var l;const o=e.$hostElement$,s=o["s-rc"];t&&(e=>{const n=e.N,t=e.$hostElement$,l=n.v,o=L(t.shadowRoot?t.shadowRoot:t.getRootNode(),n,e.O);10&l&&(t["s-sc"]=o,t.classList.add(o+"-h"),2&l&&t.classList.add(o+"-s"))})(e);ce(e,n,o,t),s&&(s.map((e=>e())),o["s-rc"]=void 0);{const n=null!==(l=o["s-p"])&&void 0!==l?l:[],t=()=>re(e);0===n.length?t():(Promise.all(n).then(t),e.v|=4,n.length=0)}},ce=(i,c,r,f)=>{try{c=c.render&&c.render(),i.v&=-17,i.v|=2,((i,c,r=!1)=>{var f,u;const a=i.$hostElement$,d=i.N,$=i.U||b(null,null),v=(e=>e&&e.p===w)(c)?c:m(null,null,c);if(t=a.tagName,d.W&&(v.o=v.o||{},d.W.map((([e,n])=>v.o[n]=a[e]))),r&&v.o)for(const e of Object.keys(v.o))a.hasAttribute(e)&&!["key","ref","style","class"].includes(e)&&(v.o[e]=a[e]);if(v.p=null,v.v|=4,i.U=v,v.h=$.h=a.shadowRoot||a,e=a["s-sc"],n=a["s-cr"],l=0!=(1&d.v),o=!1,K($,v),Ne.v|=1,s){Y(v.h);for(const e of X){const n=e.R;if(!n["s-ol"]){const e=Ie.createTextNode("");e["s-nr"]=n,n.parentNode.insertBefore(n["s-ol"]=e,n)}}for(const e of X){const n=e.R,t=e.P;if(t){const e=t.parentNode;let l=t.nextSibling;{let t=null===(f=n["s-ol"])||void 0===f?void 0:f.previousSibling;for(;t;){let o=null!==(u=t["s-nr"])&&void 0!==u?u:null;if(o&&o["s-sn"]===n["s-sn"]&&e===o.parentNode&&(o=o.nextSibling,!o||!o["s-nr"])){l=o;break}t=t.previousSibling}}(!l&&e!==n.parentNode||n.nextSibling!==l)&&n!==l&&(!n["s-hn"]&&n["s-ol"]&&(n["s-hn"]=n["s-ol"].parentNode.nodeName),e.insertBefore(n,l))}else 1===n.nodeType&&(n.hidden=!0)}}o&&Q(v.h),Ne.v&=-2,X.length=0})(i,c,f)}catch(e){Re(e,i.$hostElement$)}return null},re=e=>{const n=e.$hostElement$,t=e.D,l=e.L;ae(t,"componentDidRender"),64&e.v?ae(t,"componentDidUpdate"):(e.v|=64,de(n),ae(t,"componentDidLoad"),e.A(n),l||ue()),e.F(n),e.T&&(e.T(),e.T=void 0),512&e.v&&ze((()=>te(e,!1))),e.v&=-517},fe=e=>{{const n=Oe(e),t=n.$hostElement$.isConnected;return t&&2==(18&n.v)&&te(n,!1),t}},ue=()=>{de(Ie.documentElement),ze((()=>P(De,"appload",{detail:{namespace:"ionic"}})))},ae=(e,n,t)=>{if(e&&e[n])try{return e[n](t)}catch(e){Re(e)}},de=e=>e.classList.add("hydrated"),$e=(e,n,t)=>{var l;const o=e.prototype;if(n.B){e.watchers&&(n.H=e.watchers);const s=Object.entries(n.B);if(s.map((([e,[l]])=>{31&l||2&t&&32&l?Object.defineProperty(o,e,{get(){return((e,n)=>Oe(this).q.get(n))(0,e)},set(t){((e,n,t,l)=>{const o=Oe(e),s=o.$hostElement$,i=o.q.get(n),c=o.v,r=o.D;if(t=((e,n)=>null==e||y(e)?e:4&n?"false"!==e&&(""===e||!!e):2&n?parseFloat(e):1&n?e+"":e)(t,l.B[n][0]),(!(8&c)||void 0===i)&&t!==i&&(!Number.isNaN(i)||!Number.isNaN(t))&&(o.q.set(n,t),r)){if(l.H&&128&c){const e=l.H[n];e&&e.map((e=>{try{r[e](t,i,n)}catch(e){Re(e,s)}}))}2==(18&c)&&te(o,!1)}})(this,e,t,n)},configurable:!0,enumerable:!0}):1&t&&64&l&&Object.defineProperty(o,e,{value(...n){var t;const l=Oe(this);return null===(t=null==l?void 0:l.V)||void 0===t?void 0:t.then((()=>{var t;return null===(t=l.D)||void 0===t?void 0:t[e](...n)}))}})})),1&t){const t=new Map;o.attributeChangedCallback=function(e,l,s){Ne.jmp((()=>{var i;const c=t.get(e);if(this.hasOwnProperty(c))s=this[c],delete this[c];else{if(o.hasOwnProperty(c)&&"number"==typeof this[c]&&this[c]==s)return;if(null==c){const t=Oe(this),o=null==t?void 0:t.v;if(o&&!(8&o)&&128&o&&s!==l){const o=t.D,c=null===(i=n.H)||void 0===i?void 0:i[e];null==c||c.forEach((n=>{null!=o[n]&&o[n].call(o,s,l,e)}))}return}}this[c]=(null!==s||"boolean"!=typeof this[c])&&s}))},e.observedAttributes=Array.from(new Set([...Object.keys(null!==(l=n.H)&&void 0!==l?l:{}),...s.filter((([e,n])=>15&n[0])).map((([e,l])=>{var o;const s=l[1]||e;return t.set(s,e),512&l[0]&&(null===(o=n.W)||void 0===o||o.push([e,s])),s}))]))}}return e},ve=e=>{ae(e,"connectedCallback")},pe=e=>{if(0==(1&Ne.v)){const n=Oe(e),t=n.N,l=()=>{};if(1&n.v)be(e,n,t._),(null==n?void 0:n.D)?ve(n.D):(null==n?void 0:n.G)&&n.G.then((()=>ve(n.D)));else{let l;if(n.v|=1,l=e.getAttribute(u),l){if(1&t.v){const n=L(e.shadowRoot,t,e.getAttribute("s-mode"));e.classList.remove(n+"-h",n+"-s")}((e,n,t,l)=>{const o=e.shadowRoot,s=[],i=o?[]:null,c=l.U=b(n,null);Ne.J||O(Ie.body,Ne.J=new Map),e[u]=t,e.removeAttribute(u),S(c,s,[],i,e,e,t),s.map((e=>{const t=e.m+"."+e.k,l=Ne.J.get(t),s=e.h;l&&We&&""===l["s-en"]&&l.parentNode.insertBefore(s,l.nextSibling),o||(s["s-hn"]=n,l&&(s["s-ol"]=l,s["s-ol"]["s-nr"]=s)),Ne.J.delete(t)})),o&&i.map((e=>{e&&o.appendChild(e)}))})(e,t.M,l,n)}l||12&t.v&&ye(e);{let t=e;for(;t=t.parentNode||t.host;)if(1===t.nodeType&&t.hasAttribute("s-id")&&t["s-p"]||t["s-p"]){ne(n,n.L=t);break}}t.B&&Object.entries(t.B).map((([n,[t]])=>{if(31&t&&e.hasOwnProperty(n)){const t=e[n];delete e[n],e[n]=t}})),(async(e,n,t)=>{let l;if(0==(32&n.v)){n.v|=32;{if(l=Te(t),l.then){const e=()=>{};l=await l,e()}l.isProxied||(t.H=l.watchers,$e(l,t,2),l.isProxied=!0);const e=()=>{};n.v|=8;try{new l(n)}catch(e){Re(e)}n.v&=-9,n.v|=128,e(),ve(n.D)}if(l.style){let o=l.style;"string"!=typeof o&&(o=o[n.O=(e=>Le.map((n=>n(e))).find((e=>!!e)))(e)]);const s=D(t,n.O);if(!Ee.has(s)){const e=()=>{};E(s,o,!!(1&t.v)),e()}}}const o=n.L,s=()=>te(n,!0);o&&o["s-rc"]?o["s-rc"].push(s):s()})(e,n,t)}l()}},ye=e=>{const n=e["s-cr"]=Ie.createComment("");n["s-cn"]=!0,e.insertBefore(n,e.firstChild)},he=e=>{ae(e,"disconnectedCallback")},me=(e,n={})=>{var t;const l=[],o=n.exclude||[],s=De.customElements,i=Ie.head,c=i.querySelector("meta[charset]"),r=Ie.createElement("style"),f=[],u=Ie.querySelectorAll(`[${a}]`);let d,v=!0,p=0;for(Object.assign(Ne,n),Ne.t=new URL(n.resourcesUrl||"./",Ie.baseURI).href,Ne.v|=2;p<u.length;p++)E(u[p].getAttribute(a),I(u[p].innerHTML),!0);let y=!1;if(e.map((e=>{e[1].map((n=>{var t;const i={v:n[0],M:n[1],B:n[2],_:n[3]};4&i.v&&(y=!0),i.B=n[2],i._=n[3],i.W=[],i.H=null!==(t=n[4])&&void 0!==t?t:{};const c=i.M,r=class extends HTMLElement{constructor(e){super(e),Ce(e=this,i),1&i.v&&e.attachShadow({mode:"open",delegatesFocus:!!(16&i.v)})}connectedCallback(){d&&(clearTimeout(d),d=null),v?f.push(this):Ne.jmp((()=>pe(this)))}disconnectedCallback(){Ne.jmp((()=>(async()=>{if(0==(1&Ne.v)){const e=Oe(this);e.K&&(e.K.map((e=>e())),e.K=void 0),(null==e?void 0:e.D)?he(e.D):(null==e?void 0:e.G)&&e.G.then((()=>he(e.D)))}})()))}componentOnReady(){return Oe(this).G}};i.X=e[0],o.includes(c)||s.get(c)||(l.push(c),s.define(c,$e(r,i,1)))}))})),y&&(r.innerHTML+=$),r.innerHTML+=l+"{visibility:hidden}.hydrated{visibility:inherit}",r.innerHTML.length){r.setAttribute("data-styles","");const e=null!==(t=Ne.C)&&void 0!==t?t:h(Ie);null!=e&&r.setAttribute("nonce",e),i.insertBefore(r,c?c.nextSibling:i.firstChild)}v=!1,f.length?f.map((e=>e.connectedCallback())):Ne.jmp((()=>d=setTimeout(ue,30)))},be=(e,n,t)=>{t&&t.map((([t,l,o])=>{const s=ge(e,t),i=we(n,o),c=ke(t);Ne.ael(s,l,i,c),(n.K=n.K||[]).push((()=>Ne.rel(s,l,i,c)))}))},we=(e,n)=>t=>{try{256&e.v?e.D[n](t):(e.I=e.I||[]).push([n,t])}catch(e){Re(e)}},ge=(e,n)=>4&n?Ie:8&n?De:16&n?Ie.body:e,ke=e=>0!=(2&e),je=e=>Ne.C=e,Se=new WeakMap,Oe=e=>Se.get(e),xe=(e,n)=>Se.set(n.D=e,n),Ce=(e,n)=>{const t={v:0,$hostElement$:e,N:n,q:new Map};return t.V=new Promise((e=>t.F=e)),t.G=new Promise((e=>t.A=e)),e["s-p"]=[],e["s-rc"]=[],be(e,t,n._),Se.set(e,t)},Me=(e,n)=>n in e,Re=(e,n)=>(0,console.error)(e,n),Pe=new Map,Te=e=>{const n=e.M.replace(/-/g,"_"),t=e.X,l=Pe.get(t);return l?l[n]:import(`./${t}.entry.js`).then((e=>(Pe.set(t,e),e[n])),Re)
4
+ let e,n,t,l=!1,o=!1,s=!1,i=!1,c=!1;const r={isDev:!1,isBrowser:!0,isServer:!1,isTesting:!1},f=e=>{const n=new URL(e,Ne.t);return n.origin!==De.location.origin?n.href:n.pathname},u="s-id",a="sty-id",d="c-id",$="slot-fb{display:contents}slot-fb[hidden]{display:none}",v="http://www.w3.org/1999/xlink",p={},y=e=>"object"==(e=typeof e)||"function"===e;function h(e){var n,t,l;return null!==(l=null===(t=null===(n=e.head)||void 0===n?void 0:n.querySelector('meta[name="csp-nonce"]'))||void 0===t?void 0:t.getAttribute("content"))&&void 0!==l?l:void 0}const m=(e,n,...t)=>{let l=null,o=null,s=null,i=!1,c=!1;const r=[],f=n=>{for(let t=0;t<n.length;t++)l=n[t],Array.isArray(l)?f(l):null!=l&&"boolean"!=typeof l&&((i="function"!=typeof e&&!y(l))&&(l+=""),i&&c?r[r.length-1].l+=l:r.push(i?b(null,l):l),c=i)};if(f(t),n){n.key&&(o=n.key),n.name&&(s=n.name);{const e=n.className||n.class;e&&(n.class="object"!=typeof e?e:Object.keys(e).filter((n=>e[n])).join(" "))}}if("function"==typeof e)return e(null===n?{}:n,r,g);const u=b(e,null);return u.o=n,r.length>0&&(u.i=r),u.u=o,u.$=s,u},b=(e,n)=>({v:0,p:e,l:n,h:null,i:null,o:null,u:null,$:null}),w={},g={forEach:(e,n)=>e.map(k).forEach(n),map:(e,n)=>e.map(k).map(n).map(j)},k=e=>({vattrs:e.o,vchildren:e.i,vkey:e.u,vname:e.$,vtag:e.p,vtext:e.l}),j=e=>{if("function"==typeof e.vtag){const n=Object.assign({},e.vattrs);return e.vkey&&(n.key=e.vkey),e.vname&&(n.name=e.vname),m(e.vtag,n,...e.vchildren||[])}const n=b(e.vtag,e.vtext);return n.o=e.vattrs,n.i=e.vchildren,n.u=e.vkey,n.$=e.vname,n},S=(e,n,t,l,o,s,i)=>{let c,r,f,u;if(1===s.nodeType){for(c=s.getAttribute(d),c&&(r=c.split("."),r[0]!==i&&"0"!==r[0]||(f={v:0,m:r[0],k:r[1],j:r[2],S:r[3],p:s.tagName.toLowerCase(),h:s,o:null,i:null,u:null,$:null,l:null},n.push(f),s.removeAttribute(d),e.i||(e.i=[]),e.i[f.S]=f,e=f,l&&"0"===f.j&&(l[f.S]=f.h))),u=s.childNodes.length-1;u>=0;u--)S(e,n,t,l,o,s.childNodes[u],i);if(s.shadowRoot)for(u=s.shadowRoot.childNodes.length-1;u>=0;u--)S(e,n,t,l,o,s.shadowRoot.childNodes[u],i)}else if(8===s.nodeType)r=s.nodeValue.split("."),r[1]!==i&&"0"!==r[1]||(c=r[0],f={v:0,m:r[1],k:r[2],j:r[3],S:r[4],h:s,o:null,i:null,u:null,$:null,p:null,l:null},"t"===c?(f.h=s.nextSibling,f.h&&3===f.h.nodeType&&(f.l=f.h.textContent,n.push(f),s.remove(),e.i||(e.i=[]),e.i[f.S]=f,l&&"0"===f.j&&(l[f.S]=f.h))):f.m===i&&("s"===c?(f.p="slot",s["s-sn"]=r[5]?f.$=r[5]:"",s["s-sr"]=!0,l&&(f.h=Ie.createElement(f.p),f.$&&f.h.setAttribute("name",f.$),s.parentNode.insertBefore(f.h,s),s.remove(),"0"===f.j&&(l[f.S]=f.h)),t.push(f),e.i||(e.i=[]),e.i[f.S]=f):"r"===c&&(l?s.remove():(o["s-cr"]=s,s["s-cn"]=!0))));else if(e&&"style"===e.p){const n=b(null,s.textContent);n.h=s,n.S="0",e.i=[n]}},O=(e,n)=>{if(1===e.nodeType){let t=0;for(;t<e.childNodes.length;t++)O(e.childNodes[t],n);if(e.shadowRoot)for(t=0;t<e.shadowRoot.childNodes.length;t++)O(e.shadowRoot.childNodes[t],n)}else if(8===e.nodeType){const t=e.nodeValue.split(".");"o"===t[0]&&(n.set(t[1]+"."+t[2],e),e.nodeValue="",e["s-en"]=t[3])}},x=e=>Le.push(e),C=e=>Oe(e).O,M=e=>Oe(e).$hostElement$,R=(e,n,t)=>{const l=M(e);return{emit:e=>P(l,n,{bubbles:!!(4&t),composed:!!(2&t),cancelable:!!(1&t),detail:e})}},P=(e,n,t)=>{const l=Ne.ce(n,t);return e.dispatchEvent(l),l},T=new WeakMap,E=(e,n,t)=>{let l=Ee.get(e);Fe&&t?(l=l||new CSSStyleSheet,"string"==typeof l?l=n:l.replaceSync(n)):l=n,Ee.set(e,l)},L=(e,n,t)=>{var l;const o=D(n,t),s=Ee.get(o);if(e=11===e.nodeType?e:Ie,s)if("string"==typeof s){let t,i=T.get(e=e.head||e);if(i||T.set(e,i=new Set),!i.has(o)){if(e.host&&(t=e.querySelector(`[${a}="${o}"]`)))t.innerHTML=s;else{t=Ie.createElement("style"),t.innerHTML=s;const n=null!==(l=Ne.C)&&void 0!==l?l:h(Ie);null!=n&&t.setAttribute("nonce",n),e.insertBefore(t,e.querySelector("link"))}4&n.v&&(t.innerHTML+=$),i&&i.add(o)}}else e.adoptedStyleSheets.includes(s)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,s]);return o},D=(e,n)=>"sc-"+(n&&32&e.v?e.M+"-"+n:e.M),I=e=>e.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g,"$1{"),N=(e,n,t,l,o,s)=>{if(t!==l){let i=Me(e,n),c=n.toLowerCase();if("class"===n){const n=e.classList,o=W(t),s=W(l);n.remove(...o.filter((e=>e&&!s.includes(e)))),n.add(...s.filter((e=>e&&!o.includes(e))))}else if("style"===n){for(const n in t)l&&null!=l[n]||(n.includes("-")?e.style.removeProperty(n):e.style[n]="");for(const n in l)t&&l[n]===t[n]||(n.includes("-")?e.style.setProperty(n,l[n]):e.style[n]=l[n])}else if("key"===n);else if("ref"===n)l&&l(e);else if(i||"o"!==n[0]||"n"!==n[1]){const r=y(l);if((i||r&&null!==l)&&!o)try{if(e.tagName.includes("-"))e[n]=l;else{const o=null==l?"":l;"list"===n?i=!1:null!=t&&e[n]==o||(e[n]=o)}}catch(e){}let f=!1;c!==(c=c.replace(/^xlink\:?/,""))&&(n=c,f=!0),null==l||!1===l?!1===l&&""!==e.getAttribute(n)||(f?e.removeAttributeNS(v,n):e.removeAttribute(n)):(!i||4&s||o)&&!r&&(l=!0===l?"":l,f?e.setAttributeNS(v,n,l):e.setAttribute(n,l))}else if(n="-"===n[2]?n.slice(3):Me(De,c)?c.slice(2):c[2]+n.slice(3),t||l){const o=n.endsWith(A);n=n.replace(F,""),t&&Ne.rel(e,n,t,o),l&&Ne.ael(e,n,l,o)}}},U=/\s/,W=e=>e?e.split(U):[],A="Capture",F=RegExp(A+"$"),B=(e,n,t,l)=>{const o=11===n.h.nodeType&&n.h.host?n.h.host:n.h,s=e&&e.o||p,i=n.o||p;for(l in s)l in i||N(o,l,s[l],void 0,t,n.v);for(l in i)N(o,l,s[l],i[l],t,n.v)},H=(o,c,r,f)=>{var u;const a=c.i[r];let d,$,v,p=0;if(l||(s=!0,"slot"===a.p&&(e&&f.classList.add(e+"-s"),a.v|=a.i?2:1)),null!==a.l)d=a.h=Ie.createTextNode(a.l);else if(1&a.v)d=a.h=Ie.createTextNode("");else{if(i||(i="svg"===a.p),d=a.h=Ie.createElementNS(i?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",2&a.v?"slot-fb":a.p),i&&"foreignObject"===a.p&&(i=!1),B(null,a,i),null!=e&&d["s-si"]!==e&&d.classList.add(d["s-si"]=e),a.i)for(p=0;p<a.i.length;++p)$=H(o,a,p,d),$&&d.appendChild($);"svg"===a.p?i=!1:"foreignObject"===d.tagName&&(i=!0)}return d["s-hn"]=t,3&a.v&&(d["s-sr"]=!0,d["s-fs"]=null===(u=a.o)||void 0===u?void 0:u.slot,d["s-cr"]=n,d["s-sn"]=a.$||"",v=o&&o.i&&o.i[r],v&&v.p===a.p&&o.h&&q(o.h,!1)),d},q=(e,n)=>{var l;Ne.v|=1;const o=e.childNodes;for(let e=o.length-1;e>=0;e--){const i=o[e];i["s-hn"]!==t&&i["s-ol"]&&(J(i).insertBefore(i,G(i)),i["s-ol"].remove(),i["s-ol"]=void 0,i["s-sh"]=void 0,1===i.nodeType&&i.setAttribute("slot",null!==(l=i["s-sn"])&&void 0!==l?l:""),s=!0),n&&q(i,n)}Ne.v&=-2},V=(e,n,l,o,s,i)=>{let c,r=e["s-cr"]&&e["s-cr"].parentNode||e;for(r.shadowRoot&&r.tagName===t&&(r=r.shadowRoot);s<=i;++s)o[s]&&(c=H(null,l,s,e),c&&(o[s].h=c,r.insertBefore(c,G(n))))},_=(e,n,t)=>{for(let l=n;l<=t;++l){const n=e[l];if(n){const e=n.h;ee(n),e&&(o=!0,e["s-ol"]?e["s-ol"].remove():q(e,!0),e.remove())}}},z=(e,n)=>e.p===n.p&&("slot"===e.p?e.$===n.$:e.u===n.u),G=e=>e&&e["s-ol"]||e,J=e=>(e["s-ol"]?e["s-ol"]:e).parentNode,K=(e,n)=>{const t=n.h=e.h,l=e.i,o=n.i,s=n.p,c=n.l;let r;null===c?(i="svg"===s||"foreignObject"!==s&&i,"slot"===s||B(e,n,i),null!==l&&null!==o?((e,n,t,l)=>{let o,s,i=0,c=0,r=0,f=0,u=n.length-1,a=n[0],d=n[u],$=l.length-1,v=l[0],p=l[$];for(;i<=u&&c<=$;)if(null==a)a=n[++i];else if(null==d)d=n[--u];else if(null==v)v=l[++c];else if(null==p)p=l[--$];else if(z(a,v))K(a,v),a=n[++i],v=l[++c];else if(z(d,p))K(d,p),d=n[--u],p=l[--$];else if(z(a,p))"slot"!==a.p&&"slot"!==p.p||q(a.h.parentNode,!1),K(a,p),e.insertBefore(a.h,d.h.nextSibling),a=n[++i],p=l[--$];else if(z(d,v))"slot"!==a.p&&"slot"!==p.p||q(d.h.parentNode,!1),K(d,v),e.insertBefore(d.h,a.h),d=n[--u],v=l[++c];else{for(r=-1,f=i;f<=u;++f)if(n[f]&&null!==n[f].u&&n[f].u===v.u){r=f;break}r>=0?(s=n[r],s.p!==v.p?o=H(n&&n[c],t,r,e):(K(s,v),n[r]=void 0,o=s.h),v=l[++c]):(o=H(n&&n[c],t,c,e),v=l[++c]),o&&J(a.h).insertBefore(o,G(a.h))}i>u?V(e,null==l[$+1]?null:l[$+1].h,t,l,c,$):c>$&&_(n,i,u)})(t,l,n,o):null!==o?(null!==e.l&&(t.textContent=""),V(t,null,n,o,0,o.length-1)):null!==l&&_(l,0,l.length-1),i&&"svg"===s&&(i=!1)):(r=t["s-cr"])?r.parentNode.textContent=c:e.l!==c&&(t.data=c)},Q=e=>{const n=e.childNodes;for(const e of n)if(1===e.nodeType){if(e["s-sr"]){const t=e["s-sn"];e.hidden=!1;for(const l of n)if(l!==e)if(l["s-hn"]!==e["s-hn"]||""!==t){if(1===l.nodeType&&(t===l.getAttribute("slot")||t===l["s-sn"])){e.hidden=!0;break}}else if(1===l.nodeType||3===l.nodeType&&""!==l.textContent.trim()){e.hidden=!0;break}}Q(e)}},X=[],Y=e=>{let n,t,l;for(const s of e.childNodes){if(s["s-sr"]&&(n=s["s-cr"])&&n.parentNode){t=n.parentNode.childNodes;const e=s["s-sn"];for(l=t.length-1;l>=0;l--)if(n=t[l],!n["s-cn"]&&!n["s-nr"]&&n["s-hn"]!==s["s-hn"])if(Z(n,e)){let t=X.find((e=>e.R===n));o=!0,n["s-sn"]=n["s-sn"]||e,t?(t.R["s-sh"]=s["s-hn"],t.P=s):(n["s-sh"]=s["s-hn"],X.push({P:s,R:n})),n["s-sr"]&&X.map((e=>{Z(e.R,n["s-sn"])&&(t=X.find((e=>e.R===n)),t&&!e.P&&(e.P=t.P))}))}else X.some((e=>e.R===n))||X.push({R:n})}1===s.nodeType&&Y(s)}},Z=(e,n)=>1===e.nodeType?null===e.getAttribute("slot")&&""===n||e.getAttribute("slot")===n:e["s-sn"]===n||""===n,ee=e=>{e.o&&e.o.ref&&e.o.ref(null),e.i&&e.i.map(ee)},ne=(e,n)=>{n&&!e.T&&n["s-p"]&&n["s-p"].push(new Promise((n=>e.T=n)))},te=(e,n)=>{if(e.v|=16,!(4&e.v))return ne(e,e.L),Je((()=>le(e,n)));e.v|=512},le=(e,n)=>{const t=e.D;let l;return n&&(e.v|=256,e.I&&(e.I.map((([e,n])=>ae(t,e,n))),e.I=void 0),l=ae(t,"componentWillLoad")),l=oe(l,(()=>ae(t,"componentWillRender"))),oe(l,(()=>ie(e,t,n)))},oe=(e,n)=>se(e)?e.then(n):n(),se=e=>e instanceof Promise||e&&e.then&&"function"==typeof e.then,ie=async(e,n,t)=>{var l;const o=e.$hostElement$,s=o["s-rc"];t&&(e=>{const n=e.N,t=e.$hostElement$,l=n.v,o=L(t.shadowRoot?t.shadowRoot:t.getRootNode(),n,e.O);10&l&&(t["s-sc"]=o,t.classList.add(o+"-h"),2&l&&t.classList.add(o+"-s"))})(e);ce(e,n,o,t),s&&(s.map((e=>e())),o["s-rc"]=void 0);{const n=null!==(l=o["s-p"])&&void 0!==l?l:[],t=()=>re(e);0===n.length?t():(Promise.all(n).then(t),e.v|=4,n.length=0)}},ce=(i,c,r,f)=>{try{c=c.render&&c.render(),i.v&=-17,i.v|=2,((i,c,r=!1)=>{var f,u,a,d;const $=i.$hostElement$,v=i.N,p=i.U||b(null,null),y=(e=>e&&e.p===w)(c)?c:m(null,null,c);if(t=$.tagName,v.W&&(y.o=y.o||{},v.W.map((([e,n])=>y.o[n]=$[e]))),r&&y.o)for(const e of Object.keys(y.o))$.hasAttribute(e)&&!["key","ref","style","class"].includes(e)&&(y.o[e]=$[e]);if(y.p=null,y.v|=4,i.U=y,y.h=p.h=$.shadowRoot||$,e=$["s-sc"],n=$["s-cr"],l=0!=(1&v.v),o=!1,K(p,y),Ne.v|=1,s){Y(y.h);for(const e of X){const n=e.R;if(!n["s-ol"]){const e=Ie.createTextNode("");e["s-nr"]=n,n.parentNode.insertBefore(n["s-ol"]=e,n)}}for(const e of X){const n=e.R,t=e.P;if(t){const e=t.parentNode;let l=t.nextSibling;{let t=null===(f=n["s-ol"])||void 0===f?void 0:f.previousSibling;for(;t;){let o=null!==(u=t["s-nr"])&&void 0!==u?u:null;if(o&&o["s-sn"]===n["s-sn"]&&e===o.parentNode&&(o=o.nextSibling,!o||!o["s-nr"])){l=o;break}t=t.previousSibling}}(!l&&e!==n.parentNode||n.nextSibling!==l)&&n!==l&&(!n["s-hn"]&&n["s-ol"]&&(n["s-hn"]=n["s-ol"].parentNode.nodeName),e.insertBefore(n,l),1===n.nodeType&&(n.hidden=null!==(a=n["s-ih"])&&void 0!==a&&a))}else 1===n.nodeType&&(r&&(n["s-ih"]=null!==(d=n.hidden)&&void 0!==d&&d),n.hidden=!0)}}o&&Q(y.h),Ne.v&=-2,X.length=0})(i,c,f)}catch(e){Re(e,i.$hostElement$)}return null},re=e=>{const n=e.$hostElement$,t=e.D,l=e.L;ae(t,"componentDidRender"),64&e.v?ae(t,"componentDidUpdate"):(e.v|=64,de(n),ae(t,"componentDidLoad"),e.A(n),l||ue()),e.F(n),e.T&&(e.T(),e.T=void 0),512&e.v&&ze((()=>te(e,!1))),e.v&=-517},fe=e=>{{const n=Oe(e),t=n.$hostElement$.isConnected;return t&&2==(18&n.v)&&te(n,!1),t}},ue=()=>{de(Ie.documentElement),ze((()=>P(De,"appload",{detail:{namespace:"ionic"}})))},ae=(e,n,t)=>{if(e&&e[n])try{return e[n](t)}catch(e){Re(e)}},de=e=>e.classList.add("hydrated"),$e=(e,n,t)=>{var l;const o=e.prototype;if(n.B){e.watchers&&(n.H=e.watchers);const s=Object.entries(n.B);if(s.map((([e,[l]])=>{31&l||2&t&&32&l?Object.defineProperty(o,e,{get(){return((e,n)=>Oe(this).q.get(n))(0,e)},set(t){((e,n,t,l)=>{const o=Oe(e),s=o.$hostElement$,i=o.q.get(n),c=o.v,r=o.D;if(t=((e,n)=>null==e||y(e)?e:4&n?"false"!==e&&(""===e||!!e):2&n?parseFloat(e):1&n?e+"":e)(t,l.B[n][0]),(!(8&c)||void 0===i)&&t!==i&&(!Number.isNaN(i)||!Number.isNaN(t))&&(o.q.set(n,t),r)){if(l.H&&128&c){const e=l.H[n];e&&e.map((e=>{try{r[e](t,i,n)}catch(e){Re(e,s)}}))}2==(18&c)&&te(o,!1)}})(this,e,t,n)},configurable:!0,enumerable:!0}):1&t&&64&l&&Object.defineProperty(o,e,{value(...n){var t;const l=Oe(this);return null===(t=null==l?void 0:l.V)||void 0===t?void 0:t.then((()=>{var t;return null===(t=l.D)||void 0===t?void 0:t[e](...n)}))}})})),1&t){const t=new Map;o.attributeChangedCallback=function(e,l,s){Ne.jmp((()=>{var i;const c=t.get(e);if(this.hasOwnProperty(c))s=this[c],delete this[c];else{if(o.hasOwnProperty(c)&&"number"==typeof this[c]&&this[c]==s)return;if(null==c){const t=Oe(this),o=null==t?void 0:t.v;if(o&&!(8&o)&&128&o&&s!==l){const o=t.D,c=null===(i=n.H)||void 0===i?void 0:i[e];null==c||c.forEach((n=>{null!=o[n]&&o[n].call(o,s,l,e)}))}return}}this[c]=(null!==s||"boolean"!=typeof this[c])&&s}))},e.observedAttributes=Array.from(new Set([...Object.keys(null!==(l=n.H)&&void 0!==l?l:{}),...s.filter((([e,n])=>15&n[0])).map((([e,l])=>{var o;const s=l[1]||e;return t.set(s,e),512&l[0]&&(null===(o=n.W)||void 0===o||o.push([e,s])),s}))]))}}return e},ve=e=>{ae(e,"connectedCallback")},pe=e=>{if(0==(1&Ne.v)){const n=Oe(e),t=n.N,l=()=>{};if(1&n.v)be(e,n,t._),(null==n?void 0:n.D)?ve(n.D):(null==n?void 0:n.G)&&n.G.then((()=>ve(n.D)));else{let l;if(n.v|=1,l=e.getAttribute(u),l){if(1&t.v){const n=L(e.shadowRoot,t,e.getAttribute("s-mode"));e.classList.remove(n+"-h",n+"-s")}((e,n,t,l)=>{const o=e.shadowRoot,s=[],i=o?[]:null,c=l.U=b(n,null);Ne.J||O(Ie.body,Ne.J=new Map),e[u]=t,e.removeAttribute(u),S(c,s,[],i,e,e,t),s.map((e=>{const t=e.m+"."+e.k,l=Ne.J.get(t),s=e.h;l&&We&&""===l["s-en"]&&l.parentNode.insertBefore(s,l.nextSibling),o||(s["s-hn"]=n,l&&(s["s-ol"]=l,s["s-ol"]["s-nr"]=s)),Ne.J.delete(t)})),o&&i.map((e=>{e&&o.appendChild(e)}))})(e,t.M,l,n)}l||12&t.v&&ye(e);{let t=e;for(;t=t.parentNode||t.host;)if(1===t.nodeType&&t.hasAttribute("s-id")&&t["s-p"]||t["s-p"]){ne(n,n.L=t);break}}t.B&&Object.entries(t.B).map((([n,[t]])=>{if(31&t&&e.hasOwnProperty(n)){const t=e[n];delete e[n],e[n]=t}})),(async(e,n,t)=>{let l;if(0==(32&n.v)){n.v|=32;{if(l=Te(t),l.then){const e=()=>{};l=await l,e()}l.isProxied||(t.H=l.watchers,$e(l,t,2),l.isProxied=!0);const e=()=>{};n.v|=8;try{new l(n)}catch(e){Re(e)}n.v&=-9,n.v|=128,e(),ve(n.D)}if(l.style){let o=l.style;"string"!=typeof o&&(o=o[n.O=(e=>Le.map((n=>n(e))).find((e=>!!e)))(e)]);const s=D(t,n.O);if(!Ee.has(s)){const e=()=>{};E(s,o,!!(1&t.v)),e()}}}const o=n.L,s=()=>te(n,!0);o&&o["s-rc"]?o["s-rc"].push(s):s()})(e,n,t)}l()}},ye=e=>{const n=e["s-cr"]=Ie.createComment("");n["s-cn"]=!0,e.insertBefore(n,e.firstChild)},he=e=>{ae(e,"disconnectedCallback")},me=(e,n={})=>{var t;const l=[],o=n.exclude||[],s=De.customElements,i=Ie.head,c=i.querySelector("meta[charset]"),r=Ie.createElement("style"),f=[],u=Ie.querySelectorAll(`[${a}]`);let d,v=!0,p=0;for(Object.assign(Ne,n),Ne.t=new URL(n.resourcesUrl||"./",Ie.baseURI).href,Ne.v|=2;p<u.length;p++)E(u[p].getAttribute(a),I(u[p].innerHTML),!0);let y=!1;if(e.map((e=>{e[1].map((n=>{var t;const i={v:n[0],M:n[1],B:n[2],_:n[3]};4&i.v&&(y=!0),i.B=n[2],i._=n[3],i.W=[],i.H=null!==(t=n[4])&&void 0!==t?t:{};const c=i.M,r=class extends HTMLElement{constructor(e){super(e),Ce(e=this,i),1&i.v&&e.attachShadow({mode:"open",delegatesFocus:!!(16&i.v)})}connectedCallback(){d&&(clearTimeout(d),d=null),v?f.push(this):Ne.jmp((()=>pe(this)))}disconnectedCallback(){Ne.jmp((()=>(async()=>{if(0==(1&Ne.v)){const e=Oe(this);e.K&&(e.K.map((e=>e())),e.K=void 0),(null==e?void 0:e.D)?he(e.D):(null==e?void 0:e.G)&&e.G.then((()=>he(e.D)))}})()))}componentOnReady(){return Oe(this).G}};i.X=e[0],o.includes(c)||s.get(c)||(l.push(c),s.define(c,$e(r,i,1)))}))})),y&&(r.innerHTML+=$),r.innerHTML+=l+"{visibility:hidden}.hydrated{visibility:inherit}",r.innerHTML.length){r.setAttribute("data-styles","");const e=null!==(t=Ne.C)&&void 0!==t?t:h(Ie);null!=e&&r.setAttribute("nonce",e),i.insertBefore(r,c?c.nextSibling:i.firstChild)}v=!1,f.length?f.map((e=>e.connectedCallback())):Ne.jmp((()=>d=setTimeout(ue,30)))},be=(e,n,t)=>{t&&t.map((([t,l,o])=>{const s=ge(e,t),i=we(n,o),c=ke(t);Ne.ael(s,l,i,c),(n.K=n.K||[]).push((()=>Ne.rel(s,l,i,c)))}))},we=(e,n)=>t=>{try{256&e.v?e.D[n](t):(e.I=e.I||[]).push([n,t])}catch(e){Re(e)}},ge=(e,n)=>4&n?Ie:8&n?De:16&n?Ie.body:e,ke=e=>0!=(2&e),je=e=>Ne.C=e,Se=new WeakMap,Oe=e=>Se.get(e),xe=(e,n)=>Se.set(n.D=e,n),Ce=(e,n)=>{const t={v:0,$hostElement$:e,N:n,q:new Map};return t.V=new Promise((e=>t.F=e)),t.G=new Promise((e=>t.A=e)),e["s-p"]=[],e["s-rc"]=[],be(e,t,n._),Se.set(e,t)},Me=(e,n)=>n in e,Re=(e,n)=>(0,console.error)(e,n),Pe=new Map,Te=e=>{const n=e.M.replace(/-/g,"_"),t=e.X,l=Pe.get(t);return l?l[n]:import(`./${t}.entry.js`).then((e=>(Pe.set(t,e),e[n])),Re)
5
5
  /*!__STENCIL_STATIC_IMPORT_SWITCH__*/},Ee=new Map,Le=[],De="undefined"!=typeof window?window:{},Ie=De.document||{head:{}},Ne={v:0,t:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,n,t,l)=>e.addEventListener(n,t,l),rel:(e,n,t,l)=>e.removeEventListener(n,t,l),ce:(e,n)=>new CustomEvent(e,n)},Ue=e=>{Object.assign(Ne,e)},We=!0,Ae=e=>Promise.resolve(e),Fe=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(e){}return!1})(),Be=[],He=[],qe=(e,n)=>t=>{e.push(t),c||(c=!0,n&&4&Ne.v?ze(_e):Ne.raf(_e))},Ve=e=>{for(let n=0;n<e.length;n++)try{e[n](performance.now())}catch(e){Re(e)}e.length=0},_e=()=>{Ve(Be),Ve(He),(c=Be.length>0)&&Ne.raf(_e)},ze=e=>Ae().then(e),Ge=qe(Be,!1),Je=qe(He,!0);export{r as B,w as H,Ue as a,me as b,x as c,R as d,Ge as e,M as f,C as g,m as h,fe as i,f as j,Ae as p,xe as r,je as s,Je as w}