@ionic/core 9.0.1-nightly.20260826 → 9.0.1

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 (405) hide show
  1. package/components/index.js +1 -1
  2. package/components/ion-accordion-group.js +1 -1
  3. package/components/ion-accordion.js +1 -1
  4. package/components/ion-action-sheet.js +1 -1
  5. package/components/ion-alert.js +1 -1
  6. package/components/ion-app.js +1 -1
  7. package/components/ion-avatar.js +1 -1
  8. package/components/ion-back-button.js +1 -1
  9. package/components/ion-backdrop.js +1 -1
  10. package/components/ion-badge.js +1 -1
  11. package/components/ion-breadcrumb.js +1 -1
  12. package/components/ion-breadcrumbs.js +1 -1
  13. package/components/ion-button.js +1 -1
  14. package/components/ion-buttons.js +1 -1
  15. package/components/ion-card-content.js +1 -1
  16. package/components/ion-card-header.js +1 -1
  17. package/components/ion-card-subtitle.js +1 -1
  18. package/components/ion-card-title.js +1 -1
  19. package/components/ion-card.js +1 -1
  20. package/components/ion-checkbox.js +1 -1
  21. package/components/ion-chip.js +1 -1
  22. package/components/ion-col.js +1 -1
  23. package/components/ion-content.js +1 -1
  24. package/components/ion-datetime-button.js +1 -1
  25. package/components/ion-datetime.js +1 -1
  26. package/components/ion-fab-button.js +1 -1
  27. package/components/ion-fab-list.js +1 -1
  28. package/components/ion-fab.js +1 -1
  29. package/components/ion-footer.js +1 -1
  30. package/components/ion-grid.js +1 -1
  31. package/components/ion-header.js +1 -1
  32. package/components/ion-icon.js +1 -1
  33. package/components/ion-img.js +1 -1
  34. package/components/ion-infinite-scroll-content.js +1 -1
  35. package/components/ion-infinite-scroll.js +1 -1
  36. package/components/ion-input-otp.js +1 -1
  37. package/components/ion-input-password-toggle.js +1 -1
  38. package/components/ion-input.js +1 -1
  39. package/components/ion-item-divider.js +1 -1
  40. package/components/ion-item-group.js +1 -1
  41. package/components/ion-item-option.js +1 -1
  42. package/components/ion-item-options.js +1 -1
  43. package/components/ion-item-sliding.js +1 -1
  44. package/components/ion-item.js +1 -1
  45. package/components/ion-label.js +1 -1
  46. package/components/ion-list-header.js +1 -1
  47. package/components/ion-list.js +1 -1
  48. package/components/ion-loading.js +1 -1
  49. package/components/ion-menu-button.js +1 -1
  50. package/components/ion-menu-toggle.js +1 -1
  51. package/components/ion-menu.js +1 -1
  52. package/components/ion-modal.js +1 -1
  53. package/components/ion-nav-link.js +1 -1
  54. package/components/ion-nav.js +1 -1
  55. package/components/ion-note.js +1 -1
  56. package/components/ion-picker-column-option.js +1 -1
  57. package/components/ion-picker-column.js +1 -1
  58. package/components/ion-picker.js +1 -1
  59. package/components/ion-popover.js +1 -1
  60. package/components/ion-progress-bar.js +1 -1
  61. package/components/ion-radio-group.js +1 -1
  62. package/components/ion-radio.js +1 -1
  63. package/components/ion-range.js +1 -1
  64. package/components/ion-refresher-content.js +1 -1
  65. package/components/ion-refresher.js +1 -1
  66. package/components/ion-reorder-group.js +1 -1
  67. package/components/ion-reorder.js +1 -1
  68. package/components/ion-ripple-effect.js +1 -1
  69. package/components/ion-route-redirect.js +1 -1
  70. package/components/ion-route.js +1 -1
  71. package/components/ion-router-link.js +1 -1
  72. package/components/ion-router-outlet.js +1 -1
  73. package/components/ion-router.js +1 -1
  74. package/components/ion-row.js +1 -1
  75. package/components/ion-searchbar.js +1 -1
  76. package/components/ion-segment-button.js +1 -1
  77. package/components/ion-segment-content.js +1 -1
  78. package/components/ion-segment-view.js +1 -1
  79. package/components/ion-segment.js +1 -1
  80. package/components/ion-select-modal.js +1 -1
  81. package/components/ion-select-option.js +1 -1
  82. package/components/ion-select-popover.js +1 -1
  83. package/components/ion-select.js +1 -1
  84. package/components/ion-skeleton-text.js +1 -1
  85. package/components/ion-spinner.js +1 -1
  86. package/components/ion-split-pane.js +1 -1
  87. package/components/ion-tab-bar.js +1 -1
  88. package/components/ion-tab-button.js +1 -1
  89. package/components/ion-tab.js +1 -1
  90. package/components/ion-tabs.js +1 -1
  91. package/components/ion-text.js +1 -1
  92. package/components/ion-textarea.js +1 -1
  93. package/components/ion-thumbnail.js +1 -1
  94. package/components/ion-title.js +1 -1
  95. package/components/ion-toast.js +1 -1
  96. package/components/ion-toggle.js +1 -1
  97. package/components/ion-toolbar.js +1 -1
  98. package/components/{p-CpYeYl3u.js → p-1sJ0ZDPe.js} +1 -1
  99. package/components/{p-RRH-7cpd.js → p-5ldEpNdG.js} +1 -1
  100. package/{dist/ionic/p-CoEa7CiN.js → components/p-6ZLn6K5e.js} +1 -1
  101. package/components/{p-BqE7e5gH.js → p-B4lxwJ8N.js} +1 -1
  102. package/components/{p-BAJ7NctL.js → p-BF48Oc0v.js} +1 -1
  103. package/components/{p-C8mPeq0D.js → p-BJr2B5hZ.js} +1 -1
  104. package/components/{p-CVNvmbDp.js → p-BNBnVi_1.js} +1 -1
  105. package/components/{p-CFQNF4E0.js → p-BNIsryb2.js} +1 -1
  106. package/components/{p-CJTKYpZv.js → p-BQyuFxYc.js} +1 -1
  107. package/components/{p-QgdyH-Zs.js → p-BT9-hMMz.js} +1 -1
  108. package/components/{p-BE9noJ1O.js → p-BWoa-cki.js} +1 -1
  109. package/components/{p-C12SAK00.js → p-BYJRZKHa.js} +1 -1
  110. package/{dist/ionic/p-DoUx_N0R.js → components/p-BgkOsq-d.js} +1 -1
  111. package/components/{p-BhlP16sB.js → p-Bi-it1EH.js} +1 -1
  112. package/components/p-C-NbvXu4.js +4 -0
  113. package/components/{p-DWFjBdNn.js → p-C0493tbX.js} +1 -1
  114. package/components/{p-mXsQnyWB.js → p-C09TXohi.js} +1 -1
  115. package/{dist/ionic/p-C10K-FJg.js → components/p-C4VpVfrJ.js} +1 -1
  116. package/components/p-CG_zZq_I.js +4 -0
  117. package/components/{p-7qDu1bID.js → p-CJgnoKcN.js} +1 -1
  118. package/components/{p-CEkamjav.js → p-CMRYD_yR.js} +1 -1
  119. package/components/{p-CyKlfXdt.js → p-CNLioZ3B.js} +1 -1
  120. package/components/{p-CBhGZ6rF.js → p-COO0eJOA.js} +1 -1
  121. package/components/p-CWAks_S_.js +4 -0
  122. package/components/p-CWuIRJQN.js +4 -0
  123. package/components/{p-Bcm-GVQM.js → p-Cd1WaN-0.js} +1 -1
  124. package/components/{p-DMkSsriG.js → p-CqbGBmqb.js} +1 -1
  125. package/{dist/ionic/p-nxFQkv7U.js → components/p-CrAKlX71.js} +1 -1
  126. package/components/{p-CdSLe3Q3.js → p-Cw6WocLJ.js} +1 -1
  127. package/components/{p-CDKY4TZ_.js → p-D5w_FlVa.js} +1 -1
  128. package/{dist/ionic/p-wdSUbx5C.js → components/p-D7wDJdFn.js} +1 -1
  129. package/components/p-DFLJvuRK.js +4 -0
  130. package/components/{p-D2XJVty5.js → p-DGPjJNOU.js} +1 -1
  131. package/components/p-DJR0R0e1.js +4 -0
  132. package/components/{p-l-zxxFre.js → p-DL13ieTa.js} +1 -1
  133. package/components/{p-BWHBdLfY.js → p-DM1gJSMP.js} +1 -1
  134. package/components/{p-CLZPNP7x.js → p-DMBiAyOR.js} +1 -1
  135. package/components/{p-VTfnz_8u.js → p-DZRZic9C.js} +1 -1
  136. package/components/{p-CQxPXWNM.js → p-DhNuxvJH.js} +1 -1
  137. package/components/p-DiuOa1vw.js +4 -0
  138. package/components/{p-DkEb3SCT.js → p-Dj40C8gm.js} +1 -1
  139. package/components/{p-DALTMT_o.js → p-DnBNYc7u.js} +1 -1
  140. package/components/{p-CxiXpCtB.js → p-DngGb-NV.js} +1 -1
  141. package/components/{p-BFwL2yyK.js → p-DxhHlJln.js} +1 -1
  142. package/components/{p-COxY7PLK.js → p-GGbIHyEF.js} +1 -1
  143. package/components/{p-B2L09UOs.js → p-Hp8t4RMX.js} +1 -1
  144. package/components/{p-D6PwfJ9F.js → p-M34T2gyX.js} +1 -1
  145. package/components/{p-5rFO7X8J.js → p-TWw4e4sO.js} +1 -1
  146. package/components/p-YjMkHuvH.js +4 -0
  147. package/components/{p-CB06XtlF.js → p-cEN43Ahr.js} +1 -1
  148. package/{dist/ionic/p-BpG7jkT9.js → components/p-qAXsfUff.js} +1 -1
  149. package/dist/cjs/{animation-ihPP_z2n.js → animation-Kd1N7WTN.js} +1 -1
  150. package/dist/cjs/{app-globals-BlkzA410.js → app-globals-b1G4t26O.js} +1 -1
  151. package/dist/cjs/{button-active-ItGBjzmO.js → button-active-CQCFubJJ.js} +1 -1
  152. package/dist/cjs/{format-CPIqtp4x.js → format-bHU8N1g5.js} +1 -1
  153. package/dist/cjs/{framework-delegate-DhyWUPGg.js → framework-delegate-d-fWfeI6.js} +1 -1
  154. package/dist/cjs/{hardware-back-button-D5f_kASb.js → hardware-back-button-Bu4Dzw8l.js} +1 -1
  155. package/dist/cjs/{helpers-BCLkFTTd.js → helpers-7wzdhdeg.js} +1 -1
  156. package/dist/cjs/{index-BocV_y-c.js → index-BbqUBe2T.js} +1 -1
  157. package/dist/cjs/{index-xum7jdbq.js → index-C74Q3t6a.js} +2 -2
  158. package/dist/cjs/{index-CldjPPyP.js → index-CQfEIyLK.js} +4 -4
  159. package/dist/cjs/{index-BcyiqD6R.js → index-DFNrCX7M.js} +5 -5
  160. package/dist/cjs/{index-Bgz6BcKx.js → index-DXoo08JC.js} +9 -2
  161. package/dist/cjs/{index-49DTLc_Z.js → index-DtvKGwdh.js} +2 -2
  162. package/dist/cjs/index.cjs.js +12 -12
  163. package/dist/cjs/{input-shims-Jisy7U7-.js → input-shims-VJIiKBKv.js} +3 -3
  164. package/dist/cjs/{input.utils-BDTpGrfn.js → input.utils-EHVE2RK_.js} +1 -1
  165. package/dist/cjs/ion-accordion_2.cjs.entry.js +3 -3
  166. package/dist/cjs/ion-action-sheet.cjs.entry.js +10 -10
  167. package/dist/cjs/ion-alert.cjs.entry.js +10 -10
  168. package/dist/cjs/ion-app_8.cjs.entry.js +12 -12
  169. package/dist/cjs/ion-avatar_3.cjs.entry.js +2 -2
  170. package/dist/cjs/ion-back-button.cjs.entry.js +3 -3
  171. package/dist/cjs/ion-backdrop.cjs.entry.js +2 -2
  172. package/dist/cjs/ion-breadcrumb_2.cjs.entry.js +3 -3
  173. package/dist/cjs/ion-button_2.cjs.entry.js +3 -3
  174. package/dist/cjs/ion-card_5.cjs.entry.js +3 -3
  175. package/dist/cjs/ion-checkbox.cjs.entry.js +4 -4
  176. package/dist/cjs/ion-chip.cjs.entry.js +2 -2
  177. package/dist/cjs/ion-col_3.cjs.entry.js +2 -2
  178. package/dist/cjs/ion-datetime-button.cjs.entry.js +4 -4
  179. package/dist/cjs/ion-datetime.cjs.entry.js +7 -7
  180. package/dist/cjs/ion-fab_3.cjs.entry.js +3 -3
  181. package/dist/cjs/ion-img.cjs.entry.js +3 -3
  182. package/dist/cjs/ion-infinite-scroll_2.cjs.entry.js +5 -5
  183. package/dist/cjs/ion-input-otp.cjs.entry.js +3 -3
  184. package/dist/cjs/ion-input-password-toggle.cjs.entry.js +2 -2
  185. package/dist/cjs/ion-input.cjs.entry.js +5 -5
  186. package/dist/cjs/ion-item-option_3.cjs.entry.js +4 -4
  187. package/dist/cjs/ion-item_8.cjs.entry.js +3 -3
  188. package/dist/cjs/ion-loading.cjs.entry.js +8 -8
  189. package/dist/cjs/ion-menu_3.cjs.entry.js +8 -8
  190. package/dist/cjs/ion-modal.cjs.entry.js +9 -9
  191. package/dist/cjs/ion-nav_2.cjs.entry.js +6 -6
  192. package/dist/cjs/ion-picker-column-option.cjs.entry.js +3 -3
  193. package/dist/cjs/ion-picker-column.cjs.entry.js +3 -3
  194. package/dist/cjs/ion-picker.cjs.entry.js +2 -2
  195. package/dist/cjs/ion-popover.cjs.entry.js +8 -8
  196. package/dist/cjs/ion-progress-bar.cjs.entry.js +3 -3
  197. package/dist/cjs/ion-radio_2.cjs.entry.js +4 -4
  198. package/dist/cjs/ion-range.cjs.entry.js +4 -4
  199. package/dist/cjs/ion-refresher_2.cjs.entry.js +6 -6
  200. package/dist/cjs/ion-reorder_2.cjs.entry.js +4 -4
  201. package/dist/cjs/ion-ripple-effect.cjs.entry.js +2 -2
  202. package/dist/cjs/ion-route_4.cjs.entry.js +4 -4
  203. package/dist/cjs/ion-searchbar.cjs.entry.js +3 -3
  204. package/dist/cjs/ion-segment-content.cjs.entry.js +1 -1
  205. package/dist/cjs/ion-segment-view.cjs.entry.js +1 -1
  206. package/dist/cjs/ion-segment_2.cjs.entry.js +3 -3
  207. package/dist/cjs/ion-select-modal.cjs.entry.js +8 -8
  208. package/dist/cjs/ion-select_3.cjs.entry.js +9 -9
  209. package/dist/cjs/ion-spinner.cjs.entry.js +2 -2
  210. package/dist/cjs/ion-split-pane.cjs.entry.js +2 -2
  211. package/dist/cjs/ion-tab-bar_2.cjs.entry.js +3 -3
  212. package/dist/cjs/ion-tab_2.cjs.entry.js +3 -3
  213. package/dist/cjs/ion-text.cjs.entry.js +2 -2
  214. package/dist/cjs/ion-textarea.cjs.entry.js +5 -5
  215. package/dist/cjs/ion-toast.cjs.entry.js +8 -8
  216. package/dist/cjs/ion-toggle.cjs.entry.js +4 -4
  217. package/dist/cjs/{ionic-global-BMU-Us1Q.js → ionic-global-CYJNT-2P.js} +1 -1
  218. package/dist/cjs/ionic.cjs.js +4 -4
  219. package/dist/cjs/{ios.transition-OCcCN--B.js → ios.transition-DYGiD6gM.js} +4 -4
  220. package/dist/cjs/{item-multiple-inputs-BH9yPC66.js → item-multiple-inputs-Dv6qrMhm.js} +1 -1
  221. package/dist/cjs/loader.cjs.js +3 -3
  222. package/dist/cjs/{md.transition-D0o2IIbo.js → md.transition-CrSkaoz6.js} +4 -4
  223. package/dist/cjs/{overlays-HN9joo1Z.js → overlays-BR21NUIG.js} +5 -5
  224. package/dist/cjs/{select-option-render-BPjGDlsG.js → select-option-render-CrbLc-1j.js} +2 -2
  225. package/dist/cjs/{slot-mutation-controller-IQ250LoG.js → slot-mutation-controller-D6IjSEIh.js} +1 -1
  226. package/dist/cjs/{status-tap-Bakl9czs.js → status-tap-CNP5eD1R.js} +3 -3
  227. package/dist/cjs/{swipe-back-Cv4OZVJ5.js → swipe-back-BYb_nLJe.js} +2 -2
  228. package/dist/collection/collection-manifest.json +1 -1
  229. package/dist/docs.json +2 -2
  230. package/dist/esm/{animation-B6KGUJwl.js → animation-BFNVlYum.js} +1 -1
  231. package/dist/esm/{app-globals-BvutUX8P.js → app-globals-BgX0BGL1.js} +1 -1
  232. package/dist/esm/{button-active-DRNebs9r.js → button-active-BfOvDr3b.js} +1 -1
  233. package/dist/esm/{format-BF3btM7P.js → format-DDFE9jM5.js} +1 -1
  234. package/dist/esm/{framework-delegate-60cEIAgt.js → framework-delegate-BwNhx9NR.js} +1 -1
  235. package/dist/esm/{hardware-back-button-rhkwRNk2.js → hardware-back-button-DmkiRgOT.js} +1 -1
  236. package/dist/esm/{helpers-DLLANtRS.js → helpers-BSmc0nst.js} +1 -1
  237. package/dist/esm/{index-D_7MeuVD.js → index-BuPaALjU.js} +5 -5
  238. package/dist/esm/{index-DOrtAUWV.js → index-C1b9CLFg.js} +2 -2
  239. package/dist/esm/{index-h81G-QbJ.js → index-C23AVPx9.js} +9 -2
  240. package/dist/esm/{index-Bl4BUvBL.js → index-CJln0gS3.js} +2 -2
  241. package/dist/esm/{index-JgU5uTSY.js → index-CqoUoxgG.js} +1 -1
  242. package/dist/esm/{index-BZHVn0iF.js → index-DnA_7Bnx.js} +4 -4
  243. package/dist/esm/index.js +12 -12
  244. package/dist/esm/{input-shims-C2ipc_XX.js → input-shims-Dqk-Ou25.js} +3 -3
  245. package/dist/esm/{input.utils-D-qoPjqr.js → input.utils-rqoH22pW.js} +1 -1
  246. package/dist/esm/ion-accordion_2.entry.js +3 -3
  247. package/dist/esm/ion-action-sheet.entry.js +10 -10
  248. package/dist/esm/ion-alert.entry.js +10 -10
  249. package/dist/esm/ion-app_8.entry.js +12 -12
  250. package/dist/esm/ion-avatar_3.entry.js +2 -2
  251. package/dist/esm/ion-back-button.entry.js +3 -3
  252. package/dist/esm/ion-backdrop.entry.js +2 -2
  253. package/dist/esm/ion-breadcrumb_2.entry.js +3 -3
  254. package/dist/esm/ion-button_2.entry.js +3 -3
  255. package/dist/esm/ion-card_5.entry.js +3 -3
  256. package/dist/esm/ion-checkbox.entry.js +4 -4
  257. package/dist/esm/ion-chip.entry.js +2 -2
  258. package/dist/esm/ion-col_3.entry.js +2 -2
  259. package/dist/esm/ion-datetime-button.entry.js +4 -4
  260. package/dist/esm/ion-datetime.entry.js +7 -7
  261. package/dist/esm/ion-fab_3.entry.js +3 -3
  262. package/dist/esm/ion-img.entry.js +3 -3
  263. package/dist/esm/ion-infinite-scroll_2.entry.js +5 -5
  264. package/dist/esm/ion-input-otp.entry.js +3 -3
  265. package/dist/esm/ion-input-password-toggle.entry.js +2 -2
  266. package/dist/esm/ion-input.entry.js +5 -5
  267. package/dist/esm/ion-item-option_3.entry.js +4 -4
  268. package/dist/esm/ion-item_8.entry.js +3 -3
  269. package/dist/esm/ion-loading.entry.js +8 -8
  270. package/dist/esm/ion-menu_3.entry.js +8 -8
  271. package/dist/esm/ion-modal.entry.js +9 -9
  272. package/dist/esm/ion-nav_2.entry.js +6 -6
  273. package/dist/esm/ion-picker-column-option.entry.js +3 -3
  274. package/dist/esm/ion-picker-column.entry.js +3 -3
  275. package/dist/esm/ion-picker.entry.js +2 -2
  276. package/dist/esm/ion-popover.entry.js +8 -8
  277. package/dist/esm/ion-progress-bar.entry.js +3 -3
  278. package/dist/esm/ion-radio_2.entry.js +4 -4
  279. package/dist/esm/ion-range.entry.js +4 -4
  280. package/dist/esm/ion-refresher_2.entry.js +6 -6
  281. package/dist/esm/ion-reorder_2.entry.js +4 -4
  282. package/dist/esm/ion-ripple-effect.entry.js +2 -2
  283. package/dist/esm/ion-route_4.entry.js +4 -4
  284. package/dist/esm/ion-searchbar.entry.js +3 -3
  285. package/dist/esm/ion-segment-content.entry.js +1 -1
  286. package/dist/esm/ion-segment-view.entry.js +1 -1
  287. package/dist/esm/ion-segment_2.entry.js +3 -3
  288. package/dist/esm/ion-select-modal.entry.js +8 -8
  289. package/dist/esm/ion-select_3.entry.js +9 -9
  290. package/dist/esm/ion-spinner.entry.js +2 -2
  291. package/dist/esm/ion-split-pane.entry.js +2 -2
  292. package/dist/esm/ion-tab-bar_2.entry.js +3 -3
  293. package/dist/esm/ion-tab_2.entry.js +3 -3
  294. package/dist/esm/ion-text.entry.js +2 -2
  295. package/dist/esm/ion-textarea.entry.js +5 -5
  296. package/dist/esm/ion-toast.entry.js +8 -8
  297. package/dist/esm/ion-toggle.entry.js +4 -4
  298. package/dist/esm/{ionic-global-B7I1sdvg.js → ionic-global-ZXjCXKH0.js} +1 -1
  299. package/dist/esm/ionic.js +5 -5
  300. package/dist/esm/{ios.transition-C-6IaIxe.js → ios.transition-CWAgfQ1r.js} +4 -4
  301. package/dist/esm/{item-multiple-inputs-DI91syHS.js → item-multiple-inputs-DZnIiOO_.js} +1 -1
  302. package/dist/esm/loader.js +4 -4
  303. package/dist/esm/{md.transition-dyqt0t0d.js → md.transition-ZuqDDdDW.js} +4 -4
  304. package/dist/esm/{overlays-Dz2cGX5q.js → overlays-DKE0DgvE.js} +5 -5
  305. package/dist/esm/{select-option-render-CUJpruSC.js → select-option-render-1W6W9pbC.js} +2 -2
  306. package/dist/esm/{slot-mutation-controller-wFuztlVD.js → slot-mutation-controller-B5NpUZ-N.js} +1 -1
  307. package/dist/esm/{status-tap-Dn_42wiy.js → status-tap-Cv9gb3ja.js} +3 -3
  308. package/dist/esm/{swipe-back-CqOqrHW7.js → swipe-back-B2CmabKY.js} +2 -2
  309. package/dist/ionic/index.esm.js +1 -1
  310. package/dist/ionic/ionic.esm.js +1 -1
  311. package/dist/ionic/{p-bdc01880.entry.js → p-06c6b540.entry.js} +1 -1
  312. package/dist/ionic/{p-dadcb3d2.entry.js → p-099b7f9f.entry.js} +1 -1
  313. package/dist/ionic/{p-e090eca3.entry.js → p-171a2278.entry.js} +1 -1
  314. package/dist/ionic/{p-2aabd568.entry.js → p-191a651e.entry.js} +1 -1
  315. package/dist/ionic/{p-1f66c230.entry.js → p-1f24cb24.entry.js} +1 -1
  316. package/dist/ionic/{p-83aa7d47.entry.js → p-271c3640.entry.js} +1 -1
  317. package/dist/ionic/{p-5dc53bdf.entry.js → p-2c52fe3e.entry.js} +1 -1
  318. package/dist/ionic/{p-9fef333a.entry.js → p-2ea4bb36.entry.js} +1 -1
  319. package/dist/ionic/{p-fe80ebb1.entry.js → p-338a02e0.entry.js} +1 -1
  320. package/dist/ionic/{p-326e0d05.entry.js → p-354d38d3.entry.js} +1 -1
  321. package/dist/ionic/{p-0b52d921.entry.js → p-38b9375b.entry.js} +1 -1
  322. package/dist/ionic/{p-a2fccdaa.entry.js → p-3bba83ee.entry.js} +1 -1
  323. package/dist/ionic/{p-cc749877.entry.js → p-4712a8a9.entry.js} +1 -1
  324. package/dist/ionic/{p-ca57763d.entry.js → p-4c3e50f8.entry.js} +1 -1
  325. package/dist/ionic/{p-dad2f3e4.entry.js → p-4e2fef42.entry.js} +1 -1
  326. package/dist/ionic/{p-2ff12c8a.entry.js → p-54cbb0a7.entry.js} +1 -1
  327. package/dist/ionic/{p-5ed60413.entry.js → p-561af487.entry.js} +1 -1
  328. package/dist/ionic/{p-ecfc9c71.entry.js → p-5906ea6f.entry.js} +1 -1
  329. package/dist/ionic/{p-9f2d3987.entry.js → p-5cc09b40.entry.js} +1 -1
  330. package/dist/ionic/{p-9eba0d8a.entry.js → p-5d9094ac.entry.js} +1 -1
  331. package/dist/ionic/{p-90e06e60.entry.js → p-612ea3b1.entry.js} +1 -1
  332. package/dist/ionic/{p-010601fe.entry.js → p-66f150ec.entry.js} +1 -1
  333. package/dist/ionic/{p-d1539609.entry.js → p-68cc89a6.entry.js} +1 -1
  334. package/dist/ionic/{p-f607ad4f.entry.js → p-6e386853.entry.js} +1 -1
  335. package/dist/ionic/{p-7dec112e.entry.js → p-77c96e08.entry.js} +1 -1
  336. package/dist/ionic/{p-9e688396.entry.js → p-7bfeccb3.entry.js} +1 -1
  337. package/dist/ionic/{p-6d84fa9f.entry.js → p-7e394cc3.entry.js} +1 -1
  338. package/dist/ionic/{p-fb4dabbb.entry.js → p-7fbb3319.entry.js} +1 -1
  339. package/dist/ionic/{p-7c859f42.entry.js → p-85599fe3.entry.js} +1 -1
  340. package/dist/ionic/{p-53ba5651.entry.js → p-8b80d9f9.entry.js} +1 -1
  341. package/dist/ionic/{p-1a20571c.entry.js → p-90f50a65.entry.js} +1 -1
  342. package/dist/ionic/{p-392079fa.entry.js → p-9595e305.entry.js} +1 -1
  343. package/dist/ionic/{p-e93cc1e1.entry.js → p-9c5f2691.entry.js} +1 -1
  344. package/dist/ionic/p-BY6BzzPF.js +4 -0
  345. package/dist/ionic/{p-BRc8gq5v.js → p-BaeKWZ-a.js} +1 -1
  346. package/dist/ionic/p-Bd72UYI2.js +4 -0
  347. package/dist/ionic/{p-C2BY_4Wp.js → p-BgOvhHy_.js} +1 -1
  348. package/dist/ionic/{p-KJ5pLPiN.js → p-BijjLYjT.js} +1 -1
  349. package/dist/ionic/{p-h81G-QbJ.js → p-C23AVPx9.js} +1 -1
  350. package/dist/ionic/p-C8XilMh0.js +4 -0
  351. package/dist/ionic/{p-Cc-fFNy8.js → p-CER8qW8Y.js} +1 -1
  352. package/dist/ionic/{p-06ZcwRF5.js → p-CFuOr1Tu.js} +1 -1
  353. package/dist/ionic/p-CJv-wOAd.js +4 -0
  354. package/{components/p-z-BF3clL.js → dist/ionic/p-CMZYmFb4.js} +1 -1
  355. package/dist/ionic/{p-BC17SPKH.js → p-CkxVYPtX.js} +1 -1
  356. package/dist/ionic/{p-DMj-M2c4.js → p-CmXuiRT6.js} +1 -1
  357. package/dist/ionic/p-D4OrdtJf.js +4 -0
  358. package/dist/ionic/p-D6rHcCvc.js +4 -0
  359. package/{components/p-DG-dUCKp.js → dist/ionic/p-DLM95R4x.js} +1 -1
  360. package/{components/p-DH0rRXjx.js → dist/ionic/p-DTxBioUO.js} +1 -1
  361. package/{components/p-BcuLPPAE.js → dist/ionic/p-DYUjHcuH.js} +1 -1
  362. package/dist/ionic/{p-DA88iqXQ.js → p-DZ6Hmc-8.js} +1 -1
  363. package/dist/ionic/p-D_gb-kdd.js +4 -0
  364. package/dist/ionic/{p-S1shXW5M.js → p-DajLgJ4d.js} +1 -1
  365. package/dist/ionic/{p-CTBfxfjC.js → p-Do3zTvCA.js} +1 -1
  366. package/dist/ionic/{p-025763b2.entry.js → p-a1cc2861.entry.js} +1 -1
  367. package/dist/ionic/{p-0c2b3555.entry.js → p-a20a2ebe.entry.js} +1 -1
  368. package/dist/ionic/{p-d1b888de.entry.js → p-a8ff2489.entry.js} +1 -1
  369. package/dist/ionic/{p-b8cd338d.entry.js → p-b3532b8d.entry.js} +1 -1
  370. package/dist/ionic/{p-8d72244b.entry.js → p-b80c86c4.entry.js} +1 -1
  371. package/dist/ionic/{p-43bae3f5.entry.js → p-b9b4e85d.entry.js} +1 -1
  372. package/dist/ionic/p-c57fc396.entry.js +4 -0
  373. package/dist/ionic/{p-082b8125.entry.js → p-ca1b8865.entry.js} +1 -1
  374. package/dist/ionic/{p-eab77a74.entry.js → p-cc4320d3.entry.js} +1 -1
  375. package/dist/ionic/{p-f0645c98.entry.js → p-d6755739.entry.js} +1 -1
  376. package/dist/ionic/{p-ac71362a.entry.js → p-d8c138d9.entry.js} +1 -1
  377. package/dist/ionic/{p-026e2e4c.entry.js → p-dd01be0a.entry.js} +1 -1
  378. package/dist/ionic/{p-bc9003b7.entry.js → p-e7f4b1e0.entry.js} +1 -1
  379. package/dist/ionic/{p-eaeac54e.entry.js → p-ec00fd0d.entry.js} +1 -1
  380. package/dist/ionic/{p-546b1109.entry.js → p-ee09ac9d.entry.js} +1 -1
  381. package/dist/ionic/{p-8e388a30.entry.js → p-efc0cf82.entry.js} +1 -1
  382. package/dist/ionic/{p-47b8b59a.entry.js → p-f0fb23c1.entry.js} +1 -1
  383. package/dist/ionic/{p-9452849d.entry.js → p-f83b3e0c.entry.js} +1 -1
  384. package/dist/ionic/{p-CH8tk7Pr.js → p-fU3rOYad.js} +1 -1
  385. package/dist/ionic/{p-eeb65463.entry.js → p-fe9ed9bd.entry.js} +1 -1
  386. package/{components/p-ntAkt4Ra.js → dist/ionic/p-zWf7R2xV.js} +1 -1
  387. package/hydrate/index.js +2 -4
  388. package/hydrate/index.mjs +2 -4
  389. package/package.json +3 -3
  390. package/components/p-CFtAWaB6.js +0 -4
  391. package/components/p-CRcX0EGs.js +0 -4
  392. package/components/p-CXpy69Ei.js +0 -4
  393. package/components/p-CoGD-oMG.js +0 -4
  394. package/components/p-Dr-rBSUW.js +0 -4
  395. package/components/p-MHpJ2A_m.js +0 -4
  396. package/components/p-UKksD3f9.js +0 -4
  397. package/components/p-fP0QF3iG.js +0 -4
  398. package/components/p-ufB0gCSU.js +0 -4
  399. package/dist/ionic/p-BRa1Jjxr.js +0 -4
  400. package/dist/ionic/p-Cc4w3fVf.js +0 -4
  401. package/dist/ionic/p-CvRL-Eju.js +0 -4
  402. package/dist/ionic/p-D_IgV7tz.js +0 -4
  403. package/dist/ionic/p-Q9w8L_Sw.js +0 -4
  404. package/dist/ionic/p-d85e59b1.entry.js +0 -4
  405. package/dist/ionic/p-w3KTiug9.js +0 -4
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * (C) Ionic http://ionicframework.com - MIT License
3
3
  */
