@ionic/core 9.0.1-dev.11787589191.1e183b55 → 9.0.1-dev.11787949960.1e63841c

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 (446) 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-gFwXiYC_.js → p-5rFO7X8J.js} +1 -1
  99. package/components/{p-BpLt_Ptn.js → p-7qDu1bID.js} +1 -1
  100. package/components/{p-7PNwKFZi.js → p-B2L09UOs.js} +1 -1
  101. package/components/{p-DcOH6-o5.js → p-BAJ7NctL.js} +1 -1
  102. package/components/{p-Kmrg3Fed.js → p-BE9noJ1O.js} +1 -1
  103. package/components/{p-CgvDC7hC.js → p-BFwL2yyK.js} +1 -1
  104. package/components/{p-DysqCsJu.js → p-BWHBdLfY.js} +1 -1
  105. package/components/{p-SR-LLqp_.js → p-Bcm-GVQM.js} +1 -1
  106. package/{dist/ionic/p-9wczfs_v.js → components/p-BcuLPPAE.js} +1 -1
  107. package/components/p-BhlP16sB.js +4 -0
  108. package/components/{p-H1f2qsk4.js → p-BqE7e5gH.js} +1 -1
  109. package/components/{p-BqBDq1Ma.js → p-C12SAK00.js} +1 -1
  110. package/components/{p-BPnXVGaS.js → p-C8Tp0cQy.js} +1 -1
  111. package/components/{p-A8MJRBIY.js → p-C8mPeq0D.js} +1 -1
  112. package/components/{p-Bx2saTHs.js → p-CB06XtlF.js} +1 -1
  113. package/components/{p-BgUIV8NQ.js → p-CBhGZ6rF.js} +1 -1
  114. package/components/{p-B8MQjdvk.js → p-CDKY4TZ_.js} +1 -1
  115. package/components/{p-CWETxTjE.js → p-CEkamjav.js} +1 -1
  116. package/components/p-CFtAWaB6.js +4 -0
  117. package/components/{p-DEW7CnUc.js → p-CJTKYpZv.js} +1 -1
  118. package/components/{p-BA_4ZIEg.js → p-CLZPNP7x.js} +1 -1
  119. package/components/{p-tX3UxCnU.js → p-COxY7PLK.js} +1 -1
  120. package/components/p-CQxPXWNM.js +4 -0
  121. package/components/{p-DDdkefwf.js → p-CRcX0EGs.js} +1 -1
  122. package/components/{p-DnXLaaf7.js → p-CVNvmbDp.js} +1 -1
  123. package/components/p-CXpy69Ei.js +4 -0
  124. package/{dist/ionic/p-BZxjcGRP.js → components/p-CdSLe3Q3.js} +1 -1
  125. package/components/p-CoGD-oMG.js +4 -0
  126. package/components/p-CpYeYl3u.js +4 -0
  127. package/components/{p-BnUOVmKh.js → p-CuS0-WwK.js} +1 -1
  128. package/components/{p-D1OCo42s.js → p-CxiXpCtB.js} +1 -1
  129. package/components/{p-BFtL8t1r.js → p-CyKlfXdt.js} +1 -1
  130. package/components/{p-DD57rSP_.js → p-D2XJVty5.js} +1 -1
  131. package/components/p-DALTMT_o.js +4 -0
  132. package/{dist/ionic/p-D0dfUysx.js → components/p-DG-dUCKp.js} +1 -1
  133. package/{dist/ionic/p-DF_Uqql8.js → components/p-DH0rRXjx.js} +1 -1
  134. package/components/{p-D7ysFE2B.js → p-DMkSsriG.js} +1 -1
  135. package/components/{p-B6x5_b9w.js → p-DkEb3SCT.js} +1 -1
  136. package/components/p-Dr-rBSUW.js +4 -0
  137. package/components/p-MHpJ2A_m.js +4 -0
  138. package/components/p-N6lZFXYR.js +4 -0
  139. package/components/p-QgdyH-Zs.js +4 -0
  140. package/components/{p-BMfgF-Tv.js → p-RRH-7cpd.js} +1 -1
  141. package/components/p-UKksD3f9.js +4 -0
  142. package/components/{p-v2NpoOHp.js → p-VTfnz_8u.js} +1 -1
  143. package/components/p-fP0QF3iG.js +4 -0
  144. package/components/{p-BPDxVIRr.js → p-l-zxxFre.js} +1 -1
  145. package/components/{p-BrFaQbGY.js → p-mXsQnyWB.js} +1 -1
  146. package/components/p-ntAkt4Ra.js +4 -0
  147. package/components/p-ufB0gCSU.js +4 -0
  148. package/{dist/ionic/p-DLLCmV-y.js → components/p-z-BF3clL.js} +1 -1
  149. package/css/core.css +1 -1
  150. package/css/core.css.map +1 -1
  151. package/css/ionic.bundle.css +1 -1
  152. package/css/ionic.bundle.css.map +1 -1
  153. package/dist/cjs/{animation-D-OqR4a4.js → animation-ihPP_z2n.js} +1 -1
  154. package/dist/cjs/{app-globals-BzgwARwJ.js → app-globals-BlkzA410.js} +1 -1
  155. package/dist/cjs/{button-active-BlWSD7uK.js → button-active-ItGBjzmO.js} +1 -1
  156. package/dist/cjs/{format-D7ig6Vm0.js → format-CPIqtp4x.js} +1 -1
  157. package/dist/cjs/{framework-delegate-BZUx4TnE.js → framework-delegate-DhyWUPGg.js} +1 -1
  158. package/dist/cjs/{hardware-back-button-JOAEFSzc.js → hardware-back-button-D5f_kASb.js} +1 -1
  159. package/dist/cjs/{helpers-Dj5o76mq.js → helpers-BCLkFTTd.js} +1 -1
  160. package/dist/cjs/{index-C8zH6b3d.js → index-49DTLc_Z.js} +2 -2
  161. package/dist/cjs/{index-CZ6vzt_q.js → index-BcyiqD6R.js} +5 -5
  162. package/dist/cjs/{index-BrVMoqUk.js → index-Bgz6BcKx.js} +50 -16
  163. package/dist/cjs/{index-EJLjthTK.js → index-BocV_y-c.js} +2 -1
  164. package/dist/cjs/{index-2sO-zkZ2.js → index-CldjPPyP.js} +4 -4
  165. package/dist/cjs/{index-Csue6G3m.js → index-xum7jdbq.js} +2 -2
  166. package/dist/cjs/index.cjs.js +12 -12
  167. package/dist/cjs/{input-shims-Bh7bnt2v.js → input-shims-Jisy7U7-.js} +3 -3
  168. package/dist/cjs/{input.utils-Cq3g9uHy.js → input.utils-BDTpGrfn.js} +1 -1
  169. package/dist/cjs/ion-accordion_2.cjs.entry.js +3 -3
  170. package/dist/cjs/ion-action-sheet.cjs.entry.js +16 -15
  171. package/dist/cjs/ion-alert.cjs.entry.js +10 -10
  172. package/dist/cjs/ion-app_8.cjs.entry.js +38 -16
  173. package/dist/cjs/ion-avatar_3.cjs.entry.js +2 -2
  174. package/dist/cjs/ion-back-button.cjs.entry.js +3 -3
  175. package/dist/cjs/ion-backdrop.cjs.entry.js +2 -2
  176. package/dist/cjs/ion-breadcrumb_2.cjs.entry.js +3 -3
  177. package/dist/cjs/ion-button_2.cjs.entry.js +3 -3
  178. package/dist/cjs/ion-card_5.cjs.entry.js +3 -3
  179. package/dist/cjs/ion-checkbox.cjs.entry.js +4 -4
  180. package/dist/cjs/ion-chip.cjs.entry.js +2 -2
  181. package/dist/cjs/ion-col_3.cjs.entry.js +2 -2
  182. package/dist/cjs/ion-datetime-button.cjs.entry.js +4 -4
  183. package/dist/cjs/ion-datetime.cjs.entry.js +32 -24
  184. package/dist/cjs/ion-fab_3.cjs.entry.js +3 -3
  185. package/dist/cjs/ion-img.cjs.entry.js +3 -3
  186. package/dist/cjs/ion-infinite-scroll_2.cjs.entry.js +5 -5
  187. package/dist/cjs/ion-input-otp.cjs.entry.js +3 -3
  188. package/dist/cjs/ion-input-password-toggle.cjs.entry.js +2 -2
  189. package/dist/cjs/ion-input.cjs.entry.js +5 -5
  190. package/dist/cjs/ion-item-option_3.cjs.entry.js +13 -15
  191. package/dist/cjs/ion-item_8.cjs.entry.js +3 -3
  192. package/dist/cjs/ion-loading.cjs.entry.js +8 -8
  193. package/dist/cjs/ion-menu_3.cjs.entry.js +8 -8
  194. package/dist/cjs/ion-modal.cjs.entry.js +11 -11
  195. package/dist/cjs/ion-nav_2.cjs.entry.js +6 -6
  196. package/dist/cjs/ion-picker-column-option.cjs.entry.js +3 -3
  197. package/dist/cjs/ion-picker-column.cjs.entry.js +210 -46
  198. package/dist/cjs/ion-picker.cjs.entry.js +2 -2
  199. package/dist/cjs/ion-popover.cjs.entry.js +14 -11
  200. package/dist/cjs/ion-progress-bar.cjs.entry.js +3 -3
  201. package/dist/cjs/ion-radio_2.cjs.entry.js +4 -4
  202. package/dist/cjs/ion-range.cjs.entry.js +4 -4
  203. package/dist/cjs/ion-refresher_2.cjs.entry.js +6 -6
  204. package/dist/cjs/ion-reorder_2.cjs.entry.js +4 -4
  205. package/dist/cjs/ion-ripple-effect.cjs.entry.js +2 -2
  206. package/dist/cjs/ion-route_4.cjs.entry.js +4 -4
  207. package/dist/cjs/ion-searchbar.cjs.entry.js +3 -3
  208. package/dist/cjs/ion-segment-content.cjs.entry.js +1 -1
  209. package/dist/cjs/ion-segment-view.cjs.entry.js +1 -1
  210. package/dist/cjs/ion-segment_2.cjs.entry.js +14 -10
  211. package/dist/cjs/ion-select-modal.cjs.entry.js +8 -8
  212. package/dist/cjs/ion-select_3.cjs.entry.js +57 -47
  213. package/dist/cjs/ion-spinner.cjs.entry.js +2 -2
  214. package/dist/cjs/ion-split-pane.cjs.entry.js +2 -2
  215. package/dist/cjs/ion-tab-bar_2.cjs.entry.js +3 -3
  216. package/dist/cjs/ion-tab_2.cjs.entry.js +3 -3
  217. package/dist/cjs/ion-text.cjs.entry.js +2 -2
  218. package/dist/cjs/ion-textarea.cjs.entry.js +5 -5
  219. package/dist/cjs/ion-toast.cjs.entry.js +8 -8
  220. package/dist/cjs/ion-toggle.cjs.entry.js +4 -4
  221. package/dist/cjs/{ionic-global-DvgIzM2F.js → ionic-global-BMU-Us1Q.js} +1 -1
  222. package/dist/cjs/ionic.cjs.js +4 -4
  223. package/dist/cjs/{ios.transition-zIgdoSYe.js → ios.transition-OCcCN--B.js} +4 -4
  224. package/dist/cjs/{item-multiple-inputs-DG-ZGm6j.js → item-multiple-inputs-BH9yPC66.js} +1 -1
  225. package/dist/cjs/loader.cjs.js +3 -3
  226. package/dist/cjs/{md.transition-CXeJ9rfh.js → md.transition-D0o2IIbo.js} +4 -4
  227. package/dist/cjs/{overlays-B5JeC8OQ.js → overlays-HN9joo1Z.js} +8 -6
  228. package/dist/cjs/{select-option-render-7m1WdFzF.js → select-option-render-BPjGDlsG.js} +2 -2
  229. package/dist/cjs/{slot-mutation-controller-BJEJzx_e.js → slot-mutation-controller-IQ250LoG.js} +1 -1
  230. package/dist/cjs/{status-tap-DxbUM5XX.js → status-tap-Bakl9czs.js} +3 -3
  231. package/dist/cjs/{swipe-back-F_DBt-Aw.js → swipe-back-Cv4OZVJ5.js} +2 -2
  232. package/dist/collection/collection-manifest.json +1 -1
  233. package/dist/collection/components/action-sheet/action-sheet.js +6 -5
  234. package/dist/collection/components/content/content.js +26 -4
  235. package/dist/collection/components/datetime/datetime.js +25 -17
  236. package/dist/collection/components/item-sliding/item-sliding.js +10 -12
  237. package/dist/collection/components/modal/modal.ios.css +12 -1
  238. package/dist/collection/components/modal/modal.md.css +12 -1
  239. package/dist/collection/components/picker-column/picker-column.js +207 -43
  240. package/dist/collection/components/popover/popover.js +6 -3
  241. package/dist/collection/components/segment-button/segment-button.js +11 -7
  242. package/dist/collection/components/select/select.js +49 -39
  243. package/dist/collection/utils/overlays.js +3 -1
  244. package/dist/collection/utils/test/late-props/late-props.js +69 -0
  245. package/dist/collection/utils/test/playwright/detach-reattach.js +23 -0
  246. package/dist/collection/utils/test/playwright/index.js +1 -0
  247. package/dist/docs.json +279 -48
  248. package/dist/esm/{animation-TxGPYeDn.js → animation-B6KGUJwl.js} +1 -1
  249. package/dist/esm/{app-globals-Do8rJest.js → app-globals-BvutUX8P.js} +1 -1
  250. package/dist/esm/{button-active-ChA4D-ml.js → button-active-DRNebs9r.js} +1 -1
  251. package/dist/esm/{format-CVk5e_GP.js → format-BF3btM7P.js} +1 -1
  252. package/dist/esm/{framework-delegate-DaLWnISz.js → framework-delegate-60cEIAgt.js} +1 -1
  253. package/dist/esm/{hardware-back-button-D8W4L0JP.js → hardware-back-button-rhkwRNk2.js} +1 -1
  254. package/dist/esm/{helpers-BIgoInJU.js → helpers-DLLANtRS.js} +1 -1
  255. package/dist/esm/{index-C8Dsa6li.js → index-BZHVn0iF.js} +4 -4
  256. package/dist/esm/{index-DHw2lZxe.js → index-Bl4BUvBL.js} +2 -2
  257. package/dist/esm/{index-BmOR8tCv.js → index-DOrtAUWV.js} +2 -2
  258. package/dist/esm/{index-C5ZdL0qp.js → index-D_7MeuVD.js} +5 -5
  259. package/dist/esm/{index-elneMH8y.js → index-JgU5uTSY.js} +2 -2
  260. package/dist/esm/{index-CKYcsw8f.js → index-h81G-QbJ.js} +50 -16
  261. package/dist/esm/index.js +12 -12
  262. package/dist/esm/{input-shims-09NN97kF.js → input-shims-C2ipc_XX.js} +3 -3
  263. package/dist/esm/{input.utils-BxyH9l1w.js → input.utils-D-qoPjqr.js} +1 -1
  264. package/dist/esm/ion-accordion_2.entry.js +3 -3
  265. package/dist/esm/ion-action-sheet.entry.js +16 -15
  266. package/dist/esm/ion-alert.entry.js +10 -10
  267. package/dist/esm/ion-app_8.entry.js +38 -16
  268. package/dist/esm/ion-avatar_3.entry.js +2 -2
  269. package/dist/esm/ion-back-button.entry.js +3 -3
  270. package/dist/esm/ion-backdrop.entry.js +2 -2
  271. package/dist/esm/ion-breadcrumb_2.entry.js +3 -3
  272. package/dist/esm/ion-button_2.entry.js +3 -3
  273. package/dist/esm/ion-card_5.entry.js +3 -3
  274. package/dist/esm/ion-checkbox.entry.js +4 -4
  275. package/dist/esm/ion-chip.entry.js +2 -2
  276. package/dist/esm/ion-col_3.entry.js +2 -2
  277. package/dist/esm/ion-datetime-button.entry.js +4 -4
  278. package/dist/esm/ion-datetime.entry.js +32 -24
  279. package/dist/esm/ion-fab_3.entry.js +3 -3
  280. package/dist/esm/ion-img.entry.js +3 -3
  281. package/dist/esm/ion-infinite-scroll_2.entry.js +5 -5
  282. package/dist/esm/ion-input-otp.entry.js +3 -3
  283. package/dist/esm/ion-input-password-toggle.entry.js +2 -2
  284. package/dist/esm/ion-input.entry.js +5 -5
  285. package/dist/esm/ion-item-option_3.entry.js +13 -15
  286. package/dist/esm/ion-item_8.entry.js +3 -3
  287. package/dist/esm/ion-loading.entry.js +8 -8
  288. package/dist/esm/ion-menu_3.entry.js +8 -8
  289. package/dist/esm/ion-modal.entry.js +11 -11
  290. package/dist/esm/ion-nav_2.entry.js +6 -6
  291. package/dist/esm/ion-picker-column-option.entry.js +3 -3
  292. package/dist/esm/ion-picker-column.entry.js +211 -47
  293. package/dist/esm/ion-picker.entry.js +2 -2
  294. package/dist/esm/ion-popover.entry.js +14 -11
  295. package/dist/esm/ion-progress-bar.entry.js +3 -3
  296. package/dist/esm/ion-radio_2.entry.js +4 -4
  297. package/dist/esm/ion-range.entry.js +4 -4
  298. package/dist/esm/ion-refresher_2.entry.js +6 -6
  299. package/dist/esm/ion-reorder_2.entry.js +4 -4
  300. package/dist/esm/ion-ripple-effect.entry.js +2 -2
  301. package/dist/esm/ion-route_4.entry.js +4 -4
  302. package/dist/esm/ion-searchbar.entry.js +3 -3
  303. package/dist/esm/ion-segment-content.entry.js +1 -1
  304. package/dist/esm/ion-segment-view.entry.js +1 -1
  305. package/dist/esm/ion-segment_2.entry.js +14 -10
  306. package/dist/esm/ion-select-modal.entry.js +8 -8
  307. package/dist/esm/ion-select_3.entry.js +57 -47
  308. package/dist/esm/ion-spinner.entry.js +2 -2
  309. package/dist/esm/ion-split-pane.entry.js +2 -2
  310. package/dist/esm/ion-tab-bar_2.entry.js +3 -3
  311. package/dist/esm/ion-tab_2.entry.js +3 -3
  312. package/dist/esm/ion-text.entry.js +2 -2
  313. package/dist/esm/ion-textarea.entry.js +5 -5
  314. package/dist/esm/ion-toast.entry.js +8 -8
  315. package/dist/esm/ion-toggle.entry.js +4 -4
  316. package/dist/esm/{ionic-global-lrowsHfi.js → ionic-global-B7I1sdvg.js} +1 -1
  317. package/dist/esm/ionic.js +5 -5
  318. package/dist/esm/{ios.transition-BQhADrk1.js → ios.transition-C-6IaIxe.js} +4 -4
  319. package/dist/esm/{item-multiple-inputs-D_N3fDkD.js → item-multiple-inputs-DI91syHS.js} +1 -1
  320. package/dist/esm/loader.js +4 -4
  321. package/dist/esm/{md.transition-D58NpmRa.js → md.transition-dyqt0t0d.js} +4 -4
  322. package/dist/esm/{overlays-CefdMZgF.js → overlays-Dz2cGX5q.js} +8 -6
  323. package/dist/esm/{select-option-render-lIuu64EV.js → select-option-render-CUJpruSC.js} +2 -2
  324. package/dist/esm/{slot-mutation-controller-rS_T3FDR.js → slot-mutation-controller-wFuztlVD.js} +1 -1
  325. package/dist/esm/{status-tap-CpFQMLl6.js → status-tap-Dn_42wiy.js} +3 -3
  326. package/dist/esm/{swipe-back-rmc7zeNW.js → swipe-back-CqOqrHW7.js} +2 -2
  327. package/dist/ionic/index.esm.js +1 -1
  328. package/dist/ionic/ionic.esm.js +1 -1
  329. package/dist/ionic/{p-36abc1ee.entry.js → p-010601fe.entry.js} +1 -1
  330. package/dist/ionic/{p-a2fa2de2.entry.js → p-025763b2.entry.js} +1 -1
  331. package/dist/ionic/{p-d8deff43.entry.js → p-026e2e4c.entry.js} +1 -1
  332. package/dist/ionic/{p-RzUn7cKs.js → p-06ZcwRF5.js} +1 -1
  333. package/dist/ionic/{p-b62bfce8.entry.js → p-082b8125.entry.js} +1 -1
  334. package/dist/ionic/{p-16e9f542.entry.js → p-0b52d921.entry.js} +1 -1
  335. package/dist/ionic/p-0c2b3555.entry.js +4 -0
  336. package/dist/ionic/{p-485fb218.entry.js → p-1a20571c.entry.js} +1 -1
  337. package/dist/ionic/{p-90ba736e.entry.js → p-1f66c230.entry.js} +1 -1
  338. package/dist/ionic/{p-a0fee899.entry.js → p-2aabd568.entry.js} +1 -1
  339. package/dist/ionic/{p-295ff427.entry.js → p-2ff12c8a.entry.js} +1 -1
  340. package/dist/ionic/p-326e0d05.entry.js +4 -0
  341. package/dist/ionic/p-392079fa.entry.js +4 -0
  342. package/dist/ionic/{p-6f048604.entry.js → p-43bae3f5.entry.js} +1 -1
  343. package/dist/ionic/{p-9455207b.entry.js → p-4778b90f.entry.js} +1 -1
  344. package/dist/ionic/{p-d3384a40.entry.js → p-47b8b59a.entry.js} +1 -1
  345. package/dist/ionic/{p-478035a7.entry.js → p-53ba5651.entry.js} +1 -1
  346. package/dist/ionic/{p-bbf6878c.entry.js → p-546b1109.entry.js} +1 -1
  347. package/dist/ionic/{p-8dd4c026.entry.js → p-5dc53bdf.entry.js} +1 -1
  348. package/dist/ionic/{p-1df75f9e.entry.js → p-5ed60413.entry.js} +1 -1
  349. package/dist/ionic/p-639d3b55.entry.js +4 -0
  350. package/dist/ionic/{p-ddfb7e5f.entry.js → p-6d84fa9f.entry.js} +1 -1
  351. package/dist/ionic/{p-72ad7c64.entry.js → p-7c859f42.entry.js} +1 -1
  352. package/dist/ionic/p-7dec112e.entry.js +4 -0
  353. package/dist/ionic/{p-f376876b.entry.js → p-83aa7d47.entry.js} +1 -1
  354. package/dist/ionic/{p-959df5f8.entry.js → p-8d72244b.entry.js} +1 -1
  355. package/dist/ionic/{p-9e455875.entry.js → p-8e388a30.entry.js} +1 -1
  356. package/dist/ionic/{p-b875a59e.entry.js → p-90e06e60.entry.js} +1 -1
  357. package/dist/ionic/{p-b5f37106.entry.js → p-9452849d.entry.js} +1 -1
  358. package/dist/ionic/{p-a54bcd16.entry.js → p-9e688396.entry.js} +1 -1
  359. package/dist/ionic/{p-cad4eccf.entry.js → p-9eba0d8a.entry.js} +1 -1
  360. package/dist/ionic/{p-8e007f11.entry.js → p-9f2d3987.entry.js} +1 -1
  361. package/dist/ionic/p-9fef333a.entry.js +4 -0
  362. package/{components/p-BSARlp49.js → dist/ionic/p-BC17SPKH.js} +1 -1
  363. package/dist/ionic/p-BRa1Jjxr.js +4 -0
  364. package/dist/ionic/{p-De0eY881.js → p-BRc8gq5v.js} +1 -1
  365. package/{components/p-66ogmUZU.js → dist/ionic/p-BpG7jkT9.js} +1 -1
  366. package/dist/ionic/{p-B1Y7LZhV.js → p-C10K-FJg.js} +1 -1
  367. package/dist/ionic/{p-D9yvytgv.js → p-C2BY_4Wp.js} +1 -1
  368. package/dist/ionic/{p-BZVE25Gu.js → p-CH8tk7Pr.js} +1 -1
  369. package/dist/ionic/{p-CDBop-kz.js → p-CTBfxfjC.js} +1 -1
  370. package/dist/ionic/p-Cc-fFNy8.js +4 -0
  371. package/dist/ionic/p-Cc4w3fVf.js +4 -0
  372. package/{components/p-BuPAFTWI.js → dist/ionic/p-CoEa7CiN.js} +1 -1
  373. package/dist/ionic/p-CvRL-Eju.js +4 -0
  374. package/dist/ionic/p-DA88iqXQ.js +4 -0
  375. package/dist/ionic/{p-DXJgZWgi.js → p-DMj-M2c4.js} +1 -1
  376. package/dist/ionic/p-D_IgV7tz.js +4 -0
  377. package/dist/ionic/{p-VquyMbjp.js → p-DoUx_N0R.js} +1 -1
  378. package/dist/ionic/{p-C4IBDDj6.js → p-KJ5pLPiN.js} +1 -1
  379. package/dist/ionic/{p-ByLaqOPm.js → p-Q9w8L_Sw.js} +1 -1
  380. package/dist/ionic/{p-ClrlQU2y.js → p-S1shXW5M.js} +1 -1
  381. package/dist/ionic/{p-1db2afb4.entry.js → p-a2fccdaa.entry.js} +1 -1
  382. package/dist/ionic/{p-fbd83d4c.entry.js → p-ac71362a.entry.js} +1 -1
  383. package/dist/ionic/p-b8cd338d.entry.js +4 -0
  384. package/dist/ionic/{p-408973f4.entry.js → p-bdc01880.entry.js} +1 -1
  385. package/dist/ionic/{p-5f216b79.entry.js → p-ca57763d.entry.js} +1 -1
  386. package/dist/ionic/{p-39a8d4e0.entry.js → p-cc749877.entry.js} +1 -1
  387. package/dist/ionic/{p-56307aea.entry.js → p-d1539609.entry.js} +1 -1
  388. package/dist/ionic/{p-cdc5115e.entry.js → p-d1b888de.entry.js} +1 -1
  389. package/dist/ionic/{p-a53b0908.entry.js → p-d85e59b1.entry.js} +1 -1
  390. package/dist/ionic/{p-f3b671aa.entry.js → p-dad2f3e4.entry.js} +1 -1
  391. package/dist/ionic/{p-70ee8888.entry.js → p-dadcb3d2.entry.js} +1 -1
  392. package/dist/ionic/{p-c49165af.entry.js → p-e93cc1e1.entry.js} +1 -1
  393. package/dist/ionic/p-eab77a74.entry.js +4 -0
  394. package/dist/ionic/{p-aebc4d69.entry.js → p-eaeac54e.entry.js} +1 -1
  395. package/dist/ionic/{p-e538f18d.entry.js → p-ecfc9c71.entry.js} +1 -1
  396. package/dist/ionic/{p-5ee2d7b1.entry.js → p-eeb65463.entry.js} +1 -1
  397. package/dist/ionic/{p-881b6954.entry.js → p-f0645c98.entry.js} +1 -1
  398. package/dist/ionic/{p-d8bae128.entry.js → p-f607ad4f.entry.js} +1 -1
  399. package/dist/ionic/{p-61c799d1.entry.js → p-fb4dabbb.entry.js} +1 -1
  400. package/dist/ionic/{p-63bbba8d.entry.js → p-fe80ebb1.entry.js} +1 -1
  401. package/dist/ionic/p-h81G-QbJ.js +6 -0
  402. package/dist/ionic/p-nxFQkv7U.js +4 -0
  403. package/dist/ionic/p-w3KTiug9.js +4 -0
  404. package/{components/p-RFfE9hF6.js → dist/ionic/p-wdSUbx5C.js} +1 -1
  405. package/dist/types/components/content/content.d.ts +7 -0
  406. package/dist/types/components/picker-column/picker-column.d.ts +42 -0
  407. package/dist/types/components.d.ts +1 -1
  408. package/dist/types/stencil-public-runtime.d.ts +12 -0
  409. package/dist/types/utils/test/playwright/detach-reattach.d.ts +13 -0
  410. package/dist/types/utils/test/playwright/index.d.ts +1 -0
  411. package/hydrate/index.js +371 -138
  412. package/hydrate/index.mjs +371 -138
  413. package/loader/index.d.ts +1 -1
  414. package/package.json +2 -2
  415. package/components/p-6Vp915Y7.js +0 -4
  416. package/components/p-AQcCdH2_.js +0 -4
  417. package/components/p-BQAiulS1.js +0 -4
  418. package/components/p-BdwCtX8Y.js +0 -4
  419. package/components/p-Bh2ta0iG.js +0 -4
  420. package/components/p-BxhE2W85.js +0 -4
  421. package/components/p-CHswSpKy.js +0 -4
  422. package/components/p-CR9OgE6N.js +0 -4
  423. package/components/p-CaZeZIL2.js +0 -4
  424. package/components/p-CqyGR9Aq.js +0 -4
  425. package/components/p-DCWfzDM8.js +0 -4
  426. package/components/p-DQ1IPvZO.js +0 -4
  427. package/components/p-DfdYCsov.js +0 -4
  428. package/components/p-DhOoEIAs.js +0 -4
  429. package/components/p-Dl_7b_UJ.js +0 -4
  430. package/components/p-HVYBAhFx.js +0 -4
  431. package/dist/ionic/p-0eb50dca.entry.js +0 -4
  432. package/dist/ionic/p-18d532a3.entry.js +0 -4
  433. package/dist/ionic/p-46a938a9.entry.js +0 -4
  434. package/dist/ionic/p-47626333.entry.js +0 -4
  435. package/dist/ionic/p-8f464a8f.entry.js +0 -4
  436. package/dist/ionic/p-8f51110d.entry.js +0 -4
  437. package/dist/ionic/p-B5RyLYvl.js +0 -4
  438. package/dist/ionic/p-BQv5i5Kf.js +0 -4
  439. package/dist/ionic/p-BnGA34Pd.js +0 -4
  440. package/dist/ionic/p-C06QNN45.js +0 -4
  441. package/dist/ionic/p-CCVlNZ__.js +0 -4
  442. package/dist/ionic/p-CKYcsw8f.js +0 -5
  443. package/dist/ionic/p-CazSodad.js +0 -4
  444. package/dist/ionic/p-DgUL3JbO.js +0 -4
  445. package/dist/ionic/p-f521b13c.entry.js +0 -4
  446. package/dist/ionic/p-f8713b2c.entry.js +0 -4
