@ionic/core 8.7.9 → 8.7.10-dev.11762793376.12429b78

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 (244) hide show
  1. package/dist/cjs/{animation-Bt3H9L1C.js → animation-CMd5EiUJ.js} +1 -1
  2. package/dist/cjs/{app-globals-Ciccnk9_.js → app-globals-YYg3oRxW.js} +1 -1
  3. package/dist/cjs/{button-active-CMc8cD90.js → button-active-C8-Bw602.js} +1 -1
  4. package/dist/cjs/{config-C5fsO43a.js → config-Bg0ubRZh.js} +1 -1
  5. package/dist/cjs/{data-JwZKaIQB.js → data-r5j7Uerm.js} +1 -1
  6. package/dist/cjs/{framework-delegate-DMJRBuDi.js → framework-delegate-N9XyoOZB.js} +1 -1
  7. package/dist/cjs/{hardware-back-button-VCK4V3mG.js → hardware-back-button-B840zOI6.js} +1 -1
  8. package/dist/cjs/{helpers-DrTqNghc.js → helpers-D77VXx-r.js} +1 -1
  9. package/dist/cjs/{index-CO6eryBo.js → index-CeUl7ZfZ.js} +2 -2
  10. package/dist/cjs/{index-D6Wc6v08.js → index-ChS3fOIY.js} +41 -3
  11. package/dist/cjs/{index-094mMFB-.js → index-DaKBTHFW.js} +4 -4
  12. package/dist/cjs/{index-DrMUZJj6.js → index-DmOKAifs.js} +5 -5
  13. package/dist/cjs/{index-C534ULug.js → index-Dz0blAIb.js} +2 -2
  14. package/dist/cjs/index.cjs.js +12 -12
  15. package/dist/cjs/{input-shims-CW0KUFTQ.js → input-shims-DJpaPpDp.js} +3 -3
  16. package/dist/cjs/{input.utils-B_QROI2g.js → input.utils-D0-KClCg.js} +2 -2
  17. package/dist/cjs/ion-accordion_2.cjs.entry.js +3 -3
  18. package/dist/cjs/ion-action-sheet.cjs.entry.js +8 -8
  19. package/dist/cjs/ion-alert.cjs.entry.js +9 -9
  20. package/dist/cjs/ion-app_8.cjs.entry.js +12 -12
  21. package/dist/cjs/ion-avatar_3.cjs.entry.js +2 -2
  22. package/dist/cjs/ion-back-button.cjs.entry.js +3 -3
  23. package/dist/cjs/ion-backdrop.cjs.entry.js +2 -2
  24. package/dist/cjs/ion-breadcrumb_2.cjs.entry.js +3 -3
  25. package/dist/cjs/ion-button_2.cjs.entry.js +3 -3
  26. package/dist/cjs/ion-card_5.cjs.entry.js +3 -3
  27. package/dist/cjs/ion-checkbox.cjs.entry.js +3 -3
  28. package/dist/cjs/ion-chip.cjs.entry.js +2 -2
  29. package/dist/cjs/ion-col_3.cjs.entry.js +2 -2
  30. package/dist/cjs/ion-datetime-button.cjs.entry.js +4 -4
  31. package/dist/cjs/ion-datetime_3.cjs.entry.js +8 -8
  32. package/dist/cjs/ion-fab_3.cjs.entry.js +3 -3
  33. package/dist/cjs/ion-img.cjs.entry.js +3 -3
  34. package/dist/cjs/ion-infinite-scroll_2.cjs.entry.js +5 -5
  35. package/dist/cjs/ion-input-otp.cjs.entry.js +3 -3
  36. package/dist/cjs/ion-input-password-toggle.cjs.entry.js +2 -2
  37. package/dist/cjs/ion-input.cjs.entry.js +5 -5
  38. package/dist/cjs/ion-item-option_3.cjs.entry.js +4 -4
  39. package/dist/cjs/ion-item_8.cjs.entry.js +3 -3
  40. package/dist/cjs/ion-loading.cjs.entry.js +8 -8
  41. package/dist/cjs/ion-menu_3.cjs.entry.js +8 -8
  42. package/dist/cjs/ion-modal.cjs.entry.js +9 -9
  43. package/dist/cjs/ion-nav_2.cjs.entry.js +6 -6
  44. package/dist/cjs/ion-picker-column-option.cjs.entry.js +3 -3
  45. package/dist/cjs/ion-picker-column.cjs.entry.js +3 -3
  46. package/dist/cjs/ion-picker.cjs.entry.js +2 -2
  47. package/dist/cjs/ion-popover.cjs.entry.js +8 -8
  48. package/dist/cjs/ion-progress-bar.cjs.entry.js +3 -3
  49. package/dist/cjs/ion-radio_2.cjs.entry.js +3 -3
  50. package/dist/cjs/ion-range.cjs.entry.js +4 -4
  51. package/dist/cjs/ion-refresher_2.cjs.entry.js +6 -6
  52. package/dist/cjs/ion-reorder_2.cjs.entry.js +4 -4
  53. package/dist/cjs/ion-ripple-effect.cjs.entry.js +2 -2
  54. package/dist/cjs/ion-route_4.cjs.entry.js +3 -3
  55. package/dist/cjs/ion-searchbar.cjs.entry.js +3 -3
  56. package/dist/cjs/ion-segment-content.cjs.entry.js +1 -1
  57. package/dist/cjs/ion-segment-view.cjs.entry.js +1 -1
  58. package/dist/cjs/ion-segment_2.cjs.entry.js +3 -3
  59. package/dist/cjs/ion-select-modal.cjs.entry.js +6 -6
  60. package/dist/cjs/ion-select_3.cjs.entry.js +7 -7
  61. package/dist/cjs/ion-spinner.cjs.entry.js +2 -2
  62. package/dist/cjs/ion-split-pane.cjs.entry.js +2 -2
  63. package/dist/cjs/ion-tab-bar_2.cjs.entry.js +3 -3
  64. package/dist/cjs/ion-tab_2.cjs.entry.js +3 -3
  65. package/dist/cjs/ion-text.cjs.entry.js +2 -2
  66. package/dist/cjs/ion-textarea.cjs.entry.js +5 -5
  67. package/dist/cjs/ion-toast.cjs.entry.js +8 -8
  68. package/dist/cjs/ion-toggle.cjs.entry.js +3 -3
  69. package/dist/cjs/{ionic-global-HMVqOFGO.js → ionic-global-BxKGYF6d.js} +1 -1
  70. package/dist/cjs/ionic.cjs.js +4 -4
  71. package/dist/cjs/{ios.transition-BOt_uW73.js → ios.transition-C72U2BUB.js} +4 -4
  72. package/dist/cjs/loader.cjs.js +3 -3
  73. package/dist/cjs/{md.transition-Dt968VXB.js → md.transition-BBB6PEeK.js} +4 -4
  74. package/dist/cjs/{overlays-DxIZwUXI.js → overlays-C3__zPvW.js} +5 -5
  75. package/dist/cjs/{status-tap-g0sWWkXk.js → status-tap-f2TiTSXm.js} +3 -3
  76. package/dist/cjs/{swipe-back-BIayeNOD.js → swipe-back-BpBykMef.js} +2 -2
  77. package/dist/cjs/{validity-C8QoAYT2.js → validity-DkTK5q5l.js} +1 -1
  78. package/dist/collection/collection-manifest.json +2 -2
  79. package/dist/docs.json +3 -3
  80. package/dist/esm/{animation-Dt8bGnA-.js → animation-_TZS1Hjd.js} +1 -1
  81. package/dist/esm/{app-globals-BDSf8fOA.js → app-globals-DuiIATAi.js} +1 -1
  82. package/dist/esm/{button-active-L570Swow.js → button-active-B1HZAIwa.js} +1 -1
  83. package/dist/esm/{config-mCdtaoPe.js → config-IKyiwMNW.js} +1 -1
  84. package/dist/esm/{data-DCORV9FH.js → data-DjEV-rGl.js} +1 -1
  85. package/dist/esm/{framework-delegate-BYawdMXj.js → framework-delegate-DXowJuYM.js} +1 -1
  86. package/dist/esm/{hardware-back-button-CPLxO-Ev.js → hardware-back-button-D7JE2jw7.js} +1 -1
  87. package/dist/esm/{helpers-DEn3pfjm.js → helpers-Cj5Iql8O.js} +1 -1
  88. package/dist/esm/{index-r2D9DEro.js → index-6QoOUB2s.js} +4 -4
  89. package/dist/esm/{index-C8IsBmNU.js → index-BVGHdIB3.js} +41 -3
  90. package/dist/esm/{index-CvDIirVx.js → index-DTld9OWL.js} +5 -5
  91. package/dist/esm/{index-ceb5RaMT.js → index-DhQ7IQpS.js} +2 -2
  92. package/dist/esm/{index-Bs3kT4bc.js → index-jRE1CKuX.js} +2 -2
  93. package/dist/esm/index.js +12 -12
  94. package/dist/esm/{input-shims-DyOpfTg6.js → input-shims-Z7izSUeO.js} +3 -3
  95. package/dist/esm/{input.utils-DrvTa8gz.js → input.utils-8PktJRaO.js} +2 -2
  96. package/dist/esm/ion-accordion_2.entry.js +3 -3
  97. package/dist/esm/ion-action-sheet.entry.js +8 -8
  98. package/dist/esm/ion-alert.entry.js +9 -9
  99. package/dist/esm/ion-app_8.entry.js +12 -12
  100. package/dist/esm/ion-avatar_3.entry.js +2 -2
  101. package/dist/esm/ion-back-button.entry.js +3 -3
  102. package/dist/esm/ion-backdrop.entry.js +2 -2
  103. package/dist/esm/ion-breadcrumb_2.entry.js +3 -3
  104. package/dist/esm/ion-button_2.entry.js +3 -3
  105. package/dist/esm/ion-card_5.entry.js +3 -3
  106. package/dist/esm/ion-checkbox.entry.js +3 -3
  107. package/dist/esm/ion-chip.entry.js +2 -2
  108. package/dist/esm/ion-col_3.entry.js +2 -2
  109. package/dist/esm/ion-datetime-button.entry.js +4 -4
  110. package/dist/esm/ion-datetime_3.entry.js +8 -8
  111. package/dist/esm/ion-fab_3.entry.js +3 -3
  112. package/dist/esm/ion-img.entry.js +3 -3
  113. package/dist/esm/ion-infinite-scroll_2.entry.js +5 -5
  114. package/dist/esm/ion-input-otp.entry.js +3 -3
  115. package/dist/esm/ion-input-password-toggle.entry.js +2 -2
  116. package/dist/esm/ion-input.entry.js +5 -5
  117. package/dist/esm/ion-item-option_3.entry.js +4 -4
  118. package/dist/esm/ion-item_8.entry.js +3 -3
  119. package/dist/esm/ion-loading.entry.js +8 -8
  120. package/dist/esm/ion-menu_3.entry.js +8 -8
  121. package/dist/esm/ion-modal.entry.js +9 -9
  122. package/dist/esm/ion-nav_2.entry.js +6 -6
  123. package/dist/esm/ion-picker-column-option.entry.js +3 -3
  124. package/dist/esm/ion-picker-column.entry.js +3 -3
  125. package/dist/esm/ion-picker.entry.js +2 -2
  126. package/dist/esm/ion-popover.entry.js +8 -8
  127. package/dist/esm/ion-progress-bar.entry.js +3 -3
  128. package/dist/esm/ion-radio_2.entry.js +3 -3
  129. package/dist/esm/ion-range.entry.js +4 -4
  130. package/dist/esm/ion-refresher_2.entry.js +6 -6
  131. package/dist/esm/ion-reorder_2.entry.js +4 -4
  132. package/dist/esm/ion-ripple-effect.entry.js +2 -2
  133. package/dist/esm/ion-route_4.entry.js +3 -3
  134. package/dist/esm/ion-searchbar.entry.js +3 -3
  135. package/dist/esm/ion-segment-content.entry.js +1 -1
  136. package/dist/esm/ion-segment-view.entry.js +1 -1
  137. package/dist/esm/ion-segment_2.entry.js +3 -3
  138. package/dist/esm/ion-select-modal.entry.js +6 -6
  139. package/dist/esm/ion-select_3.entry.js +7 -7
  140. package/dist/esm/ion-spinner.entry.js +2 -2
  141. package/dist/esm/ion-split-pane.entry.js +2 -2
  142. package/dist/esm/ion-tab-bar_2.entry.js +3 -3
  143. package/dist/esm/ion-tab_2.entry.js +3 -3
  144. package/dist/esm/ion-text.entry.js +2 -2
  145. package/dist/esm/ion-textarea.entry.js +5 -5
  146. package/dist/esm/ion-toast.entry.js +8 -8
  147. package/dist/esm/ion-toggle.entry.js +3 -3
  148. package/dist/esm/{ionic-global-CDrldh-5.js → ionic-global-BVrvc8zu.js} +1 -1
  149. package/dist/esm/ionic.js +5 -5
  150. package/dist/esm/{ios.transition-BDzw0_Hm.js → ios.transition-BQB6stOT.js} +4 -4
  151. package/dist/esm/loader.js +4 -4
  152. package/dist/esm/{md.transition-BzDYi3qq.js → md.transition-D8M5kwpN.js} +4 -4
  153. package/dist/esm/{overlays-BymNv-BL.js → overlays-v6rVwLBE.js} +5 -5
  154. package/dist/esm/{status-tap-5DQ7Fc4V.js → status-tap-CbONNX4z.js} +3 -3
  155. package/dist/esm/{swipe-back-BKw2CAHc.js → swipe-back-CRKN2lCz.js} +2 -2
  156. package/dist/esm/{validity-B8oWougr.js → validity-DvgV3rpm.js} +1 -1
  157. package/dist/ionic/index.esm.js +1 -1
  158. package/dist/ionic/ionic.esm.js +1 -1
  159. package/dist/ionic/{p-CwgG81ZD.js → p-0FumIF4F.js} +1 -1
  160. package/dist/ionic/{p-a127bee2.entry.js → p-0cad6731.entry.js} +1 -1
  161. package/dist/ionic/{p-b57c6d3e.entry.js → p-0d15cc40.entry.js} +1 -1
  162. package/dist/ionic/{p-da7d04cc.entry.js → p-1bbee68b.entry.js} +1 -1
  163. package/dist/ionic/{p-510d86e1.entry.js → p-1dde6332.entry.js} +1 -1
  164. package/dist/ionic/{p-f8f22cc0.entry.js → p-1fec7f80.entry.js} +1 -1
  165. package/dist/ionic/{p-e16b69e1.entry.js → p-27098889.entry.js} +1 -1
  166. package/dist/ionic/{p-1647c46c.entry.js → p-284aa04d.entry.js} +1 -1
  167. package/dist/ionic/{p-cc45bcbc.entry.js → p-2b85c833.entry.js} +1 -1
  168. package/dist/ionic/{p-639dd543.entry.js → p-367bde12.entry.js} +1 -1
  169. package/dist/ionic/{p-4cc26913.entry.js → p-39d3888f.entry.js} +1 -1
  170. package/dist/ionic/{p-4c85d268.entry.js → p-41d22292.entry.js} +1 -1
  171. package/dist/ionic/{p-0dfa5a37.entry.js → p-5421f63a.entry.js} +1 -1
  172. package/dist/ionic/{p-98fc09eb.entry.js → p-5825fc6e.entry.js} +1 -1
  173. package/dist/ionic/{p-f65f9308.entry.js → p-5ebd385a.entry.js} +1 -1
  174. package/dist/ionic/{p-0b80d700.entry.js → p-63e1a446.entry.js} +1 -1
  175. package/dist/ionic/{p-dc2e126d.entry.js → p-6c6c38ac.entry.js} +1 -1
  176. package/dist/ionic/{p-7da39a4d.entry.js → p-6e853ec9.entry.js} +1 -1
  177. package/dist/ionic/{p-020af078.entry.js → p-6eb4a13c.entry.js} +1 -1
  178. package/dist/ionic/{p-ac4eb91d.entry.js → p-714a21b6.entry.js} +1 -1
  179. package/dist/ionic/{p-9575b654.entry.js → p-73f59b82.entry.js} +1 -1
  180. package/dist/ionic/{p-72c38b88.entry.js → p-7e9bb16e.entry.js} +1 -1
  181. package/dist/ionic/{p-79bd78f9.entry.js → p-82a34d91.entry.js} +1 -1
  182. package/dist/ionic/{p-582824c5.entry.js → p-865010e8.entry.js} +1 -1
  183. package/dist/ionic/{p-11518b31.entry.js → p-8a558c61.entry.js} +1 -1
  184. package/dist/ionic/{p-86f53961.entry.js → p-8b38cf63.entry.js} +1 -1
  185. package/dist/ionic/{p-d126e8d3.entry.js → p-8ecd2576.entry.js} +1 -1
  186. package/dist/ionic/{p-31f7095f.entry.js → p-8fbd9efe.entry.js} +1 -1
  187. package/dist/ionic/{p-d0a2a1ab.entry.js → p-917776ab.entry.js} +1 -1
  188. package/dist/ionic/{p-4efea47a.entry.js → p-9c852a4f.entry.js} +1 -1
  189. package/dist/ionic/{p-8bdfc8f6.entry.js → p-9d248d04.entry.js} +1 -1
  190. package/dist/ionic/{p-94de5cfa.entry.js → p-9fc36a95.entry.js} +1 -1
  191. package/dist/ionic/{p-C7hRNDhM.js → p-ATCRWepI.js} +1 -1
  192. package/dist/ionic/p-BKzjBsgr.js +4 -0
  193. package/dist/ionic/p-BPCLHFIJ.js +4 -0
  194. package/dist/ionic/p-BVGHdIB3.js +5 -0
  195. package/dist/ionic/{p-QHYY4sjU.js → p-Bd8NARl2.js} +1 -1
  196. package/dist/ionic/{p-D-eFFUkA.js → p-Byj9wS2m.js} +1 -1
  197. package/dist/ionic/p-C-hkdhDX.js +4 -0
  198. package/dist/ionic/{p-DieJyvMP.js → p-CEyzsf_w.js} +1 -1
  199. package/dist/ionic/{p-DbQ5QkTP.js → p-CK6yPWoW.js} +1 -1
  200. package/dist/ionic/{p-CJxh_yLS.js → p-CXgzLQi6.js} +1 -1
  201. package/dist/ionic/{p-BFvmZNyx.js → p-Cx-H2fLj.js} +1 -1
  202. package/dist/ionic/{p-D87hU-Ly.js → p-DHZ1O_Fh.js} +1 -1
  203. package/dist/ionic/{p-BYEqWnSg.js → p-DQOaucNd.js} +1 -1
  204. package/dist/ionic/{p-Dc45iWE4.js → p-DXIJtcZ4.js} +1 -1
  205. package/dist/ionic/{p-CTfR9YZG.js → p-Dbxeiy79.js} +1 -1
  206. package/dist/ionic/{p-DZRJwG4S.js → p-Dfqg5sCT.js} +1 -1
  207. package/dist/ionic/p-Dpv-T50-.js +4 -0
  208. package/dist/ionic/p-DxJKEmSr.js +4 -0
  209. package/dist/ionic/{p-DNcfiJwE.js → p-FpOGHUu_.js} +1 -1
  210. package/dist/ionic/{p-370e4237.entry.js → p-a7443eb9.entry.js} +1 -1
  211. package/dist/ionic/{p-7268efa5.entry.js → p-b160f098.entry.js} +1 -1
  212. package/dist/ionic/{p-316c0420.entry.js → p-b2df2374.entry.js} +1 -1
  213. package/dist/ionic/{p-6d070558.entry.js → p-b93b18b5.entry.js} +1 -1
  214. package/dist/ionic/{p-49d06882.entry.js → p-c27187f3.entry.js} +1 -1
  215. package/dist/ionic/{p-a80f1b04.entry.js → p-cc99017f.entry.js} +1 -1
  216. package/dist/ionic/{p-b0a7585c.entry.js → p-ce6a8874.entry.js} +1 -1
  217. package/dist/ionic/{p-6241ce47.entry.js → p-d2736c92.entry.js} +1 -1
  218. package/dist/ionic/{p-675b1a31.entry.js → p-d77243f7.entry.js} +1 -1
  219. package/dist/ionic/{p-6444c606.entry.js → p-d88abc12.entry.js} +1 -1
  220. package/dist/ionic/{p-43ed1ef5.entry.js → p-d91a475c.entry.js} +1 -1
  221. package/dist/ionic/{p-3a6caca9.entry.js → p-dfb12224.entry.js} +1 -1
  222. package/dist/ionic/{p-46d74291.entry.js → p-e35a569d.entry.js} +1 -1
  223. package/dist/ionic/{p-dbbe606a.entry.js → p-eb019f08.entry.js} +1 -1
  224. package/dist/ionic/{p-83be404e.entry.js → p-ef395f1a.entry.js} +1 -1
  225. package/dist/ionic/{p-074839fc.entry.js → p-ef6678ac.entry.js} +1 -1
  226. package/dist/ionic/{p-15193d01.entry.js → p-efe6c074.entry.js} +1 -1
  227. package/dist/ionic/{p-fc278823.entry.js → p-f0168275.entry.js} +1 -1
  228. package/dist/ionic/{p-7bcfc421.entry.js → p-f2d7c3a6.entry.js} +1 -1
  229. package/dist/ionic/{p-2a939845.entry.js → p-f9ebf94f.entry.js} +1 -1
  230. package/dist/ionic/{p-D0dMcSkw.js → p-fOeiRSuK.js} +1 -1
  231. package/dist/ionic/{p-51a60e0f.entry.js → p-fd52b45e.entry.js} +1 -1
  232. package/dist/ionic/{p-B0q1YL7N.js → p-vq6cJ1-o.js} +1 -1
  233. package/dist/types/components/header/header.utils.d.ts +2 -1
  234. package/dist/types/stencil-public-runtime.d.ts +19 -9
  235. package/dist/types/utils/gesture/listener.d.ts +2 -1
  236. package/hydrate/index.js +120 -81
  237. package/hydrate/index.mjs +120 -81
  238. package/package.json +3 -3
  239. package/dist/ionic/p-BKc55Xev.js +0 -4
  240. package/dist/ionic/p-BOVrCkpJ.js +0 -4
  241. package/dist/ionic/p-Bmgaetn_.js +0 -4
  242. package/dist/ionic/p-C8IsBmNU.js +0 -5
  243. package/dist/ionic/p-DDb5r57F.js +0 -4
  244. package/dist/ionic/p-DUt5fQmA.js +0 -4
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * (C) Ionic http://ionicframework.com - MIT License
3
3
  */