4
- class t{constructor(){this.m=new Map}reset(t){this.m=new Map(Object.entries(t))}get(t,n){const e=this.m.get(t);return void 0!==e?e:n}getBoolean(t,n=!1){const e=this.m.get(t);return void 0===e?n:"string"==typeof e?"true"===e:!!e}getNumber(t,n){const e=parseFloat(this.m.get(t));return isNaN(e)?void 0!==n?n:NaN:e}set(t,n){this.m.set(t,n)}}const n=new t,e=t=>{try{const n=t.sessionStorage.getItem(r);return null!==n?JSON.parse(n):{}}catch{return{}}},o=(t,n)=>{try{t.sessionStorage.setItem(r,JSON.stringify(n))}catch{return}},s=t=>{const n={};return t.location.search.slice(1).split("&").map((t=>t.split("="))).map((([t,n])=>{try{return[decodeURIComponent(t),decodeURIComponent(n)]}catch{return["",""]}})).filter((([t])=>l(t,i))).map((([t,n])=>[t.slice(i.length),n])).forEach((([t,e])=>{n[t]=e})),n},l=(t,n)=>t.substr(0,n.length)===n,i="ionic:",r="ionic-persist-config";var c;!function(t){t.OFF="OFF",t.ERROR="ERROR",t.WARN="WARN",t.DEBUG="DEBUG"}(c||(c={}));const u={[c.OFF]:0,[c.ERROR]:1,[c.WARN]:2,[c.DEBUG]:3},f=t=>{const e=(n.get("logLevel",c.WARN)+"").toUpperCase();return u[e]>=u[t]},a=(t,...n)=>{if(f(c.WARN))return console.warn("[Ionic Warning]: "+t,...n)},d=(t,...n)=>{if(f(c.ERROR))return console.error("[Ionic Error]: "+t,...n)},h=(t,...n)=>console.error(`<${t.tagName.toLowerCase()}> must be used inside ${n.join(" or ")}.`);var v={isBrowser:!0},p=(t=>(t.Undefined="undefined",t.Null="null",t.String="string",t.Number="number",t.SpecialNumber="number",t.Boolean="boolean",t.BigInt="bigint",t))(p||{}),b=(t=>(t.Array="array",t.Date="date",t.Map="map",t.Object="object",t.RegularExpression="regexp",t.Set="set",t.Channel="channel",t.Symbol="symbol",t))(b||{}),$="type",m="value",g="serialized:";function y(t,n,e){const o="undefined"!=typeof HTMLElement?HTMLElement.prototype:null;for(;t&&t!==o;){const o=Object.getOwnPropertyDescriptor(t,n);if(o&&(!e||o.get))return o;t=Object.getPrototypeOf(t)}}var w,j=(t,n)=>{var e;Object.entries(null!=(e=n.o.t)?e:{}).map((([e,[o]])=>{if(31&o||32&o){const o=t[e],s=y(Object.getPrototypeOf(t),e,!0)||Object.getOwnPropertyDescriptor(t,e);s&&Object.defineProperty(t,e,{get(){return s.get.call(this)},set(t){s.set.call(this,t)},configurable:!0,enumerable:!0}),n.l.has(e)?t[e]=n.l.get(e):void 0!==o&&(t[e]=o)}}))},O=t=>{if(t.__stencil__getHostRef)return t.__stencil__getHostRef()},N=(t,n)=>{n&&(t.__stencil__getHostRef=()=>n,n.i=t,512&n.o.u&&j(t,n))},S=(t,n)=>n in t,x=(t,n)=>(0,console.error)(t,n),E=new Map,k=new Map,C=new Map,M=[],R="s-id",I="sty-id",L="c-id",T="slot-fb{display:contents}slot-fb[hidden]{display:none}",B="http://www.w3.org/1999/xlink",A="undefined"!=typeof window?window:{},F=A.HTMLElement||class{},U={u:0,h:"",jmp:t=>t(),raf:t=>requestAnimationFrame(t),ael:(t,n,e,o)=>t.addEventListener(n,e,o),rel:(t,n,e,o)=>t.removeEventListener(n,e,o),ce:(t,n)=>new CustomEvent(t,n)},D=t=>Promise.resolve(t),_=(()=>{try{return!!A.document.adoptedStyleSheets&&(new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync)}catch(t){}return!1})(),P=!!_&&(()=>!!A.document&&Object.getOwnPropertyDescriptor(A.document.adoptedStyleSheets,"length").writable)(),V=!1,W=[],H=[],z=()=>{var t;return(null==(t=A.document)?void 0:t.hidden)?Y(G):U.raf(G)},q=(t,n)=>e=>{t.push(e),V||(V=!0,n&&4&U.u?Y(G):z())},J=t=>{for(let n=0;n<t.length;n++)try{t[n](performance.now())}catch(t){x(t)}t.length=0},G=()=>{J(W),J(H),(V=W.length>0)&&z()},Y=t=>D().then(t),Z=q(W,!1),K=q(H,!0),Q=t=>{const n=new URL(t,U.h);return n.origin!==A.location.origin?n.href:n.pathname};function X(t){const n={mode:"open"};n.delegatesFocus=!!(16&t.u);const e=this.attachShadow(n);void 0===w&&(w=null),w&&(P?e.adoptedStyleSheets.push(w):e.adoptedStyleSheets=[...e.adoptedStyleSheets,w])}var tt=t=>{const n=Mt(t,"childNodes");t.tagName&&t.tagName.includes("-")&&t["s-cr"]&&"SLOT-FB"!==t.tagName&&et(n,t.tagName).forEach((t=>{1===t.nodeType&&"SLOT-FB"===t.tagName&&(t.hidden=!!ot(t,it(t),!1).length)}));let e=0;for(e=0;e<n.length;e++){const t=n[e];1===t.nodeType&&Mt(t,"childNodes").length&&tt(t)}},nt=t=>{const n=[];for(let e=0;e<t.length;e++){const o=t[e]["s-nr"]||void 0;o&&o.isConnected&&n.push(o)}return n};function et(t,n,e){let o,s=0,l=[];for(;s<t.length;s++){if(o=t[s],o["s-sr"]&&(!n||o["s-hn"]===n)&&(void 0===e||it(o)===e)&&(l.push(o),void 0!==e))return l;l=[...l,...et(Mt(o,"childNodes"),n,e)]}return l}var ot=(t,n,e=!0)=>{const o=[];(e&&t["s-sr"]||!t["s-sr"])&&o.push(t);let s=t;for(;s=s.nextSibling;)it(s)!==n||!e&&s["s-sr"]||o.push(s);return o},st=(t,n)=>1===t.nodeType?null===t.getAttribute("slot")&&""===n||t.getAttribute("slot")===n:t["s-sn"]===n||""===n,lt=(t,n,e,o)=>{if(t["s-ol"]&&t["s-ol"].isConnected)return;const s=document.createTextNode("");if(s["s-nr"]=t,!n["s-cr"]||!n["s-cr"].parentNode)return;const l=n["s-cr"].parentNode,i=Mt(l,e?"prepend":"appendChild");if(void 0!==o){s["s-oo"]=o;const t=Mt(l,"childNodes"),n=[s];t.forEach((t=>{t["s-nr"]&&n.push(t)})),n.sort(((t,n)=>!t["s-oo"]||t["s-oo"]<(n["s-oo"]||0)?-1:!n["s-oo"]||n["s-oo"]<t["s-oo"]?1:0)),n.forEach((t=>i.call(l,t)))}else i.call(l,s);t["s-ol"]=s,t["s-sh"]=n["s-hn"]},it=t=>"string"==typeof t["s-sn"]?t["s-sn"]:1===t.nodeType&&t.getAttribute("slot")||void 0;function rt(t){if(t.assignedElements||t.assignedNodes||!t["s-sr"])return;const n=n=>function(t){const e=[],o=this["s-sn"];(null==t?void 0:t.flatten)&&console.error("\n Flattening is not supported for Stencil non-shadow slots.\n You can use `.childNodes` to nested slot fallback content.\n If you have a particular use case, please open an issue on the Stencil repo.\n ");const s=this["s-cr"].parentElement;return(s.__childNodes?s.childNodes:nt(s.childNodes)).forEach((t=>{o===it(t)&&e.push(t)})),n?e.filter((t=>1===t.nodeType)):e}.bind(t);t.assignedElements=n(!0),t.assignedNodes=n(!1)}function ct(t){t.dispatchEvent(new CustomEvent("slotchange",{bubbles:!1,cancelable:!1,composed:!1}))}function ut(t,n){var e;if(!(n=n||(null==(e=t["s-ol"])?void 0:e.parentElement)))return{slotNode:null,slotName:""};const o=t["s-sn"]=it(t)||"";return{slotNode:et(Mt(n,"childNodes"),n.tagName,o)[0],slotName:o}}var ft=t=>{if(t.__cloneNode)return;const n=t.__cloneNode=t.cloneNode;t.cloneNode=function(t){const e=this.shadowRoot&&true,o=n.call(this,!!e&&t);if(!e&&t){let t,n,e=0;const s=["s-id","s-cr","s-lr","s-rc","s-sc","s-p","s-cn","s-sr","s-sn","s-hn","s-ol","s-nr","s-si","s-rf","s-scs"],l=this.__childNodes||this.childNodes;for(;e<l.length;e++)t=l[e]["s-nr"],n=s.every((t=>!l[e][t])),t&&(o.__appendChild?o.__appendChild(t.cloneNode(!0)):o.appendChild(t.cloneNode(!0))),n&&o.appendChild(l[e].cloneNode(!0))}return o}},at=t=>{t.__appendChild||(t.__appendChild=t.appendChild,t.appendChild=function(t){const{slotName:n,slotNode:e}=ut(t,this);if(e){lt(t,e);const o=ot(e,n),s=o[o.length-1],l=Mt(s,"parentNode"),i=Mt(l,"insertBefore")(t,s.nextSibling);return ct(e),tt(this),i}return this.__appendChild(t)})},dt=t=>{t.__removeChild||(t.__removeChild=t.removeChild,t.removeChild=function(t){return t&&void 0!==t["s-sn"]&&et(this.__childNodes||this.childNodes,this.tagName,t["s-sn"])&&t.isConnected?(t.remove(),void tt(this)):this.__removeChild(t)})},ht=t=>{t.__prepend||(t.__prepend=t.prepend,t.prepend=function(...n){n.forEach((n=>{"string"==typeof n&&(n=this.ownerDocument.createTextNode(n));const e=(n["s-sn"]=it(n))||"",o=et(Mt(this,"childNodes"),this.tagName,e)[0];if(o){lt(n,o,!0);const t=ot(o,e)[0],s=Mt(t,"parentNode"),l=Mt(s,"insertBefore")(n,Mt(t,"nextSibling"));return ct(o),l}return 1===n.nodeType&&n.getAttribute("slot")&&(n.hidden=!0),t.__prepend(n)}))})},vt=t=>{t.__append||(t.__append=t.append,t.append=function(...t){t.forEach((t=>{"string"==typeof t&&(t=this.ownerDocument.createTextNode(t)),this.appendChild(t)}))})},pt=t=>{if(t.__insertAdjacentHTML)return;const n=t.insertAdjacentHTML;t.insertAdjacentHTML=function(t,e){if("afterbegin"!==t&&"beforeend"!==t)return n.call(this,t,e);const o=this.ownerDocument.createElement("_");let s;if(o.innerHTML=e,"afterbegin"===t)for(;s=o.firstChild;)this.prepend(s);else if("beforeend"===t)for(;s=o.firstChild;)this.append(s)}},bt=t=>{t.insertAdjacentText=function(t,n){this.insertAdjacentHTML(t,n)}},$t=t=>{t.__insertBefore||t.__insertBefore||(t.__insertBefore=t.insertBefore,t.insertBefore=function(t,n){const{slotName:e,slotNode:o}=ut(t,this),s=this.__childNodes?this.childNodes:nt(this.childNodes);if(o){let l=!1;if(s.forEach((s=>{if(s!==n&&null!==n);else{if(l=!0,null===n||e!==n["s-sn"])return void this.appendChild(t);if(e===n["s-sn"]){lt(t,o);const e=Mt(n,"parentNode");Mt(e,"insertBefore")(t,n),ct(o)}}})),l)return t}const l=null==n?void 0:n.__parentNode;return l&&!this.isSameNode(l)?this.appendChild(t):this.__insertBefore(t,n)})},mt=t=>{if(t.__insertAdjacentElement)return;const n=t.insertAdjacentElement;t.insertAdjacentElement=function(t,e){return"afterbegin"!==t&&"beforeend"!==t?n.call(this,t,e):"afterbegin"===t?(this.prepend(e),e):"beforeend"===t?(this.append(e),e):e}},gt=t=>{Ct("textContent",t),Object.defineProperty(t,"textContent",{get:function(){let t="";return(this.__childNodes?this.childNodes:nt(this.childNodes)).forEach((n=>t+=n.textContent||"")),t},set:function(t){(this.__childNodes?this.childNodes:nt(this.childNodes)).forEach((t=>{t["s-ol"]&&t["s-ol"].remove(),t.remove()})),this.insertAdjacentHTML("beforeend",t)}})},yt=t=>{class n extends Array{item(t){return this[t]}}Ct("children",t),Object.defineProperty(t,"children",{get(){return this.childNodes.filter((t=>1===t.nodeType))}}),Object.defineProperty(t,"childElementCount",{get(){return this.children.length}}),Ct("firstChild",t),Object.defineProperty(t,"firstChild",{get(){return this.childNodes[0]||null}}),Ct("lastChild",t),Object.defineProperty(t,"lastChild",{get(){return this.childNodes[this.childNodes.length-1]||null}}),Ct("childNodes",t),Object.defineProperty(t,"childNodes",{get(){const t=new n;return t.push(...nt(this.__childNodes)),t}})},wt=t=>{t&&void 0===t.__nextSibling&&globalThis.Node&&(jt(t),Nt(t),xt(t),t.nodeType===Node.ELEMENT_NODE&&(Ot(t),St(t)))},jt=t=>{t&&!t.__nextSibling&&(Ct("nextSibling",t),Object.defineProperty(t,"nextSibling",{get:function(){var t;const n=null==(t=this["s-ol"])?void 0:t.parentNode.childNodes,e=null==n?void 0:n.indexOf(this);return n&&e>-1?n[e+1]||null:this.__nextSibling}}))},Ot=t=>{t&&!t.__nextElementSibling&&(Ct("nextElementSibling",t),Object.defineProperty(t,"nextElementSibling",{get:function(){var t;const n=null==(t=this["s-ol"])?void 0:t.parentNode.children,e=null==n?void 0:n.indexOf(this);return n&&e>-1?n[e+1]||null:this.__nextElementSibling}}))},Nt=t=>{t&&!t.__previousSibling&&(Ct("previousSibling",t),Object.defineProperty(t,"previousSibling",{get:function(){var t;const n=null==(t=this["s-ol"])?void 0:t.parentNode.childNodes,e=null==n?void 0:n.indexOf(this);return n&&e>-1?n[e-1]||null:this.__previousSibling}}))},St=t=>{t&&!t.__previousElementSibling&&(Ct("previousElementSibling",t),Object.defineProperty(t,"previousElementSibling",{get:function(){var t;const n=null==(t=this["s-ol"])?void 0:t.parentNode.children,e=null==n?void 0:n.indexOf(this);return n&&e>-1?n[e-1]||null:this.__previousElementSibling}}))},xt=t=>{t&&!t.__parentNode&&(Ct("parentNode",t),Object.defineProperty(t,"parentNode",{get:function(){var t;return(null==(t=this["s-ol"])?void 0:t.parentNode)||this.__parentNode},set:function(t){this.__parentNode=t}}))},Et=["children","nextElementSibling","previousElementSibling"],kt=["childNodes","firstChild","lastChild","nextSibling","previousSibling","textContent","parentNode"];function Ct(t,n){if(!globalThis.Node||!globalThis.Element)return;let e;Et.includes(t)?e=Object.getOwnPropertyDescriptor(Element.prototype,t):kt.includes(t)&&(e=Object.getOwnPropertyDescriptor(Node.prototype,t)),e||(e=Object.getOwnPropertyDescriptor(n,t)),e&&Object.defineProperty(n,"__"+t,e)}function Mt(t,n){if("__"+n in t){const e=t["__"+n];return"function"!=typeof e?e:e.bind(t)}return"function"!=typeof t[n]?t[n]:t[n].bind(t)}function Rt(t){var n,e,o;return null!=(o=null==(e=null==(n=t.head)?void 0:n.querySelector('meta[name="csp-nonce"]'))?void 0:e.getAttribute("content"))?o:void 0}var It=new WeakMap,Lt=(t,n,e)=>{let o=C.get(t);_&&e?(o=o||new CSSStyleSheet,"string"==typeof o?o=n:o.replaceSync(n)):o=n,C.set(t,o)},Tt=(t,n,e)=>{var o,s,l;const i=Bt(n,e),r=C.get(i);if(!A.document)return i;if(t=11===t.nodeType?t:A.document,r)if("string"==typeof r){let e,l=It.get(t=t.head||t);l||It.set(t,l=new Set);const c=t.querySelector(`[${I}="${i}"]`);if(c)c.textContent=r;else if(!l.has(i)){e=A.document.createElement("style"),e.textContent=r;const c=null!=(o=U.v)?o:Rt(A.document);if(null!=c&&e.setAttribute("nonce",c),!(1&n.u))if("HEAD"===t.nodeName){const n=t.querySelectorAll("link[rel=preconnect]"),o=n.length>0?n[n.length-1].nextSibling:t.querySelector("style");t.insertBefore(e,(null==o?void 0:o.parentNode)===t?o:null)}else if("host"in t)if(_){const n=new(null!=(s=t.defaultView)?s:t.ownerDocument.defaultView).CSSStyleSheet;n.replaceSync(r),P?t.adoptedStyleSheets.unshift(n):t.adoptedStyleSheets=[n,...t.adoptedStyleSheets]}else{const n=t.querySelector("style");n?n.textContent=r+n.textContent:t.prepend(e)}else t.append(e);1&n.u&&t.insertBefore(e,null),4&n.u&&(e.textContent+=T),l&&l.add(i)}}else{let n=It.get(t);if(n||It.set(t,n=new Set),!n.has(i)){const e=null!=(l=t.defaultView)?l:t.ownerDocument.defaultView;let o;if(r.constructor===e.CSSStyleSheet)o=r;else{o=new e.CSSStyleSheet;for(let t=0;t<r.cssRules.length;t++)o.insertRule(r.cssRules[t].cssText,t)}if(P?t.adoptedStyleSheets.push(o):t.adoptedStyleSheets=[...t.adoptedStyleSheets,o],n.add(i),"host"in t){const n=t.querySelector(`[${I}="${i}"]`);n&&K((()=>n.remove()))}}}return i},Bt=(t,n)=>"sc-"+(n&&32&t.u?t.p+"-"+n:t.p),At=t=>t.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g,"$1{"),Ft=t=>"object"==(t=typeof t)||"function"===t,Ut=(t,n,...e)=>{let o=null,s=null,l=null,i=!1,r=!1;const c=[],u=n=>{for(let e=0;e<n.length;e++)if(o=n[e],Array.isArray(o))u(o);else if(null!=o&&"boolean"!=typeof o){if(i="function"!=typeof t&&!Ft(o))o+="";else if("function"!=typeof t&&void 0===o.u){x("Invalid vNode child");continue}i&&r?c[c.length-1].$+=o:c.push(i?Dt(null,o):o),r=i}};if(u(e),n){n.key&&(s=n.key),n.name&&(l=n.name);{const t=n.className||n.class;t&&(n.class="object"!=typeof t?t:Object.keys(t).filter((n=>t[n])).join(" "))}}if("function"==typeof t)return t(null===n?{}:n,c,Pt);const f=Dt(t,null);return f.j=n,c.length>0&&(f.O=c),f.N=s,f.S=l,f},Dt=(t,n)=>({u:0,k:t,$:null!=n?n:null,C:null,O:null,j:null,N:null,S:null}),_t={},Pt={forEach:(t,n)=>t.map(Vt).forEach(n),map:(t,n)=>t.map(Vt).map(n).map(Wt)},Vt=t=>({vattrs:t.j,vchildren:t.O,vkey:t.N,vname:t.S,vtag:t.k,vtext:t.$}),Wt=t=>{if("function"==typeof t.vtag){const n={...t.vattrs};return t.vkey&&(n.key=t.vkey),t.vname&&(n.name=t.vname),Ut(t.vtag,n,...t.vchildren||[])}const n=Dt(t.vtag,t.vtext);return n.j=t.vattrs,n.O=t.vchildren,n.N=t.vkey,n.S=t.vname,n},Ht=(t,n,e,o,s,l,i,r=[])=>{let c,u,f,a;const d=s["s-sc"];if(1===l.nodeType){if(c=l.getAttribute(L),c&&(u=c.split("."),u[0]===i||"0"===u[0])){f=qt({u:0,M:u[0],R:u[1],I:u[2],L:u[3],k:l.tagName.toLowerCase(),C:l,j:{class:l.className||""}}),n.push(f),l.removeAttribute(L),t.O||(t.O=[]),d&&u[0]===i&&(l["s-si"]=d,f.j.class+=" "+d);const s=f.C.getAttribute("s-sn");"string"==typeof s&&("slot-fb"===f.k&&(Jt(s,u[2],f,l,t,n,e,o,r),d&&l.classList.add(d)),f.C["s-sn"]=s,f.C.removeAttribute("s-sn")),void 0!==f.L&&(t.O[f.L]=f),t=f,o&&"0"===f.I&&(o[f.L]=f.C)}if(l.shadowRoot)for(a=l.shadowRoot.childNodes.length-1;a>=0;a--)Ht(t,n,e,o,s,l.shadowRoot.childNodes[a],i,r);const h=l.__childNodes||l.childNodes;for(a=h.length-1;a>=0;a--)Ht(t,n,e,o,s,h[a],i,r)}else if(8===l.nodeType)u=l.nodeValue.split("."),(u[1]===i||"0"===u[1])&&(c=u[0],f=qt({M:u[1],R:u[2],I:u[3],L:u[4]||"0",C:l,j:null,O:null,N:null,S:null,k:null,$:null}),"t"===c?(f.C=Yt(l,3),f.C&&3===f.C.nodeType&&(f.$=f.C.textContent,n.push(f),l.remove(),i===f.M&&(t.O||(t.O=[]),t.O[f.L]=f),o&&"0"===f.I&&(o[f.L]=f.C))):"c"===c?(f.C=Yt(l,8),f.C&&8===f.C.nodeType&&(n.push(f),l.remove())):f.M===i&&("s"===c?Jt(l["s-sn"]=u[5]||"",u[2],f,l,t,n,e,o,r):"r"===c&&(o?l.remove():(s["s-cr"]=l,l["s-cn"]=!0))));else if(t&&"style"===t.k){const n=Dt(null,l.textContent);n.C=l,n.L="0",t.O=[n]}return t},zt=(t,n)=>{if(1===t.nodeType){const e=t[R]||t.getAttribute(R);e&&n.set(e,t);let o=0;if(t.shadowRoot)for(;o<t.shadowRoot.childNodes.length;o++)zt(t.shadowRoot.childNodes[o],n);const s=t.__childNodes||t.childNodes;for(o=0;o<s.length;o++)zt(s[o],n)}else if(8===t.nodeType){const e=t.nodeValue.split(".");"o"===e[0]&&(n.set(e[1]+"."+e[2],t),t.nodeValue="",t["s-en"]=e[3])}},qt=t=>({u:0,M:null,R:null,I:null,L:"0",C:null,j:null,O:null,N:null,S:null,k:null,$:null,...t});function Jt(t,n,e,o,s,l,i,r,c){o["s-sr"]=!0,e.S=t||null,e.k="slot";const u=(null==s?void 0:s.C)?s.C["s-id"]||s.C.getAttribute("s-id"):"";if(r&&A.document){const l=e.C=A.document.createElement(e.k);e.S&&e.C.setAttribute("name",t),s.C.shadowRoot&&u&&u!==e.M?Mt(s.C,"insertBefore")(l,Mt(s.C,"children")[0]):Mt(Mt(o,"parentNode"),"insertBefore")(l,o),Gt(c,n,t,o,e.M),o.remove(),"0"===e.I&&(r[e.L]=e.C)}else{const l=e.C,i=u&&u!==e.M&&s.C.shadowRoot;Gt(c,n,t,o,i?u:e.M),rt(o),i&&s.C.insertBefore(l,s.C.children[0])}l.push(e),i.push(e),s.O||(s.O=[]),s.O[e.L]=e}var Gt=(t,n,e,o,s)=>{var l,i;let r=o.nextSibling;if(t[n]=t[n]||[],r&&!(null==(l=r.nodeValue)?void 0:l.startsWith("s.")))do{!r||(r.getAttribute&&r.getAttribute("slot")||r["s-sn"])!==e&&(""!==e||r["s-sn"]||r.getAttribute&&r.getAttribute("slot")||8!==r.nodeType&&3!==r.nodeType)||(r["s-sn"]=e,t[n].push({slot:o,node:r,hostId:s})),r=null==r?void 0:r.nextSibling}while(r&&!(null==(i=r.nodeValue)?void 0:i.startsWith("s.")))},Yt=(t,n)=>{let e=t;do{e=e.nextSibling}while(e&&(e.nodeType!==n||!e.nodeValue));return e},Zt=t=>M.push(t),Kt=t=>{var n;return null==(n=O(t))?void 0:n.T},Qt=t=>{if(!t)return;const n=Object.keys(t);if(0===n.length)return;let e=!1;for(const o of n){if(e)break;for(const n of t[o])if("string"==typeof n){e=!0;break}}if(!e)return t;const o={};for(const e of n)o[e]=t[e].map((t=>"string"==typeof t?{[t]:0}:t));return o},Xt=class t{static fromLocalValue(n){const e=n[$],o=m in n?n[m]:void 0;switch(e){case"string":case"boolean":return o;case"bigint":return BigInt(o);case"undefined":return;case"null":return null;case"number":return"NaN"===o?NaN:"-0"===o?-0:"Infinity"===o?1/0:"-Infinity"===o?-1/0:o;case"array":return o.map((n=>t.fromLocalValue(n)));case"date":return new Date(o);case"map":const n=new Map;for(const[e,s]of o){const o="object"==typeof e&&null!==e?t.fromLocalValue(e):e,l=t.fromLocalValue(s);n.set(o,l)}return n;case"object":const s={};for(const[n,e]of o)s[n]=t.fromLocalValue(e);return s;case"regexp":const{pattern:l,flags:i}=o;return RegExp(l,i);case"set":const r=new Set;for(const n of o)r.add(t.fromLocalValue(n));return r;case"symbol":return Symbol(o);default:throw Error("Unsupported type: "+e)}}static fromLocalValueArray(n){return n.map((n=>t.fromLocalValue(n)))}static isLocalValueObject(t){if("object"!=typeof t||null===t)return!1;if(!t.hasOwnProperty($))return!1;const n=t[$];return!!Object.values({...p,...b}).includes(n)&&("null"===n||"undefined"===n||t.hasOwnProperty(m))}};var tn,nn,en,on=(t,n)=>"string"==typeof t&&t.startsWith(g)?t=function(t){return"string"==typeof t&&t.startsWith(g)?Xt.fromLocalValue(JSON.parse(function(t){const n=atob(t),e=new Uint8Array(n.length);for(let t=0;t<n.length;t++)e[t]=n.charCodeAt(t);return(new TextDecoder).decode(e)}(t.slice(11)))):t}(t):null==t||Ft(t)?t:4&n?"false"!==t&&(""===t||!!t):2&n?"string"==typeof t?parseFloat(t):"number"==typeof t?t:NaN:1&n?t+"":t,sn=t=>{var n;return null==(n=O(t))?void 0:n.$hostElement$},ln=(t,n,e)=>{const o=sn(t);return{emit:t=>rn(o,n,{bubbles:!!(4&e),composed:!!(2&e),cancelable:!!(1&e),detail:t})}},rn=(t,n,e)=>{const o=U.ce(n,e);return t.dispatchEvent(o),o},cn=(t,n,e,o,s,l,i)=>{if(e===o)return;let r=S(t,n),c=n.toLowerCase();if("class"===n){const n=t.classList,s=dn(e);let l=dn(o);if((t["s-si"]||t["s-sc"])&&i){const e=t["s-sc"]||t["s-si"];l.push(e),s.forEach((t=>{t.startsWith(e)&&l.push(t)})),l=[...new Set(l)].filter((t=>t)),n.add(...l)}else n.remove(...s.filter((t=>t&&!l.includes(t)))),n.add(...l.filter((t=>t&&!s.includes(t))))}else if("style"===n){for(const n in e)o&&null!=o[n]||(n.includes("-")?t.style.removeProperty(n):t.style[n]="");for(const n in o)e&&o[n]===e[n]||(n.includes("-")?t.style.setProperty(n,o[n]):t.style[n]=o[n])}else if("key"===n);else if("ref"===n)o&&Tn(o,t);else if(r||"o"!==n[0]||"n"!==n[1]){if("a"===n[0]&&n.startsWith("attr:")){const e=n.slice(5);let s;{const n=O(t);if(n&&n.o&&n.o.t){const t=n.o.t[e];t&&t[1]&&(s=t[1])}}return s||(s=e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()),void(null==o||!1===o?!1===o&&""!==t.getAttribute(s)||t.removeAttribute(s):t.setAttribute(s,!0===o?"":o))}if("p"===n[0]&&n.startsWith("prop:")){const e=n.slice(5);try{t[e]=o}catch(t){}return}{const i=Ft(o);if((r||i&&null!==o)&&!s)try{if(t.tagName.includes("-"))t[n]!==o&&(t[n]=o);else{const s=null==o?"":o;"list"===n?r=!1:null!=e&&t[n]===s||("function"==typeof t.__lookupSetter__(n)?t[n]=s:t.setAttribute(n,s))}}catch(t){}let u=!1;c!==(c=c.replace(/^xlink\:?/,""))&&(n=c,u=!0),null==o||!1===o?(!1!==o||""===t.getAttribute(n)||4&l&&!fn(n))&&(u?t.removeAttributeNS(B,n):t.removeAttribute(n)):(!r||4&l||s)&&!i&&1===t.nodeType&&(o=!0===o?"":o,u?t.setAttributeNS(B,n,o):t.setAttribute(n,o))}}else if(n="-"===n[2]?n.slice(3):S(A,c)?c.slice(2):c[2]+n.slice(3),e||o){const s=n.endsWith(hn);n=n.replace(vn,""),e&&U.rel(t,n,e,s),o&&U.ael(t,n,o,s)}},un=new Set(["draggable","contenteditable","spellcheck"]),fn=t=>un.has(t)||t.startsWith("aria-"),an=/\s/,dn=t=>("object"==typeof t&&t&&"baseVal"in t&&(t=t.baseVal),t&&"string"==typeof t?t.split(an):[]),hn="Capture",vn=RegExp(hn+"$"),pn=(t,n,e,o)=>{const s=11===n.C.nodeType&&n.C.host?n.C.host:n.C,l=t&&t.j||{},i=n.j||{};for(const t of bn(Object.keys(l)))t in i||cn(s,t,l[t],void 0,e,n.u,o);for(const t of bn(Object.keys(i)))cn(s,t,l[t],i[t],e,n.u,o)};function bn(t){return t.includes("ref")?[...t.filter((t=>"ref"!==t)),"ref"]:t}var $n=!1,mn=!1,gn=!1,yn=!1,wn=[],jn=[],On=(t,n,e)=>{var o;const s=n.O[e];let l,i,r,c=0;if($n||(gn=!0,"slot"===s.k&&(s.u|=s.O?2:1)),null!=s.$)l=s.C=A.document.createTextNode(s.$);else if(1&s.u)l=s.C=A.document.createTextNode(""),pn(null,s,yn);else{if(yn||(yn="svg"===s.k),!A.document)throw Error("You are trying to render a Stencil component in an environment that doesn't support the DOM.");if(l=s.C=A.document.createElementNS(yn?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",!$n&&2&s.u?"slot-fb":s.k),yn&&"foreignObject"===s.k&&(yn=!1),pn(null,s,yn),null!=tn&&void 0!==tn&&l["s-si"]!==tn&&l.classList.add(l["s-si"]=tn),s.O){const n="template"===s.k?l.content:l;for(c=0;c<s.O.length;++c)i=On(t,s,c),i&&n.appendChild(i)}"svg"===s.k?yn=!1:"foreignObject"===l.tagName&&(yn=!0)}return l["s-hn"]=en,3&s.u&&(l["s-sr"]=!0,l["s-cr"]=nn,l["s-sn"]=s.S||"",l["s-rf"]=null==(o=s.j)?void 0:o.ref,rt(l),r=t&&t.O&&t.O[e],r&&r.k===s.k&&t.C&&Nn(t.C),An(nn,l,n.C,null==t?void 0:t.C)),l},Nn=t=>{U.u|=1;const n=t.closest(en.toLowerCase());if(null!=n){const e=Array.from(n.__childNodes||n.childNodes).find((t=>t["s-cr"])),o=Array.from(t.__childNodes||t.childNodes);for(const t of e?o.reverse():o)null!=t["s-sh"]&&(Bn(n,t,null!=e?e:null),t["s-sh"]=void 0,gn=!0)}U.u&=-2},Sn=(t,n)=>{U.u|=1;const e=Array.from(t.__childNodes||t.childNodes);if(t["s-sr"]){let n=t;for(;n=n.nextSibling;)n&&n["s-sn"]===t["s-sn"]&&n["s-sh"]===en&&e.push(n)}for(let t=e.length-1;t>=0;t--){const o=e[t];o["s-hn"]!==en&&o["s-ol"]&&(Bn(Cn(o).parentNode,o,Cn(o)),o["s-ol"].remove(),o["s-ol"]=void 0,o["s-sh"]=void 0,gn=!0),n&&Sn(o,n)}U.u&=-2},xn=(t,n,e,o,s,l)=>{let i,r=t["s-cr"]&&t["s-cr"].parentNode||t;for(r.shadowRoot&&r.tagName===en&&(r=r.shadowRoot),"template"===e.k&&(r=r.content);s<=l;++s)o[s]&&(i=On(null,e,s),i&&(o[s].C=i,Bn(r,i,Cn(n))))},En=(t,n,e)=>{for(let o=n;o<=e;++o){const n=t[o];if(n){const t=n.C;Ln(n),t&&(mn=!0,t["s-ol"]?t["s-ol"].remove():Sn(t,!0),t.remove())}}},kn=(t,n,e=!1)=>t.k===n.k&&("slot"===t.k?t.S===n.S:e?(e&&!t.N&&n.N&&(t.N=n.N),!0):t.N===n.N),Cn=t=>t&&t["s-ol"]||t,Mn=(t,n,e=!1)=>{const o=n.C=t.C,s=t.O,l=n.O,i=n.k,r=n.$;let c;null==r?(yn="svg"===i||"foreignObject"!==i&&yn,"slot"!==i||$n||t.S!==n.S&&(n.C["s-sn"]=n.S||"",Nn(n.C.parentElement)),pn(t,n,yn,e),null!==s&&null!==l?((t,n,e,o,s=!1)=>{let l,i,r=0,c=0,u=0,f=0,a=n.length-1,d=n[0],h=n[a],v=o.length-1,p=o[0],b=o[v];const $="template"===e.k?t.content:t;for(;r<=a&&c<=v;)if(null==d)d=n[++r];else if(null==h)h=n[--a];else if(null==p)p=o[++c];else if(null==b)b=o[--v];else if(kn(d,p,s))Mn(d,p,s),d=n[++r],p=o[++c];else if(kn(h,b,s))Mn(h,b,s),h=n[--a],b=o[--v];else if(kn(d,b,s))"slot"!==d.k&&"slot"!==b.k||Sn(d.C.parentNode,!1),Mn(d,b,s),Bn($,d.C,h.C.nextSibling),d=n[++r],b=o[--v];else if(kn(h,p,s))"slot"!==d.k&&"slot"!==b.k||Sn(h.C.parentNode,!1),Mn(h,p,s),Bn($,h.C,d.C),h=n[--a],p=o[++c];else{for(u=-1,f=r;f<=a;++f)if(n[f]&&null!==n[f].N&&n[f].N===p.N){u=f;break}u>=0?(i=n[u],i.k!==p.k?l=On(n&&n[c],e,u):(Mn(i,p,s),n[u]=void 0,l=i.C),p=o[++c]):(l=On(n&&n[c],e,c),p=o[++c]),l&&Bn(Cn(d.C).parentNode,l,Cn(d.C))}r>a?xn(t,null==o[v+1]?null:o[v+1].C,e,o,c,v):c>v&&En(n,r,a)})(o,s,n,l,e):null!==l?(null!==t.$&&(o.textContent=""),xn(o,null,n,l,0,l.length-1)):e||null===s?e&&null!==s&&null===l&&(n.O=s):En(s,0,s.length-1),yn&&"svg"===i&&(yn=!1)):(c=o["s-cr"])?c.parentNode.textContent=r:t.$!==r&&(o.data=r)},Rn=[],In=t=>{let n,e,o;const s=t.__childNodes||t.childNodes;for(const t of s){if(t["s-sr"]&&(n=t["s-cr"])&&n.parentNode){e=n.parentNode.__childNodes||n.parentNode.childNodes;const s=t["s-sn"];for(o=e.length-1;o>=0;o--)if(n=e[o],!n["s-cn"]&&!n["s-nr"]&&n["s-hn"]!==t["s-hn"]&&(!n["s-sh"]||n["s-sh"]!==t["s-hn"]||""!==s&&it(n)===s))if(st(n,s)){let e=Rn.find((t=>t.B===n));mn=!0,n["s-sn"]=n["s-sn"]||s,e?(e.B["s-sh"]=t["s-hn"],e.A=t):(n["s-sh"]=t["s-hn"],Rn.push({A:t,B:n})),n["s-sr"]&&Rn.map((t=>{st(t.B,n["s-sn"])&&(e=Rn.find((t=>t.B===n)),e&&!t.A&&(t.A=e.A))}))}else Rn.some((t=>t.B===n))||Rn.push({B:n})}1===t.nodeType&&In(t)}},Ln=t=>{t.j&&t.j.ref&&wn.push((()=>t.j.ref(null))),t.O&&t.O.map(Ln)},Tn=(t,n)=>{jn.push((()=>t(n)))},Bn=(t,n,e,o)=>{if("string"==typeof n["s-sn"]&&n["s-sr"]&&n["s-cr"])An(n["s-cr"],n,t,n.parentElement);else if("string"==typeof n["s-sn"]){11!==t.getRootNode().nodeType&&xt(n),t.insertBefore(n,e);const{slotNode:s}=ut(n);return s&&!o&&ct(s),n}return(null==t?void 0:t.__insertBefore)?t.__insertBefore(n,e):null==t?void 0:t.insertBefore(n,e)};function An(t,n,e,o){var s,l;let i;if(t&&"string"==typeof n["s-sn"]&&n["s-sr"]&&t.parentNode&&t.parentNode["s-sc"]&&(i=n["s-si"]||t.parentNode["s-sc"])){const t=n["s-sn"],r=n["s-hn"];if(null==(s=e.classList)||s.add(i+"-s"),o&&(null==(l=o.classList)?void 0:l.contains(i+"-s"))){let n=(o.__childNodes||o.childNodes)[0],e=!1;for(;n;){if(n["s-sn"]!==t&&n["s-hn"]===r&&n["s-sr"]){e=!0;break}n=n.nextSibling}e||o.classList.remove(i+"-s")}}}var Fn=(t,n)=>{if(n&&!t.F&&n["s-p"]){const e=n["s-p"].push(new Promise((o=>t.F=()=>{n["s-p"].splice(e-1,1),o()})))}},Un=(t,n)=>{if(t.u|=16,4&t.u)return void(t.u|=512);Fn(t,t.U);const e=()=>Dn(t,n);if(!n)return K(e);queueMicrotask((()=>{e()}))},Dn=(t,n)=>{const e=t.$hostElement$,o=t.i;if(!o)throw Error(`Can't render component <${e.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let s;return n?(t.D&&(t.D=!1,Jn(o,"connectedCallback",void 0,e)),t.u|=256,t._&&(t._.map((([t,n])=>Jn(o,t,n,e))),t._=void 0),t.P.length&&t.P.forEach((t=>t(e))),s=Jn(o,"componentWillLoad",void 0,e)):s=Jn(o,"componentWillUpdate",void 0,e),s=_n(s,(()=>Jn(o,"componentWillRender",void 0,e))),_n(s,(()=>Vn(t,o,n)))},_n=(t,n)=>Pn(t)?t.then(n).catch((t=>{console.error(t),n()})):n(),Pn=t=>t instanceof Promise||t&&t.then&&"function"==typeof t.then,Vn=async(t,n,e)=>{var o;const s=t.$hostElement$,l=s["s-rc"];e&&(t=>{const n=t.o,e=t.$hostElement$,o=n.u,s=Tt(e.shadowRoot?e.shadowRoot:e.getRootNode(),n,t.T);10&o&&(e["s-sc"]=s,e.classList.add(s+"-h"))})(t);Wn(t,n,s,e),l&&(l.map((t=>t())),s["s-rc"]=void 0);{const n=null!=(o=s["s-p"])?o:[],e=()=>Hn(t);0===n.length?e():(Promise.all(n).then(e).catch(e),t.u|=4,n.length=0)}},Wn=(t,n,e,o)=>{try{n=n.render&&n.render(),t.u&=-17,t.u|=2,((t,n,e=!1)=>{var o,s,l,i,r;const c=t.$hostElement$,u=t.o,f=t.V||Dt(null,null),a=(t=>t&&t.k===_t)(n)?n:Ut(null,null,n);if(en=c.tagName,u.W&&(a.j=a.j||{},u.W.forEach((([t,n])=>{a.j[n]=c[t]}))),e&&a.j)for(const t of Object.keys(a.j))c.hasAttribute(t)&&!["key","ref","style","class"].includes(t)&&(a.j[t]=c[t]);if(a.k=null,a.u|=4,t.V=a,a.C=f.C=c.shadowRoot||c,tn=c["s-sc"],$n=!(!(1&u.u)||128&u.u),nn=c["s-cr"],mn=!1,Mn(f,a,e),U.u|=1,gn){In(a.C);for(const t of Rn){const n=t.B;if(!n["s-ol"]&&A.document){const t=A.document.createTextNode("");t["s-nr"]=n,Bn(n.parentNode,n["s-ol"]=t,n,e)}}for(const t of Rn){const n=t.B,r=t.A;if(1===n.nodeType&&e&&(n["s-ih"]=null!=(o=n.hidden)&&o),r){const t=r.parentNode;let o=r.nextSibling;if(o&&1===o.nodeType){let e=null==(s=n["s-ol"])?void 0:s.previousSibling;for(;e;){let s=null!=(l=e["s-nr"])?l:null;if(s&&s["s-sn"]===n["s-sn"]&&t===(s.__parentNode||s.parentNode)){for(s=s.nextSibling;s===n||(null==s?void 0:s["s-sr"]);)s=null==s?void 0:s.nextSibling;if(!s||!s["s-nr"]){o=s;break}}e=e.previousSibling}}if((!o&&t!==(n.__parentNode||n.parentNode)||(n.__nextSibling||n.nextSibling)!==o)&&n!==o){if(Bn(t,n,o,e),8===n.nodeType&&n.nodeValue.startsWith("s-nt-")){const t=A.document.createTextNode(n.nodeValue.replace(/^s-nt-/,""));t["s-hn"]=n["s-hn"],t["s-sn"]=n["s-sn"],t["s-sh"]=n["s-sh"],t["s-sr"]=n["s-sr"],t["s-ol"]=n["s-ol"],t["s-ol"]["s-nr"]=t,Bn(n.parentNode,t,n,e),n.parentNode.removeChild(n)}1===n.nodeType&&"SLOT-FB"!==n.tagName&&(n.hidden=null!=(i=n["s-ih"])&&i)}n&&"function"==typeof r["s-rf"]&&r["s-rf"](r)}else 1===n.nodeType&&(n.hidden=!0)}}if(mn&&tt(a.C),U.u&=-2,Rn.length=0,!$n&&!(1&u.u)&&c["s-cr"]){const t=a.C.__childNodes||a.C.childNodes;for(const n of t)if(n["s-hn"]!==en&&!n["s-sh"])if(e&&null==n["s-ih"]&&(n["s-ih"]=null!=(r=n.hidden)&&r),1===n.nodeType)n.hidden=!0;else if(3===n.nodeType&&n.nodeValue.trim()){const t=A.document.createComment("s-nt-"+n.nodeValue);t["s-sn"]=n["s-sn"],Bn(n.parentNode,t,n,e),n.parentNode.removeChild(n)}}nn=void 0,wn.forEach((t=>t())),wn.length=0,jn.forEach((t=>t())),jn.length=0})(t,n,o)}catch(n){x(n,t.$hostElement$)}return null},Hn=t=>{const n=t.$hostElement$,e=t.i,o=t.U;Jn(e,"componentDidRender",void 0,n),64&t.u?Jn(e,"componentDidUpdate",void 0,n):(t.u|=64,Gn(n),Jn(e,"componentDidLoad",void 0,n),t.H(n),o||qn()),t.q(n),t.F&&(t.F(),t.F=void 0),512&t.u&&Y((()=>Un(t,!1))),t.u&=-517},zn=t=>{var n;{const e=O(t),o=null==(n=null==e?void 0:e.$hostElement$)?void 0:n.isConnected;return o&&2==(18&e.u)&&Un(e,!1),o}},qn=()=>{var t;Y((()=>rn(A,"appload",{detail:{namespace:"ionic"}}))),(null==(t=U.J)?void 0:t.size)&&U.J.clear()},Jn=(t,n,e,o)=>{if(t&&t[n])try{return t[n](e)}catch(t){x(t,o)}},Gn=t=>t.classList.add("hydrated"),Yn=(t,n,e,o)=>{const s=O(t);if(!s)return;if(!s)throw Error(`Couldn't find host element for "${o.p}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/stenciljs/core/issues/5457).`);const l=s.$hostElement$,i=s.l.get(n),r=s.u,c=s.i;if(e=on(e,o.t[n][0]),!(8&r&&void 0!==i||e===i||Number.isNaN(i)&&Number.isNaN(e))){if(s.l.set(n,e),o.G){const t=o.G[n];t&&t.map((t=>{try{const[[o,l]]=Object.entries(t);(128&r||1&l)&&(c?c[o](e,i,n):s.P.push((()=>{s.i[o](e,i,n)})))}catch(t){x(t,l)}}))}if(2&r){if(c.componentShouldUpdate&&!1===c.componentShouldUpdate(e,i,n)&&!(16&r))return;16&r||Un(s,!1)}}},Zn=(t,n,e)=>{var o,s;const l=t.prototype;{t.watchers&&!n.G&&(n.G=Qt(t.watchers)),t.deserializers&&!n.Y&&(n.Y=t.deserializers),t.serializers&&!n.Z&&(n.Z=t.serializers);const i=Object.entries(null!=(o=n.t)?o:{});if(i.map((([t,[o]])=>{if(31&o||2&e&&32&o){const{get:s,set:i}=y(l,t)||{};s&&(n.t[t][0]|=2048),i&&(n.t[t][0]|=4096),(1&e||!s)&&Object.defineProperty(l,t,{get(){{if(!(2048&n.t[t][0]))return((t,n)=>O(this).l.get(n))(0,t);const e=O(this),o=e?e.i:l;if(!o)return;return o[t]}},configurable:!0,enumerable:!0}),Object.defineProperty(l,t,{set(s){const l=O(this);if(l){if(i)return void 0===(32&o?this[t]:l.$hostElement$[t])&&l.l.get(t)&&(s=l.l.get(t)),i.call(this,on(s,o)),void Yn(this,t,s=32&o?this[t]:l.$hostElement$[t],n);{if(!(1&e&&4096&n.t[t][0]))return Yn(this,t,s,n),void(1&e&&!l.i&&l.P.push((()=>{4096&n.t[t][0]&&l.i[t]!==l.l.get(t)&&(l.i[t]=s)})));const i=()=>{const e=l.i[t];!l.l.get(t)&&e&&l.l.set(t,e),l.i[t]=on(s,o),Yn(this,t,l.i[t],n)};l.i?i():l.P.push((()=>{i()}))}}}})}else 1&e&&64&o&&Object.defineProperty(l,t,{value(...n){var e;const o=O(this);return null==(e=null==o?void 0:o.K)?void 0:e.then((()=>{var e;return null==(e=o.i)?void 0:e[t](...n)}))}})})),1&e){const e=new Map;l.attributeChangedCallback=function(t,o,s){U.jmp((()=>{var r;const c=e.get(t),u=O(this);if(this.hasOwnProperty(c)&&(s=this[c],delete this[c]),l.hasOwnProperty(c)&&"number"==typeof this[c]&&this[c]==s)return;if(null==c){const e=null==u?void 0:u.u;if(u&&e&&!(8&e)&&s!==o){const l=u.i,i=null==(r=n.G)?void 0:r[t];null==i||i.forEach((n=>{const[[i,r]]=Object.entries(n);null!=l[i]&&(128&e||1&r)&&l[i].call(l,s,o,t)}))}return}const f=i.find((([t])=>t===c)),a=f&&4&f[1][0],d=a&&null===s&&void 0===this[c];a&&(s=null!==s&&"false"!==s);const h=Object.getOwnPropertyDescriptor(l,c);d||s==this[c]||h.get&&!h.set||(this[c]=s)}))},t.observedAttributes=Array.from(new Set([...Object.keys(null!=(s=n.G)?s:{}),...i.filter((([t,n])=>31&n[0])).map((([t,o])=>{var s;const l=o[1]||t;return e.set(l,t),512&o[0]&&(null==(s=n.W)||s.push([t,l])),l}))]))}}return t},Kn=async(t,n,e)=>{var o;let s;try{if(!(32&n.u)){if(n.u|=32,n.u&=-1025,e.X){const l=((t,n)=>{var e;const o=t.p.replace(/-/g,"_"),s=t.X;if(!s)return;const l=E.get(s);if(l)return l[o];const i=null!=(e=k.get(s))?e:0,r=[i>0?"s-retry="+i:"",""].filter(Boolean).join("&");
4
+ class t{constructor(){this.m=new Map}reset(t){this.m=new Map(Object.entries(t))}get(t,n){const e=this.m.get(t);return void 0!==e?e:n}getBoolean(t,n=!1){const e=this.m.get(t);return void 0===e?n:"string"==typeof e?"true"===e:!!e}getNumber(t,n){const e=parseFloat(this.m.get(t));return isNaN(e)?void 0!==n?n:NaN:e}set(t,n){this.m.set(t,n)}}const n=new t,e=t=>{try{const n=t.sessionStorage.getItem(r);return null!==n?JSON.parse(n):{}}catch{return{}}},o=(t,n)=>{try{t.sessionStorage.setItem(r,JSON.stringify(n))}catch{return}},s=t=>{const n={};return t.location.search.slice(1).split("&").map((t=>t.split("="))).map((([t,n])=>{try{return[decodeURIComponent(t),decodeURIComponent(n)]}catch{return["",""]}})).filter((([t])=>l(t,i))).map((([t,n])=>[t.slice(i.length),n])).forEach((([t,e])=>{n[t]=e})),n},l=(t,n)=>t.substr(0,n.length)===n,i="ionic:",r="ionic-persist-config";var c;!function(t){t.OFF="OFF",t.ERROR="ERROR",t.WARN="WARN",t.DEBUG="DEBUG"}(c||(c={}));const u={[c.OFF]:0,[c.ERROR]:1,[c.WARN]:2,[c.DEBUG]:3},f=t=>{const e=(n.get("logLevel",c.WARN)+"").toUpperCase();return u[e]>=u[t]},a=(t,...n)=>{if(f(c.WARN))return console.warn("[Ionic Warning]: "+t,...n)},d=(t,...n)=>{if(f(c.ERROR))return console.error("[Ionic Error]: "+t,...n)},h=(t,...n)=>console.error(`<${t.tagName.toLowerCase()}> must be used inside ${n.join(" or ")}.`);var v={isBrowser:!0},p=(t=>(t.Undefined="undefined",t.Null="null",t.String="string",t.Number="number",t.SpecialNumber="number",t.Boolean="boolean",t.BigInt="bigint",t))(p||{}),b=(t=>(t.Array="array",t.Date="date",t.Map="map",t.Object="object",t.RegularExpression="regexp",t.Set="set",t.Channel="channel",t.Symbol="symbol",t))(b||{}),$="type",m="value",g="serialized:";function y(t,n,e){const o="undefined"!=typeof HTMLElement?HTMLElement.prototype:null;for(;t&&t!==o;){const o=Object.getOwnPropertyDescriptor(t,n);if(o&&(!e||o.get))return o;t=Object.getPrototypeOf(t)}}var w,j=(t,n)=>{var e;Object.entries(null!=(e=n.o.t)?e:{}).map((([e,[o]])=>{if(31&o||32&o){const o=t[e],s=y(Object.getPrototypeOf(t),e,!0)||Object.getOwnPropertyDescriptor(t,e);s&&Object.defineProperty(t,e,{get(){return s.get.call(this)},set(t){s.set.call(this,t)},configurable:!0,enumerable:!0}),n.l.has(e)?t[e]=n.l.get(e):void 0!==o&&(t[e]=o)}}))},O=t=>{if(t.__stencil__getHostRef)return t.__stencil__getHostRef()},N=(t,n)=>{n&&(t.__stencil__getHostRef=()=>n,n.i=t,512&n.o.u&&j(t,n))},S=(t,n)=>n in t,x=(t,n)=>(0,console.error)(t,n),E=new Map,k=new Map,C=new Map,M=[],R="s-id",I="sty-id",L="c-id",T="slot-fb{display:contents}slot-fb[hidden]{display:none}",B="http://www.w3.org/1999/xlink",A="undefined"!=typeof window?window:{},F=A.HTMLElement||class{},U={u:0,h:"",jmp:t=>t(),raf:t=>requestAnimationFrame(t),ael:(t,n,e,o)=>t.addEventListener(n,e,o),rel:(t,n,e,o)=>t.removeEventListener(n,e,o),ce:(t,n)=>new CustomEvent(t,n)},D=t=>Promise.resolve(t),_=(()=>{try{return!!A.document.adoptedStyleSheets&&(new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync)}catch(t){}return!1})(),P=!!_&&(()=>!!A.document&&Object.getOwnPropertyDescriptor(A.document.adoptedStyleSheets,"length").writable)(),V=!1,W=[],H=[],z=()=>{var t;return(null==(t=A.document)?void 0:t.hidden)?Y(G):U.raf(G)},q=(t,n)=>e=>{t.push(e),V||(V=!0,n&&4&U.u?Y(G):z())},J=t=>{for(let n=0;n<t.length;n++)try{t[n](performance.now())}catch(t){x(t)}t.length=0},G=()=>{J(W),J(H),(V=W.length>0)&&z()},Y=t=>D().then(t),Z=q(W,!1),K=q(H,!0),Q=t=>{const n=new URL(t,U.h);return n.origin!==A.location.origin?n.href:n.pathname};function X(t){const n={mode:"open"};n.delegatesFocus=!!(16&t.u);const e=this.attachShadow(n);void 0===w&&(w=null),w&&(P?e.adoptedStyleSheets.push(w):e.adoptedStyleSheets=[...e.adoptedStyleSheets,w])}var tt=t=>{const n=Mt(t,"childNodes");t.tagName&&t.tagName.includes("-")&&t["s-cr"]&&"SLOT-FB"!==t.tagName&&et(n,t.tagName).forEach((t=>{1===t.nodeType&&"SLOT-FB"===t.tagName&&(t.hidden=!!ot(t,it(t),!1).length)}));let e=0;for(e=0;e<n.length;e++){const t=n[e];1===t.nodeType&&Mt(t,"childNodes").length&&tt(t)}},nt=t=>{const n=[];for(let e=0;e<t.length;e++){const o=t[e]["s-nr"]||void 0;o&&o.isConnected&&n.push(o)}return n};function et(t,n,e){let o,s=0,l=[];for(;s<t.length;s++){if(o=t[s],o["s-sr"]&&(!n||o["s-hn"]===n)&&(void 0===e||it(o)===e)&&(l.push(o),void 0!==e))return l;l=[...l,...et(Mt(o,"childNodes"),n,e)]}return l}var ot=(t,n,e=!0)=>{const o=[];(e&&t["s-sr"]||!t["s-sr"])&&o.push(t);let s=t;for(;s=s.nextSibling;)it(s)!==n||!e&&s["s-sr"]||o.push(s);return o},st=(t,n)=>1===t.nodeType?null===t.getAttribute("slot")&&""===n||t.getAttribute("slot")===n:t["s-sn"]===n||""===n,lt=(t,n,e,o)=>{if(t["s-ol"]&&t["s-ol"].isConnected)return;const s=document.createTextNode("");if(s["s-nr"]=t,!n["s-cr"]||!n["s-cr"].parentNode)return;const l=n["s-cr"].parentNode,i=Mt(l,e?"prepend":"appendChild");if(void 0!==o){s["s-oo"]=o;const t=Mt(l,"childNodes"),n=[s];t.forEach((t=>{t["s-nr"]&&n.push(t)})),n.sort(((t,n)=>!t["s-oo"]||t["s-oo"]<(n["s-oo"]||0)?-1:!n["s-oo"]||n["s-oo"]<t["s-oo"]?1:0)),n.forEach((t=>i.call(l,t)))}else i.call(l,s);t["s-ol"]=s,t["s-sh"]=n["s-hn"]},it=t=>"string"==typeof t["s-sn"]?t["s-sn"]:1===t.nodeType&&t.getAttribute("slot")||void 0;function rt(t){if(t.assignedElements||t.assignedNodes||!t["s-sr"])return;const n=n=>function(t){const e=[],o=this["s-sn"];(null==t?void 0:t.flatten)&&console.error("\n Flattening is not supported for Stencil non-shadow slots.\n You can use `.childNodes` to nested slot fallback content.\n If you have a particular use case, please open an issue on the Stencil repo.\n ");const s=this["s-cr"].parentElement;return(s.__childNodes?s.childNodes:nt(s.childNodes)).forEach((t=>{o===it(t)&&e.push(t)})),n?e.filter((t=>1===t.nodeType)):e}.bind(t);t.assignedElements=n(!0),t.assignedNodes=n(!1)}function ct(t){t.dispatchEvent(new CustomEvent("slotchange",{bubbles:!1,cancelable:!1,composed:!1}))}function ut(t,n){var e;if(!(n=n||(null==(e=t["s-ol"])?void 0:e.parentElement)))return{slotNode:null,slotName:""};const o=t["s-sn"]=it(t)||"";return{slotNode:et(Mt(n,"childNodes"),n.tagName,o)[0],slotName:o}}var ft=t=>{if(t.__cloneNode)return;const n=t.__cloneNode=t.cloneNode;t.cloneNode=function(t){const e=this.shadowRoot&&true,o=n.call(this,!!e&&t);if(!e&&t){let t,n,e=0;const s=["s-id","s-cr","s-lr","s-rc","s-sc","s-p","s-cn","s-sr","s-sn","s-hn","s-ol","s-nr","s-si","s-rf","s-scs"],l=this.__childNodes||this.childNodes;for(;e<l.length;e++)t=l[e]["s-nr"],n=s.every((t=>!l[e][t])),t&&(o.__appendChild?o.__appendChild(t.cloneNode(!0)):o.appendChild(t.cloneNode(!0))),n&&o.appendChild(l[e].cloneNode(!0))}return o}},at=t=>{t.__appendChild||(t.__appendChild=t.appendChild,t.appendChild=function(t){const{slotName:n,slotNode:e}=ut(t,this);if(e){lt(t,e);const o=ot(e,n),s=o[o.length-1],l=Mt(s,"parentNode"),i=Mt(l,"insertBefore")(t,s.nextSibling);return ct(e),tt(this),i}return this.__appendChild(t)})},dt=t=>{t.__removeChild||(t.__removeChild=t.removeChild,t.removeChild=function(t){return t&&void 0!==t["s-sn"]&&et(this.__childNodes||this.childNodes,this.tagName,t["s-sn"])&&t.isConnected?(t.remove(),void tt(this)):this.__removeChild(t)})},ht=t=>{t.__prepend||(t.__prepend=t.prepend,t.prepend=function(...n){n.forEach((n=>{"string"==typeof n&&(n=this.ownerDocument.createTextNode(n));const e=(n["s-sn"]=it(n))||"",o=et(Mt(this,"childNodes"),this.tagName,e)[0];if(o){lt(n,o,!0);const t=ot(o,e)[0],s=Mt(t,"parentNode"),l=Mt(s,"insertBefore")(n,Mt(t,"nextSibling"));return ct(o),l}return 1===n.nodeType&&n.getAttribute("slot")&&(n.hidden=!0),t.__prepend(n)}))})},vt=t=>{t.__append||(t.__append=t.append,t.append=function(...t){t.forEach((t=>{"string"==typeof t&&(t=this.ownerDocument.createTextNode(t)),this.appendChild(t)}))})},pt=t=>{if(t.__insertAdjacentHTML)return;const n=t.insertAdjacentHTML;t.insertAdjacentHTML=function(t,e){if("afterbegin"!==t&&"beforeend"!==t)return n.call(this,t,e);const o=this.ownerDocument.createElement("_");let s;if(o.innerHTML=e,"afterbegin"===t)for(;s=o.firstChild;)this.prepend(s);else if("beforeend"===t)for(;s=o.firstChild;)this.append(s)}},bt=t=>{t.insertAdjacentText=function(t,n){this.insertAdjacentHTML(t,n)}},$t=t=>{t.__insertBefore||t.__insertBefore||(t.__insertBefore=t.insertBefore,t.insertBefore=function(t,n){const{slotName:e,slotNode:o}=ut(t,this),s=this.__childNodes?this.childNodes:nt(this.childNodes);if(o){let l=!1;if(s.forEach((s=>{if(s!==n&&null!==n);else{if(l=!0,null===n||e!==n["s-sn"])return void this.appendChild(t);if(e===n["s-sn"]){lt(t,o);const e=Mt(n,"parentNode");Mt(e,"insertBefore")(t,n),ct(o)}}})),l)return t}const l=null==n?void 0:n.__parentNode;return l&&!this.isSameNode(l)?this.appendChild(t):this.__insertBefore(t,n)})},mt=t=>{if(t.__insertAdjacentElement)return;const n=t.insertAdjacentElement;t.insertAdjacentElement=function(t,e){return"afterbegin"!==t&&"beforeend"!==t?n.call(this,t,e):"afterbegin"===t?(this.prepend(e),e):"beforeend"===t?(this.append(e),e):e}},gt=t=>{Ct("textContent",t),Object.defineProperty(t,"textContent",{get:function(){let t="";return(this.__childNodes?this.childNodes:nt(this.childNodes)).forEach((n=>t+=n.textContent||"")),t},set:function(t){(this.__childNodes?this.childNodes:nt(this.childNodes)).forEach((t=>{t["s-ol"]&&t["s-ol"].remove(),t.remove()})),this.insertAdjacentHTML("beforeend",t)}})},yt=t=>{class n extends Array{item(t){return this[t]}}Ct("children",t),Object.defineProperty(t,"children",{get(){return this.childNodes.filter((t=>1===t.nodeType))}}),Object.defineProperty(t,"childElementCount",{get(){return this.children.length}}),Ct("firstChild",t),Object.defineProperty(t,"firstChild",{get(){return this.childNodes[0]||null}}),Ct("lastChild",t),Object.defineProperty(t,"lastChild",{get(){return this.childNodes[this.childNodes.length-1]||null}}),Ct("childNodes",t),Object.defineProperty(t,"childNodes",{get(){const t=new n;return t.push(...nt(this.__childNodes)),t}})},wt=t=>{t&&void 0===t.__nextSibling&&globalThis.Node&&(jt(t),Nt(t),xt(t),t.nodeType===Node.ELEMENT_NODE&&(Ot(t),St(t)))},jt=t=>{t&&!t.__nextSibling&&(Ct("nextSibling",t),Object.defineProperty(t,"nextSibling",{get:function(){var t;const n=null==(t=this["s-ol"])?void 0:t.parentNode.childNodes,e=null==n?void 0:n.indexOf(this);return n&&e>-1?n[e+1]||null:this.__nextSibling}}))},Ot=t=>{t&&!t.__nextElementSibling&&(Ct("nextElementSibling",t),Object.defineProperty(t,"nextElementSibling",{get:function(){var t;const n=null==(t=this["s-ol"])?void 0:t.parentNode.children,e=null==n?void 0:n.indexOf(this);return n&&e>-1?n[e+1]||null:this.__nextElementSibling}}))},Nt=t=>{t&&!t.__previousSibling&&(Ct("previousSibling",t),Object.defineProperty(t,"previousSibling",{get:function(){var t;const n=null==(t=this["s-ol"])?void 0:t.parentNode.childNodes,e=null==n?void 0:n.indexOf(this);return n&&e>-1?n[e-1]||null:this.__previousSibling}}))},St=t=>{t&&!t.__previousElementSibling&&(Ct("previousElementSibling",t),Object.defineProperty(t,"previousElementSibling",{get:function(){var t;const n=null==(t=this["s-ol"])?void 0:t.parentNode.children,e=null==n?void 0:n.indexOf(this);return n&&e>-1?n[e-1]||null:this.__previousElementSibling}}))},xt=t=>{t&&!t.__parentNode&&(Ct("parentNode",t),Object.defineProperty(t,"parentNode",{get:function(){var t;return(null==(t=this["s-ol"])?void 0:t.parentNode)||this.__parentNode},set:function(t){this.__parentNode=t}}))},Et=["children","nextElementSibling","previousElementSibling"],kt=["childNodes","firstChild","lastChild","nextSibling","previousSibling","textContent","parentNode"];function Ct(t,n){if(!globalThis.Node||!globalThis.Element)return;let e;Et.includes(t)?e=Object.getOwnPropertyDescriptor(Element.prototype,t):kt.includes(t)&&(e=Object.getOwnPropertyDescriptor(Node.prototype,t)),e||(e=Object.getOwnPropertyDescriptor(n,t)),e&&Object.defineProperty(n,"__"+t,e)}function Mt(t,n){if("__"+n in t){const e=t["__"+n];return"function"!=typeof e?e:e.bind(t)}return"function"!=typeof t[n]?t[n]:t[n].bind(t)}function Rt(t){var n,e,o;return null!=(o=null==(e=null==(n=t.head)?void 0:n.querySelector('meta[name="csp-nonce"]'))?void 0:e.getAttribute("content"))?o:void 0}var It=new WeakMap,Lt=(t,n,e)=>{let o=C.get(t);_&&e?(o=o||new CSSStyleSheet,"string"==typeof o?o=n:o.replaceSync(n)):o=n,C.set(t,o)},Tt=(t,n,e)=>{var o,s,l;const i=Bt(n,e),r=C.get(i);if(!A.document)return i;if(t=11===t.nodeType?t:A.document,r)if("string"==typeof r){let e,l=It.get(t=t.head||t);l||It.set(t,l=new Set);const c=t.querySelector(`[${I}="${i}"]`);if(c)c.textContent=r;else if(!l.has(i)){e=A.document.createElement("style"),e.textContent=r;const c=null!=(o=U.v)?o:Rt(A.document);if(null!=c&&e.setAttribute("nonce",c),!(1&n.u))if("HEAD"===t.nodeName){const n=t.querySelectorAll("link[rel=preconnect]"),o=n.length>0?n[n.length-1].nextSibling:t.querySelector("style");t.insertBefore(e,(null==o?void 0:o.parentNode)===t?o:null)}else if("host"in t)if(_){const n=new(null!=(s=t.defaultView)?s:t.ownerDocument.defaultView).CSSStyleSheet;n.replaceSync(r),P?t.adoptedStyleSheets.unshift(n):t.adoptedStyleSheets=[n,...t.adoptedStyleSheets]}else{const n=t.querySelector("style");n?n.textContent=r+n.textContent:t.prepend(e)}else t.append(e);1&n.u&&t.insertBefore(e,null),4&n.u&&(e.textContent+=T),l&&l.add(i)}}else{let n=It.get(t);if(n||It.set(t,n=new Set),!n.has(i)){const e=null!=(l=t.defaultView)?l:t.ownerDocument.defaultView;let o;if(r.constructor===e.CSSStyleSheet)o=r;else{o=new e.CSSStyleSheet;for(let t=0;t<r.cssRules.length;t++)o.insertRule(r.cssRules[t].cssText,t)}if(P?t.adoptedStyleSheets.push(o):t.adoptedStyleSheets=[...t.adoptedStyleSheets,o],n.add(i),"host"in t){const n=t.querySelector(`[${I}="${i}"]`);n&&K((()=>n.remove()))}}}return i},Bt=(t,n)=>"sc-"+(n&&32&t.u?t.p+"-"+n:t.p),At=t=>t.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g,"$1{"),Ft=t=>"object"==(t=typeof t)||"function"===t,Ut=(t,n,...e)=>{let o=null,s=null,l=null,i=!1,r=!1;const c=[],u=n=>{for(let e=0;e<n.length;e++)if(o=n[e],Array.isArray(o))u(o);else if(null!=o&&"boolean"!=typeof o){if(i="function"!=typeof t&&!Ft(o))o+="";else if("function"!=typeof t&&void 0===o.u){x("Invalid vNode child");continue}i&&r?c[c.length-1].$+=o:c.push(i?Dt(null,o):o),r=i}};if(u(e),n){n.key&&(s=n.key),n.name&&(l=n.name);{const t=n.className||n.class;t&&(n.class="object"!=typeof t?t:Object.keys(t).filter((n=>t[n])).join(" "))}}if("function"==typeof t)return t(null===n?{}:n,c,Pt);const f=Dt(t,null);return f.j=n,c.length>0&&(f.O=c),f.N=s,f.S=l,f},Dt=(t,n)=>({u:0,k:t,$:null!=n?n:null,C:null,O:null,j:null,N:null,S:null}),_t={},Pt={forEach:(t,n)=>t.map(Vt).forEach(n),map:(t,n)=>t.map(Vt).map(n).map(Wt)},Vt=t=>({vattrs:t.j,vchildren:t.O,vkey:t.N,vname:t.S,vtag:t.k,vtext:t.$}),Wt=t=>{if("function"==typeof t.vtag){const n={...t.vattrs};return t.vkey&&(n.key=t.vkey),t.vname&&(n.name=t.vname),Ut(t.vtag,n,...t.vchildren||[])}const n=Dt(t.vtag,t.vtext);return n.j=t.vattrs,n.O=t.vchildren,n.N=t.vkey,n.S=t.vname,n},Ht=(t,n,e,o,s,l,i,r=[])=>{let c,u,f,a;const d=s["s-sc"];if(1===l.nodeType){if(c=l.getAttribute(L),c&&(u=c.split("."),u[0]===i||"0"===u[0])){f=qt({u:0,M:u[0],R:u[1],I:u[2],L:u[3],k:l.tagName.toLowerCase(),C:l,j:{class:l.className||""}}),n.push(f),l.removeAttribute(L),t.O||(t.O=[]),d&&u[0]===i&&(l["s-si"]=d,f.j.class+=" "+d);const s=f.C.getAttribute("s-sn");"string"==typeof s&&("slot-fb"===f.k&&(Jt(s,u[2],f,l,t,n,e,o,r),d&&l.classList.add(d)),f.C["s-sn"]=s,f.C.removeAttribute("s-sn")),void 0!==f.L&&(t.O[f.L]=f),t=f,o&&"0"===f.I&&(o[f.L]=f.C)}if(l.shadowRoot)for(a=l.shadowRoot.childNodes.length-1;a>=0;a--)Ht(t,n,e,o,s,l.shadowRoot.childNodes[a],i,r);const h=l.__childNodes||l.childNodes;for(a=h.length-1;a>=0;a--)Ht(t,n,e,o,s,h[a],i,r)}else if(8===l.nodeType)u=l.nodeValue.split("."),(u[1]===i||"0"===u[1])&&(c=u[0],f=qt({M:u[1],R:u[2],I:u[3],L:u[4]||"0",C:l,j:null,O:null,N:null,S:null,k:null,$:null}),"t"===c?(f.C=Yt(l,3),f.C&&3===f.C.nodeType&&(f.$=f.C.textContent,n.push(f),l.remove(),i===f.M&&(t.O||(t.O=[]),t.O[f.L]=f),o&&"0"===f.I&&(o[f.L]=f.C))):"c"===c?(f.C=Yt(l,8),f.C&&8===f.C.nodeType&&(n.push(f),l.remove())):f.M===i&&("s"===c?Jt(l["s-sn"]=u[5]||"",u[2],f,l,t,n,e,o,r):"r"===c&&(o?l.remove():(s["s-cr"]=l,l["s-cn"]=!0))));else if(t&&"style"===t.k){const n=Dt(null,l.textContent);n.C=l,n.L="0",t.O=[n]}return t},zt=(t,n)=>{if(1===t.nodeType){const e=t[R]||t.getAttribute(R);e&&n.set(e,t);let o=0;if(t.shadowRoot)for(;o<t.shadowRoot.childNodes.length;o++)zt(t.shadowRoot.childNodes[o],n);const s=t.__childNodes||t.childNodes;for(o=0;o<s.length;o++)zt(s[o],n)}else if(8===t.nodeType){const e=t.nodeValue.split(".");"o"===e[0]&&(n.set(e[1]+"."+e[2],t),t.nodeValue="",t["s-en"]=e[3])}},qt=t=>({u:0,M:null,R:null,I:null,L:"0",C:null,j:null,O:null,N:null,S:null,k:null,$:null,...t});function Jt(t,n,e,o,s,l,i,r,c){o["s-sr"]=!0,e.S=t||null,e.k="slot";const u=(null==s?void 0:s.C)?s.C["s-id"]||s.C.getAttribute("s-id"):"";if(r&&A.document){const l=e.C=A.document.createElement(e.k);e.S&&e.C.setAttribute("name",t),s.C.shadowRoot&&u&&u!==e.M?Mt(s.C,"insertBefore")(l,Mt(s.C,"children")[0]):Mt(Mt(o,"parentNode"),"insertBefore")(l,o),Gt(c,n,t,o,e.M),o.remove(),"0"===e.I&&(r[e.L]=e.C)}else{const l=e.C,i=u&&u!==e.M&&s.C.shadowRoot;Gt(c,n,t,o,i?u:e.M),rt(o),i&&s.C.insertBefore(l,s.C.children[0])}l.push(e),i.push(e),s.O||(s.O=[]),s.O[e.L]=e}var Gt=(t,n,e,o,s)=>{var l,i;let r=o.nextSibling;if(t[n]=t[n]||[],r&&!(null==(l=r.nodeValue)?void 0:l.startsWith("s.")))do{!r||(r.getAttribute&&r.getAttribute("slot")||r["s-sn"])!==e&&(""!==e||r["s-sn"]||r.getAttribute&&r.getAttribute("slot")||8!==r.nodeType&&3!==r.nodeType)||(r["s-sn"]=e,t[n].push({slot:o,node:r,hostId:s})),r=null==r?void 0:r.nextSibling}while(r&&!(null==(i=r.nodeValue)?void 0:i.startsWith("s.")))},Yt=(t,n)=>{let e=t;do{e=e.nextSibling}while(e&&(e.nodeType!==n||!e.nodeValue));return e},Zt=t=>M.push(t),Kt=t=>{var n;return null==(n=O(t))?void 0:n.T},Qt=t=>{if(!t)return;const n=Object.keys(t);if(0===n.length)return;let e=!1;for(const o of n){if(e)break;for(const n of t[o])if("string"==typeof n){e=!0;break}}if(!e)return t;const o={};for(const e of n)o[e]=t[e].map((t=>"string"==typeof t?{[t]:0}:t));return o},Xt=class t{static fromLocalValue(n){const e=n[$],o=m in n?n[m]:void 0;switch(e){case"string":case"boolean":return o;case"bigint":return BigInt(o);case"undefined":return;case"null":return null;case"number":return"NaN"===o?NaN:"-0"===o?-0:"Infinity"===o?1/0:"-Infinity"===o?-1/0:o;case"array":return o.map((n=>t.fromLocalValue(n)));case"date":return new Date(o);case"map":const n=new Map;for(const[e,s]of o){const o="object"==typeof e&&null!==e?t.fromLocalValue(e):e,l=t.fromLocalValue(s);n.set(o,l)}return n;case"object":const s={};for(const[n,e]of o)s[n]=t.fromLocalValue(e);return s;case"regexp":const{pattern:l,flags:i}=o;return RegExp(l,i);case"set":const r=new Set;for(const n of o)r.add(t.fromLocalValue(n));return r;case"symbol":return Symbol(o);default:throw Error("Unsupported type: "+e)}}static fromLocalValueArray(n){return n.map((n=>t.fromLocalValue(n)))}static isLocalValueObject(t){if("object"!=typeof t||null===t)return!1;if(!t.hasOwnProperty($))return!1;const n=t[$];return!!Object.values({...p,...b}).includes(n)&&("null"===n||"undefined"===n||t.hasOwnProperty(m))}};var tn,nn,en,on=(t,n)=>"string"==typeof t&&t.startsWith(g)?t=function(t){return"string"==typeof t&&t.startsWith(g)?Xt.fromLocalValue(JSON.parse(function(t){const n=atob(t),e=new Uint8Array(n.length);for(let t=0;t<n.length;t++)e[t]=n.charCodeAt(t);return(new TextDecoder).decode(e)}(t.slice(11)))):t}(t):null==t||Ft(t)?t:4&n?"false"!==t&&(""===t||!!t):2&n?"string"==typeof t?parseFloat(t):"number"==typeof t?t:NaN:1&n?t+"":t,sn=t=>{var n;return null==(n=O(t))?void 0:n.$hostElement$},ln=(t,n,e)=>{const o=sn(t);return{emit:t=>rn(o,n,{bubbles:!!(4&e),composed:!!(2&e),cancelable:!!(1&e),detail:t})}},rn=(t,n,e)=>{const o=U.ce(n,e);return t.dispatchEvent(o),o},cn=(t,n,e,o,s,l,i)=>{if(e===o)return;let r=S(t,n),c=n.toLowerCase();if("class"===n){const n=t.classList,s=dn(e);let l=dn(o);if((t["s-si"]||t["s-sc"])&&i){const e=t["s-sc"]||t["s-si"];l.push(e),s.forEach((t=>{t.startsWith(e)&&l.push(t)})),l=[...new Set(l)].filter((t=>t)),n.add(...l)}else n.remove(...s.filter((t=>t&&!l.includes(t)))),n.add(...l.filter((t=>t&&!s.includes(t))))}else if("style"===n){for(const n in e)o&&null!=o[n]||(n.includes("-")?t.style.removeProperty(n):t.style[n]="");for(const n in o)e&&o[n]===e[n]||(n.includes("-")?t.style.setProperty(n,o[n]):t.style[n]=o[n])}else if("key"===n);else if("ref"===n)o&&Tn(o,t);else if(r||"o"!==n[0]||"n"!==n[1]){if("a"===n[0]&&n.startsWith("attr:")){const e=n.slice(5);let s;{const n=O(t);if(n&&n.o&&n.o.t){const t=n.o.t[e];t&&t[1]&&(s=t[1])}}return s||(s=e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()),void(null==o||!1===o?!1===o&&""!==t.getAttribute(s)||t.removeAttribute(s):t.setAttribute(s,!0===o?"":o))}if("p"===n[0]&&n.startsWith("prop:")){const e=n.slice(5);try{t[e]=o}catch(t){}return}{const i=Ft(o);if((r||i&&null!==o)&&!s)try{if(t.tagName.includes("-"))t[n]!==o&&(t[n]=o);else{const s=null==o?"":o;"list"===n?r=!1:null!=e&&t[n]===s||("function"==typeof t.__lookupSetter__(n)?t[n]=s:t.setAttribute(n,s))}}catch(t){}let u=!1;c!==(c=c.replace(/^xlink\:?/,""))&&(n=c,u=!0),null==o||!1===o?(!1!==o||""===t.getAttribute(n)||4&l&&!fn(n))&&(u?t.removeAttributeNS(B,n):t.removeAttribute(n)):(!r||4&l||s)&&!i&&1===t.nodeType&&(o=!0===o?"":o,u?t.setAttributeNS(B,n,o):t.setAttribute(n,o))}}else if(n="-"===n[2]?n.slice(3):S(A,c)?c.slice(2):c[2]+n.slice(3),e||o){const s=n.endsWith(hn);n=n.replace(vn,""),e&&U.rel(t,n,e,s),o&&U.ael(t,n,o,s)}},un=new Set(["draggable","contenteditable","spellcheck"]),fn=t=>un.has(t)||t.startsWith("aria-"),an=/\s/,dn=t=>("object"==typeof t&&t&&"baseVal"in t&&(t=t.baseVal),t&&"string"==typeof t?t.split(an):[]),hn="Capture",vn=RegExp(hn+"$"),pn=(t,n,e,o)=>{const s=11===n.C.nodeType&&n.C.host?n.C.host:n.C,l=t&&t.j||{},i=n.j||{};for(const t of bn(Object.keys(l)))t in i||cn(s,t,l[t],void 0,e,n.u,o);for(const t of bn(Object.keys(i)))cn(s,t,l[t],i[t],e,n.u,o)};function bn(t){return t.includes("ref")?[...t.filter((t=>"ref"!==t)),"ref"]:t}var $n=!1,mn=!1,gn=!1,yn=!1,wn=[],jn=[],On=(t,n,e)=>{var o;const s=n.O[e];let l,i,r,c=0;if($n||(gn=!0,"slot"===s.k&&(s.u|=s.O?2:1)),null!=s.$)l=s.C=A.document.createTextNode(s.$);else if(1&s.u)l=s.C=A.document.createTextNode(""),pn(null,s,yn);else{if(yn||(yn="svg"===s.k),!A.document)throw Error("You are trying to render a Stencil component in an environment that doesn't support the DOM.");if(l=s.C=A.document.createElementNS(yn?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",!$n&&2&s.u?"slot-fb":s.k),yn&&"foreignObject"===s.k&&(yn=!1),pn(null,s,yn),null!=tn&&void 0!==tn&&l["s-si"]!==tn&&l.classList.add(l["s-si"]=tn),s.O){const n="template"===s.k?l.content:l;for(c=0;c<s.O.length;++c)i=On(t,s,c),i&&n.appendChild(i)}"svg"===s.k?yn=!1:"foreignObject"===l.tagName&&(yn=!0)}return l["s-hn"]=en,3&s.u&&(l["s-sr"]=!0,l["s-cr"]=nn,l["s-sn"]=s.S||"",l["s-rf"]=null==(o=s.j)?void 0:o.ref,rt(l),r=t&&t.O&&t.O[e],r&&r.k===s.k&&t.C&&Nn(t.C),An(nn,l,n.C,null==t?void 0:t.C)),l},Nn=t=>{U.u|=1;const n=t.closest(en.toLowerCase());if(null!=n){const e=Array.from(n.__childNodes||n.childNodes).find((t=>t["s-cr"])),o=Array.from(t.__childNodes||t.childNodes);for(const t of e?o.reverse():o)null!=t["s-sh"]&&(Bn(n,t,null!=e?e:null),t["s-sh"]=void 0,gn=!0)}U.u&=-2},Sn=(t,n)=>{U.u|=1;const e=Array.from(t.__childNodes||t.childNodes);if(t["s-sr"]){let n=t;for(;n=n.nextSibling;)n&&n["s-sn"]===t["s-sn"]&&n["s-sh"]===en&&e.push(n)}for(let t=e.length-1;t>=0;t--){const o=e[t];o["s-hn"]!==en&&o["s-ol"]&&(Bn(Cn(o).parentNode,o,Cn(o)),o["s-ol"].remove(),o["s-ol"]=void 0,o["s-sh"]=void 0,gn=!0),n&&Sn(o,n)}U.u&=-2},xn=(t,n,e,o,s,l)=>{let i,r=t["s-cr"]&&t["s-cr"].parentNode||t;for(r.shadowRoot&&r.tagName===en&&(r=r.shadowRoot),"template"===e.k&&(r=r.content);s<=l;++s)o[s]&&(i=On(null,e,s),i&&(o[s].C=i,Bn(r,i,Cn(n))))},En=(t,n,e)=>{for(let o=n;o<=e;++o){const n=t[o];if(n){const t=n.C;Ln(n),t&&(mn=!0,t["s-ol"]?t["s-ol"].remove():Sn(t,!0),t.remove())}}},kn=(t,n,e=!1)=>t.k===n.k&&("slot"===t.k?t.S===n.S:e?(e&&!t.N&&n.N&&(t.N=n.N),!0):t.N===n.N),Cn=t=>t&&t["s-ol"]||t,Mn=(t,n,e=!1)=>{const o=n.C=t.C,s=t.O,l=n.O,i=n.k,r=n.$;let c;null==r?(yn="svg"===i||"foreignObject"!==i&&yn,"slot"!==i||$n||t.S!==n.S&&(n.C["s-sn"]=n.S||"",Nn(n.C.parentElement)),pn(t,n,yn,e),null!==s&&null!==l?((t,n,e,o,s=!1)=>{let l,i,r=0,c=0,u=0,f=0,a=n.length-1,d=n[0],h=n[a],v=o.length-1,p=o[0],b=o[v];const $="template"===e.k?t.content:t;for(;r<=a&&c<=v;)if(null==d)d=n[++r];else if(null==h)h=n[--a];else if(null==p)p=o[++c];else if(null==b)b=o[--v];else if(kn(d,p,s))Mn(d,p,s),d=n[++r],p=o[++c];else if(kn(h,b,s))Mn(h,b,s),h=n[--a],b=o[--v];else if(kn(d,b,s))"slot"!==d.k&&"slot"!==b.k||Sn(d.C.parentNode,!1),Mn(d,b,s),Bn($,d.C,h.C.nextSibling),d=n[++r],b=o[--v];else if(kn(h,p,s))"slot"!==d.k&&"slot"!==b.k||Sn(h.C.parentNode,!1),Mn(h,p,s),Bn($,h.C,d.C),h=n[--a],p=o[++c];else{for(u=-1,f=r;f<=a;++f)if(n[f]&&null!==n[f].N&&n[f].N===p.N){u=f;break}u>=0?(i=n[u],i.k!==p.k?l=On(n&&n[c],e,u):(Mn(i,p,s),n[u]=void 0,l=i.C),p=o[++c]):(l=On(n&&n[c],e,c),p=o[++c]),l&&Bn(Cn(d.C).parentNode,l,Cn(d.C))}r>a?xn(t,null==o[v+1]?null:o[v+1].C,e,o,c,v):c>v&&En(n,r,a)})(o,s,n,l,e):null!==l?(null!==t.$&&(o.textContent=""),xn(o,null,n,l,0,l.length-1)):e||null===s?e&&null!==s&&null===l&&(n.O=s):En(s,0,s.length-1),yn&&"svg"===i&&(yn=!1)):(c=o["s-cr"])?c.parentNode.textContent=r:t.$!==r&&(o.data=r)},Rn=[],In=t=>{let n,e,o;const s=t.__childNodes||t.childNodes;for(const t of s){if(t["s-sr"]&&(n=t["s-cr"])&&n.parentNode){e=n.parentNode.__childNodes||n.parentNode.childNodes;const s=t["s-sn"];for(o=e.length-1;o>=0;o--)if(n=e[o],!n["s-cn"]&&!n["s-nr"]&&n["s-hn"]!==t["s-hn"]&&(!n["s-sh"]||n["s-sh"]!==t["s-hn"]||""!==s&&it(n)===s))if(st(n,s)){let e=Rn.find((t=>t.B===n));mn=!0,n["s-sn"]=n["s-sn"]||s,e?(e.B["s-sh"]=t["s-hn"],e.A=t):(n["s-sh"]=t["s-hn"],Rn.push({A:t,B:n})),n["s-sr"]&&Rn.map((t=>{st(t.B,n["s-sn"])&&(e=Rn.find((t=>t.B===n)),e&&!t.A&&(t.A=e.A))}))}else Rn.some((t=>t.B===n))||Rn.push({B:n})}1===t.nodeType&&In(t)}},Ln=t=>{t.j&&t.j.ref&&wn.push((()=>t.j.ref(null))),t.O&&t.O.map(Ln)},Tn=(t,n)=>{jn.push((()=>t(n)))},Bn=(t,n,e,o)=>{if("string"==typeof n["s-sn"]&&n["s-sr"]&&n["s-cr"])An(n["s-cr"],n,t,n.parentElement);else if("string"==typeof n["s-sn"]){11!==t.getRootNode().nodeType&&xt(n),t.insertBefore(n,e);const{slotNode:s}=ut(n);return s&&!o&&ct(s),n}return(null==t?void 0:t.__insertBefore)?t.__insertBefore(n,e):null==t?void 0:t.insertBefore(n,e)};function An(t,n,e,o){var s,l;let i;if(t&&"string"==typeof n["s-sn"]&&n["s-sr"]&&t.parentNode&&t.parentNode["s-sc"]&&(i=n["s-si"]||t.parentNode["s-sc"])){const t=n["s-sn"],r=n["s-hn"];if(null==(s=e.classList)||s.add(i+"-s"),o&&(null==(l=o.classList)?void 0:l.contains(i+"-s"))){let n=(o.__childNodes||o.childNodes)[0],e=!1;for(;n;){if(n["s-sn"]!==t&&n["s-hn"]===r&&n["s-sr"]){e=!0;break}n=n.nextSibling}e||o.classList.remove(i+"-s")}}}var Fn=(t,n)=>{if(n&&!t.F&&n["s-p"]){const e=n["s-p"].push(new Promise((o=>t.F=()=>{n["s-p"].splice(e-1,1),o()})))}},Un=(t,n)=>{if(t.u|=16,4&t.u)return void(t.u|=512);Fn(t,t.U);const e=()=>Dn(t,n);if(!n)return K(e);queueMicrotask((()=>{e()}))},Dn=(t,n)=>{const e=t.$hostElement$,o=t.i;if(!o)throw Error(`Can't render component <${e.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let s;return n?(t.D&&(t.D=!1,Jn(o,"connectedCallback",void 0,e)),t.u|=256,t._&&(t._.map((([t,n])=>Jn(o,t,n,e))),t._=void 0),t.P.length&&t.P.forEach((t=>t(e))),s=Jn(o,"componentWillLoad",void 0,e)):s=Jn(o,"componentWillUpdate",void 0,e),s=_n(s,(()=>Jn(o,"componentWillRender",void 0,e))),_n(s,(()=>Vn(t,o,n)))},_n=(t,n)=>Pn(t)?t.then(n).catch((t=>{console.error(t),n()})):n(),Pn=t=>t instanceof Promise||t&&t.then&&"function"==typeof t.then,Vn=async(t,n,e)=>{var o;const s=t.$hostElement$,l=s["s-rc"];e&&(t=>{const n=t.o,e=t.$hostElement$,o=n.u,s=Tt(e.shadowRoot?e.shadowRoot:e.getRootNode(),n,t.T);10&o&&(e["s-sc"]=s,e.classList.add(s+"-h"))})(t);Wn(t,n,s,e),l&&(l.map((t=>t())),s["s-rc"]=void 0);{const n=null!=(o=s["s-p"])?o:[],e=()=>Hn(t);0===n.length?e():(Promise.all(n).then(e).catch(e),t.u|=4,n.length=0)}},Wn=(t,n,e,o)=>{try{n=n.render&&n.render(),t.u&=-17,t.u|=2,((t,n,e=!1)=>{var o,s,l,i,r;const c=t.$hostElement$,u=t.o,f=t.V||Dt(null,null),a=(t=>t&&t.k===_t)(n)?n:Ut(null,null,n);if(en=c.tagName,u.W&&(a.j=a.j||{},u.W.forEach((([t,n])=>{a.j[n]=c[t]}))),e&&a.j)for(const t of Object.keys(a.j))c.hasAttribute(t)&&!["key","ref","style","class"].includes(t)&&(a.j[t]=c[t]);if(a.k=null,a.u|=4,t.V=a,a.C=f.C=c.shadowRoot||c,tn=c["s-sc"],$n=!(!(1&u.u)||128&u.u),nn=c["s-cr"],mn=!1,Mn(f,a,e),U.u|=1,gn){In(a.C);for(const t of Rn){const n=t.B;if(!n["s-ol"]&&A.document){const t=A.document.createTextNode("");t["s-nr"]=n,Bn(n.parentNode,n["s-ol"]=t,n,e)}}for(const t of Rn){const n=t.B,r=t.A;if(1===n.nodeType&&e&&(n["s-ih"]=null!=(o=n.hidden)&&o),r){const t=r.parentNode;let o=r.nextSibling;if(o&&1===o.nodeType){let e=null==(s=n["s-ol"])?void 0:s.previousSibling;for(;e;){let s=null!=(l=e["s-nr"])?l:null;if(s&&s["s-sn"]===n["s-sn"]&&t===(s.__parentNode||s.parentNode)){for(s=s.nextSibling;s===n||(null==s?void 0:s["s-sr"]);)s=null==s?void 0:s.nextSibling;if(!s||!s["s-nr"]){o=s;break}}e=e.previousSibling}}if((!o&&t!==(n.__parentNode||n.parentNode)||(n.__nextSibling||n.nextSibling)!==o)&&n!==o){if(Bn(t,n,o,e),8===n.nodeType&&n.nodeValue.startsWith("s-nt-")){const t=A.document.createTextNode(n.nodeValue.replace(/^s-nt-/,""));t["s-hn"]=n["s-hn"],t["s-sn"]=n["s-sn"],t["s-sh"]=n["s-sh"],t["s-sr"]=n["s-sr"],t["s-ol"]=n["s-ol"],t["s-ol"]["s-nr"]=t,Bn(n.parentNode,t,n,e),n.parentNode.removeChild(n)}1===n.nodeType&&"SLOT-FB"!==n.tagName&&(n.hidden=null!=(i=n["s-ih"])&&i)}n&&"function"==typeof r["s-rf"]&&r["s-rf"](r)}else 1===n.nodeType&&(n.hidden=!0)}}if(mn&&tt(a.C),U.u&=-2,Rn.length=0,!$n&&!(1&u.u)&&c["s-cr"]){const t=a.C.__childNodes||a.C.childNodes;for(const n of t)if(n["s-hn"]!==en&&!n["s-sh"])if(e&&null==n["s-ih"]&&(n["s-ih"]=null!=(r=n.hidden)&&r),1===n.nodeType)n.hidden=!0;else if(3===n.nodeType&&n.nodeValue.trim()){const t=A.document.createComment("s-nt-"+n.nodeValue);t["s-sn"]=n["s-sn"],Bn(n.parentNode,t,n,e),n.parentNode.removeChild(n)}}nn=void 0,wn.forEach((t=>t())),wn.length=0,jn.forEach((t=>t())),jn.length=0})(t,n,o)}catch(n){x(n,t.$hostElement$)}return null},Hn=t=>{const n=t.$hostElement$,e=t.i,o=t.U;Jn(e,"componentDidRender",void 0,n),64&t.u?Jn(e,"componentDidUpdate",void 0,n):(t.u|=64,Gn(n),Jn(e,"componentDidLoad",void 0,n),t.H(n),o||qn()),t.q(n),t.F&&(t.F(),t.F=void 0),512&t.u&&Y((()=>Un(t,!1))),t.u&=-517},zn=t=>{var n;{const e=O(t),o=null==(n=null==e?void 0:e.$hostElement$)?void 0:n.isConnected;return o&&2==(18&e.u)&&Un(e,!1),o}},qn=()=>{var t;Y((()=>rn(A,"appload",{detail:{namespace:"ionic"}}))),(null==(t=U.J)?void 0:t.size)&&U.J.clear()},Jn=(t,n,e,o)=>{if(t&&t[n])try{return t[n](e)}catch(t){x(t,o)}},Gn=t=>t.classList.add("hydrated"),Yn=(t,n,e,o)=>{const s=O(t);if(!s)return;if(!s)throw Error(`Couldn't find host element for "${o.p}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/stenciljs/core/issues/5457).`);const l=s.$hostElement$,i=s.l.get(n),r=s.u,c=s.i;if(e=on(e,o.t[n][0]),!(8&r&&void 0!==i||e===i||Number.isNaN(i)&&Number.isNaN(e))){if(s.l.set(n,e),o.G){const t=o.G[n];t&&t.map((t=>{try{const[[o,l]]=Object.entries(t);(128&r||1&l)&&(c?c[o](e,i,n):s.P.push((()=>{s.i[o](e,i,n)})))}catch(t){x(t,l)}}))}if(2&r){if(c.componentShouldUpdate&&!1===c.componentShouldUpdate(e,i,n)&&!(16&r))return;16&r||Un(s,!1)}}},Zn=(t,n,e)=>{var o,s;const l=t.prototype;{t.watchers&&!n.G&&(n.G=Qt(t.watchers)),t.deserializers&&!n.Y&&(n.Y=t.deserializers),t.serializers&&!n.Z&&(n.Z=t.serializers);const i=Object.entries(null!=(o=n.t)?o:{});if(i.map((([t,[o]])=>{if(31&o||2&e&&32&o){const{get:s,set:i}=y(l,t)||{};s&&(n.t[t][0]|=2048),i&&(n.t[t][0]|=4096),(1&e||!s)&&Object.defineProperty(l,t,{get(){{if(!(2048&n.t[t][0]))return((t,n)=>O(this).l.get(n))(0,t);const e=O(this),o=e?e.i:l;if(!o)return;return o[t]}},configurable:!0,enumerable:!0}),Object.defineProperty(l,t,{set(s){const l=O(this);if(l){if(i)return void 0===(32&o?this[t]:l.$hostElement$[t])&&l.l.get(t)&&(s=l.l.get(t)),i.call(this,on(s,o)),void Yn(this,t,s=32&o?this[t]:l.$hostElement$[t],n);{if(!(1&e&&4096&n.t[t][0]))return Yn(this,t,s,n),void(1&e&&!l.i&&l.P.push((()=>{4096&n.t[t][0]&&l.i[t]!==l.l.get(t)&&(l.i[t]=s)})));const i=()=>{const e=l.i[t];!l.l.get(t)&&e&&l.l.set(t,e),l.i[t]=on(s,o),Yn(this,t,l.i[t],n)};l.i?i():l.P.push((()=>{i()}))}}}})}else 1&e&&64&o&&Object.defineProperty(l,t,{value(...n){var e;const o=O(this);return null==(e=null==o?void 0:o.K)?void 0:e.then((()=>{var e;return null==(e=o.i)?void 0:e[t](...n)}))}})})),1&e){const e=new Map;l.attributeChangedCallback=function(t,o,s){U.jmp((()=>{var r;const c=e.get(t),u=O(this);if(this.hasOwnProperty(c)&&(s=this[c],delete this[c]),l.hasOwnProperty(c)&&"number"==typeof this[c]&&this[c]==s)return;if(null==c){const e=null==u?void 0:u.u;if(u&&e&&!(8&e)&&s!==o){const l=u.i,i=null==(r=n.G)?void 0:r[t];null==i||i.forEach((n=>{const[[i,r]]=Object.entries(n);null!=l[i]&&(128&e||1&r)&&l[i].call(l,s,o,t)}))}return}const f=i.find((([t])=>t===c)),a=f?f[1][0]:0,d=4&a;if(512&a&&8&a&&!Ft(this[c])&&(t=>null==t||!1===t?null:!0===t?"":t+"")(this[c])===s)return;const h=d&&null===s&&void 0===this[c];d&&(s=null!==s&&"false"!==s);const v=Object.getOwnPropertyDescriptor(l,c);h||s==this[c]||v.get&&!v.set||(this[c]=s)}))},t.observedAttributes=Array.from(new Set([...Object.keys(null!=(s=n.G)?s:{}),...i.filter((([t,n])=>31&n[0])).map((([t,o])=>{var s;const l=o[1]||t;return e.set(l,t),512&o[0]&&(null==(s=n.W)||s.push([t,l])),l}))]))}}return t},Kn=async(t,n,e)=>{var o;let s;try{if(!(32&n.u)){if(n.u|=32,n.u&=-1025,e.X){const l=((t,n)=>{var e;const o=t.p.replace(/-/g,"_"),s=t.X;if(!s)return;const l=E.get(s);if(l)return l[o];const i=null!=(e=k.get(s))?e:0,r=[i>0?"s-retry="+i:"",""].filter(Boolean).join("&");
5
5
  /*!__STENCIL_STATIC_IMPORT_SWITCH__*/
6
6
  return import(`./${s}.entry.js${r?"?"+r:""}`).then((t=>(k.delete(s),E.set(s,t),t[o])),(t=>{k.set(s,i+1),x(t,n.$hostElement$)}))})(e,n);if(l&&"then"in l){const t=()=>{};s=await l,t()}else s=l;if(!s)throw n.u&=-33,n.tt=(null!=(o=n.tt)?o:0)+1,n.tt<3&&(n.u|=1024),Error(`Constructor for "${e.p}#${n.T}" was not found`);s.isProxied||(e.G=Qt(s.watchers),e.Z=s.serializers,e.Y=s.deserializers,Zn(s,e,2),s.isProxied=!0);const i=()=>{};n.u|=8;try{new s(n)}catch(n){x(n,t)}n.u&=-9,n.u|=128,i(),4&e.u?n.D=!0:Qn(n.i,t)}else s=t.constructor,customElements.whenDefined(t.localName).then((()=>n.u|=128));if(s&&s.style){let o;"string"==typeof s.style?o=s.style:"string"!=typeof s.style&&(n.T=(t=>M.map((n=>n(t))).find((t=>!!t)))(t),n.T&&(o=s.style[n.T]));const l=Bt(e,n.T);if(!C.has(l)){const t=()=>{};Lt(l,o,!!(1&e.u)),t()}}}const l=n.U,i=()=>Un(n,!0);l&&l["s-rc"]?l["s-rc"].push(i):i()}catch(e){x(e,t),n.F&&(n.F(),n.F=void 0),!n.H||1024&n.u||n.H(t)}},Qn=(t,n)=>{Jn(t,"connectedCallback",void 0,n)},Xn=t=>{if(!A.document)return;const n=t["s-cr"]=A.document.createComment("");n["s-cn"]=!0,Bn(t,n,t.firstChild)},te=(t,n)=>{Jn(t,"disconnectedCallback",void 0,n||t)},ne=(t,n={})=>{var e;if(!A.document)return void console.warn("Stencil: No document found. Skipping bootstrapping lazy components.");const o=[],s=n.exclude||[],l=A.customElements,i=A.document.head,r=i.querySelector("meta[charset]"),c=A.document.createElement("style"),u=[];let f,a=!0;Object.assign(U,n),U.h=new URL(n.resourcesUrl||"./",A.document.baseURI).href,U.u|=2,(()=>{if(!A.document)return;const t=A.document.querySelectorAll(`[${I}]`);let n=0;for(;n<t.length;n++)Lt(t[n].getAttribute(I),At(t[n].innerHTML),!0)})();let d=!1;if(t.map((t=>{t[1].map((n=>{var e,i;const r={u:n[0],p:n[1],t:n[2],nt:n[3]};4&r.u&&(d=!0),r.t=n[2],r.nt=n[3],r.W=[],r.G=Qt(n[4]),r.Z=null!=(e=n[5])?e:{},r.Y=null!=(i=n[6])?i:{};const c=r.p,h=class extends HTMLElement{"s-p";"s-rc";hasRegisteredEventListeners=!1;constructor(t){if(super(t),((t,n)=>{const e={u:0,$hostElement$:t,o:n,l:new Map,et:new Map};e.K=new Promise((t=>e.q=t)),e.ot=new Promise((t=>e.H=t)),t["s-p"]=[],t["s-rc"]=[],e.P=[];const o=e;t.__stencil__getHostRef=()=>o})(t=this,r),1&r.u)if(t.shadowRoot){if("open"!==t.shadowRoot.mode)throw Error(`Unable to re-use existing shadow root for ${r.p}! Mode is set to ${t.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else X.call(t,r)}connectedCallback(){const t=O(this);t&&(this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0,oe(this,t,r.nt)),f&&(clearTimeout(f),f=null),a?u.push(this):U.jmp((()=>(t=>{if(!(1&U.u)){const n=O(t);if(!n)return;const e=n.o,o=()=>{};if(1&n.u)oe(t,n,e.nt),(null==n?void 0:n.i)?Qn(n.i,t):1024&n.u?setTimeout((()=>Kn(t,n,e)),1e3):(null==n?void 0:n.ot)&&n.ot.then((()=>Qn(n.i,t)));else{let o;if(n.u|=1,o=t.getAttribute(R),o){if(1&e.u){const n=Tt(t.shadowRoot,e,t.getAttribute("s-mode"));t.classList.remove(n+"-h",n+"-s")}else if(2&e.u){const n=Bt(e,t.getAttribute("s-mode"));t["s-sc"]=n}((t,n,e,o)=>{var s,l,i,r;const c=t.shadowRoot,u=[],f=[],a=[],d=c?[]:null,h=Dt(n,null);let v;h.C=t;{const n=o.o;n&&10&n.u&&t["s-sc"]?(v=t["s-sc"],t.classList.add(v+"-h")):t["s-sc"]&&delete t["s-sc"]}!A.document||U.J&&U.J.size||zt(A.document.body,U.J=new Map),t[R]=e,t.removeAttribute(R),o.V=Ht(h,u,f,d,t,t,e,a);let p=0;const b=u.length;let $;for(;p<b;p++){$=u[p];const e=$.M+"."+$.R,o=U.J.get(e),l=$.C;if(c){if((null==(s=$.k)?void 0:(""+s).includes("-"))&&"slot-fb"!==$.k&&!$.C.shadowRoot){const t=O($.C);if(t){const n=Bt(t.o,$.C.getAttribute("s-mode")),e=A.document.querySelector(`style[sty-id="${n}"]`);e&&d.unshift(e.cloneNode(!0))}}}else l["s-hn"]=n.toUpperCase(),"slot"===$.k&&(l["s-cr"]=t["s-cr"]);"slot"===$.k&&($.S=$.C["s-sn"]||$.C.name||null,$.O?($.u|=2,$.C.childNodes.length||$.O.forEach((t=>{$.C.appendChild(t.C)}))):$.u|=1),o&&o.isConnected&&(o.parentElement.shadowRoot&&""===o["s-en"]&&o.parentNode.insertBefore(l,o.nextSibling),o.parentNode.removeChild(o),c||(l["s-oo"]=parseInt($.R))),o&&!o["s-id"]&&U.J.delete(e)}const m=[],g=a.length;let y,w,j,N,S=0,x=0;for(;S<g;S++)if(y=a[S],y&&y.length)for(j=y.length,w=0;w<j;w++){if(N=y[w],m[N.hostId]||(m[N.hostId]=U.J.get(N.hostId)),!m[N.hostId])continue;const t=m[N.hostId];t.shadowRoot&&N.node.parentElement!==t&&t.insertBefore(N.node,null==(i=null==(l=y[w-1])?void 0:l.node)?void 0:i.nextSibling),t.shadowRoot&&c||(N.slot["s-cr"]||(N.slot["s-cr"]=t["s-cr"],N.slot["s-cr"]=!N.slot["s-cr"]&&t.shadowRoot?t:(t.__childNodes||t.childNodes)[0]),lt(N.node,N.slot,!1,N.node["s-oo"]||x),(null==(r=N.node.parentElement)?void 0:r.shadowRoot)&&N.node.getAttribute&&N.node.getAttribute("slot")&&N.node.removeAttribute("slot"),wt(N.node)),x=(N.node["s-oo"]||x)+1}if(v&&f.length&&f.forEach((t=>{t.C.parentElement.classList.add(v+"-s")})),c&&!c.childNodes.length){let n=0;const e=d.length;if(e){for(;n<e;n++){const t=d[n];t&&c.appendChild(t)}Array.from(t.childNodes).forEach((t=>{"string"!=typeof t["s-en"]&&"string"!=typeof t["s-sn"]&&(1===t.nodeType&&t.slot&&t.hidden?t.removeAttribute("hidden"):8!==t.nodeType||t.nodeValue||t.parentNode.removeChild(t))}))}}o.$hostElement$=t})(t,e.p,o,n)}o||12&e.u&&Xn(t);{let e=t;for(;e=e.parentNode||e.host;)if(1===e.nodeType&&e.hasAttribute("s-id")&&e["s-p"]||e["s-p"]){Fn(n,n.U=e);break}}e.t&&Object.entries(e.t).map((([n,[e]])=>{if(31&e&&Object.prototype.hasOwnProperty.call(t,n)){const e=t[n];delete t[n],t[n]=e}})),Kn(t,n,e)}o()}})(this))))}disconnectedCallback(){U.jmp((()=>(async t=>{if(!(1&U.u)){const n=O(t);(null==n?void 0:n.st)&&(n.st.map((t=>t())),n.st=void 0),(null==n?void 0:n.i)?te(n.i,t):(null==n?void 0:n.ot)&&n.ot.then((()=>te(n.i,t)))}It.has(t)&&It.delete(t),t.shadowRoot&&It.has(t.shadowRoot)&&It.delete(t.shadowRoot)})(this))),Y((()=>{var t;const n=O(this);if(!n)return;const e=u.findIndex((t=>t===this));e>-1&&u.splice(e,1),(null==(t=null==n?void 0:n.V)?void 0:t.C)instanceof Node&&!n.V.C.isConnected&&delete n.V.C}))}componentOnReady(){var t;return null==(t=O(this))?void 0:t.ot}};!(1&r.u)&&256&r.u?(t=>{ft(t),at(t),vt(t),ht(t),mt(t),pt(t),bt(t),$t(t),gt(t),yt(t),dt(t)})(h.prototype):ft(h.prototype),r.X=t[0],s.includes(c)||l.get(c)||(o.push(c),l.define(c,Zn(h,r,1)))}))})),o.length>0&&(d&&(c.textContent+=T),c.textContent+=o.sort()+"{visibility:hidden}.hydrated{visibility:inherit}",c.innerHTML.length)){c.setAttribute("data-styles","");const t=null!=(e=U.v)?e:Rt(A.document);null!=t&&c.setAttribute("nonce",t),i.insertBefore(c,r?r.nextSibling:i.firstChild)}a=!1,u.length?u.map((t=>t.connectedCallback())):U.jmp((()=>f=setTimeout(qn,30)))},ee=(t,n)=>n,oe=(t,n,e)=>{e&&A.document&&e.map((([e,o,s])=>{const l=le(A.document,t,e),i=se(n,s),r=ie(e);U.ael(l,o,i,r),(n.st=n.st||[]).push((()=>U.rel(l,o,i,r)))}))},se=(t,n)=>e=>{var o;try{256&t.u?null==(o=t.i)||o[n](e):(t._=t._||[]).push([n,e])}catch(n){x(n,t.$hostElement$)}},le=(t,n,e)=>4&e?t:8&e?A:16&e?t.body:n,ie=t=>({passive:!!(1&t),capture:!!(2&t)}),re=t=>U.v=t;export{v as B,ee as F,F as H,c as L,Z as a,ne as b,ln as c,_t as d,n as e,a as f,sn as g,Ut as h,zn as i,d as j,Q as k,s as l,e as m,o as n,Kt as o,D as p,Zt as q,N as r,re as s,h as t,K as w}
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * (C) Ionic http://ionicframework.com - MIT License
3
+ */
4
+ import{j as r}from"./p-C23AVPx9.js";const t=(t,o,e)=>{const i=null==t?0:t.toString().length,c=n(i,o);if(void 0===e)return c;try{return e(i,o)}catch(t){return r("[ion-input] - Exception in provided `counterFormatter`:",t),c}},n=(r,t)=>`${r} / ${t}`;export{t as g}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * (C) Ionic http://ionicframework.com - MIT License
3
3
  */
4
- import{w as o,d as t}from"./p-ZjP4CjeZ.js";import{g as n,h as i,a as r}from"./p-BpG7jkT9.js";import{f as e,m as a,c as s}from"./p-06ZcwRF5.js";import{a as d,K as c}from"./p-BMPN55of.js";import"./p-h81G-QbJ.js";import"./p-Dojwmvde.js";import"./p-CIGNaXM1.js";const l=new WeakMap,u=(o,t,n,i=0,r=!1)=>{l.has(o)!==n&&(n?f(o,t,i,r):p(o,t))},f=(o,t,n,i=!1)=>{const r=t.parentNode,e=t.cloneNode(!1);e.classList.add("cloned-input"),e.tabIndex=-1,i&&(e.disabled=!0);const a="rtl"===o.ownerDocument.dir;e.style.insetInlineStart=a?r.offsetWidth-t.offsetLeft-t.offsetWidth+"px":`${t.offsetLeft}px`,r.appendChild(e),l.set(o,e);const s=a?9999:-9999;o.style.pointerEvents="none",t.style.transform=`translate3d(${s}px,${n}px,0) scale(0)`},p=(o,t)=>{const n=l.get(o);n&&(l.delete(o),n.remove()),o.style.pointerEvents="",t.style.transform=""},w="input, textarea, [no-blur], [contenteditable]",m="$ionPaddingTimer",h=(o,t,n)=>{const i=o[m];i&&clearTimeout(i),t>0?o.style.setProperty("--keyboard-offset",`${t}px`):o[m]=setTimeout((()=>{o.style.setProperty("--keyboard-offset","0px"),n&&n()}),120)},b=(o,t,n)=>{o.addEventListener("focusout",(()=>{t&&h(t,0,n)}),{once:!0})};let y=0;const S="data-ionic-skip-scroll-assist",D=o=>{if(document.activeElement===o)return;const t=o.getAttribute("id"),n=o.closest(`label[for="${t}"]`),i=document.activeElement?.closest(`label[for="${t}"]`);null!==n&&n===i||(o.setAttribute(S,"true"),o.focus())},M=async(o,t,r,e,a,s,d=!1,c=0,l=!0)=>{if(!r&&!e)return;const f=((o,t,n,i)=>((o,t,n,i)=>{const r=o.top,e=o.bottom,a=t.top,s=a+15,d=Math.min(t.bottom,i-n)-50-e,c=s-r,l=Math.round(d<0?-d:c>0?-c:0),u=Math.min(l,r-a),f=Math.abs(u);return{scrollAmount:u,scrollDuration:Math.min(400,Math.max(150,f/.3)),scrollPadding:n,inputSafeY:4-(r-s)}})((o.closest("ion-item,[ion-item]")??o).getBoundingClientRect(),t.getBoundingClientRect(),n,i))(o,r||e,a,c);if(r&&Math.abs(f.scrollAmount)<4)return D(t),void(s&&null!==r&&(h(r,y),b(t,r,(()=>y=0))));if(u(o,t,!0,f.inputSafeY,d),D(t),s&&r&&(y=f.scrollPadding,h(r,y)),"undefined"!=typeof window){let e;const a=async()=>{void 0!==e&&clearTimeout(e),window.removeEventListener("ionKeyboardDidShow",d),window.removeEventListener("ionKeyboardDidShow",a),r&&await i(r,0,f.scrollAmount,f.scrollDuration),u(o,t,!1,f.inputSafeY),document.activeElement===t&&D(t),s&&b(t,r,(()=>y=0))},d=()=>{window.removeEventListener("ionKeyboardDidShow",d),window.addEventListener("ionKeyboardDidShow",a)};if(r){const o=await n(r);if(l&&f.scrollAmount>o.scrollHeight-o.clientHeight-o.scrollTop)return"password"===t.type?(f.scrollAmount+=50,window.addEventListener("ionKeyboardDidShow",d)):window.addEventListener("ionKeyboardDidShow",a),void(e=setTimeout(a,1e3))}a()}},j=async(n,i)=>{if(void 0===t)return;const l="ios"===i,f="android"===i,p=n.getNumber("keyboardHeight",290),m=n.getBoolean("scrollAssist",!0),h=n.getBoolean("hideCaretOnScroll",l),b=n.getBoolean("inputBlurring",!1),y=n.getBoolean("scrollPadding",!0),D=Array.from(t.querySelectorAll("ion-input, ion-textarea")),j=new WeakMap,x=new WeakMap,K=await c.getResizeMode(),v=async t=>{await new Promise((o=>s(t,o)));const n=t.shadowRoot||t,i=n.querySelector("input")||n.querySelector("textarea"),c=r(t),l=c?null:t.closest("ion-footer");if(i){if(c&&h&&!j.has(t)){const o=((o,t,n)=>{if(!n||!t)return()=>{};const i=n=>{var i;(i=t)===i.getRootNode().activeElement&&u(o,t,n)},r=()=>u(o,t,!1),s=()=>i(!0),d=()=>i(!1);return e(n,"ionScrollStart",s),e(n,"ionScrollEnd",d),t.addEventListener("blur",r),()=>{a(n,"ionScrollStart",s),a(n,"ionScrollEnd",d),t.removeEventListener("blur",r)}})(t,i,c);j.set(t,o)}if("date"!==i.type&&"datetime-local"!==i.type&&(c||l)&&m&&!x.has(t)){const n=((t,n,i,r,e,a,s,c=!1)=>{const l=a&&(void 0===s||s.mode===d.None);let u=!1;const f=void 0!==o?o.innerHeight:0,p=o=>{!1!==u?M(t,n,i,r,o.detail.keyboardHeight,l,c,f,!1):u=!0},w=()=>{u=!1,o?.removeEventListener("ionKeyboardDidShow",p),t.removeEventListener("focusout",w)},m=async()=>{n.hasAttribute(S)?n.removeAttribute(S):(M(t,n,i,r,e,l,c,f),o?.addEventListener("ionKeyboardDidShow",p),t.addEventListener("focusout",w))};return t.addEventListener("focusin",m),()=>{t.removeEventListener("focusin",m),o?.removeEventListener("ionKeyboardDidShow",p),t.removeEventListener("focusout",w)}})(t,i,c,l,p,y,K,f);x.set(t,n)}}};b&&(()=>{let o=!0,t=!1;const n=document;e(n,"ionScrollStart",(()=>{t=!0})),n.addEventListener("focusin",(()=>{o=!0}),!0),n.addEventListener("touchend",(i=>{if(t)return void(t=!1);const r=n.activeElement;if(!r)return;if(r.matches(w))return;const e=i.target;e!==r&&(e.matches(w)||e.closest(w)||(o=!1,setTimeout((()=>{o||r.blur()}),50)))}),!1)})();for(const o of D)v(o);t.addEventListener("ionInputDidLoad",(o=>{v(o.detail)})),t.addEventListener("ionInputDidUnload",(o=>{(o=>{if(h){const t=j.get(o);t&&t(),j.delete(o)}if(m){const t=x.get(o);t&&t(),x.delete(o)}})(o.detail)}))};export{j as startInputShims}
4
+ import{w as o,d as t}from"./p-ZjP4CjeZ.js";import{g as n,h as i,a as r}from"./p-Bd72UYI2.js";import{f as e,m as a,c as s}from"./p-CFuOr1Tu.js";import{a as d,K as c}from"./p-BMPN55of.js";import"./p-C23AVPx9.js";import"./p-Dojwmvde.js";import"./p-CIGNaXM1.js";const u=new WeakMap,l=(o,t,n,i=0,r=!1)=>{u.has(o)!==n&&(n?f(o,t,i,r):p(o,t))},f=(o,t,n,i=!1)=>{const r=t.parentNode,e=t.cloneNode(!1);e.classList.add("cloned-input"),e.tabIndex=-1,i&&(e.disabled=!0);const a="rtl"===o.ownerDocument.dir;e.style.insetInlineStart=a?r.offsetWidth-t.offsetLeft-t.offsetWidth+"px":`${t.offsetLeft}px`,r.appendChild(e),u.set(o,e);const s=a?9999:-9999;o.style.pointerEvents="none",t.style.transform=`translate3d(${s}px,${n}px,0) scale(0)`},p=(o,t)=>{const n=u.get(o);n&&(u.delete(o),n.remove()),o.style.pointerEvents="",t.style.transform=""},w="input, textarea, [no-blur], [contenteditable]",m="$ionPaddingTimer",h=(o,t,n)=>{const i=o[m];i&&clearTimeout(i),t>0?o.style.setProperty("--keyboard-offset",`${t}px`):o[m]=setTimeout((()=>{o.style.setProperty("--keyboard-offset","0px"),n&&n()}),120)},y=(o,t,n)=>{o.addEventListener("focusout",(()=>{t&&h(t,0,n)}),{once:!0})};let S=0;const b="data-ionic-skip-scroll-assist",D=o=>{if(document.activeElement===o)return;const t=o.getAttribute("id"),n=o.closest(`label[for="${t}"]`),i=document.activeElement?.closest(`label[for="${t}"]`);null!==n&&n===i||(o.setAttribute(b,"true"),o.focus())},M=async(o,t,r,e,a,s,d=!1,c=0,u=!0)=>{if(!r&&!e)return;const f=((o,t,n,i)=>((o,t,n,i)=>{const r=o.top,e=o.bottom,a=t.top,s=a+15,d=Math.min(t.bottom,i-n)-50-e,c=s-r,u=Math.round(d<0?-d:c>0?-c:0),l=Math.min(u,r-a),f=Math.abs(l);return{scrollAmount:l,scrollDuration:Math.min(400,Math.max(150,f/.3)),scrollPadding:n,inputSafeY:4-(r-s)}})((o.closest("ion-item,[ion-item]")??o).getBoundingClientRect(),t.getBoundingClientRect(),n,i))(o,r||e,a,c);if(r&&Math.abs(f.scrollAmount)<4)return D(t),void(s&&null!==r&&(h(r,S),y(t,r,(()=>S=0))));if(l(o,t,!0,f.inputSafeY,d),D(t),s&&r&&(S=f.scrollPadding,h(r,S)),"undefined"!=typeof window){let e;const a=async()=>{void 0!==e&&clearTimeout(e),window.removeEventListener("ionKeyboardDidShow",d),window.removeEventListener("ionKeyboardDidShow",a),r&&await i(r,0,f.scrollAmount,f.scrollDuration),l(o,t,!1,f.inputSafeY),document.activeElement===t&&D(t),s&&y(t,r,(()=>S=0))},d=()=>{window.removeEventListener("ionKeyboardDidShow",d),window.addEventListener("ionKeyboardDidShow",a)};if(r){const o=await n(r);if(u&&f.scrollAmount>o.scrollHeight-o.clientHeight-o.scrollTop)return"password"===t.type?(f.scrollAmount+=50,window.addEventListener("ionKeyboardDidShow",d)):window.addEventListener("ionKeyboardDidShow",a),void(e=setTimeout(a,1e3))}a()}},x=async(n,i)=>{if(void 0===t)return;const u="ios"===i,f="android"===i,p=n.getNumber("keyboardHeight",290),m=n.getBoolean("scrollAssist",!0),h=n.getBoolean("hideCaretOnScroll",u),y=n.getBoolean("inputBlurring",!1),S=n.getBoolean("scrollPadding",!0),D=Array.from(t.querySelectorAll("ion-input, ion-textarea")),x=new WeakMap,j=new WeakMap,K=await c.getResizeMode(),v=async t=>{await new Promise((o=>s(t,o)));const n=t.shadowRoot||t,i=n.querySelector("input")||n.querySelector("textarea"),c=r(t),u=c?null:t.closest("ion-footer");if(i){if(c&&h&&!x.has(t)){const o=((o,t,n)=>{if(!n||!t)return()=>{};const i=n=>{var i;(i=t)===i.getRootNode().activeElement&&l(o,t,n)},r=()=>l(o,t,!1),s=()=>i(!0),d=()=>i(!1);return e(n,"ionScrollStart",s),e(n,"ionScrollEnd",d),t.addEventListener("blur",r),()=>{a(n,"ionScrollStart",s),a(n,"ionScrollEnd",d),t.removeEventListener("blur",r)}})(t,i,c);x.set(t,o)}if("date"!==i.type&&"datetime-local"!==i.type&&(c||u)&&m&&!j.has(t)){const n=((t,n,i,r,e,a,s,c=!1)=>{const u=a&&(void 0===s||s.mode===d.None);let l=!1;const f=void 0!==o?o.innerHeight:0,p=o=>{!1!==l?M(t,n,i,r,o.detail.keyboardHeight,u,c,f,!1):l=!0},w=()=>{l=!1,o?.removeEventListener("ionKeyboardDidShow",p),t.removeEventListener("focusout",w)},m=async()=>{n.hasAttribute(b)?n.removeAttribute(b):(M(t,n,i,r,e,u,c,f),o?.addEventListener("ionKeyboardDidShow",p),t.addEventListener("focusout",w))};return t.addEventListener("focusin",m),()=>{t.removeEventListener("focusin",m),o?.removeEventListener("ionKeyboardDidShow",p),t.removeEventListener("focusout",w)}})(t,i,c,u,p,S,K,f);j.set(t,n)}}};y&&(()=>{let o=!0,t=!1;const n=document;e(n,"ionScrollStart",(()=>{t=!0})),n.addEventListener("focusin",(()=>{o=!0}),!0),n.addEventListener("touchend",(i=>{if(t)return void(t=!1);const r=n.activeElement;if(!r)return;if(r.matches(w))return;const e=i.target;e!==r&&(e.matches(w)||e.closest(w)||(o=!1,setTimeout((()=>{o||r.blur()}),50)))}),!1)})();for(const o of D)v(o);t.addEventListener("ionInputDidLoad",(o=>{v(o.detail)})),t.addEventListener("ionInputDidUnload",(o=>{(o=>{if(h){const t=x.get(o);t&&t(),x.delete(o)}if(m){const t=j.get(o);t&&t(),j.delete(o)}})(o.detail)}))};export{x as startInputShims}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * (C) Ionic http://ionicframework.com - MIT License
3
3
  */
4
- import{j as a}from"./p-h81G-QbJ.js";import{i}from"./p-Dojwmvde.js";const r=(a,i=0)=>new Promise((r=>{e(a,i,r)})),e=(a,i=0,r)=>{let e,t;const n={passive:!0},o=()=>{e&&e()},s=i=>{void 0!==i&&a!==i.target||(o(),r(i))};return a&&(a.addEventListener("webkitTransitionEnd",s,n),a.addEventListener("transitionend",s,n),t=setTimeout(s,i+500),e=()=>{void 0!==t&&(clearTimeout(t),t=void 0),a.removeEventListener("webkitTransitionEnd",s,n),a.removeEventListener("transitionend",s,n)}),o},t=(a,i)=>{a.componentOnReady?a.componentOnReady().then((a=>i(a))):m((()=>i(a)))},n=a=>void 0!==a.componentOnReady,o=(a,i=[])=>{const r={};return i.forEach((i=>{a.hasAttribute(i)&&(null!==a.getAttribute(i)&&(r[i]=a.getAttribute(i)),a.removeAttribute(i))})),r},s=["role","aria-activedescendant","aria-atomic","aria-autocomplete","aria-braillelabel","aria-brailleroledescription","aria-busy","aria-checked","aria-colcount","aria-colindex","aria-colindextext","aria-colspan","aria-controls","aria-current","aria-describedby","aria-description","aria-details","aria-disabled","aria-errormessage","aria-expanded","aria-flowto","aria-haspopup","aria-hidden","aria-invalid","aria-keyshortcuts","aria-label","aria-labelledby","aria-level","aria-live","aria-multiline","aria-multiselectable","aria-orientation","aria-owns","aria-placeholder","aria-posinset","aria-pressed","aria-readonly","aria-relevant","aria-required","aria-roledescription","aria-rowcount","aria-rowindex","aria-rowindextext","aria-rowspan","aria-selected","aria-setsize","aria-sort","aria-valuemax","aria-valuemin","aria-valuenow","aria-valuetext"],l=a=>o(a,s),u=(a,i,r,e)=>a.addEventListener(i,r,e),d=(a,i,r,e)=>a.removeEventListener(i,r,e),c=(a,i=a)=>a.shadowRoot||i,m=a=>"function"==typeof __zone_symbol__requestAnimationFrame?__zone_symbol__requestAnimationFrame(a):"function"==typeof requestAnimationFrame?requestAnimationFrame(a):setTimeout(a),p=a=>!!a.shadowRoot&&!!a.attachShadow,f=a=>{if(a.focus(),a.classList.contains("ion-focusable")){const i=a.closest("ion-app");i&&i.setFocus([a])}},b=(a,i,r,e,t)=>{{let a=i.querySelector("input.aux-input");a||(a=i.ownerDocument.createElement("input"),a.type="hidden",a.classList.add("aux-input"),i.appendChild(a)),a.disabled=t,a.name=r,a.value=e||""}},v=(a,i,r)=>Math.max(a,Math.min(i,r)),w=(i,r)=>{if(!i){const i="ASSERT: "+r;throw a(i),new Error(i)}},x=a=>{if(a){const i=a.changedTouches;if(i&&i.length>0){const a=i[0];return{x:a.clientX,y:a.clientY}}if(void 0!==a.pageX)return{x:a.pageX,y:a.pageY}}return{x:0,y:0}},h=(a,r)=>{const e=i(r);switch(a){case"start":return e;case"end":return!e;default:throw new Error(`"${a}" is not a valid value for [side]. Use "start" or "end" instead.`)}},y=(a,i)=>{const r=a._original||a;return{_original:a,emit:_(r.emit.bind(r),i)}},_=(a,i=0)=>{let r;return(...e)=>{clearTimeout(r),r=setTimeout(a,i,...e)}},T=(a,i)=>{if(a??={},i??={},a===i)return!0;const r=Object.keys(a);if(r.length!==Object.keys(i).length)return!1;for(const e of r){if(!(e in i))return!1;if(a[e]!==i[e])return!1}return!0},j=a=>"number"==typeof a&&!isNaN(a)&&isFinite(a);export{b as a,o as b,t as c,y as d,v as e,u as f,c as g,n as h,l as i,j,p as k,w as l,d as m,f as n,h as o,_ as p,x as q,m as r,T as s,r as t}
4
+ import{j as a}from"./p-C23AVPx9.js";import{i}from"./p-Dojwmvde.js";const r=(a,i=0)=>new Promise((r=>{e(a,i,r)})),e=(a,i=0,r)=>{let e,t;const n={passive:!0},o=()=>{e&&e()},s=i=>{void 0!==i&&a!==i.target||(o(),r(i))};return a&&(a.addEventListener("webkitTransitionEnd",s,n),a.addEventListener("transitionend",s,n),t=setTimeout(s,i+500),e=()=>{void 0!==t&&(clearTimeout(t),t=void 0),a.removeEventListener("webkitTransitionEnd",s,n),a.removeEventListener("transitionend",s,n)}),o},t=(a,i)=>{a.componentOnReady?a.componentOnReady().then((a=>i(a))):m((()=>i(a)))},n=a=>void 0!==a.componentOnReady,o=(a,i=[])=>{const r={};return i.forEach((i=>{a.hasAttribute(i)&&(null!==a.getAttribute(i)&&(r[i]=a.getAttribute(i)),a.removeAttribute(i))})),r},s=["role","aria-activedescendant","aria-atomic","aria-autocomplete","aria-braillelabel","aria-brailleroledescription","aria-busy","aria-checked","aria-colcount","aria-colindex","aria-colindextext","aria-colspan","aria-controls","aria-current","aria-describedby","aria-description","aria-details","aria-disabled","aria-errormessage","aria-expanded","aria-flowto","aria-haspopup","aria-hidden","aria-invalid","aria-keyshortcuts","aria-label","aria-labelledby","aria-level","aria-live","aria-multiline","aria-multiselectable","aria-orientation","aria-owns","aria-placeholder","aria-posinset","aria-pressed","aria-readonly","aria-relevant","aria-required","aria-roledescription","aria-rowcount","aria-rowindex","aria-rowindextext","aria-rowspan","aria-selected","aria-setsize","aria-sort","aria-valuemax","aria-valuemin","aria-valuenow","aria-valuetext"],l=a=>o(a,s),u=(a,i,r,e)=>a.addEventListener(i,r,e),d=(a,i,r,e)=>a.removeEventListener(i,r,e),c=(a,i=a)=>a.shadowRoot||i,m=a=>"function"==typeof __zone_symbol__requestAnimationFrame?__zone_symbol__requestAnimationFrame(a):"function"==typeof requestAnimationFrame?requestAnimationFrame(a):setTimeout(a),p=a=>!!a.shadowRoot&&!!a.attachShadow,f=a=>{if(a.focus(),a.classList.contains("ion-focusable")){const i=a.closest("ion-app");i&&i.setFocus([a])}},b=(a,i,r,e,t)=>{{let a=i.querySelector("input.aux-input");a||(a=i.ownerDocument.createElement("input"),a.type="hidden",a.classList.add("aux-input"),i.appendChild(a)),a.disabled=t,a.name=r,a.value=e||""}},v=(a,i,r)=>Math.max(a,Math.min(i,r)),w=(i,r)=>{if(!i){const i="ASSERT: "+r;throw a(i),new Error(i)}},x=a=>{if(a){const i=a.changedTouches;if(i&&i.length>0){const a=i[0];return{x:a.clientX,y:a.clientY}}if(void 0!==a.pageX)return{x:a.pageX,y:a.pageY}}return{x:0,y:0}},y=(a,r)=>{const e=i(r);switch(a){case"start":return e;case"end":return!e;default:throw new Error(`"${a}" is not a valid value for [side]. Use "start" or "end" instead.`)}},h=(a,i)=>{const r=a._original||a;return{_original:a,emit:_(r.emit.bind(r),i)}},_=(a,i=0)=>{let r;return(...e)=>{clearTimeout(r),r=setTimeout(a,i,...e)}},T=(a,i)=>{if(a??={},i??={},a===i)return!0;const r=Object.keys(a);if(r.length!==Object.keys(i).length)return!1;for(const e of r){if(!(e in i))return!1;if(a[e]!==i[e])return!1}return!0},j=a=>"number"==typeof a&&!isNaN(a)&&isFinite(a);export{b as a,o as b,t as c,h as d,v as e,u as f,c as g,n as h,l as i,j,p as k,w as l,d as m,f as n,y as o,_ as p,x as q,m as r,T as s,r as t}
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * (C) Ionic http://ionicframework.com - MIT License
3
+ */
4
+ import{e as t}from"./p-CFuOr1Tu.js";import{i as o}from"./p-Dojwmvde.js";import{createGesture as r}from"./p-D0YpjgON.js";import"./p-C23AVPx9.js";import"./p-B_gJaBk0.js";const s=(s,e,n,p,a)=>{const i=s.ownerDocument.defaultView;let m=o(s);const c=t=>m?-t.deltaX:t.deltaX;return r({el:s,gestureName:"goback-swipe",gesturePriority:101,threshold:10,canStart:t=>(m=o(s),(t=>{const{startX:o}=t;return m?o>=i.innerWidth-50:o<=50})(t)&&e()),onStart:n,onMove:t=>{const o=c(t);p(o/i.innerWidth)},onEnd:o=>{const r=c(o),s=i.innerWidth,e=r/s,n=(t=>m?-t.velocityX:t.velocityX)(o),p=n>=0&&(n>.2||r>s/2),j=(p?1-e:e)*s;let u=0;if(j>5){const t=j/Math.abs(n);u=Math.min(t,540)}a(p,e<=0?.01:t(0,e,.9999),u)}})};export{s as createSwipeBackGesture}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * (C) Ionic http://ionicframework.com - MIT License
3
3
  */
4
- import{d as n}from"./p-ZjP4CjeZ.js";import{j as e,c as o,g as t,a as i,b as a}from"./p-mXsQnyWB.js";import{OVERLAY_BACK_BUTTON_PRIORITY as s,shouldUseCloseWatcher as d}from"./p-BE9noJ1O.js";import{c as r,j as c,f as l}from"./p-CpYeYl3u.js";import{b as u}from"./p-C8mPeq0D.js";import{C as m}from"./p-BcuLPPAE.js";import{B as p}from"./p-B_gJaBk0.js";const f='[tabindex]:not([tabindex^="-"]):not([hidden]):not([disabled]), input:not([type=hidden]):not([tabindex^="-"]):not([hidden]):not([disabled]), textarea:not([tabindex^="-"]):not([hidden]):not([disabled]), button:not([tabindex^="-"]):not([hidden]):not([disabled]), select:not([tabindex^="-"]):not([hidden]):not([disabled]), ion-checkbox:not([tabindex^="-"]):not([hidden]):not([disabled]), ion-radio:not([tabindex^="-"]):not([hidden]):not([disabled]), .ion-focusable:not([tabindex^="-"]):not([hidden]):not([disabled]), .ion-focusable[disabled="false"]:not([tabindex^="-"]):not([hidden])',h=(n,e)=>{const o=n.querySelector(f);v(o,e??n)},b=(n,e)=>{const o=Array.from(n.querySelectorAll(f));v(o.length>0?o[o.length-1]:null,e??n)},v=(n,o)=>{let t=n;const i=n?.shadowRoot;if(i&&(t=i.querySelector(f)||n),t){const n=t.closest("ion-radio-group");n?n.setFocus():e(t)}else o.focus()};let y=0,w=0;const g=new WeakMap,x=n=>"ION-TOAST"!==n.tagName&&!1!==n.focusTrap&&(n=>!1!==n.showBackdrop&&!((n.backdropBreakpoint??0)>0))(n),j=n=>({create:e=>I(n,e),dismiss:(e,o,t)=>N(document,e,o,n,t),getTop:async()=>M(document,n)}),k=j("ion-alert"),O=j("ion-action-sheet"),T=j("ion-loading"),B=j("ion-modal"),C=j("ion-popover"),A=j("ion-toast"),P=n=>{"undefined"!=typeof document&&E(document);const e=y++;n.overlayIndex=e},D=n=>(n.hasAttribute("id")||(n.id="ion-overlay-"+ ++w),n.id),I=(n,e)=>"undefined"!=typeof window&&void 0!==window.customElements?window.customElements.whenDefined(n).then((()=>{const t=document.createElement(n);return t.classList.add("overlay-hidden"),Object.assign(t,{...e,hasController:!0}),Z(document).appendChild(t),new Promise((n=>o(t,n)))})):Promise.resolve(),S=(n,o)=>{let t=n;const i=n?.shadowRoot;i&&(t=i.querySelector(f)||n),t?e(t):o.focus()},E=n=>{0===y&&(y=1,n.addEventListener("focus",(e=>{((n,e)=>{const o=M(e,"ion-alert,ion-action-sheet,ion-loading,ion-modal,ion-popover"),i=n.target;o&&i&&(o.classList.contains(tn)||(o.shadowRoot?(()=>{if(o.contains(i))o.lastFocus=i;else if("ION-TOAST"===i.tagName)S(o.lastFocus,o);else{const n=o.lastFocus;h(o),n===e.activeElement&&b(o),o.lastFocus=e.activeElement}})():(()=>{if(o===i)o.lastFocus=void 0;else if("ION-TOAST"===i.tagName)S(o.lastFocus,o);else{const n=t(o);if(!n.contains(i))return;const a=n.querySelector(".ion-overlay-wrapper");if(!a)return;if(a.contains(i)||i===n.querySelector("ion-backdrop"))o.lastFocus=i;else{const n=o.lastFocus;h(a,o),n===e.activeElement&&b(a,o),o.lastFocus=e.activeElement}}})()))})(e,n)}),!0),n.addEventListener("ionBackButton",(e=>{const o=M(n);o?.backdropDismiss&&e.detail.register(s,(()=>{o.dismiss(void 0,R)}))})),d()||n.addEventListener("keydown",(e=>{if("Escape"===e.key){const e=M(n);e?.backdropDismiss&&e.dismiss(void 0,R)}})))},N=(n,e,o,t,i)=>{const a=M(n,t,i);return a?a.dismiss(e,o):Promise.reject("overlay does not exist")},L=(n,e)=>((n,e)=>(void 0===e&&(e="ion-alert,ion-action-sheet,ion-loading,ion-modal,ion-popover,ion-toast"),Array.from(n.querySelectorAll(e)).filter((n=>n.overlayIndex>0))))(n,e).filter((n=>!n.classList.contains("overlay-hidden"))),M=(n,e,o)=>{const t=L(n,e);return(void 0===o?t:t.filter((n=>n.id===o))).slice(-1)[0]},$=()=>Z(document).querySelector("ion-router-outlet, #ion-view-container-root"),q=(n=!1)=>{const e=$();e&&(n?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden"))},F=()=>{"undefined"!=typeof document&&(L(document).some((n=>x(n)))||(q(!1),document.body.classList.remove(p)))},G=n=>{$()?.contains(n)||q(!0),document.body.classList.add(p)},J=n=>{if("undefined"==typeof document)return;const e=n;x(e)&&G(e)},V=async(n,e,o,i,a)=>{if(n.presented)return;"ION-TOAST"!==n.el.tagName&&W(n.el);const s=n.el,d=x(s);n.presented=!0,n.willPresent.emit(),d&&G(s),n.willPresentShorthand?.emit();const c=u(n),l=n.enterAnimation?n.enterAnimation:r.get(e,"ios"===c?o:i);if(await _(n,l,n.el,a)&&(n.didPresent.emit(),n.didPresentShorthand?.emit()),n.keyboardClose&&(null===document.activeElement||!n.el.contains(document.activeElement))){const e=t(n.el).querySelector('[role="dialog"][tabindex]')??n.el;try{e.focus({preventScroll:!0})}catch{e.focus()}}n.el.removeAttribute("aria-hidden"),n.el.removeAttribute("inert")},W=async n=>{let e=document.activeElement;if(!e)return;e.blur();const o=e?.shadowRoot;o&&(e=o.querySelector(f)||e),await n.onDidDismiss(),null!==document.activeElement&&document.activeElement!==document.body||e.focus()},Y=async(e,o,t,i,a,s,d)=>{if(!e.presented)return!1;const l=(void 0!==n?L(n):[]).filter((n=>x(n))),m=e.el;x(m)&&1===l.length&&l[0].id===m.id&&(q(!1),document.body.classList.remove(p)),e.presented=!1;try{e.el.style.setProperty("pointer-events","none"),e.willDismiss.emit({data:o,role:t}),e.willDismissShorthand?.emit({data:o,role:t});const n=u(e),c=e.leaveAnimation?e.leaveAnimation:r.get(i,"ios"===n?a:s);t!==U&&await _(e,c,e.el,d),e.didDismiss.emit({data:o,role:t}),e.didDismissShorthand?.emit({data:o,role:t}),(g.get(e)||[]).forEach((n=>n.destroy())),g.delete(e),e.el.classList.add("overlay-hidden"),e.el.style.removeProperty("pointer-events"),void 0!==e.el.lastFocus&&(e.el.lastFocus=void 0)}catch(n){c(`[${e.el.tagName.toLowerCase()}] - `,n)}return e.el.remove(),!0},Z=n=>n.querySelector("ion-app")||n.body,_=async(n,e,o,t)=>{o.classList.remove("overlay-hidden");const i=e(n.el,t);n.animated&&r.getBoolean("animated",!0)||i.duration(0),n.keyboardClose&&i.beforeAddWrite((()=>{const n=o.ownerDocument.activeElement;n?.matches("input,ion-input, ion-textarea")&&n.blur()}));const a=g.get(n)||[];return g.set(n,[...a,i]),await i.play(),!0},z=(n,e)=>{let o;const t=new Promise((n=>o=n));return Q(n,e,(n=>{o(n.detail)})),t},Q=(n,e,o)=>{const t=i=>{a(n,e,t),o(i)};i(n,e,t)},X=n=>"cancel"===n||n===R,H=n=>n(),K=(n,e)=>{if("function"==typeof n)return r.get("_zoneGate",H)((()=>{try{return n(e)}catch(n){throw n}}))},R="backdrop",U="gesture",nn=39,en=n=>{let e,o=!1;const t=m(),i=(i=!1)=>{if(e&&!i)return{delegate:e,inline:o};const{el:a,hasController:s,delegate:d}=n;return o=null!==a.parentNode&&!s,e=o?d||t:d,{inline:o,delegate:e}};return{attachViewToDom:async e=>{const{delegate:o}=i(!0);if(o)return await o.attachViewToDom(n.el,e);const{hasController:t}=n;if(t&&void 0!==e)throw new Error("framework delegate is missing");return null},removeViewFromDom:()=>{const{delegate:e}=i();e&&void 0!==n.el&&e.removeViewFromDom(n.el.parentElement,n.el)}}},on=()=>{let n;const e=()=>{n&&(n(),n=void 0)};return{addClickListener:(o,t)=>{e();const i=void 0!==t?document.getElementById(t):null;i?n=((n,e)=>{const o=()=>{e.present()};return n.addEventListener("click",o),()=>{n.removeEventListener("click",o)}})(i,o):l(`[${o.tagName.toLowerCase()}] - A trigger element with the ID "${t}" was not found in the DOM. The trigger element must be in the DOM when the "trigger" property is set on an overlay component.`,o)},removeClickListener:e}},tn="ion-disable-focus-trap";export{R as B,tn as F,U as G,nn as O,k as a,O as b,en as c,on as d,V as e,Y as f,z as g,P as h,X as i,F as j,D as k,T as l,B as m,h as n,M as o,C as p,b as q,J as r,K as s,A as t}
4
+ import{d as n}from"./p-ZjP4CjeZ.js";import{n as e,c as o,g as t,f as i,m as a}from"./p-CFuOr1Tu.js";import{OVERLAY_BACK_BUTTON_PRIORITY as s,shouldUseCloseWatcher as r}from"./p-BgOvhHy_.js";import{e as d,j as c,f as l}from"./p-C23AVPx9.js";import{b as u}from"./p-Do3zTvCA.js";import{C as m}from"./p-DYUjHcuH.js";import{B as p}from"./p-B_gJaBk0.js";const f='[tabindex]:not([tabindex^="-"]):not([hidden]):not([disabled]), input:not([type=hidden]):not([tabindex^="-"]):not([hidden]):not([disabled]), textarea:not([tabindex^="-"]):not([hidden]):not([disabled]), button:not([tabindex^="-"]):not([hidden]):not([disabled]), select:not([tabindex^="-"]):not([hidden]):not([disabled]), ion-checkbox:not([tabindex^="-"]):not([hidden]):not([disabled]), ion-radio:not([tabindex^="-"]):not([hidden]):not([disabled]), .ion-focusable:not([tabindex^="-"]):not([hidden]):not([disabled]), .ion-focusable[disabled="false"]:not([tabindex^="-"]):not([hidden])',h=(n,e)=>{const o=n.querySelector(f);b(o,e??n)},v=(n,e)=>{const o=Array.from(n.querySelectorAll(f));b(o.length>0?o[o.length-1]:null,e??n)},b=(n,o)=>{let t=n;const i=n?.shadowRoot;if(i&&(t=i.querySelector(f)||n),t){const n=t.closest("ion-radio-group");n?n.setFocus():e(t)}else o.focus()};let y=0,w=0;const g=new WeakMap,x=n=>"ION-TOAST"!==n.tagName&&!1!==n.focusTrap&&(n=>!1!==n.showBackdrop&&!((n.backdropBreakpoint??0)>0))(n),O=n=>({create:e=>I(n,e),dismiss:(e,o,t)=>F(document,e,o,n,t),getTop:async()=>M(document,n)}),j=O("ion-alert"),k=O("ion-action-sheet"),T=O("ion-loading"),C=O("ion-modal"),A=O("ion-popover"),B=O("ion-toast"),D=n=>{"undefined"!=typeof document&&N(document);const e=y++;n.overlayIndex=e},P=n=>(n.hasAttribute("id")||(n.id="ion-overlay-"+ ++w),n.id),I=(n,e)=>"undefined"!=typeof window&&void 0!==window.customElements?window.customElements.whenDefined(n).then((()=>{const t=document.createElement(n);return t.classList.add("overlay-hidden"),Object.assign(t,{...e,hasController:!0}),q(document).appendChild(t),new Promise((n=>o(t,n)))})):Promise.resolve(),S=(n,o)=>{let t=n;const i=n?.shadowRoot;i&&(t=i.querySelector(f)||n),t?e(t):o.focus()},N=n=>{0===y&&(y=1,n.addEventListener("focus",(e=>{((n,e)=>{const o=M(e,"ion-alert,ion-action-sheet,ion-loading,ion-modal,ion-popover"),i=n.target;o&&i&&(o.classList.contains(tn)||(o.shadowRoot?(()=>{if(o.contains(i))o.lastFocus=i;else if("ION-TOAST"===i.tagName)S(o.lastFocus,o);else{const n=o.lastFocus;h(o),n===e.activeElement&&v(o),o.lastFocus=e.activeElement}})():(()=>{if(o===i)o.lastFocus=void 0;else if("ION-TOAST"===i.tagName)S(o.lastFocus,o);else{const n=t(o);if(!n.contains(i))return;const a=n.querySelector(".ion-overlay-wrapper");if(!a)return;if(a.contains(i)||i===n.querySelector("ion-backdrop"))o.lastFocus=i;else{const n=o.lastFocus;h(a,o),n===e.activeElement&&v(a,o),o.lastFocus=e.activeElement}}})()))})(e,n)}),!0),n.addEventListener("ionBackButton",(e=>{const o=M(n);o?.backdropDismiss&&e.detail.register(s,(()=>{o.dismiss(void 0,R)}))})),r()||n.addEventListener("keydown",(e=>{if("Escape"===e.key){const e=M(n);e?.backdropDismiss&&e.dismiss(void 0,R)}})))},F=(n,e,o,t,i)=>{const a=M(n,t,i);return a?a.dismiss(e,o):Promise.reject("overlay does not exist")},H=(n,e)=>((n,e)=>(void 0===e&&(e="ion-alert,ion-action-sheet,ion-loading,ion-modal,ion-popover,ion-toast"),Array.from(n.querySelectorAll(e)).filter((n=>n.overlayIndex>0))))(n,e).filter((n=>!n.classList.contains("overlay-hidden"))),M=(n,e,o)=>{const t=H(n,e);return(void 0===o?t:t.filter((n=>n.id===o))).slice(-1)[0]},V=()=>q(document).querySelector("ion-router-outlet, #ion-view-container-root"),$=(n=!1)=>{const e=V();e&&(n?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden"))},_=()=>{"undefined"!=typeof document&&(H(document).some((n=>x(n)))||($(!1),document.body.classList.remove(p)))},z=n=>{V()?.contains(n)||$(!0),document.body.classList.add(p)},E=n=>{if("undefined"==typeof document)return;const e=n;x(e)&&z(e)},G=async(n,e,o,i,a)=>{if(n.presented)return;"ION-TOAST"!==n.el.tagName&&L(n.el);const s=n.el,r=x(s);n.presented=!0,n.willPresent.emit(),r&&z(s),n.willPresentShorthand?.emit();const c=u(n),l=n.enterAnimation?n.enterAnimation:d.get(e,"ios"===c?o:i);if(await J(n,l,n.el,a)&&(n.didPresent.emit(),n.didPresentShorthand?.emit()),n.keyboardClose&&(null===document.activeElement||!n.el.contains(document.activeElement))){const e=t(n.el).querySelector('[role="dialog"][tabindex]')??n.el;try{e.focus({preventScroll:!0})}catch{e.focus()}}n.el.removeAttribute("aria-hidden"),n.el.removeAttribute("inert")},L=async n=>{let e=document.activeElement;if(!e)return;e.blur();const o=e?.shadowRoot;o&&(e=o.querySelector(f)||e),await n.onDidDismiss(),null!==document.activeElement&&document.activeElement!==document.body||e.focus()},Z=async(e,o,t,i,a,s,r)=>{if(!e.presented)return!1;const l=(void 0!==n?H(n):[]).filter((n=>x(n))),m=e.el;x(m)&&1===l.length&&l[0].id===m.id&&($(!1),document.body.classList.remove(p)),e.presented=!1;try{e.el.style.setProperty("pointer-events","none"),e.willDismiss.emit({data:o,role:t}),e.willDismissShorthand?.emit({data:o,role:t});const n=u(e),c=e.leaveAnimation?e.leaveAnimation:d.get(i,"ios"===n?a:s);t!==X&&await J(e,c,e.el,r),e.didDismiss.emit({data:o,role:t}),e.didDismissShorthand?.emit({data:o,role:t}),(g.get(e)||[]).forEach((n=>n.destroy())),g.delete(e),e.el.classList.add("overlay-hidden"),e.el.style.removeProperty("pointer-events"),void 0!==e.el.lastFocus&&(e.el.lastFocus=void 0)}catch(n){c(`[${e.el.tagName.toLowerCase()}] - `,n)}return e.el.remove(),!0},q=n=>n.querySelector("ion-app")||n.body,J=async(n,e,o,t)=>{o.classList.remove("overlay-hidden");const i=e(n.el,t);n.animated&&d.getBoolean("animated",!0)||i.duration(0),n.keyboardClose&&i.beforeAddWrite((()=>{const n=o.ownerDocument.activeElement;n?.matches("input,ion-input, ion-textarea")&&n.blur()}));const a=g.get(n)||[];return g.set(n,[...a,i]),await i.play(),!0},U=(n,e)=>{let o;const t=new Promise((n=>o=n));return W(n,e,(n=>{o(n.detail)})),t},W=(n,e,o)=>{const t=i=>{a(n,e,t),o(i)};i(n,e,t)},Y=n=>"cancel"===n||n===R,K=n=>n(),Q=(n,e)=>{if("function"==typeof n)return d.get("_zoneGate",K)((()=>{try{return n(e)}catch(n){throw n}}))},R="backdrop",X="gesture",nn=39,en=n=>{let e,o=!1;const t=m(),i=(i=!1)=>{if(e&&!i)return{delegate:e,inline:o};const{el:a,hasController:s,delegate:r}=n;return o=null!==a.parentNode&&!s,e=o?r||t:r,{inline:o,delegate:e}};return{attachViewToDom:async e=>{const{delegate:o}=i(!0);if(o)return await o.attachViewToDom(n.el,e);const{hasController:t}=n;if(t&&void 0!==e)throw new Error("framework delegate is missing");return null},removeViewFromDom:()=>{const{delegate:e}=i();e&&void 0!==n.el&&e.removeViewFromDom(n.el.parentElement,n.el)}}},on=()=>{let n;const e=()=>{n&&(n(),n=void 0)};return{addClickListener:(o,t)=>{e();const i=void 0!==t?document.getElementById(t):null;i?n=((n,e)=>{const o=()=>{e.present()};return n.addEventListener("click",o),()=>{n.removeEventListener("click",o)}})(i,o):l(`[${o.tagName.toLowerCase()}] - A trigger element with the ID "${t}" was not found in the DOM. The trigger element must be in the DOM when the "trigger" property is set on an overlay component.`,o)},removeClickListener:e}},tn="ion-disable-focus-trap";export{R as B,tn as F,X as G,nn as O,j as a,k as b,en as c,on as d,G as e,Z as f,U as g,D as h,Y as i,_ as j,P as k,T as l,C as m,h as n,M as o,A as p,v as q,E as r,Q as s,B as t}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * (C) Ionic http://ionicframework.com - MIT License
3
3
  */
4
- import{w as o}from"./p-ZjP4CjeZ.js";import{r as t}from"./p-06ZcwRF5.js";import{i as e}from"./p-Dojwmvde.js";const i=(e,i,r)=>{let n;const s=()=>void 0!==i()&&void 0===e.label&&null!==r(),d=()=>{const t=i();if(void 0===t)return;if(!s())return void t.style.removeProperty("width");const c=r().scrollWidth;if(0===c&&null===t.offsetParent&&void 0!==o&&"IntersectionObserver"in o){if(void 0!==n)return;const o=n=new IntersectionObserver((t=>{1===t[0].intersectionRatio&&(d(),o.disconnect(),n=void 0)}),{threshold:.01,root:e});o.observe(t)}else t.style.setProperty("width",.75*c+"px")};return{calculateNotchWidth:()=>{s()&&t((()=>{d()}))},destroy:()=>{n&&(n.disconnect(),n=void 0)}}},r="skip-label-transition",n=(o,i,n)=>{let s,d,c,a,v;const l=()=>{void 0===c&&(c=t((()=>{c=void 0;const s=(()=>{const t=i();if(!t||!n())return"";const r=t.getBoundingClientRect().width,s=Math.round(10*r)/10,d=e(o)?"":"-";return s?`${d}${s}px`:"0px"})();s!==v&&(void 0!==a&&cancelAnimationFrame(a),o.classList.add(r),o.style.setProperty("--internal-start-container-adjustment",s),v=s,a=t((()=>{a=void 0,o.classList.remove(r)}))),u()})))},f=()=>{s&&(s.disconnect(),s=void 0,d=void 0)},u=()=>{const o=i();o&&n()?"function"!=typeof ResizeObserver||s&&d===o||(f(),s=new ResizeObserver((()=>{l()})),d=o,s.observe(o)):f()};return{calculateStartContainerWidth:()=>{l()},destroy:()=>{f(),void 0!==c&&(cancelAnimationFrame(c),c=void 0),void 0!==a&&(cancelAnimationFrame(a),a=void 0,o.classList.remove(r)),v=void 0}}},s=(e,i,r)=>{let n,s;if(void 0!==o&&"MutationObserver"in o){const o=Array.isArray(i)?i:[i];n=new MutationObserver((e=>{for(const i of e)for(const e of i.addedNodes)if(e.nodeType===Node.ELEMENT_NODE&&o.includes(e.slot))return r(),void t((()=>d(e)))})),n.observe(e,{childList:!0,subtree:!0})}const d=o=>{s&&(s.disconnect(),s=void 0),s=new MutationObserver((o=>{r();for(const t of o)for(const o of t.removedNodes)o.nodeType===Node.ELEMENT_NODE&&o.slot===i&&c()})),s.observe(o.parentElement??o,{subtree:!0,childList:!0})},c=()=>{s&&(s.disconnect(),s=void 0)};return{destroy:()=>{n&&(n.disconnect(),n=void 0),c()}}};export{i as a,n as b,s as c}
4
+ import{w as o}from"./p-ZjP4CjeZ.js";import{r as t}from"./p-CFuOr1Tu.js";import{i as e}from"./p-Dojwmvde.js";const i=(e,i,r)=>{let n;const s=()=>void 0!==i()&&void 0===e.label&&null!==r(),d=()=>{const t=i();if(void 0===t)return;if(!s())return void t.style.removeProperty("width");const c=r().scrollWidth;if(0===c&&null===t.offsetParent&&void 0!==o&&"IntersectionObserver"in o){if(void 0!==n)return;const o=n=new IntersectionObserver((t=>{1===t[0].intersectionRatio&&(d(),o.disconnect(),n=void 0)}),{threshold:.01,root:e});o.observe(t)}else t.style.setProperty("width",.75*c+"px")};return{calculateNotchWidth:()=>{s()&&t((()=>{d()}))},destroy:()=>{n&&(n.disconnect(),n=void 0)}}},r="skip-label-transition",n=(o,i,n)=>{let s,d,c,a,v;const u=()=>{void 0===c&&(c=t((()=>{c=void 0;const s=(()=>{const t=i();if(!t||!n())return"";const r=t.getBoundingClientRect().width,s=Math.round(10*r)/10,d=e(o)?"":"-";return s?`${d}${s}px`:"0px"})();s!==v&&(void 0!==a&&cancelAnimationFrame(a),o.classList.add(r),o.style.setProperty("--internal-start-container-adjustment",s),v=s,a=t((()=>{a=void 0,o.classList.remove(r)}))),f()})))},l=()=>{s&&(s.disconnect(),s=void 0,d=void 0)},f=()=>{const o=i();o&&n()?"function"!=typeof ResizeObserver||s&&d===o||(l(),s=new ResizeObserver((()=>{u()})),d=o,s.observe(o)):l()};return{calculateStartContainerWidth:()=>{u()},destroy:()=>{l(),void 0!==c&&(cancelAnimationFrame(c),c=void 0),void 0!==a&&(cancelAnimationFrame(a),a=void 0,o.classList.remove(r)),v=void 0}}},s=(e,i,r)=>{let n,s;if(void 0!==o&&"MutationObserver"in o){const o=Array.isArray(i)?i:[i];n=new MutationObserver((e=>{for(const i of e)for(const e of i.addedNodes)if(e.nodeType===Node.ELEMENT_NODE&&o.includes(e.slot))return r(),void t((()=>d(e)))})),n.observe(e,{childList:!0,subtree:!0})}const d=o=>{s&&(s.disconnect(),s=void 0),s=new MutationObserver((o=>{r();for(const t of o)for(const o of t.removedNodes)o.nodeType===Node.ELEMENT_NODE&&o.slot===i&&c()})),s.observe(o.parentElement??o,{subtree:!0,childList:!0})},c=()=>{s&&(s.disconnect(),s=void 0)};return{destroy:()=>{n&&(n.disconnect(),n=void 0),c()}}};export{i as a,n as b,s as c}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * (C) Ionic http://ionicframework.com - MIT License
3
3
  */
4
- import{c as t}from"./p-Cc4w3fVf.js";import{g as o}from"./p-C10K-FJg.js";import"./p-h81G-QbJ.js";import"./p-ZjP4CjeZ.js";import"./p-06ZcwRF5.js";import"./p-Dojwmvde.js";const n=t=>document.querySelector(`${t}.ion-cloned-element`),a=t=>t.shadowRoot||t,s=t=>{const o="ION-TABS"===t.tagName?t:t.querySelector("ion-tabs"),n="ion-content ion-header:not(.header-collapse-condense-inactive) ion-title.title-large";if(null!=o){const t=o.querySelector("ion-tab:not(.tab-hidden), .ion-page:not(.ion-page-hidden)");return null!=t?t.querySelector(n):null}return t.querySelector(n)},e=(t,o)=>{const n="ION-TABS"===t.tagName?t:t.querySelector("ion-tabs");let a=[];if(null!=n){const t=n.querySelector("ion-tab:not(.tab-hidden), .ion-page:not(.ion-page-hidden)");null!=t&&(a=t.querySelectorAll("ion-buttons"))}else a=t.querySelectorAll("ion-buttons");for(const t of a){const n=t.closest("ion-header"),a=n&&!n.classList.contains("header-collapse-condense-inactive"),s=t.querySelector("ion-back-button"),e=t.classList.contains("buttons-collapse");if(null!==s&&("start"===t.slot||""===t.slot)&&(e&&a&&o||!e))return s}return null},r=(o,s,e,r,i,l,f,p,$)=>{const d=s?`calc(100% - ${i.right+4}px)`:i.left-4+"px",m=s?"right":"left",b=s?"left":"right",u=s?"right":"left";let y=1,X=1,x=`scale(${X})`;const h="scale(1)";if(l&&f){const t=l.textContent?.trim()===p.textContent?.trim();y=$.width/f.width,X=($.height-c)/f.height,x=t?`scale(${y}, ${X})`:`scale(${X})`}const g=a(r).querySelector("ion-icon").getBoundingClientRect(),w=s?g.width/2-(g.right-i.right)+"px":i.left-g.width/2+"px",v=s?`-${window.innerWidth-i.right}px`:`${i.left}px`,k=`${$.top}px`,j=`${i.top}px`,T=e?[{offset:0,transform:`translate3d(${v}, ${j}, 0)`},{offset:1,transform:`translate3d(${w}, ${k}, 0)`}]:[{offset:0,transform:`translate3d(${w}, ${k}, 0)`},{offset:1,transform:`translate3d(${v}, ${j}, 0)`}],A=e?[{offset:0,opacity:1,transform:h},{offset:1,opacity:0,transform:x}]:[{offset:0,opacity:0,transform:x},{offset:1,opacity:1,transform:h}],C=e?[{offset:0,opacity:1,transform:"scale(1)"},{offset:.2,opacity:0,transform:"scale(0.6)"},{offset:1,opacity:0,transform:"scale(0.6)"}]:[{offset:0,opacity:0,transform:"scale(0.6)"},{offset:.6,opacity:0,transform:"scale(0.6)"},{offset:1,opacity:1,transform:"scale(1)"}],Z=t(),B=t(),F=t(),I=n("ion-back-button"),J=a(I).querySelector(".button-text"),N=a(I).querySelector("ion-icon");I.text=r.text,I.mode=r.mode,I.icon=r.icon,I.color=r.color,I.disabled=r.disabled,I.style.setProperty("display","block"),I.style.setProperty("position","fixed"),B.addElement(N),Z.addElement(J),F.addElement(I),F.beforeStyles({position:"absolute",top:"0px",[u]:"0px"}).beforeAddWrite((()=>{r.style.setProperty("display","none"),I.style.setProperty(m,d)})).afterAddWrite((()=>{r.style.setProperty("display",""),I.style.setProperty("display","none"),I.style.removeProperty(m)})).keyframes(T),Z.beforeStyles({"transform-origin":`${m} top`}).keyframes(A),B.beforeStyles({"transform-origin":`${b} center`}).keyframes(C),o.addAnimation([Z,B,F])},i=(o,a,s,e,r,i,l,f,p)=>{const $=a?"right":"left",d=a?`calc(100% - ${r.right}px)`:`${r.left}px`,m=`${r.top}px`;let b=a?`-${window.innerWidth-l.right-8}px`:`${l.x+8}px`,u=.5;const y="scale(1)";let X=`scale(${u})`;if(f&&p){b=a?`-${window.innerWidth-p.right-8}px`:p.x-8+"px";const t=f.textContent?.trim()===e.textContent?.trim();u=p.height/(i.height-c),X=t?`scale(${p.width/i.width}, ${u})`:`scale(${u})`}const x=l.top+l.height/2-r.height*u/2+"px",h=s?[{offset:0,opacity:0,transform:`translate3d(${b}, ${x}, 0) ${X}`},{offset:.1,opacity:0},{offset:1,opacity:1,transform:`translate3d(0px, ${m}, 0) ${y}`}]:[{offset:0,opacity:.99,transform:`translate3d(0px, ${m}, 0) ${y}`},{offset:.6,opacity:0},{offset:1,opacity:0,transform:`translate3d(${b}, ${x}, 0) ${X}`}],g=n("ion-title"),w=t();g.innerText=e.innerText,g.size=e.size,g.color=e.color,w.addElement(g),w.beforeStyles({"transform-origin":`${$} top`,height:`${r.height}px`,display:"",position:"relative",[$]:d}).beforeAddWrite((()=>{e.style.setProperty("opacity","0")})).afterAddWrite((()=>{e.style.setProperty("opacity",""),g.style.setProperty("display","none")})).keyframes(h),o.addAnimation(w)},l=(n,l)=>{try{const c="cubic-bezier(0.32,0.72,0,1)",f="opacity",p="transform",$="0%",d=.8,m="rtl"===n.ownerDocument.dir,b=m?"-99.5%":"99.5%",u=m?"33%":"-33%",y=l.enteringEl,X=l.leavingEl,x="back"===l.direction,h=y.querySelector(":scope > ion-content"),g=y.querySelectorAll(":scope > ion-header > *:not(ion-toolbar), :scope > ion-footer > *"),w=y.querySelectorAll(":scope > ion-header > ion-toolbar"),v=t(),k=t();if(v.addElement(y).duration((l.duration??0)||540).easing(l.easing||c).fill("both").beforeRemoveClass("ion-page-invisible"),X&&null!=n){const o=t();o.addElement(n),v.addAnimation(o)}if(h||0!==w.length||0!==g.length?(k.addElement(h),k.addElement(g)):k.addElement(y.querySelector(":scope > .ion-page, :scope > ion-nav, :scope > ion-tabs")),v.addAnimation(k),x?k.beforeClearStyles([f]).fromTo("transform",`translateX(${u})`,`translateX(${$})`).fromTo(f,d,1):k.beforeClearStyles([f]).fromTo("transform",`translateX(${b})`,`translateX(${$})`),h){const o=a(h).querySelector(".transition-effect");if(o){const n=o.querySelector(".transition-cover"),a=o.querySelector(".transition-shadow"),s=t(),e=t(),r=t();s.addElement(o).beforeStyles({opacity:"1",display:"block"}).afterStyles({opacity:"",display:""}),e.addElement(n).beforeClearStyles([f]).fromTo(f,0,.1),r.addElement(a).beforeClearStyles([f]).fromTo(f,.03,.7),s.addAnimation([e,r]),k.addAnimation([s])}}const j=y.querySelector("ion-header.header-collapse-condense"),{forward:T,backward:A}=((t,o,n,l,c)=>{const f=e(l,n),p=s(c),$=s(l),d=e(c,n),m=null!==f&&null!==p&&!n,b=null!==$&&null!==d&&n;if(m){const s=p.getBoundingClientRect(),e=f.getBoundingClientRect(),l=a(f).querySelector(".button-text"),c=l?.getBoundingClientRect(),$=a(p).querySelector(".toolbar-title").getBoundingClientRect();i(t,o,n,p,s,$,e,l,c),r(t,o,n,f,e,l,c,p,$)}else if(b){const s=$.getBoundingClientRect(),e=d.getBoundingClientRect(),l=a(d).querySelector(".button-text"),c=l?.getBoundingClientRect(),f=a($).querySelector(".toolbar-title").getBoundingClientRect();i(t,o,n,$,s,f,e,l,c),r(t,o,n,d,e,l,c,$,f)}return{forward:m,backward:b}})(v,m,x,y,X);if(w.forEach((o=>{const n=t();n.addElement(o),v.addAnimation(n);const s=t();s.addElement(o.querySelector("ion-title"));const e=t(),r=Array.from(o.querySelectorAll("ion-buttons,[menuToggle]")),i=o.closest("ion-header"),l=i?.classList.contains("header-collapse-condense-inactive");let c;c=r.filter(x?t=>{const o=t.classList.contains("buttons-collapse");return o&&!l||!o}:t=>!t.classList.contains("buttons-collapse")),e.addElement(c);const p=t();p.addElement(o.querySelectorAll(":scope > *:not(ion-title):not(ion-buttons):not([menuToggle])"));const d=t();d.addElement(a(o).querySelector(".toolbar-background"));const y=t(),X=o.querySelector("ion-back-button");if(X&&y.addElement(X),n.addAnimation([s,e,p,d,y]),e.fromTo(f,.01,1),p.fromTo(f,.01,1),x)l||s.fromTo("transform",`translateX(${u})`,`translateX(${$})`).fromTo(f,.01,1),p.fromTo("transform",`translateX(${u})`,`translateX(${$})`),y.fromTo(f,.01,1);else{j||s.fromTo("transform",`translateX(${b})`,`translateX(${$})`).fromTo(f,.01,1),p.fromTo("transform",`translateX(${b})`,`translateX(${$})`),d.beforeClearStyles([f,"transform"]);const o=i?.translucent;if(o?d.fromTo("transform",m?"translateX(-100%)":"translateX(100%)","translateX(0px)"):d.fromTo(f,.01,"var(--opacity)"),T||y.fromTo(f,.01,1),X&&!T){const o=t();o.addElement(a(X).querySelector(".button-text")).fromTo("transform",m?"translateX(-100px)":"translateX(100px)","translateX(0px)"),n.addAnimation(o)}}})),X){const n=t(),s=X.querySelector(":scope > ion-content"),e=X.querySelectorAll(":scope > ion-header > ion-toolbar"),r=X.querySelectorAll(":scope > ion-header > *:not(ion-toolbar), :scope > ion-footer > *");if(s||0!==e.length||0!==r.length?(n.addElement(s),n.addElement(r)):n.addElement(X.querySelector(":scope > .ion-page, :scope > ion-nav, :scope > ion-tabs")),v.addAnimation(n),x){n.beforeClearStyles([f]).fromTo("transform",`translateX(${$})`,m?"translateX(-100%)":"translateX(100%)");const t=o(X);v.afterAddWrite((()=>{"normal"===v.getDirection()&&t.style.setProperty("display","none")}))}else n.fromTo("transform",`translateX(${$})`,`translateX(${u})`).fromTo(f,1,d);if(s){const o=a(s).querySelector(".transition-effect");if(o){const a=o.querySelector(".transition-cover"),s=o.querySelector(".transition-shadow"),e=t(),r=t(),i=t();e.addElement(o).beforeStyles({opacity:"1",display:"block"}).afterStyles({opacity:"",display:""}),r.addElement(a).beforeClearStyles([f]).fromTo(f,.1,0),i.addElement(s).beforeClearStyles([f]).fromTo(f,.7,.03),e.addAnimation([r,i]),n.addAnimation([e])}}e.forEach((o=>{const n=t();n.addElement(o);const s=t();s.addElement(o.querySelector("ion-title"));const e=t(),r=o.querySelectorAll("ion-buttons,[menuToggle]"),i=o.closest("ion-header"),l=i?.classList.contains("header-collapse-condense-inactive"),c=Array.from(r).filter((t=>{const o=t.classList.contains("buttons-collapse");return o&&!l||!o}));e.addElement(c);const d=t(),b=o.querySelectorAll(":scope > *:not(ion-title):not(ion-buttons):not([menuToggle])");b.length>0&&d.addElement(b);const y=t();y.addElement(a(o).querySelector(".toolbar-background"));const X=t(),h=o.querySelector("ion-back-button");if(h&&X.addElement(h),n.addAnimation([s,e,d,X,y]),v.addAnimation(n),X.fromTo(f,.99,0),e.fromTo(f,.99,0),d.fromTo(f,.99,0),x){l||s.fromTo("transform",`translateX(${$})`,m?"translateX(-100%)":"translateX(100%)").fromTo(f,.99,0),d.fromTo("transform",`translateX(${$})`,m?"translateX(-100%)":"translateX(100%)"),y.beforeClearStyles([f,"transform"]);const o=i?.translucent;if(o?y.fromTo("transform","translateX(0px)",m?"translateX(-100%)":"translateX(100%)"):y.fromTo(f,"var(--opacity)",0),h&&!A){const o=t();o.addElement(a(h).querySelector(".button-text")).fromTo("transform",`translateX(${$})`,`translateX(${(m?-124:124)+"px"})`),n.addAnimation(o)}}else l||s.fromTo("transform",`translateX(${$})`,`translateX(${u})`).fromTo(f,.99,0).afterClearStyles([p,f]),d.fromTo("transform",`translateX(${$})`,`translateX(${u})`).afterClearStyles([p,f]),X.afterClearStyles([f]),s.afterClearStyles([f]),e.afterClearStyles([f])}))}return v}catch(t){throw t}},c=10;export{l as iosTransitionAnimation,a as shadow}
4
+ import{c as t}from"./p-DLM95R4x.js";import{g as o}from"./p-zWf7R2xV.js";import"./p-C23AVPx9.js";import"./p-ZjP4CjeZ.js";import"./p-CFuOr1Tu.js";import"./p-Dojwmvde.js";const n=t=>document.querySelector(`${t}.ion-cloned-element`),a=t=>t.shadowRoot||t,s=t=>{const o="ION-TABS"===t.tagName?t:t.querySelector("ion-tabs"),n="ion-content ion-header:not(.header-collapse-condense-inactive) ion-title.title-large";if(null!=o){const t=o.querySelector("ion-tab:not(.tab-hidden), .ion-page:not(.ion-page-hidden)");return null!=t?t.querySelector(n):null}return t.querySelector(n)},e=(t,o)=>{const n="ION-TABS"===t.tagName?t:t.querySelector("ion-tabs");let a=[];if(null!=n){const t=n.querySelector("ion-tab:not(.tab-hidden), .ion-page:not(.ion-page-hidden)");null!=t&&(a=t.querySelectorAll("ion-buttons"))}else a=t.querySelectorAll("ion-buttons");for(const t of a){const n=t.closest("ion-header"),a=n&&!n.classList.contains("header-collapse-condense-inactive"),s=t.querySelector("ion-back-button"),e=t.classList.contains("buttons-collapse");if(null!==s&&("start"===t.slot||""===t.slot)&&(e&&a&&o||!e))return s}return null},r=(o,s,e,r,i,l,f,p,$)=>{const d=s?`calc(100% - ${i.right+4}px)`:i.left-4+"px",m=s?"right":"left",b=s?"left":"right",u=s?"right":"left";let y=1,X=1,x=`scale(${X})`;const h="scale(1)";if(l&&f){const t=l.textContent?.trim()===p.textContent?.trim();y=$.width/f.width,X=($.height-c)/f.height,x=t?`scale(${y}, ${X})`:`scale(${X})`}const g=a(r).querySelector("ion-icon").getBoundingClientRect(),w=s?g.width/2-(g.right-i.right)+"px":i.left-g.width/2+"px",v=s?`-${window.innerWidth-i.right}px`:`${i.left}px`,k=`${$.top}px`,j=`${i.top}px`,T=e?[{offset:0,transform:`translate3d(${v}, ${j}, 0)`},{offset:1,transform:`translate3d(${w}, ${k}, 0)`}]:[{offset:0,transform:`translate3d(${w}, ${k}, 0)`},{offset:1,transform:`translate3d(${v}, ${j}, 0)`}],A=e?[{offset:0,opacity:1,transform:h},{offset:1,opacity:0,transform:x}]:[{offset:0,opacity:0,transform:x},{offset:1,opacity:1,transform:h}],C=e?[{offset:0,opacity:1,transform:"scale(1)"},{offset:.2,opacity:0,transform:"scale(0.6)"},{offset:1,opacity:0,transform:"scale(0.6)"}]:[{offset:0,opacity:0,transform:"scale(0.6)"},{offset:.6,opacity:0,transform:"scale(0.6)"},{offset:1,opacity:1,transform:"scale(1)"}],O=t(),z=t(),B=t(),D=n("ion-back-button"),I=a(D).querySelector(".button-text"),N=a(D).querySelector("ion-icon");D.text=r.text,D.mode=r.mode,D.icon=r.icon,D.color=r.color,D.disabled=r.disabled,D.style.setProperty("display","block"),D.style.setProperty("position","fixed"),z.addElement(N),O.addElement(I),B.addElement(D),B.beforeStyles({position:"absolute",top:"0px",[u]:"0px"}).beforeAddWrite((()=>{r.style.setProperty("display","none"),D.style.setProperty(m,d)})).afterAddWrite((()=>{r.style.setProperty("display",""),D.style.setProperty("display","none"),D.style.removeProperty(m)})).keyframes(T),O.beforeStyles({"transform-origin":`${m} top`}).keyframes(A),z.beforeStyles({"transform-origin":`${b} center`}).keyframes(C),o.addAnimation([O,z,B])},i=(o,a,s,e,r,i,l,f,p)=>{const $=a?"right":"left",d=a?`calc(100% - ${r.right}px)`:`${r.left}px`,m=`${r.top}px`;let b=a?`-${window.innerWidth-l.right-8}px`:`${l.x+8}px`,u=.5;const y="scale(1)";let X=`scale(${u})`;if(f&&p){b=a?`-${window.innerWidth-p.right-8}px`:p.x-8+"px";const t=f.textContent?.trim()===e.textContent?.trim();u=p.height/(i.height-c),X=t?`scale(${p.width/i.width}, ${u})`:`scale(${u})`}const x=l.top+l.height/2-r.height*u/2+"px",h=s?[{offset:0,opacity:0,transform:`translate3d(${b}, ${x}, 0) ${X}`},{offset:.1,opacity:0},{offset:1,opacity:1,transform:`translate3d(0px, ${m}, 0) ${y}`}]:[{offset:0,opacity:.99,transform:`translate3d(0px, ${m}, 0) ${y}`},{offset:.6,opacity:0},{offset:1,opacity:0,transform:`translate3d(${b}, ${x}, 0) ${X}`}],g=n("ion-title"),w=t();g.innerText=e.innerText,g.size=e.size,g.color=e.color,w.addElement(g),w.beforeStyles({"transform-origin":`${$} top`,height:`${r.height}px`,display:"",position:"relative",[$]:d}).beforeAddWrite((()=>{e.style.setProperty("opacity","0")})).afterAddWrite((()=>{e.style.setProperty("opacity",""),g.style.setProperty("display","none")})).keyframes(h),o.addAnimation(w)},l=(n,l)=>{try{const c="cubic-bezier(0.32,0.72,0,1)",f="opacity",p="transform",$="0%",d=.8,m="rtl"===n.ownerDocument.dir,b=m?"-99.5%":"99.5%",u=m?"33%":"-33%",y=l.enteringEl,X=l.leavingEl,x="back"===l.direction,h=y.querySelector(":scope > ion-content"),g=y.querySelectorAll(":scope > ion-header > *:not(ion-toolbar), :scope > ion-footer > *"),w=y.querySelectorAll(":scope > ion-header > ion-toolbar"),v=t(),k=t();if(v.addElement(y).duration((l.duration??0)||540).easing(l.easing||c).fill("both").beforeRemoveClass("ion-page-invisible"),X&&null!=n){const o=t();o.addElement(n),v.addAnimation(o)}if(h||0!==w.length||0!==g.length?(k.addElement(h),k.addElement(g)):k.addElement(y.querySelector(":scope > .ion-page, :scope > ion-nav, :scope > ion-tabs")),v.addAnimation(k),x?k.beforeClearStyles([f]).fromTo("transform",`translateX(${u})`,`translateX(${$})`).fromTo(f,d,1):k.beforeClearStyles([f]).fromTo("transform",`translateX(${b})`,`translateX(${$})`),h){const o=a(h).querySelector(".transition-effect");if(o){const n=o.querySelector(".transition-cover"),a=o.querySelector(".transition-shadow"),s=t(),e=t(),r=t();s.addElement(o).beforeStyles({opacity:"1",display:"block"}).afterStyles({opacity:"",display:""}),e.addElement(n).beforeClearStyles([f]).fromTo(f,0,.1),r.addElement(a).beforeClearStyles([f]).fromTo(f,.03,.7),s.addAnimation([e,r]),k.addAnimation([s])}}const j=y.querySelector("ion-header.header-collapse-condense"),{forward:T,backward:A}=((t,o,n,l,c)=>{const f=e(l,n),p=s(c),$=s(l),d=e(c,n),m=null!==f&&null!==p&&!n,b=null!==$&&null!==d&&n;if(m){const s=p.getBoundingClientRect(),e=f.getBoundingClientRect(),l=a(f).querySelector(".button-text"),c=l?.getBoundingClientRect(),$=a(p).querySelector(".toolbar-title").getBoundingClientRect();i(t,o,n,p,s,$,e,l,c),r(t,o,n,f,e,l,c,p,$)}else if(b){const s=$.getBoundingClientRect(),e=d.getBoundingClientRect(),l=a(d).querySelector(".button-text"),c=l?.getBoundingClientRect(),f=a($).querySelector(".toolbar-title").getBoundingClientRect();i(t,o,n,$,s,f,e,l,c),r(t,o,n,d,e,l,c,$,f)}return{forward:m,backward:b}})(v,m,x,y,X);if(w.forEach((o=>{const n=t();n.addElement(o),v.addAnimation(n);const s=t();s.addElement(o.querySelector("ion-title"));const e=t(),r=Array.from(o.querySelectorAll("ion-buttons,[menuToggle]")),i=o.closest("ion-header"),l=i?.classList.contains("header-collapse-condense-inactive");let c;c=r.filter(x?t=>{const o=t.classList.contains("buttons-collapse");return o&&!l||!o}:t=>!t.classList.contains("buttons-collapse")),e.addElement(c);const p=t();p.addElement(o.querySelectorAll(":scope > *:not(ion-title):not(ion-buttons):not([menuToggle])"));const d=t();d.addElement(a(o).querySelector(".toolbar-background"));const y=t(),X=o.querySelector("ion-back-button");if(X&&y.addElement(X),n.addAnimation([s,e,p,d,y]),e.fromTo(f,.01,1),p.fromTo(f,.01,1),x)l||s.fromTo("transform",`translateX(${u})`,`translateX(${$})`).fromTo(f,.01,1),p.fromTo("transform",`translateX(${u})`,`translateX(${$})`),y.fromTo(f,.01,1);else{j||s.fromTo("transform",`translateX(${b})`,`translateX(${$})`).fromTo(f,.01,1),p.fromTo("transform",`translateX(${b})`,`translateX(${$})`),d.beforeClearStyles([f,"transform"]);const o=i?.translucent;if(o?d.fromTo("transform",m?"translateX(-100%)":"translateX(100%)","translateX(0px)"):d.fromTo(f,.01,"var(--opacity)"),T||y.fromTo(f,.01,1),X&&!T){const o=t();o.addElement(a(X).querySelector(".button-text")).fromTo("transform",m?"translateX(-100px)":"translateX(100px)","translateX(0px)"),n.addAnimation(o)}}})),X){const n=t(),s=X.querySelector(":scope > ion-content"),e=X.querySelectorAll(":scope > ion-header > ion-toolbar"),r=X.querySelectorAll(":scope > ion-header > *:not(ion-toolbar), :scope > ion-footer > *");if(s||0!==e.length||0!==r.length?(n.addElement(s),n.addElement(r)):n.addElement(X.querySelector(":scope > .ion-page, :scope > ion-nav, :scope > ion-tabs")),v.addAnimation(n),x){n.beforeClearStyles([f]).fromTo("transform",`translateX(${$})`,m?"translateX(-100%)":"translateX(100%)");const t=o(X);v.afterAddWrite((()=>{"normal"===v.getDirection()&&t.style.setProperty("display","none")}))}else n.fromTo("transform",`translateX(${$})`,`translateX(${u})`).fromTo(f,1,d);if(s){const o=a(s).querySelector(".transition-effect");if(o){const a=o.querySelector(".transition-cover"),s=o.querySelector(".transition-shadow"),e=t(),r=t(),i=t();e.addElement(o).beforeStyles({opacity:"1",display:"block"}).afterStyles({opacity:"",display:""}),r.addElement(a).beforeClearStyles([f]).fromTo(f,.1,0),i.addElement(s).beforeClearStyles([f]).fromTo(f,.7,.03),e.addAnimation([r,i]),n.addAnimation([e])}}e.forEach((o=>{const n=t();n.addElement(o);const s=t();s.addElement(o.querySelector("ion-title"));const e=t(),r=o.querySelectorAll("ion-buttons,[menuToggle]"),i=o.closest("ion-header"),l=i?.classList.contains("header-collapse-condense-inactive"),c=Array.from(r).filter((t=>{const o=t.classList.contains("buttons-collapse");return o&&!l||!o}));e.addElement(c);const d=t(),b=o.querySelectorAll(":scope > *:not(ion-title):not(ion-buttons):not([menuToggle])");b.length>0&&d.addElement(b);const y=t();y.addElement(a(o).querySelector(".toolbar-background"));const X=t(),h=o.querySelector("ion-back-button");if(h&&X.addElement(h),n.addAnimation([s,e,d,X,y]),v.addAnimation(n),X.fromTo(f,.99,0),e.fromTo(f,.99,0),d.fromTo(f,.99,0),x){l||s.fromTo("transform",`translateX(${$})`,m?"translateX(-100%)":"translateX(100%)").fromTo(f,.99,0),d.fromTo("transform",`translateX(${$})`,m?"translateX(-100%)":"translateX(100%)"),y.beforeClearStyles([f,"transform"]);const o=i?.translucent;if(o?y.fromTo("transform","translateX(0px)",m?"translateX(-100%)":"translateX(100%)"):y.fromTo(f,"var(--opacity)",0),h&&!A){const o=t();o.addElement(a(h).querySelector(".button-text")).fromTo("transform",`translateX(${$})`,`translateX(${(m?-124:124)+"px"})`),n.addAnimation(o)}}else l||s.fromTo("transform",`translateX(${$})`,`translateX(${u})`).fromTo(f,.99,0).afterClearStyles([p,f]),d.fromTo("transform",`translateX(${$})`,`translateX(${u})`).afterClearStyles([p,f]),X.afterClearStyles([f]),s.afterClearStyles([f]),e.afterClearStyles([f])}))}return v}catch(t){throw t}},c=10;export{l as iosTransitionAnimation,a as shadow}
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * (C) Ionic http://ionicframework.com - MIT License
3
+ */
4
+ import{h as t}from"./p-C23AVPx9.js";import{a as e}from"./p-fU3rOYad.js";const n=(e,s,o)=>{if(e.nodeType===Node.TEXT_NODE)return e.textContent??"";if(e.nodeType!==Node.ELEMENT_NODE)return null;const r=e,c=r.tagName.toLowerCase(),a=`${s}-${o}`,i={key:a};for(let t=0;t<r.attributes.length;t++){const e=r.attributes.item(t);i[e.name]=e.value}const l=Array.from(r.childNodes).map(((t,e)=>n(t,a,e))).filter((t=>null!==t));return t(c,i,l)},s=(s,o,r,c=!1)=>{const a=c?"span":"div",i=`${r}-${s}`;return e(o),t(a,{class:r,key:i},Array.from(o.childNodes).map(((t,e)=>n(t,i,e))))},o=(e,n,o=!1)=>{const{id:r,label:c,startContent:a,endContent:i,description:l}=e,$=!!a||!!i||!!l,p=o?"span":"div";if(!($||"string"!=typeof c&&c))return t(p,{class:n,key:`${n}-${r}`},c);const y="string"!=typeof c&&c?s(r,c,`${n}-text`,o):t(p,{key:`${n}-label-${r}`},c);return $?t(p,{class:`${n} ${n}-has-rich-content`,key:`${n}-${r}`},a&&s(r,a,"select-option-start",o),t(p,{class:"select-option-content",key:`${n}-content-${r}`},y,l&&t(p,{class:"select-option-description",key:`${n}-desc-${r}`},l)),i&&s(r,i,"select-option-end",o)):t(p,{class:n,key:`${n}-${r}`},y)};export{o as r}
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * (C) Ionic http://ionicframework.com - MIT License
3
+ */
4
+ import{i as o}from"./p-Do3zTvCA.js";const s=o||(()=>{});export{s as g}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * (C) Ionic http://ionicframework.com - MIT License
3
3
  */
4
- import{j as e}from"./p-CpYeYl3u.js";import{w as o}from"./p-ZjP4CjeZ.js";let t;const i=(e,o,i)=>{const n=o.startsWith("animation")?(r=e,void 0===t&&(t=void 0===r.style.animationName&&void 0!==r.style.webkitAnimationName?"-webkit-":""),t):"";var r;e.style.setProperty(n+o,i)},n=(e=[],o)=>{if(void 0!==o){const t=Array.isArray(o)?o:[o];return[...e,...t]}return e},r=t=>{let r,a,s,d,f,l,c,v,m,u,p,y=[],g=[],A=[],b=!1,C={},E=[],h=[],S={},j=0,k=!1,R=!1,w=!0,T=!1,D=!0,F=!1;const W=t,I=[],K=[],M=[],P=[],Y=[],Z=[],x=[],q=[],z=[],B=[],G=[],H="function"==typeof AnimationEffect||void 0!==o&&"function"==typeof o.AnimationEffect,J="function"==typeof Element&&"function"==typeof Element.prototype.animate&&H,L=()=>G,N=(e,o)=>{const t=o.findIndex((o=>o.c===e));t>-1&&o.splice(t,1)},O=(e,o)=>((o?.oneTimeCallback?K:I).push({c:e,o}),p),Q=()=>{J&&(G.forEach((e=>{e.cancel()})),G.length=0)},U=()=>{Z.forEach((e=>{e?.parentNode&&e.parentNode.removeChild(e)})),Z.length=0},V=()=>void 0!==f?f:c?c.getFill():"both",X=()=>void 0!==v?v:void 0!==l?l:c?c.getDirection():"normal",$=()=>k?"linear":void 0!==s?s:c?c.getEasing():"linear",_=()=>R?0:void 0!==m?m:void 0!==a?a:c?c.getDuration():0,ee=()=>void 0!==d?d:c?c.getIterations():1,oe=()=>void 0!==u?u:void 0!==r?r:c?c.getDelay():0,te=()=>{0!==j&&(j--,0===j&&((()=>{z.forEach((e=>e())),B.forEach((e=>e()));const e=w?1:0,o=E,t=h,n=S;P.forEach((e=>{const r=e.classList;o.forEach((e=>r.add(e))),t.forEach((e=>r.remove(e)));for(const o in n)n.hasOwnProperty(o)&&i(e,o,n[o])})),m=void 0,v=void 0,u=void 0,I.forEach((o=>o.c(e,p))),K.forEach((o=>o.c(e,p))),K.length=0,D=!0,w&&(T=!0),w=!0})(),c&&c.animationFinish()))},ie=()=>{(()=>{x.forEach((e=>e())),q.forEach((e=>e()));const e=g,o=A,t=C;P.forEach((n=>{const r=n.classList;e.forEach((e=>r.add(e))),o.forEach((e=>r.remove(e)));for(const e in t)t.hasOwnProperty(e)&&i(n,e,t[e])}))})(),y.length>0&&J&&(P.forEach((e=>{const o=e.animate(y,{id:W,delay:oe(),duration:_(),easing:$(),iterations:ee(),fill:V(),direction:X()});o.pause(),G.push(o)})),G.length>0&&(G[0].onfinish=()=>{te()})),b=!0},ne=e=>{e=Math.min(Math.max(e,0),.9999),J&&G.forEach((o=>{o.currentTime=o.effect.getComputedTiming().delay+_()*e,o.pause()}))},re=e=>{G.forEach((e=>{e.effect.updateTiming({delay:oe(),duration:_(),easing:$(),iterations:ee(),fill:V(),direction:X()})})),void 0!==e&&ne(e)},ae=(e=!1,o=!0,t)=>(e&&Y.forEach((i=>{i.update(e,o,t)})),J&&re(t),p),se=()=>{b&&(J?G.forEach((e=>{e.pause()})):P.forEach((e=>{i(e,"animation-play-state","paused")})),F=!0)},de=e=>new Promise((o=>{e?.sync&&(R=!0,O((()=>R=!1),{oneTimeCallback:!0})),b||ie(),T&&(J&&(ne(0),re()),T=!1),D&&(j=Y.length+1,D=!1);const t=()=>{N(i,K),o()},i=()=>{N(t,M),o()};O(i,{oneTimeCallback:!0}),M.push({c:t,o:{oneTimeCallback:!0}}),Y.forEach((e=>{e.play()})),J?(G.forEach((e=>{e.play()})),0!==y.length&&0!==P.length||te()):te(),F=!1})),fe=(e,o)=>{const t=y[0];return void 0===t||void 0!==t.offset&&0!==t.offset?y=[{offset:0,[e]:o},...y]:t[e]=o,p};return p={parentAnimation:c,elements:P,childAnimations:Y,id:W,animationFinish:te,from:fe,to:(e,o)=>{const t=y[y.length-1];return void 0===t||void 0!==t.offset&&1!==t.offset?y=[...y,{offset:1,[e]:o}]:t[e]=o,p},fromTo:(e,o,t)=>fe(e,o).to(e,t),parent:e=>(c=e,p),play:de,pause:()=>(Y.forEach((e=>{e.pause()})),se(),p),stop:()=>{Y.forEach((e=>{e.stop()})),b&&(Q(),b=!1),k=!1,R=!1,D=!0,v=void 0,m=void 0,u=void 0,j=0,T=!1,w=!0,F=!1,M.forEach((e=>e.c(0,p))),M.length=0},destroy:e=>(Y.forEach((o=>{o.destroy(e)})),(e=>{Q(),e&&U()})(e),P.length=0,Y.length=0,y.length=0,I.length=0,K.length=0,b=!1,D=!0,p),keyframes:e=>{const o=y!==e;return y=e,o&&(e=>{J&&L().forEach((o=>{const t=o.effect;if(t.setKeyframes)t.setKeyframes(e);else{const i=new KeyframeEffect(t.target,e,t.getTiming());o.effect=i}}))})(y),p},addAnimation:e=>{if(null!=e)if(Array.isArray(e))for(const o of e)o.parent(p),Y.push(o);else e.parent(p),Y.push(e);return p},addElement:o=>{if(null!=o)if(1===o.nodeType)P.push(o);else if(o.length>=0)for(let e=0;e<o.length;e++)P.push(o[e]);else e("createAnimation - Invalid addElement value.");return p},update:ae,fill:e=>(f=e,ae(!0),p),direction:e=>(l=e,ae(!0),p),iterations:e=>(d=e,ae(!0),p),duration:e=>(J||0!==e||(e=1),a=e,ae(!0),p),easing:e=>(s=e,ae(!0),p),delay:e=>(r=e,ae(!0),p),getWebAnimations:L,getKeyframes:()=>y,getFill:V,getDirection:X,getDelay:oe,getIterations:ee,getEasing:$,getDuration:_,afterAddRead:e=>(z.push(e),p),afterAddWrite:e=>(B.push(e),p),afterClearStyles:(e=[])=>{for(const o of e)S[o]="";return p},afterStyles:(e={})=>(S=e,p),afterRemoveClass:e=>(h=n(h,e),p),afterAddClass:e=>(E=n(E,e),p),beforeAddRead:e=>(x.push(e),p),beforeAddWrite:e=>(q.push(e),p),beforeClearStyles:(e=[])=>{for(const o of e)C[o]="";return p},beforeStyles:(e={})=>(C=e,p),beforeRemoveClass:e=>(A=n(A,e),p),beforeAddClass:e=>(g=n(g,e),p),onFinish:O,isRunning:()=>0!==j&&!F,progressStart:(e=!1,o)=>(Y.forEach((t=>{t.progressStart(e,o)})),se(),k=e,b||ie(),ae(!1,!0,o),p),progressStep:e=>(Y.forEach((o=>{o.progressStep(e)})),ne(e),p),progressEnd:(e,o,t)=>(k=!1,Y.forEach((i=>{i.progressEnd(e,o,t)})),void 0!==t&&(m=t),T=!1,w=!0,0===e?(v="reverse"===X()?"normal":"reverse","reverse"===v&&(w=!1),J?(ae(),ne(1-o)):(u=(1-o)*_()*-1,ae(!1,!1))):1===e&&(J?(ae(),ne(o)):(u=o*_()*-1,ae(!1,!1))),void 0===e||c||de(),p)}};export{r as c}
4
+ import{j as e}from"./p-C23AVPx9.js";import{w as o}from"./p-ZjP4CjeZ.js";let t;const i=(e,o,i)=>{const n=o.startsWith("animation")?(r=e,void 0===t&&(t=void 0===r.style.animationName&&void 0!==r.style.webkitAnimationName?"-webkit-":""),t):"";var r;e.style.setProperty(n+o,i)},n=(e=[],o)=>{if(void 0!==o){const t=Array.isArray(o)?o:[o];return[...e,...t]}return e},r=t=>{let r,a,s,d,f,l,c,v,m,u,p,y=[],g=[],A=[],b=!1,C={},E=[],h=[],S={},j=0,k=!1,R=!1,w=!0,T=!1,D=!0,F=!1;const P=t,W=[],x=[],I=[],K=[],M=[],Z=[],V=[],q=[],z=[],B=[],G=[],H="function"==typeof AnimationEffect||void 0!==o&&"function"==typeof o.AnimationEffect,J="function"==typeof Element&&"function"==typeof Element.prototype.animate&&H,L=()=>G,N=(e,o)=>{const t=o.findIndex((o=>o.c===e));t>-1&&o.splice(t,1)},O=(e,o)=>((o?.oneTimeCallback?x:W).push({c:e,o}),p),Q=()=>{J&&(G.forEach((e=>{e.cancel()})),G.length=0)},U=()=>{Z.forEach((e=>{e?.parentNode&&e.parentNode.removeChild(e)})),Z.length=0},X=()=>void 0!==f?f:c?c.getFill():"both",Y=()=>void 0!==v?v:void 0!==l?l:c?c.getDirection():"normal",$=()=>k?"linear":void 0!==s?s:c?c.getEasing():"linear",_=()=>R?0:void 0!==m?m:void 0!==a?a:c?c.getDuration():0,ee=()=>void 0!==d?d:c?c.getIterations():1,oe=()=>void 0!==u?u:void 0!==r?r:c?c.getDelay():0,te=()=>{0!==j&&(j--,0===j&&((()=>{z.forEach((e=>e())),B.forEach((e=>e()));const e=w?1:0,o=E,t=h,n=S;K.forEach((e=>{const r=e.classList;o.forEach((e=>r.add(e))),t.forEach((e=>r.remove(e)));for(const o in n)n.hasOwnProperty(o)&&i(e,o,n[o])})),m=void 0,v=void 0,u=void 0,W.forEach((o=>o.c(e,p))),x.forEach((o=>o.c(e,p))),x.length=0,D=!0,w&&(T=!0),w=!0})(),c&&c.animationFinish()))},ie=()=>{(()=>{V.forEach((e=>e())),q.forEach((e=>e()));const e=g,o=A,t=C;K.forEach((n=>{const r=n.classList;e.forEach((e=>r.add(e))),o.forEach((e=>r.remove(e)));for(const e in t)t.hasOwnProperty(e)&&i(n,e,t[e])}))})(),y.length>0&&J&&(K.forEach((e=>{const o=e.animate(y,{id:P,delay:oe(),duration:_(),easing:$(),iterations:ee(),fill:X(),direction:Y()});o.pause(),G.push(o)})),G.length>0&&(G[0].onfinish=()=>{te()})),b=!0},ne=e=>{e=Math.min(Math.max(e,0),.9999),J&&G.forEach((o=>{o.currentTime=o.effect.getComputedTiming().delay+_()*e,o.pause()}))},re=e=>{G.forEach((e=>{e.effect.updateTiming({delay:oe(),duration:_(),easing:$(),iterations:ee(),fill:X(),direction:Y()})})),void 0!==e&&ne(e)},ae=(e=!1,o=!0,t)=>(e&&M.forEach((i=>{i.update(e,o,t)})),J&&re(t),p),se=()=>{b&&(J?G.forEach((e=>{e.pause()})):K.forEach((e=>{i(e,"animation-play-state","paused")})),F=!0)},de=e=>new Promise((o=>{e?.sync&&(R=!0,O((()=>R=!1),{oneTimeCallback:!0})),b||ie(),T&&(J&&(ne(0),re()),T=!1),D&&(j=M.length+1,D=!1);const t=()=>{N(i,x),o()},i=()=>{N(t,I),o()};O(i,{oneTimeCallback:!0}),I.push({c:t,o:{oneTimeCallback:!0}}),M.forEach((e=>{e.play()})),J?(G.forEach((e=>{e.play()})),0!==y.length&&0!==K.length||te()):te(),F=!1})),fe=(e,o)=>{const t=y[0];return void 0===t||void 0!==t.offset&&0!==t.offset?y=[{offset:0,[e]:o},...y]:t[e]=o,p};return p={parentAnimation:c,elements:K,childAnimations:M,id:P,animationFinish:te,from:fe,to:(e,o)=>{const t=y[y.length-1];return void 0===t||void 0!==t.offset&&1!==t.offset?y=[...y,{offset:1,[e]:o}]:t[e]=o,p},fromTo:(e,o,t)=>fe(e,o).to(e,t),parent:e=>(c=e,p),play:de,pause:()=>(M.forEach((e=>{e.pause()})),se(),p),stop:()=>{M.forEach((e=>{e.stop()})),b&&(Q(),b=!1),k=!1,R=!1,D=!0,v=void 0,m=void 0,u=void 0,j=0,T=!1,w=!0,F=!1,I.forEach((e=>e.c(0,p))),I.length=0},destroy:e=>(M.forEach((o=>{o.destroy(e)})),(e=>{Q(),e&&U()})(e),K.length=0,M.length=0,y.length=0,W.length=0,x.length=0,b=!1,D=!0,p),keyframes:e=>{const o=y!==e;return y=e,o&&(e=>{J&&L().forEach((o=>{const t=o.effect;if(t.setKeyframes)t.setKeyframes(e);else{const i=new KeyframeEffect(t.target,e,t.getTiming());o.effect=i}}))})(y),p},addAnimation:e=>{if(null!=e)if(Array.isArray(e))for(const o of e)o.parent(p),M.push(o);else e.parent(p),M.push(e);return p},addElement:o=>{if(null!=o)if(1===o.nodeType)K.push(o);else if(o.length>=0)for(let e=0;e<o.length;e++)K.push(o[e]);else e("createAnimation - Invalid addElement value.");return p},update:ae,fill:e=>(f=e,ae(!0),p),direction:e=>(l=e,ae(!0),p),iterations:e=>(d=e,ae(!0),p),duration:e=>(J||0!==e||(e=1),a=e,ae(!0),p),easing:e=>(s=e,ae(!0),p),delay:e=>(r=e,ae(!0),p),getWebAnimations:L,getKeyframes:()=>y,getFill:X,getDirection:Y,getDelay:oe,getIterations:ee,getEasing:$,getDuration:_,afterAddRead:e=>(z.push(e),p),afterAddWrite:e=>(B.push(e),p),afterClearStyles:(e=[])=>{for(const o of e)S[o]="";return p},afterStyles:(e={})=>(S=e,p),afterRemoveClass:e=>(h=n(h,e),p),afterAddClass:e=>(E=n(E,e),p),beforeAddRead:e=>(V.push(e),p),beforeAddWrite:e=>(q.push(e),p),beforeClearStyles:(e=[])=>{for(const o of e)C[o]="";return p},beforeStyles:(e={})=>(C=e,p),beforeRemoveClass:e=>(A=n(A,e),p),beforeAddClass:e=>(g=n(g,e),p),onFinish:O,isRunning:()=>0!==j&&!F,progressStart:(e=!1,o)=>(M.forEach((t=>{t.progressStart(e,o)})),se(),k=e,b||ie(),ae(!1,!0,o),p),progressStep:e=>(M.forEach((o=>{o.progressStep(e)})),ne(e),p),progressEnd:(e,o,t)=>(k=!1,M.forEach((i=>{i.progressEnd(e,o,t)})),void 0!==t&&(m=t),T=!1,w=!0,0===e?(v="reverse"===Y()?"normal":"reverse","reverse"===v&&(w=!1),J?(ae(),ne(1-o)):(u=(1-o)*_()*-1,ae(!1,!1))):1===e&&(J?(ae(),ne(o)):(u=o*_()*-1,ae(!1,!1))),void 0===e||c||de(),p)}};export{r as c}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * (C) Ionic http://ionicframework.com - MIT License
3
3
  */
4
- import{f as n}from"./p-CpYeYl3u.js";const e=(n,e)=>n.month===e.month&&n.day===e.day&&n.year===e.year,r=(n,e)=>!!(n.year<e.year||n.year===e.year&&n.month<e.month||n.year===e.year&&n.month===e.month&&null!==n.day&&n.day<e.day),t=(n,e)=>!!(n.year>e.year||n.year===e.year&&n.month>e.month||n.year===e.year&&n.month===e.month&&null!==n.day&&n.day>e.day),o=(e,o,a)=>{const i=Array.isArray(e)?e:[e];for(const d of i)if(void 0!==o&&r(d,o)||void 0!==a&&t(d,a)){n(`[ion-datetime] - The value provided to ion-datetime is out of bounds.\n\nMin: ${JSON.stringify(o)}\nMax: ${JSON.stringify(a)}\nValue: ${JSON.stringify(e)}`);break}},a=(n,e)=>{if(void 0!==e)return e;const r=new Intl.DateTimeFormat(n,{hour:"numeric"}),t=r.resolvedOptions();if(void 0!==t.hourCycle)return t.hourCycle;const o=new Date("5/18/2021 00:00"),a=r.formatToParts(o).find((n=>"hour"===n.type));if(!a)throw new Error("Hour value not found from DateTimeFormat");switch(a.value){case"0":return"h11";case"12":return"h12";case"00":return"h23";case"24":return"h24";default:throw new Error(`Invalid hour cycle "${e}"`)}},i=n=>"h23"===n||"h24"===n,d=(n,e)=>4===n||6===n||9===n||11===n?30:2===n?(n=>n%4==0&&n%100!=0||n%400==0)(e)?29:28:31,s=(n,e={month:"numeric",year:"numeric"})=>"month"===new Intl.DateTimeFormat(n,e).formatToParts(new Date)[0].type,u=n=>"dayPeriod"===new Intl.DateTimeFormat(n,{hour:"numeric"}).formatToParts(new Date)[0].type,m=/^(\d{4}|[+\-]\d{6})(?:-(\d{2})(?:-(\d{2}))?)?(?:T(\d{2}):(\d{2})(?::(\d{2})(?:\.(\d{3}))?)?(?:(Z)|([+\-])(\d{2})(?::(\d{2}))?)?)?$/,c=/^((\d{2}):(\d{2})(?::(\d{2})(?:\.(\d{3}))?)?(?:(Z)|([+\-])(\d{2})(?::(\d{2}))?)?)?$/,v=n=>{if(void 0===n)return;let e,r=n;return"string"==typeof n&&(r=n.replace(/\[|\]|\s/g,"").split(",")),e=Array.isArray(r)?r.map((n=>parseInt(n,10))).filter(isFinite):[r],e},y=n=>({month:parseInt(n.getAttribute("data-month"),10),day:parseInt(n.getAttribute("data-day"),10),year:parseInt(n.getAttribute("data-year"),10),dayOfWeek:parseInt(n.getAttribute("data-day-of-week"),10)});function l(e){if(Array.isArray(e)){const n=[];for(const r of e){const e=l(r);if(!e)return;n.push(e)}return n}let r=null;if(null!=e&&""!==e&&(r=c.exec(e),r?(r.unshift(void 0,void 0),r[2]=r[3]=void 0):r=m.exec(e)),null!==r){for(let n=1;n<8;n++)r[n]=void 0!==r[n]?parseInt(r[n],10):void 0;return{year:r[1],month:r[2],day:r[3],hour:r[4],minute:r[5],ampm:r[4]<12?"am":"pm"}}n(`[ion-datetime] - Unable to parse date string: ${e}. Please provide a valid ISO 8601 datetime string.`)}const h=(n,e,o)=>e&&r(n,e)?e:o&&t(n,o)?o:n,f=n=>n>=12?"pm":"am",w=(n,e)=>{const r=l(n);if(void 0===r)return;const{month:t,day:o,year:a,hour:i,minute:s}=r,u=a??e.year,m=t??12;return{month:m,day:o??d(m,u),year:u,hour:i??23,minute:s??59}},p=(n,e)=>{const r=l(n);if(void 0===r)return;const{month:t,day:o,year:a,hour:i,minute:d}=r;return{month:t??1,day:o??1,year:a??e.year,hour:i??0,minute:d??0}},I=n=>("0"+(void 0!==n?Math.abs(n):"0")).slice(-2);function $(n){if(Array.isArray(n))return n.map((n=>$(n)));let e="";var r;return void 0!==n.year?(e=("000"+(void 0!==(r=n.year)?Math.abs(r):"0")).slice(-4),void 0!==n.month&&(e+="-"+I(n.month),void 0!==n.day&&(e+="-"+I(n.day),void 0!==n.hour&&(e+=`T${I(n.hour)}:${I(n.minute)}:00`)))):void 0!==n.hour&&(e=I(n.hour)+":"+I(n.minute)),e}const T=(n,e)=>void 0===e?n:"am"===e?12===n?0:n:12===n?12:n+12,k=n=>{const{dayOfWeek:e}=n;if(null==e)throw new Error("No day of week provided");return g(n,e)},D=n=>{const{dayOfWeek:e}=n;if(null==e)throw new Error("No day of week provided");return C(n,6-e)},M=n=>C(n,1),N=n=>g(n,1),O=n=>g(n,7),Z=n=>C(n,7),g=(n,e)=>{const{month:r,day:t,year:o}=n;if(null===t)throw new Error("No day provided");const a={month:r,day:t,year:o};if(a.day=t-e,a.day<1&&(a.month-=1),a.month<1&&(a.month=12,a.year-=1),a.day<1){const n=d(a.month,a.year);a.day=n+a.day}return a},C=(n,e)=>{const{month:r,day:t,year:o}=n;if(null===t)throw new Error("No day provided");const a={month:r,day:t,year:o},i=d(r,o);return a.day=t+e,a.day>i&&(a.day-=i,a.month+=1),a.month>12&&(a.month=1,a.year+=1),a},E=n=>{const e=1===n.month?12:n.month-1,r=1===n.month?n.year-1:n.year,t=d(e,r);return{month:e,year:r,day:t<n.day?t:n.day}},P=n=>{const e=12===n.month?1:n.month+1,r=12===n.month?n.year+1:n.year,t=d(e,r);return{month:e,year:r,day:t<n.day?t:n.day}},A=(n,e)=>{const r=n.month,t=n.year+e,o=d(r,t);return{month:r,year:t,day:o<n.day?o:n.day}},U=n=>A(n,-1),V=n=>A(n,1),b=(n,e,r)=>e?n:T(n,r),x=(n,e)=>{const{ampm:r,hour:t}=n;let o=t;return"am"===r&&"pm"===e?o=T(o,"pm"):"pm"===r&&"am"===e&&(o=Math.abs(o-12)),o},F=(n,r,t)=>{const{month:o,day:a,year:i}=n,s=h({...n},r,t),u=d(o,i);return null!==a&&u<a&&(s.day=u),void 0!==r&&e(s,r)&&void 0!==s.hour&&void 0!==r.hour&&(s.hour<r.hour?(s.hour=r.hour,s.minute=r.minute):s.hour===r.hour&&void 0!==s.minute&&void 0!==r.minute&&s.minute<r.minute&&(s.minute=r.minute)),void 0!==t&&e(n,t)&&void 0!==s.hour&&void 0!==t.hour&&(s.hour>t.hour?(s.hour=t.hour,s.minute=t.minute):s.hour===t.hour&&void 0!==s.minute&&void 0!==t.minute&&s.minute>t.minute&&(s.minute=t.minute)),s},J=({refParts:n,monthValues:o,dayValues:a,yearValues:i,hourValues:d,minuteValues:s,minParts:u,maxParts:m})=>{const{hour:c,minute:v,day:y,month:l,year:h}=n,w={...n,dayOfWeek:void 0};if(void 0!==i){const n=i.filter((n=>!(void 0!==u&&n<u.year||void 0!==m&&n>m.year)));w.year=S(h,n)}if(void 0!==o){const n=o.filter((n=>!(void 0!==u&&w.year===u.year&&n<u.month||void 0!==m&&w.year===m.year&&n>m.month)));w.month=S(l,n)}if(null!==y&&void 0!==a){const n=a.filter((n=>!(void 0!==u&&r({...w,day:n},u)||void 0!==m&&t({...w,day:n},m))));w.day=S(y,n)}if(void 0!==c&&void 0!==d){const n=d.filter((n=>!(void 0!==u?.hour&&e(w,u)&&n<u.hour||void 0!==m?.hour&&e(w,m)&&n>m.hour)));w.hour=S(c,n),w.ampm=f(w.hour)}if(void 0!==v&&void 0!==s){const n=s.filter((n=>!(void 0!==u?.minute&&e(w,u)&&w.hour===u.hour&&n<u.minute||void 0!==m?.minute&&e(w,m)&&w.hour===m.hour&&n>m.minute)));w.minute=S(v,n)}return w},S=(n,e)=>{let r=e[0],t=Math.abs(r-n);for(let o=1;o<e.length;o++){const a=e[o],i=Math.abs(a-n);i<t&&(r=a,t=i)}return r},W=n=>({...n,timeZone:"UTC",timeZoneName:void 0}),j=(n,e,r,t={hour:"numeric",minute:"numeric"})=>{const o={hour:e.hour,minute:e.minute};return void 0===o.hour||void 0===o.minute?"Invalid Time":new Intl.DateTimeFormat(n,{...W(t),hourCycle:r}).format(new Date($({year:2023,day:1,month:1,...o})+"Z"))},G=n=>{const e=n.toString();return e.length>1?e:`0${e}`},H=(n,e)=>{if(0===n)switch(e){case"h11":return"0";case"h12":return"12";case"h23":return"00";case"h24":return"24";default:throw new Error(`Invalid hour cycle "${e}"`)}return i(e)?G(n):n.toString()},Y=(n,e,r)=>{if(null===r.day)return null;const t=K(r),o=new Intl.DateTimeFormat(n,{weekday:"long",month:"long",day:"numeric",timeZone:"UTC"}).format(t);return e?`Today, ${o}`:o},q=(n,e)=>{const r=K(e);return new Intl.DateTimeFormat(n,{month:"long",year:"numeric",timeZone:"UTC"}).format(r)},z=(n,e)=>Q(n,e,{day:"numeric"}).find((n=>"day"===n.type)).value,B=(n,e)=>L(n,e,{year:"numeric"}),K=n=>new Date(`${n.month??1}/${n.day??1}/${n.year??2023}${void 0!==n.hour&&void 0!==n.minute?` ${n.hour}:${n.minute}`:""} GMT+0000`),L=(n,e,r)=>{const t=K(e);return R(n,W(r)).format(t)},Q=(n,e,r)=>{const t=K(e);return R(n,r).formatToParts(t)},R=(n,e)=>new Intl.DateTimeFormat(n,{...e,timeZone:"UTC"}),X=n=>{if("RelativeTimeFormat"in Intl){const e=new Intl.RelativeTimeFormat(n,{numeric:"auto"}).format(0,"day");return e.charAt(0).toUpperCase()+e.slice(1)}return"Today"},_=n=>{const e=n.getTimezoneOffset();return n.setMinutes(n.getMinutes()-e),n},nn=_(new Date("2022T01:00")),en=_(new Date("2022T13:00")),rn=(n,e)=>{const r="am"===e?nn:en,t=new Intl.DateTimeFormat(n,{hour:"numeric",timeZone:"UTC"}).formatToParts(r).find((n=>"dayPeriod"===n.type));return t?t.value:(n=>void 0===n?"":n.toUpperCase())(e)},tn=n=>Array.isArray(n)?n.join(","):n;export{Z as A,p as B,w as C,l as D,o as E,f as F,h as G,v as H,$ as I,J,s as K,u as L,q as M,j as N,L as O,tn as P,x as Q,E as a,X as b,B as c,a as d,b as e,H as f,P as g,G as h,rn as i,r as j,e as k,t as l,i as m,d as n,z as o,Y as p,y as q,_ as r,V as s,U as t,D as u,F as v,k as w,N as x,M as y,O as z}
4
+ import{f as n}from"./p-C23AVPx9.js";const e=(n,e)=>n.month===e.month&&n.day===e.day&&n.year===e.year,r=(n,e)=>!!(n.year<e.year||n.year===e.year&&n.month<e.month||n.year===e.year&&n.month===e.month&&null!==n.day&&n.day<e.day),t=(n,e)=>!!(n.year>e.year||n.year===e.year&&n.month>e.month||n.year===e.year&&n.month===e.month&&null!==n.day&&n.day>e.day),o=(e,o,a)=>{const i=Array.isArray(e)?e:[e];for(const d of i)if(void 0!==o&&r(d,o)||void 0!==a&&t(d,a)){n(`[ion-datetime] - The value provided to ion-datetime is out of bounds.\n\nMin: ${JSON.stringify(o)}\nMax: ${JSON.stringify(a)}\nValue: ${JSON.stringify(e)}`);break}},a=(n,e)=>{if(void 0!==e)return e;const r=new Intl.DateTimeFormat(n,{hour:"numeric"}),t=r.resolvedOptions();if(void 0!==t.hourCycle)return t.hourCycle;const o=new Date("5/18/2021 00:00"),a=r.formatToParts(o).find((n=>"hour"===n.type));if(!a)throw new Error("Hour value not found from DateTimeFormat");switch(a.value){case"0":return"h11";case"12":return"h12";case"00":return"h23";case"24":return"h24";default:throw new Error(`Invalid hour cycle "${e}"`)}},i=n=>"h23"===n||"h24"===n,d=(n,e)=>4===n||6===n||9===n||11===n?30:2===n?(n=>n%4==0&&n%100!=0||n%400==0)(e)?29:28:31,s=(n,e={month:"numeric",year:"numeric"})=>"month"===new Intl.DateTimeFormat(n,e).formatToParts(new Date)[0].type,u=n=>"dayPeriod"===new Intl.DateTimeFormat(n,{hour:"numeric"}).formatToParts(new Date)[0].type,m=/^(\d{4}|[+\-]\d{6})(?:-(\d{2})(?:-(\d{2}))?)?(?:T(\d{2}):(\d{2})(?::(\d{2})(?:\.(\d{3}))?)?(?:(Z)|([+\-])(\d{2})(?::(\d{2}))?)?)?$/,c=/^((\d{2}):(\d{2})(?::(\d{2})(?:\.(\d{3}))?)?(?:(Z)|([+\-])(\d{2})(?::(\d{2}))?)?)?$/,v=n=>{if(void 0===n)return;let e,r=n;return"string"==typeof n&&(r=n.replace(/\[|\]|\s/g,"").split(",")),e=Array.isArray(r)?r.map((n=>parseInt(n,10))).filter(isFinite):[r],e},y=n=>({month:parseInt(n.getAttribute("data-month"),10),day:parseInt(n.getAttribute("data-day"),10),year:parseInt(n.getAttribute("data-year"),10),dayOfWeek:parseInt(n.getAttribute("data-day-of-week"),10)});function l(e){if(Array.isArray(e)){const n=[];for(const r of e){const e=l(r);if(!e)return;n.push(e)}return n}let r=null;if(null!=e&&""!==e&&(r=c.exec(e),r?(r.unshift(void 0,void 0),r[2]=r[3]=void 0):r=m.exec(e)),null!==r){for(let n=1;n<8;n++)r[n]=void 0!==r[n]?parseInt(r[n],10):void 0;return{year:r[1],month:r[2],day:r[3],hour:r[4],minute:r[5],ampm:r[4]<12?"am":"pm"}}n(`[ion-datetime] - Unable to parse date string: ${e}. Please provide a valid ISO 8601 datetime string.`)}const h=(n,e,o)=>e&&r(n,e)?e:o&&t(n,o)?o:n,f=n=>n>=12?"pm":"am",w=(n,e)=>{const r=l(n);if(void 0===r)return;const{month:t,day:o,year:a,hour:i,minute:s}=r,u=a??e.year,m=t??12;return{month:m,day:o??d(m,u),year:u,hour:i??23,minute:s??59}},p=(n,e)=>{const r=l(n);if(void 0===r)return;const{month:t,day:o,year:a,hour:i,minute:d}=r;return{month:t??1,day:o??1,year:a??e.year,hour:i??0,minute:d??0}},I=n=>("0"+(void 0!==n?Math.abs(n):"0")).slice(-2);function $(n){if(Array.isArray(n))return n.map((n=>$(n)));let e="";var r;return void 0!==n.year?(e=("000"+(void 0!==(r=n.year)?Math.abs(r):"0")).slice(-4),void 0!==n.month&&(e+="-"+I(n.month),void 0!==n.day&&(e+="-"+I(n.day),void 0!==n.hour&&(e+=`T${I(n.hour)}:${I(n.minute)}:00`)))):void 0!==n.hour&&(e=I(n.hour)+":"+I(n.minute)),e}const T=(n,e)=>void 0===e?n:"am"===e?12===n?0:n:12===n?12:n+12,k=n=>{const{dayOfWeek:e}=n;if(null==e)throw new Error("No day of week provided");return g(n,e)},D=n=>{const{dayOfWeek:e}=n;if(null==e)throw new Error("No day of week provided");return C(n,6-e)},M=n=>C(n,1),N=n=>g(n,1),O=n=>g(n,7),Z=n=>C(n,7),g=(n,e)=>{const{month:r,day:t,year:o}=n;if(null===t)throw new Error("No day provided");const a={month:r,day:t,year:o};if(a.day=t-e,a.day<1&&(a.month-=1),a.month<1&&(a.month=12,a.year-=1),a.day<1){const n=d(a.month,a.year);a.day=n+a.day}return a},C=(n,e)=>{const{month:r,day:t,year:o}=n;if(null===t)throw new Error("No day provided");const a={month:r,day:t,year:o},i=d(r,o);return a.day=t+e,a.day>i&&(a.day-=i,a.month+=1),a.month>12&&(a.month=1,a.year+=1),a},E=n=>{const e=1===n.month?12:n.month-1,r=1===n.month?n.year-1:n.year,t=d(e,r);return{month:e,year:r,day:t<n.day?t:n.day}},P=n=>{const e=12===n.month?1:n.month+1,r=12===n.month?n.year+1:n.year,t=d(e,r);return{month:e,year:r,day:t<n.day?t:n.day}},A=(n,e)=>{const r=n.month,t=n.year+e,o=d(r,t);return{month:r,year:t,day:o<n.day?o:n.day}},V=n=>A(n,-1),U=n=>A(n,1),x=(n,e,r)=>e?n:T(n,r),b=(n,e)=>{const{ampm:r,hour:t}=n;let o=t;return"am"===r&&"pm"===e?o=T(o,"pm"):"pm"===r&&"am"===e&&(o=Math.abs(o-12)),o},F=(n,r,t)=>{const{month:o,day:a,year:i}=n,s=h({...n},r,t),u=d(o,i);return null!==a&&u<a&&(s.day=u),void 0!==r&&e(s,r)&&void 0!==s.hour&&void 0!==r.hour&&(s.hour<r.hour?(s.hour=r.hour,s.minute=r.minute):s.hour===r.hour&&void 0!==s.minute&&void 0!==r.minute&&s.minute<r.minute&&(s.minute=r.minute)),void 0!==t&&e(n,t)&&void 0!==s.hour&&void 0!==t.hour&&(s.hour>t.hour?(s.hour=t.hour,s.minute=t.minute):s.hour===t.hour&&void 0!==s.minute&&void 0!==t.minute&&s.minute>t.minute&&(s.minute=t.minute)),s},J=({refParts:n,monthValues:o,dayValues:a,yearValues:i,hourValues:d,minuteValues:s,minParts:u,maxParts:m})=>{const{hour:c,minute:v,day:y,month:l,year:h}=n,w={...n,dayOfWeek:void 0};if(void 0!==i){const n=i.filter((n=>!(void 0!==u&&n<u.year||void 0!==m&&n>m.year)));w.year=S(h,n)}if(void 0!==o){const n=o.filter((n=>!(void 0!==u&&w.year===u.year&&n<u.month||void 0!==m&&w.year===m.year&&n>m.month)));w.month=S(l,n)}if(null!==y&&void 0!==a){const n=a.filter((n=>!(void 0!==u&&r({...w,day:n},u)||void 0!==m&&t({...w,day:n},m))));w.day=S(y,n)}if(void 0!==c&&void 0!==d){const n=d.filter((n=>!(void 0!==u?.hour&&e(w,u)&&n<u.hour||void 0!==m?.hour&&e(w,m)&&n>m.hour)));w.hour=S(c,n),w.ampm=f(w.hour)}if(void 0!==v&&void 0!==s){const n=s.filter((n=>!(void 0!==u?.minute&&e(w,u)&&w.hour===u.hour&&n<u.minute||void 0!==m?.minute&&e(w,m)&&w.hour===m.hour&&n>m.minute)));w.minute=S(v,n)}return w},S=(n,e)=>{let r=e[0],t=Math.abs(r-n);for(let o=1;o<e.length;o++){const a=e[o],i=Math.abs(a-n);i<t&&(r=a,t=i)}return r},W=n=>({...n,timeZone:"UTC",timeZoneName:void 0}),j=(n,e,r,t={hour:"numeric",minute:"numeric"})=>{const o={hour:e.hour,minute:e.minute};return void 0===o.hour||void 0===o.minute?"Invalid Time":new Intl.DateTimeFormat(n,{...W(t),hourCycle:r}).format(new Date($({year:2023,day:1,month:1,...o})+"Z"))},G=n=>{const e=n.toString();return e.length>1?e:`0${e}`},H=(n,e)=>{if(0===n)switch(e){case"h11":return"0";case"h12":return"12";case"h23":return"00";case"h24":return"24";default:throw new Error(`Invalid hour cycle "${e}"`)}return i(e)?G(n):n.toString()},q=(n,e,r)=>{if(null===r.day)return null;const t=L(r),o=new Intl.DateTimeFormat(n,{weekday:"long",month:"long",day:"numeric",timeZone:"UTC"}).format(t);return e?`Today, ${o}`:o},z=(n,e)=>{const r=L(e);return new Intl.DateTimeFormat(n,{month:"long",year:"numeric",timeZone:"UTC"}).format(r)},B=(n,e)=>R(n,e,{day:"numeric"}).find((n=>"day"===n.type)).value,K=(n,e)=>Q(n,e,{year:"numeric"}),L=n=>new Date(`${n.month??1}/${n.day??1}/${n.year??2023}${void 0!==n.hour&&void 0!==n.minute?` ${n.hour}:${n.minute}`:""} GMT+0000`),Q=(n,e,r)=>{const t=L(e);return X(n,W(r)).format(t)},R=(n,e,r)=>{const t=L(e);return X(n,r).formatToParts(t)},X=(n,e)=>new Intl.DateTimeFormat(n,{...e,timeZone:"UTC"}),Y=n=>{if("RelativeTimeFormat"in Intl){const e=new Intl.RelativeTimeFormat(n,{numeric:"auto"}).format(0,"day");return e.charAt(0).toUpperCase()+e.slice(1)}return"Today"},_=n=>{const e=n.getTimezoneOffset();return n.setMinutes(n.getMinutes()-e),n},nn=_(new Date("2022T01:00")),en=_(new Date("2022T13:00")),rn=(n,e)=>{const r="am"===e?nn:en,t=new Intl.DateTimeFormat(n,{hour:"numeric",timeZone:"UTC"}).formatToParts(r).find((n=>"dayPeriod"===n.type));return t?t.value:(n=>void 0===n?"":n.toUpperCase())(e)},tn=n=>Array.isArray(n)?n.join(","):n;export{Z as A,p as B,w as C,l as D,o as E,f as F,h as G,v as H,$ as I,J,s as K,u as L,b as M,z as N,j as O,Q as P,tn as Q,E as a,Y as b,K as c,a as d,x as e,H as f,P as g,G as h,rn as i,r as j,e as k,t as l,i as m,d as n,B as o,q as p,y as q,_ as r,U as s,V as t,D as u,F as v,k as w,N as x,M as y,O as z}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * (C) Ionic http://ionicframework.com - MIT License
3
3
  */
4
- import{c as e}from"./p-mXsQnyWB.js";const t=async(t,o,n,r,i,s)=>{if(t)return t.attachViewToDom(o,n,i,r);if(!(s||"string"==typeof n||n instanceof HTMLElement))throw new Error("framework delegate is missing");const a="string"==typeof n?o.ownerDocument?.createElement(n):n;return r&&r.forEach((e=>a.classList.add(e))),i&&Object.assign(a,i),o.appendChild(a),await new Promise((t=>e(a,t))),a},o=(e,t)=>{if(t){if(e)return e.removeViewFromDom(t.parentElement,t);t.remove()}return Promise.resolve()},n=()=>{let t,o;return{attachViewToDom:async(n,r,i={},s=[])=>{let a;if(t=n,r){const o="string"==typeof r?t.ownerDocument?.createElement(r):r;s.forEach((e=>o.classList.add(e))),Object.assign(o,i),t.appendChild(o),a=o,await new Promise((t=>e(o,t)))}else if(t.children.length>0&&("ION-MODAL"===t.tagName||"ION-POPOVER"===t.tagName)&&!(a=t.children[0]).classList.contains("ion-delegate-host")){const e=t.ownerDocument?.createElement("div");e.classList.add("ion-delegate-host"),s.forEach((t=>e.classList.add(t))),e.append(...t.children),t.appendChild(e),a=e}const m=document.querySelector("ion-app")||document.body;return o=document.createComment("ionic teleport"),t.parentNode.insertBefore(o,t),m.appendChild(t),a??t},removeViewFromDom:()=>(t&&o&&(o.parentNode.insertBefore(t,o),o.remove()),Promise.resolve())}};export{n as C,t as a,o as d}
4
+ import{c as e}from"./p-CFuOr1Tu.js";const t=async(t,o,r,n,i,s)=>{if(t)return t.attachViewToDom(o,r,i,n);if(!(s||"string"==typeof r||r instanceof HTMLElement))throw new Error("framework delegate is missing");const a="string"==typeof r?o.ownerDocument?.createElement(r):r;return n&&n.forEach((e=>a.classList.add(e))),i&&Object.assign(a,i),o.appendChild(a),await new Promise((t=>e(a,t))),a},o=(e,t)=>{if(t){if(e)return e.removeViewFromDom(t.parentElement,t);t.remove()}return Promise.resolve()},r=()=>{let t,o;return{attachViewToDom:async(r,n,i={},s=[])=>{let a;if(t=r,n){const o="string"==typeof n?t.ownerDocument?.createElement(n):n;s.forEach((e=>o.classList.add(e))),Object.assign(o,i),t.appendChild(o),a=o,await new Promise((t=>e(o,t)))}else if(t.children.length>0&&("ION-MODAL"===t.tagName||"ION-POPOVER"===t.tagName)&&!(a=t.children[0]).classList.contains("ion-delegate-host")){const e=t.ownerDocument?.createElement("div");e.classList.add("ion-delegate-host"),s.forEach((t=>e.classList.add(t))),e.append(...t.children),t.appendChild(e),a=e}const c=document.querySelector("ion-app")||document.body;return o=document.createComment("ionic teleport"),t.parentNode.insertBefore(o,t),c.appendChild(t),a??t},removeViewFromDom:()=>(t&&o&&(o.parentNode.insertBefore(t,o),o.remove()),Promise.resolve())}};export{r as C,t as a,o as d}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * (C) Ionic http://ionicframework.com - MIT License
3
3
  */
4
- import"./p-h81G-QbJ.js";const t=(t,e,n=["item-multiple-inputs"])=>{const i=t.closest("ion-item");if(!i||"undefined"==typeof MutationObserver)return;const r=()=>n.map((t=>i.classList.contains(t))).join(",");let s=r();const o=new MutationObserver((()=>{const t=r();t!==s&&(s=t,e())}));return o.observe(i,{attributes:!0,attributeFilter:["class"]}),o};export{t as c}
4
+ import"./p-C23AVPx9.js";const t=(t,e,n=["item-multiple-inputs"])=>{const i=t.closest("ion-item");if(!i||"undefined"==typeof MutationObserver)return;const r=()=>n.map((t=>i.classList.contains(t))).join(",");let s=r();const o=new MutationObserver((()=>{const t=r();t!==s&&(s=t,e())}));return o.observe(i,{attributes:!0,attributeFilter:["class"]}),o};export{t as c}
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * (C) Ionic http://ionicframework.com - MIT License
3
+ */
4
+ import{a as o,w as s}from"./p-C23AVPx9.js";import{a as r,s as t}from"./p-Bd72UYI2.js";import{c as a}from"./p-CFuOr1Tu.js";import"./p-Dojwmvde.js";const m=()=>{const m=window;m.addEventListener("statusTap",(()=>{o((()=>{const o=document.elementFromPoint(m.innerWidth/2,m.innerHeight/2);if(!o)return;const n=r(o);n&&new Promise((o=>a(n,o))).then((()=>{s((async()=>{n.style.setProperty("--overflow","hidden"),await t(n,300),n.style.removeProperty("--overflow")}))}))}))}))};export{m as startStatusTap}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * (C) Ionic http://ionicframework.com - MIT License
3
3
  */
4
- import{d as t}from"./p-ZjP4CjeZ.js";import{MENU_BACK_BUTTON_PRIORITY as e}from"./p-C2BY_4Wp.js";import{f as n}from"./p-h81G-QbJ.js";import{c as r}from"./p-06ZcwRF5.js";import{b as s}from"./p-CTBfxfjC.js";import{c as a}from"./p-Cc4w3fVf.js";const o=t=>a().duration(t?400:300),i=t=>{let e,n;const r=t.width+8,i=a(),u=a();t.isEndSide?(e=r+"px",n="0px"):(e=-r+"px",n="0px"),i.addElement(t.menuInnerEl).fromTo("transform",`translateX(${e})`,`translateX(${n})`);const c="ios"===s(t),f=c?.2:.25;return u.addElement(t.backdropEl).fromTo("opacity",.01,f),o(c).addAnimation([i,u])},u=t=>{let e,n;const r=s(t),i=t.width;t.isEndSide?(e=-i+"px",n=i+"px"):(e=i+"px",n=-i+"px");const u=a().addElement(t.menuInnerEl).fromTo("transform",`translateX(${n})`,"translateX(0px)"),c=a().addElement(t.contentEl).fromTo("transform","translateX(0px)",`translateX(${e})`),f=a().addElement(t.backdropEl).fromTo("opacity",.01,.32);return o("ios"===r).addAnimation([u,c,f])},c=t=>{const e=s(t),n=t.width*(t.isEndSide?-1:1)+"px",r=a().addElement(t.contentEl).fromTo("transform","translateX(0px)",`translateX(${n})`);return o("ios"===e).addAnimation(r)},f=(()=>{const s=new Map,a=[],o=async(t,e=!1)=>{if(await d(),"start"===t||"end"===t){const r=a.filter((e=>e.side===t&&!e.disabled));if(r.length>=1)return r.length>1&&e&&n(`menuController queried for a menu on the "${t}" side, but ${r.length} menus were found. The first menu reference will be used. If this is not the behavior you want then pass the ID of the menu instead of its side.`,r.map((t=>t.el))),r[0].el;const s=a.filter((e=>e.side===t));if(s.length>=1)return s.length>1&&e&&n(`menuController queried for a menu on the "${t}" side, but ${s.length} menus were found. The first menu reference will be used. If this is not the behavior you want then pass the ID of the menu instead of its side.`,s.map((t=>t.el))),s[0].el}else if(null!=t)return w((e=>e.menuId===t));return w((t=>!t.disabled))||(a.length>0?a[0].el:void 0)},f=async()=>(await d(),m()),p=(t,e)=>{s.set(t,e)},m=()=>w((t=>t._isOpen)),l=()=>a.some((t=>t.isAnimating)),w=t=>{const e=a.find(t);if(void 0!==e)return e.el},d=()=>Promise.all(Array.from(document.querySelectorAll("ion-menu")).map((t=>new Promise((e=>r(t,e))))));return p("reveal",c),p("push",u),p("overlay",i),t?.addEventListener("ionBackButton",(t=>{const n=m();n&&t.detail.register(e,(()=>n.close()))})),{registerAnimation:p,get:o,getMenus:async()=>(await d(),a.map((t=>t.el))),getOpen:f,isEnabled:async t=>{const e=await o(t);return!!e&&!e.disabled},swipeGesture:async(t,e)=>{const n=await o(e);return n&&(n.swipeGesture=t),n},isAnimating:async()=>(await d(),l()),isOpen:async t=>{if(null!=t){const e=await o(t);return void 0!==e&&e.isOpen()}return void 0!==await f()},enable:async(t,e)=>{const n=await o(e);return n&&(n.disabled=!t),n},toggle:async t=>{const e=await o(t,!0);return!!e&&e.toggle()},close:async t=>{const e=await(void 0!==t?o(t,!0):f());return void 0!==e&&e.close()},open:async t=>{const e=await o(t,!0);return!!e&&e.open()},_getOpenSync:m,_createAnimation:(t,e)=>{const n=s.get(t);if(!n)throw new Error("animation not registered");return n(e)},_register:t=>{a.indexOf(t)<0&&a.push(t)},_unregister:t=>{const e=a.indexOf(t);e>-1&&a.splice(e,1)},_setOpen:async(t,e,n,r)=>{if(l())return!1;if(e){const e=await f();e&&t.el!==e&&await e.setOpen(!1,!1)}return t._setOpen(e,n,r)}}})();export{f as m}
4
+ import{d as t}from"./p-ZjP4CjeZ.js";import{MENU_BACK_BUTTON_PRIORITY as e}from"./p-BgOvhHy_.js";import{f as n}from"./p-C23AVPx9.js";import{c as r}from"./p-CFuOr1Tu.js";import{b as s}from"./p-Do3zTvCA.js";import{c as a}from"./p-DLM95R4x.js";const o=t=>a().duration(t?400:300),i=t=>{let e,n;const r=t.width+8,i=a(),u=a();t.isEndSide?(e=r+"px",n="0px"):(e=-r+"px",n="0px"),i.addElement(t.menuInnerEl).fromTo("transform",`translateX(${e})`,`translateX(${n})`);const c="ios"===s(t),p=c?.2:.25;return u.addElement(t.backdropEl).fromTo("opacity",.01,p),o(c).addAnimation([i,u])},u=t=>{let e,n;const r=s(t),i=t.width;t.isEndSide?(e=-i+"px",n=i+"px"):(e=i+"px",n=-i+"px");const u=a().addElement(t.menuInnerEl).fromTo("transform",`translateX(${n})`,"translateX(0px)"),c=a().addElement(t.contentEl).fromTo("transform","translateX(0px)",`translateX(${e})`),p=a().addElement(t.backdropEl).fromTo("opacity",.01,.32);return o("ios"===r).addAnimation([u,c,p])},c=t=>{const e=s(t),n=t.width*(t.isEndSide?-1:1)+"px",r=a().addElement(t.contentEl).fromTo("transform","translateX(0px)",`translateX(${n})`);return o("ios"===e).addAnimation(r)},p=(()=>{const s=new Map,a=[],o=async(t,e=!1)=>{if(await d(),"start"===t||"end"===t){const r=a.filter((e=>e.side===t&&!e.disabled));if(r.length>=1)return r.length>1&&e&&n(`menuController queried for a menu on the "${t}" side, but ${r.length} menus were found. The first menu reference will be used. If this is not the behavior you want then pass the ID of the menu instead of its side.`,r.map((t=>t.el))),r[0].el;const s=a.filter((e=>e.side===t));if(s.length>=1)return s.length>1&&e&&n(`menuController queried for a menu on the "${t}" side, but ${s.length} menus were found. The first menu reference will be used. If this is not the behavior you want then pass the ID of the menu instead of its side.`,s.map((t=>t.el))),s[0].el}else if(null!=t)return w((e=>e.menuId===t));return w((t=>!t.disabled))||(a.length>0?a[0].el:void 0)},p=async()=>(await d(),f()),m=(t,e)=>{s.set(t,e)},f=()=>w((t=>t._isOpen)),l=()=>a.some((t=>t.isAnimating)),w=t=>{const e=a.find(t);if(void 0!==e)return e.el},d=()=>Promise.all(Array.from(document.querySelectorAll("ion-menu")).map((t=>new Promise((e=>r(t,e))))));return m("reveal",c),m("push",u),m("overlay",i),t?.addEventListener("ionBackButton",(t=>{const n=f();n&&t.detail.register(e,(()=>n.close()))})),{registerAnimation:m,get:o,getMenus:async()=>(await d(),a.map((t=>t.el))),getOpen:p,isEnabled:async t=>{const e=await o(t);return!!e&&!e.disabled},swipeGesture:async(t,e)=>{const n=await o(e);return n&&(n.swipeGesture=t),n},isAnimating:async()=>(await d(),l()),isOpen:async t=>{if(null!=t){const e=await o(t);return void 0!==e&&e.isOpen()}return void 0!==await p()},enable:async(t,e)=>{const n=await o(e);return n&&(n.disabled=!t),n},toggle:async t=>{const e=await o(t,!0);return!!e&&e.toggle()},close:async t=>{const e=await(void 0!==t?o(t,!0):p());return void 0!==e&&e.close()},open:async t=>{const e=await o(t,!0);return!!e&&e.open()},_getOpenSync:f,_createAnimation:(t,e)=>{const n=s.get(t);if(!n)throw new Error("animation not registered");return n(e)},_register:t=>{a.indexOf(t)<0&&a.push(t)},_unregister:t=>{const e=a.indexOf(t);e>-1&&a.splice(e,1)},_setOpen:async(t,e,n,r)=>{if(l())return!1;if(e){const e=await p();e&&t.el!==e&&await e.setOpen(!1,!1)}return t._setOpen(e,n,r)}}})();export{p as m}