@@ -1,4 +0,0 @@
1
- /*!
2
- * (C) Ionic http://ionicframework.com - MIT License
3
- */
4
- import{r as e,c as t,e as o,f as i,h as s,d as l,g as r,i as n}from"./p-CKYcsw8f.js";import{E as a}from"./p-DWCzVL3Y.js";import{c,a as d,b as p}from"./p-BZxjcGRP.js";import{c as h,i as b}from"./p-sObYyvOy.js";import{c as m}from"./p-DJztqcrH.js";import{b as g,a as f,n as x}from"./p-RzUn7cKs.js";import{p as v,b as u,a as w,m as k,s as y}from"./p-DLLCmV-y.js";import{i as j}from"./p-Dojwmvde.js";import{r as z,a as C}from"./p-BZVE25Gu.js";import{h as A,c as T,g as $}from"./p-byZM6qHV.js";import{w as P}from"./p-Dtdm8lKC.js";import{w as O,f as I}from"./p-BvabGprD.js";import{b as B}from"./p-CDBop-kz.js";import{a as N,g as D}from"./p-BSQPZ79H.js";import{r as L}from"./p-DgUL3JbO.js";import"./p-ZjP4CjeZ.js";import"./p-D9yvytgv.js";import"./p-9wczfs_v.js";import"./p-B_gJaBk0.js";const S=class{constructor(i){e(this,i),this.ionChange=t(this,"ionChange",7),this.ionCancel=t(this,"ionCancel",7),this.ionDismiss=t(this,"ionDismiss",7),this.ionFocus=t(this,"ionFocus",7),this.ionBlur=t(this,"ionBlur",7),this.ionStyle=t(this,"ionStyle",7),this.inputId="ion-sel-"+W++,this.helperTextId=`${this.inputId}-helper-text`,this.errorTextId=`${this.inputId}-error-text`,this.inheritedAttributes={},this.customHTMLEnabled=o.get("innerHTMLTemplatesEnabled",a),this.isExpanded=!1,this.hasFocus=!1,this.isInvalid=!1,this.cancelText="Cancel",this.disabled=!1,this.interface="alert",this.interfaceOptions={},this.labelPlacement="start",this.multiple=!1,this.name=this.inputId,this.okText="OK",this.required=!1,this.onClick=e=>{const t=e.target,o=t.closest('[slot="start"], [slot="end"]');t===this.el||null===o?(this.setFocus(),this.open(e)):e.preventDefault()},this.onFocus=()=>{this.hasFocus=!0,this.ionFocus.emit()},this.onBlur=()=>{this.hasFocus=!1,this.ionBlur.emit()},this.onLabelClick=e=>{e.target===this.focusEl&&this.isExpanded&&e.stopPropagation()}}styleChanged(){this.emitStyle()}setValue(e){this.isValueEqual(this.value,e)||(this.value=e,this.ionChange.emit({value:e}))}isValueEqual(e,t){if(this.multiple){const o=Array.isArray(e)?e:[],i=Array.isArray(t)?t:[];if(o.length!==i.length)return!1;const s=o.slice();return i.every((e=>{const t=s.findIndex((t=>h(t,e,this.compareWith)));return-1!==t&&(s.splice(t,1),!0)}))}return null==e&&null==t||null!=e&&null!=t&&h(e,t,this.compareWith)}async connectedCallback(){const{el:e}=this;this.slotMutationController=c(e,["label","start","end"],(()=>{this.startContainerController?.calculateStartContainerWidth(),n(this)})),this.notchController=d(e,(()=>this.notchSpacerEl),(()=>this.labelSlot)),this.startContainerController=p(e,(()=>this.startContainerEl),(()=>"md"===B(this)&&"outline"===this.fill)),this.startContainerController.calculateStartContainerWidth(),this.updateOverlayOptions(),this.emitStyle(),this.mutationO=P(this.el,"ion-select-option",(async()=>{this.updateOverlayOptions(),n(this)})),"undefined"!=typeof MutationObserver&&(this.validationObserver=new MutationObserver((()=>{const e=m(this.el);this.isInvalid!==e&&(this.isInvalid=e,Promise.resolve().then((()=>{this.hintTextId=this.getHintTextId()})))})),this.validationObserver.observe(e,{attributes:!0,attributeFilter:["class"]})),this.isInvalid=m(this.el)}componentWillLoad(){this.inheritedAttributes=g(this.el,["aria-label"]),this.hintTextId=this.getHintTextId()}componentDidLoad(){this.emitStyle()}disconnectedCallback(){this.mutationO&&(this.mutationO.disconnect(),this.mutationO=void 0),this.slotMutationController&&(this.slotMutationController.destroy(),this.slotMutationController=void 0),this.notchController&&(this.notchController.destroy(),this.notchController=void 0),this.startContainerController&&(this.startContainerController.destroy(),this.startContainerController=void 0),this.validationObserver&&(this.validationObserver.disconnect(),this.validationObserver=void 0)}async open(e){if(this.disabled||this.isExpanded)return;this.isExpanded=!0;const t=this.overlay=await this.createOverlay(e),o=()=>{const e=this.childOpts.findIndex((e=>e.value===this.value));if(e>-1){const o=t.querySelector(`.select-interface-option:nth-of-type(${e+1})`);if(o){const e=o.querySelector("ion-radio, ion-checkbox");e&&(o.scrollIntoView({block:"nearest"}),e.setFocus()),x(o)}}else{const e=t.querySelector("ion-radio:not(.radio-disabled), ion-checkbox:not(.checkbox-disabled)");e&&(e.setFocus(),x(e.closest("ion-item")))}};if("modal"===this.interface)t.addEventListener("ionModalWillPresent",o,{once:!0});else if("popover"===this.interface)t.addEventListener("ionPopoverWillPresent",o,{once:!0});else{const e=()=>{requestAnimationFrame((()=>{o()}))};"alert"===this.interface?t.addEventListener("ionAlertWillPresent",e,{once:!0}):"action-sheet"===this.interface&&t.addEventListener("ionActionSheetWillPresent",e,{once:!0})}return t.onDidDismiss().then((()=>{this.overlay=void 0,this.isExpanded=!1,this.ionDismiss.emit(),this.setFocus()})),await t.present(),t}createOverlay(e){let t=this.interface;return"action-sheet"===t&&this.multiple&&(i(`[ion-select] - Interface cannot be "${t}" with a multi-value select. Using the "alert" interface instead.`),t="alert"),"popover"!==t||e||(i(`[ion-select] - Interface cannot be a "${t}" without passing an event. Using the "alert" interface instead.`),t="alert"),"action-sheet"===t?this.openActionSheet():"popover"===t?this.openPopover(e):"modal"===t?this.openModal():this.openAlert()}updateOverlayOptions(){const e=this.overlay;if(!e)return;const t=this.childOpts,o=this.value;switch(this.interface){case"action-sheet":e.buttons=this.createActionSheetButtons(t,o);break;case"popover":const i=e.querySelector("ion-select-popover");i&&(i.options=this.createOverlaySelectOptions(t,o));break;case"modal":const s=e.querySelector("ion-select-modal");s&&(s.options=this.createOverlaySelectOptions(t,o));break;case"alert":e.inputs=this.createAlertInputs(t,this.multiple?"checkbox":"radio",o)}}createActionSheetButtons(e,t){const o=e.map((e=>{const o=E(e),i=Array.from(e.classList).filter((e=>"hydrated"!==e)).join(" "),s=`${Z} ${i}`,l=b(t,o,this.compareWith),{content:r,startContent:n,endContent:a}=K(e,this.customHTMLEnabled);return{text:r??"",cssClass:s,disabled:e.disabled,handler:()=>{this.setValue(o)},htmlAttributes:{"aria-checked":l?"true":"false",role:"radio"},startContent:n,endContent:a,description:e.description}}));return o.push({text:this.cancelText,role:"cancel",handler:()=>{this.ionCancel.emit()}}),o}createAlertInputs(e,t,o){return e.map((e=>{const i=E(e),s=Array.from(e.classList).filter((e=>"hydrated"!==e)).join(" "),l=`${Z} ${s}`,{content:r,startContent:n,endContent:a}=K(e,this.customHTMLEnabled);return{type:t,cssClass:l,label:r??"",value:i,checked:b(o,i,this.compareWith),disabled:e.disabled,startContent:n,endContent:a,description:e.description,labelPlacement:e.labelPlacement,justify:e.justify}}))}createOverlaySelectOptions(e,t){return e.map((e=>{const o=E(e),i=Array.from(e.classList).filter((e=>"hydrated"!==e)).join(" "),s=`${Z} ${i}`,{content:l,startContent:r,endContent:n}=K(e,this.customHTMLEnabled);return{text:l??"",cssClass:s,value:o,checked:b(t,o,this.compareWith),disabled:e.disabled,handler:e=>{this.setValue(e),this.multiple||this.close()},startContent:r,endContent:n,description:e.description,labelPlacement:e.labelPlacement,justify:e.justify}}))}async openPopover(e){const{fill:t,labelPlacement:o}=this,i=this.interfaceOptions,s=B(this),l="md"!==s,r=this.multiple,n=this.value;let a=e,c="auto";"floating"===o||"stacked"===o||"md"===s&&void 0!==t?c="cover":a={...e,detail:{ionShadowTarget:this.nativeWrapperEl}};const d=this.createOverlaySelectOptions(this.childOpts,n),p=d.some((e=>Boolean(e.startContent)||Boolean(e.endContent)||Boolean(e.description))),h={mode:s,event:a,alignment:"center",size:c,showBackdrop:l,...i,component:"ion-select-popover",cssClass:["select-popover",p?"select-popover-rich-content":void 0,i.cssClass],componentProps:{header:i.header,subHeader:i.subHeader,message:i.message,multiple:r,value:n,options:d}};return v.create(h)}async openActionSheet(){const e=B(this),t=this.interfaceOptions,o={mode:e,...t,buttons:this.createActionSheetButtons(this.childOpts,this.value),cssClass:["select-action-sheet",t.cssClass]};return u.create(o)}async openAlert(){const e=this.interfaceOptions,t=this.multiple?"checkbox":"radio",o={mode:B(this),...e,header:e.header?e.header:this.labelText,inputs:this.createAlertInputs(this.childOpts,t,this.value),buttons:[{text:this.cancelText,role:"cancel",handler:()=>{this.ionCancel.emit()}},{text:this.okText,handler:e=>{this.setValue(e)}}],cssClass:["select-alert",e.cssClass,this.multiple?"multiple-select-alert":"single-select-alert"]};return w.create(o)}openModal(){const{multiple:e,value:t,interfaceOptions:o}=this,i=B(this),s={...o,mode:i,cssClass:["select-modal",o.cssClass],component:"ion-select-modal",componentProps:{header:o.header,cancelText:this.cancelText,multiple:e,value:t,options:this.createOverlaySelectOptions(this.childOpts,t)}};return k.create(s)}close(){return this.overlay?this.overlay.dismiss():Promise.resolve(!1)}hasValue(){return""!==this.getText()}get childOpts(){return Array.from(this.el.querySelectorAll("ion-select-option"))}get labelText(){const{label:e}=this;if(void 0!==e)return e;const{labelSlot:t}=this;return null!==t?t.textContent:void 0}getText(e=!1){const t=this.selectedText;return null!=t&&""!==t?t:Y(this.childOpts,this.value,this.compareWith,e)}setFocus(){this.focusEl&&this.focusEl.focus()}emitStyle(){const{disabled:e}=this;this.ionStyle.emit({"interactive-disabled":e})}renderLabel(){const{label:e}=this;return s("div",{class:{"label-text-wrapper":!0,"label-text-wrapper-hidden":!this.hasLabel},part:"label"},void 0===e?s("slot",{name:"label"}):s("div",{class:"label-text"},e))}componentDidRender(){this.notchController?.calculateNotchWidth(),this.startContainerController?.calculateStartContainerWidth()}get labelSlot(){return this.el.querySelector('[slot="label"]')}get hasLabel(){return void 0!==this.label||null!==this.labelSlot}renderOutlineContainer(){return s("div",{class:"select-outline-container"},s("div",{class:"select-outline-start"}),s("div",{class:{"select-outline-notch":!0,"select-outline-notch-hidden":!this.hasLabel}},s("div",{class:"notch-spacer","aria-hidden":"true",ref:e=>this.notchSpacerEl=e},this.label)),s("div",{class:"select-outline-end"}))}wrapSelectTextNodes(e){const t=document.createElement("div");return t.innerHTML=e,Array.from(t.childNodes).some((e=>e.nodeType===Node.ELEMENT_NODE))?(Array.from(t.childNodes).forEach((e=>{if(e.nodeType===Node.TEXT_NODE&&e.textContent?.trim()){const t=e.textContent.match(/^(,\s*)(.*)/);if(t){const o=document.createTextNode(t[1]),i=document.createElement("span");return i.textContent=t[2],e.parentNode?.replaceChild(i,e),void i.parentNode?.insertBefore(o,i)}const o=document.createElement("span");e.parentNode?.replaceChild(o,e),o.appendChild(e)}})),t.innerHTML):e}renderSelectText(){const{placeholder:e}=this;let t=!1,o=this.getText(!0);""===o&&void 0!==e&&(o=e,t=!0);const i={"select-text":!0,"select-placeholder":t},l=t?"placeholder":"text";if(this.customHTMLEnabled){const e=this.wrapSelectTextNodes(o);return s("div",{"aria-hidden":"true",class:i,part:l,innerHTML:e})}return s("div",{"aria-hidden":"true",class:i,part:l},o)}renderSelectIcon(){const e=B(this),{isExpanded:t,toggleIcon:o,expandedIcon:i}=this;let l;return l=t&&void 0!==i?i:o??("ios"===e?O:I),s("ion-icon",{class:"select-icon",part:"icon","aria-hidden":"true",icon:l})}get ariaLabel(){const{placeholder:e,inheritedAttributes:t}=this,o=this.getText(),i=t["aria-label"]??this.labelText;let s=o;return""===s&&void 0!==e&&(s=e),void 0!==i&&(s=""===s?i:`${i}, ${s}`),s}renderListbox(){const{disabled:e,inputId:t,isExpanded:o,required:i}=this;return s("button",{disabled:e,id:t,"aria-label":this.ariaLabel,"aria-haspopup":"dialog","aria-expanded":`${o}`,"aria-describedby":this.hintTextId,"aria-invalid":this.isInvalid?"true":void 0,"aria-required":`${i}`,onFocus:this.onFocus,onBlur:this.onBlur,ref:e=>this.focusEl=e})}getHintTextId(){const{helperText:e,errorText:t,helperTextId:o,errorTextId:i,isInvalid:s}=this;return s&&t?i:e?o:void 0}renderHintText(){const{helperText:e,errorText:t,helperTextId:o,errorTextId:i,isInvalid:l}=this;return[s("div",{id:o,class:"helper-text",part:"supporting-text helper-text","aria-live":"polite"},l?null:e),s("div",{id:i,class:"error-text",part:"supporting-text error-text",role:"alert"},l?t:null)]}renderBottomContent(){const{helperText:e,errorText:t}=this;if(e||t)return s("div",{class:"select-bottom",part:"bottom"},this.renderHintText())}render(){const{disabled:e,el:t,isExpanded:o,expandedIcon:i,labelPlacement:r,justify:n,placeholder:a,fill:c,shape:d,name:p,value:h,hasFocus:b}=this,m=B(this),g="floating"===r||"stacked"===r,x=!g&&void 0!==n,v=j(t)?"rtl":"ltr",u=A("ion-item",this.el),w="md"===m&&"outline"!==c&&!u,k=this.hasValue(),y="md"===m&&"outline"===c;f(!0,t,p,H(h),e);const z="stacked"===r||"floating"===r&&(k||b||o);return s(l,{key:"5d1e5bf46d0f204efdcb55cc42cfde52e6db304b",onClick:this.onClick,class:T(this.color,{[m]:!0,"in-item":u,"in-item-color":A("ion-item.ion-color",t),"select-disabled":e,"select-expanded":o,"has-expanded-icon":void 0!==i,"has-value":k,"label-floating":z,"has-placeholder":void 0!==a,"has-focus":b,"ion-focusable":!0,[`select-${v}`]:!0,[`select-fill-${c}`]:void 0!==c,[`select-justify-${n}`]:x,[`select-shape-${d}`]:void 0!==d,[`select-label-placement-${r}`]:!0})},s("label",{key:"15fd1f8e06510ae8472c621cf8cf90e51172e0be",class:"select-wrapper",id:"select-label",onClick:this.onLabelClick,part:"wrapper"},y&&this.renderOutlineContainer(),s("div",{key:"7964e3d9351671899793b117896acdda25ec24c4",class:"select-start",part:"start",ref:e=>this.startContainerEl=e},s("slot",{key:"aa309ef155c4025acfd7ed5739b5221c85097b36",name:"start"})),s("div",{key:"23d5a9dfea64a9d81b0b36d9426b15bed98901b9",class:"select-control",part:"control"},this.renderLabel(),s("div",{key:"810da9fbfa8771e09b5fb768d64e5f04858b5833",class:"native-wrapper",ref:e=>this.nativeWrapperEl=e,part:"container"},this.renderSelectText(),this.renderListbox(),!g&&this.renderSelectIcon())),s("div",{key:"bf1c04704326ecfa14cf2e49bb76d3fb45beb08d",class:"select-end",part:"end"},g&&this.renderSelectIcon(),s("slot",{key:"76a8bcaeefdcaa908aebd820d93171b08165cee3",name:"end"})),w&&s("div",{key:"55a9c417a82323a44e16328fd62a634d9d7c558b",class:"select-highlight"})),this.renderBottomContent())}get el(){return r(this)}static get watchers(){return{disabled:[{styleChanged:0}],isExpanded:[{styleChanged:0}],placeholder:[{styleChanged:0}],value:[{styleChanged:0}]}}},E=e=>{const t=e.value;return void 0===t?e.textContent||"":t},H=e=>{if(null!=e)return Array.isArray(e)?e.join(","):e.toString()},Y=(e,t,o,i=!1)=>void 0===t?"":Array.isArray(t)?t.map((t=>M(e,t,o,i))).filter((e=>null!==e)).join(", "):M(e,t,o,i)||"",M=(e,t,i,s=!1)=>{const l=e.find((e=>h(t,E(e),i))),r=o.get("innerHTMLTemplatesEnabled",a);if(!l)return null;if(r&&s)return F(l,void 0,!0);if(r){const e=F(l);return"string"==typeof e?e:e&&Array.from(e.childNodes).map((e=>e.textContent?.trim())).filter((e=>e)).join(" ")||null}return q(l)},V=e=>{e.childNodes.forEach((e=>{e.nodeType===Node.TEXT_NODE?e.textContent=e.textContent?.trim()||"":e.nodeType===Node.ELEMENT_NODE&&V(e)}))},F=(e,t,o=!1)=>{let i;if(i=t?Array.from(e.children).filter((e=>e.getAttribute("slot")===t)):(_(e)||[]).filter((e=>e.nodeType!==Node.TEXT_NODE||0!==e.textContent?.trim().length)),0===i.length)return null;if(!t&&i.every((e=>e.nodeType===Node.TEXT_NODE)))return i.map((e=>e.textContent?.trim())).join(" ")||null;i.forEach((e=>{e.nodeType===Node.ELEMENT_NODE&&z(e)}));const s=document.createElement("div");return i.forEach((e=>{const t=e.cloneNode(!0);t.nodeType===Node.TEXT_NODE?t.textContent=t.textContent?.trim()||"":V(t),s.appendChild(t)})),C(s),o?s.innerHTML.trim()||null:s},_=e=>{const t=Array.from(e.childNodes).filter((e=>e.nodeType===Node.ELEMENT_NODE?!e.hasAttribute("slot"):e.nodeType===Node.TEXT_NODE));return 0===t.length?null:t},q=e=>Array.from(e.childNodes).filter((e=>e.nodeType===Node.ELEMENT_NODE?!e.hasAttribute("slot"):e.nodeType===Node.TEXT_NODE)).filter((e=>e.nodeType===Node.TEXT_NODE)).map((e=>e.textContent?.trim())).filter((e=>e)).join(" "),K=(e,t)=>t?{content:F(e),startContent:F(e,"start")??void 0,endContent:F(e,"end")??void 0}:{content:q(e),startContent:void 0,endContent:void 0};let W=0;const Z="select-interface-option";S.style={ios:":host{--padding-top:0px;--padding-end:0px;--padding-bottom:0px;--padding-start:0px;--placeholder-color:currentColor;--placeholder-opacity:var(--ion-placeholder-opacity, 0.6);--background:transparent;--border-style:solid;--highlight-color-focused:var(--ion-color-primary, #0054e9);--highlight-color-valid:var(--ion-color-success, #2dd55b);--highlight-color-invalid:var(--ion-color-danger, #c5000f);--select-text-media-height:1.5em;--select-text-media-width:1.5em;--select-text-gap:12px;--highlight-color:var(--highlight-color-focused);display:block;position:relative;width:100%;min-height:44px;font-family:var(--ion-font-family, inherit);white-space:nowrap;cursor:pointer;z-index:2}:host(.select-label-placement-floating),:host(.select-label-placement-stacked){min-height:56px}:host(.ion-color){--highlight-color-focused:var(--ion-color-base)}:host(.in-item){-ms-flex:1 1 0px;flex:1 1 0}:host(.select-disabled){pointer-events:none}:host(.has-focus) button{border:2px solid #5e9ed6}:host([slot=start]),:host([slot=end]){-ms-flex:initial;flex:initial;width:auto}.select-placeholder{color:var(--placeholder-color);opacity:var(--placeholder-opacity)}button{position:absolute;top:0;left:0;right:0;bottom:0;width:100%;height:100%;margin:0;padding:0;border:0;outline:0;clip:rect(0 0 0 0);opacity:0;overflow:hidden;-webkit-appearance:none;-moz-appearance:none}.select-icon{-webkit-margin-start:4px;margin-inline-start:4px;-webkit-margin-end:0;margin-inline-end:0;margin-top:0;margin-bottom:0;position:relative;-ms-flex-negative:0;flex-shrink:0}:host(.in-item-color) .select-icon{color:inherit}.select-text{-ms-flex:1;flex:1;min-width:16px;font-size:inherit;text-overflow:ellipsis;white-space:inherit;overflow:hidden}.select-text>*+*{-webkit-margin-start:var(--select-text-gap);margin-inline-start:var(--select-text-gap)}.select-text img,.select-text ion-img,.select-text ion-icon,.select-text ion-thumbnail,.select-text ion-avatar{border-radius:var(--select-text-media-border-radius);width:var(--select-text-media-width);height:var(--select-text-media-height);border-width:var(--select-text-media-border-width);border-style:var(--select-text-media-border-style);border-color:var(--select-text-media-border-color)}.select-wrapper{-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);border-radius:var(--border-radius);display:-ms-flexbox;display:flex;position:relative;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:stretch;align-items:stretch;-ms-flex-pack:justify;justify-content:space-between;height:inherit;min-height:inherit;-webkit-transition:background-color 15ms linear;transition:background-color 15ms linear;background:var(--background);line-height:normal;cursor:inherit;-webkit-box-sizing:border-box;box-sizing:border-box}.select-wrapper .select-placeholder{-webkit-transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1)}.select-control{display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-direction:inherit;flex-direction:inherit;-ms-flex-align:center;align-items:center;-ms-flex-pack:inherit;justify-content:inherit;min-width:0}:host(.ion-touched.ion-invalid){--highlight-color:var(--highlight-color-invalid)}:host(.ion-valid){--highlight-color:var(--highlight-color-valid)}.select-bottom{-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:5px;padding-bottom:0;display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;border-top:var(--border-width) var(--border-style) var(--border-color);font-size:0.75rem;white-space:normal}:host(.has-focus.ion-valid),:host(.select-expanded.ion-valid),:host(.ion-touched.ion-invalid),:host(.select-expanded.ion-touched.ion-invalid){--border-color:var(--highlight-color)}.select-bottom .error-text{display:none;color:var(--highlight-color-invalid)}.select-bottom .helper-text{display:block;color:var(--ion-color-step-700, var(--ion-text-color-step-300, #4d4d4d))}:host(.ion-touched.ion-invalid) .select-bottom .error-text{display:block}:host(.ion-touched.ion-invalid) .select-bottom .helper-text{display:none}.label-text-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;min-width:0;max-width:200px;-webkit-transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), transform 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), transform 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1);pointer-events:none}:host(.skip-label-transition) .label-text-wrapper{-webkit-transition:none;transition:none}.label-text,::slotted([slot=label]){text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.label-text-wrapper-hidden,.select-outline-notch-hidden{display:none}.native-wrapper{display:-ms-flexbox;display:flex;-ms-flex-negative:100000;flex-shrink:100000;-ms-flex-align:center;align-items:center;-webkit-transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1);overflow:hidden}:host(.select-justify-space-between) .select-wrapper{-ms-flex-pack:justify;justify-content:space-between}:host(.select-justify-start) .select-wrapper{-ms-flex-pack:start;justify-content:start}:host(.select-justify-end) .select-wrapper{-ms-flex-pack:end;justify-content:end}:host(.select-label-placement-start) .select-wrapper{-ms-flex-direction:row;flex-direction:row}:host(.select-label-placement-start) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:0;margin-bottom:0}:host(.select-label-placement-end) .select-wrapper{-ms-flex-direction:row-reverse;flex-direction:row-reverse}:host(.select-label-placement-end) .label-text-wrapper{-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0;margin-top:0;margin-bottom:0}:host(.select-label-placement-fixed) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:0;margin-bottom:0}:host(.select-label-placement-fixed) .label-text-wrapper{-ms-flex:0 0 100px;flex:0 0 100px;width:100px;min-width:100px;max-width:200px}:host(.select-label-placement-stacked) .select-control,:host(.select-label-placement-floating) .select-control{-ms-flex-direction:column;flex-direction:column;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:start;align-items:start}:host(.select-label-placement-stacked) .label-text-wrapper,:host(.select-label-placement-floating) .label-text-wrapper{max-width:100%}:host(.select-ltr.select-label-placement-stacked) .label-text-wrapper,:host(.select-ltr.select-label-placement-floating) .label-text-wrapper{-webkit-transform-origin:left top;transform-origin:left top}:host(.select-rtl.select-label-placement-stacked) .label-text-wrapper,:host(.select-rtl.select-label-placement-floating) .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}:host(.select-label-placement-stacked) .native-wrapper,:host(.select-label-placement-floating) .native-wrapper{-ms-flex-positive:1;flex-grow:1;width:100%}:host(.select-label-placement-floating) .label-text-wrapper{-webkit-transform:translateY(100%) scale(1);transform:translateY(100%) scale(1)}:host(.select-label-placement-floating) .native-wrapper .select-placeholder{opacity:0}:host(.label-floating.select-label-placement-floating) .native-wrapper .select-placeholder{opacity:var(--placeholder-opacity)}:host(.label-floating) .label-text-wrapper{-webkit-transform:translateY(50%) scale(0.75);transform:translateY(50%) scale(0.75);max-width:calc(100% / 0.75)}.select-start,.select-end{display:-ms-flexbox;display:flex;position:relative;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center}::slotted([slot=start]),::slotted([slot=end]){-ms-flex-negative:0;flex-shrink:0}::slotted([slot=start]:last-of-type){-webkit-margin-end:16px;margin-inline-end:16px;-webkit-margin-start:0;margin-inline-start:0}::slotted([slot=end]:first-of-type){-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0}:host{--border-width:0.55px;--border-color:var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-250, var(--ion-background-color-step-250, #c8c7cc))));--highlight-height:0px}.select-icon{width:1.125rem;height:1.125rem;color:var(--ion-color-step-650, var(--ion-text-color-step-350, #595959))}:host(.select-disabled){opacity:0.3}::slotted(ion-button[slot=start].button-has-icon-only),::slotted(ion-button[slot=end].button-has-icon-only){--border-radius:50%;--padding-start:0;--padding-end:0;--padding-top:0;--padding-bottom:0;aspect-ratio:1}",md:":host{--padding-top:0px;--padding-end:0px;--padding-bottom:0px;--padding-start:0px;--placeholder-color:currentColor;--placeholder-opacity:var(--ion-placeholder-opacity, 0.6);--background:transparent;--border-style:solid;--highlight-color-focused:var(--ion-color-primary, #0054e9);--highlight-color-valid:var(--ion-color-success, #2dd55b);--highlight-color-invalid:var(--ion-color-danger, #c5000f);--select-text-media-height:1.5em;--select-text-media-width:1.5em;--select-text-gap:12px;--highlight-color:var(--highlight-color-focused);display:block;position:relative;width:100%;min-height:44px;font-family:var(--ion-font-family, inherit);white-space:nowrap;cursor:pointer;z-index:2}:host(.select-label-placement-floating),:host(.select-label-placement-stacked){min-height:56px}:host(.ion-color){--highlight-color-focused:var(--ion-color-base)}:host(.in-item){-ms-flex:1 1 0px;flex:1 1 0}:host(.select-disabled){pointer-events:none}:host(.has-focus) button{border:2px solid #5e9ed6}:host([slot=start]),:host([slot=end]){-ms-flex:initial;flex:initial;width:auto}.select-placeholder{color:var(--placeholder-color);opacity:var(--placeholder-opacity)}button{position:absolute;top:0;left:0;right:0;bottom:0;width:100%;height:100%;margin:0;padding:0;border:0;outline:0;clip:rect(0 0 0 0);opacity:0;overflow:hidden;-webkit-appearance:none;-moz-appearance:none}.select-icon{-webkit-margin-start:4px;margin-inline-start:4px;-webkit-margin-end:0;margin-inline-end:0;margin-top:0;margin-bottom:0;position:relative;-ms-flex-negative:0;flex-shrink:0}:host(.in-item-color) .select-icon{color:inherit}.select-text{-ms-flex:1;flex:1;min-width:16px;font-size:inherit;text-overflow:ellipsis;white-space:inherit;overflow:hidden}.select-text>*+*{-webkit-margin-start:var(--select-text-gap);margin-inline-start:var(--select-text-gap)}.select-text img,.select-text ion-img,.select-text ion-icon,.select-text ion-thumbnail,.select-text ion-avatar{border-radius:var(--select-text-media-border-radius);width:var(--select-text-media-width);height:var(--select-text-media-height);border-width:var(--select-text-media-border-width);border-style:var(--select-text-media-border-style);border-color:var(--select-text-media-border-color)}.select-wrapper{-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);border-radius:var(--border-radius);display:-ms-flexbox;display:flex;position:relative;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:stretch;align-items:stretch;-ms-flex-pack:justify;justify-content:space-between;height:inherit;min-height:inherit;-webkit-transition:background-color 15ms linear;transition:background-color 15ms linear;background:var(--background);line-height:normal;cursor:inherit;-webkit-box-sizing:border-box;box-sizing:border-box}.select-wrapper .select-placeholder{-webkit-transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1)}.select-control{display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-direction:inherit;flex-direction:inherit;-ms-flex-align:center;align-items:center;-ms-flex-pack:inherit;justify-content:inherit;min-width:0}:host(.ion-touched.ion-invalid){--highlight-color:var(--highlight-color-invalid)}:host(.ion-valid){--highlight-color:var(--highlight-color-valid)}.select-bottom{-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:5px;padding-bottom:0;display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;border-top:var(--border-width) var(--border-style) var(--border-color);font-size:0.75rem;white-space:normal}:host(.has-focus.ion-valid),:host(.select-expanded.ion-valid),:host(.ion-touched.ion-invalid),:host(.select-expanded.ion-touched.ion-invalid){--border-color:var(--highlight-color)}.select-bottom .error-text{display:none;color:var(--highlight-color-invalid)}.select-bottom .helper-text{display:block;color:var(--ion-color-step-700, var(--ion-text-color-step-300, #4d4d4d))}:host(.ion-touched.ion-invalid) .select-bottom .error-text{display:block}:host(.ion-touched.ion-invalid) .select-bottom .helper-text{display:none}.label-text-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;min-width:0;max-width:200px;-webkit-transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), transform 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), transform 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1);pointer-events:none}:host(.skip-label-transition) .label-text-wrapper{-webkit-transition:none;transition:none}.label-text,::slotted([slot=label]){text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.label-text-wrapper-hidden,.select-outline-notch-hidden{display:none}.native-wrapper{display:-ms-flexbox;display:flex;-ms-flex-negative:100000;flex-shrink:100000;-ms-flex-align:center;align-items:center;-webkit-transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1);overflow:hidden}:host(.select-justify-space-between) .select-wrapper{-ms-flex-pack:justify;justify-content:space-between}:host(.select-justify-start) .select-wrapper{-ms-flex-pack:start;justify-content:start}:host(.select-justify-end) .select-wrapper{-ms-flex-pack:end;justify-content:end}:host(.select-label-placement-start) .select-wrapper{-ms-flex-direction:row;flex-direction:row}:host(.select-label-placement-start) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:0;margin-bottom:0}:host(.select-label-placement-end) .select-wrapper{-ms-flex-direction:row-reverse;flex-direction:row-reverse}:host(.select-label-placement-end) .label-text-wrapper{-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0;margin-top:0;margin-bottom:0}:host(.select-label-placement-fixed) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:0;margin-bottom:0}:host(.select-label-placement-fixed) .label-text-wrapper{-ms-flex:0 0 100px;flex:0 0 100px;width:100px;min-width:100px;max-width:200px}:host(.select-label-placement-stacked) .select-control,:host(.select-label-placement-floating) .select-control{-ms-flex-direction:column;flex-direction:column;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:start;align-items:start}:host(.select-label-placement-stacked) .label-text-wrapper,:host(.select-label-placement-floating) .label-text-wrapper{max-width:100%}:host(.select-ltr.select-label-placement-stacked) .label-text-wrapper,:host(.select-ltr.select-label-placement-floating) .label-text-wrapper{-webkit-transform-origin:left top;transform-origin:left top}:host(.select-rtl.select-label-placement-stacked) .label-text-wrapper,:host(.select-rtl.select-label-placement-floating) .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}:host(.select-label-placement-stacked) .native-wrapper,:host(.select-label-placement-floating) .native-wrapper{-ms-flex-positive:1;flex-grow:1;width:100%}:host(.select-label-placement-floating) .label-text-wrapper{-webkit-transform:translateY(100%) scale(1);transform:translateY(100%) scale(1)}:host(.select-label-placement-floating) .native-wrapper .select-placeholder{opacity:0}:host(.label-floating.select-label-placement-floating) .native-wrapper .select-placeholder{opacity:var(--placeholder-opacity)}:host(.label-floating) .label-text-wrapper{-webkit-transform:translateY(50%) scale(0.75);transform:translateY(50%) scale(0.75);max-width:calc(100% / 0.75)}.select-start,.select-end{display:-ms-flexbox;display:flex;position:relative;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center}::slotted([slot=start]),::slotted([slot=end]){-ms-flex-negative:0;flex-shrink:0}::slotted([slot=start]:last-of-type){-webkit-margin-end:16px;margin-inline-end:16px;-webkit-margin-start:0;margin-inline-start:0}::slotted([slot=end]:first-of-type){-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0}:host(.select-fill-solid){--background:var(--ion-color-step-50, var(--ion-background-color-step-50, #f2f2f2));--border-color:var(--ion-color-step-500, var(--ion-background-color-step-500, gray));--border-radius:4px;--padding-start:16px;--padding-end:16px;min-height:56px}:host(.select-fill-solid) .select-wrapper{border-bottom:var(--border-width) var(--border-style) var(--border-color)}:host(.select-expanded.select-fill-solid.ion-valid),:host(.has-focus.select-fill-solid.ion-valid),:host(.select-fill-solid.ion-touched.ion-invalid){--border-color:var(--highlight-color)}:host(.select-fill-solid) .select-bottom{border-top:none}@media (any-hover: hover){:host(.select-fill-solid:hover){--background:var(--ion-color-step-100, var(--ion-background-color-step-100, #e6e6e6));--border-color:var(--ion-color-step-750, var(--ion-background-color-step-750, #404040))}}:host(.select-fill-solid.select-expanded),:host(.select-fill-solid.has-focus){--background:var(--ion-color-step-150, var(--ion-background-color-step-150, #d9d9d9));--border-color:var(--highlight-color)}:host(.select-fill-solid) .select-wrapper{border-start-start-radius:var(--border-radius);border-start-end-radius:var(--border-radius);border-end-end-radius:0px;border-end-start-radius:0px}:host(.label-floating.select-fill-solid) .label-text-wrapper{max-width:calc(100% / 0.75)}:host(.in-item.select-expanded.select-fill-solid) .select-wrapper .select-icon,:host(.in-item.has-focus.select-fill-solid) .select-wrapper .select-icon,:host(.in-item.has-focus.ion-valid.select-fill-solid) .select-wrapper .select-icon,:host(.in-item.ion-touched.ion-invalid.select-fill-solid) .select-wrapper .select-icon{color:var(--highlight-color)}:host(.select-fill-outline){--border-color:var(--ion-color-step-300, var(--ion-background-color-step-300, #b3b3b3));--border-radius:4px;--padding-start:16px;--padding-end:16px;--internal-start-container-adjustment:0px;min-height:56px}:host(.select-fill-outline.select-shape-round){--border-radius:28px;--padding-start:32px;--padding-end:32px}:host(.has-focus.select-fill-outline.ion-valid),:host(.select-fill-outline.ion-touched.ion-invalid){--border-color:var(--highlight-color)}@media (any-hover: hover){:host(.select-fill-outline:hover){--border-color:var(--ion-color-step-750, var(--ion-background-color-step-750, #404040))}}:host(.select-fill-outline.select-expanded),:host(.select-fill-outline.has-focus){--border-width:var(--highlight-height);--border-color:var(--highlight-color)}:host(.select-fill-outline) .select-bottom{border-top:none}:host(.select-fill-outline) .select-wrapper{border-bottom:none}:host(.select-ltr.select-fill-outline.select-label-placement-stacked) .label-text-wrapper,:host(.select-ltr.select-fill-outline.select-label-placement-floating) .label-text-wrapper{-webkit-transform-origin:left top;transform-origin:left top}:host(.select-rtl.select-fill-outline.select-label-placement-stacked) .label-text-wrapper,:host(.select-rtl.select-fill-outline.select-label-placement-floating) .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}:host(.select-fill-outline.select-label-placement-stacked) .label-text-wrapper,:host(.select-fill-outline.select-label-placement-floating) .label-text-wrapper{position:absolute;max-width:100%}:host(.select-fill-outline) .label-text-wrapper{position:relative;z-index:1}:host(.select-fill-outline:not(.label-floating)) .select-control{position:relative}:host(.label-floating.select-fill-outline) .label-text-wrapper{-webkit-transform:translate(var(--internal-start-container-adjustment, 0px), -32%) scale(0.75);transform:translate(var(--internal-start-container-adjustment, 0px), -32%) scale(0.75);margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;max-width:calc((100% - var(--padding-start) - var(--padding-end) - 8px) / 0.75)}:host(.select-fill-outline.select-label-placement-stacked) select,:host(.select-fill-outline.select-label-placement-floating) select{margin-left:0;margin-right:0;margin-top:6px;margin-bottom:6px}:host(.select-fill-outline) .select-outline-container{left:0;right:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:absolute;width:100%;height:100%}:host(.select-fill-outline) .select-outline-start,:host(.select-fill-outline) .select-outline-end{pointer-events:none}:host(.select-fill-outline) .select-outline-start,:host(.select-fill-outline) .select-outline-notch,:host(.select-fill-outline) .select-outline-end{border-top:var(--border-width) var(--border-style) var(--border-color);border-bottom:var(--border-width) var(--border-style) var(--border-color);-webkit-box-sizing:border-box;box-sizing:border-box}:host(.select-fill-outline) .select-outline-notch{max-width:calc(100% - var(--padding-start) - var(--padding-end))}:host(.select-fill-outline) .notch-spacer{-webkit-padding-end:8px;padding-inline-end:8px;font-size:calc(1em * 0.75);opacity:0;pointer-events:none}:host(.select-fill-outline) .select-outline-start{-webkit-border-start:var(--border-width) var(--border-style) var(--border-color);border-inline-start:var(--border-width) var(--border-style) var(--border-color);border-start-start-radius:var(--border-radius);border-start-end-radius:0px;border-end-end-radius:0px;border-end-start-radius:var(--border-radius);width:calc(var(--padding-start) - 4px)}:host(.select-fill-outline) .select-outline-end{-webkit-border-end:var(--border-width) var(--border-style) var(--border-color);border-inline-end:var(--border-width) var(--border-style) var(--border-color);border-start-start-radius:0px;border-start-end-radius:var(--border-radius);border-end-end-radius:var(--border-radius);border-end-start-radius:0px;-ms-flex-positive:1;flex-grow:1}:host(.label-floating.select-fill-outline) .select-outline-notch{border-top:none}:host(.in-item.select-expanded.select-fill-outline) .select-wrapper .select-icon,:host(.in-item.has-focus.select-fill-outline) .select-wrapper .select-icon,:host(.in-item.has-focus.ion-valid.select-fill-outline) .select-wrapper .select-icon,:host(.in-item.ion-touched.ion-invalid.select-fill-outline) .select-wrapper .select-icon{color:var(--highlight-color)}:host{--border-width:1px;--border-color:var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-150, var(--ion-background-color-step-150, rgba(0, 0, 0, 0.13)))));--highlight-height:2px}:host(.select-label-placement-floating.select-expanded) .label-text-wrapper,:host(.select-label-placement-floating.has-focus) .label-text-wrapper,:host(.select-label-placement-stacked.select-expanded) .label-text-wrapper,:host(.select-label-placement-stacked.has-focus) .label-text-wrapper{color:var(--highlight-color)}:host(.has-focus.select-label-placement-floating.ion-valid) .label-text-wrapper,:host(.select-label-placement-floating.ion-touched.ion-invalid) .label-text-wrapper,:host(.has-focus.select-label-placement-stacked.ion-valid) .label-text-wrapper,:host(.select-label-placement-stacked.ion-touched.ion-invalid) .label-text-wrapper{color:var(--highlight-color)}.select-highlight{bottom:-1px;position:absolute;width:100%;height:var(--highlight-height);-webkit-transform:scale(0);transform:scale(0);-webkit-transition:-webkit-transform 200ms;transition:-webkit-transform 200ms;transition:transform 200ms;transition:transform 200ms, -webkit-transform 200ms;background:var(--highlight-color)}.select-highlight{inset-inline-start:0}:host(.select-expanded) .select-highlight,:host(.has-focus) .select-highlight{-webkit-transform:scale(1);transform:scale(1)}:host(.in-item) .select-highlight{bottom:0}:host(.in-item) .select-highlight{inset-inline-start:0}.select-icon{width:0.8125rem;-webkit-transition:-webkit-transform 0.15s cubic-bezier(0.4, 0, 0.2, 1);transition:-webkit-transform 0.15s cubic-bezier(0.4, 0, 0.2, 1);transition:transform 0.15s cubic-bezier(0.4, 0, 0.2, 1);transition:transform 0.15s cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 0.15s cubic-bezier(0.4, 0, 0.2, 1);color:var(--ion-color-step-500, var(--ion-text-color-step-500, gray))}:host(.select-expanded:not(.has-expanded-icon)) .select-icon{-webkit-transform:rotate(180deg);transform:rotate(180deg)}:host(.in-item.select-expanded) .select-wrapper .select-icon,:host(.in-item.has-focus) .select-wrapper .select-icon,:host(.in-item.has-focus.ion-valid) .select-wrapper .select-icon,:host(.in-item.ion-touched.ion-invalid) .select-wrapper .select-icon{color:var(--ion-color-step-500, var(--ion-text-color-step-500, gray))}:host(.select-expanded) .select-wrapper .select-icon,:host(.has-focus.ion-valid) .select-wrapper .select-icon,:host(.ion-touched.ion-invalid) .select-wrapper .select-icon,:host(.has-focus) .select-wrapper .select-icon{color:var(--highlight-color)}:host(.select-shape-round){--border-radius:16px}:host(.select-disabled){opacity:0.38}::slotted(ion-button[slot=start].button-has-icon-only),::slotted(ion-button[slot=end].button-has-icon-only){--border-radius:50%;--padding-start:8px;--padding-end:8px;--padding-top:8px;--padding-bottom:8px;aspect-ratio:1;min-height:40px}"};const U=class{constructor(t){e(this,t),this.inputId="ion-selopt-"+R++,this.disabled=!1}render(){return s(l,{key:"01275b5a613c4b065b24e0d939f611f6ed1fc9ee",role:"option",id:this.inputId,class:B(this)})}get el(){return r(this)}};let R=0;U.style=":host{display:none}";const G=class{constructor(t){e(this,t),this.pendingEnterTarget=null,this.options=[]}findOptionFromEvent(e){const{options:t}=this;return t.find((t=>t.value===e.target.value))}callOptionHandler(e){const t=this.findOptionFromEvent(e),o=this.getValues(e);t?.handler&&y(t.handler,o)}dismissParentPopover(){const e=this.el.closest("ion-popover");e&&e.dismiss()}setChecked(e){const{multiple:t}=this,o=this.findOptionFromEvent(e);t&&o&&(o.checked=e.detail.checked)}getValues(e){const{multiple:t,options:o}=this;if(t)return o.filter((e=>e.checked)).map((e=>e.value));const i=this.findOptionFromEvent(e);return i?i.value:void 0}renderOptions(e){const{multiple:t}=this;return!0===t?this.renderCheckboxOptions(e):this.renderRadioOptions(e)}renderCheckboxOptions(e){const t=B(this);return e.map(((e,o)=>{const i=e,l=!!i.startContent||!!i.endContent||!!i.description,r={id:`popover-option-${o}`,label:i.text,startContent:i.startContent,endContent:i.endContent,description:i.description},a=N(t,"checkbox"),c=D(t,"checkbox");return s("ion-item",{disabled:e.disabled,class:{"item-checkbox-checked":e.checked,...$(e.cssClass)}},s("ion-checkbox",{class:{"select-option-has-rich-content":l},value:e.value,disabled:e.disabled,checked:e.checked,justify:i.justify??c,labelPlacement:i.labelPlacement??a,onIonChange:e=>{this.setChecked(e),this.callOptionHandler(e),n(this)}},L(r,"select-option-label")))}))}renderRadioOptions(e){const t=B(this),o=e.filter((e=>e.checked)).map((e=>e.value))[0];return s("ion-radio-group",{value:o,onIonChange:e=>this.callOptionHandler(e)},e.map(((e,i)=>{const l=e,r=!!l.startContent||!!l.endContent||!!l.description,n={id:`popover-option-${i}`,label:l.text,startContent:l.startContent,endContent:l.endContent,description:l.description};return s("ion-item",{disabled:e.disabled,class:{"item-radio-checked":e.value===o,...$(e.cssClass)}},s("ion-radio",{class:{"select-option-has-rich-content":r},value:e.value,disabled:e.disabled,justify:l.justify??D(t,"radio"),labelPlacement:l.labelPlacement??N(t,"radio"),onClick:()=>this.dismissParentPopover(),onKeyDown:e=>{"Enter"!==e.key||e.repeat||(this.pendingEnterTarget=e.currentTarget)},onKeyUp:e=>{if(" "===e.key)this.dismissParentPopover();else if("Enter"===e.key){const t=this.pendingEnterTarget===e.currentTarget;this.pendingEnterTarget=null,t&&this.dismissParentPopover()}}},L(n,"select-option-label")))})))}render(){const{header:e,message:t,options:o,subHeader:i}=this,r=void 0!==i||void 0!==t;return s(l,{key:"4b4ac4a4b6523147e7c1f5e29dd8043867f2baea",class:B(this)},s("ion-list",{key:"f700d3dc3ce68c20a4d981164b29262564097fb4"},void 0!==e&&s("ion-list-header",{key:"196bcd7963f13ef8bc46231545eee4cb8d526f5e"},e),r&&s("ion-item",{key:"bb108e0aa2409997df35f52cb67e58e55e0fd630"},s("ion-label",{key:"59e8d9196ff976f3835766662654c0f085e58ec3",class:"ion-text-wrap"},void 0!==i&&s("h3",{key:"532f75d7c129ffadca4e6cbb619a4427aaede65c"},i),void 0!==t&&s("p",{key:"fc42c91594b9001e983cb5e4176fc4c9bff0f708"},t))),this.renderOptions(o)))}get el(){return r(this)}};G.style={ios:'.action-sheet-button-label-has-rich-content.sc-ion-select-popover-ios,.alert-radio-label-has-rich-content.sc-ion-select-popover-ios,.alert-checkbox-label-has-rich-content.sc-ion-select-popover-ios,.select-option-label-has-rich-content.sc-ion-select-popover-ios{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;gap:16px}.action-sheet-button-label-has-rich-content.sc-ion-select-popover-ios,.alert-radio-label-has-rich-content.sc-ion-select-popover-ios,.alert-checkbox-label-has-rich-content.sc-ion-select-popover-ios,.select-option-content.sc-ion-select-popover-ios{-ms-flex:1;flex:1}.action-sheet-button-label-text.sc-ion-select-popover-ios,.alert-checkbox-label-text.sc-ion-select-popover-ios,.alert-radio-label-text.sc-ion-select-popover-ios,.select-option-label-text.sc-ion-select-popover-ios{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;gap:12px}.select-option-start.sc-ion-select-popover-ios,.select-option-end.sc-ion-select-popover-ios{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;gap:8px}.select-option-description.sc-ion-select-popover-ios{padding-left:0;padding-right:0;padding-top:5px;padding-bottom:0;display:block;color:var(--ion-color-step-700, var(--ion-text-color-step-300, #4d4d4d));font-size:0.75rem}.select-option-label.sc-ion-select-popover-ios:not(.select-option-label-has-rich-content){text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.select-option-label-has-rich-content.sc-ion-select-popover-ios{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}ion-radio.select-option-has-rich-content.sc-ion-select-popover-ios::part(label),ion-radio.select-option-has-rich-content.sc-ion-select-popover-ios [part~="label"],ion-checkbox.select-option-has-rich-content.sc-ion-select-popover-ios::part(label),ion-checkbox.select-option-has-rich-content.sc-ion-select-popover-ios [part~="label"],.select-option-content.sc-ion-select-popover-ios{-ms-flex:1;flex:1;white-space:normal}.select-option-start.sc-ion-select-popover-ios>ion-avatar.sc-ion-select-popover-ios,.select-option-start.sc-ion-select-popover-ios>ion-img.sc-ion-select-popover-ios,.select-option-start.sc-ion-select-popover-ios>ion-thumbnail.sc-ion-select-popover-ios,.select-option-start.sc-ion-select-popover-ios>img.sc-ion-select-popover-ios,.select-option-start.sc-ion-select-popover-ios>svg.sc-ion-select-popover-ios,.select-option-end.sc-ion-select-popover-ios>ion-avatar.sc-ion-select-popover-ios,.select-option-end.sc-ion-select-popover-ios>ion-img.sc-ion-select-popover-ios,.select-option-end.sc-ion-select-popover-ios>ion-thumbnail.sc-ion-select-popover-ios,.select-option-end.sc-ion-select-popover-ios>img.sc-ion-select-popover-ios,.select-option-end.sc-ion-select-popover-ios>svg.sc-ion-select-popover-ios{width:44px;height:44px}.select-option-start.sc-ion-select-popover-ios>ion-icon.sc-ion-select-popover-ios,.select-option-end.sc-ion-select-popover-ios>ion-icon.sc-ion-select-popover-ios{font-size:28px}.action-sheet-button-label-text.sc-ion-select-popover-ios{-ms-flex-pack:center;justify-content:center}.select-option-has-rich-content.sc-ion-select-popover-ios{-webkit-padding-end:16px;padding-inline-end:16px}.sc-ion-select-popover-ios-h ion-list.sc-ion-select-popover-ios{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}ion-list-header.sc-ion-select-popover-ios,ion-label.sc-ion-select-popover-ios{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}.sc-ion-select-popover-ios-h{overflow-y:auto}',md:'.action-sheet-button-label-has-rich-content.sc-ion-select-popover-md,.alert-radio-label-has-rich-content.sc-ion-select-popover-md,.alert-checkbox-label-has-rich-content.sc-ion-select-popover-md,.select-option-label-has-rich-content.sc-ion-select-popover-md{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;gap:16px}.action-sheet-button-label-has-rich-content.sc-ion-select-popover-md,.alert-radio-label-has-rich-content.sc-ion-select-popover-md,.alert-checkbox-label-has-rich-content.sc-ion-select-popover-md,.select-option-content.sc-ion-select-popover-md{-ms-flex:1;flex:1}.action-sheet-button-label-text.sc-ion-select-popover-md,.alert-checkbox-label-text.sc-ion-select-popover-md,.alert-radio-label-text.sc-ion-select-popover-md,.select-option-label-text.sc-ion-select-popover-md{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;gap:12px}.select-option-start.sc-ion-select-popover-md,.select-option-end.sc-ion-select-popover-md{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;gap:8px}.select-option-description.sc-ion-select-popover-md{padding-left:0;padding-right:0;padding-top:5px;padding-bottom:0;display:block;color:var(--ion-color-step-700, var(--ion-text-color-step-300, #4d4d4d));font-size:0.75rem}.select-option-label.sc-ion-select-popover-md:not(.select-option-label-has-rich-content){text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.select-option-label-has-rich-content.sc-ion-select-popover-md{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}ion-radio.select-option-has-rich-content.sc-ion-select-popover-md::part(label),ion-radio.select-option-has-rich-content.sc-ion-select-popover-md [part~="label"],ion-checkbox.select-option-has-rich-content.sc-ion-select-popover-md::part(label),ion-checkbox.select-option-has-rich-content.sc-ion-select-popover-md [part~="label"],.select-option-content.sc-ion-select-popover-md{-ms-flex:1;flex:1;white-space:normal}.select-option-start.sc-ion-select-popover-md>ion-avatar.sc-ion-select-popover-md,.select-option-end.sc-ion-select-popover-md>ion-avatar.sc-ion-select-popover-md{width:40px;height:40px}.select-option-start.sc-ion-select-popover-md>ion-icon.sc-ion-select-popover-md,.select-option-end.sc-ion-select-popover-md>ion-icon.sc-ion-select-popover-md{font-size:24px}.select-option-start.sc-ion-select-popover-md>ion-img.sc-ion-select-popover-md,.select-option-start.sc-ion-select-popover-md>img.sc-ion-select-popover-md,.select-option-start.sc-ion-select-popover-md>svg.sc-ion-select-popover-md,.select-option-start.sc-ion-select-popover-md>ion-thumbnail.sc-ion-select-popover-md,.select-option-end.sc-ion-select-popover-md>ion-img.sc-ion-select-popover-md,.select-option-end.sc-ion-select-popover-md>img.sc-ion-select-popover-md,.select-option-end.sc-ion-select-popover-md>svg.sc-ion-select-popover-md,.select-option-end.sc-ion-select-popover-md>ion-thumbnail.sc-ion-select-popover-md{width:56px;height:56px}.select-option-start.sc-ion-select-popover-md>video.sc-ion-select-popover-md,.select-option-end.sc-ion-select-popover-md>video.sc-ion-select-popover-md{width:114px;height:56px}.sc-ion-select-popover-md-h ion-list.sc-ion-select-popover-md{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}ion-list-header.sc-ion-select-popover-md,ion-label.sc-ion-select-popover-md{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}.sc-ion-select-popover-md-h{overflow-y:auto}ion-list.sc-ion-select-popover-md ion-radio.sc-ion-select-popover-md::part(container),ion-list.sc-ion-select-popover-md ion-radio.sc-ion-select-popover-md [part~="container"]{display:none}ion-list.sc-ion-select-popover-md ion-radio.sc-ion-select-popover-md::part(label),ion-list.sc-ion-select-popover-md ion-radio.sc-ion-select-popover-md [part~="label"]{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}ion-item.sc-ion-select-popover-md{--inner-border-width:0}.item-radio-checked.sc-ion-select-popover-md{--background:rgba(var(--ion-color-primary-rgb, 0, 84, 233), 0.08);--background-focused:var(--ion-color-primary, #0054e9);--background-focused-opacity:0.2;--background-hover:var(--ion-color-primary, #0054e9);--background-hover-opacity:0.12}.item-checkbox-checked.sc-ion-select-popover-md{--background-activated:var(--ion-item-color, var(--ion-text-color, #000));--background-focused:var(--ion-item-color, var(--ion-text-color, #000));--background-hover:var(--ion-item-color, var(--ion-text-color, #000));--color:var(--ion-color-primary, #0054e9)}'};export{S as ion_select,U as ion_select_option,G as ion_select_popover}
@@ -1,4 +0,0 @@
1
- /*!
2
- * (C) Ionic http://ionicframework.com - MIT License
3
- */
4
- import{r as t,c as e,f as o,h as r,d as i,g as s}from"./p-CKYcsw8f.js";import{B as a,h as n,r as p,j as c,k as d,e as h,n as l,f as v,g as f,F as g}from"./p-DLLCmV-y.js";import{C as m,a as x,d as b}from"./p-9wczfs_v.js";import{g as w,r as u,f as k,h as y}from"./p-RzUn7cKs.js";import{c as P}from"./p-B-hirT0v.js";import{b as D,a as T}from"./p-CDBop-kz.js";import{g as $}from"./p-byZM6qHV.js";import{e as A,w as L}from"./p-B1Y7LZhV.js";import{c as C}from"./p-D0dfUysx.js";import"./p-ZjP4CjeZ.js";import"./p-D9yvytgv.js";import"./p-B_gJaBk0.js";import"./p-Dojwmvde.js";let I=null,j=!1;const N=t=>{if(null!==I)return I;if(null===t.body)return{top:0,bottom:0,left:0,right:0};const e=t.createElement("div");e.style.cssText="position:fixed;visibility:hidden;pointer-events:none;top:0;left:0;padding-top:var(--ion-safe-area-top,0px);padding-bottom:var(--ion-safe-area-bottom,0px);padding-left:var(--ion-safe-area-left,0px);padding-right:var(--ion-safe-area-right,0px);",t.body.appendChild(e);const o=getComputedStyle(e),r={top:parseFloat(o.paddingTop)||0,bottom:parseFloat(o.paddingBottom)||0,left:parseFloat(o.paddingLeft)||0,right:parseFloat(o.paddingRight)||0};return e.remove(),I=r,j||(j=!0,u((()=>{I=null,j=!1}))),r},W=(t,e,o)=>{const r=e.getBoundingClientRect(),i=r.height;let s=r.width;return"cover"===t&&o&&(s=o.getBoundingClientRect().width),{contentWidth:s,contentHeight:i}},z=(t,e)=>e&&"ION-ITEM"===e.tagName?t.findIndex((t=>t===e)):-1,Y=t=>{const e=w(t).querySelector("button");e&&u((()=>e.focus()))},O=(t,e,o,r,i,s,a,n,p,c,d)=>{let h={top:0,left:0,width:0,height:0};if("event"===s){if(!d)return p;h={top:d.clientY,left:d.clientX,width:1,height:1}}else{const t=d,e=c||t?.detail?.ionShadowTarget||t?.target;if(!e)return p;const o=e.getBoundingClientRect();h={top:o.top,left:o.left,width:o.width,height:o.height}}const l=M(a,h,e,o,r,i,t),v=H(n,a,h,e,o),f=l.top+v.top,g=l.left+v.left,{arrowTop:m,arrowLeft:x}=E(a,r,i,f,g,e,o,t),{originX:b,originY:w}=S(a,n,t);return{top:f,left:g,referenceCoordinates:h,arrowTop:m,arrowLeft:x,originX:b,originY:w}},S=(t,e,o)=>{switch(t){case"top":return{originX:B(e),originY:"bottom"};case"bottom":return{originX:B(e),originY:"top"};case"left":return{originX:"right",originY:X(e)};case"right":return{originX:"left",originY:X(e)};case"start":return{originX:o?"left":"right",originY:X(e)};case"end":return{originX:o?"right":"left",originY:X(e)}}},B=t=>{switch(t){case"start":return"left";case"center":return"center";case"end":return"right"}},X=t=>{switch(t){case"start":return"top";case"center":return"center";case"end":return"bottom"}},E=(t,e,o,r,i,s,a,n)=>{const p={arrowTop:r+a/2-e/2,arrowLeft:i+s-e/2},c={arrowTop:r+a/2-e/2,arrowLeft:i-1.5*e};switch(t){case"top":return{arrowTop:r+a,arrowLeft:i+s/2-e/2};case"bottom":return{arrowTop:r-o,arrowLeft:i+s/2-e/2};case"left":return p;case"right":return c;case"start":return n?c:p;case"end":return n?p:c;default:return{arrowTop:0,arrowLeft:0}}},M=(t,e,o,r,i,s,a)=>{const n={top:e.top,left:e.left-o-i},p={top:e.top,left:e.left+e.width+i};switch(t){case"top":return{top:e.top-r-s,left:e.left};case"right":return p;case"bottom":return{top:e.top+e.height+s,left:e.left};case"left":return n;case"start":return a?p:n;case"end":return a?n:p}},H=(t,e,o,r,i)=>{switch(t){case"center":return V(e,o,r,i);case"end":return R(e,o,r,i);default:return{top:0,left:0}}},R=(t,e,o,r)=>{switch(t){case"start":case"end":case"left":case"right":return{top:-(r-e.height),left:0};default:return{top:0,left:-(o-e.width)}}},V=(t,e,o,r)=>{switch(t){case"start":case"end":case"left":case"right":return{top:-(r/2-e.height/2),left:0};default:return{top:0,left:-(o/2-e.width/2)}}},F=(t,e,o,r,i,s,a,n,p,c,d,h,l=0,v=0,f=0)=>{let g,m=l,x=o,b=e,w=c,u=d,k=!1,y=!1,P=!1,D=!1;const T=h?h.top+h.height:s/2-n/2,$=h?h.height:0;let A=!1;if(x<r+p.left?(x=r,k=!0,w="left"):a+r+x+p.right>i&&(y=!0,x=i-a-r,w="right"),T+$+n>s-p.bottom&&("top"===t||"bottom"===t)){const t=T-n-$-(f-1);t>=p.top+r?(b=t,m=b+n,u="bottom",A=!0):(g=r,D=!0,b>=s-p.bottom-r&&(b=p.top+r,P=!0))}return{top:b,left:x,bottom:g,originX:w,originY:u,checkSafeAreaLeft:k,checkSafeAreaRight:y,checkSafeAreaTop:P,checkSafeAreaBottom:D,arrowTop:m,arrowLeft:v,addPopoverBottomClass:A,hideArrow:!1}},K=(t,e)=>{const{event:o,size:r,trigger:i,reference:s,side:a,align:n}=e,p=t.ownerDocument,c="rtl"===p.dir,d=p.defaultView.innerWidth,h=p.defaultView.innerHeight,l=w(t),v=l.querySelector(".popover-content"),f=l.querySelector(".popover-arrow"),g=i||o?.detail?.ionShadowTarget||o?.target,{contentWidth:m,contentHeight:x}=W(r,v,g),{arrowWidth:b,arrowHeight:u}=(t=>{if(!t)return{arrowWidth:0,arrowHeight:0};const{width:e,height:o}=t.getBoundingClientRect();return{arrowWidth:e,arrowHeight:o}})(f),k=O(c,m,x,b,u,s,a,n,{top:h/2-x/2,left:d/2-m/2,originX:c?"right":"left",originY:"top"},i,o),y="cover"===r?0:5,P=N(p),D="cover"===r?{top:0,bottom:0,left:0,right:0}:{top:Math.max(P.top,25),bottom:Math.max(P.bottom,25),left:Math.max(P.left,25),right:Math.max(P.right,25)},{originX:T,originY:$,top:A,left:L,bottom:I,checkSafeAreaLeft:j,checkSafeAreaRight:z,checkSafeAreaTop:Y,checkSafeAreaBottom:S,arrowTop:B,arrowLeft:X,addPopoverBottomClass:E}=F(a,k.top,k.left,y,d,h,m,x,D,k.originX,k.originY,k.referenceCoordinates,k.arrowTop,k.arrowLeft,u),M=C(),H=C(),R=C();return H.addElement(l.querySelector("ion-backdrop")).fromTo("opacity",.01,"var(--backdrop-opacity)").beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"]),R.addElement(l.querySelector(".popover-arrow")).addElement(l.querySelector(".popover-content")).fromTo("opacity",.01,1),M.easing("ease").duration(100).beforeAddWrite((()=>{if("cover"===r&&t.style.setProperty("--width",`${m}px`),E&&t.classList.add("popover-bottom"),void 0!==I){let t=`${I}px`;S&&(t=`${I}px + var(--ion-safe-area-bottom, 0px)`),v.style.setProperty("bottom",`calc(${t})`)}let e=`${L}px`;j&&(e=`${L}px + var(--ion-safe-area-left, 0px)`),z&&(e=`${L}px - var(--ion-safe-area-right, 0px)`);let s=`${A}px`;if(Y&&(s=`${A}px + var(--ion-safe-area-top, 0px)`),v.style.setProperty("top",`calc(${s} + var(--offset-y, 0))`),v.style.setProperty("left",`calc(${e} + var(--offset-x, 0))`),v.style.setProperty("transform-origin",`${$} ${T}`),null!==f){const t=((t,e=!1,o,r)=>!(!o&&!r||"top"!==t&&"bottom"!==t&&e))(a,k.top!==A||k.left!==L,o,i);t?(f.style.setProperty("top",`calc(${B}px + var(--offset-y, 0))`),f.style.setProperty("left",`calc(${X}px + var(--offset-x, 0))`)):f.style.setProperty("display","none")}})).addAnimation([H,R])},Z=t=>{const e=w(t),o=e.querySelector(".popover-content"),r=e.querySelector(".popover-arrow"),i=C(),s=C(),a=C();return s.addElement(e.querySelector("ion-backdrop")).fromTo("opacity","var(--backdrop-opacity)",0),a.addElement(e.querySelector(".popover-arrow")).addElement(e.querySelector(".popover-content")).fromTo("opacity",.99,0),i.easing("ease").afterAddWrite((()=>{t.style.removeProperty("--width"),t.classList.remove("popover-bottom"),o.style.removeProperty("top"),o.style.removeProperty("left"),o.style.removeProperty("bottom"),o.style.removeProperty("transform-origin"),r&&(r.style.removeProperty("top"),r.style.removeProperty("left"),r.style.removeProperty("display"))})).duration(300).addAnimation([s,a])},U=(t,e)=>{const{event:o,size:r,trigger:i,reference:s,side:a,align:n}=e,p=t.ownerDocument,c="rtl"===p.dir,d=p.defaultView.innerWidth,h=p.defaultView.innerHeight,l=w(t),v=l.querySelector(".popover-content"),f=i||o?.detail?.ionShadowTarget||o?.target,{contentWidth:g,contentHeight:m}=W(r,v,f),x=O(c,g,m,0,0,s,a,n,{top:h/2-m/2,left:d/2-g/2,originX:c?"right":"left",originY:"top"},i,o),b="cover"===r?0:12,u="cover"===r?{top:0,bottom:0,left:0,right:0}:N(p),{originX:k,originY:y,top:P,left:D,bottom:T,checkSafeAreaLeft:$,checkSafeAreaRight:A,checkSafeAreaTop:L,checkSafeAreaBottom:I,addPopoverBottomClass:j}=F(a,x.top,x.left,b,d,h,g,m,u,x.originX,x.originY,x.referenceCoordinates);let z=`${D}px`;$&&(z=`${D}px + var(--ion-safe-area-left, 0px)`),A&&(z=`${D}px - var(--ion-safe-area-right, 0px)`);let Y=`${P}px`;L&&(Y=`${P}px + var(--ion-safe-area-top, 0px)`);const S=C(),B=C(),X=C(),E=C(),M=C();return B.addElement(l.querySelector("ion-backdrop")).fromTo("opacity",.01,"var(--backdrop-opacity)").beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"]),X.addElement(l.querySelector(".popover-wrapper")).duration(150).fromTo("opacity",.01,1),E.addElement(v).beforeStyles({top:`calc(${Y} + var(--offset-y, 0px))`,left:`calc(${z} + var(--offset-x, 0px))`,"transform-origin":`${y} ${k}`}).beforeAddWrite((()=>{if(void 0!==T){let t=`${T}px`;I&&(t=`${T}px + var(--ion-safe-area-bottom, 0px)`),v.style.setProperty("bottom",`calc(${t})`)}})).fromTo("transform","scale(0.8)","scale(1)"),M.addElement(l.querySelector(".popover-viewport")).fromTo("opacity",.01,1),S.easing("cubic-bezier(0.36,0.66,0.04,1)").duration(300).beforeAddWrite((()=>{"cover"===r&&t.style.setProperty("--width",`${g}px`),j&&t.classList.add("popover-bottom")})).addAnimation([B,X,E,M])},_=t=>{const e=w(t),o=e.querySelector(".popover-content"),r=C(),i=C(),s=C();return i.addElement(e.querySelector("ion-backdrop")).fromTo("opacity","var(--backdrop-opacity)",0),s.addElement(e.querySelector(".popover-wrapper")).fromTo("opacity",.99,0),r.easing("ease").afterAddWrite((()=>{t.style.removeProperty("--width"),t.classList.remove("popover-bottom"),o.style.removeProperty("top"),o.style.removeProperty("left"),o.style.removeProperty("bottom"),o.style.removeProperty("transform-origin")})).duration(150).addAnimation([i,s])},q=class{constructor(r){t(this,r),this.didPresent=e(this,"ionPopoverDidPresent",7),this.willPresent=e(this,"ionPopoverWillPresent",7),this.willDismiss=e(this,"ionPopoverWillDismiss",7),this.didDismiss=e(this,"ionPopoverDidDismiss",7),this.didPresentShorthand=e(this,"didPresent",7),this.willPresentShorthand=e(this,"willPresent",7),this.willDismissShorthand=e(this,"willDismiss",7),this.didDismissShorthand=e(this,"didDismiss",7),this.ionMount=e(this,"ionMount",7),this.parentPopover=null,this.coreDelegate=m(),this.lockController=P(),this.inline=!1,this.focusDescendantOnPresent=!1,this.presented=!1,this.hasController=!1,this.keyboardClose=!0,this.backdropDismiss=!0,this.showBackdrop=!0,this.translucent=!1,this.animated=!0,this.triggerAction="click",this.size="auto",this.dismissOnSelect=!1,this.reference="trigger",this.side="bottom",this.arrow=!0,this.isOpen=!1,this.keyboardEvents=!1,this.focusTrap=!0,this.keepContentsMounted=!1,this.onBackdropTap=()=>{this.dismiss(void 0,a)},this.onLifecycle=t=>{const e=this.usersElement,o=J[t.type];if(e&&o){const r=new CustomEvent(o,{bubbles:!1,cancelable:!1,detail:t.detail});e.dispatchEvent(r)}},this.configureTriggerInteraction=()=>{const{trigger:t,triggerAction:e,el:r,destroyTriggerInteraction:i}=this;if(i&&i(),void 0===t)return;const s=this.triggerEl=void 0!==t?document.getElementById(t):null;s?this.destroyTriggerInteraction=((t,e,o)=>{let r=[];switch(e){case"hover":let t;r=[{eventName:"mouseenter",callback:async e=>{e.stopPropagation(),t&&clearTimeout(t),t=setTimeout((()=>{u((()=>{o.presentFromTrigger(e),t=void 0}))}),100)}},{eventName:"mouseleave",callback:e=>{t&&clearTimeout(t);const r=e.relatedTarget;r&&r.closest("ion-popover")!==o&&o.dismiss(void 0,void 0,!1)}},{eventName:"click",callback:t=>t.stopPropagation()},{eventName:"ionPopoverActivateTrigger",callback:t=>o.presentFromTrigger(t,!0)}];break;case"context-menu":r=[{eventName:"contextmenu",callback:t=>{t.preventDefault(),o.presentFromTrigger(t)}},{eventName:"click",callback:t=>t.stopPropagation()},{eventName:"ionPopoverActivateTrigger",callback:t=>o.presentFromTrigger(t,!0)}];break;default:r=[{eventName:"click",callback:t=>o.presentFromTrigger(t)},{eventName:"ionPopoverActivateTrigger",callback:t=>o.presentFromTrigger(t,!0)}]}return r.forEach((({eventName:e,callback:o})=>t.addEventListener(e,o))),t.setAttribute("data-ion-popover-trigger","true"),()=>{r.forEach((({eventName:e,callback:o})=>t.removeEventListener(e,o))),t.removeAttribute("data-ion-popover-trigger")}})(s,e,r):o(`[ion-popover] - 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 ion-popover.`,this.el)},this.configureKeyboardInteraction=()=>{const{destroyKeyboardInteraction:t,el:e}=this;t&&t(),this.destroyKeyboardInteraction=(t=>{const e=async e=>{const o=document.activeElement;let r=[];const i=e.target?.tagName;if("ION-POPOVER"===i||"ION-ITEM"===i){try{r=Array.from(t.querySelectorAll("ion-item:not(ion-popover ion-popover *):not([disabled])"))}catch{}switch(e.key){case"ArrowLeft":await t.getParentPopover()&&t.dismiss(void 0,void 0,!1);break;case"ArrowDown":e.preventDefault();const i=((t,e)=>t[z(t,e)+1])(r,o);void 0!==i&&Y(i);break;case"ArrowUp":e.preventDefault();const s=((t,e)=>t[z(t,e)-1])(r,o);void 0!==s&&Y(s);break;case"Home":e.preventDefault();const a=r[0];void 0!==a&&Y(a);break;case"End":e.preventDefault();const n=r[r.length-1];void 0!==n&&Y(n);break;case"ArrowRight":case" ":case"Enter":if(o&&o.hasAttribute("data-ion-popover-trigger")){const t=new CustomEvent("ionPopoverActivateTrigger");o.dispatchEvent(t)}}}};return t.addEventListener("keydown",e),()=>t.removeEventListener("keydown",e)})(e)},this.configureDismissInteraction=()=>{const{destroyDismissInteraction:t,parentPopover:e,triggerAction:o,triggerEl:r,el:i}=this;e&&r&&(t&&t(),this.destroyDismissInteraction=((t,e,o,r)=>{let i=[];const s=w(r).querySelector(".popover-content");return i="hover"===e?[{eventName:"mouseenter",callback:e=>{document.elementFromPoint(e.clientX,e.clientY)!==t&&o.dismiss(void 0,void 0,!1)}}]:[{eventName:"click",callback:e=>{e.target.closest("[data-ion-popover-trigger]")!==t?o.dismiss(void 0,void 0,!1):e.stopPropagation()}}],i.forEach((({eventName:t,callback:e})=>s.addEventListener(t,e))),()=>{i.forEach((({eventName:t,callback:e})=>s.removeEventListener(t,e)))}})(r,o,i,e))}}onTriggerChange(){this.configureTriggerInteraction()}onIsOpenChange(t,e){!0===t&&!1===e?this.present():!1===t&&!0===e&&this.dismiss()}connectedCallback(){const{configureTriggerInteraction:t,el:e}=this;n(e),t(),this.presented&&(p(e),this.recalculateContentOnHeaderReady())}disconnectedCallback(){const{destroyTriggerInteraction:t}=this;t&&t(),this.headerResizeObserver&&(this.headerResizeObserver.disconnect(),this.headerResizeObserver=void 0),this.presented&&c()}componentWillLoad(){const{el:t}=this,e=this.htmlAttributes?.id??d(t);this.parentPopover=t.closest(`ion-popover:not(#${e})`),void 0===this.alignment&&(this.alignment="ios"===D(this)?"center":"start")}componentDidLoad(){const{parentPopover:t,isOpen:e}=this;!0===e&&u((()=>this.present())),t&&k(t,"ionPopoverWillDismiss",(()=>{this.dismiss(void 0,void 0,!1)})),this.configureTriggerInteraction()}async presentFromTrigger(t,e=!1){this.focusDescendantOnPresent=e,await this.present(t),this.focusDescendantOnPresent=!1}getDelegate(t=!1){if(this.workingDelegate&&!t)return{delegate:this.workingDelegate,inline:this.inline};const e=this.inline=null!==this.el.parentNode&&!this.hasController;return{inline:e,delegate:this.workingDelegate=e?this.delegate||this.coreDelegate:this.delegate}}async present(t){const e=await this.lockController.lock();if(this.presented)return void e();const{el:o}=this,{inline:r,delegate:i}=this.getDelegate(!0);this.ionMount.emit(),this.usersElement=await x(i,o,this.component,["popover-viewport"],this.componentProps,r),this.recalculateContentOnHeaderReady(),this.keyboardEvents||this.configureKeyboardInteraction(),this.configureDismissInteraction(),y(o)?await A(this.usersElement):this.keepContentsMounted||await L(),await h(this,"popoverEnter",K,U,{event:t||this.event,size:this.size,trigger:this.triggerEl,reference:this.reference,side:this.side,align:this.alignment}),this.focusDescendantOnPresent&&l(o),e()}recalculateContentOnHeaderReady(){const t=this.el.shadowRoot?.querySelector(".popover-content");if(!t)return;const e=this.usersElement||t,o=e.querySelector("ion-header"),r=e.querySelectorAll("ion-content");o&&0!==r.length&&(this.headerResizeObserver?.disconnect(),this.headerResizeObserver=new ResizeObserver((async()=>{if(o.offsetHeight>0){this.headerResizeObserver?.disconnect(),this.headerResizeObserver=void 0;for(const t of r)await t.recalculateDimensions()}})),this.headerResizeObserver.observe(o))}async dismiss(t,e,o=!0){const r=await this.lockController.lock(),{destroyKeyboardInteraction:i,destroyDismissInteraction:s}=this;o&&this.parentPopover&&this.parentPopover.dismiss(t,e,o);const a=await v(this,t,e,"popoverLeave",Z,_,this.event);if(a){i&&(i(),this.destroyKeyboardInteraction=void 0),s&&(s(),this.destroyDismissInteraction=void 0);const{delegate:t}=this.getDelegate();await b(t,this.usersElement)}return r(),a}async getParentPopover(){return this.parentPopover}onDidDismiss(){return f(this.el,"ionPopoverDidDismiss")}onWillDismiss(){return f(this.el,"ionPopoverWillDismiss")}render(){const t=D(this),{onLifecycle:e,parentPopover:o,dismissOnSelect:s,side:a,arrow:n,htmlAttributes:p,focusTrap:c}=this,d=T("desktop"),h=n&&!o;return r(i,{key:"5a41565e6129c73112835aab18b7ae213de040f2","aria-modal":"true","no-router":!0,tabindex:"-1",...p,style:{zIndex:`${2e4+this.overlayIndex}`},class:{...$(this.cssClass),[t]:!0,"popover-translucent":this.translucent,"overlay-hidden":!0,"popover-desktop":d,[`popover-side-${a}`]:!0,[g]:!1===c,"popover-nested":!!o},onIonPopoverDidPresent:e,onIonPopoverWillPresent:e,onIonPopoverWillDismiss:e,onIonPopoverDidDismiss:e,onIonBackdropTap:this.onBackdropTap},!o&&r("ion-backdrop",{key:"59e724e4a6ce25eae78ccf1668effd988be7232a",tappable:this.backdropDismiss,visible:this.showBackdrop,part:"backdrop"}),r("div",{key:"88d787ca20ac7cbacc4190bd771645dbe6083ad9",class:"popover-wrapper ion-overlay-wrapper",onClick:s?()=>this.dismiss():void 0},h&&r("div",{key:"f766e6413cc4545f27a43d5931c033261e3daa2c",class:"popover-arrow",part:"arrow"}),r("div",{key:"675bddff0c071378858bb2d07bec91da68c2652a",class:"popover-content",part:"content"},r("slot",{key:"1c446b867083016b24b1b3baccd19b9fc08e114a"}))))}get el(){return s(this)}static get watchers(){return{trigger:[{onTriggerChange:0}],triggerAction:[{onTriggerChange:0}],isOpen:[{onIsOpenChange:0}]}}},J={ionPopoverDidPresent:"ionViewDidEnter",ionPopoverWillPresent:"ionViewWillEnter",ionPopoverWillDismiss:"ionViewWillLeave",ionPopoverDidDismiss:"ionViewDidLeave"};q.style={ios:':host{--background:var(--ion-background-color, #fff);--min-width:0;--min-height:0;--max-width:auto;--height:auto;--offset-x:0px;--offset-y:0px;left:0;right:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:fixed;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;outline:none;color:var(--ion-text-color, #000);z-index:1001}:host(.popover-nested){pointer-events:none}:host(.popover-nested) .popover-wrapper{pointer-events:auto}:host(.overlay-hidden){display:none}.popover-wrapper{z-index:10}.popover-content{display:-ms-flexbox;display:flex;position:absolute;-ms-flex-direction:column;flex-direction:column;width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);background:var(--background);-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);overflow:auto;z-index:10}::slotted(.popover-viewport){--ion-safe-area-top:0px;--ion-safe-area-right:0px;--ion-safe-area-bottom:0px;--ion-safe-area-left:0px;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}:host(.popover-nested.popover-side-left){--offset-x:5px}:host(.popover-nested.popover-side-right){--offset-x:-5px}:host(.popover-nested.popover-side-start){--offset-x:5px}:host-context([dir=rtl]):host(.popover-nested.popover-side-start),:host-context([dir=rtl]).popover-nested.popover-side-start{--offset-x:-5px}@supports selector(:dir(rtl)){:host(.popover-nested.popover-side-start:dir(rtl)){--offset-x:-5px}}:host(.popover-nested.popover-side-end){--offset-x:-5px}:host-context([dir=rtl]):host(.popover-nested.popover-side-end),:host-context([dir=rtl]).popover-nested.popover-side-end{--offset-x:5px}@supports selector(:dir(rtl)){:host(.popover-nested.popover-side-end:dir(rtl)){--offset-x:5px}}:host(.select-popover-rich-content){--width:clamp(250px, calc(100vw - 40px), 400px)}:host{--width:200px;--max-height:90%;--box-shadow:none;--backdrop-opacity:var(--ion-backdrop-opacity, 0.08)}:host(.popover-desktop){--box-shadow:0px 4px 16px 0px rgba(0, 0, 0, 0.12)}.popover-content{border-radius:10px}:host(.popover-desktop) .popover-content{border:0.5px solid var(--ion-color-step-100, var(--ion-background-color-step-100, #e6e6e6))}.popover-arrow{display:block;position:absolute;width:20px;height:10px;overflow:hidden;z-index:11}.popover-arrow::after{top:3px;border-radius:3px;position:absolute;width:14px;height:14px;-webkit-transform:rotate(45deg);transform:rotate(45deg);background:var(--background);content:"";z-index:10}.popover-arrow::after{inset-inline-start:3px}:host(.popover-bottom) .popover-arrow{top:auto;bottom:-10px}:host(.popover-bottom) .popover-arrow::after{top:-6px}:host(.popover-side-left) .popover-arrow{-webkit-transform:rotate(90deg);transform:rotate(90deg)}:host(.popover-side-right) .popover-arrow{-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}:host(.popover-side-top) .popover-arrow{-webkit-transform:rotate(180deg);transform:rotate(180deg)}:host(.popover-side-start) .popover-arrow{-webkit-transform:rotate(90deg);transform:rotate(90deg)}:host-context([dir=rtl]):host(.popover-side-start) .popover-arrow,:host-context([dir=rtl]).popover-side-start .popover-arrow{-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}@supports selector(:dir(rtl)){:host(.popover-side-start:dir(rtl)) .popover-arrow{-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}}:host(.popover-side-end) .popover-arrow{-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}:host-context([dir=rtl]):host(.popover-side-end) .popover-arrow,:host-context([dir=rtl]).popover-side-end .popover-arrow{-webkit-transform:rotate(90deg);transform:rotate(90deg)}@supports selector(:dir(rtl)){:host(.popover-side-end:dir(rtl)) .popover-arrow{-webkit-transform:rotate(90deg);transform:rotate(90deg)}}.popover-arrow,.popover-content{opacity:0}@supports ((-webkit-backdrop-filter: blur(0)) or (backdrop-filter: blur(0))){:host(.popover-translucent) .popover-content,:host(.popover-translucent) .popover-arrow::after{background:rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8);-webkit-backdrop-filter:saturate(180%) blur(20px);backdrop-filter:saturate(180%) blur(20px)}}',md:":host{--background:var(--ion-background-color, #fff);--min-width:0;--min-height:0;--max-width:auto;--height:auto;--offset-x:0px;--offset-y:0px;left:0;right:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:fixed;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;outline:none;color:var(--ion-text-color, #000);z-index:1001}:host(.popover-nested){pointer-events:none}:host(.popover-nested) .popover-wrapper{pointer-events:auto}:host(.overlay-hidden){display:none}.popover-wrapper{z-index:10}.popover-content{display:-ms-flexbox;display:flex;position:absolute;-ms-flex-direction:column;flex-direction:column;width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);background:var(--background);-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);overflow:auto;z-index:10}::slotted(.popover-viewport){--ion-safe-area-top:0px;--ion-safe-area-right:0px;--ion-safe-area-bottom:0px;--ion-safe-area-left:0px;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}:host(.popover-nested.popover-side-left){--offset-x:5px}:host(.popover-nested.popover-side-right){--offset-x:-5px}:host(.popover-nested.popover-side-start){--offset-x:5px}:host-context([dir=rtl]):host(.popover-nested.popover-side-start),:host-context([dir=rtl]).popover-nested.popover-side-start{--offset-x:-5px}@supports selector(:dir(rtl)){:host(.popover-nested.popover-side-start:dir(rtl)){--offset-x:-5px}}:host(.popover-nested.popover-side-end){--offset-x:-5px}:host-context([dir=rtl]):host(.popover-nested.popover-side-end),:host-context([dir=rtl]).popover-nested.popover-side-end{--offset-x:5px}@supports selector(:dir(rtl)){:host(.popover-nested.popover-side-end:dir(rtl)){--offset-x:5px}}:host(.select-popover-rich-content){--width:clamp(250px, calc(100vw - 40px), 400px)}:host{--width:250px;--max-height:90%;--box-shadow:0 5px 5px -3px rgba(0, 0, 0, 0.2), 0 8px 10px 1px rgba(0, 0, 0, 0.14), 0 3px 14px 2px rgba(0, 0, 0, 0.12);--backdrop-opacity:var(--ion-backdrop-opacity, 0.32)}.popover-content{border-radius:4px;-webkit-transform-origin:left top;transform-origin:left top}:host-context([dir=rtl]) .popover-content{-webkit-transform-origin:right top;transform-origin:right top}[dir=rtl] .popover-content{-webkit-transform-origin:right top;transform-origin:right top}@supports selector(:dir(rtl)){.popover-content:dir(rtl){-webkit-transform-origin:right top;transform-origin:right top}}.popover-viewport{-webkit-transition-delay:100ms;transition-delay:100ms}.popover-wrapper{opacity:0}"};export{q as ion_popover}
@@ -1,4 +0,0 @@
1
- /*!
2
- * (C) Ionic http://ionicframework.com - MIT License
3
- */
4
- import{r as t,c as o,w as n,h as e,d as i,g as r,i as a,f as s,j as c}from"./p-CKYcsw8f.js";import{r as l,f as d,m as h,b}from"./p-RzUn7cKs.js";import{i as g}from"./p-Dojwmvde.js";import{c as m,h as u}from"./p-byZM6qHV.js";import{b as v}from"./p-CDBop-kz.js";const p=class{constructor(n){t(this,n),this.ionChange=o(this,"ionChange",7),this.ionSelect=o(this,"ionSelect",7),this.ionStyle=o(this,"ionStyle",7),this.segmentViewEl=null,this.activated=!1,this.disabled=!1,this.scrollable=!1,this.swipeGesture=!0,this.selectOnFocus=!1,this.onClick=t=>{const o=t.target,n=this.checked;"ION-SEGMENT"!==o.tagName&&(this.value=o.value,o!==n&&this.emitValueChange(),this.segmentViewEl?(this.updateSegmentView(),this.scrollable&&n&&this.checkButton(n,o)):!this.scrollable&&this.swipeGesture||(n?this.checkButton(n,o):this.setCheckedClasses()))},this.onSlottedItemsChange=()=>{this.valueChanged(this.value)},this.getSegmentButton=t=>{const o=this.getButtons().filter((t=>!t.disabled)),n=o.findIndex((t=>t===document.activeElement));switch(t){case"first":return o[0];case"last":return o[o.length-1];case"next":return o[n+1]??o[0];case"previous":return o[n-1]??o[o.length-1];default:return null}}}colorChanged(t,o){(void 0===o&&void 0!==t||void 0!==o&&void 0===t)&&this.emitStyle()}swipeGestureChanged(){this.gestureChanged()}valueChanged(t,o){if(this.segmentViewEl&&void 0===t)this.value=this.getButtons()[0].value;else{if(void 0!==o&&void 0!==t){const n=this.getButtons(),e=n.find((t=>t.value===o)),i=n.find((o=>o.value===t));e&&i&&(this.segmentViewEl?!1!==this.triggerScrollOnValueChange&&this.updateSegmentView():this.checkButton(e,i))}else void 0!==t&&void 0===o&&this.segmentViewEl&&this.updateSegmentView();this.ionSelect.emit({value:t}),this.segmentViewEl||this.scrollActiveButtonIntoView(),this.triggerScrollOnValueChange=void 0}}disabledChanged(){if(this.gestureChanged(),this.segmentViewEl)this.segmentViewEl.disabled=this.disabled;else{const t=this.getButtons();for(const o of t)o.disabled=this.disabled}}gestureChanged(){this.gesture&&this.gesture.enable(!this.scrollable&&!this.disabled&&this.swipeGesture)}connectedCallback(){this.emitStyle(),this.segmentViewEl=this.getSegmentView()}disconnectedCallback(){this.segmentViewEl=null}componentWillLoad(){this.emitStyle()}async componentDidLoad(){this.segmentViewEl=this.getSegmentView(),this.setCheckedClasses(),l((()=>{this.scrollActiveButtonIntoView(!1)})),this.gesture=(await import("./p-D0YpjgON.js")).createGesture({el:this.el,gestureName:"segment",gesturePriority:100,threshold:0,passive:!1,onStart:t=>this.onStart(t),onMove:t=>this.onMove(t),onEnd:t=>this.onEnd(t)}),this.gestureChanged(),this.disabled&&this.disabledChanged(),this.updateSegmentView(!1)}onStart(t){this.valueBeforeGesture=this.value,this.activate(t)}onMove(t){this.setNextIndex(t)}onEnd(t){this.setActivated(!1),this.setNextIndex(t,!0),t.event.stopImmediatePropagation();const o=this.value;void 0!==o&&this.valueBeforeGesture!==o&&(this.emitValueChange(),this.updateSegmentView()),this.valueBeforeGesture=void 0}emitValueChange(){const{value:t}=this;this.ionChange.emit({value:t})}getButtons(){return Array.from(this.el.querySelectorAll("ion-segment-button"))}get checked(){return this.getButtons().find((t=>t.value===this.value))}setActivated(t){this.getButtons().forEach((o=>{o.classList.toggle("segment-button-activated",t)})),this.activated=t}activate(t){const o=t.event.target,n=this.getButtons().find((t=>t.value===this.value));"ION-SEGMENT-BUTTON"===o.tagName&&(n||(this.value=o.value,this.setCheckedClasses()),this.value===o.value&&this.setActivated(!0))}getIndicator(t){return(t.shadowRoot||t).querySelector(".segment-button-indicator")}checkButton(t,o){const e=this.getIndicator(t),i=this.getIndicator(o);if(null===e||null===i)return;const r=e.getBoundingClientRect(),a=i.getBoundingClientRect(),s=`translate3d(${r.left-a.left}px, 0, 0) scaleX(${r.width/a.width})`;n((()=>{i.classList.remove("segment-button-indicator-animated"),i.style.setProperty("transform",s),i.getBoundingClientRect(),i.classList.add("segment-button-indicator-animated"),i.style.setProperty("transform",""),this.scrollActiveButtonIntoView(!0)})),this.value=o.value,this.setCheckedClasses()}setCheckedClasses(){const t=this.getButtons(),o=t.findIndex((t=>t.value===this.value))+1;for(const o of t)o.classList.remove("segment-button-after-checked");o<t.length&&t[o].classList.add("segment-button-after-checked")}getSegmentView(){const t=this.getButtons().find((t=>t.contentId)),o=document.querySelector(`ion-segment-content[id="${t?.contentId}"]`);return o?.closest("ion-segment-view")}handleSegmentViewScroll(t){const{scrollRatio:o,isManualScroll:n}=t.detail;if(!n)return;const e=t.target,i=this.segmentViewEl,r=this.el;if(t.composedPath().includes(i)||e?.contains(r)){const t=this.getButtons();if(!t.length)return;const n=t.findIndex((t=>t.value===this.value)),e=t[n],i=Math.round(o*(t.length-1));if(t[i]?.disabled)return;void 0!==this.lastNextIndex&&this.lastNextIndex===i||(this.lastNextIndex=i,this.triggerScrollOnValueChange=!1,this.checkButton(e,t[i]),this.emitValueChange())}}updateSegmentView(t=!0){const o=this.getButtons().find((t=>t.value===this.value));if(!o?.contentId)return;const n=this.segmentViewEl;n&&n.setContent(o.contentId,t)}scrollActiveButtonIntoView(t=!0){const{scrollable:o,value:n,el:e}=this;if(o){const o=this.getButtons().find((t=>t.value===n));if(void 0!==o){const n=e.getBoundingClientRect(),i=o.getBoundingClientRect();e.scrollTo({top:0,left:e.scrollLeft+(i.x-n.x-n.width/2+i.width/2),behavior:t?"smooth":"instant"})}}}setNextIndex(t,o=!1){const n=g(this.el),e=this.activated,i=this.getButtons(),r=i.findIndex((t=>t.value===this.value)),a=i[r];let s,c;if(-1===r)return;const l=a.getBoundingClientRect(),d=l.left,h=l.width,b=t.currentX,m=l.top+l.height/2,u=this.el.getRootNode().elementFromPoint(b,m);if(e&&!o){if(n?b>d+h:b<d){const t=r-1;t>=0&&(c=t)}else if((n?b<d:b>d+h)&&e&&!o){const t=r+1;t<i.length&&(c=t)}void 0===c||i[c].disabled||(s=i[c])}if(!e&&o&&(s=u),null!=s){if("ION-SEGMENT"===s.tagName)return!1;a!==s&&this.checkButton(a,s)}return!0}emitStyle(){this.ionStyle.emit({segment:!0})}onKeyDown(t){const o=g(this.el);let n,e=this.selectOnFocus;switch(t.key){case"ArrowRight":t.preventDefault(),n=this.getSegmentButton(o?"previous":"next");break;case"ArrowLeft":t.preventDefault(),n=this.getSegmentButton(o?"next":"previous");break;case"Home":t.preventDefault(),n=this.getSegmentButton("first");break;case"End":t.preventDefault(),n=this.getSegmentButton("last");break;case" ":case"Enter":t.preventDefault(),n=document.activeElement,e=!0}if(n){if(e){const t=this.checked;this.checkButton(t||n,n),n!==t&&this.emitValueChange()}n.setFocus()}}render(){const t=v(this);return e(i,{key:"f74bd72f10f966129528497aa47b2c683a62d59e",role:"tablist",onClick:this.onClick,class:m(this.color,{[t]:!0,"in-toolbar":u("ion-toolbar",this.el),"in-toolbar-color":u("ion-toolbar[color]",this.el),"segment-activated":this.activated,"segment-disabled":this.disabled,"segment-scrollable":this.scrollable})},e("slot",{key:"79b0c6cce9d83d147b190ae5d77df7de29a6b42d",onSlotchange:this.onSlottedItemsChange}))}get el(){return r(this)}static get watchers(){return{color:[{colorChanged:0}],swipeGesture:[{swipeGestureChanged:0}],value:[{valueChanged:0}],disabled:[{disabledChanged:0}]}}};p.style={ios:":host{--ripple-color:currentColor;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:grid;grid-auto-columns:1fr;position:relative;-ms-flex-align:stretch;align-items:stretch;-ms-flex-pack:center;justify-content:center;width:100%;background:var(--background);font-family:var(--ion-font-family, inherit);text-align:center;contain:paint;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}:host(.segment-scrollable){-ms-flex-pack:start;justify-content:start;width:auto;overflow-x:auto;grid-auto-columns:minmax(-webkit-min-content, 1fr);grid-auto-columns:minmax(min-content, 1fr)}:host(.segment-scrollable::-webkit-scrollbar){display:none}:host{--background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.065);border-radius:8px;overflow:hidden;z-index:0}:host(.ion-color){background:rgba(var(--ion-color-base-rgb), 0.065)}:host(.in-toolbar){-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:0;margin-bottom:0;width:auto}:host(.in-toolbar:not(.ion-color)){background:var(--ion-toolbar-segment-background, var(--background))}:host(.in-toolbar-color:not(.ion-color)){background:rgba(var(--ion-color-contrast-rgb), 0.11)}",md:":host{--ripple-color:currentColor;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:grid;grid-auto-columns:1fr;position:relative;-ms-flex-align:stretch;align-items:stretch;-ms-flex-pack:center;justify-content:center;width:100%;background:var(--background);font-family:var(--ion-font-family, inherit);text-align:center;contain:paint;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}:host(.segment-scrollable){-ms-flex-pack:start;justify-content:start;width:auto;overflow-x:auto;grid-auto-columns:minmax(-webkit-min-content, 1fr);grid-auto-columns:minmax(min-content, 1fr)}:host(.segment-scrollable::-webkit-scrollbar){display:none}:host{--background:transparent;grid-auto-columns:minmax(auto, 360px)}:host(.in-toolbar){min-height:var(--min-height)}:host(.segment-scrollable) ::slotted(ion-segment-button){min-width:auto}"};let f=0;const k=class{constructor(o){t(this,o),this.segmentEl=null,this.inheritedAttributes={},this.checked=!1,this.disabled=!1,this.layout="icon-top",this.type="button",this.value="ion-sb-"+f++,this.updateStyle=()=>{a(this)},this.updateState=()=>{const{segmentEl:t}=this;t&&(this.checked=t.value===this.value,t.disabled&&(this.disabled=!0))}}valueChanged(){this.updateState()}connectedCallback(){const t=this.segmentEl=this.el.closest("ion-segment");t&&(this.updateState(),d(t,"ionSelect",this.updateState),d(t,"ionStyle",this.updateStyle)),this.contentId&&this.disabled&&(s("[ion-segment-button] - Segment buttons cannot be disabled when associated with an <ion-segment-content>."),this.disabled=!1)}disconnectedCallback(){const t=this.segmentEl;t&&(h(t,"ionSelect",this.updateState),h(t,"ionStyle",this.updateStyle),this.segmentEl=null)}componentWillLoad(){if(this.inheritedAttributes={...b(this.el,["aria-label"])},!this.contentId)return;const t=document.getElementById(this.contentId);t?"ION-SEGMENT-CONTENT"===t.tagName||c(`[ion-segment-button] - Element with id="${this.contentId}" is not an <ion-segment-content> element.`):c(`[ion-segment-button] - Unable to find Segment Content with id="${this.contentId}".`)}get hasLabel(){return!!this.el.querySelector("ion-label")}get hasIcon(){return!!this.el.querySelector("ion-icon")}async setFocus(){const{nativeEl:t}=this;void 0!==t&&t.focus()}render(){const{checked:t,type:o,disabled:n,hasIcon:r,hasLabel:a,layout:s,segmentEl:c}=this,l=v(this);return e(i,{key:"2b4b7ad8b981d2ee39aba5b9c734de8a5bd045ba",class:{[l]:!0,"in-toolbar":u("ion-toolbar",this.el),"in-toolbar-color":u("ion-toolbar[color]",this.el),"in-segment":u("ion-segment",this.el),"in-segment-color":void 0!==c?.color,"segment-button-has-label":a,"segment-button-has-icon":r,"segment-button-has-label-only":a&&!r,"segment-button-has-icon-only":r&&!a,"segment-button-disabled":n,"segment-button-checked":t,[`segment-button-layout-${s}`]:!0,"ion-activatable":!0,"ion-activatable-instant":!0,"ion-focusable":!0}},e("button",{key:"9cc58cfbe70844a0f5e1a307002e0d04e044be99","aria-selected":t?"true":"false",role:"tab",ref:t=>this.nativeEl=t,type:o,class:"button-native",part:"native",disabled:n,...this.inheritedAttributes},e("span",{key:"6443551951ce589efdb2d0e1fd1a14e35b82ed19",class:"button-inner"},e("slot",{key:"c3548b469ae6e5477d8372cb28bc70dff3a24d18"})),"md"===l&&e("ion-ripple-effect",{key:"fb176415ca1702766c4d7a5964ec0bb467bdcb55"})),e("div",{key:"aa22b4752f8336d0e232a1e0894e87023b284a08",part:"indicator",class:"segment-button-indicator segment-button-indicator-animated"},e("div",{key:"61e29ea52048fa0583fce6c20c81614a4d0199cb",part:"indicator-background",class:"segment-button-indicator-background"})))}get el(){return r(this)}static get watchers(){return{value:[{valueChanged:0}]}}};k.style={ios:':host{--color:initial;--color-hover:var(--color);--color-checked:var(--color);--color-disabled:var(--color);--padding-start:0;--padding-end:0;--padding-top:0;--padding-bottom:0;border-radius:var(--border-radius);display:-ms-flexbox;display:flex;position:relative;-ms-flex-direction:column;flex-direction:column;height:auto;background:var(--background);color:var(--color);text-decoration:none;text-overflow:ellipsis;white-space:nowrap;cursor:pointer;grid-row:1;-webkit-font-kerning:none;font-kerning:none}.button-native{border-radius:0;font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;-webkit-margin-start:var(--margin-start);margin-inline-start:var(--margin-start);-webkit-margin-end:var(--margin-end);margin-inline-end:var(--margin-end);margin-top:var(--margin-top);margin-bottom:var(--margin-bottom);-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);display:-ms-flexbox;display:flex;position:relative;-ms-flex-direction:inherit;flex-direction:inherit;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;min-width:inherit;max-width:inherit;height:auto;min-height:inherit;max-height:inherit;-webkit-transition:var(--transition);transition:var(--transition);border:none;outline:none;background:transparent;contain:content;pointer-events:none;overflow:hidden;z-index:2}.button-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0}.button-inner{display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:inherit;flex-flow:inherit;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;z-index:1}:host(.segment-button-checked){background:var(--background-checked);color:var(--color-checked)}:host(.segment-button-disabled){cursor:default;pointer-events:none}:host(.ion-focused) .button-native{color:var(--color-focused)}:host(.ion-focused) .button-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}:host(:focus){outline:none}@media (any-hover: hover){:host(:hover) .button-native{color:var(--color-hover)}:host(:hover) .button-native::after{background:var(--background-hover);opacity:var(--background-hover-opacity)}:host(.segment-button-checked:hover) .button-native{color:var(--color-checked)}}::slotted(ion-icon){-ms-flex-negative:0;flex-shrink:0;-ms-flex-order:-1;order:-1;pointer-events:none}::slotted(ion-label){display:block;-ms-flex-item-align:center;align-self:center;max-width:100%;line-height:22px;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;-webkit-box-sizing:border-box;box-sizing:border-box;pointer-events:none}:host(.segment-button-layout-icon-top) .button-native{-ms-flex-direction:column;flex-direction:column}:host(.segment-button-layout-icon-start) .button-native{-ms-flex-direction:row;flex-direction:row}:host(.segment-button-layout-icon-end) .button-native{-ms-flex-direction:row-reverse;flex-direction:row-reverse}:host(.segment-button-layout-icon-bottom) .button-native{-ms-flex-direction:column-reverse;flex-direction:column-reverse}:host(.segment-button-layout-icon-hide) ::slotted(ion-icon){display:none}:host(.segment-button-layout-label-hide) ::slotted(ion-label){display:none}ion-ripple-effect{color:var(--ripple-color, var(--color-checked))}.segment-button-indicator{-webkit-transform-origin:left;transform-origin:left;position:absolute;opacity:0;-webkit-box-sizing:border-box;box-sizing:border-box;will-change:transform, opacity;pointer-events:none}.segment-button-indicator-background{width:100%;height:var(--indicator-height);-webkit-transform:var(--indicator-transform);transform:var(--indicator-transform);-webkit-box-shadow:var(--indicator-box-shadow);box-shadow:var(--indicator-box-shadow);pointer-events:none}.segment-button-indicator-animated{-webkit-transition:var(--indicator-transition);transition:var(--indicator-transition)}:host(.segment-button-checked) .segment-button-indicator{opacity:1}@media (prefers-reduced-motion: reduce){.segment-button-indicator-background{-webkit-transform:none;transform:none}.segment-button-indicator-animated{-webkit-transition:none;transition:none}}:host{--background:none;--background-checked:none;--background-hover:none;--background-hover-opacity:0;--background-focused:none;--background-focused-opacity:0;--border-radius:7px;--border-width:1px;--border-color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.12);--border-style:solid;--indicator-box-shadow:0 0 5px rgba(0, 0, 0, 0.16);--indicator-color:var(--ion-color-step-350, var(--ion-background-color-step-350, var(--ion-background-color, #fff)));--indicator-height:100%;--indicator-transition:transform 260ms cubic-bezier(0.4, 0, 0.2, 1);--indicator-transform:none;--transition:100ms all linear;--padding-top:0;--padding-end:13px;--padding-bottom:0;--padding-start:13px;margin-top:2px;margin-bottom:2px;position:relative;-ms-flex-direction:row;flex-direction:row;min-width:70px;min-height:28px;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);font-size:13px;font-weight:450;line-height:37px}:host::before{margin-left:0;margin-right:0;margin-top:5px;margin-bottom:5px;-webkit-transition:160ms opacity ease-in-out;transition:160ms opacity ease-in-out;-webkit-transition-delay:100ms;transition-delay:100ms;border-left:var(--border-width) var(--border-style) var(--border-color);content:"";opacity:1;will-change:opacity}:host(:first-of-type)::before{border-left-color:transparent}:host(.segment-button-disabled){opacity:0.3}::slotted(ion-icon){font-size:24px}:host(.segment-button-layout-icon-start) ::slotted(ion-label){-webkit-margin-start:2px;margin-inline-start:2px;-webkit-margin-end:0;margin-inline-end:0}:host(.segment-button-layout-icon-end) ::slotted(ion-label){-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:2px;margin-inline-end:2px}.segment-button-indicator{-webkit-padding-start:2px;padding-inline-start:2px;-webkit-padding-end:2px;padding-inline-end:2px;left:0;right:0;top:0;bottom:0}.segment-button-indicator-background{border-radius:var(--border-radius);background:var(--indicator-color)}.segment-button-indicator-background{-webkit-transition:var(--indicator-transition);transition:var(--indicator-transition)}:host(.segment-button-checked)::before,:host(.segment-button-after-checked)::before{opacity:0}:host(.segment-button-checked){z-index:-1}:host(.segment-button-activated){--indicator-transform:scale(0.95)}:host(.ion-focused) .button-native{opacity:0.7}@media (any-hover: hover){:host(:hover) .button-native{opacity:0.5}:host(.segment-button-checked:hover) .button-native{opacity:1}}:host(.in-segment-color){background:none;color:var(--ion-text-color, #000)}:host(.in-segment-color) .segment-button-indicator-background{background:var(--ion-color-step-350, var(--ion-background-color-step-350, var(--ion-background-color, #fff)))}@media (any-hover: hover){:host(.in-segment-color:hover) .button-native,:host(.in-segment-color.segment-button-checked:hover) .button-native{color:var(--ion-text-color, #000)}}:host(.in-toolbar:not(.in-segment-color)){--background-checked:var(--ion-toolbar-segment-background-checked, none);--color:var(--ion-toolbar-segment-color, var(--ion-toolbar-color), initial);--color-checked:var(--ion-toolbar-segment-color-checked, var(--ion-toolbar-color), initial);--indicator-color:var(--ion-toolbar-segment-indicator-color, var(--ion-color-step-350, var(--ion-background-color-step-350, var(--ion-background-color, #fff))))}:host(.in-toolbar-color) .segment-button-indicator-background{background:var(--ion-color-contrast)}:host(.in-toolbar-color:not(.in-segment-color)) .button-native{color:var(--ion-color-contrast)}:host(.in-toolbar-color.segment-button-checked:not(.in-segment-color)) .button-native{color:var(--ion-color-base)}@media (any-hover: hover){:host(.in-toolbar-color:not(.in-segment-color):hover) .button-native{color:var(--ion-color-contrast)}:host(.in-toolbar-color.segment-button-checked:not(.in-segment-color):hover) .button-native{color:var(--ion-color-base)}}',md:':host{--color:initial;--color-hover:var(--color);--color-checked:var(--color);--color-disabled:var(--color);--padding-start:0;--padding-end:0;--padding-top:0;--padding-bottom:0;border-radius:var(--border-radius);display:-ms-flexbox;display:flex;position:relative;-ms-flex-direction:column;flex-direction:column;height:auto;background:var(--background);color:var(--color);text-decoration:none;text-overflow:ellipsis;white-space:nowrap;cursor:pointer;grid-row:1;-webkit-font-kerning:none;font-kerning:none}.button-native{border-radius:0;font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;-webkit-margin-start:var(--margin-start);margin-inline-start:var(--margin-start);-webkit-margin-end:var(--margin-end);margin-inline-end:var(--margin-end);margin-top:var(--margin-top);margin-bottom:var(--margin-bottom);-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);display:-ms-flexbox;display:flex;position:relative;-ms-flex-direction:inherit;flex-direction:inherit;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;min-width:inherit;max-width:inherit;height:auto;min-height:inherit;max-height:inherit;-webkit-transition:var(--transition);transition:var(--transition);border:none;outline:none;background:transparent;contain:content;pointer-events:none;overflow:hidden;z-index:2}.button-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0}.button-inner{display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:inherit;flex-flow:inherit;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;z-index:1}:host(.segment-button-checked){background:var(--background-checked);color:var(--color-checked)}:host(.segment-button-disabled){cursor:default;pointer-events:none}:host(.ion-focused) .button-native{color:var(--color-focused)}:host(.ion-focused) .button-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}:host(:focus){outline:none}@media (any-hover: hover){:host(:hover) .button-native{color:var(--color-hover)}:host(:hover) .button-native::after{background:var(--background-hover);opacity:var(--background-hover-opacity)}:host(.segment-button-checked:hover) .button-native{color:var(--color-checked)}}::slotted(ion-icon){-ms-flex-negative:0;flex-shrink:0;-ms-flex-order:-1;order:-1;pointer-events:none}::slotted(ion-label){display:block;-ms-flex-item-align:center;align-self:center;max-width:100%;line-height:22px;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;-webkit-box-sizing:border-box;box-sizing:border-box;pointer-events:none}:host(.segment-button-layout-icon-top) .button-native{-ms-flex-direction:column;flex-direction:column}:host(.segment-button-layout-icon-start) .button-native{-ms-flex-direction:row;flex-direction:row}:host(.segment-button-layout-icon-end) .button-native{-ms-flex-direction:row-reverse;flex-direction:row-reverse}:host(.segment-button-layout-icon-bottom) .button-native{-ms-flex-direction:column-reverse;flex-direction:column-reverse}:host(.segment-button-layout-icon-hide) ::slotted(ion-icon){display:none}:host(.segment-button-layout-label-hide) ::slotted(ion-label){display:none}ion-ripple-effect{color:var(--ripple-color, var(--color-checked))}.segment-button-indicator{-webkit-transform-origin:left;transform-origin:left;position:absolute;opacity:0;-webkit-box-sizing:border-box;box-sizing:border-box;will-change:transform, opacity;pointer-events:none}.segment-button-indicator-background{width:100%;height:var(--indicator-height);-webkit-transform:var(--indicator-transform);transform:var(--indicator-transform);-webkit-box-shadow:var(--indicator-box-shadow);box-shadow:var(--indicator-box-shadow);pointer-events:none}.segment-button-indicator-animated{-webkit-transition:var(--indicator-transition);transition:var(--indicator-transition)}:host(.segment-button-checked) .segment-button-indicator{opacity:1}@media (prefers-reduced-motion: reduce){.segment-button-indicator-background{-webkit-transform:none;transform:none}.segment-button-indicator-animated{-webkit-transition:none;transition:none}}:host{--background:none;--background-checked:none;--background-hover:var(--color-checked);--background-focused:var(--color-checked);--background-activated-opacity:0;--background-focused-opacity:.12;--background-hover-opacity:.04;--color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.6);--color-checked:var(--ion-color-primary, #0054e9);--indicator-box-shadow:none;--indicator-color:var(--color-checked);--indicator-height:2px;--indicator-transition:transform 250ms cubic-bezier(0.4, 0, 0.2, 1);--indicator-transform:none;--padding-top:0;--padding-end:16px;--padding-bottom:0;--padding-start:16px;--transition:color 0.15s linear 0s, opacity 0.15s linear 0s;min-width:90px;min-height:48px;border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);font-size:14px;font-weight:500;letter-spacing:0.06em;line-height:40px;text-transform:uppercase}:host(.segment-button-disabled){opacity:0.3}:host(.in-segment-color){background:none;color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.6)}:host(.in-segment-color) ion-ripple-effect{color:var(--ion-color-base)}:host(.in-segment-color) .segment-button-indicator-background{background:var(--ion-color-base)}:host(.in-segment-color.segment-button-checked) .button-native{color:var(--ion-color-base)}:host(.in-segment-color.ion-focused) .button-native::after{background:var(--ion-color-base)}@media (any-hover: hover){:host(.in-segment-color:hover) .button-native{color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.6)}:host(.in-segment-color:hover) .button-native::after{background:var(--ion-color-base)}:host(.in-segment-color.segment-button-checked:hover) .button-native{color:var(--ion-color-base)}}:host(.in-toolbar:not(.in-segment-color)){--background:var(--ion-toolbar-segment-background, none);--background-checked:var(--ion-toolbar-segment-background-checked, none);--color:var(--ion-toolbar-segment-color, rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.6));--color-checked:var(--ion-toolbar-segment-color-checked, var(--ion-color-primary, #0054e9));--indicator-color:var(--ion-toolbar-segment-color-checked, var(--color-checked))}:host(.in-toolbar-color:not(.in-segment-color)) .button-native{color:rgba(var(--ion-color-contrast-rgb), 0.6)}:host(.in-toolbar-color.segment-button-checked:not(.in-segment-color)) .button-native{color:var(--ion-color-contrast)}@media (any-hover: hover){:host(.in-toolbar-color:not(.in-segment-color)) .button-native::after{background:var(--ion-color-contrast)}}::slotted(ion-icon){margin-top:12px;margin-bottom:12px;font-size:24px}::slotted(ion-label){margin-top:12px;margin-bottom:12px}:host(.segment-button-layout-icon-top) ::slotted(ion-label),:host(.segment-button-layout-icon-bottom) ::slotted(ion-icon){margin-top:0}:host(.segment-button-layout-icon-top) ::slotted(ion-icon),:host(.segment-button-layout-icon-bottom) ::slotted(ion-label){margin-bottom:0}:host(.segment-button-layout-icon-start) ::slotted(ion-label){-webkit-margin-start:8px;margin-inline-start:8px;-webkit-margin-end:0;margin-inline-end:0}:host(.segment-button-layout-icon-end) ::slotted(ion-label){-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:8px;margin-inline-end:8px}:host(.segment-button-has-icon-only) ::slotted(ion-icon){margin-top:12px;margin-bottom:12px}:host(.segment-button-has-label-only) ::slotted(ion-label){margin-top:12px;margin-bottom:12px}.segment-button-indicator{left:0;right:0;bottom:0}.segment-button-indicator-background{background:var(--indicator-color)}:host(.in-toolbar:not(.in-segment-color)) .segment-button-indicator-background{background:var(--ion-toolbar-segment-indicator-color, var(--indicator-color))}:host(.in-toolbar-color:not(.in-segment-color)) .segment-button-indicator-background{background:var(--ion-color-contrast)}'};export{p as ion_segment,k as ion_segment_button}
@@ -1,4 +0,0 @@
1
- /*!
2
- * (C) Ionic http://ionicframework.com - MIT License
3
- */
4
- import{r as t,c as i,h as e,d as s,g as o}from"./p-CKYcsw8f.js";import{d as a}from"./p-ZjP4CjeZ.js";import{r as n}from"./p-RzUn7cKs.js";import{b as r,a as l,h as c}from"./p-T71k3C35.js";import{a as d,b as p}from"./p-CDBop-kz.js";import{c as h}from"./p-byZM6qHV.js";import"./p-Dojwmvde.js";import"./p-CIGNaXM1.js";const f=class{constructor(e){t(this,e),this.ionChange=i(this,"ionChange",7),this.isScrolling=!1,this.isColumnVisible=!1,this.canExitInputMode=!0,this.updateValueTextOnScroll=!1,this.ariaLabel=null,this.isActive=!1,this.disabled=!1,this.numericInput=!1,this.centerPickerItemInView=(t,i=!0,e=!0)=>{const{isColumnVisible:s,scrollEl:o}=this;if(s&&o){const s=t.offsetTop-3*t.clientHeight+t.clientHeight/2;o.scrollTop!==s&&(this.canExitInputMode=e,this.updateValueTextOnScroll=!1,o.scroll({top:s,left:0,behavior:i?"smooth":void 0}))}},this.setPickerItemActiveState=(t,i)=>{i?t.classList.add(m):t.classList.remove(m)},this.inputModeChange=t=>{if(!this.numericInput)return;const{useInputMode:i,inputModeColumn:e}=t.detail;this.setInputModeActive(!(!i||void 0!==e&&e!==this.el))},this.setInputModeActive=t=>{this.isScrolling?this.scrollEndCallback=()=>{this.isActive=t}:this.isActive=t},this.initializeScrollListener=()=>{const t=d("ios"),{el:i,scrollEl:e}=this;let s,o=this.activeItem;const p=()=>{n((()=>{if(!e)return;s&&(clearTimeout(s),s=void 0),this.isScrolling||(t&&r(),this.isScrolling=!0);const n=e.getBoundingClientRect(),d=n.x+n.width/2,p=n.y+n.height/2,h=i.getRootNode(),f=h instanceof ShadowRoot?h:a;if(void 0===f)return;let m=f.elementsFromPoint(d,p).find((t=>"ION-PICKER-COLUMN-OPTION"===t.tagName));if(void 0===m){const t=f.elementFromPoint(d,p);"ION-PICKER-COLUMN-OPTION"===t?.tagName&&(m=t)}void 0!==o&&this.setPickerItemActiveState(o,!1),void 0===m||m.disabled||(m!==o&&(t&&l(),this.canExitInputMode&&this.exitInputMode()),o=m,this.setPickerItemActiveState(m,!0),this.updateValueTextOnScroll&&this.assistiveFocusable?.setAttribute("aria-valuetext",this.getOptionValueText(m)),s=setTimeout((()=>{this.isScrolling=!1,this.updateValueTextOnScroll=!0,t&&c();const{scrollEndCallback:i}=this;i&&(i(),this.scrollEndCallback=void 0),this.canExitInputMode=!0,this.setValue(m.value)}),250))}))};n((()=>{e&&(e.addEventListener("scroll",p),this.destroyScrollListener=()=>{e.removeEventListener("scroll",p)})}))},this.exitInputMode=()=>{const{parentEl:t}=this;null!=t&&(t.exitInputMode(),this.el.classList.remove("picker-column-active"))},this.findNextOption=(t=1)=>{const{activeItem:i}=this;if(!i)return null;let e=i,s=i.nextElementSibling;for(;null!=s;){if(t>0&&t--,"ION-PICKER-COLUMN-OPTION"===s.tagName&&!s.disabled&&0===t)return s;e=s,s=s.nextElementSibling}return e},this.findPreviousOption=(t=1)=>{const{activeItem:i}=this;if(!i)return null;let e=i,s=i.previousElementSibling;for(;null!=s;){if(t>0&&t--,"ION-PICKER-COLUMN-OPTION"===s.tagName&&!s.disabled&&0===t)return s;e=s,s=s.previousElementSibling}return e},this.onKeyDown=t=>{const i=d("mobile");let e=null;switch(t.key){case"ArrowDown":e=i?this.findPreviousOption():this.findNextOption();break;case"ArrowUp":e=i?this.findNextOption():this.findPreviousOption();break;case"PageUp":e=i?this.findNextOption(5):this.findPreviousOption(5);break;case"PageDown":e=i?this.findPreviousOption(5):this.findNextOption(5);break;case"Home":e=this.el.querySelector("ion-picker-column-option:first-of-type");break;case"End":e=this.el.querySelector("ion-picker-column-option:last-of-type")}null!==e&&(this.setValue(e.value),t.preventDefault())},this.getOptionValueText=t=>t?t.getAttribute("aria-label")??t.innerText:""}ariaLabelChanged(t){this.ariaLabel=t}valueChange(){this.isColumnVisible&&this.scrollActiveItemIntoView(!0)}componentWillLoad(){const t=this.parentEl=this.el.closest("ion-picker");new IntersectionObserver((t=>{if(t[t.length-1].isIntersecting){const{activeItem:t,el:i}=this;this.isColumnVisible=!0;const e=i.querySelector(`.${m}`);e&&this.setPickerItemActiveState(e,!1),this.scrollActiveItemIntoView(),t&&this.setPickerItemActiveState(t,!0),this.initializeScrollListener()}else this.isColumnVisible=!1,this.destroyScrollListener&&(this.destroyScrollListener(),this.destroyScrollListener=void 0)}),{threshold:.001,root:this.parentEl}).observe(this.el),null!==t&&t.addEventListener("ionInputModeChange",(t=>this.inputModeChange(t)))}componentDidRender(){const{el:t,activeItem:i,isColumnVisible:e,value:s}=this;if(e&&!i){const i=t.querySelector("ion-picker-column-option");null!==i&&i.value!==s&&this.setValue(i.value)}}async scrollActiveItemIntoView(t=!1){const i=this.activeItem;i&&this.centerPickerItemInView(i,t,!1)}async setValue(t){!0!==this.disabled&&this.value!==t&&(this.value=t,this.ionChange.emit({value:t}))}async setFocus(){this.assistiveFocusable&&this.assistiveFocusable.focus()}connectedCallback(){this.ariaLabel=this.el.getAttribute("aria-label")??"Select a value"}get activeItem(){const{value:t}=this;return Array.from(this.el.querySelectorAll("ion-picker-column-option")).find((i=>!(!this.disabled&&i.disabled)&&i.value===t))}render(){const{color:t,disabled:i,isActive:o,numericInput:a}=this,n=p(this);return e(s,{key:"78b46ad10d88ea1bb43ca8c36748767912f03224",class:h(t,{[n]:!0,"picker-column-active":o,"picker-column-numeric-input":a,"picker-column-disabled":i})},e("slot",{key:"761e501df77f7de896ffb3ebb99ebf88c5c3bf70",name:"prefix"}),e("div",{key:"9f4caaeef8ab704522a85f30876d371712f47c5c",class:"picker-opts",ref:t=>{this.scrollEl=t},role:"slider",tabindex:this.disabled?void 0:0,"aria-label":this.ariaLabel,"aria-valuemin":0,"aria-valuemax":0,"aria-valuenow":0,"aria-valuetext":this.getOptionValueText(this.activeItem),"aria-orientation":"vertical",onKeyDown:t=>this.onKeyDown(t)},e("div",{key:"9d3533436aba6c61c93f65f84a077fba832194a0",class:"picker-item-empty","aria-hidden":"true"}," "),e("div",{key:"3f18d3a47361f06f55321b65fdf5742a61722b26",class:"picker-item-empty","aria-hidden":"true"}," "),e("div",{key:"eac0d20ab8c533ef829875e323e93e1ee2067d6d",class:"picker-item-empty","aria-hidden":"true"}," "),e("slot",{key:"92e25989ef41cf6f910c73238e1a0a5ac03f1c1f"}),e("div",{key:"33a84644ebdc84108b44a8e3a129b54e824939c8",class:"picker-item-empty","aria-hidden":"true"}," "),e("div",{key:"128ad61a3a68c7ff2d2e44a6e968424fcc608a15",class:"picker-item-empty","aria-hidden":"true"}," "),e("div",{key:"6e4d59a4f75befcbbf47279a263f28a69b12dbbd",class:"picker-item-empty","aria-hidden":"true"}," ")),e("slot",{key:"3c6621b64438792a3024c90e3d9916a0a3614506",name:"suffix"}))}get el(){return o(this)}static get watchers(){return{"aria-label":[{ariaLabelChanged:0}],value:[{valueChange:0}]}}},m="option-active";f.style=":host{display:-ms-flexbox;display:flex;position:relative;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;max-width:100%;height:200px;font-size:22px;text-align:center}.assistive-focusable{left:0;right:0;top:0;bottom:0;position:absolute;z-index:1;pointer-events:none}.assistive-focusable:focus{outline:none}.picker-opts{-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:0px;padding-bottom:0px;min-width:26px;max-height:200px;outline:none;text-align:inherit;-webkit-scroll-snap-type:y mandatory;-ms-scroll-snap-type:y mandatory;scroll-snap-type:y mandatory;overflow-x:hidden;overflow-y:scroll;scrollbar-width:none}.picker-item-empty{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;display:block;width:100%;height:34px;border:0px;outline:none;background:transparent;color:inherit;font-family:var(--ion-font-family, inherit);font-size:inherit;line-height:34px;text-align:inherit;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.picker-opts::-webkit-scrollbar{display:none}::slotted(ion-picker-column-option){display:block;scroll-snap-align:center}.picker-item-empty,:host(:not([disabled])) ::slotted(ion-picker-column-option.option-disabled){scroll-snap-align:none}::slotted([slot=prefix]),::slotted([slot=suffix]){max-width:200px;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}::slotted([slot=prefix]){-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:0;padding-bottom:0;-ms-flex-pack:end;justify-content:end}::slotted([slot=suffix]){-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:0;padding-bottom:0;-ms-flex-pack:start;justify-content:start}:host(.picker-column-disabled) .picker-opts{overflow-y:hidden}:host(.picker-column-disabled) ::slotted(ion-picker-column-option){cursor:default;opacity:0.4;pointer-events:none}@media (any-hover: hover){:host(:focus) .picker-opts{outline:none;background:rgba(var(--ion-color-primary-rgb, 0, 84, 233), 0.2)}:host(.ion-color:focus) .picker-opts{background:rgba(var(--ion-color-base-rgb), 0.2)}}";export{f as ion_picker_column}
@@ -1,4 +0,0 @@
1
- /*!
2
- * (C) Ionic http://ionicframework.com - MIT License
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-CazSodad.js";import{f as a,m as e,c as s}from"./p-RzUn7cKs.js";import{a as d,K as c}from"./p-BMPN55of.js";import"./p-CKYcsw8f.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,a=t.cloneNode(!1);a.classList.add("cloned-input"),a.tabIndex=-1,i&&(a.disabled=!0);const e="rtl"===o.ownerDocument.dir;a.style.insetInlineStart=e?r.offsetWidth-t.offsetLeft-t.offsetWidth+"px":`${t.offsetLeft}px`,r.appendChild(a),l.set(o,a);const s=e?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)},S=(o,t,n)=>{o.addEventListener("focusout",(()=>{t&&h(t,0,n)}),{once:!0})};let y=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())},K=async(o,t,r,a,e,s,d=!1,c=0,l=!0)=>{if(!r&&!a)return;const f=((o,t,n,i)=>((o,t,n,i)=>{const r=o.top,a=o.bottom,e=t.top,s=e+15,d=Math.min(t.bottom,i-n)-50-a,c=s-r,l=Math.round(d<0?-d:c>0?-c:0),u=Math.min(l,r-e),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||a,e,c);if(r&&Math.abs(f.scrollAmount)<4)return D(t),void(s&&null!==r&&(h(r,y),S(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 a;const e=async()=>{void 0!==a&&clearTimeout(a),window.removeEventListener("ionKeyboardDidShow",d),window.removeEventListener("ionKeyboardDidShow",e),r&&await i(r,0,f.scrollAmount,f.scrollDuration),u(o,t,!1,f.inputSafeY),document.activeElement===t&&D(t),s&&S(t,r,(()=>y=0))},d=()=>{window.removeEventListener("ionKeyboardDidShow",d),window.addEventListener("ionKeyboardDidShow",e)};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",e),void(a=setTimeout(e,1e3))}e()}},M=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),S=n.getBoolean("inputBlurring",!1),y=n.getBoolean("scrollPadding",!0),D=Array.from(t.querySelectorAll("ion-input, ion-textarea")),M=new WeakMap,j=new WeakMap,x=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&&!M.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 a(n,"ionScrollStart",s),a(n,"ionScrollEnd",d),t.addEventListener("blur",r),()=>{e(n,"ionScrollStart",s),e(n,"ionScrollEnd",d),t.removeEventListener("blur",r)}})(t,i,c);M.set(t,o)}if("date"!==i.type&&"datetime-local"!==i.type&&(c||l)&&m&&!j.has(t)){const n=((t,n,i,r,a,e,s,c=!1)=>{const l=e&&(void 0===s||s.mode===d.None);let u=!1;const f=void 0!==o?o.innerHeight:0,p=o=>{!1!==u?K(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(b)?n.removeAttribute(b):(K(t,n,i,r,a,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,x,f);j.set(t,n)}}};S&&(()=>{let o=!0,t=!1;const n=document;a(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 a=i.target;a!==r&&(a.matches(w)||a.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=M.get(o);t&&t(),M.delete(o)}if(m){const t=j.get(o);t&&t(),j.delete(o)}})(o.detail)}))};export{M as startInputShims}
@@ -1,4 +0,0 @@
1
- /*!
2
- * (C) Ionic http://ionicframework.com - MIT License
3
- */
4
- import"./p-CKYcsw8f.js";const t=(t,e,n=["item-multiple-inputs"])=>{const s=t.closest("ion-item");if(!s||"undefined"==typeof MutationObserver)return;const i=()=>n.map((t=>s.classList.contains(t))).join(",");let r=i();const o=new MutationObserver((()=>{const t=i();t!==r&&(r=t,e())}));return o.observe(s,{attributes:!0,attributeFilter:["class"]}),o};export{t as c}
@@ -1,4 +0,0 @@
1
- /*!
2
- * (C) Ionic http://ionicframework.com - MIT License
3
- */
4
- import{a as o,w as s}from"./p-CKYcsw8f.js";import{a,s as t}from"./p-CazSodad.js";import{c as r}from"./p-RzUn7cKs.js";import"./p-Dojwmvde.js";const n=()=>{const n=window;n.addEventListener("statusTap",(()=>{o((()=>{const o=document.elementFromPoint(n.innerWidth/2,n.innerHeight/2);if(!o)return;const m=a(o);m&&new Promise((o=>r(m,o))).then((()=>{s((async()=>{m.style.setProperty("--overflow","hidden"),await t(m,300),m.style.removeProperty("--overflow")}))}))}))}))};export{n as startStatusTap}
@@ -1,4 +0,0 @@
1
- /*!
2
- * (C) Ionic http://ionicframework.com - MIT License
3
- */
4
- import{c as t}from"./p-D0dfUysx.js";import{g as o}from"./p-B1Y7LZhV.js";import"./p-CKYcsw8f.js";import"./p-ZjP4CjeZ.js";import"./p-RzUn7cKs.js";import"./p-Dojwmvde.js";const r=(r,s)=>{const i="40px",p="back"===s.direction,a=s.leavingEl,e=o(s.enteringEl),n=e.querySelector("ion-toolbar"),c=t();if(c.addElement(e).fill("both").beforeRemoveClass("ion-page-invisible"),p?c.duration((s.duration??0)||200).easing("cubic-bezier(0.47,0,0.745,0.715)"):c.duration((s.duration??0)||280).easing("cubic-bezier(0.36,0.66,0.04,1)").fromTo("transform",`translateY(${i})`,"translateY(0px)").fromTo("opacity",.01,1),n){const o=t();o.addElement(n),c.addAnimation(o)}if(a&&p){c.duration((s.duration??0)||200).easing("cubic-bezier(0.47,0,0.745,0.715)");const r=t();r.addElement(o(a)).onFinish((t=>{1===t&&r.elements.length>0&&r.elements[0].style.setProperty("display","none")})).fromTo("transform","translateY(0px)",`translateY(${i})`).fromTo("opacity",1,0),c.addAnimation(r)}return c};export{r as mdTransitionAnimation}
@@ -1,4 +0,0 @@
1
- /*!
2
- * (C) Ionic http://ionicframework.com - MIT License
3
- */
4
- import{i as o}from"./p-CDBop-kz.js";const p=o||(()=>{});export{p as g}
@@ -1,5 +0,0 @@
1
- /*!
2
- * (C) Ionic http://ionicframework.com - MIT License
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()},S=(t,n)=>{n&&(t.__stencil__getHostRef=()=>n,n.i=t,512&n.o.u&&j(t,n))},N=(t,n)=>n in t,x=(t,n)=>(0,console.error)(t,n),E=new Map,k=new Map,C=[],M="s-id",R="sty-id",I="c-id",L="slot-fb{display:contents}slot-fb[hidden]{display:none}",T="http://www.w3.org/1999/xlink",A="undefined"!=typeof window?window:{},B=A.HTMLElement||class{},F={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)},U=t=>Promise.resolve(t),D=(()=>{try{return!!A.document.adoptedStyleSheets&&(new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync)}catch(t){}return!1})(),_=!!D&&(()=>!!A.document&&Object.getOwnPropertyDescriptor(A.document.adoptedStyleSheets,"length").writable)(),P=!1,V=[],W=[],H=(t,n)=>e=>{t.push(e),P||(P=!0,n&&4&F.u?J(q):F.raf(q))},z=t=>{for(let n=0;n<t.length;n++)try{t[n](performance.now())}catch(t){x(t)}t.length=0},q=()=>{z(V),z(W),(P=V.length>0)&&F.raf(q)},J=t=>U().then(t),G=H(V,!1),Y=H(W,!0),Z=t=>{const n=new URL(t,F.h);return n.origin!==A.location.origin?n.href:n.pathname};function K(t){const n={mode:"open"};n.delegatesFocus=!!(16&t.u);const e=this.attachShadow(n);void 0===w&&(w=null),w&&(_?e.adoptedStyleSheets.push(w):e.adoptedStyleSheets=[...e.adoptedStyleSheets,w])}var Q=t=>{const n=kt(t,"childNodes");t.tagName&&t.tagName.includes("-")&&t["s-cr"]&&"SLOT-FB"!==t.tagName&&tt(n,t.tagName).forEach((t=>{1===t.nodeType&&"SLOT-FB"===t.tagName&&(t.hidden=!!nt(t,st(t),!1).length)}));let e=0;for(e=0;e<n.length;e++){const t=n[e];1===t.nodeType&&kt(t,"childNodes").length&&Q(t)}},X=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 tt(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||st(o)===e)&&(l.push(o),void 0!==e))return l;l=[...l,...tt(o.childNodes,n,e)]}return l}var nt=(t,n,e=!0)=>{const o=[];(e&&t["s-sr"]||!t["s-sr"])&&o.push(t);let s=t;for(;s=s.nextSibling;)st(s)!==n||!e&&s["s-sr"]||o.push(s);return o},et=(t,n)=>1===t.nodeType?null===t.getAttribute("slot")&&""===n||t.getAttribute("slot")===n:t["s-sn"]===n||""===n,ot=(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=kt(l,e?"prepend":"appendChild");if(void 0!==o){s["s-oo"]=o;const t=kt(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"]},st=t=>"string"==typeof t["s-sn"]?t["s-sn"]:1===t.nodeType&&t.getAttribute("slot")||void 0;function lt(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:X(s.childNodes)).forEach((t=>{o===st(t)&&e.push(t)})),n?e.filter((t=>1===t.nodeType)):e}.bind(t);t.assignedElements=n(!0),t.assignedNodes=n(!1)}function it(t){t.dispatchEvent(new CustomEvent("slotchange",{bubbles:!1,cancelable:!1,composed:!1}))}function rt(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"]=st(t)||"";return{slotNode:tt(kt(n,"childNodes"),n.tagName,o)[0],slotName:o}}var ct=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}},ut=t=>{t.__appendChild||(t.__appendChild=t.appendChild,t.appendChild=function(t){const{slotName:n,slotNode:e}=rt(t,this);if(e){ot(t,e);const o=nt(e,n),s=o[o.length-1],l=kt(s,"parentNode"),i=kt(l,"insertBefore")(t,s.nextSibling);return it(e),Q(this),i}return this.__appendChild(t)})},ft=t=>{t.__removeChild||(t.__removeChild=t.removeChild,t.removeChild=function(t){return t&&void 0!==t["s-sn"]&&tt(this.__childNodes||this.childNodes,this.tagName,t["s-sn"])&&t.isConnected?(t.remove(),void Q(this)):this.__removeChild(t)})},at=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"]=st(n))||"",o=tt(kt(this,"childNodes"),this.tagName,e)[0];if(o){ot(n,o,!0);const t=nt(o,e)[0],s=kt(t,"parentNode"),l=kt(s,"insertBefore")(n,kt(t,"nextSibling"));return it(o),l}return 1===n.nodeType&&n.getAttribute("slot")&&(n.hidden=!0),t.__prepend(n)}))})},dt=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)}))})},ht=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)}},vt=t=>{t.insertAdjacentText=function(t,n){this.insertAdjacentHTML(t,n)}},pt=t=>{t.__insertBefore||t.__insertBefore||(t.__insertBefore=t.insertBefore,t.insertBefore=function(t,n){const{slotName:e,slotNode:o}=rt(t,this),s=this.__childNodes?this.childNodes:X(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"]){ot(t,o);const e=kt(n,"parentNode");kt(e,"insertBefore")(t,n),it(o)}}})),l)return t}const l=null==n?void 0:n.__parentNode;return l&&!this.isSameNode(l)?this.appendChild(t):this.__insertBefore(t,n)})},bt=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}},$t=t=>{Et("textContent",t),Object.defineProperty(t,"textContent",{get:function(){let t="";return(this.__childNodes?this.childNodes:X(this.childNodes)).forEach((n=>t+=n.textContent||"")),t},set:function(t){(this.__childNodes?this.childNodes:X(this.childNodes)).forEach((t=>{t["s-ol"]&&t["s-ol"].remove(),t.remove()})),this.insertAdjacentHTML("beforeend",t)}})},mt=t=>{class n extends Array{item(t){return this[t]}}Et("children",t),Object.defineProperty(t,"children",{get(){return this.childNodes.filter((t=>1===t.nodeType))}}),Object.defineProperty(t,"childElementCount",{get(){return this.children.length}}),Et("firstChild",t),Object.defineProperty(t,"firstChild",{get(){return this.childNodes[0]}}),Et("lastChild",t),Object.defineProperty(t,"lastChild",{get(){return this.childNodes[this.childNodes.length-1]}}),Et("childNodes",t),Object.defineProperty(t,"childNodes",{get(){const t=new n;return t.push(...X(this.__childNodes)),t}})},gt=t=>{t&&void 0===t.__nextSibling&&globalThis.Node&&(yt(t),jt(t),St(t),t.nodeType===Node.ELEMENT_NODE&&(wt(t),Ot(t)))},yt=t=>{t&&!t.__nextSibling&&(Et("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]:this.__nextSibling}}))},wt=t=>{t&&!t.__nextElementSibling&&(Et("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]:this.__nextElementSibling}}))},jt=t=>{t&&!t.__previousSibling&&(Et("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]:this.__previousSibling}}))},Ot=t=>{t&&!t.__previousElementSibling&&(Et("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]:this.__previousElementSibling}}))},St=t=>{t&&!t.__parentNode&&(Et("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}}))},Nt=["children","nextElementSibling","previousElementSibling"],xt=["childNodes","firstChild","lastChild","nextSibling","previousSibling","textContent","parentNode"];function Et(t,n){if(!globalThis.Node||!globalThis.Element)return;let e;Nt.includes(t)?e=Object.getOwnPropertyDescriptor(Element.prototype,t):xt.includes(t)&&(e=Object.getOwnPropertyDescriptor(Node.prototype,t)),e||(e=Object.getOwnPropertyDescriptor(n,t)),e&&Object.defineProperty(n,"__"+t,e)}function kt(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 Ct(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 Mt=new WeakMap,Rt=(t,n,e)=>{let o=k.get(t);D&&e?(o=o||new CSSStyleSheet,"string"==typeof o?o=n:o.replaceSync(n)):o=n,k.set(t,o)},It=(t,n,e)=>{var o,s,l;const i=Lt(n,e),r=k.get(i);if(!A.document)return i;if(t=11===t.nodeType?t:A.document,r)if("string"==typeof r){let e,l=Mt.get(t=t.head||t);l||Mt.set(t,l=new Set);const c=t.querySelector(`[${R}="${i}"]`);if(c)c.textContent=r;else if(!l.has(i)){e=A.document.createElement("style"),e.textContent=r;const c=null!=(o=F.v)?o:Ct(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(D){const n=new(null!=(s=t.defaultView)?s:t.ownerDocument.defaultView).CSSStyleSheet;n.replaceSync(r),_?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+=L),l&&l.add(i)}}else{let n=Mt.get(t);if(n||Mt.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(_?t.adoptedStyleSheets.push(o):t.adoptedStyleSheets=[...t.adoptedStyleSheets,o],n.add(i),"host"in t){const n=t.querySelector(`[${R}="${i}"]`);n&&Y((()=>n.remove()))}}}return i},Lt=(t,n)=>"sc-"+(n&&32&t.u?t.p+"-"+n:t.p),Tt=t=>t.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g,"$1{"),At=t=>"object"==(t=typeof t)||"function"===t,Bt=(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++)o=n[e],Array.isArray(o)?u(o):null!=o&&"boolean"!=typeof o&&((i="function"!=typeof t&&!At(o))&&(o+=""),i&&r?c[c.length-1].$+=o:c.push(i?Ft(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,Dt);const f=Ft(t,null);return f.j=n,c.length>0&&(f.O=c),f.S=s,f.N=l,f},Ft=(t,n)=>({u:0,k:t,$:null!=n?n:null,C:null,O:null,j:null,S:null,N:null}),Ut={},Dt={forEach:(t,n)=>t.map(_t).forEach(n),map:(t,n)=>t.map(_t).map(n).map(Pt)},_t=t=>({vattrs:t.j,vchildren:t.O,vkey:t.S,vname:t.N,vtag:t.k,vtext:t.$}),Pt=t=>{if("function"==typeof t.vtag){const n={...t.vattrs};return t.vkey&&(n.key=t.vkey),t.vname&&(n.name=t.vname),Bt(t.vtag,n,...t.vchildren||[])}const n=Ft(t.vtag,t.vtext);return n.j=t.vattrs,n.O=t.vchildren,n.S=t.vkey,n.N=t.vname,n},Vt=(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(I),c&&(u=c.split("."),u[0]===i||"0"===u[0])){f=Ht({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(I),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&&(zt(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--)Vt(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--)Vt(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=Ht({M:u[1],R:u[2],I:u[3],L:u[4]||"0",C:l,j:null,O:null,S:null,N:null,k:null,$:null}),"t"===c?(f.C=Jt(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=Jt(l,8),f.C&&8===f.C.nodeType&&(n.push(f),l.remove())):f.M===i&&("s"===c?zt(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=Ft(null,l.textContent);n.C=l,n.L="0",t.O=[n]}return t},Wt=(t,n)=>{if(1===t.nodeType){const e=t[M]||t.getAttribute(M);e&&n.set(e,t);let o=0;if(t.shadowRoot)for(;o<t.shadowRoot.childNodes.length;o++)Wt(t.shadowRoot.childNodes[o],n);const s=t.__childNodes||t.childNodes;for(o=0;o<s.length;o++)Wt(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])}},Ht=t=>({u:0,M:null,R:null,I:null,L:"0",C:null,j:null,O:null,S:null,N:null,k:null,$:null,...t});function zt(t,n,e,o,s,l,i,r,c){o["s-sr"]=!0,e.N=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.N&&e.C.setAttribute("name",t),s.C.shadowRoot&&u&&u!==e.M?kt(s.C,"insertBefore")(l,kt(s.C,"children")[0]):kt(kt(o,"parentNode"),"insertBefore")(l,o),qt(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;qt(c,n,t,o,i?u:e.M),lt(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 qt=(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.")))},Jt=(t,n)=>{let e=t;do{e=e.nextSibling}while(e&&(e.nodeType!==n||!e.nodeValue));return e},Gt=t=>C.push(t),Yt=t=>{var n;return null==(n=O(t))?void 0:n.T},Zt=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},Kt=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 Qt,Xt,tn,nn=(t,n)=>"string"==typeof t&&t.startsWith(g)?t=function(t){return"string"==typeof t&&t.startsWith(g)?Kt.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||At(t)?t:4&n?"false"!==t&&(""===t||!!t):2&n?"string"==typeof t?parseFloat(t):"number"==typeof t?t:NaN:1&n?t+"":t,en=t=>{var n;return null==(n=O(t))?void 0:n.$hostElement$},on=(t,n,e)=>{const o=en(t);return{emit:t=>sn(o,n,{bubbles:!!(4&e),composed:!!(2&e),cancelable:!!(1&e),detail:t})}},sn=(t,n,e)=>{const o=F.ce(n,e);return t.dispatchEvent(o),o},ln=(t,n,e,o,s,l,i)=>{if(e===o)return;let r=N(t,n),c=n.toLowerCase();if("class"===n){const n=t.classList,s=cn(e);let l=cn(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&&Mn(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=At(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)||(u?t.removeAttributeNS(T,n):t.removeAttribute(n)):(!r||4&l||s)&&!i&&1===t.nodeType&&(o=!0===o?"":o,u?t.setAttributeNS(T,n,o):t.setAttribute(n,o))}}else if(n="-"===n[2]?n.slice(3):N(A,c)?c.slice(2):c[2]+n.slice(3),e||o){const s=n.endsWith(un);n=n.replace(fn,""),e&&F.rel(t,n,e,s),o&&F.ael(t,n,o,s)}},rn=/\s/,cn=t=>("object"==typeof t&&t&&"baseVal"in t&&(t=t.baseVal),t&&"string"==typeof t?t.split(rn):[]),un="Capture",fn=RegExp(un+"$"),an=(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 dn(Object.keys(l)))t in i||ln(s,t,l[t],void 0,e,n.u,o);for(const t of dn(Object.keys(i)))ln(s,t,l[t],i[t],e,n.u,o)};function dn(t){return t.includes("ref")?[...t.filter((t=>"ref"!==t)),"ref"]:t}var hn=!1,vn=!1,pn=!1,bn=!1,$n=[],mn=[],gn=(t,n,e)=>{var o;const s=n.O[e];let l,i,r,c=0;if(hn||(pn=!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(""),an(null,s,bn);else{if(bn||(bn="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(bn?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",!hn&&2&s.u?"slot-fb":s.k),bn&&"foreignObject"===s.k&&(bn=!1),an(null,s,bn),null!=Qt&&void 0!==Qt&&l["s-si"]!==Qt&&l.classList.add(l["s-si"]=Qt),s.O){const n="template"===s.k?l.content:l;for(c=0;c<s.O.length;++c)i=gn(t,s,c),i&&n.appendChild(i)}"svg"===s.k?bn=!1:"foreignObject"===l.tagName&&(bn=!0)}return l["s-hn"]=tn,3&s.u&&(l["s-sr"]=!0,l["s-cr"]=Xt,l["s-sn"]=s.N||"",l["s-rf"]=null==(o=s.j)?void 0:o.ref,lt(l),r=t&&t.O&&t.O[e],r&&r.k===s.k&&t.C&&yn(t.C),In(Xt,l,n.C,null==t?void 0:t.C)),l},yn=t=>{F.u|=1;const n=t.closest(tn.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"]&&(Rn(n,t,null!=e?e:null),t["s-sh"]=void 0,pn=!0)}F.u&=-2},wn=(t,n)=>{F.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"]===tn&&e.push(n)}for(let t=e.length-1;t>=0;t--){const o=e[t];o["s-hn"]!==tn&&o["s-ol"]&&(Rn(Nn(o).parentNode,o,Nn(o)),o["s-ol"].remove(),o["s-ol"]=void 0,o["s-sh"]=void 0,pn=!0),n&&wn(o,n)}F.u&=-2},jn=(t,n,e,o,s,l)=>{let i,r=t["s-cr"]&&t["s-cr"].parentNode||t;for(r.shadowRoot&&r.tagName===tn&&(r=r.shadowRoot),"template"===e.k&&(r=r.content);s<=l;++s)o[s]&&(i=gn(null,e,s),i&&(o[s].C=i,Rn(r,i,Nn(n))))},On=(t,n,e)=>{for(let o=n;o<=e;++o){const n=t[o];if(n){const t=n.C;Cn(n),t&&(vn=!0,t["s-ol"]?t["s-ol"].remove():wn(t,!0),t.remove())}}},Sn=(t,n,e=!1)=>t.k===n.k&&("slot"===t.k?t.N===n.N:e?(e&&!t.S&&n.S&&(t.S=n.S),!0):t.S===n.S),Nn=t=>t&&t["s-ol"]||t,xn=(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?(bn="svg"===i||"foreignObject"!==i&&bn,"slot"!==i||hn||t.N!==n.N&&(n.C["s-sn"]=n.N||"",yn(n.C.parentElement)),an(t,n,bn,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(Sn(d,p,s))xn(d,p,s),d=n[++r],p=o[++c];else if(Sn(h,b,s))xn(h,b,s),h=n[--a],b=o[--v];else if(Sn(d,b,s))"slot"!==d.k&&"slot"!==b.k||wn(d.C.parentNode,!1),xn(d,b,s),Rn($,d.C,h.C.nextSibling),d=n[++r],b=o[--v];else if(Sn(h,p,s))"slot"!==d.k&&"slot"!==b.k||wn(h.C.parentNode,!1),xn(h,p,s),Rn($,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].S&&n[f].S===p.S){u=f;break}u>=0?(i=n[u],i.k!==p.k?l=gn(n&&n[c],e,u):(xn(i,p,s),n[u]=void 0,l=i.C),p=o[++c]):(l=gn(n&&n[c],e,c),p=o[++c]),l&&Rn(Nn(d.C).parentNode,l,Nn(d.C))}r>a?jn(t,null==o[v+1]?null:o[v+1].C,e,o,c,v):c>v&&On(n,r,a)})(o,s,n,l,e):null!==l?(null!==t.$&&(o.textContent=""),jn(o,null,n,l,0,l.length-1)):e||null===s?e&&null!==s&&null===l&&(n.O=s):On(s,0,s.length-1),bn&&"svg"===i&&(bn=!1)):(c=o["s-cr"])?c.parentNode.textContent=r:t.$!==r&&(o.data=r)},En=[],kn=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"]))if(et(n,s)){let e=En.find((t=>t.A===n));vn=!0,n["s-sn"]=n["s-sn"]||s,e?(e.A["s-sh"]=t["s-hn"],e.B=t):(n["s-sh"]=t["s-hn"],En.push({B:t,A:n})),n["s-sr"]&&En.map((t=>{et(t.A,n["s-sn"])&&(e=En.find((t=>t.A===n)),e&&!t.B&&(t.B=e.B))}))}else En.some((t=>t.A===n))||En.push({A:n})}1===t.nodeType&&kn(t)}},Cn=t=>{t.j&&t.j.ref&&$n.push((()=>t.j.ref(null))),t.O&&t.O.map(Cn)},Mn=(t,n)=>{mn.push((()=>t(n)))},Rn=(t,n,e,o)=>{if("string"==typeof n["s-sn"]&&n["s-sr"]&&n["s-cr"])In(n["s-cr"],n,t,n.parentElement);else if("string"==typeof n["s-sn"]){11!==t.getRootNode().nodeType&&St(n),t.insertBefore(n,e);const{slotNode:s}=rt(n);return s&&!o&&it(s),n}return t.__insertBefore?t.__insertBefore(n,e):null==t?void 0:t.insertBefore(n,e)};function In(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 Ln=(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()})))}},Tn=(t,n)=>{if(t.u|=16,4&t.u)return void(t.u|=512);Ln(t,t.U);const e=()=>An(t,n);if(!n)return Y(e);queueMicrotask((()=>{e()}))},An=(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,Wn(o,"connectedCallback",void 0,e)),t.u|=256,t._&&(t._.map((([t,n])=>Wn(o,t,n,e))),t._=void 0),t.P.length&&t.P.forEach((t=>t(e))),s=Wn(o,"componentWillLoad",void 0,e)):s=Wn(o,"componentWillUpdate",void 0,e),s=Bn(s,(()=>Wn(o,"componentWillRender",void 0,e))),Bn(s,(()=>Un(t,o,n)))},Bn=(t,n)=>Fn(t)?t.then(n).catch((t=>{console.error(t),n()})):n(),Fn=t=>t instanceof Promise||t&&t.then&&"function"==typeof t.then,Un=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=It(e.shadowRoot?e.shadowRoot:e.getRootNode(),n,t.T);10&o&&(e["s-sc"]=s,e.classList.add(s+"-h"))})(t);Dn(t,n,s,e),l&&(l.map((t=>t())),s["s-rc"]=void 0);{const n=null!=(o=s["s-p"])?o:[],e=()=>_n(t);0===n.length?e():(Promise.all(n).then(e).catch(e),t.u|=4,n.length=0)}},Dn=(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||Ft(null,null),a=(t=>t&&t.k===Ut)(n)?n:Bt(null,null,n);if(tn=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,Qt=c["s-sc"],hn=!(!(1&u.u)||128&u.u),Xt=c["s-cr"],vn=!1,xn(f,a,e),F.u|=1,pn){kn(a.C);for(const t of En){const n=t.A;if(!n["s-ol"]&&A.document){const t=A.document.createTextNode("");t["s-nr"]=n,Rn(n.parentNode,n["s-ol"]=t,n,e)}}for(const t of En){const n=t.A,r=t.B;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(Rn(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,Rn(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(vn&&Q(a.C),F.u&=-2,En.length=0,!hn&&!(1&u.u)&&c["s-cr"]){const t=a.C.__childNodes||a.C.childNodes;for(const n of t)if(n["s-hn"]!==tn&&!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"],Rn(n.parentNode,t,n,e),n.parentNode.removeChild(n)}}Xt=void 0,$n.forEach((t=>t())),$n.length=0,mn.forEach((t=>t())),mn.length=0})(t,n,o)}catch(n){x(n,t.$hostElement$)}return null},_n=t=>{const n=t.$hostElement$,e=t.i,o=t.U;Wn(e,"componentDidRender",void 0,n),64&t.u?Wn(e,"componentDidUpdate",void 0,n):(t.u|=64,Hn(n),Wn(e,"componentDidLoad",void 0,n),t.H(n),o||Vn()),t.q(n),t.F&&(t.F(),t.F=void 0),512&t.u&&J((()=>Tn(t,!1))),t.u&=-517},Pn=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)&&Tn(e,!1),o}},Vn=()=>{var t;J((()=>sn(A,"appload",{detail:{namespace:"ionic"}}))),(null==(t=F.J)?void 0:t.size)&&F.J.clear()},Wn=(t,n,e,o)=>{if(t&&t[n])try{return t[n](e)}catch(t){x(t,o)}},Hn=t=>t.classList.add("hydrated"),zn=(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=nn(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||Tn(s,!1)}}},qn=(t,n,e)=>{var o,s;const l=t.prototype;{t.watchers&&!n.G&&(n.G=Zt(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,nn(s,o)),void zn(this,t,s=32&o?this[t]:l.$hostElement$[t],n);{if(!(1&e&&4096&n.t[t][0]))return zn(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]=nn(s,o),zn(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){F.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},Jn=(t,n)=>{Wn(t,"connectedCallback",void 0,n)},Gn=t=>{if(!(1&F.u)){const n=O(t);if(!n)return;const e=n.o,o=()=>{};if(1&n.u)Xn(t,n,e.X),(null==n?void 0:n.i)?Jn(n.i,t):(null==n?void 0:n.tt)&&n.tt.then((()=>Jn(n.i,t)));else{let o;if(n.u|=1,o=t.getAttribute(M),o){if(1&e.u){const n=It(t.shadowRoot,e,t.getAttribute("s-mode"));t.classList.remove(n+"-h",n+"-s")}else if(2&e.u){const n=Lt(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=Ft(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||F.J&&F.J.size||Wt(A.document.body,F.J=new Map),t[M]=e,t.removeAttribute(M),o.V=Vt(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=F.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=Lt(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&&($.N=$.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"]&&F.J.delete(e)}const m=[],g=a.length;let y,w,j,S,N=0,x=0;for(;N<g;N++)if(y=a[N],y&&y.length)for(j=y.length,w=0;w<j;w++){if(S=y[w],m[S.hostId]||(m[S.hostId]=F.J.get(S.hostId)),!m[S.hostId])continue;const t=m[S.hostId];t.shadowRoot&&S.node.parentElement!==t&&t.insertBefore(S.node,null==(i=null==(l=y[w-1])?void 0:l.node)?void 0:i.nextSibling),t.shadowRoot&&c||(S.slot["s-cr"]||(S.slot["s-cr"]=t["s-cr"],S.slot["s-cr"]=!S.slot["s-cr"]&&t.shadowRoot?t:(t.__childNodes||t.childNodes)[0]),ot(S.node,S.slot,!1,S.node["s-oo"]||x),(null==(r=S.node.parentElement)?void 0:r.shadowRoot)&&S.node.getAttribute&&S.node.getAttribute("slot")&&S.node.removeAttribute("slot"),gt(S.node)),x=(S.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&&Yn(t);{let e=t;for(;e=e.parentNode||e.host;)if(1===e.nodeType&&e.hasAttribute("s-id")&&e["s-p"]||e["s-p"]){Ln(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}})),(async(t,n,e)=>{let o;try{if(!(32&n.u)){if(n.u|=32,e.nt){const s=((t,n)=>{const e=t.p.replace(/-/g,"_"),o=t.nt;if(!o)return;const s=E.get(o);return s?s[e]:import(`./${o}.entry.js`).then((t=>(E.set(o,t),t[e])),(t=>{x(t,n.$hostElement$)}))
5
- /*!__STENCIL_STATIC_IMPORT_SWITCH__*/})(e,n);if(s&&"then"in s){const t=()=>{};o=await s,t()}else o=s;if(!o)throw Error(`Constructor for "${e.p}#${n.T}" was not found`);o.isProxied||(e.G=Zt(o.watchers),e.Z=o.serializers,e.Y=o.deserializers,qn(o,e,2),o.isProxied=!0);const l=()=>{};n.u|=8;try{new o(n)}catch(n){x(n,t)}n.u&=-9,n.u|=128,l(),4&e.u?n.D=!0:Jn(n.i,t)}else o=t.constructor,customElements.whenDefined(t.localName).then((()=>n.u|=128));if(o&&o.style){let s;"string"==typeof o.style?s=o.style:"string"!=typeof o.style&&(n.T=(t=>C.map((n=>n(t))).find((t=>!!t)))(t),n.T&&(s=o.style[n.T]));const l=Lt(e,n.T);if(!k.has(l)){const t=()=>{};Rt(l,s,!!(1&e.u)),t()}}}const s=n.U,l=()=>Tn(n,!0);s&&s["s-rc"]?s["s-rc"].push(l):l()}catch(e){x(e,t),n.F&&(n.F(),n.F=void 0),n.H&&n.H(t)}})(t,n,e)}o()}},Yn=t=>{if(!A.document)return;const n=t["s-cr"]=A.document.createComment("");n["s-cn"]=!0,Rn(t,n,t.firstChild)},Zn=(t,n)=>{Wn(t,"disconnectedCallback",void 0,n||t)},Kn=(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(F,n),F.h=new URL(n.resourcesUrl||"./",A.document.baseURI).href,F.u|=2,(()=>{if(!A.document)return;const t=A.document.querySelectorAll(`[${R}]`);let n=0;for(;n<t.length;n++)Rt(t[n].getAttribute(R),Tt(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],X:n[3]};4&r.u&&(d=!0),r.t=n[2],r.X=n[3],r.W=[],r.G=Zt(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.tt=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 K.call(t,r)}connectedCallback(){const t=O(this);t&&(this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0,Xn(this,t,r.X)),f&&(clearTimeout(f),f=null),a?u.push(this):F.jmp((()=>Gn(this))))}disconnectedCallback(){F.jmp((()=>(async t=>{if(!(1&F.u)){const n=O(t);(null==n?void 0:n.ot)&&(n.ot.map((t=>t())),n.ot=void 0),(null==n?void 0:n.i)?Zn(n.i,t):(null==n?void 0:n.tt)&&n.tt.then((()=>Zn(n.i,t)))}Mt.has(t)&&Mt.delete(t),t.shadowRoot&&Mt.has(t.shadowRoot)&&Mt.delete(t.shadowRoot)})(this))),F.raf((()=>{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.tt}};!(1&r.u)&&256&r.u?(t=>{ct(t),ut(t),dt(t),at(t),bt(t),ht(t),vt(t),pt(t),$t(t),mt(t),ft(t)})(h.prototype):ct(h.prototype),r.nt=t[0],s.includes(c)||l.get(c)||(o.push(c),l.define(c,qn(h,r,1)))}))})),o.length>0&&(d&&(c.textContent+=L),c.textContent+=o.sort()+"{visibility:hidden}.hydrated{visibility:inherit}",c.innerHTML.length)){c.setAttribute("data-styles","");const t=null!=(e=F.v)?e:Ct(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())):F.jmp((()=>f=setTimeout(Vn,30)))},Qn=(t,n)=>n,Xn=(t,n,e)=>{e&&A.document&&e.map((([e,o,s])=>{const l=ne(A.document,t,e),i=te(n,s),r=ee(e);F.ael(l,o,i,r),(n.ot=n.ot||[]).push((()=>F.rel(l,o,i,r)))}))},te=(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$)}},ne=(t,n,e)=>4&e?t:8&e?A:16&e?t.body:n,ee=t=>({passive:!!(1&t),capture:!!(2&t)}),oe=t=>F.v=t;export{v as B,Qn as F,B as H,c as L,G as a,Kn as b,on as c,Ut as d,n as e,a as f,en as g,Bt as h,Pn as i,d as j,Z as k,s as l,e as m,o as n,Yt as o,U as p,Gt as q,S as r,oe as s,h as t,Y as w}
@@ -1,4 +0,0 @@
1
- /*!
2
- * (C) Ionic http://ionicframework.com - MIT License
3
- */
4
- import{c as s}from"./p-RzUn7cKs.js";import{t as o}from"./p-CKYcsw8f.js";const r="ion-content",e=".ion-content-scroll-host",t=`${r}, ${e}`,n=s=>"ION-CONTENT"===s.tagName,a=async o=>n(o)?(await new Promise((r=>s(o,r))),o.getScrollElement()):o,i=s=>s.querySelector(e)||s.querySelector(t),l=s=>s.closest(t),f=s=>s.querySelector(e),c=s=>{if(n(s))return s.querySelector("ion-refresher");const o=s.closest(r);if(null===o)return null;const e=f(o);return null!==e&&e.contains(s)?o.querySelector("ion-refresher"):null},u=(s,o)=>n(s)?s.scrollToTop(o):Promise.resolve(s.scrollTo({top:0,left:0,behavior:"smooth"})),h=(s,o,r,e)=>n(s)?s.scrollByPoint(o,r,e):Promise.resolve(s.scrollBy({top:r,left:o,behavior:e>0?"smooth":"auto"})),m=s=>o(s,r),p=s=>{if(n(s)){const o=s.scrollY;return s.scrollY=!1,o}return s.style.setProperty("overflow","hidden"),!0},w=(s,o)=>{n(s)?s.scrollY=o:s.style.removeProperty("overflow")};export{e as I,l as a,i as b,r as c,p as d,f as e,c as f,a as g,h,n as i,m as p,w as r,u as s}
@@ -1,4 +0,0 @@
1
- /*!
2
- * (C) Ionic http://ionicframework.com - MIT License
3
- */
4
- import{h as t}from"./p-CKYcsw8f.js";import{a as e}from"./p-BZVE25Gu.js";const s=(e,n,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(),i=`${n}-${o}`,l={key:i};for(let t=0;t<r.attributes.length;t++){const e=r.attributes.item(t);l[e.name]=e.value}const $=Array.from(r.childNodes).map(((t,e)=>s(t,i,e))).filter((t=>null!==t));return t(c,l,$)},n=(n,o,r,c=!1)=>{const i=c?"span":"div",l=`${r}-${n}`;return e(o),t(i,{class:r,key:l},Array.from(o.childNodes).map(((t,e)=>s(t,l,e))))},o=(e,s,o=!1)=>{const{id:r,label:c,startContent:i,endContent:l,description:$}=e,a=!!i||!!l||!!$,p=o?"span":"div";if(!(a||"string"!=typeof c&&c))return t(p,{class:s,key:`${s}-${r}`},c);const y="string"!=typeof c&&c?n(r,c,`${s}-text`,o):t(p,{key:`${s}-label-${r}`},c);return a?t(p,{class:`${s} ${s}-has-rich-content`,key:`${s}-${r}`},i&&n(r,i,"select-option-start",o),t(p,{class:"select-option-content",key:`${s}-content-${r}`},y,$&&t(p,{class:"select-option-description",key:`${s}-desc-${r}`},$)),l&&n(r,l,"select-option-end",o)):t(p,{class:s,key:`${s}-${r}`},y)};export{o as r}
@@ -1,4 +0,0 @@
1
- /*!
2
- * (C) Ionic http://ionicframework.com - MIT License
3
- */
4
- import{r as t,h as i,d as e,g as n,c as o,f as s}from"./p-CKYcsw8f.js";import{c as r}from"./p-byZM6qHV.js";import{b as a}from"./p-CDBop-kz.js";import{o as l}from"./p-RzUn7cKs.js";import{a as d,d as m,r as p}from"./p-CazSodad.js";import{w as c}from"./p-Dtdm8lKC.js";import"./p-Dojwmvde.js";const h=class{constructor(i){t(this,i),this.disabled=!1,this.expandable=!1,this.type="button",this.onClick=t=>{t.target.closest("ion-item-option")&&t.preventDefault()}}render(){const{disabled:t,expandable:n,href:o}=this,s=void 0===o?"button":"a",l=a(this),d="button"===s?{type:this.type}:{download:this.download,href:this.href,target:this.target};return i(e,{key:"a10d36e60d61865141c57c03a114e4845b400a55",onClick:this.onClick,class:r(this.color,{[l]:!0,"item-option-disabled":t,"item-option-expandable":n,"ion-activatable":!0})},i(s,{key:"5cc49ef73318213f6202d1d0f460f629ea65f17f",...d,class:"button-native",part:"native",disabled:t},i("span",{key:"0643b16660b4ca00b0f3b4dbe2739e9ce076abea",class:"button-inner",part:"inner"},i("slot",{key:"8778d6d09aa9e0db278ce00c5456a1acfe82c15f",name:"top"}),i("div",{key:"4fc849494c8cb2380015161e096b5c61cf517d90",class:"horizontal-wrapper",part:"container"},i("slot",{key:"9d0c0a5a63d8ec636df9c85d48bbdb39fb63af5e",name:"start"}),i("slot",{key:"a40561497c7e7d73173edd24ed335230e6eebb2b",name:"icon-only"}),i("slot",{key:"b94f2a4aa5bf4a1104497ced1920d6ee43d33659"}),i("slot",{key:"91713dbb3e6a617c00f950857f2ed5e5ffceaa9a",name:"end"})),i("slot",{key:"f5af33c3bfb50fc629a06e1120bba55da07b2afb",name:"bottom"})),"md"===l&&i("ion-ripple-effect",{key:"fc56e1644ef9c5b2e1e66683465a7fd09c05215c"})))}get el(){return n(this)}};h.style={ios:":host{--background:var(--ion-color-primary, #0054e9);--color:var(--ion-color-primary-contrast, #fff);background:var(--background);color:var(--color);font-family:var(--ion-font-family, inherit)}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}.button-native{font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;-webkit-padding-start:0.7em;padding-inline-start:0.7em;-webkit-padding-end:0.7em;padding-inline-end:0.7em;padding-top:0;padding-bottom:0;display:inline-block;position:relative;width:100%;height:100%;border:0;outline:none;background:transparent;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;-webkit-box-sizing:border-box;box-sizing:border-box}.button-inner{display:-ms-flexbox;display:flex;-ms-flex-flow:column nowrap;flex-flow:column nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%}.horizontal-wrapper{display:-ms-flexbox;display:flex;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%}::slotted(*){-ms-flex-negative:0;flex-shrink:0}::slotted([slot=start]){-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:5px;margin-inline-end:5px;margin-top:0;margin-bottom:0}::slotted([slot=end]){-webkit-margin-start:5px;margin-inline-start:5px;-webkit-margin-end:0;margin-inline-end:0;margin-top:0;margin-bottom:0}::slotted([slot=icon-only]){padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;-webkit-margin-start:10px;margin-inline-start:10px;-webkit-margin-end:10px;margin-inline-end:10px;margin-top:0;margin-bottom:0;min-width:0.9em;font-size:1.8em}:host(.item-option-expandable){-ms-flex-negative:0;flex-shrink:0;-webkit-transition-duration:0;transition-duration:0;-webkit-transition-property:none;transition-property:none;-webkit-transition-timing-function:cubic-bezier(0.65, 0.05, 0.36, 1);transition-timing-function:cubic-bezier(0.65, 0.05, 0.36, 1)}:host(.item-option-disabled){pointer-events:none}:host(.item-option-disabled) .button-native{cursor:default;opacity:0.5;pointer-events:none}:host{font-size:clamp(16px, 1rem, 35.2px)}:host(.ion-activated){background:var(--ion-color-primary-shade, #004acd)}:host(.ion-color.ion-activated){background:var(--ion-color-shade)}",md:":host{--background:var(--ion-color-primary, #0054e9);--color:var(--ion-color-primary-contrast, #fff);background:var(--background);color:var(--color);font-family:var(--ion-font-family, inherit)}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}.button-native{font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;-webkit-padding-start:0.7em;padding-inline-start:0.7em;-webkit-padding-end:0.7em;padding-inline-end:0.7em;padding-top:0;padding-bottom:0;display:inline-block;position:relative;width:100%;height:100%;border:0;outline:none;background:transparent;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;-webkit-box-sizing:border-box;box-sizing:border-box}.button-inner{display:-ms-flexbox;display:flex;-ms-flex-flow:column nowrap;flex-flow:column nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%}.horizontal-wrapper{display:-ms-flexbox;display:flex;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%}::slotted(*){-ms-flex-negative:0;flex-shrink:0}::slotted([slot=start]){-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:5px;margin-inline-end:5px;margin-top:0;margin-bottom:0}::slotted([slot=end]){-webkit-margin-start:5px;margin-inline-start:5px;-webkit-margin-end:0;margin-inline-end:0;margin-top:0;margin-bottom:0}::slotted([slot=icon-only]){padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;-webkit-margin-start:10px;margin-inline-start:10px;-webkit-margin-end:10px;margin-inline-end:10px;margin-top:0;margin-bottom:0;min-width:0.9em;font-size:1.8em}:host(.item-option-expandable){-ms-flex-negative:0;flex-shrink:0;-webkit-transition-duration:0;transition-duration:0;-webkit-transition-property:none;transition-property:none;-webkit-transition-timing-function:cubic-bezier(0.65, 0.05, 0.36, 1);transition-timing-function:cubic-bezier(0.65, 0.05, 0.36, 1)}:host(.item-option-disabled){pointer-events:none}:host(.item-option-disabled) .button-native{cursor:default;opacity:0.5;pointer-events:none}:host{font-size:0.875rem;font-weight:500;text-transform:uppercase}"};const f=class{constructor(i){t(this,i),this.ionSwipe=o(this,"ionSwipe",7),this.side="end"}async fireSwipeEvent(){this.ionSwipe.emit({side:this.side})}render(){const t=a(this),n=l(this.side);return i(e,{key:"6e60ff004d48bf7701711e518ec0b21264496ae8",class:{[t]:!0,[`item-options-${t}`]:!0,"item-options-start":!n,"item-options-end":n}})}get el(){return n(this)}};let b;f.style={ios:"ion-item-options{top:0;right:0;-ms-flex-pack:end;justify-content:flex-end;display:none;position:absolute;height:100%;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:1}:host-context([dir=rtl]) ion-item-options{-ms-flex-pack:start;justify-content:flex-start}:host-context([dir=rtl]) ion-item-options:not(.item-options-end){right:auto;left:0;-ms-flex-pack:end;justify-content:flex-end}[dir=rtl] ion-item-options{-ms-flex-pack:start;justify-content:flex-start}[dir=rtl] ion-item-options:not(.item-options-end){right:auto;left:0;-ms-flex-pack:end;justify-content:flex-end}@supports selector(:dir(rtl)){ion-item-options:dir(rtl){-ms-flex-pack:start;justify-content:flex-start}ion-item-options:dir(rtl):not(.item-options-end){right:auto;left:0;-ms-flex-pack:end;justify-content:flex-end}}.item-options-start{right:auto;left:0;-ms-flex-pack:start;justify-content:flex-start}:host-context([dir=rtl]) .item-options-start{-ms-flex-pack:end;justify-content:flex-end}[dir=rtl] .item-options-start{-ms-flex-pack:end;justify-content:flex-end}@supports selector(:dir(rtl)){.item-options-start:dir(rtl){-ms-flex-pack:end;justify-content:flex-end}}[dir=ltr] .item-options-start ion-item-option:first-child,[dir=rtl] .item-options-start ion-item-option:last-child{padding-left:var(--ion-safe-area-left)}[dir=ltr] .item-options-end ion-item-option:last-child,[dir=rtl] .item-options-end ion-item-option:first-child{padding-right:var(--ion-safe-area-right)}:host-context([dir=rtl]) .item-sliding-active-slide.item-sliding-active-options-start ion-item-options:not(.item-options-end){width:100%;visibility:visible}[dir=rtl] .item-sliding-active-slide.item-sliding-active-options-start ion-item-options:not(.item-options-end){width:100%;visibility:visible}@supports selector(:dir(rtl)){.item-sliding-active-slide:dir(rtl).item-sliding-active-options-start ion-item-options:not(.item-options-end){width:100%;visibility:visible}}.item-sliding-active-slide ion-item-options{display:-ms-flexbox;display:flex;visibility:hidden}.item-sliding-active-slide.item-sliding-active-options-start .item-options-start,.item-sliding-active-slide.item-sliding-active-options-end ion-item-options:not(.item-options-start){width:100%;visibility:visible}.item-options-ios{border-bottom-width:0;border-bottom-style:solid;border-bottom-color:var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-250, var(--ion-background-color-step-250, #c8c7cc))))}.item-options-ios.item-options-end{border-bottom-width:0.55px}.list-ios-lines-none .item-options-ios{border-bottom-width:0}.list-ios-lines-full .item-options-ios,.list-ios-lines-inset .item-options-ios.item-options-end{border-bottom-width:0.55px}",md:"ion-item-options{top:0;right:0;-ms-flex-pack:end;justify-content:flex-end;display:none;position:absolute;height:100%;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:1}:host-context([dir=rtl]) ion-item-options{-ms-flex-pack:start;justify-content:flex-start}:host-context([dir=rtl]) ion-item-options:not(.item-options-end){right:auto;left:0;-ms-flex-pack:end;justify-content:flex-end}[dir=rtl] ion-item-options{-ms-flex-pack:start;justify-content:flex-start}[dir=rtl] ion-item-options:not(.item-options-end){right:auto;left:0;-ms-flex-pack:end;justify-content:flex-end}@supports selector(:dir(rtl)){ion-item-options:dir(rtl){-ms-flex-pack:start;justify-content:flex-start}ion-item-options:dir(rtl):not(.item-options-end){right:auto;left:0;-ms-flex-pack:end;justify-content:flex-end}}.item-options-start{right:auto;left:0;-ms-flex-pack:start;justify-content:flex-start}:host-context([dir=rtl]) .item-options-start{-ms-flex-pack:end;justify-content:flex-end}[dir=rtl] .item-options-start{-ms-flex-pack:end;justify-content:flex-end}@supports selector(:dir(rtl)){.item-options-start:dir(rtl){-ms-flex-pack:end;justify-content:flex-end}}[dir=ltr] .item-options-start ion-item-option:first-child,[dir=rtl] .item-options-start ion-item-option:last-child{padding-left:var(--ion-safe-area-left)}[dir=ltr] .item-options-end ion-item-option:last-child,[dir=rtl] .item-options-end ion-item-option:first-child{padding-right:var(--ion-safe-area-right)}:host-context([dir=rtl]) .item-sliding-active-slide.item-sliding-active-options-start ion-item-options:not(.item-options-end){width:100%;visibility:visible}[dir=rtl] .item-sliding-active-slide.item-sliding-active-options-start ion-item-options:not(.item-options-end){width:100%;visibility:visible}@supports selector(:dir(rtl)){.item-sliding-active-slide:dir(rtl).item-sliding-active-options-start ion-item-options:not(.item-options-end){width:100%;visibility:visible}}.item-sliding-active-slide ion-item-options{display:-ms-flexbox;display:flex;visibility:hidden}.item-sliding-active-slide.item-sliding-active-options-start .item-options-start,.item-sliding-active-slide.item-sliding-active-options-end ion-item-options:not(.item-options-start){width:100%;visibility:visible}.item-options-md{border-bottom-width:0;border-bottom-style:solid;border-bottom-color:var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-150, var(--ion-background-color-step-150, rgba(0, 0, 0, 0.13)))))}.list-md-lines-none .item-options-md{border-bottom-width:0}.list-md-lines-full .item-options-md,.list-md-lines-inset .item-options-md.item-options-end{border-bottom-width:1px}"};const g=class{constructor(i){t(this,i),this.ionDrag=o(this,"ionDrag",7),this.item=null,this.openAmount=0,this.initialOpenAmount=0,this.optsWidthRightSide=0,this.optsWidthLeftSide=0,this.sides=0,this.optsDirty=!0,this.contentEl=null,this.initialContentScrollY=!0,this.state=2,this.disabled=!1}disabledChanged(){this.gesture&&this.gesture.enable(!this.disabled)}async connectedCallback(){const{el:t}=this;this.item=t.querySelector("ion-item"),this.contentEl=d(t),this.mutationObserver=c(t,"ion-item-option",(async()=>{await this.updateOptions()})),await this.updateOptions(),this.gesture=(await import("./p-D0YpjgON.js")).createGesture({el:t,gestureName:"item-swipe",gesturePriority:100,threshold:5,canStart:t=>this.canStart(t),onStart:()=>this.onStart(),onMove:t=>this.onMove(t),onEnd:t=>this.onEnd(t)}),this.disabledChanged()}disconnectedCallback(){this.gesture&&(this.gesture.destroy(),this.gesture=void 0),this.item=null,this.leftOptions=this.rightOptions=void 0,b===this.el&&(b=void 0),this.mutationObserver&&(this.mutationObserver.disconnect(),this.mutationObserver=void 0)}getOpenAmount(){return Promise.resolve(this.openAmount)}getSlidingRatio(){return Promise.resolve(this.getSlidingRatioSync())}async open(t){if(null===(this.item=this.item??this.el.querySelector("ion-item")))return;const i=this.getOptions(t);i&&(void 0===t&&(t=i===this.leftOptions?"start":"end"),t=l(t)?"end":"start",this.openAmount<0&&i===this.leftOptions||this.openAmount>0&&i===this.rightOptions||(this.closeOpened(),this.state=4,requestAnimationFrame((()=>{this.calculateOptsWidth(),b=this.el,this.setOpenAmount("end"===t?this.optsWidthRightSide:-this.optsWidthLeftSide,!1),this.state="end"===t?8:16}))))}async close(){this.setOpenAmount(0,!0)}async closeOpened(){return void 0!==b&&(b.close(),b=void 0,!0)}getOptions(t){return void 0===t?this.leftOptions||this.rightOptions:"start"===t?this.leftOptions:this.rightOptions}async updateOptions(){const t=this.el.querySelectorAll("ion-item-options");let i=0;this.leftOptions=this.rightOptions=void 0;for(let e=0;e<t.length;e++){const n=t.item(e),o=void 0!==n.componentOnReady?await n.componentOnReady():n;"start"==(l(o.side??o.getAttribute("side"))?"end":"start")?(this.leftOptions=o,i|=1):(this.rightOptions=o,i|=2)}this.optsDirty=!0,this.sides=i}canStart(t){return!("rtl"===document.dir?window.innerWidth-t.startX<15:t.startX<15)&&(b&&b!==this.el&&this.closeOpened(),!(!this.rightOptions&&!this.leftOptions))}onStart(){this.item=this.el.querySelector("ion-item");const{contentEl:t}=this;t&&(this.initialContentScrollY=m(t)),b=this.el,void 0!==this.tmr&&(clearTimeout(this.tmr),this.tmr=void 0),0===this.openAmount&&(this.optsDirty=!0,this.state=4),this.initialOpenAmount=this.openAmount,this.item&&(this.item.style.transition="none")}onMove(t){this.optsDirty&&this.calculateOptsWidth();let i,e=this.initialOpenAmount-t.deltaX;switch(this.sides){case 2:e=Math.max(0,e);break;case 1:e=Math.min(0,e);break;case 3:break;case 0:return;default:s("[ion-item-sliding] - invalid ItemSideFlags value",this.sides)}e>this.optsWidthRightSide?(i=this.optsWidthRightSide,e=i+.55*(e-i)):e<-this.optsWidthLeftSide&&(i=-this.optsWidthLeftSide,e=i+.55*(e-i)),this.setOpenAmount(e,!1)}onEnd(t){const{contentEl:i,initialContentScrollY:e}=this;i&&p(i,e);const n=t.velocityX;let o=this.openAmount>0?this.optsWidthRightSide:-this.optsWidthLeftSide;const s=this.openAmount>0==!(n<0),r=Math.abs(n)>.3,a=Math.abs(this.openAmount)<Math.abs(o/2);x(s,r,a)&&(o=0);const l=this.state;this.setOpenAmount(o,!0),32&l&&this.rightOptions?this.rightOptions.fireSwipeEvent():64&l&&this.leftOptions&&this.leftOptions.fireSwipeEvent()}calculateOptsWidth(){this.optsWidthRightSide=0,this.rightOptions&&(this.rightOptions.style.display="flex",this.optsWidthRightSide=this.rightOptions.offsetWidth,this.rightOptions.style.display=""),this.optsWidthLeftSide=0,this.leftOptions&&(this.leftOptions.style.display="flex",this.optsWidthLeftSide=this.leftOptions.offsetWidth,this.leftOptions.style.display=""),this.optsDirty=!1}setOpenAmount(t,i){if(void 0!==this.tmr&&(clearTimeout(this.tmr),this.tmr=void 0),!this.item)return;const{el:e}=this,n=this.item.style;if(this.openAmount=t,i&&(n.transition=""),t>0)this.state=t>=this.optsWidthRightSide+30?40:8;else{if(!(t<0))return e.classList.add("item-sliding-closing"),this.gesture&&this.gesture.enable(!1),this.tmr=setTimeout((()=>{this.state=2,this.tmr=void 0,this.gesture&&this.gesture.enable(!this.disabled),e.classList.remove("item-sliding-closing")}),600),b=void 0,void(n.transform="");this.state=t<=-this.optsWidthLeftSide-30?80:16}n.transform=`translate3d(${-t}px,0,0)`,this.ionDrag.emit({amount:t,ratio:this.getSlidingRatioSync()})}getSlidingRatioSync(){return this.openAmount>0?this.openAmount/this.optsWidthRightSide:this.openAmount<0?this.openAmount/this.optsWidthLeftSide:0}render(){const t=a(this);return i(e,{key:"15f6a98f8c888e86c29827cdf55d98ace08699dd",class:{[t]:!0,"item-sliding-active-slide":2!==this.state,"item-sliding-active-options-end":!!(8&this.state),"item-sliding-active-options-start":!!(16&this.state),"item-sliding-active-swipe-end":!!(32&this.state),"item-sliding-active-swipe-start":!!(64&this.state)}})}get el(){return n(this)}static get watchers(){return{disabled:[{disabledChanged:0}]}}},x=(t,i,e)=>!i&&e||t&&i;g.style="ion-item-sliding{display:block;position:relative;width:100%;overflow:hidden;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}ion-item-sliding .item{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.item-sliding-active-slide .item{position:relative;-webkit-transition:-webkit-transform 500ms cubic-bezier(0.36, 0.66, 0.04, 1);transition:-webkit-transform 500ms cubic-bezier(0.36, 0.66, 0.04, 1);transition:transform 500ms cubic-bezier(0.36, 0.66, 0.04, 1);transition:transform 500ms cubic-bezier(0.36, 0.66, 0.04, 1), -webkit-transform 500ms cubic-bezier(0.36, 0.66, 0.04, 1);opacity:1;z-index:2;pointer-events:none;will-change:transform}.item-sliding-closing ion-item-options{pointer-events:none}.item-sliding-active-swipe-end .item-options-end .item-option-expandable{padding-left:100%;-ms-flex-order:1;order:1;-webkit-transition-duration:0.6s;transition-duration:0.6s;-webkit-transition-property:padding-left;transition-property:padding-left}:host-context([dir=rtl]) .item-sliding-active-swipe-end .item-options-end .item-option-expandable{-ms-flex-order:-1;order:-1}[dir=rtl] .item-sliding-active-swipe-end .item-options-end .item-option-expandable{-ms-flex-order:-1;order:-1}@supports selector(:dir(rtl)){.item-sliding-active-swipe-end .item-options-end .item-option-expandable:dir(rtl){-ms-flex-order:-1;order:-1}}.item-sliding-active-swipe-start .item-options-start .item-option-expandable{padding-right:100%;-ms-flex-order:-1;order:-1;-webkit-transition-duration:0.6s;transition-duration:0.6s;-webkit-transition-property:padding-right;transition-property:padding-right}:host-context([dir=rtl]) .item-sliding-active-swipe-start .item-options-start .item-option-expandable{-ms-flex-order:1;order:1}[dir=rtl] .item-sliding-active-swipe-start .item-options-start .item-option-expandable{-ms-flex-order:1;order:1}@supports selector(:dir(rtl)){.item-sliding-active-swipe-start .item-options-start .item-option-expandable:dir(rtl){-ms-flex-order:1;order:1}}";export{h as ion_item_option,f as ion_item_options,g as ion_item_sliding}