4
- import{c as t}from"./p-DDb5r57F.js";import{g as o}from"./p-DUt5fQmA.js";import"./p-C8IsBmNU.js";import"./p-ZjP4CjeZ.js";import"./p-CTfR9YZG.js";const n=t=>document.querySelector(`${t}.ion-cloned-element`),a=t=>t.shadowRoot||t,s=t=>{const o="ION-TABS"===t.tagName?t:t.querySelector("ion-tabs"),n="ion-content ion-header:not(.header-collapse-condense-inactive) ion-title.title-large";if(null!=o){const t=o.querySelector("ion-tab:not(.tab-hidden), .ion-page:not(.ion-page-hidden)");return null!=t?t.querySelector(n):null}return t.querySelector(n)},e=(t,o)=>{const n="ION-TABS"===t.tagName?t:t.querySelector("ion-tabs");let a=[];if(null!=n){const t=n.querySelector("ion-tab:not(.tab-hidden), .ion-page:not(.ion-page-hidden)");null!=t&&(a=t.querySelectorAll("ion-buttons"))}else a=t.querySelectorAll("ion-buttons");for(const t of a){const n=t.closest("ion-header"),a=n&&!n.classList.contains("header-collapse-condense-inactive"),s=t.querySelector("ion-back-button"),e=t.classList.contains("buttons-collapse");if(null!==s&&("start"===t.slot||""===t.slot)&&(e&&a&&o||!e))return s}return null},r=(o,s,e,r,i,l,f,p,d)=>{var $,u;const m=s?`calc(100% - ${i.right+4}px)`:i.left-4+"px",b=s?"right":"left",y=s?"left":"right",X=s?"right":"left";let x=1,v=1,h=`scale(${v})`;const g="scale(1)";if(l&&f){const t=(null===($=l.textContent)||void 0===$?void 0:$.trim())===(null===(u=p.textContent)||void 0===u?void 0:u.trim());x=d.width/f.width,v=(d.height-c)/f.height,h=t?`scale(${x}, ${v})`:`scale(${v})`}const w=a(r).querySelector("ion-icon").getBoundingClientRect(),k=s?w.width/2-(w.right-i.right)+"px":i.left-w.width/2+"px",j=s?`-${window.innerWidth-i.right}px`:`${i.left}px`,T=`${d.top}px`,A=`${i.top}px`,B=e?[{offset:0,transform:`translate3d(${j}, ${A}, 0)`},{offset:1,transform:`translate3d(${k}, ${T}, 0)`}]:[{offset:0,transform:`translate3d(${k}, ${T}, 0)`},{offset:1,transform:`translate3d(${j}, ${A}, 0)`}],C=e?[{offset:0,opacity:1,transform:g},{offset:1,opacity:0,transform:h}]:[{offset:0,opacity:0,transform:h},{offset:1,opacity:1,transform:g}],D=e?[{offset:0,opacity:1,transform:"scale(1)"},{offset:.2,opacity:0,transform:"scale(0.6)"},{offset:1,opacity:0,transform:"scale(0.6)"}]:[{offset:0,opacity:0,transform:"scale(0.6)"},{offset:.6,opacity:0,transform:"scale(0.6)"},{offset:1,opacity:1,transform:"scale(1)"}],I=t(),N=t(),Z=t(),O=n("ion-back-button"),S=a(O).querySelector(".button-text"),U=a(O).querySelector("ion-icon");O.text=r.text,O.mode=r.mode,O.icon=r.icon,O.color=r.color,O.disabled=r.disabled,O.style.setProperty("display","block"),O.style.setProperty("position","fixed"),N.addElement(U),I.addElement(S),Z.addElement(O),Z.beforeStyles({position:"absolute",top:"0px",[X]:"0px"}).beforeAddWrite((()=>{r.style.setProperty("display","none"),O.style.setProperty(b,m)})).afterAddWrite((()=>{r.style.setProperty("display",""),O.style.setProperty("display","none"),O.style.removeProperty(b)})).keyframes(B),I.beforeStyles({"transform-origin":`${b} top`}).keyframes(C),N.beforeStyles({"transform-origin":`${y} center`}).keyframes(D),o.addAnimation([I,N,Z])},i=(o,a,s,e,r,i,l,f,p)=>{var d,$;const u=a?"right":"left",m=a?`calc(100% - ${r.right}px)`:`${r.left}px`,b=`${r.top}px`;let y=a?`-${window.innerWidth-l.right-8}px`:`${l.x+8}px`,X=.5;const x="scale(1)";let v=`scale(${X})`;if(f&&p){y=a?`-${window.innerWidth-p.right-8}px`:p.x-8+"px";const t=(null===(d=f.textContent)||void 0===d?void 0:d.trim())===(null===($=e.textContent)||void 0===$?void 0:$.trim());X=p.height/(i.height-c),v=t?`scale(${p.width/i.width}, ${X})`:`scale(${X})`}const h=l.top+l.height/2-r.height*X/2+"px",g=s?[{offset:0,opacity:0,transform:`translate3d(${y}, ${h}, 0) ${v}`},{offset:.1,opacity:0},{offset:1,opacity:1,transform:`translate3d(0px, ${b}, 0) ${x}`}]:[{offset:0,opacity:.99,transform:`translate3d(0px, ${b}, 0) ${x}`},{offset:.6,opacity:0},{offset:1,opacity:0,transform:`translate3d(${y}, ${h}, 0) ${v}`}],w=n("ion-title"),k=t();w.innerText=e.innerText,w.size=e.size,w.color=e.color,k.addElement(w),k.beforeStyles({"transform-origin":`${u} top`,height:`${r.height}px`,display:"",position:"relative",[u]:m}).beforeAddWrite((()=>{e.style.setProperty("opacity","0")})).afterAddWrite((()=>{e.style.setProperty("opacity",""),w.style.setProperty("display","none")})).keyframes(g),o.addAnimation(k)},l=(n,l)=>{var c;try{const f="cubic-bezier(0.32,0.72,0,1)",p="opacity",d="transform",$="0%",u=.8,m="rtl"===n.ownerDocument.dir,b=m?"-99.5%":"99.5%",y=m?"33%":"-33%",X=l.enteringEl,x=l.leavingEl,v="back"===l.direction,h=X.querySelector(":scope > ion-content"),g=X.querySelectorAll(":scope > ion-header > *:not(ion-toolbar), :scope > ion-footer > *"),w=X.querySelectorAll(":scope > ion-header > ion-toolbar"),k=t(),j=t();if(k.addElement(X).duration((null!==(c=l.duration)&&void 0!==c?c:0)||540).easing(l.easing||f).fill("both").beforeRemoveClass("ion-page-invisible"),x&&null!=n){const o=t();o.addElement(n),k.addAnimation(o)}if(h||0!==w.length||0!==g.length?(j.addElement(h),j.addElement(g)):j.addElement(X.querySelector(":scope > .ion-page, :scope > ion-nav, :scope > ion-tabs")),k.addAnimation(j),v?j.beforeClearStyles([p]).fromTo("transform",`translateX(${y})`,`translateX(${$})`).fromTo(p,u,1):j.beforeClearStyles([p]).fromTo("transform",`translateX(${b})`,`translateX(${$})`),h){const o=a(h).querySelector(".transition-effect");if(o){const n=o.querySelector(".transition-cover"),a=o.querySelector(".transition-shadow"),s=t(),e=t(),r=t();s.addElement(o).beforeStyles({opacity:"1",display:"block"}).afterStyles({opacity:"",display:""}),e.addElement(n).beforeClearStyles([p]).fromTo(p,0,.1),r.addElement(a).beforeClearStyles([p]).fromTo(p,.03,.7),s.addAnimation([e,r]),j.addAnimation([s])}}const T=X.querySelector("ion-header.header-collapse-condense"),{forward:A,backward:B}=((t,o,n,l,c)=>{const f=e(l,n),p=s(c),d=s(l),$=e(c,n),u=null!==f&&null!==p&&!n,m=null!==d&&null!==$&&n;if(u){const s=p.getBoundingClientRect(),e=f.getBoundingClientRect(),l=a(f).querySelector(".button-text"),c=null==l?void 0:l.getBoundingClientRect(),d=a(p).querySelector(".toolbar-title").getBoundingClientRect();i(t,o,n,p,s,d,e,l,c),r(t,o,n,f,e,l,c,p,d)}else if(m){const s=d.getBoundingClientRect(),e=$.getBoundingClientRect(),l=a($).querySelector(".button-text"),c=null==l?void 0:l.getBoundingClientRect(),f=a(d).querySelector(".toolbar-title").getBoundingClientRect();i(t,o,n,d,s,f,e,l,c),r(t,o,n,$,e,l,c,d,f)}return{forward:u,backward:m}})(k,m,v,X,x);if(w.forEach((o=>{const n=t();n.addElement(o),k.addAnimation(n);const s=t();s.addElement(o.querySelector("ion-title"));const e=t(),r=Array.from(o.querySelectorAll("ion-buttons,[menuToggle]")),i=o.closest("ion-header"),l=null==i?void 0:i.classList.contains("header-collapse-condense-inactive");let c;c=r.filter(v?t=>{const o=t.classList.contains("buttons-collapse");return o&&!l||!o}:t=>!t.classList.contains("buttons-collapse")),e.addElement(c);const f=t();f.addElement(o.querySelectorAll(":scope > *:not(ion-title):not(ion-buttons):not([menuToggle])"));const d=t();d.addElement(a(o).querySelector(".toolbar-background"));const u=t(),X=o.querySelector("ion-back-button");if(X&&u.addElement(X),n.addAnimation([s,e,f,d,u]),e.fromTo(p,.01,1),f.fromTo(p,.01,1),v)l||s.fromTo("transform",`translateX(${y})`,`translateX(${$})`).fromTo(p,.01,1),f.fromTo("transform",`translateX(${y})`,`translateX(${$})`),u.fromTo(p,.01,1);else if(T||s.fromTo("transform",`translateX(${b})`,`translateX(${$})`).fromTo(p,.01,1),f.fromTo("transform",`translateX(${b})`,`translateX(${$})`),d.beforeClearStyles([p,"transform"]),(null==i?void 0:i.translucent)?d.fromTo("transform",m?"translateX(-100%)":"translateX(100%)","translateX(0px)"):d.fromTo(p,.01,"var(--opacity)"),A||u.fromTo(p,.01,1),X&&!A){const o=t();o.addElement(a(X).querySelector(".button-text")).fromTo("transform",m?"translateX(-100px)":"translateX(100px)","translateX(0px)"),n.addAnimation(o)}})),x){const n=t(),s=x.querySelector(":scope > ion-content"),e=x.querySelectorAll(":scope > ion-header > ion-toolbar"),r=x.querySelectorAll(":scope > ion-header > *:not(ion-toolbar), :scope > ion-footer > *");if(s||0!==e.length||0!==r.length?(n.addElement(s),n.addElement(r)):n.addElement(x.querySelector(":scope > .ion-page, :scope > ion-nav, :scope > ion-tabs")),k.addAnimation(n),v){n.beforeClearStyles([p]).fromTo("transform",`translateX(${$})`,m?"translateX(-100%)":"translateX(100%)");const t=o(x);k.afterAddWrite((()=>{"normal"===k.getDirection()&&t.style.setProperty("display","none")}))}else n.fromTo("transform",`translateX(${$})`,`translateX(${y})`).fromTo(p,1,u);if(s){const o=a(s).querySelector(".transition-effect");if(o){const a=o.querySelector(".transition-cover"),s=o.querySelector(".transition-shadow"),e=t(),r=t(),i=t();e.addElement(o).beforeStyles({opacity:"1",display:"block"}).afterStyles({opacity:"",display:""}),r.addElement(a).beforeClearStyles([p]).fromTo(p,.1,0),i.addElement(s).beforeClearStyles([p]).fromTo(p,.7,.03),e.addAnimation([r,i]),n.addAnimation([e])}}e.forEach((o=>{const n=t();n.addElement(o);const s=t();s.addElement(o.querySelector("ion-title"));const e=t(),r=o.querySelectorAll("ion-buttons,[menuToggle]"),i=o.closest("ion-header"),l=null==i?void 0:i.classList.contains("header-collapse-condense-inactive"),c=Array.from(r).filter((t=>{const o=t.classList.contains("buttons-collapse");return o&&!l||!o}));e.addElement(c);const f=t(),u=o.querySelectorAll(":scope > *:not(ion-title):not(ion-buttons):not([menuToggle])");u.length>0&&f.addElement(u);const b=t();b.addElement(a(o).querySelector(".toolbar-background"));const X=t(),x=o.querySelector("ion-back-button");if(x&&X.addElement(x),n.addAnimation([s,e,f,X,b]),k.addAnimation(n),X.fromTo(p,.99,0),e.fromTo(p,.99,0),f.fromTo(p,.99,0),v){if(l||s.fromTo("transform",`translateX(${$})`,m?"translateX(-100%)":"translateX(100%)").fromTo(p,.99,0),f.fromTo("transform",`translateX(${$})`,m?"translateX(-100%)":"translateX(100%)"),b.beforeClearStyles([p,"transform"]),(null==i?void 0:i.translucent)?b.fromTo("transform","translateX(0px)",m?"translateX(-100%)":"translateX(100%)"):b.fromTo(p,"var(--opacity)",0),x&&!B){const o=t();o.addElement(a(x).querySelector(".button-text")).fromTo("transform",`translateX(${$})`,`translateX(${(m?-124:124)+"px"})`),n.addAnimation(o)}}else l||s.fromTo("transform",`translateX(${$})`,`translateX(${y})`).fromTo(p,.99,0).afterClearStyles([d,p]),f.fromTo("transform",`translateX(${$})`,`translateX(${y})`).afterClearStyles([d,p]),X.afterClearStyles([p]),s.afterClearStyles([p]),e.afterClearStyles([p])}))}return k}catch(t){throw t}},c=10;export{l as iosTransitionAnimation,a as shadow}
4
+ import{c as t}from"./p-C-hkdhDX.js";import{g as o}from"./p-BKzjBsgr.js";import"./p-BVGHdIB3.js";import"./p-ZjP4CjeZ.js";import"./p-Dbxeiy79.js";const n=t=>document.querySelector(`${t}.ion-cloned-element`),a=t=>t.shadowRoot||t,s=t=>{const o="ION-TABS"===t.tagName?t:t.querySelector("ion-tabs"),n="ion-content ion-header:not(.header-collapse-condense-inactive) ion-title.title-large";if(null!=o){const t=o.querySelector("ion-tab:not(.tab-hidden), .ion-page:not(.ion-page-hidden)");return null!=t?t.querySelector(n):null}return t.querySelector(n)},e=(t,o)=>{const n="ION-TABS"===t.tagName?t:t.querySelector("ion-tabs");let a=[];if(null!=n){const t=n.querySelector("ion-tab:not(.tab-hidden), .ion-page:not(.ion-page-hidden)");null!=t&&(a=t.querySelectorAll("ion-buttons"))}else a=t.querySelectorAll("ion-buttons");for(const t of a){const n=t.closest("ion-header"),a=n&&!n.classList.contains("header-collapse-condense-inactive"),s=t.querySelector("ion-back-button"),e=t.classList.contains("buttons-collapse");if(null!==s&&("start"===t.slot||""===t.slot)&&(e&&a&&o||!e))return s}return null},r=(o,s,e,r,i,l,f,p,d)=>{var $,u;const m=s?`calc(100% - ${i.right+4}px)`:i.left-4+"px",b=s?"right":"left",y=s?"left":"right",X=s?"right":"left";let x=1,h=1,v=`scale(${h})`;const g="scale(1)";if(l&&f){const t=(null===($=l.textContent)||void 0===$?void 0:$.trim())===(null===(u=p.textContent)||void 0===u?void 0:u.trim());x=d.width/f.width,h=(d.height-c)/f.height,v=t?`scale(${x}, ${h})`:`scale(${h})`}const k=a(r).querySelector("ion-icon").getBoundingClientRect(),w=s?k.width/2-(k.right-i.right)+"px":i.left-k.width/2+"px",j=s?`-${window.innerWidth-i.right}px`:`${i.left}px`,B=`${d.top}px`,T=`${i.top}px`,A=e?[{offset:0,transform:`translate3d(${j}, ${T}, 0)`},{offset:1,transform:`translate3d(${w}, ${B}, 0)`}]:[{offset:0,transform:`translate3d(${w}, ${B}, 0)`},{offset:1,transform:`translate3d(${j}, ${T}, 0)`}],I=e?[{offset:0,opacity:1,transform:g},{offset:1,opacity:0,transform:v}]:[{offset:0,opacity:0,transform:v},{offset:1,opacity:1,transform:g}],z=e?[{offset:0,opacity:1,transform:"scale(1)"},{offset:.2,opacity:0,transform:"scale(0.6)"},{offset:1,opacity:0,transform:"scale(0.6)"}]:[{offset:0,opacity:0,transform:"scale(0.6)"},{offset:.6,opacity:0,transform:"scale(0.6)"},{offset:1,opacity:1,transform:"scale(1)"}],C=t(),D=t(),N=t(),O=n("ion-back-button"),S=a(O).querySelector(".button-text"),Z=a(O).querySelector("ion-icon");O.text=r.text,O.mode=r.mode,O.icon=r.icon,O.color=r.color,O.disabled=r.disabled,O.style.setProperty("display","block"),O.style.setProperty("position","fixed"),D.addElement(Z),C.addElement(S),N.addElement(O),N.beforeStyles({position:"absolute",top:"0px",[X]:"0px"}).beforeAddWrite((()=>{r.style.setProperty("display","none"),O.style.setProperty(b,m)})).afterAddWrite((()=>{r.style.setProperty("display",""),O.style.setProperty("display","none"),O.style.removeProperty(b)})).keyframes(A),C.beforeStyles({"transform-origin":`${b} top`}).keyframes(I),D.beforeStyles({"transform-origin":`${y} center`}).keyframes(z),o.addAnimation([C,D,N])},i=(o,a,s,e,r,i,l,f,p)=>{var d,$;const u=a?"right":"left",m=a?`calc(100% - ${r.right}px)`:`${r.left}px`,b=`${r.top}px`;let y=a?`-${window.innerWidth-l.right-8}px`:`${l.x+8}px`,X=.5;const x="scale(1)";let h=`scale(${X})`;if(f&&p){y=a?`-${window.innerWidth-p.right-8}px`:p.x-8+"px";const t=(null===(d=f.textContent)||void 0===d?void 0:d.trim())===(null===($=e.textContent)||void 0===$?void 0:$.trim());X=p.height/(i.height-c),h=t?`scale(${p.width/i.width}, ${X})`:`scale(${X})`}const v=l.top+l.height/2-r.height*X/2+"px",g=s?[{offset:0,opacity:0,transform:`translate3d(${y}, ${v}, 0) ${h}`},{offset:.1,opacity:0},{offset:1,opacity:1,transform:`translate3d(0px, ${b}, 0) ${x}`}]:[{offset:0,opacity:.99,transform:`translate3d(0px, ${b}, 0) ${x}`},{offset:.6,opacity:0},{offset:1,opacity:0,transform:`translate3d(${y}, ${v}, 0) ${h}`}],k=n("ion-title"),w=t();k.innerText=e.innerText,k.size=e.size,k.color=e.color,w.addElement(k),w.beforeStyles({"transform-origin":`${u} top`,height:`${r.height}px`,display:"",position:"relative",[u]:m}).beforeAddWrite((()=>{e.style.setProperty("opacity","0")})).afterAddWrite((()=>{e.style.setProperty("opacity",""),k.style.setProperty("display","none")})).keyframes(g),o.addAnimation(w)},l=(n,l)=>{var c;try{const f="cubic-bezier(0.32,0.72,0,1)",p="opacity",d="transform",$="0%",u=.8,m="rtl"===n.ownerDocument.dir,b=m?"-99.5%":"99.5%",y=m?"33%":"-33%",X=l.enteringEl,x=l.leavingEl,h="back"===l.direction,v=X.querySelector(":scope > ion-content"),g=X.querySelectorAll(":scope > ion-header > *:not(ion-toolbar), :scope > ion-footer > *"),k=X.querySelectorAll(":scope > ion-header > ion-toolbar"),w=t(),j=t();if(w.addElement(X).duration((null!==(c=l.duration)&&void 0!==c?c:0)||540).easing(l.easing||f).fill("both").beforeRemoveClass("ion-page-invisible"),x&&null!=n){const o=t();o.addElement(n),w.addAnimation(o)}if(v||0!==k.length||0!==g.length?(j.addElement(v),j.addElement(g)):j.addElement(X.querySelector(":scope > .ion-page, :scope > ion-nav, :scope > ion-tabs")),w.addAnimation(j),h?j.beforeClearStyles([p]).fromTo("transform",`translateX(${y})`,`translateX(${$})`).fromTo(p,u,1):j.beforeClearStyles([p]).fromTo("transform",`translateX(${b})`,`translateX(${$})`),v){const o=a(v).querySelector(".transition-effect");if(o){const n=o.querySelector(".transition-cover"),a=o.querySelector(".transition-shadow"),s=t(),e=t(),r=t();s.addElement(o).beforeStyles({opacity:"1",display:"block"}).afterStyles({opacity:"",display:""}),e.addElement(n).beforeClearStyles([p]).fromTo(p,0,.1),r.addElement(a).beforeClearStyles([p]).fromTo(p,.03,.7),s.addAnimation([e,r]),j.addAnimation([s])}}const B=X.querySelector("ion-header.header-collapse-condense"),{forward:T,backward:A}=((t,o,n,l,c)=>{const f=e(l,n),p=s(c),d=s(l),$=e(c,n),u=null!==f&&null!==p&&!n,m=null!==d&&null!==$&&n;if(u){const s=p.getBoundingClientRect(),e=f.getBoundingClientRect(),l=a(f).querySelector(".button-text"),c=null==l?void 0:l.getBoundingClientRect(),d=a(p).querySelector(".toolbar-title").getBoundingClientRect();i(t,o,n,p,s,d,e,l,c),r(t,o,n,f,e,l,c,p,d)}else if(m){const s=d.getBoundingClientRect(),e=$.getBoundingClientRect(),l=a($).querySelector(".button-text"),c=null==l?void 0:l.getBoundingClientRect(),f=a(d).querySelector(".toolbar-title").getBoundingClientRect();i(t,o,n,d,s,f,e,l,c),r(t,o,n,$,e,l,c,d,f)}return{forward:u,backward:m}})(w,m,h,X,x);if(k.forEach((o=>{const n=t();n.addElement(o),w.addAnimation(n);const s=t();s.addElement(o.querySelector("ion-title"));const e=t(),r=Array.from(o.querySelectorAll("ion-buttons,[menuToggle]")),i=o.closest("ion-header"),l=null==i?void 0:i.classList.contains("header-collapse-condense-inactive");let c;c=r.filter(h?t=>{const o=t.classList.contains("buttons-collapse");return o&&!l||!o}:t=>!t.classList.contains("buttons-collapse")),e.addElement(c);const f=t();f.addElement(o.querySelectorAll(":scope > *:not(ion-title):not(ion-buttons):not([menuToggle])"));const d=t();d.addElement(a(o).querySelector(".toolbar-background"));const u=t(),X=o.querySelector("ion-back-button");if(X&&u.addElement(X),n.addAnimation([s,e,f,d,u]),e.fromTo(p,.01,1),f.fromTo(p,.01,1),h)l||s.fromTo("transform",`translateX(${y})`,`translateX(${$})`).fromTo(p,.01,1),f.fromTo("transform",`translateX(${y})`,`translateX(${$})`),u.fromTo(p,.01,1);else if(B||s.fromTo("transform",`translateX(${b})`,`translateX(${$})`).fromTo(p,.01,1),f.fromTo("transform",`translateX(${b})`,`translateX(${$})`),d.beforeClearStyles([p,"transform"]),(null==i?void 0:i.translucent)?d.fromTo("transform",m?"translateX(-100%)":"translateX(100%)","translateX(0px)"):d.fromTo(p,.01,"var(--opacity)"),T||u.fromTo(p,.01,1),X&&!T){const o=t();o.addElement(a(X).querySelector(".button-text")).fromTo("transform",m?"translateX(-100px)":"translateX(100px)","translateX(0px)"),n.addAnimation(o)}})),x){const n=t(),s=x.querySelector(":scope > ion-content"),e=x.querySelectorAll(":scope > ion-header > ion-toolbar"),r=x.querySelectorAll(":scope > ion-header > *:not(ion-toolbar), :scope > ion-footer > *");if(s||0!==e.length||0!==r.length?(n.addElement(s),n.addElement(r)):n.addElement(x.querySelector(":scope > .ion-page, :scope > ion-nav, :scope > ion-tabs")),w.addAnimation(n),h){n.beforeClearStyles([p]).fromTo("transform",`translateX(${$})`,m?"translateX(-100%)":"translateX(100%)");const t=o(x);w.afterAddWrite((()=>{"normal"===w.getDirection()&&t.style.setProperty("display","none")}))}else n.fromTo("transform",`translateX(${$})`,`translateX(${y})`).fromTo(p,1,u);if(s){const o=a(s).querySelector(".transition-effect");if(o){const a=o.querySelector(".transition-cover"),s=o.querySelector(".transition-shadow"),e=t(),r=t(),i=t();e.addElement(o).beforeStyles({opacity:"1",display:"block"}).afterStyles({opacity:"",display:""}),r.addElement(a).beforeClearStyles([p]).fromTo(p,.1,0),i.addElement(s).beforeClearStyles([p]).fromTo(p,.7,.03),e.addAnimation([r,i]),n.addAnimation([e])}}e.forEach((o=>{const n=t();n.addElement(o);const s=t();s.addElement(o.querySelector("ion-title"));const e=t(),r=o.querySelectorAll("ion-buttons,[menuToggle]"),i=o.closest("ion-header"),l=null==i?void 0:i.classList.contains("header-collapse-condense-inactive"),c=Array.from(r).filter((t=>{const o=t.classList.contains("buttons-collapse");return o&&!l||!o}));e.addElement(c);const f=t(),u=o.querySelectorAll(":scope > *:not(ion-title):not(ion-buttons):not([menuToggle])");u.length>0&&f.addElement(u);const b=t();b.addElement(a(o).querySelector(".toolbar-background"));const X=t(),x=o.querySelector("ion-back-button");if(x&&X.addElement(x),n.addAnimation([s,e,f,X,b]),w.addAnimation(n),X.fromTo(p,.99,0),e.fromTo(p,.99,0),f.fromTo(p,.99,0),h){if(l||s.fromTo("transform",`translateX(${$})`,m?"translateX(-100%)":"translateX(100%)").fromTo(p,.99,0),f.fromTo("transform",`translateX(${$})`,m?"translateX(-100%)":"translateX(100%)"),b.beforeClearStyles([p,"transform"]),(null==i?void 0:i.translucent)?b.fromTo("transform","translateX(0px)",m?"translateX(-100%)":"translateX(100%)"):b.fromTo(p,"var(--opacity)",0),x&&!A){const o=t();o.addElement(a(x).querySelector(".button-text")).fromTo("transform",`translateX(${$})`,`translateX(${(m?-124:124)+"px"})`),n.addAnimation(o)}}else l||s.fromTo("transform",`translateX(${$})`,`translateX(${y})`).fromTo(p,.99,0).afterClearStyles([d,p]),f.fromTo("transform",`translateX(${$})`,`translateX(${y})`).afterClearStyles([d,p]),X.afterClearStyles([p]),s.afterClearStyles([p]),e.afterClearStyles([p])}))}return w}catch(t){throw t}},c=10;export{l as iosTransitionAnimation,a as shadow}
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * (C) Ionic http://ionicframework.com - MIT License
3
+ */
4
+ import{e as n,f as e,w as i,B as a}from"./p-BVGHdIB3.js";import{r as o}from"./p-Dbxeiy79.js";const r="ionViewWillEnter",t="ionViewDidEnter",s="ionViewWillLeave",c="ionViewDidLeave",l="ionViewWillUnload",u=n=>{n.tabIndex=-1,n.focus()},d=n=>null!==n.offsetParent,f="ion-last-focus",p=e=>{if(n.get("focusManagerPriority",!1)){const n=document.activeElement;null!==n&&(null==e?void 0:e.contains(n))&&n.setAttribute(f,"true")}},w=i=>{const a=n.get("focusManagerPriority",!1);if(Array.isArray(a)&&!i.contains(document.activeElement)){const n=i.querySelector(`[${f}]`);if(n&&d(n))return void u(n);for(const n of a)switch(n){case"content":const a=i.querySelector('main, [role="main"]');if(a&&d(a))return void u(a);break;case"heading":const o=i.querySelector('h1, [role="heading"][aria-level="1"]');if(o&&d(o))return void u(o);break;case"banner":const r=i.querySelector('header, [role="banner"]');if(r&&d(r))return void u(r);break;default:e(`Unrecognized focus manager priority value ${n}`)}u(i)}},v=n=>new Promise(((e,a)=>{i((()=>{const i=I(n);m(n,i),b(n).then((i=>{i.animation&&i.animation.destroy(),g(n),e(i)}),(e=>{g(n),a(e)})).finally((()=>{M(i,!1)}))}))})),m=(n,e)=>{const i=n.enteringEl,a=n.leavingEl;p(a),L(i,a,n.direction),M(e,!0),n.showGoBack?i.classList.add("can-go-back"):i.classList.remove("can-go-back"),E(i,!1),i.style.setProperty("pointer-events","none"),a&&(E(a,!1),a.style.setProperty("pointer-events","none"))},b=async n=>{const e=await y(n);return e&&a.isBrowser?h(e,n):P(n)},g=n=>{const e=n.enteringEl,i=n.leavingEl;e.classList.remove("ion-page-invisible"),e.style.removeProperty("pointer-events"),void 0!==i&&(i.classList.remove("ion-page-invisible"),i.style.removeProperty("pointer-events")),w(e)},y=async n=>{if(n.leavingEl&&n.animated&&0!==n.duration)return n.animationBuilder?n.animationBuilder:"ios"===n.mode?(await import("./p-ATCRWepI.js")).iosTransitionAnimation:(await import("./p-Dfqg5sCT.js")).mdTransitionAnimation},h=async(n,e)=>{await k(e,!0);const i=n(e.baseEl,e);j(e.enteringEl,e.leavingEl);const a=await C(i,e);return e.progressCallback&&e.progressCallback(void 0),a&&D(e.enteringEl,e.leavingEl),{hasCompleted:a,animation:i}},P=async e=>{const i=e.enteringEl,a=e.leavingEl,o=n.get("focusManagerPriority",!1);return await k(e,o),j(i,a),D(i,a),{hasCompleted:!0}},k=async(n,e)=>{(void 0!==n.deepWait?n.deepWait:e)&&await Promise.all([B(n.enteringEl),B(n.leavingEl)]),await V(n.viewIsReady,n.enteringEl)},V=async(n,e)=>{n&&await n(e)},C=(n,e)=>{const i=e.progressCallback,a=new Promise((e=>{n.onFinish((n=>e(1===n)))}));return i?(n.progressStart(!0),i(n)):n.play(),a},j=(n,e)=>{W(e,s),W(n,r)},D=(n,e)=>{W(n,t),W(e,c)},W=(n,e)=>{if(n){const i=new CustomEvent(e,{bubbles:!1,cancelable:!1});n.dispatchEvent(i)}},A=()=>new Promise((n=>o((()=>o((()=>n())))))),B=async n=>{const e=n;if(e){if(null!=e.componentOnReady){if(null!=await e.componentOnReady())return}else if(null!=e.__registerHost){const n=new Promise((n=>o(n)));return void await n}await Promise.all(Array.from(e.children).map(B))}},E=(n,e)=>{e?(n.setAttribute("aria-hidden","true"),n.classList.add("ion-page-hidden")):(n.hidden=!1,n.removeAttribute("aria-hidden"),n.classList.remove("ion-page-hidden"))},L=(n,e,i)=>{void 0!==n&&(n.style.zIndex="back"===i?"99":"101"),void 0!==e&&(e.style.zIndex="100")},M=(n,e)=>{if(!n)return;const i="header-transitioning";e?n.classList.add(i):n.classList.remove(i)},x=n=>{if(n.classList.contains("ion-page"))return n;return n.querySelector(":scope > .ion-page, :scope > ion-nav, :scope > ion-tabs")||n},I=n=>{if("ios"!==n.mode)return null;const e="back"===n.direction?n.leavingEl:n.enteringEl;return e?e.querySelector("ion-header"):null};export{r as L,t as a,s as b,c,l as d,B as e,x as g,W as l,E as s,v as t,A as w}
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * (C) Ionic http://ionicframework.com - MIT License
3
+ */
4
+ import{a as o,w as s}from"./p-BVGHdIB3.js";import{f as t,s as r}from"./p-0FumIF4F.js";import{c as a}from"./p-Dbxeiy79.js";const n=()=>{const n=window;n.addEventListener("statusTap",(()=>{o((()=>{const o=document.elementFromPoint(n.innerWidth/2,n.innerHeight/2);if(!o)return;const e=t(o);e&&new Promise((o=>a(e,o))).then((()=>{s((async()=>{e.style.setProperty("--overflow","hidden"),await r(e,300),e.style.removeProperty("--overflow")}))}))}))}))};export{n as startStatusTap}
@@ -0,0 +1,5 @@
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,e){const n=this.m.get(t);return void 0!==n?n:e}getBoolean(t,e=!1){const n=this.m.get(t);return void 0===n?e:"string"==typeof n?"true"===n:!!n}getNumber(t,e){const n=parseFloat(this.m.get(t));return isNaN(n)?void 0!==e?e:NaN:n}set(t,e){this.m.set(t,e)}}const e=new t,n=t=>{try{const e=t.sessionStorage.getItem(r);return null!==e?JSON.parse(e):{}}catch(t){return{}}},o=(t,e)=>{try{t.sessionStorage.setItem(r,JSON.stringify(e))}catch(t){return}},s=t=>{const e={};return t.location.search.slice(1).split("&").map((t=>t.split("="))).map((([t,e])=>{try{return[decodeURIComponent(t),decodeURIComponent(e)]}catch(t){return["",""]}})).filter((([t])=>l(t,i))).map((([t,e])=>[t.slice(i.length),e])).forEach((([t,n])=>{e[t]=n})),e},l=(t,e)=>t.substr(0,e.length)===e,i="ionic:",r="ionic-persist-config";var c;!function(t){t.OFF="OFF",t.ERROR="ERROR",t.WARN="WARN"}(c||(c={}));const u=(t,...n)=>{const o=e.get("logLevel",c.WARN);if([c.WARN].includes(o))return console.warn("[Ionic Warning]: "+t,...n)},f=(t,...n)=>{const o=e.get("logLevel",c.ERROR);if([c.ERROR,c.WARN].includes(o))return console.error("[Ionic Error]: "+t,...n)},a=(t,...e)=>console.error(`<${t.tagName.toLowerCase()}> must be used inside ${e.join(" or ")}.`);var d=Object.defineProperty,h={isBrowser:!0},v=(t=>(t.Undefined="undefined",t.Null="null",t.String="string",t.Number="number",t.SpecialNumber="number",t.Boolean="boolean",t.BigInt="bigint",t))(v||{}),p=(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))(p||{}),b="type",$="value",m="serialized:",g=(t,e)=>{var n;Object.entries(null!=(n=e.o.t)?n:{}).map((([n,[o]])=>{if(31&o||32&o){const o=t[n],s=function(t,e){for(;t;){const n=Object.getOwnPropertyDescriptor(t,e);if(null==n?void 0:n.get)return n;t=Object.getPrototypeOf(t)}}(Object.getPrototypeOf(t),n)||Object.getOwnPropertyDescriptor(t,n);s&&Object.defineProperty(t,n,{get(){return s.get.call(this)},set(t){s.set.call(this,t)},configurable:!0,enumerable:!0}),t[n]=e.l.has(n)?e.l.get(n):o}}))},y=t=>{if(t.__stencil__getHostRef)return t.__stencil__getHostRef()},w=(t,e)=>{e&&(t.__stencil__getHostRef=()=>e,e.i=t,512&e.o.u&&g(t,e))},j=(t,e)=>e in t,O=(t,e)=>(0,console.error)(t,e),S=new Map,N=new Map,x=[],E="s-id",k="sty-id",C="c-id",R="slot-fb{display:contents}slot-fb[hidden]{display:none}",I="http://www.w3.org/1999/xlink",M="undefined"!=typeof window?window:{},L=M.HTMLElement||class{},A={u:0,h:"",jmp:t=>t(),raf:t=>requestAnimationFrame(t),ael:(t,e,n,o)=>t.addEventListener(e,n,o),rel:(t,e,n,o)=>t.removeEventListener(e,n,o),ce:(t,e)=>new CustomEvent(t,e)},B=t=>Promise.resolve(t),F=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(t){}return!1})(),T=!!F&&(()=>!!M.document&&Object.getOwnPropertyDescriptor(M.document.adoptedStyleSheets,"length").writable)(),U=!1,P=[],W=[],_=(t,e)=>n=>{t.push(n),U||(U=!0,e&&4&A.u?z(V):A.raf(V))},D=t=>{for(let e=0;e<t.length;e++)try{t[e](performance.now())}catch(t){O(t)}t.length=0},V=()=>{D(P),D(W),(U=P.length>0)&&A.raf(V)},z=t=>B().then(t),q=_(P,!1),H=_(W,!0),J=t=>{const e=new URL(t,A.h);return e.origin!==M.location.origin?e.href:e.pathname},Y=t=>"object"==(t=typeof t)||"function"===t;function G(t){var e,n,o;return null!=(o=null==(n=null==(e=t.head)?void 0:e.querySelector('meta[name="csp-nonce"]'))?void 0:n.getAttribute("content"))?o:void 0}var K=class t{static fromLocalValue(e){const n=e[b],o=$ in e?e[$]:void 0;switch(n){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((e=>t.fromLocalValue(e)));case"date":return new Date(o);case"map":const e=new Map;for(const[n,s]of o){const o="object"==typeof n&&null!==n?t.fromLocalValue(n):n,l=t.fromLocalValue(s);e.set(o,l)}return e;case"object":const s={};for(const[e,n]of o)s[e]=t.fromLocalValue(n);return s;case"regexp":const{pattern:l,flags:i}=o;return RegExp(l,i);case"set":const r=new Set;for(const e of o)r.add(t.fromLocalValue(e));return r;case"symbol":return Symbol(o);default:throw Error("Unsupported type: "+n)}}static fromLocalValueArray(e){return e.map((e=>t.fromLocalValue(e)))}static isLocalValueObject(t){if("object"!=typeof t||null===t)return!1;if(!t.hasOwnProperty(b))return!1;const e=t[b];return!!Object.values({...v,...p}).includes(e)&&("null"===e||"undefined"===e||t.hasOwnProperty($))}};((t,e)=>{for(var n in e)d(t,n,{get:e[n],enumerable:!0})})({},{err:()=>X,map:()=>Z,ok:()=>Q,unwrap:()=>et,unwrapErr:()=>nt});var Q=t=>({isOk:!0,isErr:!1,value:t}),X=t=>({isOk:!1,isErr:!0,value:t});function Z(t,e){if(t.isOk){const n=e(t.value);return n instanceof Promise?n.then((t=>Q(t))):Q(n)}if(t.isErr)return X(t.value);throw"should never get here"}var tt,et=t=>{if(t.isOk)return t.value;throw t.value},nt=t=>{if(t.isErr)return t.value;throw t.value};function ot(t){const e=this.attachShadow({mode:"open",delegatesFocus:!!(16&t.u)});void 0===tt&&(tt=null),tt&&(T?e.adoptedStyleSheets.push(tt):e.adoptedStyleSheets=[...e.adoptedStyleSheets,tt])}var st=t=>{const e=At(t,"childNodes");t.tagName&&t.tagName.includes("-")&&t["s-cr"]&&"SLOT-FB"!==t.tagName&&it(e,t.tagName).forEach((t=>{1===t.nodeType&&"SLOT-FB"===t.tagName&&(t.hidden=!!rt(t,ft(t),!1).length)}));let n=0;for(n=0;n<e.length;n++){const t=e[n];1===t.nodeType&&At(t,"childNodes").length&&st(t)}},lt=t=>{const e=[];for(let n=0;n<t.length;n++){const o=t[n]["s-nr"]||void 0;o&&o.isConnected&&e.push(o)}return e};function it(t,e,n){let o,s=0,l=[];for(;s<t.length;s++){if(o=t[s],o["s-sr"]&&(!e||o["s-hn"]===e)&&(void 0===n||ft(o)===n)&&(l.push(o),void 0!==n))return l;l=[...l,...it(o.childNodes,e,n)]}return l}var rt=(t,e,n=!0)=>{const o=[];(n&&t["s-sr"]||!t["s-sr"])&&o.push(t);let s=t;for(;s=s.nextSibling;)ft(s)!==e||!n&&s["s-sr"]||o.push(s);return o},ct=(t,e)=>1===t.nodeType?null===t.getAttribute("slot")&&""===e||t.getAttribute("slot")===e:t["s-sn"]===e||""===e,ut=(t,e,n,o)=>{if(t["s-ol"]&&t["s-ol"].isConnected)return;const s=document.createTextNode("");if(s["s-nr"]=t,!e["s-cr"]||!e["s-cr"].parentNode)return;const l=e["s-cr"].parentNode,i=At(l,n?"prepend":"appendChild");if(void 0!==o){s["s-oo"]=o;const t=At(l,"childNodes"),e=[s];t.forEach((t=>{t["s-nr"]&&e.push(t)})),e.sort(((t,e)=>!t["s-oo"]||t["s-oo"]<(e["s-oo"]||0)?-1:!e["s-oo"]||e["s-oo"]<t["s-oo"]?1:0)),e.forEach((t=>i.call(l,t)))}else i.call(l,s);t["s-ol"]=s,t["s-sh"]=e["s-hn"]},ft=t=>"string"==typeof t["s-sn"]?t["s-sn"]:1===t.nodeType&&t.getAttribute("slot")||void 0;function at(t){if(t.assignedElements||t.assignedNodes||!t["s-sr"])return;const e=e=>function(t){const n=[],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:lt(s.childNodes)).forEach((t=>{o===ft(t)&&n.push(t)})),e?n.filter((t=>1===t.nodeType)):n}.bind(t);t.assignedElements=e(!0),t.assignedNodes=e(!1)}function dt(t){t.dispatchEvent(new CustomEvent("slotchange",{bubbles:!1,cancelable:!1,composed:!1}))}function ht(t,e){var n;if(!(e=e||(null==(n=t["s-ol"])?void 0:n.parentElement)))return{slotNode:null,slotName:""};const o=t["s-sn"]=ft(t)||"";return{slotNode:it(At(e,"childNodes"),e.tagName,o)[0],slotName:o}}var vt=t=>{const e=t.cloneNode;t.cloneNode=function(t){const n=this.shadowRoot&&true,o=e.call(this,!!n&&t);if(!n&&t){let t,e,n=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(;n<l.length;n++)t=l[n]["s-nr"],e=s.every((t=>!l[n][t])),t&&(o.__appendChild?o.__appendChild(t.cloneNode(!0)):o.appendChild(t.cloneNode(!0))),e&&o.appendChild(l[n].cloneNode(!0))}return o}},pt=t=>{t.__appendChild=t.appendChild,t.appendChild=function(t){const{slotName:e,slotNode:n}=ht(t,this);if(n){ut(t,n);const o=rt(n,e),s=o[o.length-1],l=At(s,"parentNode"),i=At(l,"insertBefore")(t,s.nextSibling);return dt(n),st(this),i}return this.__appendChild(t)}},bt=t=>{t.__removeChild=t.removeChild,t.removeChild=function(t){return t&&void 0!==t["s-sn"]&&it(this.__childNodes||this.childNodes,this.tagName,t["s-sn"])&&t.isConnected?(t.remove(),void st(this)):this.__removeChild(t)}},$t=t=>{t.__prepend=t.prepend,t.prepend=function(...e){e.forEach((e=>{"string"==typeof e&&(e=this.ownerDocument.createTextNode(e));const n=(e["s-sn"]=ft(e))||"",o=it(At(this,"childNodes"),this.tagName,n)[0];if(o){ut(e,o,!0);const t=rt(o,n)[0],s=At(t,"parentNode"),l=At(s,"insertBefore")(e,At(t,"nextSibling"));return dt(o),l}return 1===e.nodeType&&e.getAttribute("slot")&&(e.hidden=!0),t.__prepend(e)}))}},mt=t=>{t.__append=t.append,t.append=function(...t){t.forEach((t=>{"string"==typeof t&&(t=this.ownerDocument.createTextNode(t)),this.appendChild(t)}))}},gt=t=>{const e=t.insertAdjacentHTML;t.insertAdjacentHTML=function(t,n){if("afterbegin"!==t&&"beforeend"!==t)return e.call(this,t,n);const o=this.ownerDocument.createElement("_");let s;if(o.innerHTML=n,"afterbegin"===t)for(;s=o.firstChild;)this.prepend(s);else if("beforeend"===t)for(;s=o.firstChild;)this.append(s)}},yt=t=>{t.insertAdjacentText=function(t,e){this.insertAdjacentHTML(t,e)}},wt=t=>{t.__insertBefore||(t.__insertBefore=t.insertBefore,t.insertBefore=function(t,e){const{slotName:n,slotNode:o}=ht(t,this),s=this.__childNodes?this.childNodes:lt(this.childNodes);if(o){let l=!1;if(s.forEach((s=>{if(s!==e&&null!==e);else{if(l=!0,null===e||n!==e["s-sn"])return void this.appendChild(t);if(n===e["s-sn"]){ut(t,o);const n=At(e,"parentNode");At(n,"insertBefore")(t,e),dt(o)}}})),l)return t}const l=null==e?void 0:e.__parentNode;return l&&!this.isSameNode(l)?this.appendChild(t):this.__insertBefore(t,e)})},jt=t=>{const e=t.insertAdjacentElement;t.insertAdjacentElement=function(t,n){return"afterbegin"!==t&&"beforeend"!==t?e.call(this,t,n):"afterbegin"===t?(this.prepend(n),n):"beforeend"===t?(this.append(n),n):n}},Ot=t=>{Lt("textContent",t),Object.defineProperty(t,"textContent",{get:function(){let t="";return(this.__childNodes?this.childNodes:lt(this.childNodes)).forEach((e=>t+=e.textContent||"")),t},set:function(t){(this.__childNodes?this.childNodes:lt(this.childNodes)).forEach((t=>{t["s-ol"]&&t["s-ol"].remove(),t.remove()})),this.insertAdjacentHTML("beforeend",t)}})},St=t=>{class e extends Array{item(t){return this[t]}}Lt("children",t),Object.defineProperty(t,"children",{get(){return this.childNodes.filter((t=>1===t.nodeType))}}),Object.defineProperty(t,"childElementCount",{get(){return this.children.length}}),Lt("firstChild",t),Object.defineProperty(t,"firstChild",{get(){return this.childNodes[0]}}),Lt("lastChild",t),Object.defineProperty(t,"lastChild",{get(){return this.childNodes[this.childNodes.length-1]}}),Lt("childNodes",t),Object.defineProperty(t,"childNodes",{get(){const t=new e;return t.push(...lt(this.__childNodes)),t}})},Nt=t=>{t&&void 0===t.__nextSibling&&globalThis.Node&&(xt(t),kt(t),Rt(t),t.nodeType===Node.ELEMENT_NODE&&(Et(t),Ct(t)))},xt=t=>{t&&!t.__nextSibling&&(Lt("nextSibling",t),Object.defineProperty(t,"nextSibling",{get:function(){var t;const e=null==(t=this["s-ol"])?void 0:t.parentNode.childNodes,n=null==e?void 0:e.indexOf(this);return e&&n>-1?e[n+1]:this.__nextSibling}}))},Et=t=>{t&&!t.__nextElementSibling&&(Lt("nextElementSibling",t),Object.defineProperty(t,"nextElementSibling",{get:function(){var t;const e=null==(t=this["s-ol"])?void 0:t.parentNode.children,n=null==e?void 0:e.indexOf(this);return e&&n>-1?e[n+1]:this.__nextElementSibling}}))},kt=t=>{t&&!t.__previousSibling&&(Lt("previousSibling",t),Object.defineProperty(t,"previousSibling",{get:function(){var t;const e=null==(t=this["s-ol"])?void 0:t.parentNode.childNodes,n=null==e?void 0:e.indexOf(this);return e&&n>-1?e[n-1]:this.__previousSibling}}))},Ct=t=>{t&&!t.__previousElementSibling&&(Lt("previousElementSibling",t),Object.defineProperty(t,"previousElementSibling",{get:function(){var t;const e=null==(t=this["s-ol"])?void 0:t.parentNode.children,n=null==e?void 0:e.indexOf(this);return e&&n>-1?e[n-1]:this.__previousElementSibling}}))},Rt=t=>{t&&!t.__parentNode&&(Lt("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}}))},It=["children","nextElementSibling","previousElementSibling"],Mt=["childNodes","firstChild","lastChild","nextSibling","previousSibling","textContent","parentNode"];function Lt(t,e){if(!globalThis.Node||!globalThis.Element)return;let n;It.includes(t)?n=Object.getOwnPropertyDescriptor(Element.prototype,t):Mt.includes(t)&&(n=Object.getOwnPropertyDescriptor(Node.prototype,t)),n||(n=Object.getOwnPropertyDescriptor(e,t)),n&&Object.defineProperty(e,"__"+t,n)}function At(t,e){if("__"+e in t){const n=t["__"+e];return"function"!=typeof n?n:n.bind(t)}return"function"!=typeof t[e]?t[e]:t[e].bind(t)}var Bt=new WeakMap,Ft=(t,e,n)=>{let o=N.get(t);F&&n?(o=o||new CSSStyleSheet,"string"==typeof o?o=e:o.replaceSync(e)):o=e,N.set(t,o)},Tt=(t,e,n)=>{var o;const s=Ut(e,n),l=N.get(s);if(!M.document)return s;if(t=11===t.nodeType?t:M.document,l)if("string"==typeof l){let n,i=Bt.get(t=t.head||t);if(i||Bt.set(t,i=new Set),!i.has(s)){if(t.host&&(n=t.querySelector(`[${k}="${s}"]`)))n.innerHTML=l;else{n=M.document.createElement("style"),n.innerHTML=l;const s=null!=(o=A.v)?o:G(M.document);if(null!=s&&n.setAttribute("nonce",s),!(1&e.u))if("HEAD"===t.nodeName){const e=t.querySelectorAll("link[rel=preconnect]"),o=e.length>0?e[e.length-1].nextSibling:t.querySelector("style");t.insertBefore(n,(null==o?void 0:o.parentNode)===t?o:null)}else if("host"in t)if(F){const e=new CSSStyleSheet;e.replaceSync(l),T?t.adoptedStyleSheets.unshift(e):t.adoptedStyleSheets=[e,...t.adoptedStyleSheets]}else{const e=t.querySelector("style");e?e.innerHTML=l+e.innerHTML:t.prepend(n)}else t.append(n);1&e.u&&t.insertBefore(n,null)}4&e.u&&(n.innerHTML+=R),i&&i.add(s)}}else t.adoptedStyleSheets.includes(l)||(T?t.adoptedStyleSheets.push(l):t.adoptedStyleSheets=[...t.adoptedStyleSheets,l]);return s},Ut=(t,e)=>"sc-"+(e&&32&t.u?t.p+"-"+e:t.p),Pt=t=>t.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g,"$1{"),Wt=(t,e,...n)=>{let o=null,s=null,l=null,i=!1,r=!1;const c=[],u=e=>{for(let n=0;n<e.length;n++)o=e[n],Array.isArray(o)?u(o):null!=o&&"boolean"!=typeof o&&((i="function"!=typeof t&&!Y(o))&&(o+=""),i&&r?c[c.length-1].$+=o:c.push(i?_t(null,o):o),r=i)};if(u(n),e){e.key&&(s=e.key),e.name&&(l=e.name);{const t=e.className||e.class;t&&(e.class="object"!=typeof t?t:Object.keys(t).filter((e=>t[e])).join(" "))}}if("function"==typeof t)return t(null===e?{}:e,c,Vt);const f=_t(t,null);return f.j=e,c.length>0&&(f.O=c),f.S=s,f.N=l,f},_t=(t,e)=>({u:0,k:t,$:e,C:null,O:null,j:null,S:null,N:null}),Dt={},Vt={forEach:(t,e)=>t.map(zt).forEach(e),map:(t,e)=>t.map(zt).map(e).map(qt)},zt=t=>({vattrs:t.j,vchildren:t.O,vkey:t.S,vname:t.N,vtag:t.k,vtext:t.$}),qt=t=>{if("function"==typeof t.vtag){const e={...t.vattrs};return t.vkey&&(e.key=t.vkey),t.vname&&(e.name=t.vname),Wt(t.vtag,e,...t.vchildren||[])}const e=_t(t.vtag,t.vtext);return e.j=t.vattrs,e.O=t.vchildren,e.S=t.vkey,e.N=t.vname,e},Ht=(t,e,n,o,s,l,i,r=[])=>{let c,u,f,a;const d=s["s-sc"];if(1===l.nodeType){if(c=l.getAttribute(C),c&&(u=c.split("."),u[0]===i||"0"===u[0])){f=Yt({u:0,R:u[0],I:u[1],M:u[2],L:u[3],k:l.tagName.toLowerCase(),C:l,j:{class:l.className||""}}),e.push(f),l.removeAttribute(C),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&&(Gt(s,u[2],f,l,t,e,n,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.M&&(o[f.L]=f.C)}if(l.shadowRoot)for(a=l.shadowRoot.childNodes.length-1;a>=0;a--)Ht(t,e,n,o,s,l.shadowRoot.childNodes[a],i,r);const h=l.__childNodes||l.childNodes;for(a=h.length-1;a>=0;a--)Ht(t,e,n,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=Yt({R:u[1],I:u[2],M:u[3],L:u[4]||"0",C:l,j:null,O:null,S:null,N:null,k:null,$:null}),"t"===c?(f.C=Qt(l,3),f.C&&3===f.C.nodeType&&(f.$=f.C.textContent,e.push(f),l.remove(),i===f.R&&(t.O||(t.O=[]),t.O[f.L]=f),o&&"0"===f.M&&(o[f.L]=f.C))):"c"===c?(f.C=Qt(l,8),f.C&&8===f.C.nodeType&&(e.push(f),l.remove())):f.R===i&&("s"===c?Gt(l["s-sn"]=u[5]||"",u[2],f,l,t,e,n,o,r):"r"===c&&(o?l.remove():(s["s-cr"]=l,l["s-cn"]=!0))));else if(t&&"style"===t.k){const e=_t(null,l.textContent);e.C=l,e.L="0",t.O=[e]}else 3!==l.nodeType||l.wholeText.trim()||l["s-nr"]||l.remove();return t},Jt=(t,e)=>{if(1===t.nodeType){const n=t[E]||t.getAttribute(E);n&&e.set(n,t);let o=0;if(t.shadowRoot)for(;o<t.shadowRoot.childNodes.length;o++)Jt(t.shadowRoot.childNodes[o],e);const s=t.__childNodes||t.childNodes;for(o=0;o<s.length;o++)Jt(s[o],e)}else if(8===t.nodeType){const n=t.nodeValue.split(".");"o"===n[0]&&(e.set(n[1]+"."+n[2],t),t.nodeValue="",t["s-en"]=n[3])}},Yt=t=>({u:0,R:null,I:null,M:null,L:"0",C:null,j:null,O:null,S:null,N:null,k:null,$:null,...t});function Gt(t,e,n,o,s,l,i,r,c){o["s-sr"]=!0,n.N=t||null,n.k="slot";const u=(null==s?void 0:s.C)?s.C["s-id"]||s.C.getAttribute("s-id"):"";if(r&&M.document){const l=n.C=M.document.createElement(n.k);n.N&&n.C.setAttribute("name",t),s.C.shadowRoot&&u&&u!==n.R?At(s.C,"insertBefore")(l,At(s.C,"children")[0]):At(At(o,"parentNode"),"insertBefore")(l,o),Kt(c,e,t,o,n.R),o.remove(),"0"===n.M&&(r[n.L]=n.C)}else{const l=n.C,i=u&&u!==n.R&&s.C.shadowRoot;Kt(c,e,t,o,i?u:n.R),at(o),i&&s.C.insertBefore(l,s.C.children[0])}l.push(n),i.push(n),s.O||(s.O=[]),s.O[n.L]=n}var Kt=(t,e,n,o,s)=>{var l,i;let r=o.nextSibling;if(t[e]=t[e]||[],r&&!(null==(l=r.nodeValue)?void 0:l.startsWith("s.")))do{!r||(r.getAttribute&&r.getAttribute("slot")||r["s-sn"])!==n&&(""!==n||r["s-sn"]||r.getAttribute&&r.getAttribute("slot")||8!==r.nodeType&&3!==r.nodeType)||(r["s-sn"]=n,t[e].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.")))},Qt=(t,e)=>{let n=t;do{n=n.nextSibling}while(n&&(n.nodeType!==e||!n.nodeValue));return n},Xt=t=>{const e=(t=>t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"))(t);return RegExp(`(^|[^@]|@(?!supports\\s+selector\\s*\\([^{]*?${e}))(${e}\\b)`,"g")};Xt("::slotted"),Xt(":host"),Xt(":host-context");var Zt,te,ee,ne=t=>x.push(t),oe=t=>{var e;return null==(e=y(t))?void 0:e.A},se=(t,e)=>"string"==typeof t&&t.startsWith(m)?t=function(t){return"string"==typeof t&&t.startsWith(m)?K.fromLocalValue(JSON.parse(atob(t.slice(11)))):t}(t):null==t||Y(t)?t:4&e?"false"!==t&&(""===t||!!t):2&e?"string"==typeof t?parseFloat(t):"number"==typeof t?t:NaN:1&e?t+"":t,le=t=>{var e;return null==(e=y(t))?void 0:e.$hostElement$},ie=(t,e,n)=>{const o=le(t);return{emit:t=>re(o,e,{bubbles:!!(4&n),composed:!!(2&n),cancelable:!!(1&n),detail:t})}},re=(t,e,n)=>{const o=A.ce(e,n);return t.dispatchEvent(o),o},ce=(t,e,n,o,s,l,i)=>{if(n===o)return;let r=j(t,e),c=e.toLowerCase();if("class"===e){const e=t.classList,s=fe(n);let l=fe(o);if((t["s-si"]||t["s-sc"])&&i){const n=t["s-sc"]||t["s-si"];l.push(n),s.forEach((t=>{t.startsWith(n)&&l.push(t)})),l=[...new Set(l)].filter((t=>t)),e.add(...l)}else e.remove(...s.filter((t=>t&&!l.includes(t)))),e.add(...l.filter((t=>t&&!s.includes(t))))}else if("style"===e){for(const e in n)o&&null!=o[e]||(e.includes("-")?t.style.removeProperty(e):t.style[e]="");for(const e in o)n&&o[e]===n[e]||(e.includes("-")?t.style.setProperty(e,o[e]):t.style[e]=o[e])}else if("key"===e);else if("ref"===e)o&&o(t);else if(r||"o"!==e[0]||"n"!==e[1]){const i=Y(o);if((r||i&&null!==o)&&!s)try{if(t.tagName.includes("-"))t[e]!==o&&(t[e]=o);else{const s=null==o?"":o;"list"===e?r=!1:null!=n&&t[e]==s||("function"==typeof t.__lookupSetter__(e)?t[e]=s:t.setAttribute(e,s))}}catch(t){}let u=!1;c!==(c=c.replace(/^xlink\:?/,""))&&(e=c,u=!0),null==o||!1===o?!1===o&&""!==t.getAttribute(e)||(u?t.removeAttributeNS(I,e):t.removeAttribute(e)):(!r||4&l||s)&&!i&&1===t.nodeType&&(o=!0===o?"":o,u?t.setAttributeNS(I,e,o):t.setAttribute(e,o))}else if(e="-"===e[2]?e.slice(3):j(M,c)?c.slice(2):c[2]+e.slice(3),n||o){const s=e.endsWith(ae);e=e.replace(de,""),n&&A.rel(t,e,n,s),o&&A.ael(t,e,o,s)}},ue=/\s/,fe=t=>("object"==typeof t&&t&&"baseVal"in t&&(t=t.baseVal),t&&"string"==typeof t?t.split(ue):[]),ae="Capture",de=RegExp(ae+"$"),he=(t,e,n,o)=>{const s=11===e.C.nodeType&&e.C.host?e.C.host:e.C,l=t&&t.j||{},i=e.j||{};for(const t of ve(Object.keys(l)))t in i||ce(s,t,l[t],void 0,n,e.u,o);for(const t of ve(Object.keys(i)))ce(s,t,l[t],i[t],n,e.u,o)};function ve(t){return t.includes("ref")?[...t.filter((t=>"ref"!==t)),"ref"]:t}var pe=!1,be=!1,$e=!1,me=!1,ge=(t,e,n)=>{var o;const s=e.O[n];let l,i,r,c=0;if(pe||($e=!0,"slot"===s.k&&(s.u|=s.O?2:1)),null!==s.$)l=s.C=M.document.createTextNode(s.$);else if(1&s.u)l=s.C=M.document.createTextNode(""),he(null,s,me);else{if(me||(me="svg"===s.k),!M.document)throw Error("You are trying to render a Stencil component in an environment that doesn't support the DOM. Make sure to populate the [`window`](https://developer.mozilla.org/en-US/docs/Web/API/Window/window) object before rendering a component.");if(l=s.C=M.document.createElementNS(me?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",!pe&&2&s.u?"slot-fb":s.k),me&&"foreignObject"===s.k&&(me=!1),he(null,s,me),null!=Zt&&void 0!==Zt&&l["s-si"]!==Zt&&l.classList.add(l["s-si"]=Zt),s.O)for(c=0;c<s.O.length;++c)i=ge(t,s,c),i&&l.appendChild(i);"svg"===s.k?me=!1:"foreignObject"===l.tagName&&(me=!0)}return l["s-hn"]=ee,3&s.u&&(l["s-sr"]=!0,l["s-cr"]=te,l["s-sn"]=s.N||"",l["s-rf"]=null==(o=s.j)?void 0:o.ref,at(l),r=t&&t.O&&t.O[n],r&&r.k===s.k&&t.C&&ye(t.C),Ie(te,l,e.C,null==t?void 0:t.C)),l},ye=t=>{A.u|=1;const e=t.closest(ee.toLowerCase());if(null!=e){const n=Array.from(e.__childNodes||e.childNodes).find((t=>t["s-cr"])),o=Array.from(t.__childNodes||t.childNodes);for(const t of n?o.reverse():o)null!=t["s-sh"]&&(Re(e,t,null!=n?n:null),t["s-sh"]=void 0,$e=!0)}A.u&=-2},we=(t,e)=>{A.u|=1;const n=Array.from(t.__childNodes||t.childNodes);if(t["s-sr"]){let e=t;for(;e=e.nextSibling;)e&&e["s-sn"]===t["s-sn"]&&e["s-sh"]===ee&&n.push(e)}for(let t=n.length-1;t>=0;t--){const o=n[t];o["s-hn"]!==ee&&o["s-ol"]&&(Re(Ne(o).parentNode,o,Ne(o)),o["s-ol"].remove(),o["s-ol"]=void 0,o["s-sh"]=void 0,$e=!0),e&&we(o,e)}A.u&=-2},je=(t,e,n,o,s,l)=>{let i,r=t["s-cr"]&&t["s-cr"].parentNode||t;for(r.shadowRoot&&r.tagName===ee&&(r=r.shadowRoot);s<=l;++s)o[s]&&(i=ge(null,n,s),i&&(o[s].C=i,Re(r,i,Ne(e))))},Oe=(t,e,n)=>{for(let o=e;o<=n;++o){const e=t[o];if(e){const t=e.C;Ce(e),t&&(be=!0,t["s-ol"]?t["s-ol"].remove():we(t,!0),t.remove())}}},Se=(t,e,n=!1)=>t.k===e.k&&("slot"===t.k?t.N===e.N:n?(n&&!t.S&&e.S&&(t.S=e.S),!0):t.S===e.S),Ne=t=>t&&t["s-ol"]||t,xe=(t,e,n=!1)=>{const o=e.C=t.C,s=t.O,l=e.O,i=e.k,r=e.$;let c;null===r?(me="svg"===i||"foreignObject"!==i&&me,"slot"!==i||pe||t.N!==e.N&&(e.C["s-sn"]=e.N||"",ye(e.C.parentElement)),he(t,e,me,n),null!==s&&null!==l?((t,e,n,o,s=!1)=>{let l,i,r=0,c=0,u=0,f=0,a=e.length-1,d=e[0],h=e[a],v=o.length-1,p=o[0],b=o[v];for(;r<=a&&c<=v;)if(null==d)d=e[++r];else if(null==h)h=e[--a];else if(null==p)p=o[++c];else if(null==b)b=o[--v];else if(Se(d,p,s))xe(d,p,s),d=e[++r],p=o[++c];else if(Se(h,b,s))xe(h,b,s),h=e[--a],b=o[--v];else if(Se(d,b,s))"slot"!==d.k&&"slot"!==b.k||we(d.C.parentNode,!1),xe(d,b,s),Re(t,d.C,h.C.nextSibling),d=e[++r],b=o[--v];else if(Se(h,p,s))"slot"!==d.k&&"slot"!==b.k||we(h.C.parentNode,!1),xe(h,p,s),Re(t,h.C,d.C),h=e[--a],p=o[++c];else{for(u=-1,f=r;f<=a;++f)if(e[f]&&null!==e[f].S&&e[f].S===p.S){u=f;break}u>=0?(i=e[u],i.k!==p.k?l=ge(e&&e[c],n,u):(xe(i,p,s),e[u]=void 0,l=i.C),p=o[++c]):(l=ge(e&&e[c],n,c),p=o[++c]),l&&Re(Ne(d.C).parentNode,l,Ne(d.C))}r>a?je(t,null==o[v+1]?null:o[v+1].C,n,o,c,v):c>v&&Oe(e,r,a)})(o,s,e,l,n):null!==l?(null!==t.$&&(o.textContent=""),je(o,null,e,l,0,l.length-1)):n||null===s?n&&null!==s&&null===l&&(e.O=s):Oe(s,0,s.length-1),me&&"svg"===i&&(me=!1)):(c=o["s-cr"])?c.parentNode.textContent=r:t.$!==r&&(o.data=r)},Ee=[],ke=t=>{let e,n,o;const s=t.__childNodes||t.childNodes;for(const t of s){if(t["s-sr"]&&(e=t["s-cr"])&&e.parentNode){n=e.parentNode.__childNodes||e.parentNode.childNodes;const s=t["s-sn"];for(o=n.length-1;o>=0;o--)if(e=n[o],!(e["s-cn"]||e["s-nr"]||e["s-hn"]===t["s-hn"]||e["s-sh"]&&e["s-sh"]===t["s-hn"]))if(ct(e,s)){let n=Ee.find((t=>t.B===e));be=!0,e["s-sn"]=e["s-sn"]||s,n?(n.B["s-sh"]=t["s-hn"],n.F=t):(e["s-sh"]=t["s-hn"],Ee.push({F:t,B:e})),e["s-sr"]&&Ee.map((t=>{ct(t.B,e["s-sn"])&&(n=Ee.find((t=>t.B===e)),n&&!t.F&&(t.F=n.F))}))}else Ee.some((t=>t.B===e))||Ee.push({B:e})}1===t.nodeType&&ke(t)}},Ce=t=>{t.j&&t.j.ref&&t.j.ref(null),t.O&&t.O.map(Ce)},Re=(t,e,n)=>{if("string"==typeof e["s-sn"]&&e["s-sr"]&&e["s-cr"])Ie(e["s-cr"],e,t,e.parentElement);else if("string"==typeof e["s-sn"]){11!==t.getRootNode().nodeType&&Rt(e),t.insertBefore(e,n);const{slotNode:o}=ht(e);return o&&dt(o),e}return t.__insertBefore?t.__insertBefore(e,n):null==t?void 0:t.insertBefore(e,n)};function Ie(t,e,n,o){var s,l;let i;if(t&&"string"==typeof e["s-sn"]&&e["s-sr"]&&t.parentNode&&t.parentNode["s-sc"]&&(i=e["s-si"]||t.parentNode["s-sc"])){const t=e["s-sn"],r=e["s-hn"];if(null==(s=n.classList)||s.add(i+"-s"),o&&(null==(l=o.classList)?void 0:l.contains(i+"-s"))){let e=(o.__childNodes||o.childNodes)[0],n=!1;for(;e;){if(e["s-sn"]!==t&&e["s-hn"]===r&&e["s-sr"]){n=!0;break}e=e.nextSibling}n||o.classList.remove(i+"-s")}}}var Me=(t,e)=>{if(e&&!t.T&&e["s-p"]){const n=e["s-p"].push(new Promise((o=>t.T=()=>{e["s-p"].splice(n-1,1),o()})))}},Le=(t,e)=>{if(t.u|=16,4&t.u)return void(t.u|=512);Me(t,t.U);const n=()=>Ae(t,e);if(!e)return H(n);queueMicrotask((()=>{n()}))},Ae=(t,e)=>{const n=t.$hostElement$,o=t.i;if(!o)throw Error(`Can't render component <${n.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 e?(t.u|=256,t.P&&(t.P.map((([t,e])=>De(o,t,e,n))),t.P=void 0),t.W.length&&t.W.forEach((t=>t(n))),s=De(o,"componentWillLoad",void 0,n)):s=De(o,"componentWillUpdate",void 0,n),s=Be(s,(()=>De(o,"componentWillRender",void 0,n))),Be(s,(()=>Te(t,o,e)))},Be=(t,e)=>Fe(t)?t.then(e).catch((t=>{console.error(t),e()})):e(),Fe=t=>t instanceof Promise||t&&t.then&&"function"==typeof t.then,Te=async(t,e,n)=>{var o;const s=t.$hostElement$,l=s["s-rc"];n&&(t=>{const e=t.o,n=t.$hostElement$,o=e.u,s=Tt(n.shadowRoot?n.shadowRoot:n.getRootNode(),e,t.A);10&o&&(n["s-sc"]=s,n.classList.add(s+"-h"))})(t);Ue(t,e,s,n),l&&(l.map((t=>t())),s["s-rc"]=void 0);{const e=null!=(o=s["s-p"])?o:[],n=()=>Pe(t);0===e.length?n():(Promise.all(e).then(n),t.u|=4,e.length=0)}},Ue=(t,e,n,o)=>{try{e=e.render&&e.render(),t.u&=-17,t.u|=2,((t,e,n=!1)=>{var o,s,l,i,r;const c=t.$hostElement$,u=t.o,f=t._||_t(null,null),a=(t=>t&&t.k===Dt)(e)?e:Wt(null,null,e);if(ee=c.tagName,u.D&&(a.j=a.j||{},u.D.forEach((([t,e])=>{a.j[e]=c[t]}))),n&&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._=a,a.C=f.C=c.shadowRoot||c,Zt=c["s-sc"],pe=!(!(1&u.u)||128&u.u),te=c["s-cr"],be=!1,xe(f,a,n),A.u|=1,$e){ke(a.C);for(const t of Ee){const e=t.B;if(!e["s-ol"]&&M.document){const t=M.document.createTextNode("");t["s-nr"]=e,Re(e.parentNode,e["s-ol"]=t,e)}}for(const t of Ee){const e=t.B,r=t.F;if(r){const t=r.parentNode;let n=r.nextSibling;if(n&&1===n.nodeType){let l=null==(o=e["s-ol"])?void 0:o.previousSibling;for(;l;){let o=null!=(s=l["s-nr"])?s:null;if(o&&o["s-sn"]===e["s-sn"]&&t===(o.__parentNode||o.parentNode)){for(o=o.nextSibling;o===e||(null==o?void 0:o["s-sr"]);)o=null==o?void 0:o.nextSibling;if(!o||!o["s-nr"]){n=o;break}}l=l.previousSibling}}(!n&&t!==(e.__parentNode||e.parentNode)||(e.__nextSibling||e.nextSibling)!==n)&&e!==n&&(Re(t,e,n),1===e.nodeType&&"SLOT-FB"!==e.tagName&&(e.hidden=null!=(l=e["s-ih"])&&l)),e&&"function"==typeof r["s-rf"]&&r["s-rf"](r)}else 1===e.nodeType&&(n&&(e["s-ih"]=null!=(i=e.hidden)&&i),e.hidden=!0)}}if(be&&st(a.C),A.u&=-2,Ee.length=0,2&u.u){const t=a.C.__childNodes||a.C.childNodes;for(const e of t)e["s-hn"]===ee||e["s-sh"]||(n&&null==e["s-ih"]&&(e["s-ih"]=null!=(r=e.hidden)&&r),e.hidden=!0)}te=void 0})(t,e,o)}catch(e){O(e,t.$hostElement$)}return null},Pe=t=>{const e=t.$hostElement$,n=t.i,o=t.U;De(n,"componentDidRender",void 0,e),64&t.u?De(n,"componentDidUpdate",void 0,e):(t.u|=64,Ve(e),De(n,"componentDidLoad",void 0,e),t.V(e),o||_e()),t.q(e),t.T&&(t.T(),t.T=void 0),512&t.u&&z((()=>Le(t,!1))),t.u&=-517},We=t=>{var e;{const n=y(t),o=null==(e=null==n?void 0:n.$hostElement$)?void 0:e.isConnected;return o&&2==(18&n.u)&&Le(n,!1),o}},_e=()=>{var t;z((()=>re(M,"appload",{detail:{namespace:"ionic"}}))),(null==(t=A.H)?void 0:t.size)&&A.H.clear()},De=(t,e,n,o)=>{if(t&&t[e])try{return t[e](n)}catch(t){O(t,o)}},Ve=t=>t.classList.add("hydrated"),ze=(t,e,n,o)=>{const s=y(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(e),r=s.u,c=s.i;if(n=se(n,o.t[e][0]),(!(8&r)||void 0===i)&&n!==i&&(!Number.isNaN(i)||!Number.isNaN(n))&&(s.l.set(e,n),c)){if(o.J&&128&r){const t=o.J[e];t&&t.map((t=>{try{c[t](n,i,e)}catch(t){O(t,l)}}))}if(2==(18&r)){if(c.componentShouldUpdate&&!1===c.componentShouldUpdate(n,i,e))return;Le(s,!1)}}},qe=(t,e,n)=>{var o,s;const l=t.prototype;{t.watchers&&!e.J&&(e.J=t.watchers),t.deserializers&&!e.Y&&(e.Y=t.deserializers),t.serializers&&!e.G&&(e.G=t.serializers);const i=Object.entries(null!=(o=e.t)?o:{});if(i.map((([t,[o]])=>{if(31&o||2&n&&32&o){const{get:s,set:i}=Object.getOwnPropertyDescriptor(l,t)||{};s&&(e.t[t][0]|=2048),i&&(e.t[t][0]|=4096),(1&n||!s)&&Object.defineProperty(l,t,{get(){{if(!(2048&e.t[t][0]))return((t,e)=>y(this).l.get(e))(0,t);const n=y(this),o=n?n.i:l;if(!o)return;return o[t]}},configurable:!0,enumerable:!0}),Object.defineProperty(l,t,{set(s){const l=y(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,se(s,o)),void ze(this,t,s=32&o?this[t]:l.$hostElement$[t],e);{if(!(1&n&&4096&e.t[t][0]))return ze(this,t,s,e),void(1&n&&!l.i&&l.W.push((()=>{4096&e.t[t][0]&&l.i[t]!==l.l.get(t)&&(l.i[t]=s)})));const i=()=>{const n=l.i[t];!l.l.get(t)&&n&&l.l.set(t,n),l.i[t]=se(s,o),ze(this,t,l.i[t],e)};l.i?i():l.W.push((()=>{i()}))}}}})}else 1&n&&64&o&&Object.defineProperty(l,t,{value(...e){var n;const o=y(this);return null==(n=null==o?void 0:o.K)?void 0:n.then((()=>{var n;return null==(n=o.i)?void 0:n[t](...e)}))}})})),1&n){const n=new Map;l.attributeChangedCallback=function(t,o,s){A.jmp((()=>{var r;const c=n.get(t),u=y(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 n=null==u?void 0:u.u;if(u&&n&&!(8&n)&&128&n&&s!==o){const n=u.i,l=null==(r=e.J)?void 0:r[t];null==l||l.forEach((e=>{null!=n[e]&&n[e].call(n,s,o,t)}))}return}const f=i.find((([t])=>t===c));f&&4&f[1][0]&&(s=null!==s&&"false"!==s);const a=Object.getOwnPropertyDescriptor(l,c);s==this[c]||a.get&&!a.set||(this[c]=s)}))},t.observedAttributes=Array.from(new Set([...Object.keys(null!=(s=e.J)?s:{}),...i.filter((([t,e])=>31&e[0])).map((([t,o])=>{var s;const l=o[1]||t;return n.set(l,t),512&o[0]&&(null==(s=e.D)||s.push([t,l])),l}))]))}}return t},He=(t,e)=>{De(t,"connectedCallback",void 0,e)},Je=t=>{if(!(1&A.u)){const e=y(t);if(!e)return;const n=e.o,o=()=>{};if(1&e.u)Xe(t,e,n.X),(null==e?void 0:e.i)?He(e.i,t):(null==e?void 0:e.Z)&&e.Z.then((()=>He(e.i,t)));else{let o;if(e.u|=1,o=t.getAttribute(E),o){if(1&n.u){const e=Tt(t.shadowRoot,n,t.getAttribute("s-mode"));t.classList.remove(e+"-h",e+"-s")}else if(2&n.u){const e=Ut(n,t.getAttribute("s-mode"));t["s-sc"]=e}((t,e,n,o)=>{var s,l;const i=t.shadowRoot,r=[],c=[],u=[],f=i?[]:null,a=_t(e,null);let d;a.C=t;{const e=o.o;e&&10&e.u&&t["s-sc"]?(d=t["s-sc"],t.classList.add(d+"-h")):t["s-sc"]&&delete t["s-sc"]}!M.document||A.H&&A.H.size||Jt(M.document.body,A.H=new Map),t[E]=n,t.removeAttribute(E),o._=Ht(a,r,c,f,t,t,n,u);let h=0;const v=r.length;let p;for(;h<v;h++){p=r[h];const n=p.R+"."+p.I,o=A.H.get(n),l=p.C;if(i){if((null==(s=p.k)?void 0:(""+s).includes("-"))&&"slot-fb"!==p.k&&!p.C.shadowRoot){const e=y(p.C);if(e){const n=Ut(e.o,p.C.getAttribute("s-mode")),o=M.document.querySelector(`style[sty-id="${n}"]`);o&&t.shadowRoot.append(o.cloneNode(!0))}}}else l["s-hn"]=e.toUpperCase(),"slot"===p.k&&(l["s-cr"]=t["s-cr"]);"slot"===p.k&&(p.N=p.C["s-sn"]||p.C.name||null,p.O?(p.u|=2,p.C.childNodes.length||p.O.forEach((t=>{p.C.appendChild(t.C)}))):p.u|=1),o&&o.isConnected&&(o.parentElement.shadowRoot&&""===o["s-en"]&&o.parentNode.insertBefore(l,o.nextSibling),o.parentNode.removeChild(o),i||(l["s-oo"]=parseInt(p.I))),o&&!o["s-id"]&&A.H.delete(n)}const b=[],$=u.length;let m,g,w,j,O=0;for(;O<$;O++)if(m=u[O],m&&m.length)for(w=m.length,g=0;g<w;g++){if(j=m[g],b[j.hostId]||(b[j.hostId]=A.H.get(j.hostId)),!b[j.hostId])continue;const t=b[j.hostId];t.shadowRoot&&j.node.parentElement!==t&&t.appendChild(j.node),t.shadowRoot&&i||(j.slot["s-cr"]||(j.slot["s-cr"]=t["s-cr"],j.slot["s-cr"]=!j.slot["s-cr"]&&t.shadowRoot?t:(t.__childNodes||t.childNodes)[0]),ut(j.node,j.slot,!1,j.node["s-oo"]),(null==(l=j.node.parentElement)?void 0:l.shadowRoot)&&j.node.getAttribute&&j.node.getAttribute("slot")&&j.node.removeAttribute("slot"),Nt(j.node))}if(d&&c.length&&c.forEach((t=>{t.C.parentElement.classList.add(d+"-s")})),i){let e=0;const n=f.length;if(n){for(;e<n;e++){const t=f[e];t&&i.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||3===t.nodeType&&!t.wholeText.trim())&&t.parentNode.removeChild(t))}))}}o.$hostElement$=t})(t,n.p,o,e)}o||12&n.u&&Ye(t);{let n=t;for(;n=n.parentNode||n.host;)if(1===n.nodeType&&n.hasAttribute("s-id")&&n["s-p"]||n["s-p"]){Me(e,e.U=n);break}}n.t&&Object.entries(n.t).map((([e,[n]])=>{if(31&n&&e in t&&t[e]!==Object.prototype[e]){const n=t[e];delete t[e],t[e]=n}})),(async(t,e,n)=>{let o;if(!(32&e.u)){if(e.u|=32,n.tt){const s=((t,e)=>{const n=t.p.replace(/-/g,"_"),o=t.tt;if(!o)return;const s=S.get(o);return s?s[n]:import(`./${o}.entry.js`).then((t=>(S.set(o,t),t[n])),(t=>{O(t,e.$hostElement$)}))
5
+ /*!__STENCIL_STATIC_IMPORT_SWITCH__*/})(n,e);if(s&&"then"in s){const t=()=>{};o=await s,t()}else o=s;if(!o)throw Error(`Constructor for "${n.p}#${e.A}" was not found`);o.isProxied||(n.J=o.watchers,n.G=o.serializers,n.Y=o.deserializers,qe(o,n,2),o.isProxied=!0);const l=()=>{};e.u|=8;try{new o(e)}catch(e){O(e,t)}e.u&=-9,e.u|=128,l(),He(e.i,t)}else o=t.constructor,customElements.whenDefined(t.localName).then((()=>e.u|=128));if(o&&o.style){let s;"string"==typeof o.style?s=o.style:"string"!=typeof o.style&&(e.A=(t=>x.map((e=>e(t))).find((t=>!!t)))(t),e.A&&(s=o.style[e.A]));const l=Ut(n,e.A);if(!N.has(l)){const t=()=>{};Ft(l,s,!!(1&n.u)),t()}}}const s=e.U,l=()=>Le(e,!0);s&&s["s-rc"]?s["s-rc"].push(l):l()})(t,e,n)}o()}},Ye=t=>{if(!M.document)return;const e=t["s-cr"]=M.document.createComment("");e["s-cn"]=!0,Re(t,e,t.firstChild)},Ge=(t,e)=>{De(t,"disconnectedCallback",void 0,e||t)},Ke=(t,e={})=>{var n;if(!M.document)return void console.warn("Stencil: No document found. Skipping bootstrapping lazy components.");const o=[],s=e.exclude||[],l=M.customElements,i=M.document.head,r=i.querySelector("meta[charset]"),c=M.document.createElement("style"),u=[];let f,a=!0;Object.assign(A,e),A.h=new URL(e.resourcesUrl||"./",M.document.baseURI).href,A.u|=2,(()=>{if(!M.document)return;const t=M.document.querySelectorAll(`[${k}]`);let e=0;for(;e<t.length;e++)Ft(t[e].getAttribute(k),Pt(t[e].innerHTML),!0)})();let d=!1;if(t.map((t=>{t[1].map((e=>{var n,i,r;const c={u:e[0],p:e[1],t:e[2],X:e[3]};4&c.u&&(d=!0),c.t=e[2],c.X=e[3],c.D=[],c.J=null!=(n=e[4])?n:{},c.G=null!=(i=e[5])?i:{},c.Y=null!=(r=e[6])?r:{};const h=c.p,v=class extends HTMLElement{constructor(t){if(super(t),this.hasRegisteredEventListeners=!1,((t,e)=>{const n={u:0,$hostElement$:t,o:e,l:new Map,et:new Map};n.K=new Promise((t=>n.q=t)),n.Z=new Promise((t=>n.V=t)),t["s-p"]=[],t["s-rc"]=[],n.W=[];const o=n;t.__stencil__getHostRef=()=>o})(t=this,c),1&c.u)if(t.shadowRoot){if("open"!==t.shadowRoot.mode)throw Error(`Unable to re-use existing shadow root for ${c.p}! Mode is set to ${t.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else ot.call(t,c)}connectedCallback(){const t=y(this);t&&(this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0,Xe(this,t,c.X)),f&&(clearTimeout(f),f=null),a?u.push(this):A.jmp((()=>Je(this))))}disconnectedCallback(){A.jmp((()=>(async t=>{if(!(1&A.u)){const e=y(t);(null==e?void 0:e.nt)&&(e.nt.map((t=>t())),e.nt=void 0),(null==e?void 0:e.i)?Ge(e.i,t):(null==e?void 0:e.Z)&&e.Z.then((()=>Ge(e.i,t)))}Bt.has(t)&&Bt.delete(t),t.shadowRoot&&Bt.has(t.shadowRoot)&&Bt.delete(t.shadowRoot)})(this))),A.raf((()=>{var t;const e=y(this);if(!e)return;const n=u.findIndex((t=>t===this));n>-1&&u.splice(n,1),(null==(t=null==e?void 0:e._)?void 0:t.C)instanceof Node&&!e._.C.isConnected&&delete e._.C}))}componentOnReady(){var t;return null==(t=y(this))?void 0:t.Z}};!(1&c.u)&&256&c.u&&(t=>{vt(t),pt(t),mt(t),$t(t),jt(t),gt(t),yt(t),wt(t),Ot(t),St(t),bt(t)})(v.prototype),c.tt=t[0],s.includes(h)||l.get(h)||(o.push(h),l.define(h,qe(v,c,1)))}))})),o.length>0&&(d&&(c.textContent+=R),c.textContent+=o.sort()+"{visibility:hidden}.hydrated{visibility:inherit}",c.innerHTML.length)){c.setAttribute("data-styles","");const t=null!=(n=A.v)?n:G(M.document);null!=t&&c.setAttribute("nonce",t),i.insertBefore(c,r?r.nextSibling:i.firstChild)}a=!1,u.length?u.map((t=>t.connectedCallback())):A.jmp((()=>f=setTimeout(_e,30)))},Qe=(t,e)=>e,Xe=(t,e,n)=>{n&&M.document&&n.map((([n,o,s])=>{const l=tn(M.document,t,n),i=Ze(e,s),r=en(n);A.ael(l,o,i,r),(e.nt=e.nt||[]).push((()=>A.rel(l,o,i,r)))}))},Ze=(t,e)=>n=>{var o;try{256&t.u?null==(o=t.i)||o[e](n):(t.P=t.P||[]).push([e,n])}catch(e){O(e,t.$hostElement$)}},tn=(t,e,n)=>4&n?t:8&n?M:16&n?t.body:e,en=t=>({passive:!!(1&t),capture:!!(2&t)}),nn=t=>A.v=t;export{h as B,Qe as F,L as H,c as L,q as a,Ke as b,ie as c,Dt as d,e,u as f,le as g,Wt as h,We as i,f as j,J as k,n as l,s as m,o as n,oe as o,B as p,ne as q,w as r,nn as s,a as t,H as w}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * (C) Ionic http://ionicframework.com - MIT License
3
3
  */
4
- import{w as o,d as n}from"./p-ZjP4CjeZ.js";import{g as t,c as i,f as r}from"./p-CwgG81ZD.js";import{f as a,m as e,r as s,c as d}from"./p-CTfR9YZG.js";import{a as c,K as l}from"./p-D13Eaw-8.js";import"./p-C8IsBmNU.js";import"./p-CIGNaXM1.js";const u=new WeakMap,f=(o,n,t,i=0,r=!1)=>{u.has(o)!==t&&(t?w(o,n,i,r):p(o,n))},w=(o,n,t,i=!1)=>{const r=n.parentNode,a=n.cloneNode(!1);a.classList.add("cloned-input"),a.tabIndex=-1,i&&(a.disabled=!0),r.appendChild(a),u.set(o,a);const e="rtl"===o.ownerDocument.dir?9999:-9999;o.style.pointerEvents="none",n.style.transform=`translate3d(${e}px,${t}px,0) scale(0)`},p=(o,n)=>{const t=u.get(o);t&&(u.delete(o),t.remove()),o.style.pointerEvents="",n.style.transform=""},m="input, textarea, [no-blur], [contenteditable]",h="$ionPaddingTimer",y=(o,n,t)=>{const i=o[h];i&&clearTimeout(i),n>0?o.style.setProperty("--keyboard-offset",`${n}px`):o[h]=setTimeout((()=>{o.style.setProperty("--keyboard-offset","0px"),t&&t()}),120)},S=(o,n,t)=>{o.addEventListener("focusout",(()=>{n&&y(n,0,t)}),{once:!0})};let b=0;const D="data-ionic-skip-scroll-assist",v=o=>{var n;if(document.activeElement===o)return;const t=o.getAttribute("id"),i=o.closest(`label[for="${t}"]`),r=null===(n=document.activeElement)||void 0===n?void 0:n.closest(`label[for="${t}"]`);null!==i&&i===r||(o.setAttribute(D,"true"),o.focus())},M=async(o,n,r,a,e,d,c=!1,l=0,u=!0)=>{if(!r&&!a)return;const w=((o,n,t,i)=>{var r;return((o,n,t,i)=>{const r=o.top,a=o.bottom,e=n.top,s=e+15,d=Math.min(n.bottom,i-t)-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:t,inputSafeY:4-(r-s)}})((null!==(r=o.closest("ion-item,[ion-item]"))&&void 0!==r?r:o).getBoundingClientRect(),n.getBoundingClientRect(),t,i)})(o,r||a,e,l);if(r&&Math.abs(w.scrollAmount)<4)return v(n),void(d&&null!==r&&(y(r,b),S(n,r,(()=>b=0))));if(f(o,n,!0,w.inputSafeY,c),v(n),s((()=>o.click())),d&&r&&(b=w.scrollPadding,y(r,b)),"undefined"!=typeof window){let a;const e=async()=>{void 0!==a&&clearTimeout(a),window.removeEventListener("ionKeyboardDidShow",s),window.removeEventListener("ionKeyboardDidShow",e),r&&await i(r,0,w.scrollAmount,w.scrollDuration),f(o,n,!1,w.inputSafeY),v(n),d&&S(n,r,(()=>b=0))},s=()=>{window.removeEventListener("ionKeyboardDidShow",s),window.addEventListener("ionKeyboardDidShow",e)};if(r){const o=await t(r);if(u&&w.scrollAmount>o.scrollHeight-o.clientHeight-o.scrollTop)return"password"===n.type?(w.scrollAmount+=50,window.addEventListener("ionKeyboardDidShow",s)):window.addEventListener("ionKeyboardDidShow",e),void(a=setTimeout(e,1e3))}e()}},K=async(t,i)=>{if(void 0===n)return;const s="ios"===i,u="android"===i,w=t.getNumber("keyboardHeight",290),p=t.getBoolean("scrollAssist",!0),h=t.getBoolean("hideCaretOnScroll",s),y=t.getBoolean("inputBlurring",!1),S=t.getBoolean("scrollPadding",!0),b=Array.from(n.querySelectorAll("ion-input, ion-textarea")),v=new WeakMap,K=new WeakMap,j=await l.getResizeMode(),x=async n=>{await new Promise((o=>d(n,o)));const t=n.shadowRoot||n,i=t.querySelector("input")||t.querySelector("textarea"),s=r(n),l=s?null:n.closest("ion-footer");if(i){if(s&&h&&!v.has(n)){const o=((o,n,t)=>{if(!t||!n)return()=>{};const i=t=>{var i;(i=n)===i.getRootNode().activeElement&&f(o,n,t)},r=()=>f(o,n,!1),s=()=>i(!0),d=()=>i(!1);return a(t,"ionScrollStart",s),a(t,"ionScrollEnd",d),n.addEventListener("blur",r),()=>{e(t,"ionScrollStart",s),e(t,"ionScrollEnd",d),n.removeEventListener("blur",r)}})(n,i,s);v.set(n,o)}if("date"!==i.type&&"datetime-local"!==i.type&&(s||l)&&p&&!K.has(n)){const t=((n,t,i,r,a,e,s,d=!1)=>{const l=e&&(void 0===s||s.mode===c.None);let u=!1;const f=void 0!==o?o.innerHeight:0,w=o=>{!1!==u?M(n,t,i,r,o.detail.keyboardHeight,l,d,f,!1):u=!0},p=()=>{u=!1,null==o||o.removeEventListener("ionKeyboardDidShow",w),n.removeEventListener("focusout",p)},m=async()=>{t.hasAttribute(D)?t.removeAttribute(D):(M(n,t,i,r,a,l,d,f),null==o||o.addEventListener("ionKeyboardDidShow",w),n.addEventListener("focusout",p))};return n.addEventListener("focusin",m),()=>{n.removeEventListener("focusin",m),null==o||o.removeEventListener("ionKeyboardDidShow",w),n.removeEventListener("focusout",p)}})(n,i,s,l,w,S,j,u);K.set(n,t)}}};y&&(()=>{let o=!0,n=!1;const t=document;a(t,"ionScrollStart",(()=>{n=!0})),t.addEventListener("focusin",(()=>{o=!0}),!0),t.addEventListener("touchend",(i=>{if(n)return void(n=!1);const r=t.activeElement;if(!r)return;if(r.matches(m))return;const a=i.target;a!==r&&(a.matches(m)||a.closest(m)||(o=!1,setTimeout((()=>{o||r.blur()}),50)))}),!1)})();for(const o of b)x(o);n.addEventListener("ionInputDidLoad",(o=>{x(o.detail)})),n.addEventListener("ionInputDidUnload",(o=>{(o=>{if(h){const n=v.get(o);n&&n(),v.delete(o)}if(p){const n=K.get(o);n&&n(),K.delete(o)}})(o.detail)}))};export{K as startInputShims}
4
+ import{w as o,d as n}from"./p-ZjP4CjeZ.js";import{g as t,c as i,f as r}from"./p-0FumIF4F.js";import{f as a,m as e,r as s,c as d}from"./p-Dbxeiy79.js";import{a as c,K as l}from"./p-D13Eaw-8.js";import"./p-BVGHdIB3.js";import"./p-CIGNaXM1.js";const u=new WeakMap,f=(o,n,t,i=0,r=!1)=>{u.has(o)!==t&&(t?w(o,n,i,r):p(o,n))},w=(o,n,t,i=!1)=>{const r=n.parentNode,a=n.cloneNode(!1);a.classList.add("cloned-input"),a.tabIndex=-1,i&&(a.disabled=!0),r.appendChild(a),u.set(o,a);const e="rtl"===o.ownerDocument.dir?9999:-9999;o.style.pointerEvents="none",n.style.transform=`translate3d(${e}px,${t}px,0) scale(0)`},p=(o,n)=>{const t=u.get(o);t&&(u.delete(o),t.remove()),o.style.pointerEvents="",n.style.transform=""},m="input, textarea, [no-blur], [contenteditable]",y="$ionPaddingTimer",b=(o,n,t)=>{const i=o[y];i&&clearTimeout(i),n>0?o.style.setProperty("--keyboard-offset",`${n}px`):o[y]=setTimeout((()=>{o.style.setProperty("--keyboard-offset","0px"),t&&t()}),120)},h=(o,n,t)=>{o.addEventListener("focusout",(()=>{n&&b(n,0,t)}),{once:!0})};let S=0;const D="data-ionic-skip-scroll-assist",v=o=>{var n;if(document.activeElement===o)return;const t=o.getAttribute("id"),i=o.closest(`label[for="${t}"]`),r=null===(n=document.activeElement)||void 0===n?void 0:n.closest(`label[for="${t}"]`);null!==i&&i===r||(o.setAttribute(D,"true"),o.focus())},M=async(o,n,r,a,e,d,c=!1,l=0,u=!0)=>{if(!r&&!a)return;const w=((o,n,t,i)=>{var r;return((o,n,t,i)=>{const r=o.top,a=o.bottom,e=n.top,s=e+15,d=Math.min(n.bottom,i-t)-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:t,inputSafeY:4-(r-s)}})((null!==(r=o.closest("ion-item,[ion-item]"))&&void 0!==r?r:o).getBoundingClientRect(),n.getBoundingClientRect(),t,i)})(o,r||a,e,l);if(r&&Math.abs(w.scrollAmount)<4)return v(n),void(d&&null!==r&&(b(r,S),h(n,r,(()=>S=0))));if(f(o,n,!0,w.inputSafeY,c),v(n),s((()=>o.click())),d&&r&&(S=w.scrollPadding,b(r,S)),"undefined"!=typeof window){let a;const e=async()=>{void 0!==a&&clearTimeout(a),window.removeEventListener("ionKeyboardDidShow",s),window.removeEventListener("ionKeyboardDidShow",e),r&&await i(r,0,w.scrollAmount,w.scrollDuration),f(o,n,!1,w.inputSafeY),v(n),d&&h(n,r,(()=>S=0))},s=()=>{window.removeEventListener("ionKeyboardDidShow",s),window.addEventListener("ionKeyboardDidShow",e)};if(r){const o=await t(r);if(u&&w.scrollAmount>o.scrollHeight-o.clientHeight-o.scrollTop)return"password"===n.type?(w.scrollAmount+=50,window.addEventListener("ionKeyboardDidShow",s)):window.addEventListener("ionKeyboardDidShow",e),void(a=setTimeout(e,1e3))}e()}},K=async(t,i)=>{if(void 0===n)return;const s="ios"===i,u="android"===i,w=t.getNumber("keyboardHeight",290),p=t.getBoolean("scrollAssist",!0),y=t.getBoolean("hideCaretOnScroll",s),b=t.getBoolean("inputBlurring",!1),h=t.getBoolean("scrollPadding",!0),S=Array.from(n.querySelectorAll("ion-input, ion-textarea")),v=new WeakMap,K=new WeakMap,x=await l.getResizeMode(),j=async n=>{await new Promise((o=>d(n,o)));const t=n.shadowRoot||n,i=t.querySelector("input")||t.querySelector("textarea"),s=r(n),l=s?null:n.closest("ion-footer");if(i){if(s&&y&&!v.has(n)){const o=((o,n,t)=>{if(!t||!n)return()=>{};const i=t=>{var i;(i=n)===i.getRootNode().activeElement&&f(o,n,t)},r=()=>f(o,n,!1),s=()=>i(!0),d=()=>i(!1);return a(t,"ionScrollStart",s),a(t,"ionScrollEnd",d),n.addEventListener("blur",r),()=>{e(t,"ionScrollStart",s),e(t,"ionScrollEnd",d),n.removeEventListener("blur",r)}})(n,i,s);v.set(n,o)}if("date"!==i.type&&"datetime-local"!==i.type&&(s||l)&&p&&!K.has(n)){const t=((n,t,i,r,a,e,s,d=!1)=>{const l=e&&(void 0===s||s.mode===c.None);let u=!1;const f=void 0!==o?o.innerHeight:0,w=o=>{!1!==u?M(n,t,i,r,o.detail.keyboardHeight,l,d,f,!1):u=!0},p=()=>{u=!1,null==o||o.removeEventListener("ionKeyboardDidShow",w),n.removeEventListener("focusout",p)},m=async()=>{t.hasAttribute(D)?t.removeAttribute(D):(M(n,t,i,r,a,l,d,f),null==o||o.addEventListener("ionKeyboardDidShow",w),n.addEventListener("focusout",p))};return n.addEventListener("focusin",m),()=>{n.removeEventListener("focusin",m),null==o||o.removeEventListener("ionKeyboardDidShow",w),n.removeEventListener("focusout",p)}})(n,i,s,l,w,h,x,u);K.set(n,t)}}};b&&(()=>{let o=!0,n=!1;const t=document;a(t,"ionScrollStart",(()=>{n=!0})),t.addEventListener("focusin",(()=>{o=!0}),!0),t.addEventListener("touchend",(i=>{if(n)return void(n=!1);const r=t.activeElement;if(!r)return;if(r.matches(m))return;const a=i.target;a!==r&&(a.matches(m)||a.closest(m)||(o=!1,setTimeout((()=>{o||r.blur()}),50)))}),!1)})();for(const o of S)j(o);n.addEventListener("ionInputDidLoad",(o=>{j(o.detail)})),n.addEventListener("ionInputDidUnload",(o=>{(o=>{if(y){const n=v.get(o);n&&n(),v.delete(o)}if(p){const n=K.get(o);n&&n(),K.delete(o)}})(o.detail)}))};export{K as startInputShims}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * (C) Ionic http://ionicframework.com - MIT License
3
3
  */
4
- import{c as e}from"./p-CTfR9YZG.js";const o=async(o,t,i,n,r,s)=>{var a;if(o)return o.attachViewToDom(t,i,r,n);if(!(s||"string"==typeof i||i instanceof HTMLElement))throw new Error("framework delegate is missing");const c="string"==typeof i?null===(a=t.ownerDocument)||void 0===a?void 0:a.createElement(i):i;return n&&n.forEach((e=>c.classList.add(e))),r&&Object.assign(c,r),t.appendChild(c),await new Promise((o=>e(c,o))),c},t=(e,o)=>{if(o){if(e)return e.removeViewFromDom(o.parentElement,o);o.remove()}return Promise.resolve()},i=()=>{let o,t;return{attachViewToDom:async(i,n,r={},s=[])=>{var a,c;let l;if(o=i,n){const t="string"==typeof n?null===(a=o.ownerDocument)||void 0===a?void 0:a.createElement(n):n;s.forEach((e=>t.classList.add(e))),Object.assign(t,r),o.appendChild(t),l=t,await new Promise((o=>e(t,o)))}else if(o.children.length>0&&("ION-MODAL"===o.tagName||"ION-POPOVER"===o.tagName)&&!(l=o.children[0]).classList.contains("ion-delegate-host")){const e=null===(c=o.ownerDocument)||void 0===c?void 0:c.createElement("div");e.classList.add("ion-delegate-host"),s.forEach((o=>e.classList.add(o))),e.append(...o.children),o.appendChild(e),l=e}const m=document.querySelector("ion-app")||document.body;return t=document.createComment("ionic teleport"),o.parentNode.insertBefore(t,o),m.appendChild(o),null!=l?l:o},removeViewFromDom:()=>(o&&t&&(t.parentNode.insertBefore(o,t),t.remove()),Promise.resolve())}};export{i as C,o as a,t as d}
4
+ import{c as e}from"./p-Dbxeiy79.js";const o=async(o,t,i,n,r,s)=>{var a;if(o)return o.attachViewToDom(t,i,r,n);if(!(s||"string"==typeof i||i instanceof HTMLElement))throw new Error("framework delegate is missing");const c="string"==typeof i?null===(a=t.ownerDocument)||void 0===a?void 0:a.createElement(i):i;return n&&n.forEach((e=>c.classList.add(e))),r&&Object.assign(c,r),t.appendChild(c),await new Promise((o=>e(c,o))),c},t=(e,o)=>{if(o){if(e)return e.removeViewFromDom(o.parentElement,o);o.remove()}return Promise.resolve()},i=()=>{let o,t;return{attachViewToDom:async(i,n,r={},s=[])=>{var a,c;let l;if(o=i,n){const t="string"==typeof n?null===(a=o.ownerDocument)||void 0===a?void 0:a.createElement(n):n;s.forEach((e=>t.classList.add(e))),Object.assign(t,r),o.appendChild(t),l=t,await new Promise((o=>e(t,o)))}else if(o.children.length>0&&("ION-MODAL"===o.tagName||"ION-POPOVER"===o.tagName)&&!(l=o.children[0]).classList.contains("ion-delegate-host")){const e=null===(c=o.ownerDocument)||void 0===c?void 0:c.createElement("div");e.classList.add("ion-delegate-host"),s.forEach((o=>e.classList.add(o))),e.append(...o.children),o.appendChild(e),l=e}const m=document.querySelector("ion-app")||document.body;return t=document.createComment("ionic teleport"),o.parentNode.insertBefore(t,o),m.appendChild(o),null!=l?l:o},removeViewFromDom:()=>(o&&t&&(t.parentNode.insertBefore(o,t),t.remove()),Promise.resolve())}};export{i as C,o as a,t as d}
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * (C) Ionic http://ionicframework.com - MIT License
3
+ */
4
+ import{j as e}from"./p-BVGHdIB3.js";import{w as o}from"./p-ZjP4CjeZ.js";let t;const i=(e,o,i)=>{const n=o.startsWith("animation")?(r=e,void 0===t&&(t=void 0===r.style.animationName&&void 0!==r.style.webkitAnimationName?"-webkit-":""),t):"";var r;e.style.setProperty(n+o,i)},n=(e=[],o)=>{if(void 0!==o){const t=Array.isArray(o)?o:[o];return[...e,...t]}return e},r=t=>{let r,a,s,d,l,f,c,v,m,u,p,y=[],g=[],A=[],b=!1,C={},E=[],h=[],S={},j=0,k=!1,R=!1,w=!0,T=!1,D=!0,F=!1;const I=t,W=[],B=[],K=[],M=[],P=[],Z=[],x=[],G=[],H=[],V=[],q=[],z="function"==typeof AnimationEffect||void 0!==o&&"function"==typeof o.AnimationEffect,J="function"==typeof Element&&"function"==typeof Element.prototype.animate&&z,L=()=>q,N=(e,o)=>{const t=o.findIndex((o=>o.c===e));t>-1&&o.splice(t,1)},O=(e,o)=>(((null==o?void 0:o.oneTimeCallback)?B:W).push({c:e,o}),p),Q=()=>{J&&(q.forEach((e=>{e.cancel()})),q.length=0)},U=()=>{Z.forEach((e=>{(null==e?void 0:e.parentNode)&&e.parentNode.removeChild(e)})),Z.length=0},X=()=>void 0!==l?l:c?c.getFill():"both",Y=()=>void 0!==v?v:void 0!==f?f:c?c.getDirection():"normal",$=()=>k?"linear":void 0!==s?s:c?c.getEasing():"linear",_=()=>R?0:void 0!==m?m:void 0!==a?a:c?c.getDuration():0,ee=()=>void 0!==d?d:c?c.getIterations():1,oe=()=>void 0!==u?u:void 0!==r?r:c?c.getDelay():0,te=()=>{0!==j&&(j--,0===j&&((()=>{H.forEach((e=>e())),V.forEach((e=>e()));const e=w?1:0,o=E,t=h,n=S;M.forEach((e=>{const r=e.classList;o.forEach((e=>r.add(e))),t.forEach((e=>r.remove(e)));for(const o in n)n.hasOwnProperty(o)&&i(e,o,n[o])})),m=void 0,v=void 0,u=void 0,W.forEach((o=>o.c(e,p))),B.forEach((o=>o.c(e,p))),B.length=0,D=!0,w&&(T=!0),w=!0})(),c&&c.animationFinish()))},ie=()=>{(()=>{x.forEach((e=>e())),G.forEach((e=>e()));const e=g,o=A,t=C;M.forEach((n=>{const r=n.classList;e.forEach((e=>r.add(e))),o.forEach((e=>r.remove(e)));for(const e in t)t.hasOwnProperty(e)&&i(n,e,t[e])}))})(),y.length>0&&J&&(M.forEach((e=>{const o=e.animate(y,{id:I,delay:oe(),duration:_(),easing:$(),iterations:ee(),fill:X(),direction:Y()});o.pause(),q.push(o)})),q.length>0&&(q[0].onfinish=()=>{te()})),b=!0},ne=e=>{e=Math.min(Math.max(e,0),.9999),J&&q.forEach((o=>{o.currentTime=o.effect.getComputedTiming().delay+_()*e,o.pause()}))},re=e=>{q.forEach((e=>{e.effect.updateTiming({delay:oe(),duration:_(),easing:$(),iterations:ee(),fill:X(),direction:Y()})})),void 0!==e&&ne(e)},ae=(e=!1,o=!0,t)=>(e&&P.forEach((i=>{i.update(e,o,t)})),J&&re(t),p),se=()=>{b&&(J?q.forEach((e=>{e.pause()})):M.forEach((e=>{i(e,"animation-play-state","paused")})),F=!0)},de=e=>new Promise((o=>{(null==e?void 0:e.sync)&&(R=!0,O((()=>R=!1),{oneTimeCallback:!0})),b||ie(),T&&(J&&(ne(0),re()),T=!1),D&&(j=P.length+1,D=!1);const t=()=>{N(i,B),o()},i=()=>{N(t,K),o()};O(i,{oneTimeCallback:!0}),K.push({c:t,o:{oneTimeCallback:!0}}),P.forEach((e=>{e.play()})),J?(q.forEach((e=>{e.play()})),0!==y.length&&0!==M.length||te()):te(),F=!1})),le=(e,o)=>{const t=y[0];return void 0===t||void 0!==t.offset&&0!==t.offset?y=[{offset:0,[e]:o},...y]:t[e]=o,p};return p={parentAnimation:c,elements:M,childAnimations:P,id:I,animationFinish:te,from:le,to:(e,o)=>{const t=y[y.length-1];return void 0===t||void 0!==t.offset&&1!==t.offset?y=[...y,{offset:1,[e]:o}]:t[e]=o,p},fromTo:(e,o,t)=>le(e,o).to(e,t),parent:e=>(c=e,p),play:de,pause:()=>(P.forEach((e=>{e.pause()})),se(),p),stop:()=>{P.forEach((e=>{e.stop()})),b&&(Q(),b=!1),k=!1,R=!1,D=!0,v=void 0,m=void 0,u=void 0,j=0,T=!1,w=!0,F=!1,K.forEach((e=>e.c(0,p))),K.length=0},destroy:e=>(P.forEach((o=>{o.destroy(e)})),(e=>{Q(),e&&U()})(e),M.length=0,P.length=0,y.length=0,W.length=0,B.length=0,b=!1,D=!0,p),keyframes:e=>{const o=y!==e;return y=e,o&&(e=>{J&&L().forEach((o=>{const t=o.effect;if(t.setKeyframes)t.setKeyframes(e);else{const i=new KeyframeEffect(t.target,e,t.getTiming());o.effect=i}}))})(y),p},addAnimation:e=>{if(null!=e)if(Array.isArray(e))for(const o of e)o.parent(p),P.push(o);else e.parent(p),P.push(e);return p},addElement:o=>{if(null!=o)if(1===o.nodeType)M.push(o);else if(o.length>=0)for(let e=0;e<o.length;e++)M.push(o[e]);else e("createAnimation - Invalid addElement value.");return p},update:ae,fill:e=>(l=e,ae(!0),p),direction:e=>(f=e,ae(!0),p),iterations:e=>(d=e,ae(!0),p),duration:e=>(J||0!==e||(e=1),a=e,ae(!0),p),easing:e=>(s=e,ae(!0),p),delay:e=>(r=e,ae(!0),p),getWebAnimations:L,getKeyframes:()=>y,getFill:X,getDirection:Y,getDelay:oe,getIterations:ee,getEasing:$,getDuration:_,afterAddRead:e=>(H.push(e),p),afterAddWrite:e=>(V.push(e),p),afterClearStyles:(e=[])=>{for(const o of e)S[o]="";return p},afterStyles:(e={})=>(S=e,p),afterRemoveClass:e=>(h=n(h,e),p),afterAddClass:e=>(E=n(E,e),p),beforeAddRead:e=>(x.push(e),p),beforeAddWrite:e=>(G.push(e),p),beforeClearStyles:(e=[])=>{for(const o of e)C[o]="";return p},beforeStyles:(e={})=>(C=e,p),beforeRemoveClass:e=>(A=n(A,e),p),beforeAddClass:e=>(g=n(g,e),p),onFinish:O,isRunning:()=>0!==j&&!F,progressStart:(e=!1,o)=>(P.forEach((t=>{t.progressStart(e,o)})),se(),k=e,b||ie(),ae(!1,!0,o),p),progressStep:e=>(P.forEach((o=>{o.progressStep(e)})),ne(e),p),progressEnd:(e,o,t)=>(k=!1,P.forEach((i=>{i.progressEnd(e,o,t)})),void 0!==t&&(m=t),T=!1,w=!0,0===e?(v="reverse"===Y()?"normal":"reverse","reverse"===v&&(w=!1),J?(ae(),ne(1-o)):(u=(1-o)*_()*-1,ae(!1,!1))):1===e&&(J?(ae(),ne(o)):(u=o*_()*-1,ae(!1,!1))),void 0===e||c||de(),p)}};export{r as c}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * (C) Ionic http://ionicframework.com - MIT License
3
3
  */
4
- import{w as o}from"./p-ZjP4CjeZ.js";import{r as t}from"./p-CTfR9YZG.js";const r=(r,i,e)=>{let n;const s=()=>void 0!==i()&&void 0===r.label&&null!==e(),d=()=>{const t=i();if(void 0===t)return;if(!s())return void t.style.removeProperty("width");const c=e().scrollWidth;if(0===c&&null===t.offsetParent&&void 0!==o&&"IntersectionObserver"in o){if(void 0!==n)return;const o=n=new IntersectionObserver((t=>{1===t[0].intersectionRatio&&(d(),o.disconnect(),n=void 0)}),{threshold:.01,root:r});o.observe(t)}else t.style.setProperty("width",.75*c+"px")};return{calculateNotchWidth:()=>{s()&&t((()=>{d()}))},destroy:()=>{n&&(n.disconnect(),n=void 0)}}},i=o=>{const t=o.classList.contains("ion-touched"),r=o.classList.contains("ion-invalid");return t&&r};export{i as a,r as c}
4
+ import{w as o}from"./p-ZjP4CjeZ.js";import{r as t}from"./p-Dbxeiy79.js";const i=(i,r,e)=>{let n;const s=()=>void 0!==r()&&void 0===i.label&&null!==e(),d=()=>{const t=r();if(void 0===t)return;if(!s())return void t.style.removeProperty("width");const c=e().scrollWidth;if(0===c&&null===t.offsetParent&&void 0!==o&&"IntersectionObserver"in o){if(void 0!==n)return;const o=n=new IntersectionObserver((t=>{1===t[0].intersectionRatio&&(d(),o.disconnect(),n=void 0)}),{threshold:.01,root:i});o.observe(t)}else t.style.setProperty("width",.75*c+"px")};return{calculateNotchWidth:()=>{s()&&t((()=>{d()}))},destroy:()=>{n&&(n.disconnect(),n=void 0)}}},r=o=>{const t=o.classList.contains("ion-touched"),i=o.classList.contains("ion-invalid");return t&&i};export{r as a,i as c}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * (C) Ionic http://ionicframework.com - MIT License
3
3
  */
4
- import{j as t}from"./p-C8IsBmNU.js";const n=n=>{try{if(n instanceof c)return n.value;if(!r()||"string"!=typeof n||""===n)return n;if(n.includes("onload="))return"";const t=document.createDocumentFragment(),s=document.createElement("div");t.appendChild(s),s.innerHTML=n,i.forEach((n=>{const r=t.querySelectorAll(n);for(let n=r.length-1;n>=0;n--){const s=r[n];s.parentNode?s.parentNode.removeChild(s):t.removeChild(s);const i=e(s);for(let t=0;t<i.length;t++)o(i[t])}}));const a=e(t);for(let t=0;t<a.length;t++)o(a[t]);const d=document.createElement("div");d.appendChild(t);const l=d.querySelector("div");return null!==l?l.innerHTML:d.innerHTML}catch(n){return t("sanitizeDOMString",n),""}},o=t=>{if(t.nodeType&&1!==t.nodeType)return;if("undefined"!=typeof NamedNodeMap&&!(t.attributes instanceof NamedNodeMap))return void t.remove();for(let n=t.attributes.length-1;n>=0;n--){const o=t.attributes.item(n),e=o.name;if(!s.includes(e.toLowerCase())){t.removeAttribute(e);continue}const r=o.value,i=t[e];(null!=r&&r.toLowerCase().includes("javascript:")||null!=i&&i.toLowerCase().includes("javascript:"))&&t.removeAttribute(e)}const n=e(t);for(let t=0;t<n.length;t++)o(n[t])},e=t=>null!=t.children?t.children:t.childNodes,r=()=>{var t;const n=window,o=null===(t=null==n?void 0:n.Ionic)||void 0===t?void 0:t.config;return!o||(o.get?o.get("sanitizerEnabled",!0):!0===o.sanitizerEnabled||void 0===o.sanitizerEnabled)},s=["class","id","href","src","name","slot"],i=["script","style","iframe","meta","link","object","embed"];class c{constructor(t){this.value=t}}const a=t=>{const n=window,o=n.Ionic;if(!o||!o.config||"Object"===o.config.constructor.name)return n.Ionic=n.Ionic||{},n.Ionic.config=Object.assign(Object.assign({},n.Ionic.config),t),n.Ionic.config},d=()=>{var t;const n=window,o=null===(t=null==n?void 0:n.Ionic)||void 0===t?void 0:t.config;return o?o.mode?o.mode:o.get("mode"):"md"},l=!1;export{l as E,c as I,n as a,d as g,a as s}
4
+ import{j as t}from"./p-BVGHdIB3.js";const n=n=>{try{if(n instanceof c)return n.value;if(!r()||"string"!=typeof n||""===n)return n;if(n.includes("onload="))return"";const t=document.createDocumentFragment(),s=document.createElement("div");t.appendChild(s),s.innerHTML=n,i.forEach((n=>{const r=t.querySelectorAll(n);for(let n=r.length-1;n>=0;n--){const s=r[n];s.parentNode?s.parentNode.removeChild(s):t.removeChild(s);const i=e(s);for(let t=0;t<i.length;t++)o(i[t])}}));const d=e(t);for(let t=0;t<d.length;t++)o(d[t]);const a=document.createElement("div");a.appendChild(t);const l=a.querySelector("div");return null!==l?l.innerHTML:a.innerHTML}catch(n){return t("sanitizeDOMString",n),""}},o=t=>{if(t.nodeType&&1!==t.nodeType)return;if("undefined"!=typeof NamedNodeMap&&!(t.attributes instanceof NamedNodeMap))return void t.remove();for(let n=t.attributes.length-1;n>=0;n--){const o=t.attributes.item(n),e=o.name;if(!s.includes(e.toLowerCase())){t.removeAttribute(e);continue}const r=o.value,i=t[e];(null!=r&&r.toLowerCase().includes("javascript:")||null!=i&&i.toLowerCase().includes("javascript:"))&&t.removeAttribute(e)}const n=e(t);for(let t=0;t<n.length;t++)o(n[t])},e=t=>null!=t.children?t.children:t.childNodes,r=()=>{var t;const n=window,o=null===(t=null==n?void 0:n.Ionic)||void 0===t?void 0:t.config;return!o||(o.get?o.get("sanitizerEnabled",!0):!0===o.sanitizerEnabled||void 0===o.sanitizerEnabled)},s=["class","id","href","src","name","slot"],i=["script","style","iframe","meta","link","object","embed"];class c{constructor(t){this.value=t}}const d=t=>{const n=window,o=n.Ionic;if(!o||!o.config||"Object"===o.config.constructor.name)return n.Ionic=n.Ionic||{},n.Ionic.config=Object.assign(Object.assign({},n.Ionic.config),t),n.Ionic.config},a=()=>{var t;const n=window,o=null===(t=null==n?void 0:n.Ionic)||void 0===t?void 0:t.config;return o?o.mode?o.mode:o.get("mode"):"md"},l=!1;export{l as E,c as I,n as a,a as g,d as s}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * (C) Ionic http://ionicframework.com - MIT License
3
3
  */
4
- import{i as o}from"./p-BFvmZNyx.js";const s=o;export{s as g}
4
+ import{i as o}from"./p-Cx-H2fLj.js";const s=o;export{s as g}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * (C) Ionic http://ionicframework.com - MIT License
3
3
  */
4
- import{e as o,l as i,m as t,n as e,o as n,q as r,f as d}from"./p-C8IsBmNU.js";const s=o=>l(o),a=(o,i)=>("string"==typeof o&&(i=o,o=void 0),s(o).includes(i)),l=(o=window)=>{if(void 0===o)return[];o.Ionic=o.Ionic||{};let i=o.Ionic.platforms;return null==i&&(i=o.Ionic.platforms=c(o),i.forEach((i=>o.document.documentElement.classList.add(`plt-${i}`)))),i},c=i=>{const t=o.get("platform");return Object.keys(j).filter((o=>{const e=null==t?void 0:t[o];return"function"==typeof e?e(i):j[o](i)}))},u=o=>!!h(o,/iPad/i)||!(!h(o,/Macintosh/i)||!p(o)),m=o=>h(o,/android|sink/i),p=o=>w(o,"(any-pointer:coarse)"),v=o=>f(o)||b(o),f=o=>!!(o.cordova||o.phonegap||o.PhoneGap),b=o=>{const i=o.Capacitor;return!!((null==i?void 0:i.isNative)||(null==i?void 0:i.isNativePlatform)&&i.isNativePlatform())},h=(o,i)=>i.test(o.navigator.userAgent),w=(o,i)=>{var t;return null===(t=o.matchMedia)||void 0===t?void 0:t.call(o,i).matches},j={ipad:u,iphone:o=>h(o,/iPhone/i),ios:o=>h(o,/iPhone|iPod/i)||u(o),android:m,phablet:o=>{const i=o.innerWidth,t=o.innerHeight,e=Math.min(i,t),n=Math.max(i,t);return e>390&&e<520&&n>620&&n<800},tablet:o=>{const i=o.innerWidth,t=o.innerHeight,e=Math.min(i,t),n=Math.max(i,t);return u(o)||(o=>m(o)&&!h(o,/mobile/i))(o)||e>460&&e<820&&n>780&&n<1400},cordova:f,capacitor:b,electron:o=>h(o,/electron/i),pwa:o=>{var i;return!(!(null===(i=o.matchMedia)||void 0===i?void 0:i.call(o,"(display-mode: standalone)").matches)&&!o.navigator.standalone)},mobile:p,mobileweb:o=>p(o)&&!v(o),desktop:o=>!p(o),hybrid:v};let O;const y=o=>o&&n(o)||O,g=(n={})=>{if("undefined"==typeof window)return;const s=window.document,c=window,u=c.Ionic=c.Ionic||{},m=Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},i(c)),{persistConfig:!1}),u.config),t(c)),n);o.reset(m),o.getBoolean("persistConfig")&&e(c,m),l(c),u.config=o,u.mode=O=o.get("mode",s.documentElement.getAttribute("mode")||(a(c,"ios")?"ios":"md")),o.set("mode",O),s.documentElement.setAttribute("mode",O),s.documentElement.classList.add(O),o.getBoolean("_testing")&&o.set("animated",!1);const p=o=>{var i;return null===(i=o.tagName)||void 0===i?void 0:i.startsWith("ION-")},v=o=>["ios","md"].includes(o);r((o=>{for(;o;){const i=o.mode||o.getAttribute("mode");if(i){if(v(i))return i;p(o)&&d('Invalid ionic mode: "'+i+'", expected: "ios" or "md"')}o=o.parentElement}return O}))};export{a,y as b,s as g,g as i}
4
+ import{e as o,l as i,m as t,n as e,o as n,q as r,f as d}from"./p-BVGHdIB3.js";const a=o=>l(o),s=(o,i)=>("string"==typeof o&&(i=o,o=void 0),a(o).includes(i)),l=(o=window)=>{if(void 0===o)return[];o.Ionic=o.Ionic||{};let i=o.Ionic.platforms;return null==i&&(i=o.Ionic.platforms=c(o),i.forEach((i=>o.document.documentElement.classList.add(`plt-${i}`)))),i},c=i=>{const t=o.get("platform");return Object.keys(j).filter((o=>{const e=null==t?void 0:t[o];return"function"==typeof e?e(i):j[o](i)}))},u=o=>!!h(o,/iPad/i)||!(!h(o,/Macintosh/i)||!m(o)),p=o=>h(o,/android|sink/i),m=o=>w(o,"(any-pointer:coarse)"),v=o=>f(o)||b(o),f=o=>!!(o.cordova||o.phonegap||o.PhoneGap),b=o=>{const i=o.Capacitor;return!!((null==i?void 0:i.isNative)||(null==i?void 0:i.isNativePlatform)&&i.isNativePlatform())},h=(o,i)=>i.test(o.navigator.userAgent),w=(o,i)=>{var t;return null===(t=o.matchMedia)||void 0===t?void 0:t.call(o,i).matches},j={ipad:u,iphone:o=>h(o,/iPhone/i),ios:o=>h(o,/iPhone|iPod/i)||u(o),android:p,phablet:o=>{const i=o.innerWidth,t=o.innerHeight,e=Math.min(i,t),n=Math.max(i,t);return e>390&&e<520&&n>620&&n<800},tablet:o=>{const i=o.innerWidth,t=o.innerHeight,e=Math.min(i,t),n=Math.max(i,t);return u(o)||(o=>p(o)&&!h(o,/mobile/i))(o)||e>460&&e<820&&n>780&&n<1400},cordova:f,capacitor:b,electron:o=>h(o,/electron/i),pwa:o=>{var i;return!(!(null===(i=o.matchMedia)||void 0===i?void 0:i.call(o,"(display-mode: standalone)").matches)&&!o.navigator.standalone)},mobile:m,mobileweb:o=>m(o)&&!v(o),desktop:o=>!m(o),hybrid:v};let O;const y=o=>o&&n(o)||O,g=(n={})=>{if("undefined"==typeof window)return;const a=window.document,c=window,u=c.Ionic=c.Ionic||{},p=Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},i(c)),{persistConfig:!1}),u.config),t(c)),n);o.reset(p),o.getBoolean("persistConfig")&&e(c,p),l(c),u.config=o,u.mode=O=o.get("mode",a.documentElement.getAttribute("mode")||(s(c,"ios")?"ios":"md")),o.set("mode",O),a.documentElement.setAttribute("mode",O),a.documentElement.classList.add(O),o.getBoolean("_testing")&&o.set("animated",!1);const m=o=>{var i;return null===(i=o.tagName)||void 0===i?void 0:i.startsWith("ION-")},v=o=>["ios","md"].includes(o);r((o=>{for(;o;){const i=o.mode||o.getAttribute("mode");if(i){if(v(i))return i;m(o)&&d('Invalid ionic mode: "'+i+'", expected: "ios" or "md"')}o=o.parentElement}return O}))};export{s as a,y as b,a as g,g as i}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * (C) Ionic http://ionicframework.com - MIT License
3
3
  */
4
- import{d as n}from"./p-ZjP4CjeZ.js";import{n as o,c as e,f as t,m as i,g as a}from"./p-CTfR9YZG.js";import{OVERLAY_BACK_BUTTON_PRIORITY as s,shouldUseCloseWatcher as r}from"./p-B0q1YL7N.js";import{e as d,j as l,f as c}from"./p-C8IsBmNU.js";import{b as u}from"./p-BFvmZNyx.js";import{C as m}from"./p-D-eFFUkA.js";import{B as p}from"./p-BTEOs1at.js";const v='[tabindex]:not([tabindex^="-"]):not([hidden]):not([disabled]), input:not([type=hidden]):not([tabindex^="-"]):not([hidden]):not([disabled]), textarea:not([tabindex^="-"]):not([hidden]):not([disabled]), button:not([tabindex^="-"]):not([hidden]):not([disabled]), select:not([tabindex^="-"]):not([hidden]):not([disabled]), ion-checkbox:not([tabindex^="-"]):not([hidden]):not([disabled]), ion-radio:not([tabindex^="-"]):not([hidden]):not([disabled]), .ion-focusable:not([tabindex^="-"]):not([hidden]):not([disabled]), .ion-focusable[disabled="false"]:not([tabindex^="-"]):not([hidden])',f=(n,o)=>{const e=n.querySelector(v);b(e,null!=o?o:n)},h=(n,o)=>{const e=Array.from(n.querySelectorAll(v));b(e.length>0?e[e.length-1]:null,null!=o?o:n)},b=(n,e)=>{let t=n;const i=null==n?void 0:n.shadowRoot;if(i&&(t=i.querySelector(v)||n),t){const n=t.closest("ion-radio-group");n?n.setFocus():o(t)}else e.focus()};let y=0,w=0;const g=new WeakMap,O=n=>({create:o=>D(n,o),dismiss:(o,e,t)=>P(document,o,e,n,t),getTop:async()=>E(document,n)}),T=O("ion-alert"),k=O("ion-action-sheet"),x=O("ion-loading"),j=O("ion-modal"),A=O("ion-picker-legacy"),C=O("ion-popover"),N=O("ion-toast"),B=n=>{"undefined"!=typeof document&&F(document);const o=y++;n.overlayIndex=o},I=n=>(n.hasAttribute("id")||(n.id="ion-overlay-"+ ++w),n.id),D=(n,o)=>"undefined"!=typeof window&&void 0!==window.customElements?window.customElements.whenDefined(n).then((()=>{const t=document.createElement(n);return t.classList.add("overlay-hidden"),Object.assign(t,Object.assign(Object.assign({},o),{hasController:!0})),q(document).appendChild(t),new Promise((n=>e(t,n)))})):Promise.resolve(),S=(n,e)=>{let t=n;const i=null==n?void 0:n.shadowRoot;i&&(t=i.querySelector(v)||n),t?o(t):e.focus()},F=n=>{0===y&&(y=1,n.addEventListener("focus",(o=>{((n,o)=>{const e=E(o,"ion-alert,ion-action-sheet,ion-loading,ion-modal,ion-picker-legacy,ion-popover"),t=n.target;e&&t&&(e.classList.contains(X)||(e.shadowRoot?(()=>{if(e.contains(t))e.lastFocus=t;else if("ION-TOAST"===t.tagName)S(e.lastFocus,e);else{const n=e.lastFocus;f(e),n===o.activeElement&&h(e),e.lastFocus=o.activeElement}})():(()=>{if(e===t)e.lastFocus=void 0;else if("ION-TOAST"===t.tagName)S(e.lastFocus,e);else{const n=a(e);if(!n.contains(t))return;const i=n.querySelector(".ion-overlay-wrapper");if(!i)return;if(i.contains(t)||t===n.querySelector("ion-backdrop"))e.lastFocus=t;else{const n=e.lastFocus;f(i,e),n===o.activeElement&&h(i,e),e.lastFocus=o.activeElement}}})()))})(o,n)}),!0),n.addEventListener("ionBackButton",(o=>{const e=E(n);(null==e?void 0:e.backdropDismiss)&&o.detail.register(s,(()=>{e.dismiss(void 0,_)}))})),r()||n.addEventListener("keydown",(o=>{if("Escape"===o.key){const o=E(n);(null==o?void 0:o.backdropDismiss)&&o.dismiss(void 0,_)}})))},P=(n,o,e,t,i)=>{const a=E(n,t,i);return a?a.dismiss(o,e):Promise.reject("overlay does not exist")},Z=(n,o)=>((n,o)=>(void 0===o&&(o="ion-alert,ion-action-sheet,ion-loading,ion-modal,ion-picker-legacy,ion-popover,ion-toast"),Array.from(n.querySelectorAll(o)).filter((n=>n.overlayIndex>0))))(n,o).filter((n=>!n.classList.contains("overlay-hidden"))),E=(n,o,e)=>{const t=Z(n,o);return void 0===e?t[t.length-1]:t.find((n=>n.id===e))},G=(n=!1)=>{const o=q(document).querySelector("ion-router-outlet, #ion-view-container-root");o&&(n?o.setAttribute("aria-hidden","true"):o.removeAttribute("aria-hidden"))},L=async(n,o,e,t,i)=>{var a,s;if(n.presented)return;"ION-TOAST"!==n.el.tagName&&M(n.el);const r=n.el,l="ION-TOAST"!==r.tagName&&!1!==r.focusTrap&&!1!==r.showBackdrop;if(n.presented=!0,n.willPresent.emit(),l){const n=q(document).querySelector("ion-router-outlet, #ion-view-container-root");!!n&&n.contains(r)||G(!0),document.body.classList.add(p)}null===(a=n.willPresentShorthand)||void 0===a||a.emit();const c=u(n),m=n.enterAnimation?n.enterAnimation:d.get(o,"ios"===c?e:t);await U(n,m,n.el,i)&&(n.didPresent.emit(),null===(s=n.didPresentShorthand)||void 0===s||s.emit()),!n.keyboardClose||null!==document.activeElement&&n.el.contains(document.activeElement)||n.el.focus(),n.el.removeAttribute("aria-hidden"),n.el.removeAttribute("inert")},M=async n=>{let o=document.activeElement;if(!o)return;o.blur();const e=null==o?void 0:o.shadowRoot;e&&(o=e.querySelector(v)||o),await n.onDidDismiss(),null!==document.activeElement&&document.activeElement!==document.body||o.focus()},$=async(o,e,t,i,a,s,r)=>{var c,m;if(!o.presented)return!1;const v=(void 0!==n?Z(n):[]).filter((n=>"ION-TOAST"!==n.tagName&&!1!==n.focusTrap&&!1!==n.showBackdrop)),f=o.el;"ION-TOAST"!==f.tagName&&!1!==f.focusTrap&&!1!==f.showBackdrop&&1===v.length&&v[0].id===f.id&&(G(!1),document.body.classList.remove(p)),o.presented=!1;try{o.el.style.setProperty("pointer-events","none"),o.willDismiss.emit({data:e,role:t}),null===(c=o.willDismissShorthand)||void 0===c||c.emit({data:e,role:t});const n=u(o),l=o.leaveAnimation?o.leaveAnimation:d.get(i,"ios"===n?a:s);t!==H&&await U(o,l,o.el,r),o.didDismiss.emit({data:e,role:t}),null===(m=o.didDismissShorthand)||void 0===m||m.emit({data:e,role:t}),(g.get(o)||[]).forEach((n=>n.destroy())),g.delete(o),o.el.classList.add("overlay-hidden"),o.el.style.removeProperty("pointer-events"),void 0!==o.el.lastFocus&&(o.el.lastFocus=void 0)}catch(n){l(`[${o.el.tagName.toLowerCase()}] - `,n)}return o.el.remove(),!0},q=n=>n.querySelector("ion-app")||n.body,U=async(n,o,e,t)=>{e.classList.remove("overlay-hidden");const i=o(n.el,t);n.animated&&d.getBoolean("animated",!0)||i.duration(0),n.keyboardClose&&i.beforeAddWrite((()=>{const n=e.ownerDocument.activeElement;(null==n?void 0:n.matches("input,ion-input, ion-textarea"))&&n.blur()}));const a=g.get(n)||[];return g.set(n,[...a,i]),await i.play(),!0},V=(n,o)=>{let e;const t=new Promise((n=>e=n));return Y(n,o,(n=>{e(n.detail)})),t},Y=(n,o,e)=>{const a=t=>{i(n,o,a),e(t)};t(n,o,a)},z=n=>"cancel"===n||n===_,R=n=>n(),W=(n,o)=>{if("function"==typeof n)return d.get("_zoneGate",R)((()=>{try{return n(o)}catch(n){throw n}}))},_="backdrop",H="gesture",J=39,K=n=>{let o,e=!1;const t=m(),i=(i=!1)=>{if(o&&!i)return{delegate:o,inline:e};const{el:a,hasController:s,delegate:r}=n;return e=null!==a.parentNode&&!s,o=e?r||t:r,{inline:e,delegate:o}};return{attachViewToDom:async o=>{const{delegate:e}=i(!0);if(e)return await e.attachViewToDom(n.el,o);const{hasController:t}=n;if(t&&void 0!==o)throw new Error("framework delegate is missing");return null},removeViewFromDom:()=>{const{delegate:o}=i();o&&void 0!==n.el&&o.removeViewFromDom(n.el.parentElement,n.el)}}},Q=()=>{let n;const o=()=>{n&&(n(),n=void 0)};return{addClickListener:(e,t)=>{o();const i=void 0!==t?document.getElementById(t):null;i?n=((n,o)=>{const e=()=>{o.present()};return n.addEventListener("click",e),()=>{n.removeEventListener("click",e)}})(i,e):c(`[${e.tagName.toLowerCase()}] - A trigger element with the ID "${t}" was not found in the DOM. The trigger element must be in the DOM when the "trigger" property is set on an overlay component.`,e)},removeClickListener:o}},X="ion-disable-focus-trap";export{_ as B,X as F,H as G,J as O,T as a,k as b,C as c,K as d,Q as e,L as f,$ as g,V as h,z as i,B as j,I as k,x as l,j as m,f as n,E as o,A as p,h as q,W as s,N as t}
4
+ import{d as n}from"./p-ZjP4CjeZ.js";import{n as o,c as e,f as t,m as i,g as a}from"./p-Dbxeiy79.js";import{OVERLAY_BACK_BUTTON_PRIORITY as s,shouldUseCloseWatcher as d}from"./p-vq6cJ1-o.js";import{e as r,j as l,f as c}from"./p-BVGHdIB3.js";import{b as u}from"./p-Cx-H2fLj.js";import{C as m}from"./p-Byj9wS2m.js";import{B as p}from"./p-BTEOs1at.js";const v='[tabindex]:not([tabindex^="-"]):not([hidden]):not([disabled]), input:not([type=hidden]):not([tabindex^="-"]):not([hidden]):not([disabled]), textarea:not([tabindex^="-"]):not([hidden]):not([disabled]), button:not([tabindex^="-"]):not([hidden]):not([disabled]), select:not([tabindex^="-"]):not([hidden]):not([disabled]), ion-checkbox:not([tabindex^="-"]):not([hidden]):not([disabled]), ion-radio:not([tabindex^="-"]):not([hidden]):not([disabled]), .ion-focusable:not([tabindex^="-"]):not([hidden]):not([disabled]), .ion-focusable[disabled="false"]:not([tabindex^="-"]):not([hidden])',f=(n,o)=>{const e=n.querySelector(v);b(e,null!=o?o:n)},h=(n,o)=>{const e=Array.from(n.querySelectorAll(v));b(e.length>0?e[e.length-1]:null,null!=o?o:n)},b=(n,e)=>{let t=n;const i=null==n?void 0:n.shadowRoot;if(i&&(t=i.querySelector(v)||n),t){const n=t.closest("ion-radio-group");n?n.setFocus():o(t)}else e.focus()};let y=0,w=0;const g=new WeakMap,O=n=>({create:o=>D(n,o),dismiss:(o,e,t)=>E(document,o,e,n,t),getTop:async()=>L(document,n)}),x=O("ion-alert"),j=O("ion-action-sheet"),T=O("ion-loading"),k=O("ion-modal"),A=O("ion-picker-legacy"),B=O("ion-popover"),C=O("ion-toast"),I=n=>{"undefined"!=typeof document&&P(document);const o=y++;n.overlayIndex=o},S=n=>(n.hasAttribute("id")||(n.id="ion-overlay-"+ ++w),n.id),D=(n,o)=>"undefined"!=typeof window&&void 0!==window.customElements?window.customElements.whenDefined(n).then((()=>{const t=document.createElement(n);return t.classList.add("overlay-hidden"),Object.assign(t,Object.assign(Object.assign({},o),{hasController:!0})),F(document).appendChild(t),new Promise((n=>e(t,n)))})):Promise.resolve(),N=(n,e)=>{let t=n;const i=null==n?void 0:n.shadowRoot;i&&(t=i.querySelector(v)||n),t?o(t):e.focus()},P=n=>{0===y&&(y=1,n.addEventListener("focus",(o=>{((n,o)=>{const e=L(o,"ion-alert,ion-action-sheet,ion-loading,ion-modal,ion-picker-legacy,ion-popover"),t=n.target;e&&t&&(e.classList.contains(Y)||(e.shadowRoot?(()=>{if(e.contains(t))e.lastFocus=t;else if("ION-TOAST"===t.tagName)N(e.lastFocus,e);else{const n=e.lastFocus;f(e),n===o.activeElement&&h(e),e.lastFocus=o.activeElement}})():(()=>{if(e===t)e.lastFocus=void 0;else if("ION-TOAST"===t.tagName)N(e.lastFocus,e);else{const n=a(e);if(!n.contains(t))return;const i=n.querySelector(".ion-overlay-wrapper");if(!i)return;if(i.contains(t)||t===n.querySelector("ion-backdrop"))e.lastFocus=t;else{const n=e.lastFocus;f(i,e),n===o.activeElement&&h(i,e),e.lastFocus=o.activeElement}}})()))})(o,n)}),!0),n.addEventListener("ionBackButton",(o=>{const e=L(n);(null==e?void 0:e.backdropDismiss)&&o.detail.register(s,(()=>{e.dismiss(void 0,K)}))})),d()||n.addEventListener("keydown",(o=>{if("Escape"===o.key){const o=L(n);(null==o?void 0:o.backdropDismiss)&&o.dismiss(void 0,K)}})))},E=(n,o,e,t,i)=>{const a=L(n,t,i);return a?a.dismiss(o,e):Promise.reject("overlay does not exist")},G=(n,o)=>((n,o)=>(void 0===o&&(o="ion-alert,ion-action-sheet,ion-loading,ion-modal,ion-picker-legacy,ion-popover,ion-toast"),Array.from(n.querySelectorAll(o)).filter((n=>n.overlayIndex>0))))(n,o).filter((n=>!n.classList.contains("overlay-hidden"))),L=(n,o,e)=>{const t=G(n,o);return void 0===e?t[t.length-1]:t.find((n=>n.id===e))},M=(n=!1)=>{const o=F(document).querySelector("ion-router-outlet, #ion-view-container-root");o&&(n?o.setAttribute("aria-hidden","true"):o.removeAttribute("aria-hidden"))},V=async(n,o,e,t,i)=>{var a,s;if(n.presented)return;"ION-TOAST"!==n.el.tagName&&$(n.el);const d=n.el,l="ION-TOAST"!==d.tagName&&!1!==d.focusTrap&&!1!==d.showBackdrop;if(n.presented=!0,n.willPresent.emit(),l){const n=F(document).querySelector("ion-router-outlet, #ion-view-container-root");!!n&&n.contains(d)||M(!0),document.body.classList.add(p)}null===(a=n.willPresentShorthand)||void 0===a||a.emit();const c=u(n),m=n.enterAnimation?n.enterAnimation:r.get(o,"ios"===c?e:t);await H(n,m,n.el,i)&&(n.didPresent.emit(),null===(s=n.didPresentShorthand)||void 0===s||s.emit()),!n.keyboardClose||null!==document.activeElement&&n.el.contains(document.activeElement)||n.el.focus(),n.el.removeAttribute("aria-hidden"),n.el.removeAttribute("inert")},$=async n=>{let o=document.activeElement;if(!o)return;o.blur();const e=null==o?void 0:o.shadowRoot;e&&(o=e.querySelector(v)||o),await n.onDidDismiss(),null!==document.activeElement&&document.activeElement!==document.body||o.focus()},q=async(o,e,t,i,a,s,d)=>{var c,m;if(!o.presented)return!1;const v=(void 0!==n?G(n):[]).filter((n=>"ION-TOAST"!==n.tagName&&!1!==n.focusTrap&&!1!==n.showBackdrop)),f=o.el;"ION-TOAST"!==f.tagName&&!1!==f.focusTrap&&!1!==f.showBackdrop&&1===v.length&&v[0].id===f.id&&(M(!1),document.body.classList.remove(p)),o.presented=!1;try{o.el.style.setProperty("pointer-events","none"),o.willDismiss.emit({data:e,role:t}),null===(c=o.willDismissShorthand)||void 0===c||c.emit({data:e,role:t});const n=u(o),l=o.leaveAnimation?o.leaveAnimation:r.get(i,"ios"===n?a:s);t!==Q&&await H(o,l,o.el,d),o.didDismiss.emit({data:e,role:t}),null===(m=o.didDismissShorthand)||void 0===m||m.emit({data:e,role:t}),(g.get(o)||[]).forEach((n=>n.destroy())),g.delete(o),o.el.classList.add("overlay-hidden"),o.el.style.removeProperty("pointer-events"),void 0!==o.el.lastFocus&&(o.el.lastFocus=void 0)}catch(n){l(`[${o.el.tagName.toLowerCase()}] - `,n)}return o.el.remove(),!0},F=n=>n.querySelector("ion-app")||n.body,H=async(n,o,e,t)=>{e.classList.remove("overlay-hidden");const i=o(n.el,t);n.animated&&r.getBoolean("animated",!0)||i.duration(0),n.keyboardClose&&i.beforeAddWrite((()=>{const n=e.ownerDocument.activeElement;(null==n?void 0:n.matches("input,ion-input, ion-textarea"))&&n.blur()}));const a=g.get(n)||[];return g.set(n,[...a,i]),await i.play(),!0},Z=(n,o)=>{let e;const t=new Promise((n=>e=n));return z(n,o,(n=>{e(n.detail)})),t},z=(n,o,e)=>{const a=t=>{i(n,o,a),e(t)};t(n,o,a)},J=n=>"cancel"===n||n===K,W=n=>n(),_=(n,o)=>{if("function"==typeof n)return r.get("_zoneGate",W)((()=>{try{return n(o)}catch(n){throw n}}))},K="backdrop",Q="gesture",R=39,U=n=>{let o,e=!1;const t=m(),i=(i=!1)=>{if(o&&!i)return{delegate:o,inline:e};const{el:a,hasController:s,delegate:d}=n;return e=null!==a.parentNode&&!s,o=e?d||t:d,{inline:e,delegate:o}};return{attachViewToDom:async o=>{const{delegate:e}=i(!0);if(e)return await e.attachViewToDom(n.el,o);const{hasController:t}=n;if(t&&void 0!==o)throw new Error("framework delegate is missing");return null},removeViewFromDom:()=>{const{delegate:o}=i();o&&void 0!==n.el&&o.removeViewFromDom(n.el.parentElement,n.el)}}},X=()=>{let n;const o=()=>{n&&(n(),n=void 0)};return{addClickListener:(e,t)=>{o();const i=void 0!==t?document.getElementById(t):null;i?n=((n,o)=>{const e=()=>{o.present()};return n.addEventListener("click",e),()=>{n.removeEventListener("click",e)}})(i,e):c(`[${e.tagName.toLowerCase()}] - A trigger element with the ID "${t}" was not found in the DOM. The trigger element must be in the DOM when the "trigger" property is set on an overlay component.`,e)},removeClickListener:o}},Y="ion-disable-focus-trap";export{K as B,Y as F,Q as G,R as O,x as a,j as b,B as c,U as d,X as e,V as f,q as g,Z as h,J as i,I as j,S as k,T as l,k as m,f as n,L as o,A as p,h as q,_ as s,C as t}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * (C) Ionic http://ionicframework.com - MIT License
3
3
  */
4
- import{w as o}from"./p-ZjP4CjeZ.js";import{r}from"./p-CTfR9YZG.js";import{j as t}from"./p-C8IsBmNU.js";const e=(t,e,i)=>{let n,s;if(void 0!==o&&"MutationObserver"in o){const o=Array.isArray(e)?e:[e];n=new MutationObserver((t=>{for(const e of t)for(const t of e.addedNodes)if(t.nodeType===Node.ELEMENT_NODE&&o.includes(t.slot))return i(),void r((()=>c(t)))})),n.observe(t,{childList:!0,subtree:!0})}const c=o=>{var r;s&&(s.disconnect(),s=void 0),s=new MutationObserver((o=>{i();for(const r of o)for(const o of r.removedNodes)o.nodeType===Node.ELEMENT_NODE&&o.slot===e&&f()})),s.observe(null!==(r=o.parentElement)&&void 0!==r?r:o,{subtree:!0,childList:!0})},f=()=>{s&&(s.disconnect(),s=void 0)};return{destroy:()=>{n&&(n.disconnect(),n=void 0),f()}}},i=(o,r,e)=>{const i=null==o?0:o.toString().length,s=n(i,r);if(void 0===e)return s;try{return e(i,r)}catch(o){return t("[ion-input] - Exception in provided `counterFormatter`:",o),s}},n=(o,r)=>`${o} / ${r}`;export{e as c,i as g}
4
+ import{w as o}from"./p-ZjP4CjeZ.js";import{r}from"./p-Dbxeiy79.js";import{j as t}from"./p-BVGHdIB3.js";const e=(t,e,i)=>{let n,s;if(void 0!==o&&"MutationObserver"in o){const o=Array.isArray(e)?e:[e];n=new MutationObserver((t=>{for(const e of t)for(const t of e.addedNodes)if(t.nodeType===Node.ELEMENT_NODE&&o.includes(t.slot))return i(),void r((()=>c(t)))})),n.observe(t,{childList:!0,subtree:!0})}const c=o=>{var r;s&&(s.disconnect(),s=void 0),s=new MutationObserver((o=>{i();for(const r of o)for(const o of r.removedNodes)o.nodeType===Node.ELEMENT_NODE&&o.slot===e&&d()})),s.observe(null!==(r=o.parentElement)&&void 0!==r?r:o,{subtree:!0,childList:!0})},d=()=>{s&&(s.disconnect(),s=void 0)};return{destroy:()=>{n&&(n.disconnect(),n=void 0),d()}}},i=(o,r,e)=>{const i=null==o?0:o.toString().length,s=n(i,r);if(void 0===e)return s;try{return e(i,r)}catch(o){return t("[ion-input] - Exception in provided `counterFormatter`:",o),s}},n=(o,r)=>`${o} / ${r}`;export{e as c,i as g}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * (C) Ionic http://ionicframework.com - MIT License
3
3
  */
4
- import{w as t}from"./p-C8IsBmNU.js";import{h as o,a as e,b as n}from"./p-CKvCXMs9.js";import{createGesture as r}from"./p-Cl0B-RWe.js";const s=(s,a)=>{let i,c;const d=(t,o,e)=>{if("undefined"==typeof document)return;const n=document.elementFromPoint(t,o);n&&a(n)&&!n.disabled?n!==i&&(p(),m(n,e)):p()},m=(o,e)=>{i=o,c||(c=i);const n=i;t((()=>n.classList.add("ion-activated"))),e()},p=(o=!1)=>{if(!i)return;const e=i;t((()=>e.classList.remove("ion-activated"))),o&&c!==i&&i.click(),i=void 0};return r({el:s,gestureName:"buttonActiveDrag",threshold:0,onStart:t=>d(t.currentX,t.currentY,n),onMove:t=>d(t.currentX,t.currentY,e),onEnd:()=>{p(!0),o(),c=void 0}})};export{s as c}
4
+ import{w as t}from"./p-BVGHdIB3.js";import{h as o,a as e,b as n}from"./p-CKvCXMs9.js";import{createGesture as r}from"./p-Cl0B-RWe.js";const s=(s,a)=>{let i,c;const d=(t,o,e)=>{if("undefined"==typeof document)return;const n=document.elementFromPoint(t,o);n&&a(n)&&!n.disabled?n!==i&&(p(),m(n,e)):p()},m=(o,e)=>{i=o,c||(c=i);const n=i;t((()=>n.classList.add("ion-activated"))),e()},p=(o=!1)=>{if(!i)return;const e=i;t((()=>e.classList.remove("ion-activated"))),o&&c!==i&&i.click(),i=void 0};return r({el:s,gestureName:"buttonActiveDrag",threshold:0,onStart:t=>d(t.currentX,t.currentY,n),onMove:t=>d(t.currentX,t.currentY,e),onEnd:()=>{p(!0),o(),c=void 0}})};export{s as c}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * (C) Ionic http://ionicframework.com - MIT License
3
3
  */
4
- import{j as a}from"./p-C8IsBmNU.js";const i=(a,i=0)=>new Promise((e=>{r(a,i,e)})),r=(a,i=0,r)=>{let e,t;const n={passive:!0},o=()=>{e&&e()},s=i=>{void 0!==i&&a!==i.target||(o(),r(i))};return a&&(a.addEventListener("webkitTransitionEnd",s,n),a.addEventListener("transitionend",s,n),t=setTimeout(s,i+500),e=()=>{void 0!==t&&(clearTimeout(t),t=void 0),a.removeEventListener("webkitTransitionEnd",s,n),a.removeEventListener("transitionend",s,n)}),o},e=(a,i)=>{a.componentOnReady?a.componentOnReady().then((a=>i(a))):d((()=>i(a)))},t=a=>void 0!==a.componentOnReady,n=(a,i=[])=>{const r={};return i.forEach((i=>{a.hasAttribute(i)&&(null!==a.getAttribute(i)&&(r[i]=a.getAttribute(i)),a.removeAttribute(i))})),r},o=["role","aria-activedescendant","aria-atomic","aria-autocomplete","aria-braillelabel","aria-brailleroledescription","aria-busy","aria-checked","aria-colcount","aria-colindex","aria-colindextext","aria-colspan","aria-controls","aria-current","aria-describedby","aria-description","aria-details","aria-disabled","aria-errormessage","aria-expanded","aria-flowto","aria-haspopup","aria-hidden","aria-invalid","aria-keyshortcuts","aria-label","aria-labelledby","aria-level","aria-live","aria-multiline","aria-multiselectable","aria-orientation","aria-owns","aria-placeholder","aria-posinset","aria-pressed","aria-readonly","aria-relevant","aria-required","aria-roledescription","aria-rowcount","aria-rowindex","aria-rowindextext","aria-rowspan","aria-selected","aria-setsize","aria-sort","aria-valuemax","aria-valuemin","aria-valuenow","aria-valuetext"],s=a=>n(a,o),l=(a,i,r,e)=>a.addEventListener(i,r,e),u=(a,i,r,e)=>a.removeEventListener(i,r,e),c=(a,i=a)=>a.shadowRoot||i,d=a=>"function"==typeof __zone_symbol__requestAnimationFrame?__zone_symbol__requestAnimationFrame(a):"function"==typeof requestAnimationFrame?requestAnimationFrame(a):setTimeout(a),m=a=>!!a.shadowRoot&&!!a.attachShadow,p=a=>{if(a.focus(),a.classList.contains("ion-focusable")){const i=a.closest("ion-app");i&&i.setFocus([a])}},f=(a,i,r,e,t)=>{{let a=i.querySelector("input.aux-input");a||(a=i.ownerDocument.createElement("input"),a.type="hidden",a.classList.add("aux-input"),i.appendChild(a)),a.disabled=t,a.name=r,a.value=e||""}},b=(a,i,r)=>Math.max(a,Math.min(i,r)),v=(i,r)=>{if(!i){const i="ASSERT: "+r;throw a(i),new Error(i)}},w=a=>{if(a){const i=a.changedTouches;if(i&&i.length>0){const a=i[0];return{x:a.clientX,y:a.clientY}}if(void 0!==a.pageX)return{x:a.pageX,y:a.pageY}}return{x:0,y:0}},x=a=>{const i="rtl"===document.dir;switch(a){case"start":return i;case"end":return!i;default:throw new Error(`"${a}" is not a valid value for [side]. Use "start" or "end" instead.`)}},y=(a,i)=>{const r=a._original||a;return{_original:a,emit:h(r.emit.bind(r),i)}},h=(a,i=0)=>{let r;return(...e)=>{clearTimeout(r),r=setTimeout(a,i,...e)}},_=(a,i)=>{if(null!=a||(a={}),null!=i||(i={}),a===i)return!0;const r=Object.keys(a);if(r.length!==Object.keys(i).length)return!1;for(const e of r){if(!(e in i))return!1;if(a[e]!==i[e])return!1}return!0},T=a=>"number"==typeof a&&!isNaN(a)&&isFinite(a);export{f as a,n as b,e as c,y as d,b as e,l as f,c as g,t as h,s as i,T as j,m as k,v as l,u as m,p as n,x as o,h as p,w as q,d as r,_ as s,i as t}
4
+ import{j as a}from"./p-BVGHdIB3.js";const i=(a,i=0)=>new Promise((e=>{r(a,i,e)})),r=(a,i=0,r)=>{let e,t;const n={passive:!0},o=()=>{e&&e()},s=i=>{void 0!==i&&a!==i.target||(o(),r(i))};return a&&(a.addEventListener("webkitTransitionEnd",s,n),a.addEventListener("transitionend",s,n),t=setTimeout(s,i+500),e=()=>{void 0!==t&&(clearTimeout(t),t=void 0),a.removeEventListener("webkitTransitionEnd",s,n),a.removeEventListener("transitionend",s,n)}),o},e=(a,i)=>{a.componentOnReady?a.componentOnReady().then((a=>i(a))):c((()=>i(a)))},t=a=>void 0!==a.componentOnReady,n=(a,i=[])=>{const r={};return i.forEach((i=>{a.hasAttribute(i)&&(null!==a.getAttribute(i)&&(r[i]=a.getAttribute(i)),a.removeAttribute(i))})),r},o=["role","aria-activedescendant","aria-atomic","aria-autocomplete","aria-braillelabel","aria-brailleroledescription","aria-busy","aria-checked","aria-colcount","aria-colindex","aria-colindextext","aria-colspan","aria-controls","aria-current","aria-describedby","aria-description","aria-details","aria-disabled","aria-errormessage","aria-expanded","aria-flowto","aria-haspopup","aria-hidden","aria-invalid","aria-keyshortcuts","aria-label","aria-labelledby","aria-level","aria-live","aria-multiline","aria-multiselectable","aria-orientation","aria-owns","aria-placeholder","aria-posinset","aria-pressed","aria-readonly","aria-relevant","aria-required","aria-roledescription","aria-rowcount","aria-rowindex","aria-rowindextext","aria-rowspan","aria-selected","aria-setsize","aria-sort","aria-valuemax","aria-valuemin","aria-valuenow","aria-valuetext"],s=a=>n(a,o),l=(a,i,r,e)=>a.addEventListener(i,r,e),u=(a,i,r,e)=>a.removeEventListener(i,r,e),d=(a,i=a)=>a.shadowRoot||i,c=a=>"function"==typeof __zone_symbol__requestAnimationFrame?__zone_symbol__requestAnimationFrame(a):"function"==typeof requestAnimationFrame?requestAnimationFrame(a):setTimeout(a),m=a=>!!a.shadowRoot&&!!a.attachShadow,p=a=>{if(a.focus(),a.classList.contains("ion-focusable")){const i=a.closest("ion-app");i&&i.setFocus([a])}},f=(a,i,r,e,t)=>{{let a=i.querySelector("input.aux-input");a||(a=i.ownerDocument.createElement("input"),a.type="hidden",a.classList.add("aux-input"),i.appendChild(a)),a.disabled=t,a.name=r,a.value=e||""}},b=(a,i,r)=>Math.max(a,Math.min(i,r)),v=(i,r)=>{if(!i){const i="ASSERT: "+r;throw a(i),new Error(i)}},w=a=>{if(a){const i=a.changedTouches;if(i&&i.length>0){const a=i[0];return{x:a.clientX,y:a.clientY}}if(void 0!==a.pageX)return{x:a.pageX,y:a.pageY}}return{x:0,y:0}},x=a=>{const i="rtl"===document.dir;switch(a){case"start":return i;case"end":return!i;default:throw new Error(`"${a}" is not a valid value for [side]. Use "start" or "end" instead.`)}},y=(a,i)=>{const r=a._original||a;return{_original:a,emit:h(r.emit.bind(r),i)}},h=(a,i=0)=>{let r;return(...e)=>{clearTimeout(r),r=setTimeout(a,i,...e)}},_=(a,i)=>{if(null!=a||(a={}),null!=i||(i={}),a===i)return!0;const r=Object.keys(a);if(r.length!==Object.keys(i).length)return!1;for(const e of r){if(!(e in i))return!1;if(a[e]!==i[e])return!1}return!0},T=a=>"number"==typeof a&&!isNaN(a)&&isFinite(a);export{f as a,n as b,e as c,y as d,b as e,l as f,d as g,t as h,s as i,T as j,m as k,v as l,u as m,p as n,x as o,h as p,w as q,c as r,_ as s,i as t}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * (C) Ionic http://ionicframework.com - MIT License
3
3
  */
4
- import{c as t}from"./p-DDb5r57F.js";import{g as o}from"./p-DUt5fQmA.js";import"./p-C8IsBmNU.js";import"./p-ZjP4CjeZ.js";import"./p-CTfR9YZG.js";const i=(i,r)=>{var s,a,n;const p="40px",e="back"===r.direction,c=r.leavingEl,l=o(r.enteringEl),b=l.querySelector("ion-toolbar"),m=t();if(m.addElement(l).fill("both").beforeRemoveClass("ion-page-invisible"),e?m.duration((null!==(s=r.duration)&&void 0!==s?s:0)||200).easing("cubic-bezier(0.47,0,0.745,0.715)"):m.duration((null!==(a=r.duration)&&void 0!==a?a:0)||280).easing("cubic-bezier(0.36,0.66,0.04,1)").fromTo("transform",`translateY(${p})`,"translateY(0px)").fromTo("opacity",.01,1),b){const o=t();o.addElement(b),m.addAnimation(o)}if(c&&e){m.duration((null!==(n=r.duration)&&void 0!==n?n:0)||200).easing("cubic-bezier(0.47,0,0.745,0.715)");const i=t();i.addElement(o(c)).onFinish((t=>{1===t&&i.elements.length>0&&i.elements[0].style.setProperty("display","none")})).fromTo("transform","translateY(0px)",`translateY(${p})`).fromTo("opacity",1,0),m.addAnimation(i)}return m};export{i as mdTransitionAnimation}
4
+ import{c as i}from"./p-C-hkdhDX.js";import{g as o}from"./p-BKzjBsgr.js";import"./p-BVGHdIB3.js";import"./p-ZjP4CjeZ.js";import"./p-Dbxeiy79.js";const t=(t,r)=>{var s,a,n;const p="40px",e="back"===r.direction,c=r.leavingEl,l=o(r.enteringEl),b=l.querySelector("ion-toolbar"),m=i();if(m.addElement(l).fill("both").beforeRemoveClass("ion-page-invisible"),e?m.duration((null!==(s=r.duration)&&void 0!==s?s:0)||200).easing("cubic-bezier(0.47,0,0.745,0.715)"):m.duration((null!==(a=r.duration)&&void 0!==a?a:0)||280).easing("cubic-bezier(0.36,0.66,0.04,1)").fromTo("transform",`translateY(${p})`,"translateY(0px)").fromTo("opacity",.01,1),b){const o=i();o.addElement(b),m.addAnimation(o)}if(c&&e){m.duration((null!==(n=r.duration)&&void 0!==n?n:0)||200).easing("cubic-bezier(0.47,0,0.745,0.715)");const t=i();t.addElement(o(c)).onFinish((i=>{1===i&&t.elements.length>0&&t.elements[0].style.setProperty("display","none")})).fromTo("transform","translateY(0px)",`translateY(${p})`).fromTo("opacity",1,0),m.addAnimation(t)}return m};export{t as mdTransitionAnimation}
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * (C) Ionic http://ionicframework.com - MIT License
3
+ */
4
+ import{e as t}from"./p-Dbxeiy79.js";import{i as o}from"./p-C53feagD.js";import{createGesture as r}from"./p-Cl0B-RWe.js";import"./p-BVGHdIB3.js";import"./p-BTEOs1at.js";const s=(s,e,n,a,p)=>{const i=s.ownerDocument.defaultView;let c=o(s);const m=t=>c?-t.deltaX:t.deltaX;return r({el:s,gestureName:"goback-swipe",gesturePriority:101,threshold:10,canStart:t=>(c=o(s),(t=>{const{startX:o}=t;return c?o>=i.innerWidth-50:o<=50})(t)&&e()),onStart:n,onMove:t=>{const o=m(t);a(o/i.innerWidth)},onEnd:o=>{const r=m(o),s=i.innerWidth,e=r/s,n=(t=>c?-t.velocityX:t.velocityX)(o),a=n>=0&&(n>.2||r>s/2),f=(a?1-e:e)*s;let j=0;if(f>5){const t=f/Math.abs(n);j=Math.min(t,540)}p(a,e<=0?.01:t(0,e,.9999),j)}})};export{s as createSwipeBackGesture}
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * (C) Ionic http://ionicframework.com - MIT License
3
+ */
4
+ import{d as t}from"./p-ZjP4CjeZ.js";import{q as e}from"./p-Dbxeiy79.js";import"./p-BVGHdIB3.js";const i=i=>{if(void 0===t)return;let f,p,u,d=0;const l=i.getBoolean("animated",!0)&&i.getBoolean("rippleEffect",!0),v=new WeakMap,m=()=>{u&&clearTimeout(u),u=void 0,f&&(b(!1),f=void 0)},j=(t,i)=>{if(t&&t===f)return;u&&clearTimeout(u),u=void 0;const{x:o,y:r}=e(i);if(f){if(v.has(f))throw new Error("internal error");f.classList.contains(a)||w(f,o,r),b(!0)}if(t){const e=v.get(t);e&&(clearTimeout(e),v.delete(t)),t.classList.remove(a);const i=()=>{w(t,o,r),u=void 0};n(t)?i():u=setTimeout(i,c)}f=t},w=(t,e,i)=>{if(d=Date.now(),t.classList.add(a),!l)return;const o=r(t);null!==o&&(T(),p=o.addRipple(e,i))},T=()=>{void 0!==p&&(p.then((t=>t())),p=void 0)},b=t=>{T();const e=f;if(!e)return;const i=s-Date.now()+d;if(t&&i>0&&!n(e)){const t=setTimeout((()=>{e.classList.remove(a),v.delete(e)}),s);v.set(e,t)}else e.classList.remove(a)};t.addEventListener("ionGestureCaptured",m),t.addEventListener("pointerdown",(t=>{f||2===t.button||j(o(t),t)}),!0),t.addEventListener("pointerup",(t=>{j(void 0,t)}),!0),t.addEventListener("pointercancel",m,!0)},o=t=>{if(void 0===t.composedPath)return t.target.closest(".ion-activatable");{const e=t.composedPath();for(let t=0;t<e.length-2;t++){const i=e[t];if(!(i instanceof ShadowRoot)&&i.classList.contains("ion-activatable"))return i}}},n=t=>t.classList.contains("ion-activatable-instant"),r=t=>{if(t.shadowRoot){const e=t.shadowRoot.querySelector("ion-ripple-effect");if(e)return e}return t.querySelector("ion-ripple-effect")},a="ion-activated",c=100,s=150;export{i as startTapClick}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * (C) Ionic http://ionicframework.com - MIT License
3
3
  */
4
- import{d as t}from"./p-ZjP4CjeZ.js";import{MENU_BACK_BUTTON_PRIORITY as e}from"./p-B0q1YL7N.js";import{f as n}from"./p-C8IsBmNU.js";import{c as r}from"./p-CTfR9YZG.js";import{b as s}from"./p-BFvmZNyx.js";import{c as a}from"./p-DDb5r57F.js";const o=t=>a().duration(t?400:300),i=t=>{let e,n;const r=t.width+8,i=a(),u=a();t.isEndSide?(e=r+"px",n="0px"):(e=-r+"px",n="0px"),i.addElement(t.menuInnerEl).fromTo("transform",`translateX(${e})`,`translateX(${n})`);const c="ios"===s(t),m=c?.2:.25;return u.addElement(t.backdropEl).fromTo("opacity",.01,m),o(c).addAnimation([i,u])},u=t=>{let e,n;const r=s(t),i=t.width;t.isEndSide?(e=-i+"px",n=i+"px"):(e=i+"px",n=-i+"px");const u=a().addElement(t.menuInnerEl).fromTo("transform",`translateX(${n})`,"translateX(0px)"),c=a().addElement(t.contentEl).fromTo("transform","translateX(0px)",`translateX(${e})`),m=a().addElement(t.backdropEl).fromTo("opacity",.01,.32);return o("ios"===r).addAnimation([u,c,m])},c=t=>{const e=s(t),n=t.width*(t.isEndSide?-1:1)+"px",r=a().addElement(t.contentEl).fromTo("transform","translateX(0px)",`translateX(${n})`);return o("ios"===e).addAnimation(r)},m=(()=>{const s=new Map,a=[],o=async(t,e=!1)=>{if(await d(),"start"===t||"end"===t){const r=a.filter((e=>e.side===t&&!e.disabled));if(r.length>=1)return r.length>1&&e&&n(`menuController queried for a menu on the "${t}" side, but ${r.length} menus were found. The first menu reference will be used. If this is not the behavior you want then pass the ID of the menu instead of its side.`,r.map((t=>t.el))),r[0].el;const s=a.filter((e=>e.side===t));if(s.length>=1)return s.length>1&&e&&n(`menuController queried for a menu on the "${t}" side, but ${s.length} menus were found. The first menu reference will be used. If this is not the behavior you want then pass the ID of the menu instead of its side.`,s.map((t=>t.el))),s[0].el}else if(null!=t)return w((e=>e.menuId===t));return w((t=>!t.disabled))||(a.length>0?a[0].el:void 0)},m=async()=>(await d(),f()),p=(t,e)=>{s.set(t,e)},f=()=>w((t=>t._isOpen)),l=()=>a.some((t=>t.isAnimating)),w=t=>{const e=a.find(t);if(void 0!==e)return e.el},d=()=>Promise.all(Array.from(document.querySelectorAll("ion-menu")).map((t=>new Promise((e=>r(t,e))))));return p("reveal",c),p("push",u),p("overlay",i),null==t||t.addEventListener("ionBackButton",(t=>{const n=f();n&&t.detail.register(e,(()=>n.close()))})),{registerAnimation:p,get:o,getMenus:async()=>(await d(),a.map((t=>t.el))),getOpen:m,isEnabled:async t=>{const e=await o(t);return!!e&&!e.disabled},swipeGesture:async(t,e)=>{const n=await o(e);return n&&(n.swipeGesture=t),n},isAnimating:async()=>(await d(),l()),isOpen:async t=>{if(null!=t){const e=await o(t);return void 0!==e&&e.isOpen()}return void 0!==await m()},enable:async(t,e)=>{const n=await o(e);return n&&(n.disabled=!t),n},toggle:async t=>{const e=await o(t,!0);return!!e&&e.toggle()},close:async t=>{const e=await(void 0!==t?o(t,!0):m());return void 0!==e&&e.close()},open:async t=>{const e=await o(t,!0);return!!e&&e.open()},_getOpenSync:f,_createAnimation:(t,e)=>{const n=s.get(t);if(!n)throw new Error("animation not registered");return n(e)},_register:t=>{a.indexOf(t)<0&&a.push(t)},_unregister:t=>{const e=a.indexOf(t);e>-1&&a.splice(e,1)},_setOpen:async(t,e,n,r)=>{if(l())return!1;if(e){const e=await m();e&&t.el!==e&&await e.setOpen(!1,!1)}return t._setOpen(e,n,r)}}})();export{m}
4
+ import{d as t}from"./p-ZjP4CjeZ.js";import{MENU_BACK_BUTTON_PRIORITY as e}from"./p-vq6cJ1-o.js";import{f as n}from"./p-BVGHdIB3.js";import{c as r}from"./p-Dbxeiy79.js";import{b as s}from"./p-Cx-H2fLj.js";import{c as a}from"./p-C-hkdhDX.js";const o=t=>a().duration(t?400:300),i=t=>{let e,n;const r=t.width+8,i=a(),u=a();t.isEndSide?(e=r+"px",n="0px"):(e=-r+"px",n="0px"),i.addElement(t.menuInnerEl).fromTo("transform",`translateX(${e})`,`translateX(${n})`);const c="ios"===s(t),p=c?.2:.25;return u.addElement(t.backdropEl).fromTo("opacity",.01,p),o(c).addAnimation([i,u])},u=t=>{let e,n;const r=s(t),i=t.width;t.isEndSide?(e=-i+"px",n=i+"px"):(e=i+"px",n=-i+"px");const u=a().addElement(t.menuInnerEl).fromTo("transform",`translateX(${n})`,"translateX(0px)"),c=a().addElement(t.contentEl).fromTo("transform","translateX(0px)",`translateX(${e})`),p=a().addElement(t.backdropEl).fromTo("opacity",.01,.32);return o("ios"===r).addAnimation([u,c,p])},c=t=>{const e=s(t),n=t.width*(t.isEndSide?-1:1)+"px",r=a().addElement(t.contentEl).fromTo("transform","translateX(0px)",`translateX(${n})`);return o("ios"===e).addAnimation(r)},p=(()=>{const s=new Map,a=[],o=async(t,e=!1)=>{if(await w(),"start"===t||"end"===t){const r=a.filter((e=>e.side===t&&!e.disabled));if(r.length>=1)return r.length>1&&e&&n(`menuController queried for a menu on the "${t}" side, but ${r.length} menus were found. The first menu reference will be used. If this is not the behavior you want then pass the ID of the menu instead of its side.`,r.map((t=>t.el))),r[0].el;const s=a.filter((e=>e.side===t));if(s.length>=1)return s.length>1&&e&&n(`menuController queried for a menu on the "${t}" side, but ${s.length} menus were found. The first menu reference will be used. If this is not the behavior you want then pass the ID of the menu instead of its side.`,s.map((t=>t.el))),s[0].el}else if(null!=t)return d((e=>e.menuId===t));return d((t=>!t.disabled))||(a.length>0?a[0].el:void 0)},p=async()=>(await w(),m()),f=(t,e)=>{s.set(t,e)},m=()=>d((t=>t._isOpen)),l=()=>a.some((t=>t.isAnimating)),d=t=>{const e=a.find(t);if(void 0!==e)return e.el},w=()=>Promise.all(Array.from(document.querySelectorAll("ion-menu")).map((t=>new Promise((e=>r(t,e))))));return f("reveal",c),f("push",u),f("overlay",i),null==t||t.addEventListener("ionBackButton",(t=>{const n=m();n&&t.detail.register(e,(()=>n.close()))})),{registerAnimation:f,get:o,getMenus:async()=>(await w(),a.map((t=>t.el))),getOpen:p,isEnabled:async t=>{const e=await o(t);return!!e&&!e.disabled},swipeGesture:async(t,e)=>{const n=await o(e);return n&&(n.swipeGesture=t),n},isAnimating:async()=>(await w(),l()),isOpen:async t=>{if(null!=t){const e=await o(t);return void 0!==e&&e.isOpen()}return void 0!==await p()},enable:async(t,e)=>{const n=await o(e);return n&&(n.disabled=!t),n},toggle:async t=>{const e=await o(t,!0);return!!e&&e.toggle()},close:async t=>{const e=await(void 0!==t?o(t,!0):p());return void 0!==e&&e.close()},open:async t=>{const e=await o(t,!0);return!!e&&e.open()},_getOpenSync:m,_createAnimation:(t,e)=>{const n=s.get(t);if(!n)throw new Error("animation not registered");return n(e)},_register:t=>{a.indexOf(t)<0&&a.push(t)},_unregister:t=>{const e=a.indexOf(t);e>-1&&a.splice(e,1)},_setOpen:async(t,e,n,r)=>{if(l())return!1;if(e){const e=await p();e&&t.el!==e&&await e.setOpen(!1,!1)}return t._setOpen(e,n,r)}}})();export{p as m}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * (C) Ionic http://ionicframework.com - MIT License
3
3
  */
4
- import{r as t,a as n,w as a,h as i,d as e,g as o}from"./p-C8IsBmNU.js";import{b as r}from"./p-BFvmZNyx.js";const s=class{constructor(n){t(this,n),this.type="bounded"}async addRipple(t,i){return new Promise((e=>{n((()=>{const n=this.el.getBoundingClientRect(),o=n.width,r=n.height,s=Math.sqrt(o*o+r*r),l=Math.max(r,o),u=this.unbounded?l:s+c,d=Math.floor(l*f),p=u/d;let b=t-n.left,w=i-n.top;this.unbounded&&(b=.5*o,w=.5*r);const k=b-.5*d,y=w-.5*d,h=.5*o-b,g=.5*r-w;a((()=>{const t=document.createElement("div");t.classList.add("ripple-effect");const n=t.style;n.top=y+"px",n.left=k+"px",n.width=n.height=d+"px",n.setProperty("--final-scale",`${p}`),n.setProperty("--translate-end",`${h}px, ${g}px`),(this.el.shadowRoot||this.el).appendChild(t),setTimeout((()=>{e((()=>{m(t)}))}),325)}))}))}))}get unbounded(){return"unbounded"===this.type}render(){const t=r(this);return i(e,{key:"ae9d3b1ed6773a9b9bb2267129f7e9af23b6c9fc",role:"presentation",class:{[t]:!0,unbounded:this.unbounded}})}get el(){return o(this)}},m=t=>{t.classList.add("fade-out"),setTimeout((()=>{t.remove()}),200)},c=10,f=.5;s.style=":host{left:0;right:0;top:0;bottom:0;position:absolute;contain:strict;pointer-events:none}:host(.unbounded){contain:layout size style}.ripple-effect{border-radius:50%;position:absolute;background-color:currentColor;color:inherit;contain:strict;opacity:0;-webkit-animation:225ms rippleAnimation forwards, 75ms fadeInAnimation forwards;animation:225ms rippleAnimation forwards, 75ms fadeInAnimation forwards;will-change:transform, opacity;pointer-events:none}.fade-out{-webkit-transform:translate(var(--translate-end)) scale(var(--final-scale, 1));transform:translate(var(--translate-end)) scale(var(--final-scale, 1));-webkit-animation:150ms fadeOutAnimation forwards;animation:150ms fadeOutAnimation forwards}@-webkit-keyframes rippleAnimation{from{-webkit-animation-timing-function:cubic-bezier(0.4, 0, 0.2, 1);animation-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transform:scale(1);transform:scale(1)}to{-webkit-transform:translate(var(--translate-end)) scale(var(--final-scale, 1));transform:translate(var(--translate-end)) scale(var(--final-scale, 1))}}@keyframes rippleAnimation{from{-webkit-animation-timing-function:cubic-bezier(0.4, 0, 0.2, 1);animation-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transform:scale(1);transform:scale(1)}to{-webkit-transform:translate(var(--translate-end)) scale(var(--final-scale, 1));transform:translate(var(--translate-end)) scale(var(--final-scale, 1))}}@-webkit-keyframes fadeInAnimation{from{-webkit-animation-timing-function:linear;animation-timing-function:linear;opacity:0}to{opacity:0.16}}@keyframes fadeInAnimation{from{-webkit-animation-timing-function:linear;animation-timing-function:linear;opacity:0}to{opacity:0.16}}@-webkit-keyframes fadeOutAnimation{from{-webkit-animation-timing-function:linear;animation-timing-function:linear;opacity:0.16}to{opacity:0}}@keyframes fadeOutAnimation{from{-webkit-animation-timing-function:linear;animation-timing-function:linear;opacity:0.16}to{opacity:0}}";export{s as ion_ripple_effect}
4
+ import{r as t,a as n,w as a,h as i,d as e,g as o}from"./p-BVGHdIB3.js";import{b as r}from"./p-Cx-H2fLj.js";const s=class{constructor(n){t(this,n),this.type="bounded"}async addRipple(t,i){return new Promise((e=>{n((()=>{const n=this.el.getBoundingClientRect(),o=n.width,r=n.height,s=Math.sqrt(o*o+r*r),l=Math.max(r,o),d=this.unbounded?l:s+c,u=Math.floor(l*f),p=d/u;let b=t-n.left,w=i-n.top;this.unbounded&&(b=.5*o,w=.5*r);const k=b-.5*u,y=w-.5*u,h=.5*o-b,g=.5*r-w;a((()=>{const t=document.createElement("div");t.classList.add("ripple-effect");const n=t.style;n.top=y+"px",n.left=k+"px",n.width=n.height=u+"px",n.setProperty("--final-scale",`${p}`),n.setProperty("--translate-end",`${h}px, ${g}px`),(this.el.shadowRoot||this.el).appendChild(t),setTimeout((()=>{e((()=>{m(t)}))}),325)}))}))}))}get unbounded(){return"unbounded"===this.type}render(){const t=r(this);return i(e,{key:"ae9d3b1ed6773a9b9bb2267129f7e9af23b6c9fc",role:"presentation",class:{[t]:!0,unbounded:this.unbounded}})}get el(){return o(this)}},m=t=>{t.classList.add("fade-out"),setTimeout((()=>{t.remove()}),200)},c=10,f=.5;s.style=":host{left:0;right:0;top:0;bottom:0;position:absolute;contain:strict;pointer-events:none}:host(.unbounded){contain:layout size style}.ripple-effect{border-radius:50%;position:absolute;background-color:currentColor;color:inherit;contain:strict;opacity:0;-webkit-animation:225ms rippleAnimation forwards, 75ms fadeInAnimation forwards;animation:225ms rippleAnimation forwards, 75ms fadeInAnimation forwards;will-change:transform, opacity;pointer-events:none}.fade-out{-webkit-transform:translate(var(--translate-end)) scale(var(--final-scale, 1));transform:translate(var(--translate-end)) scale(var(--final-scale, 1));-webkit-animation:150ms fadeOutAnimation forwards;animation:150ms fadeOutAnimation forwards}@-webkit-keyframes rippleAnimation{from{-webkit-animation-timing-function:cubic-bezier(0.4, 0, 0.2, 1);animation-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transform:scale(1);transform:scale(1)}to{-webkit-transform:translate(var(--translate-end)) scale(var(--final-scale, 1));transform:translate(var(--translate-end)) scale(var(--final-scale, 1))}}@keyframes rippleAnimation{from{-webkit-animation-timing-function:cubic-bezier(0.4, 0, 0.2, 1);animation-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transform:scale(1);transform:scale(1)}to{-webkit-transform:translate(var(--translate-end)) scale(var(--final-scale, 1));transform:translate(var(--translate-end)) scale(var(--final-scale, 1))}}@-webkit-keyframes fadeInAnimation{from{-webkit-animation-timing-function:linear;animation-timing-function:linear;opacity:0}to{opacity:0.16}}@keyframes fadeInAnimation{from{-webkit-animation-timing-function:linear;animation-timing-function:linear;opacity:0}to{opacity:0.16}}@-webkit-keyframes fadeOutAnimation{from{-webkit-animation-timing-function:linear;animation-timing-function:linear;opacity:0.16}to{opacity:0}}@keyframes fadeOutAnimation{from{-webkit-animation-timing-function:linear;animation-timing-function:linear;opacity:0.16}to{opacity:0}}";export{s as ion_ripple_effect}