@ionic/core 7.3.1-dev.11692293668.19f31f09 → 7.3.1-dev.11692799508.1d7ba666

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 (338) hide show
  1. package/components/button.js +16 -0
  2. package/components/input-shims.js +2 -76
  3. package/components/ion-input.js +1 -1
  4. package/components/ion-textarea.js +1 -1
  5. package/dist/cjs/{app-globals-a579aafd.js → app-globals-a264e098.js} +1 -1
  6. package/dist/cjs/{button-active-dfd2756e.js → button-active-989e4646.js} +1 -1
  7. package/dist/cjs/{index-484b1104.js → index-8b8cc4f0.js} +9 -85
  8. package/dist/cjs/{index-8568bedb.js → index-c79fde48.js} +3 -3
  9. package/dist/cjs/{index-653be4df.js → index-d9ce0677.js} +1 -1
  10. package/dist/cjs/index.cjs.js +7 -7
  11. package/dist/cjs/{input-shims-d8e322aa.js → input-shims-f8569707.js} +2 -76
  12. package/dist/cjs/ion-accordion_2.cjs.entry.js +2 -2
  13. package/dist/cjs/ion-action-sheet.cjs.entry.js +4 -4
  14. package/dist/cjs/ion-alert.cjs.entry.js +4 -4
  15. package/dist/cjs/ion-app_8.cjs.entry.js +5 -5
  16. package/dist/cjs/ion-avatar_3.cjs.entry.js +2 -2
  17. package/dist/cjs/ion-back-button.cjs.entry.js +2 -2
  18. package/dist/cjs/ion-backdrop.cjs.entry.js +2 -2
  19. package/dist/cjs/ion-breadcrumb_2.cjs.entry.js +2 -2
  20. package/dist/cjs/ion-button_2.cjs.entry.js +18 -2
  21. package/dist/cjs/ion-card_5.cjs.entry.js +2 -2
  22. package/dist/cjs/ion-checkbox.cjs.entry.js +2 -2
  23. package/dist/cjs/ion-chip.cjs.entry.js +2 -2
  24. package/dist/cjs/ion-col_3.cjs.entry.js +2 -2
  25. package/dist/cjs/ion-datetime-button.cjs.entry.js +2 -2
  26. package/dist/cjs/ion-datetime_3.cjs.entry.js +3 -3
  27. package/dist/cjs/ion-fab_3.cjs.entry.js +2 -2
  28. package/dist/cjs/ion-img.cjs.entry.js +2 -2
  29. package/dist/cjs/ion-infinite-scroll_2.cjs.entry.js +2 -2
  30. package/dist/cjs/ion-input.cjs.entry.js +3 -3
  31. package/dist/cjs/ion-item-option_3.cjs.entry.js +2 -2
  32. package/dist/cjs/ion-item_8.cjs.entry.js +2 -2
  33. package/dist/cjs/ion-loading.cjs.entry.js +3 -3
  34. package/dist/cjs/ion-menu_3.cjs.entry.js +4 -4
  35. package/dist/cjs/ion-modal.cjs.entry.js +4 -4
  36. package/dist/cjs/ion-nav_2.cjs.entry.js +3 -3
  37. package/dist/cjs/ion-picker-column-internal.cjs.entry.js +2 -2
  38. package/dist/cjs/ion-picker-internal.cjs.entry.js +1 -1
  39. package/dist/cjs/ion-popover.cjs.entry.js +4 -4
  40. package/dist/cjs/ion-progress-bar.cjs.entry.js +2 -2
  41. package/dist/cjs/ion-radio_2.cjs.entry.js +2 -2
  42. package/dist/cjs/ion-range.cjs.entry.js +2 -2
  43. package/dist/cjs/ion-refresher_2.cjs.entry.js +2 -2
  44. package/dist/cjs/ion-reorder_2.cjs.entry.js +2 -2
  45. package/dist/cjs/ion-ripple-effect.cjs.entry.js +2 -2
  46. package/dist/cjs/ion-route_4.cjs.entry.js +2 -2
  47. package/dist/cjs/ion-searchbar.cjs.entry.js +2 -2
  48. package/dist/cjs/ion-segment_2.cjs.entry.js +2 -2
  49. package/dist/cjs/ion-select_3.cjs.entry.js +3 -3
  50. package/dist/cjs/ion-spinner.cjs.entry.js +2 -2
  51. package/dist/cjs/ion-split-pane.cjs.entry.js +2 -2
  52. package/dist/cjs/ion-tab-bar_2.cjs.entry.js +2 -2
  53. package/dist/cjs/ion-tab_2.cjs.entry.js +1 -1
  54. package/dist/cjs/ion-text.cjs.entry.js +2 -2
  55. package/dist/cjs/ion-textarea.cjs.entry.js +3 -3
  56. package/dist/cjs/ion-toast.cjs.entry.js +3 -3
  57. package/dist/cjs/ion-toggle.cjs.entry.js +2 -2
  58. package/dist/cjs/{ionic-global-f81d8b73.js → ionic-global-fedc2b90.js} +1 -1
  59. package/dist/cjs/ionic.cjs.js +4 -4
  60. package/dist/cjs/{ios.transition-f7c78d7c.js → ios.transition-0fb27b5a.js} +2 -2
  61. package/dist/cjs/loader.cjs.js +4 -4
  62. package/dist/cjs/{md.transition-65dc7dce.js → md.transition-7d8e50c5.js} +2 -2
  63. package/dist/cjs/{overlays-0ea06fcb.js → overlays-193cee18.js} +1 -1
  64. package/dist/cjs/{status-tap-4564b66c.js → status-tap-bd298531.js} +1 -1
  65. package/dist/collection/collection-manifest.json +1 -1
  66. package/dist/collection/components/button/button.js +16 -0
  67. package/dist/collection/components/input/input.js +1 -1
  68. package/dist/collection/components/input/test/clear-on-edit/input.e2e.js +33 -0
  69. package/dist/collection/components/textarea/test/clear-on-edit/textarea.e2e.js +25 -0
  70. package/dist/collection/components/textarea/textarea.js +1 -1
  71. package/dist/collection/utils/input-shims/hacks/scroll-assist.js +2 -76
  72. package/dist/collection/utils/slot-mutation-controller.js +1 -1
  73. package/dist/docs.d.ts +240 -322
  74. package/dist/docs.json +3 -3
  75. package/dist/esm/{app-globals-e8ddf830.js → app-globals-fd465772.js} +1 -1
  76. package/dist/esm/{button-active-2da0f611.js → button-active-ca3f9d01.js} +1 -1
  77. package/dist/esm/{index-847f2fde.js → index-70d99ffc.js} +9 -85
  78. package/dist/esm/{index-6391de89.js → index-86eb68c3.js} +3 -3
  79. package/dist/esm/{index-b3e05099.js → index-ccf7640c.js} +1 -1
  80. package/dist/esm/index.js +7 -7
  81. package/dist/esm/{input-shims-c738363e.js → input-shims-af993f05.js} +2 -76
  82. package/dist/esm/ion-accordion_2.entry.js +2 -2
  83. package/dist/esm/ion-action-sheet.entry.js +4 -4
  84. package/dist/esm/ion-alert.entry.js +4 -4
  85. package/dist/esm/ion-app_8.entry.js +5 -5
  86. package/dist/esm/ion-avatar_3.entry.js +2 -2
  87. package/dist/esm/ion-back-button.entry.js +2 -2
  88. package/dist/esm/ion-backdrop.entry.js +2 -2
  89. package/dist/esm/ion-breadcrumb_2.entry.js +2 -2
  90. package/dist/esm/ion-button_2.entry.js +18 -2
  91. package/dist/esm/ion-card_5.entry.js +2 -2
  92. package/dist/esm/ion-checkbox.entry.js +2 -2
  93. package/dist/esm/ion-chip.entry.js +2 -2
  94. package/dist/esm/ion-col_3.entry.js +2 -2
  95. package/dist/esm/ion-datetime-button.entry.js +2 -2
  96. package/dist/esm/ion-datetime_3.entry.js +3 -3
  97. package/dist/esm/ion-fab_3.entry.js +2 -2
  98. package/dist/esm/ion-img.entry.js +2 -2
  99. package/dist/esm/ion-infinite-scroll_2.entry.js +2 -2
  100. package/dist/esm/ion-input.entry.js +3 -3
  101. package/dist/esm/ion-item-option_3.entry.js +2 -2
  102. package/dist/esm/ion-item_8.entry.js +2 -2
  103. package/dist/esm/ion-loading.entry.js +3 -3
  104. package/dist/esm/ion-menu_3.entry.js +4 -4
  105. package/dist/esm/ion-modal.entry.js +4 -4
  106. package/dist/esm/ion-nav_2.entry.js +3 -3
  107. package/dist/esm/ion-picker-column-internal.entry.js +2 -2
  108. package/dist/esm/ion-picker-internal.entry.js +1 -1
  109. package/dist/esm/ion-popover.entry.js +4 -4
  110. package/dist/esm/ion-progress-bar.entry.js +2 -2
  111. package/dist/esm/ion-radio_2.entry.js +2 -2
  112. package/dist/esm/ion-range.entry.js +2 -2
  113. package/dist/esm/ion-refresher_2.entry.js +2 -2
  114. package/dist/esm/ion-reorder_2.entry.js +2 -2
  115. package/dist/esm/ion-ripple-effect.entry.js +2 -2
  116. package/dist/esm/ion-route_4.entry.js +2 -2
  117. package/dist/esm/ion-searchbar.entry.js +2 -2
  118. package/dist/esm/ion-segment_2.entry.js +2 -2
  119. package/dist/esm/ion-select_3.entry.js +3 -3
  120. package/dist/esm/ion-spinner.entry.js +2 -2
  121. package/dist/esm/ion-split-pane.entry.js +2 -2
  122. package/dist/esm/ion-tab-bar_2.entry.js +2 -2
  123. package/dist/esm/ion-tab_2.entry.js +1 -1
  124. package/dist/esm/ion-text.entry.js +2 -2
  125. package/dist/esm/ion-textarea.entry.js +3 -3
  126. package/dist/esm/ion-toast.entry.js +3 -3
  127. package/dist/esm/ion-toggle.entry.js +2 -2
  128. package/dist/esm/{ionic-global-1ef19007.js → ionic-global-e88a1dad.js} +1 -1
  129. package/dist/esm/ionic.js +5 -5
  130. package/dist/esm/{ios.transition-3137d23e.js → ios.transition-fb95e6d3.js} +2 -2
  131. package/dist/esm/loader.js +5 -5
  132. package/dist/esm/{md.transition-48b3b77c.js → md.transition-5d6ecb91.js} +2 -2
  133. package/dist/esm/{overlays-c3387ec0.js → overlays-10ba06f0.js} +1 -1
  134. package/dist/esm/{status-tap-823a0df3.js → status-tap-ed20e939.js} +1 -1
  135. package/dist/esm-es5/app-globals-fd465772.js +4 -0
  136. package/dist/esm-es5/{button-active-2da0f611.js → button-active-ca3f9d01.js} +1 -1
  137. package/dist/esm-es5/{index-847f2fde.js → index-70d99ffc.js} +1 -1
  138. package/dist/esm-es5/{index-6391de89.js → index-86eb68c3.js} +1 -1
  139. package/dist/esm-es5/{index-b3e05099.js → index-ccf7640c.js} +1 -1
  140. package/dist/esm-es5/index.js +1 -1
  141. package/dist/esm-es5/input-shims-af993f05.js +4 -0
  142. package/dist/esm-es5/ion-accordion_2.entry.js +1 -1
  143. package/dist/esm-es5/ion-action-sheet.entry.js +1 -1
  144. package/dist/esm-es5/ion-alert.entry.js +1 -1
  145. package/dist/esm-es5/ion-app_8.entry.js +1 -1
  146. package/dist/esm-es5/ion-avatar_3.entry.js +1 -1
  147. package/dist/esm-es5/ion-back-button.entry.js +1 -1
  148. package/dist/esm-es5/ion-backdrop.entry.js +1 -1
  149. package/dist/esm-es5/ion-breadcrumb_2.entry.js +1 -1
  150. package/dist/esm-es5/ion-button_2.entry.js +1 -1
  151. package/dist/esm-es5/ion-card_5.entry.js +1 -1
  152. package/dist/esm-es5/ion-checkbox.entry.js +1 -1
  153. package/dist/esm-es5/ion-chip.entry.js +1 -1
  154. package/dist/esm-es5/ion-col_3.entry.js +1 -1
  155. package/dist/esm-es5/ion-datetime-button.entry.js +1 -1
  156. package/dist/esm-es5/ion-datetime_3.entry.js +1 -1
  157. package/dist/esm-es5/ion-fab_3.entry.js +1 -1
  158. package/dist/esm-es5/ion-img.entry.js +1 -1
  159. package/dist/esm-es5/ion-infinite-scroll_2.entry.js +1 -1
  160. package/dist/esm-es5/ion-input.entry.js +1 -1
  161. package/dist/esm-es5/ion-item-option_3.entry.js +1 -1
  162. package/dist/esm-es5/ion-item_8.entry.js +1 -1
  163. package/dist/esm-es5/ion-loading.entry.js +1 -1
  164. package/dist/esm-es5/ion-menu_3.entry.js +1 -1
  165. package/dist/esm-es5/ion-modal.entry.js +1 -1
  166. package/dist/esm-es5/ion-nav_2.entry.js +1 -1
  167. package/dist/esm-es5/ion-picker-column-internal.entry.js +1 -1
  168. package/dist/esm-es5/ion-picker-internal.entry.js +1 -1
  169. package/dist/esm-es5/ion-popover.entry.js +1 -1
  170. package/dist/esm-es5/ion-progress-bar.entry.js +1 -1
  171. package/dist/esm-es5/ion-radio_2.entry.js +1 -1
  172. package/dist/esm-es5/ion-range.entry.js +1 -1
  173. package/dist/esm-es5/ion-refresher_2.entry.js +1 -1
  174. package/dist/esm-es5/ion-reorder_2.entry.js +1 -1
  175. package/dist/esm-es5/ion-ripple-effect.entry.js +1 -1
  176. package/dist/esm-es5/ion-route_4.entry.js +1 -1
  177. package/dist/esm-es5/ion-searchbar.entry.js +1 -1
  178. package/dist/esm-es5/ion-segment_2.entry.js +1 -1
  179. package/dist/esm-es5/ion-select_3.entry.js +1 -1
  180. package/dist/esm-es5/ion-spinner.entry.js +1 -1
  181. package/dist/esm-es5/ion-split-pane.entry.js +1 -1
  182. package/dist/esm-es5/ion-tab-bar_2.entry.js +1 -1
  183. package/dist/esm-es5/ion-tab_2.entry.js +1 -1
  184. package/dist/esm-es5/ion-text.entry.js +1 -1
  185. package/dist/esm-es5/ion-textarea.entry.js +1 -1
  186. package/dist/esm-es5/ion-toast.entry.js +1 -1
  187. package/dist/esm-es5/ion-toggle.entry.js +1 -1
  188. package/dist/esm-es5/{ionic-global-1ef19007.js → ionic-global-e88a1dad.js} +1 -1
  189. package/dist/esm-es5/ionic.js +1 -1
  190. package/dist/esm-es5/{ios.transition-3137d23e.js → ios.transition-fb95e6d3.js} +1 -1
  191. package/dist/esm-es5/loader.js +1 -1
  192. package/dist/esm-es5/{md.transition-48b3b77c.js → md.transition-5d6ecb91.js} +1 -1
  193. package/dist/esm-es5/{overlays-c3387ec0.js → overlays-10ba06f0.js} +1 -1
  194. package/dist/esm-es5/{status-tap-823a0df3.js → status-tap-ed20e939.js} +1 -1
  195. package/dist/ionic/index.esm.js +1 -1
  196. package/dist/ionic/ionic.esm.js +1 -1
  197. package/dist/ionic/ionic.js +1 -1
  198. package/dist/ionic/{p-423d5a4d.entry.js → p-0122956c.entry.js} +1 -1
  199. package/dist/ionic/p-037b8d72.system.entry.js +4 -0
  200. package/dist/ionic/{p-96c2a273.system.entry.js → p-04abed42.system.entry.js} +1 -1
  201. package/dist/ionic/{p-0053fe81.system.entry.js → p-05ce217a.system.entry.js} +1 -1
  202. package/dist/ionic/{p-82f8ee51.entry.js → p-06f7e890.entry.js} +1 -1
  203. package/dist/ionic/p-07f42dec.system.js +5 -0
  204. package/dist/ionic/p-08109158.system.js +4 -0
  205. package/dist/ionic/{p-06f1f560.system.entry.js → p-0b7f3cc1.system.entry.js} +1 -1
  206. package/dist/ionic/p-0cad1c08.entry.js +4 -0
  207. package/dist/ionic/{p-e112994b.system.entry.js → p-10cf0148.system.entry.js} +1 -1
  208. package/dist/ionic/{p-98a189f3.entry.js → p-10dac2e4.entry.js} +1 -1
  209. package/dist/ionic/{p-11248f01.js → p-121d1c2e.js} +1 -1
  210. package/dist/ionic/{p-d3b8aebf.entry.js → p-1950bdfd.entry.js} +1 -1
  211. package/dist/ionic/{p-785b0913.entry.js → p-1d6468d5.entry.js} +1 -1
  212. package/dist/ionic/p-20155794.js +4 -0
  213. package/dist/ionic/{p-229df0d8.entry.js → p-20441be8.entry.js} +1 -1
  214. package/dist/ionic/{p-2cdcd6f2.entry.js → p-235e2314.entry.js} +1 -1
  215. package/dist/ionic/{p-5c96dc4e.entry.js → p-29275097.entry.js} +1 -1
  216. package/dist/ionic/{p-b9312889.entry.js → p-2cf1a687.entry.js} +1 -1
  217. package/dist/ionic/{p-32d11ce2.system.entry.js → p-2e1bac68.system.entry.js} +1 -1
  218. package/dist/ionic/{p-e53b8af4.system.entry.js → p-2f727c33.system.entry.js} +1 -1
  219. package/dist/ionic/{p-11a42c03.system.entry.js → p-2fd2eb1b.system.entry.js} +2 -2
  220. package/dist/ionic/{p-06d6e9c0.system.entry.js → p-3143b485.system.entry.js} +1 -1
  221. package/dist/ionic/{p-2da3e015.system.entry.js → p-34f85efb.system.entry.js} +1 -1
  222. package/dist/ionic/{p-fea46870.system.entry.js → p-354dc88c.system.entry.js} +1 -1
  223. package/dist/ionic/{p-91459620.js → p-3d0a72a2.js} +1 -1
  224. package/dist/ionic/{p-e9c112ba.entry.js → p-3e44f9aa.entry.js} +1 -1
  225. package/dist/ionic/{p-d8538837.entry.js → p-3fee7f7d.entry.js} +1 -1
  226. package/dist/ionic/{p-5ef91692.js → p-405dfcd1.js} +1 -1
  227. package/dist/ionic/{p-b9654781.system.entry.js → p-40980493.system.entry.js} +1 -1
  228. package/dist/ionic/{p-77913af5.entry.js → p-42756631.entry.js} +1 -1
  229. package/dist/ionic/{p-b22ee0dc.js → p-439a4f2f.js} +1 -1
  230. package/dist/ionic/{p-99028088.entry.js → p-440aa25d.entry.js} +1 -1
  231. package/dist/ionic/{p-430e902d.entry.js → p-44667719.entry.js} +1 -1
  232. package/dist/ionic/p-4531b920.system.js +4 -0
  233. package/dist/ionic/{p-df6743df.system.js → p-46ec8a6b.system.js} +1 -1
  234. package/dist/ionic/{p-d79af848.system.entry.js → p-471d2ea1.system.entry.js} +1 -1
  235. package/dist/ionic/{p-99140340.entry.js → p-47237241.entry.js} +1 -1
  236. package/dist/ionic/p-497afd6b.js +4 -0
  237. package/dist/ionic/{p-839bd69f.system.entry.js → p-4b53d30a.system.entry.js} +1 -1
  238. package/dist/ionic/{p-dc49c681.system.entry.js → p-4d545564.system.entry.js} +1 -1
  239. package/dist/ionic/{p-2bc49e5d.system.entry.js → p-50978d50.system.entry.js} +1 -1
  240. package/dist/ionic/{p-0660215f.entry.js → p-5303738b.entry.js} +1 -1
  241. package/dist/ionic/{p-e3cba96d.js → p-53dccd56.js} +1 -1
  242. package/dist/ionic/{p-77f91ca9.entry.js → p-5805b86e.entry.js} +1 -1
  243. package/dist/ionic/{p-c4afbed8.system.entry.js → p-59639003.system.entry.js} +1 -1
  244. package/dist/ionic/{p-f5b7b710.system.entry.js → p-5aba7c57.system.entry.js} +1 -1
  245. package/dist/ionic/{p-ccea9adc.system.entry.js → p-5b88aead.system.entry.js} +1 -1
  246. package/dist/ionic/{p-fe83e3e2.entry.js → p-5bc7d636.entry.js} +1 -1
  247. package/dist/ionic/{p-fa3327e8.system.entry.js → p-5c8cff6b.system.entry.js} +1 -1
  248. package/dist/ionic/{p-69303bb5.system.js → p-60273907.system.js} +1 -1
  249. package/dist/ionic/p-64142d00.js +5 -0
  250. package/dist/ionic/{p-737a8573.entry.js → p-6707cf74.entry.js} +1 -1
  251. package/dist/ionic/{p-ed7b205b.entry.js → p-6750cb67.entry.js} +1 -1
  252. package/dist/ionic/{p-d5e3bff3.entry.js → p-694be610.entry.js} +1 -1
  253. package/dist/ionic/{p-daec2f17.system.entry.js → p-6c0d21ad.system.entry.js} +1 -1
  254. package/dist/ionic/{p-8fa43732.system.entry.js → p-6cadc1fe.system.entry.js} +1 -1
  255. package/dist/ionic/{p-1ec4dc01.entry.js → p-70db1dc5.entry.js} +1 -1
  256. package/dist/ionic/{p-8ba724fa.system.js → p-714270bd.system.js} +1 -1
  257. package/dist/ionic/{p-6b9bf14c.system.entry.js → p-726b88e4.system.entry.js} +1 -1
  258. package/dist/ionic/{p-9b3c3564.entry.js → p-72ccb986.entry.js} +1 -1
  259. package/dist/ionic/{p-ac80da6c.system.entry.js → p-77076bd4.system.entry.js} +1 -1
  260. package/dist/ionic/{p-8a676776.entry.js → p-777ecf06.entry.js} +1 -1
  261. package/dist/ionic/p-782e60c5.js +4 -0
  262. package/dist/ionic/{p-d5db0834.system.entry.js → p-79479e35.system.entry.js} +1 -1
  263. package/dist/ionic/p-7a4653fb.entry.js +4 -0
  264. package/dist/ionic/{p-74723f41.entry.js → p-7e3ea28f.entry.js} +1 -1
  265. package/dist/ionic/{p-81b46714.system.js → p-839db6d2.system.js} +1 -1
  266. package/dist/ionic/{p-8b55f026.entry.js → p-876d31cc.entry.js} +1 -1
  267. package/dist/ionic/{p-0142ba6d.entry.js → p-882dcea5.entry.js} +1 -1
  268. package/dist/ionic/{p-29b3e70a.entry.js → p-8b4f07f2.entry.js} +1 -1
  269. package/dist/ionic/{p-ba6f7490.system.entry.js → p-8e59040f.system.entry.js} +1 -1
  270. package/dist/ionic/{p-9c32000a.entry.js → p-92816df1.entry.js} +1 -1
  271. package/dist/ionic/{p-81597423.system.js → p-948015ba.system.js} +1 -1
  272. package/dist/ionic/{p-c0d1e5a1.entry.js → p-980bb9a8.entry.js} +1 -1
  273. package/dist/ionic/{p-b2514862.system.entry.js → p-9abf4074.system.entry.js} +1 -1
  274. package/dist/ionic/{p-a3f9d271.entry.js → p-9ba29e45.entry.js} +1 -1
  275. package/dist/ionic/{p-7b16490a.system.js → p-9be7fdf8.system.js} +1 -1
  276. package/dist/ionic/{p-6b3afb0f.entry.js → p-9d04d146.entry.js} +1 -1
  277. package/dist/ionic/{p-68e0ea3c.entry.js → p-9d86c6cb.entry.js} +1 -1
  278. package/dist/ionic/p-9efd3a45.js +4 -0
  279. package/dist/ionic/{p-98b618ce.system.entry.js → p-9f16bed3.system.entry.js} +1 -1
  280. package/dist/ionic/{p-dbb48066.system.entry.js → p-a15d42b1.system.entry.js} +1 -1
  281. package/dist/ionic/{p-0ff17c93.entry.js → p-a2afc825.entry.js} +1 -1
  282. package/dist/ionic/{p-2936ec7f.system.entry.js → p-a2e7a6eb.system.entry.js} +1 -1
  283. package/dist/ionic/p-a606d401.entry.js +4 -0
  284. package/dist/ionic/{p-83bcaec9.system.entry.js → p-a696138c.system.entry.js} +1 -1
  285. package/dist/ionic/{p-336420f9.system.entry.js → p-a777febf.system.entry.js} +1 -1
  286. package/dist/ionic/{p-61769039.entry.js → p-a7b3c9aa.entry.js} +1 -1
  287. package/dist/ionic/{p-0219ac12.system.entry.js → p-a9136452.system.entry.js} +1 -1
  288. package/dist/ionic/{p-b22ee955.system.entry.js → p-ae35ae07.system.entry.js} +1 -1
  289. package/dist/ionic/{p-2061c86f.system.entry.js → p-af665a4e.system.entry.js} +1 -1
  290. package/dist/ionic/{p-d1356034.system.entry.js → p-b08cafda.system.entry.js} +1 -1
  291. package/dist/ionic/{p-f95f798a.system.entry.js → p-b0c841c7.system.entry.js} +1 -1
  292. package/dist/ionic/{p-fac1660b.entry.js → p-b7383b7c.entry.js} +1 -1
  293. package/dist/ionic/{p-d3378c35.entry.js → p-b76b2d9a.entry.js} +1 -1
  294. package/dist/ionic/{p-e805ff9f.system.entry.js → p-bdc96d71.system.entry.js} +1 -1
  295. package/dist/ionic/{p-d1bab5e7.system.entry.js → p-c6fa0239.system.entry.js} +1 -1
  296. package/dist/ionic/p-c9444e60.entry.js +4 -0
  297. package/dist/ionic/{p-6405e9f0.system.js → p-cceafe13.system.js} +1 -1
  298. package/dist/ionic/{p-5b88f780.entry.js → p-d5bc2122.entry.js} +1 -1
  299. package/dist/ionic/{p-db46fc66.system.js → p-d6bca398.system.js} +1 -1
  300. package/dist/ionic/{p-83008f7c.system.js → p-d7614175.system.js} +1 -1
  301. package/dist/ionic/{p-e5a92aa9.entry.js → p-d7e82551.entry.js} +1 -1
  302. package/dist/ionic/{p-fd42994b.system.entry.js → p-d7fcf10b.system.entry.js} +1 -1
  303. package/dist/ionic/{p-639d7b25.entry.js → p-d85f8dc2.entry.js} +1 -1
  304. package/dist/ionic/p-d898dd46.js +4 -0
  305. package/dist/ionic/{p-65403c81.system.entry.js → p-dd0f1ae3.system.entry.js} +1 -1
  306. package/dist/ionic/{p-bf4b8d8a.system.entry.js → p-e1329f0b.system.entry.js} +1 -1
  307. package/dist/ionic/p-e6adac22.system.js +4 -0
  308. package/dist/ionic/{p-6bf632d0.system.entry.js → p-e9cef284.system.entry.js} +1 -1
  309. package/dist/ionic/{p-f78e60a5.entry.js → p-ebfa6bb9.entry.js} +1 -1
  310. package/dist/ionic/{p-79e30193.system.entry.js → p-ede8d71d.system.entry.js} +1 -1
  311. package/dist/ionic/{p-1d82df31.system.entry.js → p-f0bb9e16.system.entry.js} +1 -1
  312. package/dist/ionic/p-f4e06456.entry.js +4 -0
  313. package/dist/ionic/{p-57dc87eb.system.entry.js → p-fe9531c1.system.entry.js} +1 -1
  314. package/dist/types/components/button/button.d.ts +9 -0
  315. package/dist/types/components/picker/picker-interface.d.ts +3 -0
  316. package/dist/types/stencil-public-runtime.d.ts +2 -6
  317. package/hydrate/index.d.ts +1 -1
  318. package/hydrate/index.js +39 -26
  319. package/loader/index.d.ts +1 -1
  320. package/package.json +3 -3
  321. package/dist/esm-es5/app-globals-e8ddf830.js +0 -4
  322. package/dist/esm-es5/input-shims-c738363e.js +0 -4
  323. package/dist/ionic/p-156967ec.js +0 -5
  324. package/dist/ionic/p-273e78ae.entry.js +0 -4
  325. package/dist/ionic/p-3ef88fc2.system.entry.js +0 -4
  326. package/dist/ionic/p-5b553dc0.system.js +0 -5
  327. package/dist/ionic/p-64ad5765.entry.js +0 -4
  328. package/dist/ionic/p-6876a2da.entry.js +0 -4
  329. package/dist/ionic/p-778460f7.js +0 -4
  330. package/dist/ionic/p-7c938ad6.js +0 -4
  331. package/dist/ionic/p-82632e15.system.js +0 -4
  332. package/dist/ionic/p-a0f1be8d.entry.js +0 -4
  333. package/dist/ionic/p-a2b25750.js +0 -4
  334. package/dist/ionic/p-a62c0ff4.js +0 -4
  335. package/dist/ionic/p-c254bde2.js +0 -4
  336. package/dist/ionic/p-c53dd7a2.entry.js +0 -4
  337. package/dist/ionic/p-e3d5608d.system.js +0 -4
  338. package/dist/ionic/p-f58cbf92.system.js +0 -4
@@ -1,4 +1,4 @@
1
1
  var __awaiter=this&&this.__awaiter||function(e,t,r,o){function n(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,i){function a(e){try{p(o.next(e))}catch(e){i(e)}}function s(e){try{p(o["throw"](e))}catch(e){i(e)}}function p(e){e.done?r(e.value):n(e.value).then(a,s)}p((o=o.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var r={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},o,n,i,a;return a={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(a[Symbol.iterator]=function(){return this}),a;function s(e){return function(t){return p([e,t])}}function p(s){if(o)throw new TypeError("Generator is already executing.");while(a&&(a=0,s[0]&&(r=0)),r)try{if(o=1,n&&(i=s[0]&2?n["return"]:s[0]?n["throw"]||((i=n["return"])&&i.call(n),0):n.next)&&!(i=i.call(n,s[1])).done)return i;if(n=0,i)s=[s[0]&2,i.value];switch(s[0]){case 0:case 1:i=s;break;case 4:r.label++;return{value:s[1],done:false};case 5:r.label++;n=s[1];s=[0];continue;case 7:s=r.ops.pop();r.trys.pop();continue;default:if(!(i=r.trys,i=i.length>0&&i[i.length-1])&&(s[0]===6||s[0]===2)){r=0;continue}if(s[0]===3&&(!i||s[1]>i[0]&&s[1]<i[3])){r.label=s[1];break}if(s[0]===6&&r.label<i[1]){r.label=i[1];i=s;break}if(i&&r.label<i[2]){r.label=i[2];r.ops.push(s);break}if(i[2])r.ops.pop();r.trys.pop();continue}s=t.call(e,r)}catch(e){s=[6,e];n=0}finally{o=i=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};
2
2
  /*!
3
3
  * (C) Ionic http://ionicframework.com - MIT License
4
- */System.register(["./p-5b553dc0.system.js","./p-8d9475b5.system.js","./p-815c2fba.system.js","./p-479cdbf8.system.js","./p-81b46714.system.js","./p-7b16490a.system.js","./p-44bc8b45.system.js","./p-df6743df.system.js","./p-6b2641f6.system.js","./p-8c15eda7.system.js","./p-0e94957a.system.js"],(function(e){"use strict";var t,r,o,n,i,a,s,p,c,d,l,f,u,v,h,g,m,b,w,y,x,k,P,T,D,E;return{setters:[function(e){t=e.r;r=e.d;o=e.h;n=e.H;i=e.f},function(e){a=e.C;s=e.a;p=e.d},function(e){c=e.r;d=e.g;l=e.a;f=e.m},function(e){u=e.p},function(e){v=e.B;h=e.j;g=e.k;m=e.f;b=e.o;w=e.g;y=e.h},function(e){x=e.b;k=e.a},function(e){P=e.g},function(e){T=e.e;D=e.w},function(e){E=e.c},function(){},function(){}],execute:function(){var S=this;var I=function(e){if(!e){return{arrowWidth:0,arrowHeight:0}}var t=e.getBoundingClientRect(),r=t.width,o=t.height;return{arrowWidth:r,arrowHeight:o}};var A=function(e,t,r){var o=t.getBoundingClientRect();var n=o.height;var i=o.width;if(e==="cover"&&r){var a=r.getBoundingClientRect();i=a.width}return{contentWidth:i,contentHeight:n}};var _=function(e,t,r,o){var n=[];var i=d(o);var a=i.querySelector(".popover-content");switch(t){case"hover":n=[{eventName:"mouseenter",callback:function(t){var o=document.elementFromPoint(t.clientX,t.clientY);if(o===e){return}r.dismiss(undefined,undefined,false)}}];break;case"context-menu":case"click":default:n=[{eventName:"click",callback:function(t){var o=t.target;var n=o.closest("[data-ion-popover-trigger]");if(n===e){t.stopPropagation();return}r.dismiss(undefined,undefined,false)}}];break}n.forEach((function(e){var t=e.eventName,r=e.callback;return a.addEventListener(t,r)}));return function(){n.forEach((function(e){var t=e.eventName,r=e.callback;return a.removeEventListener(t,r)}))}};var L=function(e,t,r){var o=[];switch(t){case"hover":var n;o=[{eventName:"mouseenter",callback:function(e){return __awaiter(S,void 0,void 0,(function(){return __generator(this,(function(t){e.stopPropagation();if(n){clearTimeout(n)}n=setTimeout((function(){c((function(){r.presentFromTrigger(e);n=undefined}))}),100);return[2]}))}))}},{eventName:"mouseleave",callback:function(e){if(n){clearTimeout(n)}var t=e.relatedTarget;if(!t){return}if(t.closest("ion-popover")!==r){r.dismiss(undefined,undefined,false)}}},{eventName:"click",callback:function(e){return e.stopPropagation()}},{eventName:"ionPopoverActivateTrigger",callback:function(e){return r.presentFromTrigger(e,true)}}];break;case"context-menu":o=[{eventName:"contextmenu",callback:function(e){e.preventDefault();r.presentFromTrigger(e)}},{eventName:"click",callback:function(e){return e.stopPropagation()}},{eventName:"ionPopoverActivateTrigger",callback:function(e){return r.presentFromTrigger(e,true)}}];break;case"click":default:o=[{eventName:"click",callback:function(e){return r.presentFromTrigger(e)}},{eventName:"ionPopoverActivateTrigger",callback:function(e){return r.presentFromTrigger(e,true)}}];break}o.forEach((function(t){var r=t.eventName,o=t.callback;return e.addEventListener(r,o)}));e.setAttribute("data-ion-popover-trigger","true");return function(){o.forEach((function(t){var r=t.eventName,o=t.callback;return e.removeEventListener(r,o)}));e.removeAttribute("data-ion-popover-trigger")}};var C=function(e,t){if(!t||t.tagName!=="ION-ITEM"){return-1}return e.findIndex((function(e){return e===t}))};var W=function(e,t){var r=C(e,t);return e[r+1]};var O=function(e,t){var r=C(e,t);return e[r-1]};var N=function(e){var t=d(e);var r=t.querySelector("button");if(r){c((function(){return r.focus()}))}};var q=function(e){return e.hasAttribute("data-ion-popover-trigger")};var j=function(e){var t=function(t){return __awaiter(S,void 0,void 0,(function(){var r,o,n,i,a,s,p,c,d,l,f;return __generator(this,(function(u){switch(u.label){case 0:o=document.activeElement;n=[];i=(r=t.target)===null||r===void 0?void 0:r.tagName;if(i!=="ION-POPOVER"&&i!=="ION-ITEM"){return[2]}try{n=Array.from(e.querySelectorAll("ion-item:not(ion-popover ion-popover *):not([disabled])"))}catch(e){}a=t.key;switch(a){case"ArrowLeft":return[3,1];case"ArrowDown":return[3,3];case"ArrowUp":return[3,4];case"Home":return[3,5];case"End":return[3,6];case"ArrowRight":return[3,7];case" ":return[3,7];case"Enter":return[3,7]}return[3,8];case 1:return[4,e.getParentPopover()];case 2:s=u.sent();if(s){e.dismiss(undefined,undefined,false)}return[3,8];case 3:t.preventDefault();p=W(n,o);if(p!==undefined){N(p)}return[3,8];case 4:t.preventDefault();c=O(n,o);if(c!==undefined){N(c)}return[3,8];case 5:t.preventDefault();d=n[0];if(d!==undefined){N(d)}return[3,8];case 6:t.preventDefault();l=n[n.length-1];if(l!==undefined){N(l)}return[3,8];case 7:if(o&&q(o)){f=new CustomEvent("ionPopoverActivateTrigger");o.dispatchEvent(f)}return[3,8];case 8:return[2]}}))}))};e.addEventListener("keydown",t);return function(){return e.removeEventListener("keydown",t)}};var X=function(e,t,r,o,n,i,a,s,p,c,d){var l;var f={top:0,left:0,width:0,height:0};switch(i){case"event":if(!d){return p}var u=d;f={top:u.clientY,left:u.clientX,width:1,height:1};break;case"trigger":default:var v=d;var h=c||((l=v===null||v===void 0?void 0:v.detail)===null||l===void 0?void 0:l.ionShadowTarget)||(v===null||v===void 0?void 0:v.target);if(!h){return p}var g=h.getBoundingClientRect();f={top:g.top,left:g.left,width:g.width,height:g.height};break}var m=M(a,f,t,r,o,n,e);var b=V(s,a,f,t,r);var w=m.top+b.top;var y=m.left+b.left;var x=H(a,o,n,w,y,t,r,e),k=x.arrowTop,P=x.arrowLeft;var T=Y(a,s,e),D=T.originX,E=T.originY;return{top:w,left:y,referenceCoordinates:f,arrowTop:k,arrowLeft:P,originX:D,originY:E}};var Y=function(e,t,r){switch(e){case"top":return{originX:z(t),originY:"bottom"};case"bottom":return{originX:z(t),originY:"top"};case"left":return{originX:"right",originY:B(t)};case"right":return{originX:"left",originY:B(t)};case"start":return{originX:r?"left":"right",originY:B(t)};case"end":return{originX:r?"right":"left",originY:B(t)}}};var z=function(e){switch(e){case"start":return"left";case"center":return"center";case"end":return"right"}};var B=function(e){switch(e){case"start":return"top";case"center":return"center";case"end":return"bottom"}};var H=function(e,t,r,o,n,i,a,s){var p={arrowTop:o+a/2-t/2,arrowLeft:n+i-t/2};var c={arrowTop:o+a/2-t/2,arrowLeft:n-t*1.5};switch(e){case"top":return{arrowTop:o+a,arrowLeft:n+i/2-t/2};case"bottom":return{arrowTop:o-r,arrowLeft:n+i/2-t/2};case"left":return p;case"right":return c;case"start":return s?c:p;case"end":return s?p:c;default:return{arrowTop:0,arrowLeft:0}}};var M=function(e,t,r,o,n,i,a){var s={top:t.top,left:t.left-r-n};var p={top:t.top,left:t.left+t.width+n};switch(e){case"top":return{top:t.top-o-i,left:t.left};case"right":return p;case"bottom":return{top:t.top+t.height+i,left:t.left};case"left":return s;case"start":return a?p:s;case"end":return a?s:p}};var V=function(e,t,r,o,n){switch(e){case"center":return R(t,r,o,n);case"end":return F(t,r,o,n);case"start":default:return{top:0,left:0}}};var F=function(e,t,r,o){switch(e){case"start":case"end":case"left":case"right":return{top:-(o-t.height),left:0};case"top":case"bottom":default:return{top:0,left:-(r-t.width)}}};var R=function(e,t,r,o){switch(e){case"start":case"end":case"left":case"right":return{top:-(o/2-t.height/2),left:0};case"top":case"bottom":default:return{top:0,left:-(r/2-t.width/2)}}};var K=function(e,t,r,o,n,i,a,s,p,c,d,l,f,u,v){if(f===void 0){f=0}if(u===void 0){u=0}if(v===void 0){v=0}var h=f;var g=u;var m=r;var b=t;var w;var y=c;var x=d;var k=false;var P=false;var T=l?l.top+l.height:i/2-s/2;var D=l?l.height:0;var E=false;if(m<o+p){m=o;k=true;y="left"}else if(a+o+m+p>n){P=true;m=n-a-o;y="right"}if(T+D+s>i&&(e==="top"||e==="bottom")){if(T-s>0){b=Math.max(12,T-s-D-(v-1));h=b+s;x="bottom";E=true}else{w=o}}return{top:b,left:m,bottom:w,originX:y,originY:x,checkSafeAreaLeft:k,checkSafeAreaRight:P,arrowTop:h,arrowLeft:g,addPopoverBottomClass:E}};var G=function(e,t,r,o){if(t===void 0){t=false}if(!r&&!o){return false}if(e!=="top"&&e!=="bottom"&&t){return false}return true};var U=5;var J=function(e,t){var r;var o=t.event,n=t.size,i=t.trigger,a=t.reference,s=t.side,p=t.align;var c=e.ownerDocument;var l=c.dir==="rtl";var f=c.defaultView.innerWidth;var u=c.defaultView.innerHeight;var v=d(e);var h=v.querySelector(".popover-content");var g=v.querySelector(".popover-arrow");var m=i||((r=o===null||o===void 0?void 0:o.detail)===null||r===void 0?void 0:r.ionShadowTarget)||(o===null||o===void 0?void 0:o.target);var b=A(n,h,m),w=b.contentWidth,y=b.contentHeight;var x=I(g),k=x.arrowWidth,P=x.arrowHeight;var T={top:u/2-y/2,left:f/2-w/2,originX:l?"right":"left",originY:"top"};var D=X(l,w,y,k,P,a,s,p,T,i,o);var S=n==="cover"?0:U;var _=n==="cover"?0:25;var L=K(s,D.top,D.left,S,f,u,w,y,_,D.originX,D.originY,D.referenceCoordinates,D.arrowTop,D.arrowLeft,P),C=L.originX,W=L.originY,O=L.top,N=L.left,q=L.bottom,j=L.checkSafeAreaLeft,Y=L.checkSafeAreaRight,z=L.arrowTop,B=L.arrowLeft,H=L.addPopoverBottomClass;var M=E();var V=E();var F=E();V.addElement(v.querySelector("ion-backdrop")).fromTo("opacity",.01,"var(--backdrop-opacity)").beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"]);F.addElement(v.querySelector(".popover-arrow")).addElement(v.querySelector(".popover-content")).fromTo("opacity",.01,1);return M.easing("ease").duration(100).beforeAddWrite((function(){if(n==="cover"){e.style.setProperty("--width","".concat(w,"px"))}if(H){e.classList.add("popover-bottom")}if(q!==undefined){h.style.setProperty("bottom","".concat(q,"px"))}var t=" + var(--ion-safe-area-left, 0)";var r=" - var(--ion-safe-area-right, 0)";var a="".concat(N,"px");if(j){a="".concat(N,"px").concat(t)}if(Y){a="".concat(N,"px").concat(r)}h.style.setProperty("top","calc(".concat(O,"px + var(--offset-y, 0))"));h.style.setProperty("left","calc(".concat(a," + var(--offset-x, 0))"));h.style.setProperty("transform-origin","".concat(W," ").concat(C));if(g!==null){var p=D.top!==O||D.left!==N;var c=G(s,p,o,i);if(c){g.style.setProperty("top","calc(".concat(z,"px + var(--offset-y, 0))"));g.style.setProperty("left","calc(".concat(B,"px + var(--offset-x, 0))"))}else{g.style.setProperty("display","none")}}})).addAnimation([V,F])};var Q=function(e){var t=d(e);var r=t.querySelector(".popover-content");var o=t.querySelector(".popover-arrow");var n=E();var i=E();var a=E();i.addElement(t.querySelector("ion-backdrop")).fromTo("opacity","var(--backdrop-opacity)",0);a.addElement(t.querySelector(".popover-arrow")).addElement(t.querySelector(".popover-content")).fromTo("opacity",.99,0);return n.easing("ease").afterAddWrite((function(){e.style.removeProperty("--width");e.classList.remove("popover-bottom");r.style.removeProperty("top");r.style.removeProperty("left");r.style.removeProperty("bottom");r.style.removeProperty("transform-origin");if(o){o.style.removeProperty("top");o.style.removeProperty("left");o.style.removeProperty("display")}})).duration(300).addAnimation([i,a])};var Z=12;var $=function(e,t){var r;var o=t.event,n=t.size,i=t.trigger,a=t.reference,s=t.side,p=t.align;var c=e.ownerDocument;var l=c.dir==="rtl";var f=c.defaultView.innerWidth;var u=c.defaultView.innerHeight;var v=d(e);var h=v.querySelector(".popover-content");var g=i||((r=o===null||o===void 0?void 0:o.detail)===null||r===void 0?void 0:r.ionShadowTarget)||(o===null||o===void 0?void 0:o.target);var m=A(n,h,g),b=m.contentWidth,w=m.contentHeight;var y={top:u/2-w/2,left:f/2-b/2,originX:l?"right":"left",originY:"top"};var x=X(l,b,w,0,0,a,s,p,y,i,o);var k=n==="cover"?0:Z;var P=K(s,x.top,x.left,k,f,u,b,w,0,x.originX,x.originY,x.referenceCoordinates),T=P.originX,D=P.originY,S=P.top,I=P.left,_=P.bottom;var L=E();var C=E();var W=E();var O=E();var N=E();C.addElement(v.querySelector("ion-backdrop")).fromTo("opacity",.01,"var(--backdrop-opacity)").beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"]);W.addElement(v.querySelector(".popover-wrapper")).duration(150).fromTo("opacity",.01,1);O.addElement(h).beforeStyles({top:"calc(".concat(S,"px + var(--offset-y, 0px))"),left:"calc(".concat(I,"px + var(--offset-x, 0px))"),"transform-origin":"".concat(D," ").concat(T)}).beforeAddWrite((function(){if(_!==undefined){h.style.setProperty("bottom","".concat(_,"px"))}})).fromTo("transform","scale(0.8)","scale(1)");N.addElement(v.querySelector(".popover-viewport")).fromTo("opacity",.01,1);return L.easing("cubic-bezier(0.36,0.66,0.04,1)").duration(300).beforeAddWrite((function(){if(n==="cover"){e.style.setProperty("--width","".concat(b,"px"))}if(D==="bottom"){e.classList.add("popover-bottom")}})).addAnimation([C,W,O,N])};var ee=function(e){var t=d(e);var r=t.querySelector(".popover-content");var o=E();var n=E();var i=E();n.addElement(t.querySelector("ion-backdrop")).fromTo("opacity","var(--backdrop-opacity)",0);i.addElement(t.querySelector(".popover-wrapper")).fromTo("opacity",.99,0);return o.easing("ease").afterAddWrite((function(){e.style.removeProperty("--width");e.classList.remove("popover-bottom");r.style.removeProperty("top");r.style.removeProperty("left");r.style.removeProperty("bottom");r.style.removeProperty("transform-origin")})).duration(150).addAnimation([n,i])};var te=':host{--background:var(--ion-background-color, #fff);--min-width:0;--min-height:0;--max-width:auto;--height:auto;--offset-x:0px;--offset-y:0px;left:0;right:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:fixed;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;outline:none;color:var(--ion-text-color, #000);z-index:1001}:host(.popover-nested){pointer-events:none}:host(.popover-nested) .popover-wrapper{pointer-events:auto}:host(.overlay-hidden){display:none}.popover-wrapper{z-index:10}.popover-content{display:-ms-flexbox;display:flex;position:absolute;-ms-flex-direction:column;flex-direction:column;width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);background:var(--background);-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);overflow:auto;z-index:10}.popover-viewport{--ion-safe-area-top:0px;--ion-safe-area-right:0px;--ion-safe-area-bottom:0px;--ion-safe-area-left:0px;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;overflow:hidden}:host(.popover-nested.popover-side-left){--offset-x:5px}:host(.popover-nested.popover-side-right){--offset-x:-5px}:host(.popover-nested.popover-side-start){--offset-x:5px}:host-context([dir=rtl]):host(.popover-nested.popover-side-start),:host-context([dir=rtl]).popover-nested.popover-side-start{--offset-x:-5px}@supports selector(:dir(rtl)){:host(.popover-nested.popover-side-start):dir(rtl){--offset-x:-5px}}:host(.popover-nested.popover-side-end){--offset-x:-5px}:host-context([dir=rtl]):host(.popover-nested.popover-side-end),:host-context([dir=rtl]).popover-nested.popover-side-end{--offset-x:5px}@supports selector(:dir(rtl)){:host(.popover-nested.popover-side-end):dir(rtl){--offset-x:5px}}:host{--width:200px;--max-height:90%;--box-shadow:none;--backdrop-opacity:var(--ion-backdrop-opacity, 0.08)}:host(.popover-desktop){--box-shadow:0px 4px 16px 0px rgba(0, 0, 0, 0.12)}.popover-content{border-radius:10px}:host(.popover-desktop) .popover-content{border:0.5px solid var(--ion-color-step-100, #e6e6e6)}.popover-arrow{display:block;position:absolute;width:20px;height:10px;overflow:hidden}.popover-arrow::after{top:3px;border-radius:3px;position:absolute;width:14px;height:14px;-webkit-transform:rotate(45deg);transform:rotate(45deg);background:var(--background);content:"";z-index:10}@supports (inset-inline-start: 0){.popover-arrow::after{inset-inline-start:3px}}@supports not (inset-inline-start: 0){.popover-arrow::after{left:3px}:host-context([dir=rtl]) .popover-arrow::after{left:unset;right:unset;right:3px}[dir=rtl] .popover-arrow::after{left:unset;right:unset;right:3px}@supports selector(:dir(rtl)){.popover-arrow::after:dir(rtl){left:unset;right:unset;right:3px}}}:host(.popover-bottom) .popover-arrow{top:auto;bottom:-10px}:host(.popover-bottom) .popover-arrow::after{top:-6px}:host(.popover-side-left) .popover-arrow{-webkit-transform:rotate(90deg);transform:rotate(90deg)}:host(.popover-side-right) .popover-arrow{-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}:host(.popover-side-top) .popover-arrow{-webkit-transform:rotate(180deg);transform:rotate(180deg)}:host(.popover-side-start) .popover-arrow{-webkit-transform:rotate(90deg);transform:rotate(90deg)}:host-context([dir=rtl]):host(.popover-side-start) .popover-arrow,:host-context([dir=rtl]).popover-side-start .popover-arrow{-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}@supports selector(:dir(rtl)){:host(.popover-side-start) .popover-arrow:dir(rtl){-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}}:host(.popover-side-end) .popover-arrow{-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}:host-context([dir=rtl]):host(.popover-side-end) .popover-arrow,:host-context([dir=rtl]).popover-side-end .popover-arrow{-webkit-transform:rotate(90deg);transform:rotate(90deg)}@supports selector(:dir(rtl)){:host(.popover-side-end) .popover-arrow:dir(rtl){-webkit-transform:rotate(90deg);transform:rotate(90deg)}}.popover-arrow,.popover-content{opacity:0}@supports ((-webkit-backdrop-filter: blur(0)) or (backdrop-filter: blur(0))){:host(.popover-translucent) .popover-content,:host(.popover-translucent) .popover-arrow::after{background:rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8);-webkit-backdrop-filter:saturate(180%) blur(20px);backdrop-filter:saturate(180%) blur(20px)}}';var re=":host{--background:var(--ion-background-color, #fff);--min-width:0;--min-height:0;--max-width:auto;--height:auto;--offset-x:0px;--offset-y:0px;left:0;right:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:fixed;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;outline:none;color:var(--ion-text-color, #000);z-index:1001}:host(.popover-nested){pointer-events:none}:host(.popover-nested) .popover-wrapper{pointer-events:auto}:host(.overlay-hidden){display:none}.popover-wrapper{z-index:10}.popover-content{display:-ms-flexbox;display:flex;position:absolute;-ms-flex-direction:column;flex-direction:column;width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);background:var(--background);-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);overflow:auto;z-index:10}.popover-viewport{--ion-safe-area-top:0px;--ion-safe-area-right:0px;--ion-safe-area-bottom:0px;--ion-safe-area-left:0px;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;overflow:hidden}:host(.popover-nested.popover-side-left){--offset-x:5px}:host(.popover-nested.popover-side-right){--offset-x:-5px}:host(.popover-nested.popover-side-start){--offset-x:5px}:host-context([dir=rtl]):host(.popover-nested.popover-side-start),:host-context([dir=rtl]).popover-nested.popover-side-start{--offset-x:-5px}@supports selector(:dir(rtl)){:host(.popover-nested.popover-side-start):dir(rtl){--offset-x:-5px}}:host(.popover-nested.popover-side-end){--offset-x:-5px}:host-context([dir=rtl]):host(.popover-nested.popover-side-end),:host-context([dir=rtl]).popover-nested.popover-side-end{--offset-x:5px}@supports selector(:dir(rtl)){:host(.popover-nested.popover-side-end):dir(rtl){--offset-x:5px}}:host{--width:250px;--max-height:90%;--box-shadow:0 5px 5px -3px rgba(0, 0, 0, 0.2), 0 8px 10px 1px rgba(0, 0, 0, 0.14), 0 3px 14px 2px rgba(0, 0, 0, 0.12);--backdrop-opacity:var(--ion-backdrop-opacity, 0.32)}.popover-content{border-radius:4px;-webkit-transform-origin:left top;transform-origin:left top}:host-context([dir=rtl]) .popover-content{-webkit-transform-origin:right top;transform-origin:right top}[dir=rtl] .popover-content{-webkit-transform-origin:right top;transform-origin:right top}@supports selector(:dir(rtl)){.popover-content:dir(rtl){-webkit-transform-origin:right top;transform-origin:right top}}.popover-viewport{-webkit-transition-delay:100ms;transition-delay:100ms}.popover-wrapper{opacity:0}";var oe=e("ion_popover",function(){function e(e){var o=this;t(this,e);this.didPresent=r(this,"ionPopoverDidPresent",7);this.willPresent=r(this,"ionPopoverWillPresent",7);this.willDismiss=r(this,"ionPopoverWillDismiss",7);this.didDismiss=r(this,"ionPopoverDidDismiss",7);this.didPresentShorthand=r(this,"didPresent",7);this.willPresentShorthand=r(this,"willPresent",7);this.willDismissShorthand=r(this,"willDismiss",7);this.didDismissShorthand=r(this,"didDismiss",7);this.ionMount=r(this,"ionMount",7);this.parentPopover=null;this.coreDelegate=a();this.inline=false;this.focusDescendantOnPresent=false;this.onBackdropTap=function(){o.dismiss(undefined,v)};this.onLifecycle=function(e){var t=o.usersElement;var r=ne[e.type];if(t&&r){var n=new CustomEvent(r,{bubbles:false,cancelable:false,detail:e.detail});t.dispatchEvent(n)}};this.configureTriggerInteraction=function(){var e=o,t=e.trigger,r=e.triggerAction,n=e.el,i=e.destroyTriggerInteraction;if(i){i()}if(t===undefined){return}var a=o.triggerEl=t!==undefined?document.getElementById(t):null;if(!a){u('A trigger element with the ID "'.concat(t,'" was not found in the DOM. The trigger element must be in the DOM when the "trigger" property is set on ion-popover.'),o.el);return}o.destroyTriggerInteraction=L(a,r,n)};this.configureKeyboardInteraction=function(){var e=o,t=e.destroyKeyboardInteraction,r=e.el;if(t){t()}o.destroyKeyboardInteraction=j(r)};this.configureDismissInteraction=function(){var e=o,t=e.destroyDismissInteraction,r=e.parentPopover,n=e.triggerAction,i=e.triggerEl,a=e.el;if(!r||!i){return}if(t){t()}o.destroyDismissInteraction=_(i,n,a,r)};this.presented=false;this.hasController=false;this.delegate=undefined;this.overlayIndex=undefined;this.enterAnimation=undefined;this.leaveAnimation=undefined;this.component=undefined;this.componentProps=undefined;this.keyboardClose=true;this.cssClass=undefined;this.backdropDismiss=true;this.event=undefined;this.showBackdrop=true;this.translucent=false;this.animated=true;this.htmlAttributes=undefined;this.triggerAction="click";this.trigger=undefined;this.size="auto";this.dismissOnSelect=false;this.reference="trigger";this.side="bottom";this.alignment=undefined;this.arrow=true;this.isOpen=false;this.keyboardEvents=false;this.keepContentsMounted=false}e.prototype.onTriggerChange=function(){this.configureTriggerInteraction()};e.prototype.onIsOpenChange=function(e,t){if(e===true&&t===false){this.present()}else if(e===false&&t===true){this.dismiss()}};e.prototype.connectedCallback=function(){var e=this,t=e.configureTriggerInteraction,r=e.el;h(r);t()};e.prototype.disconnectedCallback=function(){var e=this.destroyTriggerInteraction;if(e){e()}};e.prototype.componentWillLoad=function(){var e=this.el;var t=g(e);this.parentPopover=e.closest("ion-popover:not(#".concat(t,")"));if(this.alignment===undefined){this.alignment=x(this)==="ios"?"center":"start"}};e.prototype.componentDidLoad=function(){var e=this;var t=this,r=t.parentPopover,o=t.isOpen;if(o===true){c((function(){return e.present()}))}if(r){l(r,"ionPopoverWillDismiss",(function(){e.dismiss(undefined,undefined,false)}))}};e.prototype.presentFromTrigger=function(e,t){if(t===void 0){t=false}return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(r){switch(r.label){case 0:this.focusDescendantOnPresent=t;return[4,this.present(e)];case 1:r.sent();this.focusDescendantOnPresent=false;return[2]}}))}))};e.prototype.getDelegate=function(e){if(e===void 0){e=false}if(this.workingDelegate&&!e){return{delegate:this.workingDelegate,inline:this.inline}}var t=this.el.parentNode;var r=this.inline=t!==null&&!this.hasController;var o=this.workingDelegate=r?this.delegate||this.coreDelegate:this.delegate;return{inline:r,delegate:o}};e.prototype.present=function(e){return __awaiter(this,void 0,void 0,(function(){var t,r,o,n,i;return __generator(this,(function(a){switch(a.label){case 0:if(this.presented){return[2]}if(!(this.currentTransition!==undefined))return[3,2];return[4,this.currentTransition];case 1:a.sent();a.label=2;case 2:t=this.el;r=this.getDelegate(true),o=r.inline,n=r.delegate;i=this;return[4,s(n,t,this.component,["popover-viewport"],this.componentProps,o)];case 3:i.usersElement=a.sent();if(!this.keyboardEvents){this.configureKeyboardInteraction()}this.configureDismissInteraction();this.ionMount.emit();if(!f(t))return[3,5];return[4,T(this.usersElement)];case 4:a.sent();return[3,7];case 5:if(!!this.keepContentsMounted)return[3,7];return[4,D()];case 6:a.sent();a.label=7;case 7:this.currentTransition=m(this,"popoverEnter",J,$,{event:e||this.event,size:this.size,trigger:this.triggerEl,reference:this.reference,side:this.side,align:this.alignment});return[4,this.currentTransition];case 8:a.sent();this.currentTransition=undefined;if(this.focusDescendantOnPresent){b(this.el,this.el)}return[2]}}))}))};e.prototype.dismiss=function(e,t,r){if(r===void 0){r=true}return __awaiter(this,void 0,void 0,(function(){var o,n,i,a,s;return __generator(this,(function(c){switch(c.label){case 0:if(!(this.currentTransition!==undefined))return[3,2];return[4,this.currentTransition];case 1:c.sent();c.label=2;case 2:o=this,n=o.destroyKeyboardInteraction,i=o.destroyDismissInteraction;if(r&&this.parentPopover){this.parentPopover.dismiss(e,t,r)}this.currentTransition=w(this,e,t,"popoverLeave",Q,ee,this.event);return[4,this.currentTransition];case 3:a=c.sent();if(!a)return[3,5];if(n){n();this.destroyKeyboardInteraction=undefined}if(i){i();this.destroyDismissInteraction=undefined}s=this.getDelegate().delegate;return[4,p(s,this.usersElement)];case 4:c.sent();c.label=5;case 5:this.currentTransition=undefined;return[2,a]}}))}))};e.prototype.getParentPopover=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){return[2,this.parentPopover]}))}))};e.prototype.onDidDismiss=function(){return y(this.el,"ionPopoverDidDismiss")};e.prototype.onWillDismiss=function(){return y(this.el,"ionPopoverWillDismiss")};e.prototype.render=function(){var e;var t=this;var r=x(this);var i=this,a=i.onLifecycle,s=i.parentPopover,p=i.dismissOnSelect,c=i.side,d=i.arrow,l=i.htmlAttributes;var f=k("desktop");var u=d&&!s;return o(n,Object.assign({"aria-modal":"true","no-router":true,tabindex:"-1"},l,{style:{zIndex:"".concat(2e4+this.overlayIndex)},class:Object.assign(Object.assign({},P(this.cssClass)),(e={},e[r]=true,e["popover-translucent"]=this.translucent,e["overlay-hidden"]=true,e["popover-desktop"]=f,e["popover-side-".concat(c)]=true,e["popover-nested"]=!!s,e)),onIonPopoverDidPresent:a,onIonPopoverWillPresent:a,onIonPopoverWillDismiss:a,onIonPopoverDidDismiss:a,onIonBackdropTap:this.onBackdropTap}),!s&&o("ion-backdrop",{tappable:this.backdropDismiss,visible:this.showBackdrop,part:"backdrop"}),o("div",{class:"popover-wrapper ion-overlay-wrapper",onClick:p?function(){return t.dismiss()}:undefined},u&&o("div",{class:"popover-arrow",part:"arrow"}),o("div",{class:"popover-content",part:"content"},o("slot",null))))};Object.defineProperty(e.prototype,"el",{get:function(){return i(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{trigger:["onTriggerChange"],triggerAction:["onTriggerChange"],isOpen:["onIsOpenChange"]}},enumerable:false,configurable:true});return e}());var ne={ionPopoverDidPresent:"ionViewDidEnter",ionPopoverWillPresent:"ionViewWillEnter",ionPopoverWillDismiss:"ionViewWillLeave",ionPopoverDidDismiss:"ionViewDidLeave"};oe.style={ios:te,md:re}}}}));
4
+ */System.register(["./p-07f42dec.system.js","./p-8d9475b5.system.js","./p-815c2fba.system.js","./p-479cdbf8.system.js","./p-839db6d2.system.js","./p-9be7fdf8.system.js","./p-44bc8b45.system.js","./p-46ec8a6b.system.js","./p-6b2641f6.system.js","./p-8c15eda7.system.js","./p-0e94957a.system.js"],(function(e){"use strict";var t,r,o,n,i,a,s,p,c,d,l,f,u,v,h,g,m,b,w,y,x,k,P,T,D,E;return{setters:[function(e){t=e.r;r=e.d;o=e.h;n=e.H;i=e.f},function(e){a=e.C;s=e.a;p=e.d},function(e){c=e.r;d=e.g;l=e.a;f=e.m},function(e){u=e.p},function(e){v=e.B;h=e.j;g=e.k;m=e.f;b=e.o;w=e.g;y=e.h},function(e){x=e.b;k=e.a},function(e){P=e.g},function(e){T=e.e;D=e.w},function(e){E=e.c},function(){},function(){}],execute:function(){var S=this;var I=function(e){if(!e){return{arrowWidth:0,arrowHeight:0}}var t=e.getBoundingClientRect(),r=t.width,o=t.height;return{arrowWidth:r,arrowHeight:o}};var A=function(e,t,r){var o=t.getBoundingClientRect();var n=o.height;var i=o.width;if(e==="cover"&&r){var a=r.getBoundingClientRect();i=a.width}return{contentWidth:i,contentHeight:n}};var _=function(e,t,r,o){var n=[];var i=d(o);var a=i.querySelector(".popover-content");switch(t){case"hover":n=[{eventName:"mouseenter",callback:function(t){var o=document.elementFromPoint(t.clientX,t.clientY);if(o===e){return}r.dismiss(undefined,undefined,false)}}];break;case"context-menu":case"click":default:n=[{eventName:"click",callback:function(t){var o=t.target;var n=o.closest("[data-ion-popover-trigger]");if(n===e){t.stopPropagation();return}r.dismiss(undefined,undefined,false)}}];break}n.forEach((function(e){var t=e.eventName,r=e.callback;return a.addEventListener(t,r)}));return function(){n.forEach((function(e){var t=e.eventName,r=e.callback;return a.removeEventListener(t,r)}))}};var L=function(e,t,r){var o=[];switch(t){case"hover":var n;o=[{eventName:"mouseenter",callback:function(e){return __awaiter(S,void 0,void 0,(function(){return __generator(this,(function(t){e.stopPropagation();if(n){clearTimeout(n)}n=setTimeout((function(){c((function(){r.presentFromTrigger(e);n=undefined}))}),100);return[2]}))}))}},{eventName:"mouseleave",callback:function(e){if(n){clearTimeout(n)}var t=e.relatedTarget;if(!t){return}if(t.closest("ion-popover")!==r){r.dismiss(undefined,undefined,false)}}},{eventName:"click",callback:function(e){return e.stopPropagation()}},{eventName:"ionPopoverActivateTrigger",callback:function(e){return r.presentFromTrigger(e,true)}}];break;case"context-menu":o=[{eventName:"contextmenu",callback:function(e){e.preventDefault();r.presentFromTrigger(e)}},{eventName:"click",callback:function(e){return e.stopPropagation()}},{eventName:"ionPopoverActivateTrigger",callback:function(e){return r.presentFromTrigger(e,true)}}];break;case"click":default:o=[{eventName:"click",callback:function(e){return r.presentFromTrigger(e)}},{eventName:"ionPopoverActivateTrigger",callback:function(e){return r.presentFromTrigger(e,true)}}];break}o.forEach((function(t){var r=t.eventName,o=t.callback;return e.addEventListener(r,o)}));e.setAttribute("data-ion-popover-trigger","true");return function(){o.forEach((function(t){var r=t.eventName,o=t.callback;return e.removeEventListener(r,o)}));e.removeAttribute("data-ion-popover-trigger")}};var C=function(e,t){if(!t||t.tagName!=="ION-ITEM"){return-1}return e.findIndex((function(e){return e===t}))};var W=function(e,t){var r=C(e,t);return e[r+1]};var O=function(e,t){var r=C(e,t);return e[r-1]};var N=function(e){var t=d(e);var r=t.querySelector("button");if(r){c((function(){return r.focus()}))}};var q=function(e){return e.hasAttribute("data-ion-popover-trigger")};var j=function(e){var t=function(t){return __awaiter(S,void 0,void 0,(function(){var r,o,n,i,a,s,p,c,d,l,f;return __generator(this,(function(u){switch(u.label){case 0:o=document.activeElement;n=[];i=(r=t.target)===null||r===void 0?void 0:r.tagName;if(i!=="ION-POPOVER"&&i!=="ION-ITEM"){return[2]}try{n=Array.from(e.querySelectorAll("ion-item:not(ion-popover ion-popover *):not([disabled])"))}catch(e){}a=t.key;switch(a){case"ArrowLeft":return[3,1];case"ArrowDown":return[3,3];case"ArrowUp":return[3,4];case"Home":return[3,5];case"End":return[3,6];case"ArrowRight":return[3,7];case" ":return[3,7];case"Enter":return[3,7]}return[3,8];case 1:return[4,e.getParentPopover()];case 2:s=u.sent();if(s){e.dismiss(undefined,undefined,false)}return[3,8];case 3:t.preventDefault();p=W(n,o);if(p!==undefined){N(p)}return[3,8];case 4:t.preventDefault();c=O(n,o);if(c!==undefined){N(c)}return[3,8];case 5:t.preventDefault();d=n[0];if(d!==undefined){N(d)}return[3,8];case 6:t.preventDefault();l=n[n.length-1];if(l!==undefined){N(l)}return[3,8];case 7:if(o&&q(o)){f=new CustomEvent("ionPopoverActivateTrigger");o.dispatchEvent(f)}return[3,8];case 8:return[2]}}))}))};e.addEventListener("keydown",t);return function(){return e.removeEventListener("keydown",t)}};var X=function(e,t,r,o,n,i,a,s,p,c,d){var l;var f={top:0,left:0,width:0,height:0};switch(i){case"event":if(!d){return p}var u=d;f={top:u.clientY,left:u.clientX,width:1,height:1};break;case"trigger":default:var v=d;var h=c||((l=v===null||v===void 0?void 0:v.detail)===null||l===void 0?void 0:l.ionShadowTarget)||(v===null||v===void 0?void 0:v.target);if(!h){return p}var g=h.getBoundingClientRect();f={top:g.top,left:g.left,width:g.width,height:g.height};break}var m=M(a,f,t,r,o,n,e);var b=V(s,a,f,t,r);var w=m.top+b.top;var y=m.left+b.left;var x=H(a,o,n,w,y,t,r,e),k=x.arrowTop,P=x.arrowLeft;var T=Y(a,s,e),D=T.originX,E=T.originY;return{top:w,left:y,referenceCoordinates:f,arrowTop:k,arrowLeft:P,originX:D,originY:E}};var Y=function(e,t,r){switch(e){case"top":return{originX:z(t),originY:"bottom"};case"bottom":return{originX:z(t),originY:"top"};case"left":return{originX:"right",originY:B(t)};case"right":return{originX:"left",originY:B(t)};case"start":return{originX:r?"left":"right",originY:B(t)};case"end":return{originX:r?"right":"left",originY:B(t)}}};var z=function(e){switch(e){case"start":return"left";case"center":return"center";case"end":return"right"}};var B=function(e){switch(e){case"start":return"top";case"center":return"center";case"end":return"bottom"}};var H=function(e,t,r,o,n,i,a,s){var p={arrowTop:o+a/2-t/2,arrowLeft:n+i-t/2};var c={arrowTop:o+a/2-t/2,arrowLeft:n-t*1.5};switch(e){case"top":return{arrowTop:o+a,arrowLeft:n+i/2-t/2};case"bottom":return{arrowTop:o-r,arrowLeft:n+i/2-t/2};case"left":return p;case"right":return c;case"start":return s?c:p;case"end":return s?p:c;default:return{arrowTop:0,arrowLeft:0}}};var M=function(e,t,r,o,n,i,a){var s={top:t.top,left:t.left-r-n};var p={top:t.top,left:t.left+t.width+n};switch(e){case"top":return{top:t.top-o-i,left:t.left};case"right":return p;case"bottom":return{top:t.top+t.height+i,left:t.left};case"left":return s;case"start":return a?p:s;case"end":return a?s:p}};var V=function(e,t,r,o,n){switch(e){case"center":return R(t,r,o,n);case"end":return F(t,r,o,n);case"start":default:return{top:0,left:0}}};var F=function(e,t,r,o){switch(e){case"start":case"end":case"left":case"right":return{top:-(o-t.height),left:0};case"top":case"bottom":default:return{top:0,left:-(r-t.width)}}};var R=function(e,t,r,o){switch(e){case"start":case"end":case"left":case"right":return{top:-(o/2-t.height/2),left:0};case"top":case"bottom":default:return{top:0,left:-(r/2-t.width/2)}}};var K=function(e,t,r,o,n,i,a,s,p,c,d,l,f,u,v){if(f===void 0){f=0}if(u===void 0){u=0}if(v===void 0){v=0}var h=f;var g=u;var m=r;var b=t;var w;var y=c;var x=d;var k=false;var P=false;var T=l?l.top+l.height:i/2-s/2;var D=l?l.height:0;var E=false;if(m<o+p){m=o;k=true;y="left"}else if(a+o+m+p>n){P=true;m=n-a-o;y="right"}if(T+D+s>i&&(e==="top"||e==="bottom")){if(T-s>0){b=Math.max(12,T-s-D-(v-1));h=b+s;x="bottom";E=true}else{w=o}}return{top:b,left:m,bottom:w,originX:y,originY:x,checkSafeAreaLeft:k,checkSafeAreaRight:P,arrowTop:h,arrowLeft:g,addPopoverBottomClass:E}};var G=function(e,t,r,o){if(t===void 0){t=false}if(!r&&!o){return false}if(e!=="top"&&e!=="bottom"&&t){return false}return true};var U=5;var J=function(e,t){var r;var o=t.event,n=t.size,i=t.trigger,a=t.reference,s=t.side,p=t.align;var c=e.ownerDocument;var l=c.dir==="rtl";var f=c.defaultView.innerWidth;var u=c.defaultView.innerHeight;var v=d(e);var h=v.querySelector(".popover-content");var g=v.querySelector(".popover-arrow");var m=i||((r=o===null||o===void 0?void 0:o.detail)===null||r===void 0?void 0:r.ionShadowTarget)||(o===null||o===void 0?void 0:o.target);var b=A(n,h,m),w=b.contentWidth,y=b.contentHeight;var x=I(g),k=x.arrowWidth,P=x.arrowHeight;var T={top:u/2-y/2,left:f/2-w/2,originX:l?"right":"left",originY:"top"};var D=X(l,w,y,k,P,a,s,p,T,i,o);var S=n==="cover"?0:U;var _=n==="cover"?0:25;var L=K(s,D.top,D.left,S,f,u,w,y,_,D.originX,D.originY,D.referenceCoordinates,D.arrowTop,D.arrowLeft,P),C=L.originX,W=L.originY,O=L.top,N=L.left,q=L.bottom,j=L.checkSafeAreaLeft,Y=L.checkSafeAreaRight,z=L.arrowTop,B=L.arrowLeft,H=L.addPopoverBottomClass;var M=E();var V=E();var F=E();V.addElement(v.querySelector("ion-backdrop")).fromTo("opacity",.01,"var(--backdrop-opacity)").beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"]);F.addElement(v.querySelector(".popover-arrow")).addElement(v.querySelector(".popover-content")).fromTo("opacity",.01,1);return M.easing("ease").duration(100).beforeAddWrite((function(){if(n==="cover"){e.style.setProperty("--width","".concat(w,"px"))}if(H){e.classList.add("popover-bottom")}if(q!==undefined){h.style.setProperty("bottom","".concat(q,"px"))}var t=" + var(--ion-safe-area-left, 0)";var r=" - var(--ion-safe-area-right, 0)";var a="".concat(N,"px");if(j){a="".concat(N,"px").concat(t)}if(Y){a="".concat(N,"px").concat(r)}h.style.setProperty("top","calc(".concat(O,"px + var(--offset-y, 0))"));h.style.setProperty("left","calc(".concat(a," + var(--offset-x, 0))"));h.style.setProperty("transform-origin","".concat(W," ").concat(C));if(g!==null){var p=D.top!==O||D.left!==N;var c=G(s,p,o,i);if(c){g.style.setProperty("top","calc(".concat(z,"px + var(--offset-y, 0))"));g.style.setProperty("left","calc(".concat(B,"px + var(--offset-x, 0))"))}else{g.style.setProperty("display","none")}}})).addAnimation([V,F])};var Q=function(e){var t=d(e);var r=t.querySelector(".popover-content");var o=t.querySelector(".popover-arrow");var n=E();var i=E();var a=E();i.addElement(t.querySelector("ion-backdrop")).fromTo("opacity","var(--backdrop-opacity)",0);a.addElement(t.querySelector(".popover-arrow")).addElement(t.querySelector(".popover-content")).fromTo("opacity",.99,0);return n.easing("ease").afterAddWrite((function(){e.style.removeProperty("--width");e.classList.remove("popover-bottom");r.style.removeProperty("top");r.style.removeProperty("left");r.style.removeProperty("bottom");r.style.removeProperty("transform-origin");if(o){o.style.removeProperty("top");o.style.removeProperty("left");o.style.removeProperty("display")}})).duration(300).addAnimation([i,a])};var Z=12;var $=function(e,t){var r;var o=t.event,n=t.size,i=t.trigger,a=t.reference,s=t.side,p=t.align;var c=e.ownerDocument;var l=c.dir==="rtl";var f=c.defaultView.innerWidth;var u=c.defaultView.innerHeight;var v=d(e);var h=v.querySelector(".popover-content");var g=i||((r=o===null||o===void 0?void 0:o.detail)===null||r===void 0?void 0:r.ionShadowTarget)||(o===null||o===void 0?void 0:o.target);var m=A(n,h,g),b=m.contentWidth,w=m.contentHeight;var y={top:u/2-w/2,left:f/2-b/2,originX:l?"right":"left",originY:"top"};var x=X(l,b,w,0,0,a,s,p,y,i,o);var k=n==="cover"?0:Z;var P=K(s,x.top,x.left,k,f,u,b,w,0,x.originX,x.originY,x.referenceCoordinates),T=P.originX,D=P.originY,S=P.top,I=P.left,_=P.bottom;var L=E();var C=E();var W=E();var O=E();var N=E();C.addElement(v.querySelector("ion-backdrop")).fromTo("opacity",.01,"var(--backdrop-opacity)").beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"]);W.addElement(v.querySelector(".popover-wrapper")).duration(150).fromTo("opacity",.01,1);O.addElement(h).beforeStyles({top:"calc(".concat(S,"px + var(--offset-y, 0px))"),left:"calc(".concat(I,"px + var(--offset-x, 0px))"),"transform-origin":"".concat(D," ").concat(T)}).beforeAddWrite((function(){if(_!==undefined){h.style.setProperty("bottom","".concat(_,"px"))}})).fromTo("transform","scale(0.8)","scale(1)");N.addElement(v.querySelector(".popover-viewport")).fromTo("opacity",.01,1);return L.easing("cubic-bezier(0.36,0.66,0.04,1)").duration(300).beforeAddWrite((function(){if(n==="cover"){e.style.setProperty("--width","".concat(b,"px"))}if(D==="bottom"){e.classList.add("popover-bottom")}})).addAnimation([C,W,O,N])};var ee=function(e){var t=d(e);var r=t.querySelector(".popover-content");var o=E();var n=E();var i=E();n.addElement(t.querySelector("ion-backdrop")).fromTo("opacity","var(--backdrop-opacity)",0);i.addElement(t.querySelector(".popover-wrapper")).fromTo("opacity",.99,0);return o.easing("ease").afterAddWrite((function(){e.style.removeProperty("--width");e.classList.remove("popover-bottom");r.style.removeProperty("top");r.style.removeProperty("left");r.style.removeProperty("bottom");r.style.removeProperty("transform-origin")})).duration(150).addAnimation([n,i])};var te=':host{--background:var(--ion-background-color, #fff);--min-width:0;--min-height:0;--max-width:auto;--height:auto;--offset-x:0px;--offset-y:0px;left:0;right:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:fixed;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;outline:none;color:var(--ion-text-color, #000);z-index:1001}:host(.popover-nested){pointer-events:none}:host(.popover-nested) .popover-wrapper{pointer-events:auto}:host(.overlay-hidden){display:none}.popover-wrapper{z-index:10}.popover-content{display:-ms-flexbox;display:flex;position:absolute;-ms-flex-direction:column;flex-direction:column;width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);background:var(--background);-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);overflow:auto;z-index:10}.popover-viewport{--ion-safe-area-top:0px;--ion-safe-area-right:0px;--ion-safe-area-bottom:0px;--ion-safe-area-left:0px;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;overflow:hidden}:host(.popover-nested.popover-side-left){--offset-x:5px}:host(.popover-nested.popover-side-right){--offset-x:-5px}:host(.popover-nested.popover-side-start){--offset-x:5px}:host-context([dir=rtl]):host(.popover-nested.popover-side-start),:host-context([dir=rtl]).popover-nested.popover-side-start{--offset-x:-5px}@supports selector(:dir(rtl)){:host(.popover-nested.popover-side-start):dir(rtl){--offset-x:-5px}}:host(.popover-nested.popover-side-end){--offset-x:-5px}:host-context([dir=rtl]):host(.popover-nested.popover-side-end),:host-context([dir=rtl]).popover-nested.popover-side-end{--offset-x:5px}@supports selector(:dir(rtl)){:host(.popover-nested.popover-side-end):dir(rtl){--offset-x:5px}}:host{--width:200px;--max-height:90%;--box-shadow:none;--backdrop-opacity:var(--ion-backdrop-opacity, 0.08)}:host(.popover-desktop){--box-shadow:0px 4px 16px 0px rgba(0, 0, 0, 0.12)}.popover-content{border-radius:10px}:host(.popover-desktop) .popover-content{border:0.5px solid var(--ion-color-step-100, #e6e6e6)}.popover-arrow{display:block;position:absolute;width:20px;height:10px;overflow:hidden}.popover-arrow::after{top:3px;border-radius:3px;position:absolute;width:14px;height:14px;-webkit-transform:rotate(45deg);transform:rotate(45deg);background:var(--background);content:"";z-index:10}@supports (inset-inline-start: 0){.popover-arrow::after{inset-inline-start:3px}}@supports not (inset-inline-start: 0){.popover-arrow::after{left:3px}:host-context([dir=rtl]) .popover-arrow::after{left:unset;right:unset;right:3px}[dir=rtl] .popover-arrow::after{left:unset;right:unset;right:3px}@supports selector(:dir(rtl)){.popover-arrow::after:dir(rtl){left:unset;right:unset;right:3px}}}:host(.popover-bottom) .popover-arrow{top:auto;bottom:-10px}:host(.popover-bottom) .popover-arrow::after{top:-6px}:host(.popover-side-left) .popover-arrow{-webkit-transform:rotate(90deg);transform:rotate(90deg)}:host(.popover-side-right) .popover-arrow{-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}:host(.popover-side-top) .popover-arrow{-webkit-transform:rotate(180deg);transform:rotate(180deg)}:host(.popover-side-start) .popover-arrow{-webkit-transform:rotate(90deg);transform:rotate(90deg)}:host-context([dir=rtl]):host(.popover-side-start) .popover-arrow,:host-context([dir=rtl]).popover-side-start .popover-arrow{-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}@supports selector(:dir(rtl)){:host(.popover-side-start) .popover-arrow:dir(rtl){-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}}:host(.popover-side-end) .popover-arrow{-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}:host-context([dir=rtl]):host(.popover-side-end) .popover-arrow,:host-context([dir=rtl]).popover-side-end .popover-arrow{-webkit-transform:rotate(90deg);transform:rotate(90deg)}@supports selector(:dir(rtl)){:host(.popover-side-end) .popover-arrow:dir(rtl){-webkit-transform:rotate(90deg);transform:rotate(90deg)}}.popover-arrow,.popover-content{opacity:0}@supports ((-webkit-backdrop-filter: blur(0)) or (backdrop-filter: blur(0))){:host(.popover-translucent) .popover-content,:host(.popover-translucent) .popover-arrow::after{background:rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8);-webkit-backdrop-filter:saturate(180%) blur(20px);backdrop-filter:saturate(180%) blur(20px)}}';var re=":host{--background:var(--ion-background-color, #fff);--min-width:0;--min-height:0;--max-width:auto;--height:auto;--offset-x:0px;--offset-y:0px;left:0;right:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:fixed;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;outline:none;color:var(--ion-text-color, #000);z-index:1001}:host(.popover-nested){pointer-events:none}:host(.popover-nested) .popover-wrapper{pointer-events:auto}:host(.overlay-hidden){display:none}.popover-wrapper{z-index:10}.popover-content{display:-ms-flexbox;display:flex;position:absolute;-ms-flex-direction:column;flex-direction:column;width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);background:var(--background);-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);overflow:auto;z-index:10}.popover-viewport{--ion-safe-area-top:0px;--ion-safe-area-right:0px;--ion-safe-area-bottom:0px;--ion-safe-area-left:0px;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;overflow:hidden}:host(.popover-nested.popover-side-left){--offset-x:5px}:host(.popover-nested.popover-side-right){--offset-x:-5px}:host(.popover-nested.popover-side-start){--offset-x:5px}:host-context([dir=rtl]):host(.popover-nested.popover-side-start),:host-context([dir=rtl]).popover-nested.popover-side-start{--offset-x:-5px}@supports selector(:dir(rtl)){:host(.popover-nested.popover-side-start):dir(rtl){--offset-x:-5px}}:host(.popover-nested.popover-side-end){--offset-x:-5px}:host-context([dir=rtl]):host(.popover-nested.popover-side-end),:host-context([dir=rtl]).popover-nested.popover-side-end{--offset-x:5px}@supports selector(:dir(rtl)){:host(.popover-nested.popover-side-end):dir(rtl){--offset-x:5px}}:host{--width:250px;--max-height:90%;--box-shadow:0 5px 5px -3px rgba(0, 0, 0, 0.2), 0 8px 10px 1px rgba(0, 0, 0, 0.14), 0 3px 14px 2px rgba(0, 0, 0, 0.12);--backdrop-opacity:var(--ion-backdrop-opacity, 0.32)}.popover-content{border-radius:4px;-webkit-transform-origin:left top;transform-origin:left top}:host-context([dir=rtl]) .popover-content{-webkit-transform-origin:right top;transform-origin:right top}[dir=rtl] .popover-content{-webkit-transform-origin:right top;transform-origin:right top}@supports selector(:dir(rtl)){.popover-content:dir(rtl){-webkit-transform-origin:right top;transform-origin:right top}}.popover-viewport{-webkit-transition-delay:100ms;transition-delay:100ms}.popover-wrapper{opacity:0}";var oe=e("ion_popover",function(){function e(e){var o=this;t(this,e);this.didPresent=r(this,"ionPopoverDidPresent",7);this.willPresent=r(this,"ionPopoverWillPresent",7);this.willDismiss=r(this,"ionPopoverWillDismiss",7);this.didDismiss=r(this,"ionPopoverDidDismiss",7);this.didPresentShorthand=r(this,"didPresent",7);this.willPresentShorthand=r(this,"willPresent",7);this.willDismissShorthand=r(this,"willDismiss",7);this.didDismissShorthand=r(this,"didDismiss",7);this.ionMount=r(this,"ionMount",7);this.parentPopover=null;this.coreDelegate=a();this.inline=false;this.focusDescendantOnPresent=false;this.onBackdropTap=function(){o.dismiss(undefined,v)};this.onLifecycle=function(e){var t=o.usersElement;var r=ne[e.type];if(t&&r){var n=new CustomEvent(r,{bubbles:false,cancelable:false,detail:e.detail});t.dispatchEvent(n)}};this.configureTriggerInteraction=function(){var e=o,t=e.trigger,r=e.triggerAction,n=e.el,i=e.destroyTriggerInteraction;if(i){i()}if(t===undefined){return}var a=o.triggerEl=t!==undefined?document.getElementById(t):null;if(!a){u('A trigger element with the ID "'.concat(t,'" was not found in the DOM. The trigger element must be in the DOM when the "trigger" property is set on ion-popover.'),o.el);return}o.destroyTriggerInteraction=L(a,r,n)};this.configureKeyboardInteraction=function(){var e=o,t=e.destroyKeyboardInteraction,r=e.el;if(t){t()}o.destroyKeyboardInteraction=j(r)};this.configureDismissInteraction=function(){var e=o,t=e.destroyDismissInteraction,r=e.parentPopover,n=e.triggerAction,i=e.triggerEl,a=e.el;if(!r||!i){return}if(t){t()}o.destroyDismissInteraction=_(i,n,a,r)};this.presented=false;this.hasController=false;this.delegate=undefined;this.overlayIndex=undefined;this.enterAnimation=undefined;this.leaveAnimation=undefined;this.component=undefined;this.componentProps=undefined;this.keyboardClose=true;this.cssClass=undefined;this.backdropDismiss=true;this.event=undefined;this.showBackdrop=true;this.translucent=false;this.animated=true;this.htmlAttributes=undefined;this.triggerAction="click";this.trigger=undefined;this.size="auto";this.dismissOnSelect=false;this.reference="trigger";this.side="bottom";this.alignment=undefined;this.arrow=true;this.isOpen=false;this.keyboardEvents=false;this.keepContentsMounted=false}e.prototype.onTriggerChange=function(){this.configureTriggerInteraction()};e.prototype.onIsOpenChange=function(e,t){if(e===true&&t===false){this.present()}else if(e===false&&t===true){this.dismiss()}};e.prototype.connectedCallback=function(){var e=this,t=e.configureTriggerInteraction,r=e.el;h(r);t()};e.prototype.disconnectedCallback=function(){var e=this.destroyTriggerInteraction;if(e){e()}};e.prototype.componentWillLoad=function(){var e=this.el;var t=g(e);this.parentPopover=e.closest("ion-popover:not(#".concat(t,")"));if(this.alignment===undefined){this.alignment=x(this)==="ios"?"center":"start"}};e.prototype.componentDidLoad=function(){var e=this;var t=this,r=t.parentPopover,o=t.isOpen;if(o===true){c((function(){return e.present()}))}if(r){l(r,"ionPopoverWillDismiss",(function(){e.dismiss(undefined,undefined,false)}))}};e.prototype.presentFromTrigger=function(e,t){if(t===void 0){t=false}return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(r){switch(r.label){case 0:this.focusDescendantOnPresent=t;return[4,this.present(e)];case 1:r.sent();this.focusDescendantOnPresent=false;return[2]}}))}))};e.prototype.getDelegate=function(e){if(e===void 0){e=false}if(this.workingDelegate&&!e){return{delegate:this.workingDelegate,inline:this.inline}}var t=this.el.parentNode;var r=this.inline=t!==null&&!this.hasController;var o=this.workingDelegate=r?this.delegate||this.coreDelegate:this.delegate;return{inline:r,delegate:o}};e.prototype.present=function(e){return __awaiter(this,void 0,void 0,(function(){var t,r,o,n,i;return __generator(this,(function(a){switch(a.label){case 0:if(this.presented){return[2]}if(!(this.currentTransition!==undefined))return[3,2];return[4,this.currentTransition];case 1:a.sent();a.label=2;case 2:t=this.el;r=this.getDelegate(true),o=r.inline,n=r.delegate;i=this;return[4,s(n,t,this.component,["popover-viewport"],this.componentProps,o)];case 3:i.usersElement=a.sent();if(!this.keyboardEvents){this.configureKeyboardInteraction()}this.configureDismissInteraction();this.ionMount.emit();if(!f(t))return[3,5];return[4,T(this.usersElement)];case 4:a.sent();return[3,7];case 5:if(!!this.keepContentsMounted)return[3,7];return[4,D()];case 6:a.sent();a.label=7;case 7:this.currentTransition=m(this,"popoverEnter",J,$,{event:e||this.event,size:this.size,trigger:this.triggerEl,reference:this.reference,side:this.side,align:this.alignment});return[4,this.currentTransition];case 8:a.sent();this.currentTransition=undefined;if(this.focusDescendantOnPresent){b(this.el,this.el)}return[2]}}))}))};e.prototype.dismiss=function(e,t,r){if(r===void 0){r=true}return __awaiter(this,void 0,void 0,(function(){var o,n,i,a,s;return __generator(this,(function(c){switch(c.label){case 0:if(!(this.currentTransition!==undefined))return[3,2];return[4,this.currentTransition];case 1:c.sent();c.label=2;case 2:o=this,n=o.destroyKeyboardInteraction,i=o.destroyDismissInteraction;if(r&&this.parentPopover){this.parentPopover.dismiss(e,t,r)}this.currentTransition=w(this,e,t,"popoverLeave",Q,ee,this.event);return[4,this.currentTransition];case 3:a=c.sent();if(!a)return[3,5];if(n){n();this.destroyKeyboardInteraction=undefined}if(i){i();this.destroyDismissInteraction=undefined}s=this.getDelegate().delegate;return[4,p(s,this.usersElement)];case 4:c.sent();c.label=5;case 5:this.currentTransition=undefined;return[2,a]}}))}))};e.prototype.getParentPopover=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){return[2,this.parentPopover]}))}))};e.prototype.onDidDismiss=function(){return y(this.el,"ionPopoverDidDismiss")};e.prototype.onWillDismiss=function(){return y(this.el,"ionPopoverWillDismiss")};e.prototype.render=function(){var e;var t=this;var r=x(this);var i=this,a=i.onLifecycle,s=i.parentPopover,p=i.dismissOnSelect,c=i.side,d=i.arrow,l=i.htmlAttributes;var f=k("desktop");var u=d&&!s;return o(n,Object.assign({"aria-modal":"true","no-router":true,tabindex:"-1"},l,{style:{zIndex:"".concat(2e4+this.overlayIndex)},class:Object.assign(Object.assign({},P(this.cssClass)),(e={},e[r]=true,e["popover-translucent"]=this.translucent,e["overlay-hidden"]=true,e["popover-desktop"]=f,e["popover-side-".concat(c)]=true,e["popover-nested"]=!!s,e)),onIonPopoverDidPresent:a,onIonPopoverWillPresent:a,onIonPopoverWillDismiss:a,onIonPopoverDidDismiss:a,onIonBackdropTap:this.onBackdropTap}),!s&&o("ion-backdrop",{tappable:this.backdropDismiss,visible:this.showBackdrop,part:"backdrop"}),o("div",{class:"popover-wrapper ion-overlay-wrapper",onClick:p?function(){return t.dismiss()}:undefined},u&&o("div",{class:"popover-arrow",part:"arrow"}),o("div",{class:"popover-content",part:"content"},o("slot",null))))};Object.defineProperty(e.prototype,"el",{get:function(){return i(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{trigger:["onTriggerChange"],triggerAction:["onTriggerChange"],isOpen:["onIsOpenChange"]}},enumerable:false,configurable:true});return e}());var ne={ionPopoverDidPresent:"ionViewDidEnter",ionPopoverWillPresent:"ionViewWillEnter",ionPopoverWillDismiss:"ionViewWillLeave",ionPopoverDidDismiss:"ionViewDidLeave"};oe.style={ios:te,md:re}}}}));
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * (C) Ionic http://ionicframework.com - MIT License
3
+ */
4
+ import{r as t,d as o,f as n,h as i,H as e}from"./p-64142d00.js";import{c as r,q as s}from"./p-63eb0acd.js";import{o as a,c}from"./p-1d072d3d.js";import{b as h}from"./p-439a4f2f.js";const u=class{constructor(n){t(this,n),this.ionRouteDataChanged=o(this,"ionRouteDataChanged",7),this.url="",this.component=void 0,this.componentProps=void 0,this.beforeLeave=void 0,this.beforeEnter=void 0}onUpdate(t){this.ionRouteDataChanged.emit(t)}onComponentProps(t,o){if(t===o)return;const n=t?Object.keys(t):[],i=o?Object.keys(o):[];if(n.length===i.length){for(const i of n)if(t[i]!==o[i])return void this.onUpdate(t)}else this.onUpdate(t)}connectedCallback(){this.ionRouteDataChanged.emit()}static get watchers(){return{url:["onUpdate"],component:["onUpdate"],componentProps:["onComponentProps"]}}},l=class{constructor(n){t(this,n),this.ionRouteRedirectChanged=o(this,"ionRouteRedirectChanged",7),this.from=void 0,this.to=void 0}propDidChange(){this.ionRouteRedirectChanged.emit()}connectedCallback(){this.ionRouteRedirectChanged.emit()}static get watchers(){return{from:["propDidChange"],to:["propDidChange"]}}},f="root",d="forward",w=t=>"/"+t.filter((t=>t.length>0)).join("/"),p=t=>{let o,n=[""];if(null!=t){const i=t.indexOf("?");i>-1&&(o=t.substring(i+1),t=t.substring(0,i)),n=t.split("/").map((t=>t.trim())).filter((t=>t.length>0)),0===n.length&&(n=[""])}return{segments:n,queryString:o}},m=async(t,o,n,i,e=!1,s)=>{try{const a=g(t);if(i>=o.length||!a)return e;await new Promise((t=>r(a,t)));const c=o[i],h=await a.setRouteId(c.id,c.params,n,s);return h.changed&&(n=f,e=!0),e=await m(h.element,o,n,i+1,e,s),h.markVisible&&await h.markVisible(),e}catch(t){return console.error(t),!1}},v=":not([no-router]) ion-nav, :not([no-router]) ion-tabs, :not([no-router]) ion-router-outlet",g=t=>{if(!t)return;if(t.matches(v))return t;const o=t.querySelector(v);return null!=o?o:void 0},b=(t,o)=>o.find((o=>((t,o)=>{const{from:n,to:i}=o;if(void 0===i)return!1;if(n.length>t.length)return!1;for(let o=0;o<n.length;o++){const i=n[o];if("*"===i)return!0;if(i!==t[o])return!1}return n.length===t.length})(t,o))),y=(t,o)=>{const n=Math.min(t.length,o.length);let i=0;for(let e=0;e<n;e++){const n=t[e],r=o[e];if(n.id.toLowerCase()!==r.id)break;if(n.params){const t=Object.keys(n.params);if(t.length===r.segments.length){const o=t.map((t=>`:${t}`));for(let t=0;t<o.length&&o[t].toLowerCase()===r.segments[t];t++)i++}}i++}return i},R=(t,o)=>{const n=new O(t);let i,e=!1;for(let t=0;t<o.length;t++){const r=o[t].segments;if(""===r[0])e=!0;else{for(const o of r){const e=n.next();if(":"===o[0]){if(""===e)return null;i=i||[],(i[t]||(i[t]={}))[o.slice(1)]=e}else if(e!==o)return null}e=!1}}return e&&e!==(""===n.next())?null:i?o.map(((t,o)=>({id:t.id,segments:t.segments,params:C(t.params,i[o]),beforeEnter:t.beforeEnter,beforeLeave:t.beforeLeave}))):o},C=(t,o)=>t||o?Object.assign(Object.assign({},t),o):void 0,j=(t,o)=>{let n=null,i=0;for(const e of o){const o=R(t,e);if(null!==o){const t=k(o);t>i&&(i=t,n=o)}}return n},k=t=>{let o=1,n=1;for(const i of t)for(const t of i.segments)":"===t[0]?o+=Math.pow(1,n):""!==t&&(o+=Math.pow(2,n)),n++;return o};class O{constructor(t){this.segments=t.slice()}next(){return this.segments.length>0?this.segments.shift():""}}const D=(t,o)=>o in t?t[o]:t.hasAttribute(o)?t.getAttribute(o):null,E=t=>Array.from(t.children).filter((t=>"ION-ROUTE-REDIRECT"===t.tagName)).map((t=>{const o=D(t,"to");return{from:p(D(t,"from")).segments,to:null==o?void 0:p(o)}})),S=t=>L($(t)),$=t=>Array.from(t.children).filter((t=>"ION-ROUTE"===t.tagName&&t.component)).map((t=>{const o=D(t,"component");return{segments:p(D(t,"url")).segments,id:o.toLowerCase(),params:t.componentProps,beforeLeave:t.beforeLeave,beforeEnter:t.beforeEnter,children:$(t)}})),L=t=>{const o=[];for(const n of t)P([],o,n);return o},P=(t,o,n)=>{if(t=[...t,{id:n.id,segments:n.segments,params:n.params,beforeLeave:n.beforeLeave,beforeEnter:n.beforeEnter}],0!==n.children.length)for(const i of n.children)P(t,o,i);else o.push(t)},U=class{constructor(n){t(this,n),this.ionRouteWillChange=o(this,"ionRouteWillChange",7),this.ionRouteDidChange=o(this,"ionRouteDidChange",7),this.previousPath=null,this.busy=!1,this.state=0,this.lastState=0,this.root="/",this.useHash=!0}async componentWillLoad(){await(g(document.body)?Promise.resolve():new Promise((t=>{window.addEventListener("ionNavWillLoad",(()=>t()),{once:!0})})));const t=await this.runGuards(this.getSegments());if(!0!==t){if("object"==typeof t){const{redirect:o}=t,n=p(o);this.setSegments(n.segments,f,n.queryString),await this.writeNavStateRoot(n.segments,f)}}else await this.onRoutesChanged()}componentDidLoad(){window.addEventListener("ionRouteRedirectChanged",s(this.onRedirectChanged.bind(this),10)),window.addEventListener("ionRouteDataChanged",s(this.onRoutesChanged.bind(this),100))}async onPopState(){const t=this.historyDirection();let o=this.getSegments();const n=await this.runGuards(o);if(!0!==n){if("object"!=typeof n)return!1;o=p(n.redirect).segments}return this.writeNavStateRoot(o,t)}onBackButton(t){t.detail.register(0,(t=>{this.back(),t()}))}async canTransition(){const t=await this.runGuards();return!0===t||"object"==typeof t&&t.redirect}async push(t,o="forward",n){var i;if(t.startsWith(".")){const o=null!==(i=this.previousPath)&&void 0!==i?i:"/",n=new URL(t,`https://host/${o}`);t=n.pathname+n.search}let e=p(t);const r=await this.runGuards(e.segments);if(!0!==r){if("object"!=typeof r)return!1;e=p(r.redirect)}return this.setSegments(e.segments,o,e.queryString),this.writeNavStateRoot(e.segments,o,n)}back(){return window.history.back(),Promise.resolve(this.waitPromise)}async printDebug(){(t=>{console.group(`[ion-core] ROUTES[${t.length}]`);for(const o of t){const t=[];o.forEach((o=>t.push(...o.segments)));const n=o.map((t=>t.id));console.debug(`%c ${w(t)}`,"font-weight: bold; padding-left: 20px","=>\t",`(${n.join(", ")})`)}console.groupEnd()})(S(this.el)),(t=>{console.group(`[ion-core] REDIRECTS[${t.length}]`);for(const o of t)o.to&&console.debug("FROM: ",`$c ${w(o.from)}`,"font-weight: bold"," TO: ",`$c ${w(o.to.segments)}`,"font-weight: bold");console.groupEnd()})(E(this.el))}async navChanged(t){if(this.busy)return console.warn("[ion-router] router is busy, navChanged was cancelled"),!1;const{ids:o,outlet:n}=await(async()=>{const t=[];let o,n=window.document.body;for(;o=g(n);){const i=await o.getRouteId();if(!i)break;n=i.element,i.element=void 0,t.push(i)}return{ids:t,outlet:o}})(),i=((t,o)=>{let n=null,i=0;for(const e of o){const o=y(t,e);o>i&&(n=e,i=o)}return n?n.map(((o,n)=>{var i;return{id:o.id,segments:o.segments,params:C(o.params,null===(i=t[n])||void 0===i?void 0:i.params)}})):null})(o,S(this.el));if(!i)return console.warn("[ion-router] no matching URL for ",o.map((t=>t.id))),!1;const e=(t=>{const o=[];for(const n of t)for(const t of n.segments)if(":"===t[0]){const i=n.params&&n.params[t.slice(1)];if(!i)return null;o.push(i)}else""!==t&&o.push(t);return o})(i);return e?(this.setSegments(e,t),await this.safeWriteNavState(n,i,f,e,null,o.length),!0):(console.warn("[ion-router] router could not match path because some required param is missing"),!1)}onRedirectChanged(){const t=this.getSegments();t&&b(t,E(this.el))&&this.writeNavStateRoot(t,f)}onRoutesChanged(){return this.writeNavStateRoot(this.getSegments(),f)}historyDirection(){var t;const o=window;null===o.history.state&&(this.state++,o.history.replaceState(this.state,o.document.title,null===(t=o.document.location)||void 0===t?void 0:t.href));const n=o.history.state,i=this.lastState;return this.lastState=n,n>i||n>=i&&i>0?d:n<i?"back":f}async writeNavStateRoot(t,o,n){if(!t)return console.error("[ion-router] URL is not part of the routing set"),!1;const i=E(this.el),e=b(t,i);let r=null;if(e){const{segments:n,queryString:i}=e.to;this.setSegments(n,o,i),r=e.from,t=n}const s=S(this.el),a=j(t,s);return a?this.safeWriteNavState(document.body,a,o,t,r,0,n):(console.error("[ion-router] the path does not match any route"),!1)}async safeWriteNavState(t,o,n,i,e,r=0,s){const a=await this.lock();let c=!1;try{c=await this.writeNavState(t,o,n,i,e,r,s)}catch(t){console.error(t)}return a(),c}async lock(){const t=this.waitPromise;let o;return this.waitPromise=new Promise((t=>o=t)),void 0!==t&&await t,o}async runGuards(t=this.getSegments(),o){if(void 0===o&&(o=p(this.previousPath).segments),!t||!o)return!0;const n=S(this.el),i=j(o,n),e=i&&i[i.length-1].beforeLeave,r=!e||await e();if(!1===r||"object"==typeof r)return r;const s=j(t,n),a=s&&s[s.length-1].beforeEnter;return!a||a()}async writeNavState(t,o,n,i,e,r=0,s){if(this.busy)return console.warn("[ion-router] router is busy, transition was cancelled"),!1;this.busy=!0;const a=this.routeChangeEvent(i,e);a&&this.ionRouteWillChange.emit(a);const c=await m(t,o,n,r,!1,s);return this.busy=!1,a&&this.ionRouteDidChange.emit(a),c}setSegments(t,o,n){this.state++,((t,o,n,i,e,r,s)=>{const a=((t,o,n)=>{let i=w(t);return o&&(i="#"+i),void 0!==n&&(i+="?"+n),i})([...p(o).segments,...i],n,s);e===d?t.pushState(r,"",a):t.replaceState(r,"",a)})(window.history,this.root,this.useHash,t,o,this.state,n)}getSegments(){return((t,o,n)=>{const i=p(this.root).segments,e=n?t.hash.slice(1):t.pathname;return((t,o)=>{if(t.length>o.length)return null;if(t.length<=1&&""===t[0])return o;for(let n=0;n<t.length;n++)if(t[n]!==o[n])return null;return o.length===t.length?[""]:o.slice(t.length)})(i,p(e).segments)})(window.location,0,this.useHash)}routeChangeEvent(t,o){const n=this.previousPath,i=w(t);return this.previousPath=i,i===n?null:{from:n,redirectedFrom:o?w(o):null,to:i}}get el(){return n(this)}},x=class{constructor(o){t(this,o),this.onClick=t=>{a(this.href,t,this.routerDirection,this.routerAnimation)},this.color=void 0,this.href=void 0,this.rel=void 0,this.routerDirection="forward",this.routerAnimation=void 0,this.target=void 0}render(){const t=h(this),o={href:this.href,rel:this.rel,target:this.target};return i(e,{onClick:this.onClick,class:c(this.color,{[t]:!0,"ion-activatable":!0})},i("a",Object.assign({},o),i("slot",null)))}};x.style=":host{--background:transparent;--color:var(--ion-color-primary, #3880ff);background:var(--background);color:var(--color)}:host(.ion-color){color:var(--ion-color-base)}a{font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit}";export{u as ion_route,l as ion_route_redirect,U as ion_router,x as ion_router_link}
@@ -1,4 +1,4 @@
1
1
  var __awaiter=this&&this.__awaiter||function(r,e,a,o){function t(r){return r instanceof a?r:new a((function(e){e(r)}))}return new(a||(a=Promise))((function(a,n){function i(r){try{c(o.next(r))}catch(r){n(r)}}function s(r){try{c(o["throw"](r))}catch(r){n(r)}}function c(r){r.done?a(r.value):t(r.value).then(i,s)}c((o=o.apply(r,e||[])).next())}))};var __generator=this&&this.__generator||function(r,e){var a={label:0,sent:function(){if(n[0]&1)throw n[1];return n[1]},trys:[],ops:[]},o,t,n,i;return i={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(i[Symbol.iterator]=function(){return this}),i;function s(r){return function(e){return c([r,e])}}function c(s){if(o)throw new TypeError("Generator is already executing.");while(i&&(i=0,s[0]&&(a=0)),a)try{if(o=1,t&&(n=s[0]&2?t["return"]:s[0]?t["throw"]||((n=t["return"])&&n.call(t),0):t.next)&&!(n=n.call(t,s[1])).done)return n;if(t=0,n)s=[s[0]&2,n.value];switch(s[0]){case 0:case 1:n=s;break;case 4:a.label++;return{value:s[1],done:false};case 5:a.label++;t=s[1];s=[0];continue;case 7:s=a.ops.pop();a.trys.pop();continue;default:if(!(n=a.trys,n=n.length>0&&n[n.length-1])&&(s[0]===6||s[0]===2)){a=0;continue}if(s[0]===3&&(!n||s[1]>n[0]&&s[1]<n[3])){a.label=s[1];break}if(s[0]===6&&a.label<n[1]){a.label=n[1];n=s;break}if(n&&a.label<n[2]){a.label=n[2];a.ops.push(s);break}if(n[2])a.ops.pop();a.trys.pop();continue}s=e.call(r,a)}catch(r){s=[6,r];t=0}finally{o=n=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};
2
2
  /*!
3
3
  * (C) Ionic http://ionicframework.com - MIT License
4
- */System.register(["./p-5b553dc0.system.js","./p-815c2fba.system.js","./p-819ff3b9.system.js","./p-44bc8b45.system.js","./p-8985b268.system.js","./p-7b16490a.system.js"],(function(r){"use strict";var e,a,o,t,n,i,s,c,h,l,b,d,p,u,f,g,m;return{setters:[function(r){e=r.r;a=r.d;o=r.i;t=r.h;n=r.H;i=r.f},function(r){s=r.j;c=r.r},function(r){h=r.i},function(r){l=r.c},function(r){b=r.a;d=r.b;p=r.d;u=r.s;f=r.e},function(r){g=r.c;m=r.b}],execute:function(){var v=".sc-ion-searchbar-ios-h{--placeholder-color:initial;--placeholder-font-style:initial;--placeholder-font-weight:initial;--placeholder-opacity:0.6;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:-ms-flexbox;display:flex;position:relative;-ms-flex-align:center;align-items:center;width:100%;color:var(--color);font-family:var(--ion-font-family, inherit);-webkit-box-sizing:border-box;box-sizing:border-box}.ion-color.sc-ion-searchbar-ios-h{color:var(--ion-color-contrast)}.ion-color.sc-ion-searchbar-ios-h .searchbar-input.sc-ion-searchbar-ios{background:var(--ion-color-base)}.ion-color.sc-ion-searchbar-ios-h .searchbar-clear-button.sc-ion-searchbar-ios,.ion-color.sc-ion-searchbar-ios-h .searchbar-cancel-button.sc-ion-searchbar-ios,.ion-color.sc-ion-searchbar-ios-h .searchbar-search-icon.sc-ion-searchbar-ios{color:inherit}.searchbar-search-icon.sc-ion-searchbar-ios{color:var(--icon-color);pointer-events:none}.searchbar-input-container.sc-ion-searchbar-ios{display:block;position:relative;-ms-flex-negative:1;flex-shrink:1;width:100%}.searchbar-input.sc-ion-searchbar-ios{font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;border-radius:var(--border-radius);display:block;width:100%;border:0;outline:none;background:var(--background);font-family:inherit;-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-appearance:none;-moz-appearance:none;appearance:none}.searchbar-input.sc-ion-searchbar-ios::-webkit-input-placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.searchbar-input.sc-ion-searchbar-ios::-moz-placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.searchbar-input.sc-ion-searchbar-ios:-ms-input-placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.searchbar-input.sc-ion-searchbar-ios::-ms-input-placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.searchbar-input.sc-ion-searchbar-ios::placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.searchbar-input.sc-ion-searchbar-ios::-webkit-search-cancel-button,.searchbar-input.sc-ion-searchbar-ios::-ms-clear{display:none}.searchbar-cancel-button.sc-ion-searchbar-ios{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;display:none;height:100%;border:0;outline:none;color:var(--cancel-button-color);cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none}.searchbar-cancel-button.sc-ion-searchbar-ios>div.sc-ion-searchbar-ios{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%}.searchbar-clear-button.sc-ion-searchbar-ios{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;display:none;min-height:0;outline:none;color:var(--clear-button-color);-webkit-appearance:none;-moz-appearance:none;appearance:none}.searchbar-clear-button.sc-ion-searchbar-ios:focus{opacity:0.5}.searchbar-has-value.searchbar-should-show-clear.sc-ion-searchbar-ios-h .searchbar-clear-button.sc-ion-searchbar-ios{display:block}.searchbar-disabled.sc-ion-searchbar-ios-h{cursor:default;opacity:0.4;pointer-events:none}.sc-ion-searchbar-ios-h{--background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.07);--border-radius:10px;--box-shadow:none;--cancel-button-color:var(--ion-color-primary, #3880ff);--clear-button-color:var(--ion-color-step-600, #666666);--color:var(--ion-text-color, #000);--icon-color:var(--ion-color-step-600, #666666);-webkit-padding-start:12px;padding-inline-start:12px;-webkit-padding-end:12px;padding-inline-end:12px;padding-top:12px;padding-bottom:12px;height:60px;contain:strict}.searchbar-input-container.sc-ion-searchbar-ios{height:36px}.searchbar-search-icon.sc-ion-searchbar-ios{-webkit-margin-start:calc(50% - 60px);margin-inline-start:calc(50% - 60px);top:0;position:absolute;width:22px;height:100%;contain:strict}@supports (inset-inline-start: 0){.searchbar-search-icon.sc-ion-searchbar-ios{inset-inline-start:5px}}@supports not (inset-inline-start: 0){.searchbar-search-icon.sc-ion-searchbar-ios{left:5px}[dir=rtl].sc-ion-searchbar-ios-h .searchbar-search-icon.sc-ion-searchbar-ios,[dir=rtl] .sc-ion-searchbar-ios-h .searchbar-search-icon.sc-ion-searchbar-ios{left:unset;right:unset;right:5px}[dir=rtl].sc-ion-searchbar-ios .searchbar-search-icon.sc-ion-searchbar-ios{left:unset;right:unset;right:5px}@supports selector(:dir(rtl)){.searchbar-search-icon.sc-ion-searchbar-ios:dir(rtl){left:unset;right:unset;right:5px}}}.searchbar-input.sc-ion-searchbar-ios{-webkit-padding-start:28px;padding-inline-start:28px;-webkit-padding-end:28px;padding-inline-end:28px;padding-top:0;padding-bottom:0;height:100%;font-size:17px;font-weight:400;contain:strict}.searchbar-clear-button.sc-ion-searchbar-ios{top:0;background-position:center;position:absolute;width:30px;height:100%;border:0;background-color:transparent}@supports (inset-inline-start: 0){.searchbar-clear-button.sc-ion-searchbar-ios{inset-inline-end:0}}@supports not (inset-inline-start: 0){.searchbar-clear-button.sc-ion-searchbar-ios{right:0}[dir=rtl].sc-ion-searchbar-ios-h .searchbar-clear-button.sc-ion-searchbar-ios,[dir=rtl] .sc-ion-searchbar-ios-h .searchbar-clear-button.sc-ion-searchbar-ios{left:unset;right:unset;left:0}[dir=rtl].sc-ion-searchbar-ios .searchbar-clear-button.sc-ion-searchbar-ios{left:unset;right:unset;left:0}@supports selector(:dir(rtl)){.searchbar-clear-button.sc-ion-searchbar-ios:dir(rtl){left:unset;right:unset;left:0}}}.searchbar-clear-icon.sc-ion-searchbar-ios{width:18px;height:100%}.searchbar-cancel-button.sc-ion-searchbar-ios{-webkit-padding-start:8px;padding-inline-start:8px;-webkit-padding-end:0;padding-inline-end:0;padding-top:0;padding-bottom:0;-ms-flex-negative:0;flex-shrink:0;background-color:transparent;font-size:16px}.searchbar-left-aligned.sc-ion-searchbar-ios-h .searchbar-search-icon.sc-ion-searchbar-ios{-webkit-margin-start:0;margin-inline-start:0}.searchbar-left-aligned.sc-ion-searchbar-ios-h .searchbar-input.sc-ion-searchbar-ios{-webkit-padding-start:30px;padding-inline-start:30px}.searchbar-has-focus.sc-ion-searchbar-ios-h .searchbar-cancel-button.sc-ion-searchbar-ios,.searchbar-should-show-cancel.sc-ion-searchbar-ios-h .searchbar-cancel-button.sc-ion-searchbar-ios,.searchbar-animated.sc-ion-searchbar-ios-h .searchbar-cancel-button.sc-ion-searchbar-ios{display:block}.searchbar-animated.sc-ion-searchbar-ios-h .searchbar-search-icon.sc-ion-searchbar-ios,.searchbar-animated.sc-ion-searchbar-ios-h .searchbar-input.sc-ion-searchbar-ios{-webkit-transition:all 300ms ease;transition:all 300ms ease}.searchbar-animated.searchbar-has-focus.sc-ion-searchbar-ios-h .searchbar-cancel-button.sc-ion-searchbar-ios,.searchbar-animated.searchbar-should-show-cancel.sc-ion-searchbar-ios-h .searchbar-cancel-button.sc-ion-searchbar-ios{opacity:1;pointer-events:auto}.searchbar-animated.sc-ion-searchbar-ios-h .searchbar-cancel-button.sc-ion-searchbar-ios{-webkit-margin-end:-100%;margin-inline-end:-100%;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);-webkit-transition:all 300ms ease;transition:all 300ms ease;opacity:0;pointer-events:none}.searchbar-no-animate.sc-ion-searchbar-ios-h .searchbar-search-icon.sc-ion-searchbar-ios,.searchbar-no-animate.sc-ion-searchbar-ios-h .searchbar-input.sc-ion-searchbar-ios,.searchbar-no-animate.sc-ion-searchbar-ios-h .searchbar-cancel-button.sc-ion-searchbar-ios{-webkit-transition-duration:0ms;transition-duration:0ms}.ion-color.sc-ion-searchbar-ios-h .searchbar-cancel-button.sc-ion-searchbar-ios{color:var(--ion-color-base)}@media (any-hover: hover){.ion-color.sc-ion-searchbar-ios-h .searchbar-cancel-button.sc-ion-searchbar-ios:hover{color:var(--ion-color-tint)}}ion-toolbar.sc-ion-searchbar-ios-h,ion-toolbar .sc-ion-searchbar-ios-h{padding-top:1px;padding-bottom:15px;height:52px}ion-toolbar.ion-color.sc-ion-searchbar-ios-h:not(.ion-color),ion-toolbar.ion-color .sc-ion-searchbar-ios-h:not(.ion-color){color:inherit}ion-toolbar.ion-color.sc-ion-searchbar-ios-h:not(.ion-color) .searchbar-cancel-button.sc-ion-searchbar-ios,ion-toolbar.ion-color .sc-ion-searchbar-ios-h:not(.ion-color) .searchbar-cancel-button.sc-ion-searchbar-ios{color:currentColor}ion-toolbar.ion-color.sc-ion-searchbar-ios-h .searchbar-search-icon.sc-ion-searchbar-ios,ion-toolbar.ion-color .sc-ion-searchbar-ios-h .searchbar-search-icon.sc-ion-searchbar-ios{color:currentColor;opacity:0.5}ion-toolbar.ion-color.sc-ion-searchbar-ios-h:not(.ion-color) .searchbar-input.sc-ion-searchbar-ios,ion-toolbar.ion-color .sc-ion-searchbar-ios-h:not(.ion-color) .searchbar-input.sc-ion-searchbar-ios{background:rgba(var(--ion-color-contrast-rgb), 0.07);color:currentColor}ion-toolbar.ion-color.sc-ion-searchbar-ios-h:not(.ion-color) .searchbar-clear-button.sc-ion-searchbar-ios,ion-toolbar.ion-color .sc-ion-searchbar-ios-h:not(.ion-color) .searchbar-clear-button.sc-ion-searchbar-ios{color:currentColor;opacity:0.5}";var y=".sc-ion-searchbar-md-h{--placeholder-color:initial;--placeholder-font-style:initial;--placeholder-font-weight:initial;--placeholder-opacity:0.6;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:-ms-flexbox;display:flex;position:relative;-ms-flex-align:center;align-items:center;width:100%;color:var(--color);font-family:var(--ion-font-family, inherit);-webkit-box-sizing:border-box;box-sizing:border-box}.ion-color.sc-ion-searchbar-md-h{color:var(--ion-color-contrast)}.ion-color.sc-ion-searchbar-md-h .searchbar-input.sc-ion-searchbar-md{background:var(--ion-color-base)}.ion-color.sc-ion-searchbar-md-h .searchbar-clear-button.sc-ion-searchbar-md,.ion-color.sc-ion-searchbar-md-h .searchbar-cancel-button.sc-ion-searchbar-md,.ion-color.sc-ion-searchbar-md-h .searchbar-search-icon.sc-ion-searchbar-md{color:inherit}.searchbar-search-icon.sc-ion-searchbar-md{color:var(--icon-color);pointer-events:none}.searchbar-input-container.sc-ion-searchbar-md{display:block;position:relative;-ms-flex-negative:1;flex-shrink:1;width:100%}.searchbar-input.sc-ion-searchbar-md{font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;border-radius:var(--border-radius);display:block;width:100%;border:0;outline:none;background:var(--background);font-family:inherit;-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-appearance:none;-moz-appearance:none;appearance:none}.searchbar-input.sc-ion-searchbar-md::-webkit-input-placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.searchbar-input.sc-ion-searchbar-md::-moz-placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.searchbar-input.sc-ion-searchbar-md:-ms-input-placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.searchbar-input.sc-ion-searchbar-md::-ms-input-placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.searchbar-input.sc-ion-searchbar-md::placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.searchbar-input.sc-ion-searchbar-md::-webkit-search-cancel-button,.searchbar-input.sc-ion-searchbar-md::-ms-clear{display:none}.searchbar-cancel-button.sc-ion-searchbar-md{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;display:none;height:100%;border:0;outline:none;color:var(--cancel-button-color);cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none}.searchbar-cancel-button.sc-ion-searchbar-md>div.sc-ion-searchbar-md{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%}.searchbar-clear-button.sc-ion-searchbar-md{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;display:none;min-height:0;outline:none;color:var(--clear-button-color);-webkit-appearance:none;-moz-appearance:none;appearance:none}.searchbar-clear-button.sc-ion-searchbar-md:focus{opacity:0.5}.searchbar-has-value.searchbar-should-show-clear.sc-ion-searchbar-md-h .searchbar-clear-button.sc-ion-searchbar-md{display:block}.searchbar-disabled.sc-ion-searchbar-md-h{cursor:default;opacity:0.4;pointer-events:none}.sc-ion-searchbar-md-h{--background:var(--ion-background-color, #fff);--border-radius:2px;--box-shadow:0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 1px 5px 0 rgba(0, 0, 0, 0.12);--cancel-button-color:var(--ion-color-step-900, #1a1a1a);--clear-button-color:initial;--color:var(--ion-color-step-850, #262626);--icon-color:var(--ion-color-step-600, #666666);-webkit-padding-start:8px;padding-inline-start:8px;-webkit-padding-end:8px;padding-inline-end:8px;padding-top:8px;padding-bottom:8px;background:inherit}.searchbar-search-icon.sc-ion-searchbar-md{top:11px;width:21px;height:21px}@supports (inset-inline-start: 0){.searchbar-search-icon.sc-ion-searchbar-md{inset-inline-start:16px}}@supports not (inset-inline-start: 0){.searchbar-search-icon.sc-ion-searchbar-md{left:16px}[dir=rtl].sc-ion-searchbar-md-h .searchbar-search-icon.sc-ion-searchbar-md,[dir=rtl] .sc-ion-searchbar-md-h .searchbar-search-icon.sc-ion-searchbar-md{left:unset;right:unset;right:16px}[dir=rtl].sc-ion-searchbar-md .searchbar-search-icon.sc-ion-searchbar-md{left:unset;right:unset;right:16px}@supports selector(:dir(rtl)){.searchbar-search-icon.sc-ion-searchbar-md:dir(rtl){left:unset;right:unset;right:16px}}}.searchbar-cancel-button.sc-ion-searchbar-md{top:0;background-color:transparent;font-size:1.6em}@supports (inset-inline-start: 0){.searchbar-cancel-button.sc-ion-searchbar-md{inset-inline-start:5px}}@supports not (inset-inline-start: 0){.searchbar-cancel-button.sc-ion-searchbar-md{left:5px}[dir=rtl].sc-ion-searchbar-md-h .searchbar-cancel-button.sc-ion-searchbar-md,[dir=rtl] .sc-ion-searchbar-md-h .searchbar-cancel-button.sc-ion-searchbar-md{left:unset;right:unset;right:5px}[dir=rtl].sc-ion-searchbar-md .searchbar-cancel-button.sc-ion-searchbar-md{left:unset;right:unset;right:5px}@supports selector(:dir(rtl)){.searchbar-cancel-button.sc-ion-searchbar-md:dir(rtl){left:unset;right:unset;right:5px}}}.searchbar-search-icon.sc-ion-searchbar-md,.searchbar-cancel-button.sc-ion-searchbar-md{position:absolute}.searchbar-search-icon.ion-activated.sc-ion-searchbar-md,.searchbar-cancel-button.ion-activated.sc-ion-searchbar-md{background-color:transparent}.searchbar-input.sc-ion-searchbar-md{-webkit-padding-start:55px;padding-inline-start:55px;-webkit-padding-end:55px;padding-inline-end:55px;padding-top:6px;padding-bottom:6px;background-position:left 8px center;height:auto;font-size:16px;font-weight:400;line-height:30px}[dir=rtl].sc-ion-searchbar-md-h .searchbar-input.sc-ion-searchbar-md,[dir=rtl] .sc-ion-searchbar-md-h .searchbar-input.sc-ion-searchbar-md{background-position:right 8px center}[dir=rtl].sc-ion-searchbar-md .searchbar-input.sc-ion-searchbar-md{background-position:right 8px center}@supports selector(:dir(rtl)){.searchbar-input.sc-ion-searchbar-md:dir(rtl){background-position:right 8px center}}.searchbar-clear-button.sc-ion-searchbar-md{top:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;position:absolute;height:100%;border:0;background-color:transparent}@supports (inset-inline-start: 0){.searchbar-clear-button.sc-ion-searchbar-md{inset-inline-end:13px}}@supports not (inset-inline-start: 0){.searchbar-clear-button.sc-ion-searchbar-md{right:13px}[dir=rtl].sc-ion-searchbar-md-h .searchbar-clear-button.sc-ion-searchbar-md,[dir=rtl] .sc-ion-searchbar-md-h .searchbar-clear-button.sc-ion-searchbar-md{left:unset;right:unset;left:13px}[dir=rtl].sc-ion-searchbar-md .searchbar-clear-button.sc-ion-searchbar-md{left:unset;right:unset;left:13px}@supports selector(:dir(rtl)){.searchbar-clear-button.sc-ion-searchbar-md:dir(rtl){left:unset;right:unset;left:13px}}}.searchbar-clear-button.ion-activated.sc-ion-searchbar-md{background-color:transparent}.searchbar-clear-icon.sc-ion-searchbar-md{width:22px;height:100%}.searchbar-has-focus.sc-ion-searchbar-md-h .searchbar-search-icon.sc-ion-searchbar-md{display:block}.searchbar-has-focus.sc-ion-searchbar-md-h .searchbar-cancel-button.sc-ion-searchbar-md,.searchbar-should-show-cancel.sc-ion-searchbar-md-h .searchbar-cancel-button.sc-ion-searchbar-md{display:block}.searchbar-has-focus.sc-ion-searchbar-md-h .searchbar-cancel-button.sc-ion-searchbar-md+.searchbar-search-icon.sc-ion-searchbar-md,.searchbar-should-show-cancel.sc-ion-searchbar-md-h .searchbar-cancel-button.sc-ion-searchbar-md+.searchbar-search-icon.sc-ion-searchbar-md{display:none}ion-toolbar.sc-ion-searchbar-md-h,ion-toolbar .sc-ion-searchbar-md-h{-webkit-padding-start:7px;padding-inline-start:7px;-webkit-padding-end:7px;padding-inline-end:7px;padding-top:3px;padding-bottom:3px}";var x=r("ion_searchbar",function(){function r(r){var o=this;e(this,r);this.ionInput=a(this,"ionInput",7);this.ionChange=a(this,"ionChange",7);this.ionCancel=a(this,"ionCancel",7);this.ionClear=a(this,"ionClear",7);this.ionBlur=a(this,"ionBlur",7);this.ionFocus=a(this,"ionFocus",7);this.ionStyle=a(this,"ionStyle",7);this.isCancelVisible=false;this.shouldAlignLeft=true;this.inputId="ion-searchbar-".concat(w++);this.onClearInput=function(r){return __awaiter(o,void 0,void 0,(function(){var e=this;return __generator(this,(function(a){this.ionClear.emit();return[2,new Promise((function(a){setTimeout((function(){var o=e.getValue();if(o!==""){e.value="";e.emitInputChange();if(r&&!e.focused){e.setFocus();e.focusedValue=o}}a()}),16*4)}))]}))}))};this.onCancelSearchbar=function(r){return __awaiter(o,void 0,void 0,(function(){var e,a;return __generator(this,(function(o){switch(o.label){case 0:if(r){r.preventDefault();r.stopPropagation()}this.ionCancel.emit();e=this.getValue();a=this.focused;return[4,this.onClearInput()];case 1:o.sent();if(e&&!a){this.emitValueChange(r)}if(this.nativeInput){this.nativeInput.blur()}return[2]}}))}))};this.onInput=function(r){var e=r.target;if(e){o.value=e.value}o.emitInputChange(r)};this.onChange=function(r){o.emitValueChange(r)};this.onBlur=function(r){o.focused=false;o.ionBlur.emit();o.positionElements();if(o.focusedValue!==o.value){o.emitValueChange(r)}o.focusedValue=undefined};this.onFocus=function(){o.focused=true;o.focusedValue=o.value;o.ionFocus.emit();o.positionElements()};this.focused=false;this.noAnimate=true;this.color=undefined;this.animated=false;this.autocomplete="off";this.autocorrect="off";this.cancelButtonIcon=g.get("backButtonIcon",b);this.cancelButtonText="Cancel";this.clearIcon=undefined;this.debounce=undefined;this.disabled=false;this.inputmode=undefined;this.enterkeyhint=undefined;this.name=this.inputId;this.placeholder="Search";this.searchIcon=undefined;this.showCancelButton="never";this.showClearButton="always";this.spellcheck=false;this.type="search";this.value=""}r.prototype.debounceChanged=function(){var r=this,e=r.ionInput,a=r.debounce,o=r.originalIonInput;this.ionInput=a===undefined?o!==null&&o!==void 0?o:e:s(e,a)};r.prototype.valueChanged=function(){var r=this.nativeInput;var e=this.getValue();if(r&&r.value!==e){r.value=e}};r.prototype.showCancelButtonChanged=function(){var r=this;requestAnimationFrame((function(){r.positionElements();o(r)}))};r.prototype.connectedCallback=function(){this.emitStyle()};r.prototype.componentDidLoad=function(){var r=this;this.originalIonInput=this.ionInput;this.positionElements();this.debounceChanged();setTimeout((function(){r.noAnimate=false}),300)};r.prototype.emitStyle=function(){this.ionStyle.emit({searchbar:true})};r.prototype.setFocus=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(r){if(this.nativeInput){this.nativeInput.focus()}return[2]}))}))};r.prototype.getInputElement=function(){return Promise.resolve(this.nativeInput)};r.prototype.emitValueChange=function(r){var e=this.value;var a=e==null?e:e.toString();this.focusedValue=a;this.ionChange.emit({value:a,event:r})};r.prototype.emitInputChange=function(r){var e=this.value;this.ionInput.emit({value:e,event:r})};r.prototype.positionElements=function(){var r=this.getValue();var e=this.shouldAlignLeft;var a=m(this);var o=!this.animated||r.trim()!==""||!!this.focused;this.shouldAlignLeft=o;if(a!=="ios"){return}if(e!==o){this.positionPlaceholder()}if(this.animated){this.positionCancelButton()}};r.prototype.positionPlaceholder=function(){var r=this.nativeInput;if(!r){return}var e=h(this.el);var a=(this.el.shadowRoot||this.el).querySelector(".searchbar-search-icon");if(this.shouldAlignLeft){r.removeAttribute("style");a.removeAttribute("style")}else{var o=document;var t=o.createElement("span");t.innerText=this.placeholder||"";o.body.appendChild(t);c((function(){var o=t.offsetWidth;t.remove();var n="calc(50% - "+o/2+"px)";var i="calc(50% - "+(o/2+30)+"px)";if(e){r.style.paddingRight=n;a.style.marginRight=i}else{r.style.paddingLeft=n;a.style.marginLeft=i}}))}};r.prototype.positionCancelButton=function(){var r=h(this.el);var e=(this.el.shadowRoot||this.el).querySelector(".searchbar-cancel-button");var a=this.shouldShowCancelButton();if(e!==null&&a!==this.isCancelVisible){var o=e.style;this.isCancelVisible=a;if(a){if(r){o.marginLeft="0"}else{o.marginRight="0"}}else{var t=e.offsetWidth;if(t>0){if(r){o.marginLeft=-t+"px"}else{o.marginRight=-t+"px"}}}}};r.prototype.getValue=function(){return this.value||""};r.prototype.hasValue=function(){return this.getValue()!==""};r.prototype.shouldShowCancelButton=function(){if(this.showCancelButton==="never"||this.showCancelButton==="focus"&&!this.focused){return false}return true};r.prototype.shouldShowClearButton=function(){if(this.showClearButton==="never"||this.showClearButton==="focus"&&!this.focused){return false}return true};r.prototype.render=function(){var r;var e=this;var a=this.cancelButtonText;var o=this.animated&&g.getBoolean("animated",true);var i=m(this);var s=this.clearIcon||(i==="ios"?d:p);var c=this.searchIcon||(i==="ios"?u:f);var h=this.shouldShowCancelButton();var b=this.showCancelButton!=="never"&&t("button",{"aria-label":a,"aria-hidden":h?undefined:"true",type:"button",tabIndex:i==="ios"&&!h?-1:undefined,onMouseDown:this.onCancelSearchbar,onTouchStart:this.onCancelSearchbar,class:"searchbar-cancel-button"},t("div",{"aria-hidden":"true"},i==="md"?t("ion-icon",{"aria-hidden":"true",mode:i,icon:this.cancelButtonIcon,lazy:false}):a));return t(n,{role:"search","aria-disabled":this.disabled?"true":null,class:l(this.color,(r={},r[i]=true,r["searchbar-animated"]=o,r["searchbar-disabled"]=this.disabled,r["searchbar-no-animate"]=o&&this.noAnimate,r["searchbar-has-value"]=this.hasValue(),r["searchbar-left-aligned"]=this.shouldAlignLeft,r["searchbar-has-focus"]=this.focused,r["searchbar-should-show-clear"]=this.shouldShowClearButton(),r["searchbar-should-show-cancel"]=this.shouldShowCancelButton(),r))},t("div",{class:"searchbar-input-container"},t("input",{"aria-label":"search text",disabled:this.disabled,ref:function(r){return e.nativeInput=r},class:"searchbar-input",inputMode:this.inputmode,enterKeyHint:this.enterkeyhint,name:this.name,onInput:this.onInput,onChange:this.onChange,onBlur:this.onBlur,onFocus:this.onFocus,placeholder:this.placeholder,type:this.type,value:this.getValue(),autoComplete:this.autocomplete,autoCorrect:this.autocorrect,spellcheck:this.spellcheck}),i==="md"&&b,t("ion-icon",{"aria-hidden":"true",mode:i,icon:c,lazy:false,class:"searchbar-search-icon"}),t("button",{"aria-label":"reset",type:"button","no-blur":true,class:"searchbar-clear-button",onPointerDown:function(r){r.preventDefault()},onClick:function(){return e.onClearInput(true)}},t("ion-icon",{"aria-hidden":"true",mode:i,icon:s,lazy:false,class:"searchbar-clear-icon"}))),i==="ios"&&b)};Object.defineProperty(r.prototype,"el",{get:function(){return i(this)},enumerable:false,configurable:true});Object.defineProperty(r,"watchers",{get:function(){return{debounce:["debounceChanged"],value:["valueChanged"],showCancelButton:["showCancelButtonChanged"]}},enumerable:false,configurable:true});return r}());var w=0;x.style={ios:v,md:y}}}}));
4
+ */System.register(["./p-07f42dec.system.js","./p-815c2fba.system.js","./p-819ff3b9.system.js","./p-44bc8b45.system.js","./p-8985b268.system.js","./p-9be7fdf8.system.js"],(function(r){"use strict";var e,a,o,t,n,i,s,c,h,l,b,d,p,u,f,g,m;return{setters:[function(r){e=r.r;a=r.d;o=r.i;t=r.h;n=r.H;i=r.f},function(r){s=r.j;c=r.r},function(r){h=r.i},function(r){l=r.c},function(r){b=r.a;d=r.b;p=r.d;u=r.s;f=r.e},function(r){g=r.c;m=r.b}],execute:function(){var v=".sc-ion-searchbar-ios-h{--placeholder-color:initial;--placeholder-font-style:initial;--placeholder-font-weight:initial;--placeholder-opacity:0.6;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:-ms-flexbox;display:flex;position:relative;-ms-flex-align:center;align-items:center;width:100%;color:var(--color);font-family:var(--ion-font-family, inherit);-webkit-box-sizing:border-box;box-sizing:border-box}.ion-color.sc-ion-searchbar-ios-h{color:var(--ion-color-contrast)}.ion-color.sc-ion-searchbar-ios-h .searchbar-input.sc-ion-searchbar-ios{background:var(--ion-color-base)}.ion-color.sc-ion-searchbar-ios-h .searchbar-clear-button.sc-ion-searchbar-ios,.ion-color.sc-ion-searchbar-ios-h .searchbar-cancel-button.sc-ion-searchbar-ios,.ion-color.sc-ion-searchbar-ios-h .searchbar-search-icon.sc-ion-searchbar-ios{color:inherit}.searchbar-search-icon.sc-ion-searchbar-ios{color:var(--icon-color);pointer-events:none}.searchbar-input-container.sc-ion-searchbar-ios{display:block;position:relative;-ms-flex-negative:1;flex-shrink:1;width:100%}.searchbar-input.sc-ion-searchbar-ios{font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;border-radius:var(--border-radius);display:block;width:100%;border:0;outline:none;background:var(--background);font-family:inherit;-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-appearance:none;-moz-appearance:none;appearance:none}.searchbar-input.sc-ion-searchbar-ios::-webkit-input-placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.searchbar-input.sc-ion-searchbar-ios::-moz-placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.searchbar-input.sc-ion-searchbar-ios:-ms-input-placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.searchbar-input.sc-ion-searchbar-ios::-ms-input-placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.searchbar-input.sc-ion-searchbar-ios::placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.searchbar-input.sc-ion-searchbar-ios::-webkit-search-cancel-button,.searchbar-input.sc-ion-searchbar-ios::-ms-clear{display:none}.searchbar-cancel-button.sc-ion-searchbar-ios{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;display:none;height:100%;border:0;outline:none;color:var(--cancel-button-color);cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none}.searchbar-cancel-button.sc-ion-searchbar-ios>div.sc-ion-searchbar-ios{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%}.searchbar-clear-button.sc-ion-searchbar-ios{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;display:none;min-height:0;outline:none;color:var(--clear-button-color);-webkit-appearance:none;-moz-appearance:none;appearance:none}.searchbar-clear-button.sc-ion-searchbar-ios:focus{opacity:0.5}.searchbar-has-value.searchbar-should-show-clear.sc-ion-searchbar-ios-h .searchbar-clear-button.sc-ion-searchbar-ios{display:block}.searchbar-disabled.sc-ion-searchbar-ios-h{cursor:default;opacity:0.4;pointer-events:none}.sc-ion-searchbar-ios-h{--background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.07);--border-radius:10px;--box-shadow:none;--cancel-button-color:var(--ion-color-primary, #3880ff);--clear-button-color:var(--ion-color-step-600, #666666);--color:var(--ion-text-color, #000);--icon-color:var(--ion-color-step-600, #666666);-webkit-padding-start:12px;padding-inline-start:12px;-webkit-padding-end:12px;padding-inline-end:12px;padding-top:12px;padding-bottom:12px;height:60px;contain:strict}.searchbar-input-container.sc-ion-searchbar-ios{height:36px}.searchbar-search-icon.sc-ion-searchbar-ios{-webkit-margin-start:calc(50% - 60px);margin-inline-start:calc(50% - 60px);top:0;position:absolute;width:22px;height:100%;contain:strict}@supports (inset-inline-start: 0){.searchbar-search-icon.sc-ion-searchbar-ios{inset-inline-start:5px}}@supports not (inset-inline-start: 0){.searchbar-search-icon.sc-ion-searchbar-ios{left:5px}[dir=rtl].sc-ion-searchbar-ios-h .searchbar-search-icon.sc-ion-searchbar-ios,[dir=rtl] .sc-ion-searchbar-ios-h .searchbar-search-icon.sc-ion-searchbar-ios{left:unset;right:unset;right:5px}[dir=rtl].sc-ion-searchbar-ios .searchbar-search-icon.sc-ion-searchbar-ios{left:unset;right:unset;right:5px}@supports selector(:dir(rtl)){.searchbar-search-icon.sc-ion-searchbar-ios:dir(rtl){left:unset;right:unset;right:5px}}}.searchbar-input.sc-ion-searchbar-ios{-webkit-padding-start:28px;padding-inline-start:28px;-webkit-padding-end:28px;padding-inline-end:28px;padding-top:0;padding-bottom:0;height:100%;font-size:17px;font-weight:400;contain:strict}.searchbar-clear-button.sc-ion-searchbar-ios{top:0;background-position:center;position:absolute;width:30px;height:100%;border:0;background-color:transparent}@supports (inset-inline-start: 0){.searchbar-clear-button.sc-ion-searchbar-ios{inset-inline-end:0}}@supports not (inset-inline-start: 0){.searchbar-clear-button.sc-ion-searchbar-ios{right:0}[dir=rtl].sc-ion-searchbar-ios-h .searchbar-clear-button.sc-ion-searchbar-ios,[dir=rtl] .sc-ion-searchbar-ios-h .searchbar-clear-button.sc-ion-searchbar-ios{left:unset;right:unset;left:0}[dir=rtl].sc-ion-searchbar-ios .searchbar-clear-button.sc-ion-searchbar-ios{left:unset;right:unset;left:0}@supports selector(:dir(rtl)){.searchbar-clear-button.sc-ion-searchbar-ios:dir(rtl){left:unset;right:unset;left:0}}}.searchbar-clear-icon.sc-ion-searchbar-ios{width:18px;height:100%}.searchbar-cancel-button.sc-ion-searchbar-ios{-webkit-padding-start:8px;padding-inline-start:8px;-webkit-padding-end:0;padding-inline-end:0;padding-top:0;padding-bottom:0;-ms-flex-negative:0;flex-shrink:0;background-color:transparent;font-size:16px}.searchbar-left-aligned.sc-ion-searchbar-ios-h .searchbar-search-icon.sc-ion-searchbar-ios{-webkit-margin-start:0;margin-inline-start:0}.searchbar-left-aligned.sc-ion-searchbar-ios-h .searchbar-input.sc-ion-searchbar-ios{-webkit-padding-start:30px;padding-inline-start:30px}.searchbar-has-focus.sc-ion-searchbar-ios-h .searchbar-cancel-button.sc-ion-searchbar-ios,.searchbar-should-show-cancel.sc-ion-searchbar-ios-h .searchbar-cancel-button.sc-ion-searchbar-ios,.searchbar-animated.sc-ion-searchbar-ios-h .searchbar-cancel-button.sc-ion-searchbar-ios{display:block}.searchbar-animated.sc-ion-searchbar-ios-h .searchbar-search-icon.sc-ion-searchbar-ios,.searchbar-animated.sc-ion-searchbar-ios-h .searchbar-input.sc-ion-searchbar-ios{-webkit-transition:all 300ms ease;transition:all 300ms ease}.searchbar-animated.searchbar-has-focus.sc-ion-searchbar-ios-h .searchbar-cancel-button.sc-ion-searchbar-ios,.searchbar-animated.searchbar-should-show-cancel.sc-ion-searchbar-ios-h .searchbar-cancel-button.sc-ion-searchbar-ios{opacity:1;pointer-events:auto}.searchbar-animated.sc-ion-searchbar-ios-h .searchbar-cancel-button.sc-ion-searchbar-ios{-webkit-margin-end:-100%;margin-inline-end:-100%;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);-webkit-transition:all 300ms ease;transition:all 300ms ease;opacity:0;pointer-events:none}.searchbar-no-animate.sc-ion-searchbar-ios-h .searchbar-search-icon.sc-ion-searchbar-ios,.searchbar-no-animate.sc-ion-searchbar-ios-h .searchbar-input.sc-ion-searchbar-ios,.searchbar-no-animate.sc-ion-searchbar-ios-h .searchbar-cancel-button.sc-ion-searchbar-ios{-webkit-transition-duration:0ms;transition-duration:0ms}.ion-color.sc-ion-searchbar-ios-h .searchbar-cancel-button.sc-ion-searchbar-ios{color:var(--ion-color-base)}@media (any-hover: hover){.ion-color.sc-ion-searchbar-ios-h .searchbar-cancel-button.sc-ion-searchbar-ios:hover{color:var(--ion-color-tint)}}ion-toolbar.sc-ion-searchbar-ios-h,ion-toolbar .sc-ion-searchbar-ios-h{padding-top:1px;padding-bottom:15px;height:52px}ion-toolbar.ion-color.sc-ion-searchbar-ios-h:not(.ion-color),ion-toolbar.ion-color .sc-ion-searchbar-ios-h:not(.ion-color){color:inherit}ion-toolbar.ion-color.sc-ion-searchbar-ios-h:not(.ion-color) .searchbar-cancel-button.sc-ion-searchbar-ios,ion-toolbar.ion-color .sc-ion-searchbar-ios-h:not(.ion-color) .searchbar-cancel-button.sc-ion-searchbar-ios{color:currentColor}ion-toolbar.ion-color.sc-ion-searchbar-ios-h .searchbar-search-icon.sc-ion-searchbar-ios,ion-toolbar.ion-color .sc-ion-searchbar-ios-h .searchbar-search-icon.sc-ion-searchbar-ios{color:currentColor;opacity:0.5}ion-toolbar.ion-color.sc-ion-searchbar-ios-h:not(.ion-color) .searchbar-input.sc-ion-searchbar-ios,ion-toolbar.ion-color .sc-ion-searchbar-ios-h:not(.ion-color) .searchbar-input.sc-ion-searchbar-ios{background:rgba(var(--ion-color-contrast-rgb), 0.07);color:currentColor}ion-toolbar.ion-color.sc-ion-searchbar-ios-h:not(.ion-color) .searchbar-clear-button.sc-ion-searchbar-ios,ion-toolbar.ion-color .sc-ion-searchbar-ios-h:not(.ion-color) .searchbar-clear-button.sc-ion-searchbar-ios{color:currentColor;opacity:0.5}";var y=".sc-ion-searchbar-md-h{--placeholder-color:initial;--placeholder-font-style:initial;--placeholder-font-weight:initial;--placeholder-opacity:0.6;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:-ms-flexbox;display:flex;position:relative;-ms-flex-align:center;align-items:center;width:100%;color:var(--color);font-family:var(--ion-font-family, inherit);-webkit-box-sizing:border-box;box-sizing:border-box}.ion-color.sc-ion-searchbar-md-h{color:var(--ion-color-contrast)}.ion-color.sc-ion-searchbar-md-h .searchbar-input.sc-ion-searchbar-md{background:var(--ion-color-base)}.ion-color.sc-ion-searchbar-md-h .searchbar-clear-button.sc-ion-searchbar-md,.ion-color.sc-ion-searchbar-md-h .searchbar-cancel-button.sc-ion-searchbar-md,.ion-color.sc-ion-searchbar-md-h .searchbar-search-icon.sc-ion-searchbar-md{color:inherit}.searchbar-search-icon.sc-ion-searchbar-md{color:var(--icon-color);pointer-events:none}.searchbar-input-container.sc-ion-searchbar-md{display:block;position:relative;-ms-flex-negative:1;flex-shrink:1;width:100%}.searchbar-input.sc-ion-searchbar-md{font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;border-radius:var(--border-radius);display:block;width:100%;border:0;outline:none;background:var(--background);font-family:inherit;-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-appearance:none;-moz-appearance:none;appearance:none}.searchbar-input.sc-ion-searchbar-md::-webkit-input-placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.searchbar-input.sc-ion-searchbar-md::-moz-placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.searchbar-input.sc-ion-searchbar-md:-ms-input-placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.searchbar-input.sc-ion-searchbar-md::-ms-input-placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.searchbar-input.sc-ion-searchbar-md::placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.searchbar-input.sc-ion-searchbar-md::-webkit-search-cancel-button,.searchbar-input.sc-ion-searchbar-md::-ms-clear{display:none}.searchbar-cancel-button.sc-ion-searchbar-md{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;display:none;height:100%;border:0;outline:none;color:var(--cancel-button-color);cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none}.searchbar-cancel-button.sc-ion-searchbar-md>div.sc-ion-searchbar-md{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%}.searchbar-clear-button.sc-ion-searchbar-md{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;display:none;min-height:0;outline:none;color:var(--clear-button-color);-webkit-appearance:none;-moz-appearance:none;appearance:none}.searchbar-clear-button.sc-ion-searchbar-md:focus{opacity:0.5}.searchbar-has-value.searchbar-should-show-clear.sc-ion-searchbar-md-h .searchbar-clear-button.sc-ion-searchbar-md{display:block}.searchbar-disabled.sc-ion-searchbar-md-h{cursor:default;opacity:0.4;pointer-events:none}.sc-ion-searchbar-md-h{--background:var(--ion-background-color, #fff);--border-radius:2px;--box-shadow:0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 1px 5px 0 rgba(0, 0, 0, 0.12);--cancel-button-color:var(--ion-color-step-900, #1a1a1a);--clear-button-color:initial;--color:var(--ion-color-step-850, #262626);--icon-color:var(--ion-color-step-600, #666666);-webkit-padding-start:8px;padding-inline-start:8px;-webkit-padding-end:8px;padding-inline-end:8px;padding-top:8px;padding-bottom:8px;background:inherit}.searchbar-search-icon.sc-ion-searchbar-md{top:11px;width:21px;height:21px}@supports (inset-inline-start: 0){.searchbar-search-icon.sc-ion-searchbar-md{inset-inline-start:16px}}@supports not (inset-inline-start: 0){.searchbar-search-icon.sc-ion-searchbar-md{left:16px}[dir=rtl].sc-ion-searchbar-md-h .searchbar-search-icon.sc-ion-searchbar-md,[dir=rtl] .sc-ion-searchbar-md-h .searchbar-search-icon.sc-ion-searchbar-md{left:unset;right:unset;right:16px}[dir=rtl].sc-ion-searchbar-md .searchbar-search-icon.sc-ion-searchbar-md{left:unset;right:unset;right:16px}@supports selector(:dir(rtl)){.searchbar-search-icon.sc-ion-searchbar-md:dir(rtl){left:unset;right:unset;right:16px}}}.searchbar-cancel-button.sc-ion-searchbar-md{top:0;background-color:transparent;font-size:1.6em}@supports (inset-inline-start: 0){.searchbar-cancel-button.sc-ion-searchbar-md{inset-inline-start:5px}}@supports not (inset-inline-start: 0){.searchbar-cancel-button.sc-ion-searchbar-md{left:5px}[dir=rtl].sc-ion-searchbar-md-h .searchbar-cancel-button.sc-ion-searchbar-md,[dir=rtl] .sc-ion-searchbar-md-h .searchbar-cancel-button.sc-ion-searchbar-md{left:unset;right:unset;right:5px}[dir=rtl].sc-ion-searchbar-md .searchbar-cancel-button.sc-ion-searchbar-md{left:unset;right:unset;right:5px}@supports selector(:dir(rtl)){.searchbar-cancel-button.sc-ion-searchbar-md:dir(rtl){left:unset;right:unset;right:5px}}}.searchbar-search-icon.sc-ion-searchbar-md,.searchbar-cancel-button.sc-ion-searchbar-md{position:absolute}.searchbar-search-icon.ion-activated.sc-ion-searchbar-md,.searchbar-cancel-button.ion-activated.sc-ion-searchbar-md{background-color:transparent}.searchbar-input.sc-ion-searchbar-md{-webkit-padding-start:55px;padding-inline-start:55px;-webkit-padding-end:55px;padding-inline-end:55px;padding-top:6px;padding-bottom:6px;background-position:left 8px center;height:auto;font-size:16px;font-weight:400;line-height:30px}[dir=rtl].sc-ion-searchbar-md-h .searchbar-input.sc-ion-searchbar-md,[dir=rtl] .sc-ion-searchbar-md-h .searchbar-input.sc-ion-searchbar-md{background-position:right 8px center}[dir=rtl].sc-ion-searchbar-md .searchbar-input.sc-ion-searchbar-md{background-position:right 8px center}@supports selector(:dir(rtl)){.searchbar-input.sc-ion-searchbar-md:dir(rtl){background-position:right 8px center}}.searchbar-clear-button.sc-ion-searchbar-md{top:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;position:absolute;height:100%;border:0;background-color:transparent}@supports (inset-inline-start: 0){.searchbar-clear-button.sc-ion-searchbar-md{inset-inline-end:13px}}@supports not (inset-inline-start: 0){.searchbar-clear-button.sc-ion-searchbar-md{right:13px}[dir=rtl].sc-ion-searchbar-md-h .searchbar-clear-button.sc-ion-searchbar-md,[dir=rtl] .sc-ion-searchbar-md-h .searchbar-clear-button.sc-ion-searchbar-md{left:unset;right:unset;left:13px}[dir=rtl].sc-ion-searchbar-md .searchbar-clear-button.sc-ion-searchbar-md{left:unset;right:unset;left:13px}@supports selector(:dir(rtl)){.searchbar-clear-button.sc-ion-searchbar-md:dir(rtl){left:unset;right:unset;left:13px}}}.searchbar-clear-button.ion-activated.sc-ion-searchbar-md{background-color:transparent}.searchbar-clear-icon.sc-ion-searchbar-md{width:22px;height:100%}.searchbar-has-focus.sc-ion-searchbar-md-h .searchbar-search-icon.sc-ion-searchbar-md{display:block}.searchbar-has-focus.sc-ion-searchbar-md-h .searchbar-cancel-button.sc-ion-searchbar-md,.searchbar-should-show-cancel.sc-ion-searchbar-md-h .searchbar-cancel-button.sc-ion-searchbar-md{display:block}.searchbar-has-focus.sc-ion-searchbar-md-h .searchbar-cancel-button.sc-ion-searchbar-md+.searchbar-search-icon.sc-ion-searchbar-md,.searchbar-should-show-cancel.sc-ion-searchbar-md-h .searchbar-cancel-button.sc-ion-searchbar-md+.searchbar-search-icon.sc-ion-searchbar-md{display:none}ion-toolbar.sc-ion-searchbar-md-h,ion-toolbar .sc-ion-searchbar-md-h{-webkit-padding-start:7px;padding-inline-start:7px;-webkit-padding-end:7px;padding-inline-end:7px;padding-top:3px;padding-bottom:3px}";var x=r("ion_searchbar",function(){function r(r){var o=this;e(this,r);this.ionInput=a(this,"ionInput",7);this.ionChange=a(this,"ionChange",7);this.ionCancel=a(this,"ionCancel",7);this.ionClear=a(this,"ionClear",7);this.ionBlur=a(this,"ionBlur",7);this.ionFocus=a(this,"ionFocus",7);this.ionStyle=a(this,"ionStyle",7);this.isCancelVisible=false;this.shouldAlignLeft=true;this.inputId="ion-searchbar-".concat(w++);this.onClearInput=function(r){return __awaiter(o,void 0,void 0,(function(){var e=this;return __generator(this,(function(a){this.ionClear.emit();return[2,new Promise((function(a){setTimeout((function(){var o=e.getValue();if(o!==""){e.value="";e.emitInputChange();if(r&&!e.focused){e.setFocus();e.focusedValue=o}}a()}),16*4)}))]}))}))};this.onCancelSearchbar=function(r){return __awaiter(o,void 0,void 0,(function(){var e,a;return __generator(this,(function(o){switch(o.label){case 0:if(r){r.preventDefault();r.stopPropagation()}this.ionCancel.emit();e=this.getValue();a=this.focused;return[4,this.onClearInput()];case 1:o.sent();if(e&&!a){this.emitValueChange(r)}if(this.nativeInput){this.nativeInput.blur()}return[2]}}))}))};this.onInput=function(r){var e=r.target;if(e){o.value=e.value}o.emitInputChange(r)};this.onChange=function(r){o.emitValueChange(r)};this.onBlur=function(r){o.focused=false;o.ionBlur.emit();o.positionElements();if(o.focusedValue!==o.value){o.emitValueChange(r)}o.focusedValue=undefined};this.onFocus=function(){o.focused=true;o.focusedValue=o.value;o.ionFocus.emit();o.positionElements()};this.focused=false;this.noAnimate=true;this.color=undefined;this.animated=false;this.autocomplete="off";this.autocorrect="off";this.cancelButtonIcon=g.get("backButtonIcon",b);this.cancelButtonText="Cancel";this.clearIcon=undefined;this.debounce=undefined;this.disabled=false;this.inputmode=undefined;this.enterkeyhint=undefined;this.name=this.inputId;this.placeholder="Search";this.searchIcon=undefined;this.showCancelButton="never";this.showClearButton="always";this.spellcheck=false;this.type="search";this.value=""}r.prototype.debounceChanged=function(){var r=this,e=r.ionInput,a=r.debounce,o=r.originalIonInput;this.ionInput=a===undefined?o!==null&&o!==void 0?o:e:s(e,a)};r.prototype.valueChanged=function(){var r=this.nativeInput;var e=this.getValue();if(r&&r.value!==e){r.value=e}};r.prototype.showCancelButtonChanged=function(){var r=this;requestAnimationFrame((function(){r.positionElements();o(r)}))};r.prototype.connectedCallback=function(){this.emitStyle()};r.prototype.componentDidLoad=function(){var r=this;this.originalIonInput=this.ionInput;this.positionElements();this.debounceChanged();setTimeout((function(){r.noAnimate=false}),300)};r.prototype.emitStyle=function(){this.ionStyle.emit({searchbar:true})};r.prototype.setFocus=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(r){if(this.nativeInput){this.nativeInput.focus()}return[2]}))}))};r.prototype.getInputElement=function(){return Promise.resolve(this.nativeInput)};r.prototype.emitValueChange=function(r){var e=this.value;var a=e==null?e:e.toString();this.focusedValue=a;this.ionChange.emit({value:a,event:r})};r.prototype.emitInputChange=function(r){var e=this.value;this.ionInput.emit({value:e,event:r})};r.prototype.positionElements=function(){var r=this.getValue();var e=this.shouldAlignLeft;var a=m(this);var o=!this.animated||r.trim()!==""||!!this.focused;this.shouldAlignLeft=o;if(a!=="ios"){return}if(e!==o){this.positionPlaceholder()}if(this.animated){this.positionCancelButton()}};r.prototype.positionPlaceholder=function(){var r=this.nativeInput;if(!r){return}var e=h(this.el);var a=(this.el.shadowRoot||this.el).querySelector(".searchbar-search-icon");if(this.shouldAlignLeft){r.removeAttribute("style");a.removeAttribute("style")}else{var o=document;var t=o.createElement("span");t.innerText=this.placeholder||"";o.body.appendChild(t);c((function(){var o=t.offsetWidth;t.remove();var n="calc(50% - "+o/2+"px)";var i="calc(50% - "+(o/2+30)+"px)";if(e){r.style.paddingRight=n;a.style.marginRight=i}else{r.style.paddingLeft=n;a.style.marginLeft=i}}))}};r.prototype.positionCancelButton=function(){var r=h(this.el);var e=(this.el.shadowRoot||this.el).querySelector(".searchbar-cancel-button");var a=this.shouldShowCancelButton();if(e!==null&&a!==this.isCancelVisible){var o=e.style;this.isCancelVisible=a;if(a){if(r){o.marginLeft="0"}else{o.marginRight="0"}}else{var t=e.offsetWidth;if(t>0){if(r){o.marginLeft=-t+"px"}else{o.marginRight=-t+"px"}}}}};r.prototype.getValue=function(){return this.value||""};r.prototype.hasValue=function(){return this.getValue()!==""};r.prototype.shouldShowCancelButton=function(){if(this.showCancelButton==="never"||this.showCancelButton==="focus"&&!this.focused){return false}return true};r.prototype.shouldShowClearButton=function(){if(this.showClearButton==="never"||this.showClearButton==="focus"&&!this.focused){return false}return true};r.prototype.render=function(){var r;var e=this;var a=this.cancelButtonText;var o=this.animated&&g.getBoolean("animated",true);var i=m(this);var s=this.clearIcon||(i==="ios"?d:p);var c=this.searchIcon||(i==="ios"?u:f);var h=this.shouldShowCancelButton();var b=this.showCancelButton!=="never"&&t("button",{"aria-label":a,"aria-hidden":h?undefined:"true",type:"button",tabIndex:i==="ios"&&!h?-1:undefined,onMouseDown:this.onCancelSearchbar,onTouchStart:this.onCancelSearchbar,class:"searchbar-cancel-button"},t("div",{"aria-hidden":"true"},i==="md"?t("ion-icon",{"aria-hidden":"true",mode:i,icon:this.cancelButtonIcon,lazy:false}):a));return t(n,{role:"search","aria-disabled":this.disabled?"true":null,class:l(this.color,(r={},r[i]=true,r["searchbar-animated"]=o,r["searchbar-disabled"]=this.disabled,r["searchbar-no-animate"]=o&&this.noAnimate,r["searchbar-has-value"]=this.hasValue(),r["searchbar-left-aligned"]=this.shouldAlignLeft,r["searchbar-has-focus"]=this.focused,r["searchbar-should-show-clear"]=this.shouldShowClearButton(),r["searchbar-should-show-cancel"]=this.shouldShowCancelButton(),r))},t("div",{class:"searchbar-input-container"},t("input",{"aria-label":"search text",disabled:this.disabled,ref:function(r){return e.nativeInput=r},class:"searchbar-input",inputMode:this.inputmode,enterKeyHint:this.enterkeyhint,name:this.name,onInput:this.onInput,onChange:this.onChange,onBlur:this.onBlur,onFocus:this.onFocus,placeholder:this.placeholder,type:this.type,value:this.getValue(),autoComplete:this.autocomplete,autoCorrect:this.autocorrect,spellcheck:this.spellcheck}),i==="md"&&b,t("ion-icon",{"aria-hidden":"true",mode:i,icon:c,lazy:false,class:"searchbar-search-icon"}),t("button",{"aria-label":"reset",type:"button","no-blur":true,class:"searchbar-clear-button",onPointerDown:function(r){r.preventDefault()},onClick:function(){return e.onClearInput(true)}},t("ion-icon",{"aria-hidden":"true",mode:i,icon:s,lazy:false,class:"searchbar-clear-icon"}))),i==="ios"&&b)};Object.defineProperty(r.prototype,"el",{get:function(){return i(this)},enumerable:false,configurable:true});Object.defineProperty(r,"watchers",{get:function(){return{debounce:["debounceChanged"],value:["valueChanged"],showCancelButton:["showCancelButtonChanged"]}},enumerable:false,configurable:true});return r}());var w=0;x.style={ios:v,md:y}}}}));
@@ -1,4 +1,4 @@
1
1
  var __awaiter=this&&this.__awaiter||function(e,t,r,n){function i(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,o){function a(e){try{u(n.next(e))}catch(e){o(e)}}function s(e){try{u(n["throw"](e))}catch(e){o(e)}}function u(e){e.done?r(e.value):i(e.value).then(a,s)}u((n=n.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var r={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},n,i,o,a;return a={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(a[Symbol.iterator]=function(){return this}),a;function s(e){return function(t){return u([e,t])}}function u(s){if(n)throw new TypeError("Generator is already executing.");while(a&&(a=0,s[0]&&(r=0)),r)try{if(n=1,i&&(o=s[0]&2?i["return"]:s[0]?i["throw"]||((o=i["return"])&&o.call(i),0):i.next)&&!(o=o.call(i,s[1])).done)return o;if(i=0,o)s=[s[0]&2,o.value];switch(s[0]){case 0:case 1:o=s;break;case 4:r.label++;return{value:s[1],done:false};case 5:r.label++;i=s[1];s=[0];continue;case 7:s=r.ops.pop();r.trys.pop();continue;default:if(!(o=r.trys,o=o.length>0&&o[o.length-1])&&(s[0]===6||s[0]===2)){r=0;continue}if(s[0]===3&&(!o||s[1]>o[0]&&s[1]<o[3])){r.label=s[1];break}if(s[0]===6&&r.label<o[1]){r.label=o[1];o=s;break}if(o&&r.label<o[2]){r.label=o[2];r.ops.push(s);break}if(o[2])r.ops.pop();r.trys.pop();continue}s=t.call(e,r)}catch(e){s=[6,e];i=0}finally{n=o=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(e,t,r){if(r||arguments.length===2)for(var n=0,i=t.length,o;n<i;n++){if(o||!(n in t)){if(!o)o=Array.prototype.slice.call(t,0,n);o[n]=t[n]}}return e.concat(o||Array.prototype.slice.call(t))};
2
2
  /*!
3
3
  * (C) Ionic http://ionicframework.com - MIT License
4
- */System.register(["./p-5b553dc0.system.js","./p-815c2fba.system.js","./p-44bc8b45.system.js","./p-7b16490a.system.js"],(function(e){"use strict";var t,r,n,i,o,a,s,u,c,f;return{setters:[function(e){t=e.r;r=e.d;n=e.f;i=e.h;o=e.H},function(e){a=e.c;s=e.q},function(e){u=e.o;c=e.c},function(e){f=e.b}],execute:function(){var l=this;var h=e("ion_route",function(){function e(e){t(this,e);this.ionRouteDataChanged=r(this,"ionRouteDataChanged",7);this.url="";this.component=undefined;this.componentProps=undefined;this.beforeLeave=undefined;this.beforeEnter=undefined}e.prototype.onUpdate=function(e){this.ionRouteDataChanged.emit(e)};e.prototype.onComponentProps=function(e,t){if(e===t){return}var r=e?Object.keys(e):[];var n=t?Object.keys(t):[];if(r.length!==n.length){this.onUpdate(e);return}for(var i=0,o=r;i<o.length;i++){var a=o[i];if(e[a]!==t[a]){this.onUpdate(e);return}}};e.prototype.connectedCallback=function(){this.ionRouteDataChanged.emit()};Object.defineProperty(e,"watchers",{get:function(){return{url:["onUpdate"],component:["onUpdate"],componentProps:["onComponentProps"]}},enumerable:false,configurable:true});return e}());var v=e("ion_route_redirect",function(){function e(e){t(this,e);this.ionRouteRedirectChanged=r(this,"ionRouteRedirectChanged",7);this.from=undefined;this.to=undefined}e.prototype.propDidChange=function(){this.ionRouteRedirectChanged.emit()};e.prototype.connectedCallback=function(){this.ionRouteRedirectChanged.emit()};Object.defineProperty(e,"watchers",{get:function(){return{from:["propDidChange"],to:["propDidChange"]}},enumerable:false,configurable:true});return e}());var d="root";var g="forward";var p="back";var m=function(e){var t=e.filter((function(e){return e.length>0})).join("/");return"/"+t};var b=function(e,t,r){var n=m(e);if(t){n="#"+n}if(r!==undefined){n+="?"+r}return n};var y=function(e,t,r,n,i,o,a){var s=b(__spreadArray(__spreadArray([],C(t).segments,true),n,true),r,a);if(i===g){e.pushState(o,"",s)}else{e.replaceState(o,"",s)}};var w=function(e){var t=[];for(var r=0,n=e;r<n.length;r++){var i=n[r];for(var o=0,a=i.segments;o<a.length;o++){var s=a[o];if(s[0]===":"){var u=i.params&&i.params[s.slice(1)];if(!u){return null}t.push(u)}else if(s!==""){t.push(s)}}}return t};var _=function(e,t){if(e.length>t.length){return null}if(e.length<=1&&e[0]===""){return t}for(var r=0;r<e.length;r++){if(e[r]!==t[r]){return null}}if(t.length===e.length){return[""]}return t.slice(e.length)};var R=function(e,t,r){var n=C(t).segments;var i=r?e.hash.slice(1):e.pathname;var o=C(i).segments;return _(n,o)};var C=function(e){var t=[""];var r;if(e!=null){var n=e.indexOf("?");if(n>-1){r=e.substring(n+1);e=e.substring(0,n)}t=e.split("/").map((function(e){return e.trim()})).filter((function(e){return e.length>0}));if(t.length===0){t=[""]}}return{segments:t,queryString:r}};var S=function(e){console.group("[ion-core] ROUTES[".concat(e.length,"]"));var t=function(e){var t=[];e.forEach((function(e){return t.push.apply(t,e.segments)}));var r=e.map((function(e){return e.id}));console.debug("%c ".concat(m(t)),"font-weight: bold; padding-left: 20px","=>\t","(".concat(r.join(", "),")"))};for(var r=0,n=e;r<n.length;r++){var i=n[r];t(i)}console.groupEnd()};var k=function(e){console.group("[ion-core] REDIRECTS[".concat(e.length,"]"));for(var t=0,r=e;t<r.length;t++){var n=r[t];if(n.to){console.debug("FROM: ","$c ".concat(m(n.from)),"font-weight: bold"," TO: ","$c ".concat(m(n.to.segments)),"font-weight: bold")}}console.groupEnd()};var E=function(e,t,r,n,i,o){if(i===void 0){i=false}return __awaiter(l,void 0,void 0,(function(){var s,u,c,f;return __generator(this,(function(l){switch(l.label){case 0:l.trys.push([0,6,,7]);s=D(e);if(n>=t.length||!s){return[2,i]}return[4,new Promise((function(e){return a(s,e)}))];case 1:l.sent();u=t[n];return[4,s.setRouteId(u.id,u.params,r,o)];case 2:c=l.sent();if(c.changed){r=d;i=true}return[4,E(c.element,t,r,n+1,i,o)];case 3:i=l.sent();if(!c.markVisible)return[3,5];return[4,c.markVisible()];case 4:l.sent();l.label=5;case 5:return[2,i];case 6:f=l.sent();console.error(f);return[2,false];case 7:return[2]}}))}))};var P=function(e){return __awaiter(l,void 0,void 0,(function(){var t,r,n,i;return __generator(this,(function(o){switch(o.label){case 0:t=[];n=e;o.label=1;case 1:if(!(r=D(n)))return[3,3];return[4,r.getRouteId()];case 2:i=o.sent();if(i){n=i.element;i.element=undefined;t.push(i)}else{return[3,3]}return[3,1];case 3:return[2,{ids:t,outlet:r}]}}))}))};var j=function(){if(D(document.body)){return Promise.resolve()}return new Promise((function(e){window.addEventListener("ionNavWillLoad",(function(){return e()}),{once:true})}))};var L=":not([no-router]) ion-nav, :not([no-router]) ion-tabs, :not([no-router]) ion-router-outlet";var D=function(e){if(!e){return undefined}if(e.matches(L)){return e}var t=e.querySelector(L);return t!==null&&t!==void 0?t:undefined};var O=function(e,t){var r=t.from,n=t.to;if(n===undefined){return false}if(r.length>e.length){return false}for(var i=0;i<r.length;i++){var o=r[i];if(o==="*"){return true}if(o!==e[i]){return false}}return r.length===e.length};var x=function(e,t){return t.find((function(t){return O(e,t)}))};var N=function(e,t){var r=Math.min(e.length,t.length);var n=0;for(var i=0;i<r;i++){var o=e[i];var a=t[i];if(o.id.toLowerCase()!==a.id){break}if(o.params){var s=Object.keys(o.params);if(s.length===a.segments.length){var u=s.map((function(e){return":".concat(e)}));for(var c=0;c<u.length;c++){if(u[c].toLowerCase()!==a.segments[c]){break}n++}}}n++}return n};var A=function(e,t){var r=new G(e);var n=false;var i;for(var o=0;o<t.length;o++){var a=t[o].segments;if(a[0]===""){n=true}else{for(var s=0,u=a;s<u.length;s++){var c=u[s];var f=r.next();if(c[0]===":"){if(f===""){return null}i=i||[];var l=i[o]||(i[o]={});l[c.slice(1)]=f}else if(f!==c){return null}}n=false}}var h=n?n===(r.next()===""):true;if(!h){return null}if(i){return t.map((function(e,t){return{id:e.id,segments:e.segments,params:U(e.params,i[t]),beforeEnter:e.beforeEnter,beforeLeave:e.beforeLeave}}))}return t};var U=function(e,t){return e||t?Object.assign(Object.assign({},e),t):undefined};var W=function(e,t){var r=null;var n=0;for(var i=0,o=t;i<o.length;i++){var a=o[i];var s=N(e,a);if(s>n){r=a;n=s}}if(r){return r.map((function(t,r){var n;return{id:t.id,segments:t.segments,params:U(t.params,(n=e[r])===null||n===void 0?void 0:n.params)}}))}return null};var T=function(e,t){var r=null;var n=0;for(var i=0,o=t;i<o.length;i++){var a=o[i];var s=A(e,a);if(s!==null){var u=q(s);if(u>n){n=u;r=s}}}return r};var q=function(e){var t=1;var r=1;for(var n=0,i=e;n<i.length;n++){var o=i[n];for(var a=0,s=o.segments;a<s.length;a++){var u=s[a];if(u[0]===":"){t+=Math.pow(1,r)}else if(u!==""){t+=Math.pow(2,r)}r++}}return t};var G=function(){function e(e){this.segments=e.slice()}e.prototype.next=function(){if(this.segments.length>0){return this.segments.shift()}return""};return e}();var I=function(e,t){if(t in e){return e[t]}if(e.hasAttribute(t)){return e.getAttribute(t)}return null};var H=function(e){return Array.from(e.children).filter((function(e){return e.tagName==="ION-ROUTE-REDIRECT"})).map((function(e){var t=I(e,"to");return{from:C(I(e,"from")).segments,to:t==null?undefined:C(t)}}))};var M=function(e){return F(B(e))};var B=function(e){return Array.from(e.children).filter((function(e){return e.tagName==="ION-ROUTE"&&e.component})).map((function(e){var t=I(e,"component");return{segments:C(I(e,"url")).segments,id:t.toLowerCase(),params:e.componentProps,beforeLeave:e.beforeLeave,beforeEnter:e.beforeEnter,children:B(e)}}))};var F=function(e){var t=[];for(var r=0,n=e;r<n.length;r++){var i=n[r];V([],t,i)}return t};var V=function(e,t,r){e=__spreadArray(__spreadArray([],e,true),[{id:r.id,segments:r.segments,params:r.params,beforeLeave:r.beforeLeave,beforeEnter:r.beforeEnter}],false);if(r.children.length===0){t.push(e);return}for(var n=0,i=r.children;n<i.length;n++){var o=i[n];V(e,t,o)}};var $=e("ion_router",function(){function e(e){t(this,e);this.ionRouteWillChange=r(this,"ionRouteWillChange",7);this.ionRouteDidChange=r(this,"ionRouteDidChange",7);this.previousPath=null;this.busy=false;this.state=0;this.lastState=0;this.root="/";this.useHash=true}e.prototype.componentWillLoad=function(){return __awaiter(this,void 0,void 0,(function(){var e,t,r;return __generator(this,(function(n){switch(n.label){case 0:return[4,j()];case 1:n.sent();return[4,this.runGuards(this.getSegments())];case 2:e=n.sent();if(!(e!==true))return[3,5];if(!(typeof e==="object"))return[3,4];t=e.redirect;r=C(t);this.setSegments(r.segments,d,r.queryString);return[4,this.writeNavStateRoot(r.segments,d)];case 3:n.sent();n.label=4;case 4:return[3,7];case 5:return[4,this.onRoutesChanged()];case 6:n.sent();n.label=7;case 7:return[2]}}))}))};e.prototype.componentDidLoad=function(){window.addEventListener("ionRouteRedirectChanged",s(this.onRedirectChanged.bind(this),10));window.addEventListener("ionRouteDataChanged",s(this.onRoutesChanged.bind(this),100))};e.prototype.onPopState=function(){return __awaiter(this,void 0,void 0,(function(){var e,t,r;return __generator(this,(function(n){switch(n.label){case 0:e=this.historyDirection();t=this.getSegments();return[4,this.runGuards(t)];case 1:r=n.sent();if(r!==true){if(typeof r==="object"){t=C(r.redirect).segments}else{return[2,false]}}return[2,this.writeNavStateRoot(t,e)]}}))}))};e.prototype.onBackButton=function(e){var t=this;e.detail.register(0,(function(e){t.back();e()}))};e.prototype.canTransition=function(){return __awaiter(this,void 0,void 0,(function(){var e;return __generator(this,(function(t){switch(t.label){case 0:return[4,this.runGuards()];case 1:e=t.sent();if(e!==true){if(typeof e==="object"){return[2,e.redirect]}else{return[2,false]}}return[2,true]}}))}))};e.prototype.push=function(e,t,r){if(t===void 0){t="forward"}return __awaiter(this,void 0,void 0,(function(){var n,i,o,a,s;return __generator(this,(function(u){switch(u.label){case 0:if(e.startsWith(".")){i=(n=this.previousPath)!==null&&n!==void 0?n:"/";o=new URL(e,"https://host/".concat(i));e=o.pathname+o.search}a=C(e);return[4,this.runGuards(a.segments)];case 1:s=u.sent();if(s!==true){if(typeof s==="object"){a=C(s.redirect)}else{return[2,false]}}this.setSegments(a.segments,t,a.queryString);return[2,this.writeNavStateRoot(a.segments,t,r)]}}))}))};e.prototype.back=function(){window.history.back();return Promise.resolve(this.waitPromise)};e.prototype.printDebug=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){S(M(this.el));k(H(this.el));return[2]}))}))};e.prototype.navChanged=function(e){return __awaiter(this,void 0,void 0,(function(){var t,r,n,i,o,a;return __generator(this,(function(s){switch(s.label){case 0:if(this.busy){console.warn("[ion-router] router is busy, navChanged was cancelled");return[2,false]}return[4,P(window.document.body)];case 1:t=s.sent(),r=t.ids,n=t.outlet;i=M(this.el);o=W(r,i);if(!o){console.warn("[ion-router] no matching URL for ",r.map((function(e){return e.id})));return[2,false]}a=w(o);if(!a){console.warn("[ion-router] router could not match path because some required param is missing");return[2,false]}this.setSegments(a,e);return[4,this.safeWriteNavState(n,o,d,a,null,r.length)];case 2:s.sent();return[2,true]}}))}))};e.prototype.onRedirectChanged=function(){var e=this.getSegments();if(e&&x(e,H(this.el))){this.writeNavStateRoot(e,d)}};e.prototype.onRoutesChanged=function(){return this.writeNavStateRoot(this.getSegments(),d)};e.prototype.historyDirection=function(){var e;var t=window;if(t.history.state===null){this.state++;t.history.replaceState(this.state,t.document.title,(e=t.document.location)===null||e===void 0?void 0:e.href)}var r=t.history.state;var n=this.lastState;this.lastState=r;if(r>n||r>=n&&n>0){return g}if(r<n){return p}return d};e.prototype.writeNavStateRoot=function(e,t,r){return __awaiter(this,void 0,void 0,(function(){var n,i,o,a,s,u,c,f;return __generator(this,(function(l){if(!e){console.error("[ion-router] URL is not part of the routing set");return[2,false]}n=H(this.el);i=x(e,n);o=null;if(i){a=i.to,s=a.segments,u=a.queryString;this.setSegments(s,t,u);o=i.from;e=s}c=M(this.el);f=T(e,c);if(!f){console.error("[ion-router] the path does not match any route");return[2,false]}return[2,this.safeWriteNavState(document.body,f,t,e,o,0,r)]}))}))};e.prototype.safeWriteNavState=function(e,t,r,n,i,o,a){if(o===void 0){o=0}return __awaiter(this,void 0,void 0,(function(){var s,u,c;return __generator(this,(function(f){switch(f.label){case 0:return[4,this.lock()];case 1:s=f.sent();u=false;f.label=2;case 2:f.trys.push([2,4,,5]);return[4,this.writeNavState(e,t,r,n,i,o,a)];case 3:u=f.sent();return[3,5];case 4:c=f.sent();console.error(c);return[3,5];case 5:s();return[2,u]}}))}))};e.prototype.lock=function(){return __awaiter(this,void 0,void 0,(function(){var e,t;return __generator(this,(function(r){switch(r.label){case 0:e=this.waitPromise;this.waitPromise=new Promise((function(e){return t=e}));if(!(e!==undefined))return[3,2];return[4,e];case 1:r.sent();r.label=2;case 2:return[2,t]}}))}))};e.prototype.runGuards=function(e,t){if(e===void 0){e=this.getSegments()}return __awaiter(this,void 0,void 0,(function(){var r,n,i,o,a,s,u;return __generator(this,(function(c){switch(c.label){case 0:if(t===undefined){t=C(this.previousPath).segments}if(!e||!t){return[2,true]}r=M(this.el);n=T(t,r);i=n&&n[n.length-1].beforeLeave;if(!i)return[3,2];return[4,i()];case 1:a=c.sent();return[3,3];case 2:a=true;c.label=3;case 3:o=a;if(o===false||typeof o==="object"){return[2,o]}s=T(e,r);u=s&&s[s.length-1].beforeEnter;return[2,u?u():true]}}))}))};e.prototype.writeNavState=function(e,t,r,n,i,o,a){if(o===void 0){o=0}return __awaiter(this,void 0,void 0,(function(){var s,u;return __generator(this,(function(c){switch(c.label){case 0:if(this.busy){console.warn("[ion-router] router is busy, transition was cancelled");return[2,false]}this.busy=true;s=this.routeChangeEvent(n,i);if(s){this.ionRouteWillChange.emit(s)}return[4,E(e,t,r,o,false,a)];case 1:u=c.sent();this.busy=false;if(s){this.ionRouteDidChange.emit(s)}return[2,u]}}))}))};e.prototype.setSegments=function(e,t,r){this.state++;y(window.history,this.root,this.useHash,e,t,this.state,r)};e.prototype.getSegments=function(){return R(window.location,this.root,this.useHash)};e.prototype.routeChangeEvent=function(e,t){var r=this.previousPath;var n=m(e);this.previousPath=n;if(n===r){return null}var i=t?m(t):null;return{from:r,redirectedFrom:i,to:n}};Object.defineProperty(e.prototype,"el",{get:function(){return n(this)},enumerable:false,configurable:true});return e}());var z=":host{--background:transparent;--color:var(--ion-color-primary, #3880ff);background:var(--background);color:var(--color)}:host(.ion-color){color:var(--ion-color-base)}a{font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit}";var J=e("ion_router_link",function(){function e(e){var r=this;t(this,e);this.onClick=function(e){u(r.href,e,r.routerDirection,r.routerAnimation)};this.color=undefined;this.href=undefined;this.rel=undefined;this.routerDirection="forward";this.routerAnimation=undefined;this.target=undefined}e.prototype.render=function(){var e;var t=f(this);var r={href:this.href,rel:this.rel,target:this.target};return i(o,{onClick:this.onClick,class:c(this.color,(e={},e[t]=true,e["ion-activatable"]=true,e))},i("a",Object.assign({},r),i("slot",null)))};return e}());J.style=z}}}));
4
+ */System.register(["./p-07f42dec.system.js","./p-815c2fba.system.js","./p-44bc8b45.system.js","./p-9be7fdf8.system.js"],(function(e){"use strict";var t,r,n,i,o,a,s,u,f,c;return{setters:[function(e){t=e.r;r=e.d;n=e.f;i=e.h;o=e.H},function(e){a=e.c;s=e.q},function(e){u=e.o;f=e.c},function(e){c=e.b}],execute:function(){var l=this;var h=e("ion_route",function(){function e(e){t(this,e);this.ionRouteDataChanged=r(this,"ionRouteDataChanged",7);this.url="";this.component=undefined;this.componentProps=undefined;this.beforeLeave=undefined;this.beforeEnter=undefined}e.prototype.onUpdate=function(e){this.ionRouteDataChanged.emit(e)};e.prototype.onComponentProps=function(e,t){if(e===t){return}var r=e?Object.keys(e):[];var n=t?Object.keys(t):[];if(r.length!==n.length){this.onUpdate(e);return}for(var i=0,o=r;i<o.length;i++){var a=o[i];if(e[a]!==t[a]){this.onUpdate(e);return}}};e.prototype.connectedCallback=function(){this.ionRouteDataChanged.emit()};Object.defineProperty(e,"watchers",{get:function(){return{url:["onUpdate"],component:["onUpdate"],componentProps:["onComponentProps"]}},enumerable:false,configurable:true});return e}());var v=e("ion_route_redirect",function(){function e(e){t(this,e);this.ionRouteRedirectChanged=r(this,"ionRouteRedirectChanged",7);this.from=undefined;this.to=undefined}e.prototype.propDidChange=function(){this.ionRouteRedirectChanged.emit()};e.prototype.connectedCallback=function(){this.ionRouteRedirectChanged.emit()};Object.defineProperty(e,"watchers",{get:function(){return{from:["propDidChange"],to:["propDidChange"]}},enumerable:false,configurable:true});return e}());var d="root";var g="forward";var p="back";var m=function(e){var t=e.filter((function(e){return e.length>0})).join("/");return"/"+t};var b=function(e,t,r){var n=m(e);if(t){n="#"+n}if(r!==undefined){n+="?"+r}return n};var y=function(e,t,r,n,i,o,a){var s=b(__spreadArray(__spreadArray([],C(t).segments,true),n,true),r,a);if(i===g){e.pushState(o,"",s)}else{e.replaceState(o,"",s)}};var w=function(e){var t=[];for(var r=0,n=e;r<n.length;r++){var i=n[r];for(var o=0,a=i.segments;o<a.length;o++){var s=a[o];if(s[0]===":"){var u=i.params&&i.params[s.slice(1)];if(!u){return null}t.push(u)}else if(s!==""){t.push(s)}}}return t};var _=function(e,t){if(e.length>t.length){return null}if(e.length<=1&&e[0]===""){return t}for(var r=0;r<e.length;r++){if(e[r]!==t[r]){return null}}if(t.length===e.length){return[""]}return t.slice(e.length)};var R=function(e,t,r){var n=C(t).segments;var i=r?e.hash.slice(1):e.pathname;var o=C(i).segments;return _(n,o)};var C=function(e){var t=[""];var r;if(e!=null){var n=e.indexOf("?");if(n>-1){r=e.substring(n+1);e=e.substring(0,n)}t=e.split("/").map((function(e){return e.trim()})).filter((function(e){return e.length>0}));if(t.length===0){t=[""]}}return{segments:t,queryString:r}};var S=function(e){console.group("[ion-core] ROUTES[".concat(e.length,"]"));var t=function(e){var t=[];e.forEach((function(e){return t.push.apply(t,e.segments)}));var r=e.map((function(e){return e.id}));console.debug("%c ".concat(m(t)),"font-weight: bold; padding-left: 20px","=>\t","(".concat(r.join(", "),")"))};for(var r=0,n=e;r<n.length;r++){var i=n[r];t(i)}console.groupEnd()};var k=function(e){console.group("[ion-core] REDIRECTS[".concat(e.length,"]"));for(var t=0,r=e;t<r.length;t++){var n=r[t];if(n.to){console.debug("FROM: ","$c ".concat(m(n.from)),"font-weight: bold"," TO: ","$c ".concat(m(n.to.segments)),"font-weight: bold")}}console.groupEnd()};var E=function(e,t,r,n,i,o){if(i===void 0){i=false}return __awaiter(l,void 0,void 0,(function(){var s,u,f,c;return __generator(this,(function(l){switch(l.label){case 0:l.trys.push([0,6,,7]);s=D(e);if(n>=t.length||!s){return[2,i]}return[4,new Promise((function(e){return a(s,e)}))];case 1:l.sent();u=t[n];return[4,s.setRouteId(u.id,u.params,r,o)];case 2:f=l.sent();if(f.changed){r=d;i=true}return[4,E(f.element,t,r,n+1,i,o)];case 3:i=l.sent();if(!f.markVisible)return[3,5];return[4,f.markVisible()];case 4:l.sent();l.label=5;case 5:return[2,i];case 6:c=l.sent();console.error(c);return[2,false];case 7:return[2]}}))}))};var P=function(e){return __awaiter(l,void 0,void 0,(function(){var t,r,n,i;return __generator(this,(function(o){switch(o.label){case 0:t=[];n=e;o.label=1;case 1:if(!(r=D(n)))return[3,3];return[4,r.getRouteId()];case 2:i=o.sent();if(i){n=i.element;i.element=undefined;t.push(i)}else{return[3,3]}return[3,1];case 3:return[2,{ids:t,outlet:r}]}}))}))};var j=function(){if(D(document.body)){return Promise.resolve()}return new Promise((function(e){window.addEventListener("ionNavWillLoad",(function(){return e()}),{once:true})}))};var L=":not([no-router]) ion-nav, :not([no-router]) ion-tabs, :not([no-router]) ion-router-outlet";var D=function(e){if(!e){return undefined}if(e.matches(L)){return e}var t=e.querySelector(L);return t!==null&&t!==void 0?t:undefined};var O=function(e,t){var r=t.from,n=t.to;if(n===undefined){return false}if(r.length>e.length){return false}for(var i=0;i<r.length;i++){var o=r[i];if(o==="*"){return true}if(o!==e[i]){return false}}return r.length===e.length};var x=function(e,t){return t.find((function(t){return O(e,t)}))};var N=function(e,t){var r=Math.min(e.length,t.length);var n=0;for(var i=0;i<r;i++){var o=e[i];var a=t[i];if(o.id.toLowerCase()!==a.id){break}if(o.params){var s=Object.keys(o.params);if(s.length===a.segments.length){var u=s.map((function(e){return":".concat(e)}));for(var f=0;f<u.length;f++){if(u[f].toLowerCase()!==a.segments[f]){break}n++}}}n++}return n};var A=function(e,t){var r=new G(e);var n=false;var i;for(var o=0;o<t.length;o++){var a=t[o].segments;if(a[0]===""){n=true}else{for(var s=0,u=a;s<u.length;s++){var f=u[s];var c=r.next();if(f[0]===":"){if(c===""){return null}i=i||[];var l=i[o]||(i[o]={});l[f.slice(1)]=c}else if(c!==f){return null}}n=false}}var h=n?n===(r.next()===""):true;if(!h){return null}if(i){return t.map((function(e,t){return{id:e.id,segments:e.segments,params:U(e.params,i[t]),beforeEnter:e.beforeEnter,beforeLeave:e.beforeLeave}}))}return t};var U=function(e,t){return e||t?Object.assign(Object.assign({},e),t):undefined};var W=function(e,t){var r=null;var n=0;for(var i=0,o=t;i<o.length;i++){var a=o[i];var s=N(e,a);if(s>n){r=a;n=s}}if(r){return r.map((function(t,r){var n;return{id:t.id,segments:t.segments,params:U(t.params,(n=e[r])===null||n===void 0?void 0:n.params)}}))}return null};var T=function(e,t){var r=null;var n=0;for(var i=0,o=t;i<o.length;i++){var a=o[i];var s=A(e,a);if(s!==null){var u=q(s);if(u>n){n=u;r=s}}}return r};var q=function(e){var t=1;var r=1;for(var n=0,i=e;n<i.length;n++){var o=i[n];for(var a=0,s=o.segments;a<s.length;a++){var u=s[a];if(u[0]===":"){t+=Math.pow(1,r)}else if(u!==""){t+=Math.pow(2,r)}r++}}return t};var G=function(){function e(e){this.segments=e.slice()}e.prototype.next=function(){if(this.segments.length>0){return this.segments.shift()}return""};return e}();var I=function(e,t){if(t in e){return e[t]}if(e.hasAttribute(t)){return e.getAttribute(t)}return null};var H=function(e){return Array.from(e.children).filter((function(e){return e.tagName==="ION-ROUTE-REDIRECT"})).map((function(e){var t=I(e,"to");return{from:C(I(e,"from")).segments,to:t==null?undefined:C(t)}}))};var M=function(e){return F(B(e))};var B=function(e){return Array.from(e.children).filter((function(e){return e.tagName==="ION-ROUTE"&&e.component})).map((function(e){var t=I(e,"component");return{segments:C(I(e,"url")).segments,id:t.toLowerCase(),params:e.componentProps,beforeLeave:e.beforeLeave,beforeEnter:e.beforeEnter,children:B(e)}}))};var F=function(e){var t=[];for(var r=0,n=e;r<n.length;r++){var i=n[r];V([],t,i)}return t};var V=function(e,t,r){e=__spreadArray(__spreadArray([],e,true),[{id:r.id,segments:r.segments,params:r.params,beforeLeave:r.beforeLeave,beforeEnter:r.beforeEnter}],false);if(r.children.length===0){t.push(e);return}for(var n=0,i=r.children;n<i.length;n++){var o=i[n];V(e,t,o)}};var $=e("ion_router",function(){function e(e){t(this,e);this.ionRouteWillChange=r(this,"ionRouteWillChange",7);this.ionRouteDidChange=r(this,"ionRouteDidChange",7);this.previousPath=null;this.busy=false;this.state=0;this.lastState=0;this.root="/";this.useHash=true}e.prototype.componentWillLoad=function(){return __awaiter(this,void 0,void 0,(function(){var e,t,r;return __generator(this,(function(n){switch(n.label){case 0:return[4,j()];case 1:n.sent();return[4,this.runGuards(this.getSegments())];case 2:e=n.sent();if(!(e!==true))return[3,5];if(!(typeof e==="object"))return[3,4];t=e.redirect;r=C(t);this.setSegments(r.segments,d,r.queryString);return[4,this.writeNavStateRoot(r.segments,d)];case 3:n.sent();n.label=4;case 4:return[3,7];case 5:return[4,this.onRoutesChanged()];case 6:n.sent();n.label=7;case 7:return[2]}}))}))};e.prototype.componentDidLoad=function(){window.addEventListener("ionRouteRedirectChanged",s(this.onRedirectChanged.bind(this),10));window.addEventListener("ionRouteDataChanged",s(this.onRoutesChanged.bind(this),100))};e.prototype.onPopState=function(){return __awaiter(this,void 0,void 0,(function(){var e,t,r;return __generator(this,(function(n){switch(n.label){case 0:e=this.historyDirection();t=this.getSegments();return[4,this.runGuards(t)];case 1:r=n.sent();if(r!==true){if(typeof r==="object"){t=C(r.redirect).segments}else{return[2,false]}}return[2,this.writeNavStateRoot(t,e)]}}))}))};e.prototype.onBackButton=function(e){var t=this;e.detail.register(0,(function(e){t.back();e()}))};e.prototype.canTransition=function(){return __awaiter(this,void 0,void 0,(function(){var e;return __generator(this,(function(t){switch(t.label){case 0:return[4,this.runGuards()];case 1:e=t.sent();if(e!==true){if(typeof e==="object"){return[2,e.redirect]}else{return[2,false]}}return[2,true]}}))}))};e.prototype.push=function(e,t,r){if(t===void 0){t="forward"}return __awaiter(this,void 0,void 0,(function(){var n,i,o,a,s;return __generator(this,(function(u){switch(u.label){case 0:if(e.startsWith(".")){i=(n=this.previousPath)!==null&&n!==void 0?n:"/";o=new URL(e,"https://host/".concat(i));e=o.pathname+o.search}a=C(e);return[4,this.runGuards(a.segments)];case 1:s=u.sent();if(s!==true){if(typeof s==="object"){a=C(s.redirect)}else{return[2,false]}}this.setSegments(a.segments,t,a.queryString);return[2,this.writeNavStateRoot(a.segments,t,r)]}}))}))};e.prototype.back=function(){window.history.back();return Promise.resolve(this.waitPromise)};e.prototype.printDebug=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){S(M(this.el));k(H(this.el));return[2]}))}))};e.prototype.navChanged=function(e){return __awaiter(this,void 0,void 0,(function(){var t,r,n,i,o,a;return __generator(this,(function(s){switch(s.label){case 0:if(this.busy){console.warn("[ion-router] router is busy, navChanged was cancelled");return[2,false]}return[4,P(window.document.body)];case 1:t=s.sent(),r=t.ids,n=t.outlet;i=M(this.el);o=W(r,i);if(!o){console.warn("[ion-router] no matching URL for ",r.map((function(e){return e.id})));return[2,false]}a=w(o);if(!a){console.warn("[ion-router] router could not match path because some required param is missing");return[2,false]}this.setSegments(a,e);return[4,this.safeWriteNavState(n,o,d,a,null,r.length)];case 2:s.sent();return[2,true]}}))}))};e.prototype.onRedirectChanged=function(){var e=this.getSegments();if(e&&x(e,H(this.el))){this.writeNavStateRoot(e,d)}};e.prototype.onRoutesChanged=function(){return this.writeNavStateRoot(this.getSegments(),d)};e.prototype.historyDirection=function(){var e;var t=window;if(t.history.state===null){this.state++;t.history.replaceState(this.state,t.document.title,(e=t.document.location)===null||e===void 0?void 0:e.href)}var r=t.history.state;var n=this.lastState;this.lastState=r;if(r>n||r>=n&&n>0){return g}if(r<n){return p}return d};e.prototype.writeNavStateRoot=function(e,t,r){return __awaiter(this,void 0,void 0,(function(){var n,i,o,a,s,u,f,c;return __generator(this,(function(l){if(!e){console.error("[ion-router] URL is not part of the routing set");return[2,false]}n=H(this.el);i=x(e,n);o=null;if(i){a=i.to,s=a.segments,u=a.queryString;this.setSegments(s,t,u);o=i.from;e=s}f=M(this.el);c=T(e,f);if(!c){console.error("[ion-router] the path does not match any route");return[2,false]}return[2,this.safeWriteNavState(document.body,c,t,e,o,0,r)]}))}))};e.prototype.safeWriteNavState=function(e,t,r,n,i,o,a){if(o===void 0){o=0}return __awaiter(this,void 0,void 0,(function(){var s,u,f;return __generator(this,(function(c){switch(c.label){case 0:return[4,this.lock()];case 1:s=c.sent();u=false;c.label=2;case 2:c.trys.push([2,4,,5]);return[4,this.writeNavState(e,t,r,n,i,o,a)];case 3:u=c.sent();return[3,5];case 4:f=c.sent();console.error(f);return[3,5];case 5:s();return[2,u]}}))}))};e.prototype.lock=function(){return __awaiter(this,void 0,void 0,(function(){var e,t;return __generator(this,(function(r){switch(r.label){case 0:e=this.waitPromise;this.waitPromise=new Promise((function(e){return t=e}));if(!(e!==undefined))return[3,2];return[4,e];case 1:r.sent();r.label=2;case 2:return[2,t]}}))}))};e.prototype.runGuards=function(e,t){if(e===void 0){e=this.getSegments()}return __awaiter(this,void 0,void 0,(function(){var r,n,i,o,a,s,u;return __generator(this,(function(f){switch(f.label){case 0:if(t===undefined){t=C(this.previousPath).segments}if(!e||!t){return[2,true]}r=M(this.el);n=T(t,r);i=n&&n[n.length-1].beforeLeave;if(!i)return[3,2];return[4,i()];case 1:a=f.sent();return[3,3];case 2:a=true;f.label=3;case 3:o=a;if(o===false||typeof o==="object"){return[2,o]}s=T(e,r);u=s&&s[s.length-1].beforeEnter;return[2,u?u():true]}}))}))};e.prototype.writeNavState=function(e,t,r,n,i,o,a){if(o===void 0){o=0}return __awaiter(this,void 0,void 0,(function(){var s,u;return __generator(this,(function(f){switch(f.label){case 0:if(this.busy){console.warn("[ion-router] router is busy, transition was cancelled");return[2,false]}this.busy=true;s=this.routeChangeEvent(n,i);if(s){this.ionRouteWillChange.emit(s)}return[4,E(e,t,r,o,false,a)];case 1:u=f.sent();this.busy=false;if(s){this.ionRouteDidChange.emit(s)}return[2,u]}}))}))};e.prototype.setSegments=function(e,t,r){this.state++;y(window.history,this.root,this.useHash,e,t,this.state,r)};e.prototype.getSegments=function(){return R(window.location,this.root,this.useHash)};e.prototype.routeChangeEvent=function(e,t){var r=this.previousPath;var n=m(e);this.previousPath=n;if(n===r){return null}var i=t?m(t):null;return{from:r,redirectedFrom:i,to:n}};Object.defineProperty(e.prototype,"el",{get:function(){return n(this)},enumerable:false,configurable:true});return e}());var z=":host{--background:transparent;--color:var(--ion-color-primary, #3880ff);background:var(--background);color:var(--color)}:host(.ion-color){color:var(--ion-color-base)}a{font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit}";var J=e("ion_router_link",function(){function e(e){var r=this;t(this,e);this.onClick=function(e){u(r.href,e,r.routerDirection,r.routerAnimation)};this.color=undefined;this.href=undefined;this.rel=undefined;this.routerDirection="forward";this.routerAnimation=undefined;this.target=undefined}e.prototype.render=function(){var e;var t=c(this);var r={href:this.href,rel:this.rel,target:this.target};return i(o,{onClick:this.onClick,class:f(this.color,(e={},e[t]=true,e["ion-activatable"]=true,e))},i("a",Object.assign({},r),i("slot",null)))};return e}());J.style=z}}}));
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * (C) Ionic http://ionicframework.com - MIT License
3
3
  */
4
- import{r as t,d as o,w as i,h as a,H as r,f as e}from"./p-156967ec.js";import{f as s,i as n,d,r as h,a as p,p as l}from"./p-b24aa895.js";import{C as c,a as m,d as b}from"./p-b34c1ae1.js";import{g as f,l as u,r as w,k as v,m as x}from"./p-63eb0acd.js";import{p as g}from"./p-1b8e1d03.js";import{g as k}from"./p-cc196b34.js";import{G as y,e as A,B as D,j as B,k as Y,f as j,n as M,g as E,h as C}from"./p-5ef91692.js";import{g as S}from"./p-1d072d3d.js";import{e as O,w as P}from"./p-a62c0ff4.js";import{b as $,c as T}from"./p-b22ee0dc.js";import{KEYBOARD_DID_OPEN as z}from"./p-8cf94fc1.js";import{c as I}from"./p-94a4ce40.js";import{g as W}from"./p-7c2bac85.js";import{createGesture as L}from"./p-8b1be026.js";import{w as R}from"./p-b347cfd1.js";import"./p-185e427e.js";import"./p-419eb426.js";import"./p-e0b06b65.js";var N;!function(t){t.Dark="DARK",t.Light="LIGHT",t.Default="DEFAULT"}(N||(N={}));const K={getEngine(){const t=k();if(null==t?void 0:t.isPluginAvailable("StatusBar"))return t.Plugins.StatusBar},supportsDefaultStatusBarStyle(){const t=k();return!!(null==t?void 0:t.PluginHeaders)},setStyle(t){const o=this.getEngine();o&&o.setStyle(t)},getStyle:async function(){const t=this.getEngine();if(!t)return N.Default;const{style:o}=await t.getInfo();return o}},V=(t,o)=>{if(1===o)return 0;const i=1/(1-o);return t*i+-o*i},Z=()=>{!R||R.innerWidth>=768||!K.supportsDefaultStatusBarStyle()||K.setStyle({style:N.Dark})},F=(t=N.Default)=>{!R||R.innerWidth>=768||!K.supportsDefaultStatusBarStyle()||K.setStyle({style:t})},G=async(t,o)=>{"function"==typeof t.canDismiss&&await t.canDismiss(void 0,y)&&(o.isRunning()?o.onFinish((()=>{t.dismiss(void 0,"handler")}),{oneTimeCallback:!0}):t.dismiss(void 0,"handler"))},_=t=>.00255275*2.71828**(-14.9619*t)-1.00255*2.71828**(-.0380968*t)+1,H=.93,U=(t,o)=>u(400,t/Math.abs(1.1*o),500),q=t=>{const{currentBreakpoint:o,backdropBreakpoint:i}=t,a=void 0===i||i<o,r=a?`calc(var(--backdrop-opacity) * ${o})`:"0",e=I("backdropAnimation").fromTo("opacity",0,r);return a&&e.beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"]),{wrapperAnimation:I("wrapperAnimation").keyframes([{offset:0,opacity:1,transform:"translateY(100%)"},{offset:1,opacity:1,transform:`translateY(${100-100*o}%)`}]),backdropAnimation:e}},J=t=>{const{currentBreakpoint:o,backdropBreakpoint:i}=t,a=`calc(var(--backdrop-opacity) * ${V(o,i)})`,r=[{offset:0,opacity:a},{offset:1,opacity:0}],e=[{offset:0,opacity:a},{offset:i,opacity:0},{offset:1,opacity:0}],s=I("backdropAnimation").keyframes(0!==i?e:r);return{wrapperAnimation:I("wrapperAnimation").keyframes([{offset:0,opacity:1,transform:`translateY(${100-100*o}%)`},{offset:1,opacity:1,transform:"translateY(100%)"}]),backdropAnimation:s}},Q=(t,o)=>{const{presentingEl:i,currentBreakpoint:a}=o,r=f(t),{wrapperAnimation:e,backdropAnimation:s}=void 0!==a?q(o):{backdropAnimation:I().fromTo("opacity",.01,"var(--backdrop-opacity)").beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"]),wrapperAnimation:I().fromTo("transform","translateY(100vh)","translateY(0vh)")};s.addElement(r.querySelector("ion-backdrop")),e.addElement(r.querySelectorAll(".modal-wrapper, .modal-shadow")).beforeStyles({opacity:1});const n=I("entering-base").addElement(t).easing("cubic-bezier(0.32,0.72,0,1)").duration(500).addAnimation(e);if(i){const t=window.innerWidth<768,o="ION-MODAL"===i.tagName&&void 0!==i.presentingElement,a=f(i),r=I().beforeStyles({transform:"translateY(0)","transform-origin":"top center",overflow:"hidden"}),d=document.body;if(t){const t=CSS.supports("width","max(0px, 1px)")?"max(30px, var(--ion-safe-area-top))":"30px",a=`translateY(${o?"-10px":t}) scale(0.93)`;r.afterStyles({transform:a}).beforeAddWrite((()=>d.style.setProperty("background-color","black"))).addElement(i).keyframes([{offset:0,filter:"contrast(1)",transform:"translateY(0px) scale(1)",borderRadius:"0px"},{offset:1,filter:"contrast(0.85)",transform:a,borderRadius:"10px 10px 0 0"}]),n.addAnimation(r)}else if(n.addAnimation(s),o){const t=`translateY(-10px) scale(${o?H:1})`;r.afterStyles({transform:t}).addElement(a.querySelector(".modal-wrapper")).keyframes([{offset:0,filter:"contrast(1)",transform:"translateY(0) scale(1)"},{offset:1,filter:"contrast(0.85)",transform:t}]);const i=I().afterStyles({transform:t}).addElement(a.querySelector(".modal-shadow")).keyframes([{offset:0,opacity:"1",transform:"translateY(0) scale(1)"},{offset:1,opacity:"0",transform:t}]);n.addAnimation([r,i])}else e.fromTo("opacity","0","1")}else n.addAnimation(s);return n},X=(t,o,i=500)=>{const{presentingEl:a,currentBreakpoint:r}=o,e=f(t),{wrapperAnimation:s,backdropAnimation:n}=void 0!==r?J(o):{backdropAnimation:I().fromTo("opacity","var(--backdrop-opacity)",0),wrapperAnimation:I().fromTo("transform","translateY(0vh)","translateY(100vh)")};n.addElement(e.querySelector("ion-backdrop")),s.addElement(e.querySelectorAll(".modal-wrapper, .modal-shadow")).beforeStyles({opacity:1});const d=I("leaving-base").addElement(t).easing("cubic-bezier(0.32,0.72,0,1)").duration(i).addAnimation(s);if(a){const t=window.innerWidth<768,o="ION-MODAL"===a.tagName&&void 0!==a.presentingElement,i=f(a),r=I().beforeClearStyles(["transform"]).afterClearStyles(["transform"]).onFinish((t=>{1===t&&(a.style.setProperty("overflow",""),Array.from(e.querySelectorAll("ion-modal:not(.overlay-hidden)")).filter((t=>void 0!==t.presentingElement)).length<=1&&e.style.setProperty("background-color",""))})),e=document.body;if(t){const t=CSS.supports("width","max(0px, 1px)")?"max(30px, var(--ion-safe-area-top))":"30px",i=`translateY(${o?"-10px":t}) scale(0.93)`;r.addElement(a).keyframes([{offset:0,filter:"contrast(0.85)",transform:i,borderRadius:"10px 10px 0 0"},{offset:1,filter:"contrast(1)",transform:"translateY(0px) scale(1)",borderRadius:"0px"}]),d.addAnimation(r)}else if(d.addAnimation(n),o){const t=`translateY(-10px) scale(${o?H:1})`;r.addElement(i.querySelector(".modal-wrapper")).afterStyles({transform:"translate3d(0, 0, 0)"}).keyframes([{offset:0,filter:"contrast(0.85)",transform:t},{offset:1,filter:"contrast(1)",transform:"translateY(0) scale(1)"}]);const a=I().addElement(i.querySelector(".modal-shadow")).afterStyles({transform:"translateY(0) scale(1)"}).keyframes([{offset:0,opacity:"0",transform:t},{offset:1,opacity:"1",transform:"translateY(0) scale(1)"}]);d.addAnimation([r,a])}else s.fromTo("opacity","1","0")}else d.addAnimation(n);return d},tt=(t,o)=>{const{currentBreakpoint:i}=o,a=f(t),{wrapperAnimation:r,backdropAnimation:e}=void 0!==i?q(o):{backdropAnimation:I().fromTo("opacity",.01,"var(--backdrop-opacity)").beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"]),wrapperAnimation:I().keyframes([{offset:0,opacity:.01,transform:"translateY(40px)"},{offset:1,opacity:1,transform:"translateY(0px)"}])};return e.addElement(a.querySelector("ion-backdrop")),r.addElement(a.querySelector(".modal-wrapper")),I().addElement(t).easing("cubic-bezier(0.36,0.66,0.04,1)").duration(280).addAnimation([e,r])},ot=(t,o)=>{const{currentBreakpoint:i}=o,a=f(t),{wrapperAnimation:r,backdropAnimation:e}=void 0!==i?J(o):{backdropAnimation:I().fromTo("opacity","var(--backdrop-opacity)",0),wrapperAnimation:I().keyframes([{offset:0,opacity:.99,transform:"translateY(0px)"},{offset:1,opacity:0,transform:"translateY(40px)"}])};return e.addElement(a.querySelector("ion-backdrop")),r.addElement(a.querySelector(".modal-wrapper")),I().easing("cubic-bezier(0.47,0,0.745,0.715)").duration(200).addAnimation([e,r])},it=class{constructor(i){t(this,i),this.didPresent=o(this,"ionModalDidPresent",7),this.willPresent=o(this,"ionModalWillPresent",7),this.willDismiss=o(this,"ionModalWillDismiss",7),this.didDismiss=o(this,"ionModalDidDismiss",7),this.ionBreakpointDidChange=o(this,"ionBreakpointDidChange",7),this.didPresentShorthand=o(this,"didPresent",7),this.willPresentShorthand=o(this,"willPresent",7),this.willDismissShorthand=o(this,"willDismiss",7),this.didDismissShorthand=o(this,"didDismiss",7),this.ionMount=o(this,"ionMount",7),this.triggerController=A(),this.coreDelegate=c(),this.isSheetModal=!1,this.inheritedAttributes={},this.inline=!1,this.gestureAnimationDismissing=!1,this.onHandleClick=()=>{const{sheetTransition:t,handleBehavior:o}=this;"cycle"===o&&void 0===t&&this.moveToNextBreakpoint()},this.onBackdropTap=()=>{const{sheetTransition:t}=this;void 0===t&&this.dismiss(void 0,D)},this.onLifecycle=t=>{const o=this.usersElement,i=at[t.type];if(o&&i){const a=new CustomEvent(i,{bubbles:!1,cancelable:!1,detail:t.detail});o.dispatchEvent(a)}},this.presented=!1,this.hasController=!1,this.overlayIndex=void 0,this.delegate=void 0,this.keyboardClose=!0,this.enterAnimation=void 0,this.leaveAnimation=void 0,this.breakpoints=void 0,this.initialBreakpoint=void 0,this.backdropBreakpoint=0,this.handle=void 0,this.handleBehavior="none",this.component=void 0,this.componentProps=void 0,this.cssClass=void 0,this.backdropDismiss=!0,this.showBackdrop=!0,this.animated=!0,this.presentingElement=void 0,this.htmlAttributes=void 0,this.isOpen=!1,this.trigger=void 0,this.keepContentsMounted=!1,this.canDismiss=!0}onIsOpenChange(t,o){!0===t&&!1===o?this.present():!1===t&&!0===o&&this.dismiss()}triggerChanged(){const{trigger:t,el:o,triggerController:i}=this;t&&i.addClickListener(o,t)}breakpointsChanged(t){void 0!==t&&(this.sortedBreakpoints=t.sort(((t,o)=>t-o)))}connectedCallback(){const{el:t}=this;B(t),this.triggerChanged()}disconnectedCallback(){this.triggerController.removeClickListener()}componentWillLoad(){const{breakpoints:t,initialBreakpoint:o,el:i}=this,a=this.isSheetModal=void 0!==t&&void 0!==o;this.inheritedAttributes=v(i,["aria-label","role"]),a&&(this.currentBreakpoint=this.initialBreakpoint),void 0===t||void 0===o||t.includes(o)||g("Your breakpoints array must include the initialBreakpoint value."),Y(i)}componentDidLoad(){!0===this.isOpen&&w((()=>this.present())),this.breakpointsChanged(this.breakpoints)}getDelegate(t=!1){if(this.workingDelegate&&!t)return{delegate:this.workingDelegate,inline:this.inline};const o=this.inline=null!==this.el.parentNode&&!this.hasController;return{inline:o,delegate:this.workingDelegate=o?this.delegate||this.coreDelegate:this.delegate}}async checkCanDismiss(t,o){const{canDismiss:i}=this;return"function"==typeof i?i(t,o):i}async present(){if(this.presented)return;const{presentingElement:t,el:o}=this;void 0!==this.currentTransition&&await this.currentTransition,this.currentBreakpoint=this.initialBreakpoint;const{inline:a,delegate:r}=this.getDelegate(!0);this.usersElement=await m(r,o,this.component,["ion-page"],this.componentProps,a),this.ionMount.emit(),x(o)?await O(this.usersElement):this.keepContentsMounted||await P(),i((()=>this.el.classList.add("show-modal"))),this.currentTransition=j(this,"modalEnter",Q,tt,{presentingEl:t,currentBreakpoint:this.initialBreakpoint,backdropBreakpoint:this.backdropBreakpoint}),"undefined"!=typeof window&&(this.keyboardOpenCallback=()=>{this.gesture&&(this.gesture.enable(!1),w((()=>{this.gesture&&this.gesture.enable(!0)})))},window.addEventListener(z,this.keyboardOpenCallback));const e=void 0!==t;e&&"ios"===$(this)&&(this.statusBarStyle=await K.getStyle(),Z()),await this.currentTransition,this.isSheetModal?this.initSheetGesture():e&&this.initSwipeToClose(),this.currentTransition=void 0}initSwipeToClose(){var t;if("ios"!==$(this))return;const{el:o}=this,i=this.leaveAnimation||T.get("modalLeave",X),a=this.animation=i(o,{presentingEl:this.presentingElement});if(!p(o))return void l(o);const r=null!==(t=this.statusBarStyle)&&void 0!==t?t:N.Default;this.gesture=((t,o,i,a)=>{const r=.5,e=t.offsetHeight;let p=!1,l=!1,c=null,m=null,b=!0,w=0;const v=L({el:t,gestureName:"modalSwipeToClose",gesturePriority:39,direction:"y",threshold:10,canStart:t=>{const o=t.event.target;if(null===o||!o.closest)return!0;if(c=s(o),c){if(n(c)){const t=f(c);m=t.querySelector(".inner-scroll")}else m=c;return!c.querySelector("ion-refresher")&&0===m.scrollTop}return null===o.closest("ion-footer")},onStart:i=>{const{deltaY:a}=i;b=!c||!n(c)||c.scrollY,l=void 0!==t.canDismiss&&!0!==t.canDismiss,a>0&&c&&d(c),o.progressStart(!0,p?1:0)},onMove:t=>{const{deltaY:a}=t;a>0&&c&&d(c);const s=t.deltaY/e,n=s>=0&&l,h=n?.2:.9999,p=n?_(s/h):s,m=u(1e-4,p,h);o.progressStep(m),m>=r&&w<r?F(i):m<r&&w>=r&&Z(),w=m},onEnd:i=>{const s=i.velocityY,n=i.deltaY/e,d=n>=0&&l,m=d?.2:.9999,f=d?_(n/m):n,w=u(1e-4,f,m),x=!d&&(i.deltaY+1e3*s)/e>=r;let g=x?-.001:.001;x?(o.easing("cubic-bezier(0.32, 0.72, 0, 1)"),g+=W([0,0],[.32,.72],[0,1],[1,1],w)[0]):(o.easing("cubic-bezier(1, 0, 0.68, 0.28)"),g+=W([0,0],[1,0],[.68,.28],[1,1],w)[0]);const k=U(x?n*e:(1-w)*e,s);p=x,v.enable(!1),c&&h(c,b),o.onFinish((()=>{x||v.enable(!0)})).progressEnd(x?1:0,g,k),d&&w>m/4?G(t,o):x&&a()}});return v})(o,a,r,(()=>{this.gestureAnimationDismissing=!0,this.animation.onFinish((async()=>{await this.dismiss(void 0,y),this.gestureAnimationDismissing=!1}))})),this.gesture.enable(!0)}initSheetGesture(){const{wrapperEl:t,initialBreakpoint:o,backdropBreakpoint:i}=this;if(!t||void 0===o)return;const a=this.enterAnimation||T.get("modalEnter",Q),r=this.animation=a(this.el,{presentingEl:this.presentingElement,currentBreakpoint:o,backdropBreakpoint:i});r.progressStart(!0,1);const{gesture:e,moveSheetToBreakpoint:s}=((t,o,i,a,r,e,s=[],n,d,h)=>{const p={WRAPPER_KEYFRAMES:[{offset:0,transform:"translateY(0%)"},{offset:1,transform:"translateY(100%)"}],BACKDROP_KEYFRAMES:0!==r?[{offset:0,opacity:"var(--backdrop-opacity)"},{offset:1-r,opacity:0},{offset:1,opacity:0}]:[{offset:0,opacity:"var(--backdrop-opacity)"},{offset:1,opacity:.01}]},l=t.querySelector("ion-content"),c=i.clientHeight;let m=a,b=0,f=!1;const v=e.childAnimations.find((t=>"wrapperAnimation"===t.id)),x=e.childAnimations.find((t=>"backdropAnimation"===t.id)),g=s[s.length-1],k=s[0],y=()=>{t.style.setProperty("pointer-events","auto"),o.style.setProperty("pointer-events","auto"),t.classList.remove("ion-disable-focus-trap")},A=()=>{t.style.setProperty("pointer-events","none"),o.style.setProperty("pointer-events","none"),t.classList.add("ion-disable-focus-trap")};v&&x&&(v.keyframes([...p.WRAPPER_KEYFRAMES]),x.keyframes([...p.BACKDROP_KEYFRAMES]),e.progressStart(!0,1-m),m>r?y():A()),l&&m!==g&&(l.scrollY=!1);const D=o=>{const{breakpoint:i,canDismiss:a,breakpointOffset:n,animated:c}=o,b=a&&0===i,f=b?m:i,u=0!==f;return m=0,v&&x&&(v.keyframes([{offset:0,transform:`translateY(${100*n}%)`},{offset:1,transform:`translateY(${100*(1-f)}%)`}]),x.keyframes([{offset:0,opacity:`calc(var(--backdrop-opacity) * ${V(1-n,r)})`},{offset:1,opacity:`calc(var(--backdrop-opacity) * ${V(f,r)})`}]),e.progressStep(0)),B.enable(!1),b?G(t,e):u||d(),new Promise((t=>{e.onFinish((()=>{u?v&&x?w((()=>{v.keyframes([...p.WRAPPER_KEYFRAMES]),x.keyframes([...p.BACKDROP_KEYFRAMES]),e.progressStart(!0,1-f),m=f,h(m),l&&m===s[s.length-1]&&(l.scrollY=!0),m>r?y():A(),B.enable(!0),t()})):(B.enable(!0),t()):t()}),{oneTimeCallback:!0}).progressEnd(1,0,c?500:0)}))},B=L({el:i,gestureName:"modalSheet",gesturePriority:40,direction:"y",threshold:10,canStart:t=>{const o=t.event.target.closest("ion-content");return m=n(),1!==m||!o},onStart:()=>{f=void 0!==t.canDismiss&&!0!==t.canDismiss&&0===k,l&&(l.scrollY=!1),w((()=>{t.focus()})),e.progressStart(!0,1-m)},onMove:t=>{const o=s.length>1?1-s[1]:void 0,i=1-m+t.deltaY/c,a=void 0!==o&&i>=o&&f,r=a?.95:.9999,n=a&&void 0!==o?o+_((i-o)/(r-o)):i;b=u(1e-4,n,r),e.progressStep(b)},onEnd:t=>{const o=m-(t.deltaY+350*t.velocityY)/c,i=s.reduce(((t,i)=>Math.abs(i-o)<Math.abs(t-o)?i:t));D({breakpoint:i,breakpointOffset:b,canDismiss:f,animated:!0})}});return{gesture:B,moveSheetToBreakpoint:D}})(this.el,this.backdropEl,t,o,i,r,this.sortedBreakpoints,(()=>{var t;return null!==(t=this.currentBreakpoint)&&void 0!==t?t:0}),(()=>this.sheetOnDismiss()),(t=>{this.currentBreakpoint!==t&&(this.currentBreakpoint=t,this.ionBreakpointDidChange.emit({breakpoint:t}))}));this.gesture=e,this.moveSheetToBreakpoint=s,this.gesture.enable(!0)}sheetOnDismiss(){this.gestureAnimationDismissing=!0,this.animation.onFinish((async()=>{this.currentBreakpoint=0,this.ionBreakpointDidChange.emit({breakpoint:this.currentBreakpoint}),await this.dismiss(void 0,y),this.gestureAnimationDismissing=!1}))}async dismiss(t,o){var a;if(this.gestureAnimationDismissing&&o!==y)return!1;if("handler"!==o&&!await this.checkCanDismiss(t,o))return!1;const{presentingElement:r}=this;void 0!==r&&"ios"===$(this)&&F(this.statusBarStyle),"undefined"!=typeof window&&this.keyboardOpenCallback&&(window.removeEventListener(z,this.keyboardOpenCallback),this.keyboardOpenCallback=void 0),void 0!==this.currentTransition&&await this.currentTransition;const e=M.get(this)||[];this.currentTransition=E(this,t,o,"modalLeave",X,ot,{presentingEl:r,currentBreakpoint:null!==(a=this.currentBreakpoint)&&void 0!==a?a:this.initialBreakpoint,backdropBreakpoint:this.backdropBreakpoint});const s=await this.currentTransition;if(s){const{delegate:t}=this.getDelegate();await b(t,this.usersElement),i((()=>this.el.classList.remove("show-modal"))),this.animation&&this.animation.destroy(),this.gesture&&this.gesture.destroy(),e.forEach((t=>t.destroy()))}return this.currentBreakpoint=void 0,this.currentTransition=void 0,this.animation=void 0,s}onDidDismiss(){return C(this.el,"ionModalDidDismiss")}onWillDismiss(){return C(this.el,"ionModalWillDismiss")}async setCurrentBreakpoint(t){if(!this.isSheetModal)return void g("setCurrentBreakpoint is only supported on sheet modals.");if(!this.breakpoints.includes(t))return void g(`Attempted to set invalid breakpoint value ${t}. Please double check that the breakpoint value is part of your defined breakpoints.`);const{currentBreakpoint:o,moveSheetToBreakpoint:i,canDismiss:a,breakpoints:r,animated:e}=this;o!==t&&i&&(this.sheetTransition=i({breakpoint:t,breakpointOffset:1-o,canDismiss:void 0!==a&&!0!==a&&0===r[0],animated:e}),await this.sheetTransition,this.sheetTransition=void 0)}async getCurrentBreakpoint(){return this.currentBreakpoint}async moveToNextBreakpoint(){const{breakpoints:t,currentBreakpoint:o}=this;if(!t||null==o)return!1;const i=t.filter((t=>0!==t)),a=i.indexOf(o),r=i[(a+1)%i.length];return await this.setCurrentBreakpoint(r),!0}render(){const{handle:t,isSheetModal:o,presentingElement:i,htmlAttributes:e,handleBehavior:s,inheritedAttributes:n}=this,d=!1!==t&&o,h=$(this),p=void 0!==i&&"ios"===h,l="cycle"===s;return a(r,Object.assign({"no-router":!0,tabindex:"-1"},e,{style:{zIndex:`${2e4+this.overlayIndex}`},class:Object.assign({[h]:!0,"modal-default":!p&&!o,"modal-card":p,"modal-sheet":o,"overlay-hidden":!0},S(this.cssClass)),onIonBackdropTap:this.onBackdropTap,onIonModalDidPresent:this.onLifecycle,onIonModalWillPresent:this.onLifecycle,onIonModalWillDismiss:this.onLifecycle,onIonModalDidDismiss:this.onLifecycle}),a("ion-backdrop",{ref:t=>this.backdropEl=t,visible:this.showBackdrop,tappable:this.backdropDismiss,part:"backdrop"}),"ios"===h&&a("div",{class:"modal-shadow"}),a("div",Object.assign({role:"dialog"},n,{"aria-modal":"true",class:"modal-wrapper ion-overlay-wrapper",part:"content",ref:t=>this.wrapperEl=t}),d&&a("button",{class:"modal-handle",tabIndex:l?0:-1,"aria-label":"Activate to adjust the size of the dialog overlaying the screen",onClick:l?this.onHandleClick:void 0,part:"handle"}),a("slot",null)))}get el(){return e(this)}static get watchers(){return{isOpen:["onIsOpenChange"],trigger:["triggerChanged"]}}},at={ionModalDidPresent:"ionViewDidEnter",ionModalWillPresent:"ionViewWillEnter",ionModalWillDismiss:"ionViewWillLeave",ionModalDidDismiss:"ionViewDidLeave"};it.style={ios:':host{--width:100%;--min-width:auto;--max-width:auto;--height:100%;--min-height:auto;--max-height:auto;--overflow:hidden;--border-radius:0;--border-width:0;--border-style:none;--border-color:transparent;--background:var(--ion-background-color, #fff);--box-shadow:none;--backdrop-opacity:0;left:0;right:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:absolute;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;outline:none;color:var(--ion-text-color, #000);contain:strict}.modal-wrapper,ion-backdrop{pointer-events:auto}:host(.overlay-hidden){display:none}.modal-wrapper,.modal-shadow{border-radius:var(--border-radius);width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);overflow:var(--overflow);z-index:10}.modal-shadow{position:absolute;background:transparent}@media only screen and (min-width: 768px) and (min-height: 600px){:host{--width:600px;--height:500px;--ion-safe-area-top:0px;--ion-safe-area-bottom:0px;--ion-safe-area-right:0px;--ion-safe-area-left:0px}}@media only screen and (min-width: 768px) and (min-height: 768px){:host{--width:600px;--height:600px}}.modal-handle{left:0px;right:0px;top:5px;border-radius:8px;-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;position:absolute;width:36px;height:5px;-webkit-transform:translateZ(0);transform:translateZ(0);border:0;background:var(--ion-color-step-350, #c0c0be);cursor:pointer;z-index:11}.modal-handle::before{-webkit-padding-start:4px;padding-inline-start:4px;-webkit-padding-end:4px;padding-inline-end:4px;padding-top:4px;padding-bottom:4px;position:absolute;width:36px;height:5px;-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%);content:""}:host(.modal-sheet){--height:calc(100% - (var(--ion-safe-area-top) + 10px))}:host(.modal-sheet) .modal-wrapper,:host(.modal-sheet) .modal-shadow{position:absolute;bottom:0}:host{--backdrop-opacity:var(--ion-backdrop-opacity, 0.4)}:host(.modal-card),:host(.modal-sheet){--border-radius:10px}@media only screen and (min-width: 768px) and (min-height: 600px){:host{--border-radius:10px}}.modal-wrapper{-webkit-transform:translate3d(0, 100%, 0);transform:translate3d(0, 100%, 0)}@media screen and (max-width: 767px){@supports (width: max(0px, 1px)){:host(.modal-card){--height:calc(100% - max(30px, var(--ion-safe-area-top)) - 10px)}}@supports not (width: max(0px, 1px)){:host(.modal-card){--height:calc(100% - 40px)}}:host(.modal-card) .modal-wrapper{border-top-left-radius:var(--border-radius);border-top-right-radius:var(--border-radius);border-bottom-right-radius:0;border-bottom-left-radius:0}:host-context([dir=rtl]):host(.modal-card) .modal-wrapper,:host-context([dir=rtl]).modal-card .modal-wrapper{border-top-left-radius:var(--border-radius);border-top-right-radius:var(--border-radius);border-bottom-right-radius:0;border-bottom-left-radius:0}@supports selector(:dir(rtl)){:host(.modal-card) .modal-wrapper:dir(rtl){border-top-left-radius:var(--border-radius);border-top-right-radius:var(--border-radius);border-bottom-right-radius:0;border-bottom-left-radius:0}}:host(.modal-card){--backdrop-opacity:0;--width:100%;-ms-flex-align:end;align-items:flex-end}:host(.modal-card) .modal-shadow{display:none}:host(.modal-card) ion-backdrop{pointer-events:none}}@media screen and (min-width: 768px){:host(.modal-card){--width:calc(100% - 120px);--height:calc(100% - (120px + var(--ion-safe-area-top) + var(--ion-safe-area-bottom)));--max-width:720px;--max-height:1000px;--backdrop-opacity:0;--box-shadow:0px 0px 30px 10px rgba(0, 0, 0, 0.1);-webkit-transition:all 0.5s ease-in-out;transition:all 0.5s ease-in-out}:host(.modal-card) .modal-wrapper{-webkit-box-shadow:none;box-shadow:none}:host(.modal-card) .modal-shadow{-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow)}}:host(.modal-sheet) .modal-wrapper{border-top-left-radius:var(--border-radius);border-top-right-radius:var(--border-radius);border-bottom-right-radius:0;border-bottom-left-radius:0}:host-context([dir=rtl]):host(.modal-sheet) .modal-wrapper,:host-context([dir=rtl]).modal-sheet .modal-wrapper{border-top-left-radius:var(--border-radius);border-top-right-radius:var(--border-radius);border-bottom-right-radius:0;border-bottom-left-radius:0}@supports selector(:dir(rtl)){:host(.modal-sheet) .modal-wrapper:dir(rtl){border-top-left-radius:var(--border-radius);border-top-right-radius:var(--border-radius);border-bottom-right-radius:0;border-bottom-left-radius:0}}',md:':host{--width:100%;--min-width:auto;--max-width:auto;--height:100%;--min-height:auto;--max-height:auto;--overflow:hidden;--border-radius:0;--border-width:0;--border-style:none;--border-color:transparent;--background:var(--ion-background-color, #fff);--box-shadow:none;--backdrop-opacity:0;left:0;right:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:absolute;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;outline:none;color:var(--ion-text-color, #000);contain:strict}.modal-wrapper,ion-backdrop{pointer-events:auto}:host(.overlay-hidden){display:none}.modal-wrapper,.modal-shadow{border-radius:var(--border-radius);width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);overflow:var(--overflow);z-index:10}.modal-shadow{position:absolute;background:transparent}@media only screen and (min-width: 768px) and (min-height: 600px){:host{--width:600px;--height:500px;--ion-safe-area-top:0px;--ion-safe-area-bottom:0px;--ion-safe-area-right:0px;--ion-safe-area-left:0px}}@media only screen and (min-width: 768px) and (min-height: 768px){:host{--width:600px;--height:600px}}.modal-handle{left:0px;right:0px;top:5px;border-radius:8px;-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;position:absolute;width:36px;height:5px;-webkit-transform:translateZ(0);transform:translateZ(0);border:0;background:var(--ion-color-step-350, #c0c0be);cursor:pointer;z-index:11}.modal-handle::before{-webkit-padding-start:4px;padding-inline-start:4px;-webkit-padding-end:4px;padding-inline-end:4px;padding-top:4px;padding-bottom:4px;position:absolute;width:36px;height:5px;-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%);content:""}:host(.modal-sheet){--height:calc(100% - (var(--ion-safe-area-top) + 10px))}:host(.modal-sheet) .modal-wrapper,:host(.modal-sheet) .modal-shadow{position:absolute;bottom:0}:host{--backdrop-opacity:var(--ion-backdrop-opacity, 0.32)}@media only screen and (min-width: 768px) and (min-height: 600px){:host{--border-radius:2px;--box-shadow:0 28px 48px rgba(0, 0, 0, 0.4)}}.modal-wrapper{-webkit-transform:translate3d(0, 40px, 0);transform:translate3d(0, 40px, 0);opacity:0.01}'};export{it as ion_modal}
4
+ import{r as t,d as o,w as i,h as a,H as r,f as e}from"./p-64142d00.js";import{f as s,i as n,d,r as h,a as p,p as l}from"./p-b24aa895.js";import{C as c,a as m,d as b}from"./p-b34c1ae1.js";import{g as f,l as u,r as w,k as v,m as x}from"./p-63eb0acd.js";import{p as g}from"./p-1b8e1d03.js";import{g as k}from"./p-cc196b34.js";import{G as y,e as A,B as D,j as B,k as Y,f as j,n as M,g as E,h as C}from"./p-405dfcd1.js";import{g as S}from"./p-1d072d3d.js";import{e as O,w as P}from"./p-9efd3a45.js";import{b as $,c as T}from"./p-439a4f2f.js";import{KEYBOARD_DID_OPEN as z}from"./p-8cf94fc1.js";import{c as I}from"./p-94a4ce40.js";import{g as W}from"./p-7c2bac85.js";import{createGesture as L}from"./p-8b1be026.js";import{w as R}from"./p-b347cfd1.js";import"./p-185e427e.js";import"./p-419eb426.js";import"./p-e0b06b65.js";var N;!function(t){t.Dark="DARK",t.Light="LIGHT",t.Default="DEFAULT"}(N||(N={}));const K={getEngine(){const t=k();if(null==t?void 0:t.isPluginAvailable("StatusBar"))return t.Plugins.StatusBar},supportsDefaultStatusBarStyle(){const t=k();return!!(null==t?void 0:t.PluginHeaders)},setStyle(t){const o=this.getEngine();o&&o.setStyle(t)},getStyle:async function(){const t=this.getEngine();if(!t)return N.Default;const{style:o}=await t.getInfo();return o}},V=(t,o)=>{if(1===o)return 0;const i=1/(1-o);return t*i+-o*i},Z=()=>{!R||R.innerWidth>=768||!K.supportsDefaultStatusBarStyle()||K.setStyle({style:N.Dark})},F=(t=N.Default)=>{!R||R.innerWidth>=768||!K.supportsDefaultStatusBarStyle()||K.setStyle({style:t})},G=async(t,o)=>{"function"==typeof t.canDismiss&&await t.canDismiss(void 0,y)&&(o.isRunning()?o.onFinish((()=>{t.dismiss(void 0,"handler")}),{oneTimeCallback:!0}):t.dismiss(void 0,"handler"))},_=t=>.00255275*2.71828**(-14.9619*t)-1.00255*2.71828**(-.0380968*t)+1,H=.93,U=(t,o)=>u(400,t/Math.abs(1.1*o),500),q=t=>{const{currentBreakpoint:o,backdropBreakpoint:i}=t,a=void 0===i||i<o,r=a?`calc(var(--backdrop-opacity) * ${o})`:"0",e=I("backdropAnimation").fromTo("opacity",0,r);return a&&e.beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"]),{wrapperAnimation:I("wrapperAnimation").keyframes([{offset:0,opacity:1,transform:"translateY(100%)"},{offset:1,opacity:1,transform:`translateY(${100-100*o}%)`}]),backdropAnimation:e}},J=t=>{const{currentBreakpoint:o,backdropBreakpoint:i}=t,a=`calc(var(--backdrop-opacity) * ${V(o,i)})`,r=[{offset:0,opacity:a},{offset:1,opacity:0}],e=[{offset:0,opacity:a},{offset:i,opacity:0},{offset:1,opacity:0}],s=I("backdropAnimation").keyframes(0!==i?e:r);return{wrapperAnimation:I("wrapperAnimation").keyframes([{offset:0,opacity:1,transform:`translateY(${100-100*o}%)`},{offset:1,opacity:1,transform:"translateY(100%)"}]),backdropAnimation:s}},Q=(t,o)=>{const{presentingEl:i,currentBreakpoint:a}=o,r=f(t),{wrapperAnimation:e,backdropAnimation:s}=void 0!==a?q(o):{backdropAnimation:I().fromTo("opacity",.01,"var(--backdrop-opacity)").beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"]),wrapperAnimation:I().fromTo("transform","translateY(100vh)","translateY(0vh)")};s.addElement(r.querySelector("ion-backdrop")),e.addElement(r.querySelectorAll(".modal-wrapper, .modal-shadow")).beforeStyles({opacity:1});const n=I("entering-base").addElement(t).easing("cubic-bezier(0.32,0.72,0,1)").duration(500).addAnimation(e);if(i){const t=window.innerWidth<768,o="ION-MODAL"===i.tagName&&void 0!==i.presentingElement,a=f(i),r=I().beforeStyles({transform:"translateY(0)","transform-origin":"top center",overflow:"hidden"}),d=document.body;if(t){const t=CSS.supports("width","max(0px, 1px)")?"max(30px, var(--ion-safe-area-top))":"30px",a=`translateY(${o?"-10px":t}) scale(0.93)`;r.afterStyles({transform:a}).beforeAddWrite((()=>d.style.setProperty("background-color","black"))).addElement(i).keyframes([{offset:0,filter:"contrast(1)",transform:"translateY(0px) scale(1)",borderRadius:"0px"},{offset:1,filter:"contrast(0.85)",transform:a,borderRadius:"10px 10px 0 0"}]),n.addAnimation(r)}else if(n.addAnimation(s),o){const t=`translateY(-10px) scale(${o?H:1})`;r.afterStyles({transform:t}).addElement(a.querySelector(".modal-wrapper")).keyframes([{offset:0,filter:"contrast(1)",transform:"translateY(0) scale(1)"},{offset:1,filter:"contrast(0.85)",transform:t}]);const i=I().afterStyles({transform:t}).addElement(a.querySelector(".modal-shadow")).keyframes([{offset:0,opacity:"1",transform:"translateY(0) scale(1)"},{offset:1,opacity:"0",transform:t}]);n.addAnimation([r,i])}else e.fromTo("opacity","0","1")}else n.addAnimation(s);return n},X=(t,o,i=500)=>{const{presentingEl:a,currentBreakpoint:r}=o,e=f(t),{wrapperAnimation:s,backdropAnimation:n}=void 0!==r?J(o):{backdropAnimation:I().fromTo("opacity","var(--backdrop-opacity)",0),wrapperAnimation:I().fromTo("transform","translateY(0vh)","translateY(100vh)")};n.addElement(e.querySelector("ion-backdrop")),s.addElement(e.querySelectorAll(".modal-wrapper, .modal-shadow")).beforeStyles({opacity:1});const d=I("leaving-base").addElement(t).easing("cubic-bezier(0.32,0.72,0,1)").duration(i).addAnimation(s);if(a){const t=window.innerWidth<768,o="ION-MODAL"===a.tagName&&void 0!==a.presentingElement,i=f(a),r=I().beforeClearStyles(["transform"]).afterClearStyles(["transform"]).onFinish((t=>{1===t&&(a.style.setProperty("overflow",""),Array.from(e.querySelectorAll("ion-modal:not(.overlay-hidden)")).filter((t=>void 0!==t.presentingElement)).length<=1&&e.style.setProperty("background-color",""))})),e=document.body;if(t){const t=CSS.supports("width","max(0px, 1px)")?"max(30px, var(--ion-safe-area-top))":"30px",i=`translateY(${o?"-10px":t}) scale(0.93)`;r.addElement(a).keyframes([{offset:0,filter:"contrast(0.85)",transform:i,borderRadius:"10px 10px 0 0"},{offset:1,filter:"contrast(1)",transform:"translateY(0px) scale(1)",borderRadius:"0px"}]),d.addAnimation(r)}else if(d.addAnimation(n),o){const t=`translateY(-10px) scale(${o?H:1})`;r.addElement(i.querySelector(".modal-wrapper")).afterStyles({transform:"translate3d(0, 0, 0)"}).keyframes([{offset:0,filter:"contrast(0.85)",transform:t},{offset:1,filter:"contrast(1)",transform:"translateY(0) scale(1)"}]);const a=I().addElement(i.querySelector(".modal-shadow")).afterStyles({transform:"translateY(0) scale(1)"}).keyframes([{offset:0,opacity:"0",transform:t},{offset:1,opacity:"1",transform:"translateY(0) scale(1)"}]);d.addAnimation([r,a])}else s.fromTo("opacity","1","0")}else d.addAnimation(n);return d},tt=(t,o)=>{const{currentBreakpoint:i}=o,a=f(t),{wrapperAnimation:r,backdropAnimation:e}=void 0!==i?q(o):{backdropAnimation:I().fromTo("opacity",.01,"var(--backdrop-opacity)").beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"]),wrapperAnimation:I().keyframes([{offset:0,opacity:.01,transform:"translateY(40px)"},{offset:1,opacity:1,transform:"translateY(0px)"}])};return e.addElement(a.querySelector("ion-backdrop")),r.addElement(a.querySelector(".modal-wrapper")),I().addElement(t).easing("cubic-bezier(0.36,0.66,0.04,1)").duration(280).addAnimation([e,r])},ot=(t,o)=>{const{currentBreakpoint:i}=o,a=f(t),{wrapperAnimation:r,backdropAnimation:e}=void 0!==i?J(o):{backdropAnimation:I().fromTo("opacity","var(--backdrop-opacity)",0),wrapperAnimation:I().keyframes([{offset:0,opacity:.99,transform:"translateY(0px)"},{offset:1,opacity:0,transform:"translateY(40px)"}])};return e.addElement(a.querySelector("ion-backdrop")),r.addElement(a.querySelector(".modal-wrapper")),I().easing("cubic-bezier(0.47,0,0.745,0.715)").duration(200).addAnimation([e,r])},it=class{constructor(i){t(this,i),this.didPresent=o(this,"ionModalDidPresent",7),this.willPresent=o(this,"ionModalWillPresent",7),this.willDismiss=o(this,"ionModalWillDismiss",7),this.didDismiss=o(this,"ionModalDidDismiss",7),this.ionBreakpointDidChange=o(this,"ionBreakpointDidChange",7),this.didPresentShorthand=o(this,"didPresent",7),this.willPresentShorthand=o(this,"willPresent",7),this.willDismissShorthand=o(this,"willDismiss",7),this.didDismissShorthand=o(this,"didDismiss",7),this.ionMount=o(this,"ionMount",7),this.triggerController=A(),this.coreDelegate=c(),this.isSheetModal=!1,this.inheritedAttributes={},this.inline=!1,this.gestureAnimationDismissing=!1,this.onHandleClick=()=>{const{sheetTransition:t,handleBehavior:o}=this;"cycle"===o&&void 0===t&&this.moveToNextBreakpoint()},this.onBackdropTap=()=>{const{sheetTransition:t}=this;void 0===t&&this.dismiss(void 0,D)},this.onLifecycle=t=>{const o=this.usersElement,i=at[t.type];if(o&&i){const a=new CustomEvent(i,{bubbles:!1,cancelable:!1,detail:t.detail});o.dispatchEvent(a)}},this.presented=!1,this.hasController=!1,this.overlayIndex=void 0,this.delegate=void 0,this.keyboardClose=!0,this.enterAnimation=void 0,this.leaveAnimation=void 0,this.breakpoints=void 0,this.initialBreakpoint=void 0,this.backdropBreakpoint=0,this.handle=void 0,this.handleBehavior="none",this.component=void 0,this.componentProps=void 0,this.cssClass=void 0,this.backdropDismiss=!0,this.showBackdrop=!0,this.animated=!0,this.presentingElement=void 0,this.htmlAttributes=void 0,this.isOpen=!1,this.trigger=void 0,this.keepContentsMounted=!1,this.canDismiss=!0}onIsOpenChange(t,o){!0===t&&!1===o?this.present():!1===t&&!0===o&&this.dismiss()}triggerChanged(){const{trigger:t,el:o,triggerController:i}=this;t&&i.addClickListener(o,t)}breakpointsChanged(t){void 0!==t&&(this.sortedBreakpoints=t.sort(((t,o)=>t-o)))}connectedCallback(){const{el:t}=this;B(t),this.triggerChanged()}disconnectedCallback(){this.triggerController.removeClickListener()}componentWillLoad(){const{breakpoints:t,initialBreakpoint:o,el:i}=this,a=this.isSheetModal=void 0!==t&&void 0!==o;this.inheritedAttributes=v(i,["aria-label","role"]),a&&(this.currentBreakpoint=this.initialBreakpoint),void 0===t||void 0===o||t.includes(o)||g("Your breakpoints array must include the initialBreakpoint value."),Y(i)}componentDidLoad(){!0===this.isOpen&&w((()=>this.present())),this.breakpointsChanged(this.breakpoints)}getDelegate(t=!1){if(this.workingDelegate&&!t)return{delegate:this.workingDelegate,inline:this.inline};const o=this.inline=null!==this.el.parentNode&&!this.hasController;return{inline:o,delegate:this.workingDelegate=o?this.delegate||this.coreDelegate:this.delegate}}async checkCanDismiss(t,o){const{canDismiss:i}=this;return"function"==typeof i?i(t,o):i}async present(){if(this.presented)return;const{presentingElement:t,el:o}=this;void 0!==this.currentTransition&&await this.currentTransition,this.currentBreakpoint=this.initialBreakpoint;const{inline:a,delegate:r}=this.getDelegate(!0);this.usersElement=await m(r,o,this.component,["ion-page"],this.componentProps,a),this.ionMount.emit(),x(o)?await O(this.usersElement):this.keepContentsMounted||await P(),i((()=>this.el.classList.add("show-modal"))),this.currentTransition=j(this,"modalEnter",Q,tt,{presentingEl:t,currentBreakpoint:this.initialBreakpoint,backdropBreakpoint:this.backdropBreakpoint}),"undefined"!=typeof window&&(this.keyboardOpenCallback=()=>{this.gesture&&(this.gesture.enable(!1),w((()=>{this.gesture&&this.gesture.enable(!0)})))},window.addEventListener(z,this.keyboardOpenCallback));const e=void 0!==t;e&&"ios"===$(this)&&(this.statusBarStyle=await K.getStyle(),Z()),await this.currentTransition,this.isSheetModal?this.initSheetGesture():e&&this.initSwipeToClose(),this.currentTransition=void 0}initSwipeToClose(){var t;if("ios"!==$(this))return;const{el:o}=this,i=this.leaveAnimation||T.get("modalLeave",X),a=this.animation=i(o,{presentingEl:this.presentingElement});if(!p(o))return void l(o);const r=null!==(t=this.statusBarStyle)&&void 0!==t?t:N.Default;this.gesture=((t,o,i,a)=>{const r=.5,e=t.offsetHeight;let p=!1,l=!1,c=null,m=null,b=!0,w=0;const v=L({el:t,gestureName:"modalSwipeToClose",gesturePriority:39,direction:"y",threshold:10,canStart:t=>{const o=t.event.target;if(null===o||!o.closest)return!0;if(c=s(o),c){if(n(c)){const t=f(c);m=t.querySelector(".inner-scroll")}else m=c;return!c.querySelector("ion-refresher")&&0===m.scrollTop}return null===o.closest("ion-footer")},onStart:i=>{const{deltaY:a}=i;b=!c||!n(c)||c.scrollY,l=void 0!==t.canDismiss&&!0!==t.canDismiss,a>0&&c&&d(c),o.progressStart(!0,p?1:0)},onMove:t=>{const{deltaY:a}=t;a>0&&c&&d(c);const s=t.deltaY/e,n=s>=0&&l,h=n?.2:.9999,p=n?_(s/h):s,m=u(1e-4,p,h);o.progressStep(m),m>=r&&w<r?F(i):m<r&&w>=r&&Z(),w=m},onEnd:i=>{const s=i.velocityY,n=i.deltaY/e,d=n>=0&&l,m=d?.2:.9999,f=d?_(n/m):n,w=u(1e-4,f,m),x=!d&&(i.deltaY+1e3*s)/e>=r;let g=x?-.001:.001;x?(o.easing("cubic-bezier(0.32, 0.72, 0, 1)"),g+=W([0,0],[.32,.72],[0,1],[1,1],w)[0]):(o.easing("cubic-bezier(1, 0, 0.68, 0.28)"),g+=W([0,0],[1,0],[.68,.28],[1,1],w)[0]);const k=U(x?n*e:(1-w)*e,s);p=x,v.enable(!1),c&&h(c,b),o.onFinish((()=>{x||v.enable(!0)})).progressEnd(x?1:0,g,k),d&&w>m/4?G(t,o):x&&a()}});return v})(o,a,r,(()=>{this.gestureAnimationDismissing=!0,this.animation.onFinish((async()=>{await this.dismiss(void 0,y),this.gestureAnimationDismissing=!1}))})),this.gesture.enable(!0)}initSheetGesture(){const{wrapperEl:t,initialBreakpoint:o,backdropBreakpoint:i}=this;if(!t||void 0===o)return;const a=this.enterAnimation||T.get("modalEnter",Q),r=this.animation=a(this.el,{presentingEl:this.presentingElement,currentBreakpoint:o,backdropBreakpoint:i});r.progressStart(!0,1);const{gesture:e,moveSheetToBreakpoint:s}=((t,o,i,a,r,e,s=[],n,d,h)=>{const p={WRAPPER_KEYFRAMES:[{offset:0,transform:"translateY(0%)"},{offset:1,transform:"translateY(100%)"}],BACKDROP_KEYFRAMES:0!==r?[{offset:0,opacity:"var(--backdrop-opacity)"},{offset:1-r,opacity:0},{offset:1,opacity:0}]:[{offset:0,opacity:"var(--backdrop-opacity)"},{offset:1,opacity:.01}]},l=t.querySelector("ion-content"),c=i.clientHeight;let m=a,b=0,f=!1;const v=e.childAnimations.find((t=>"wrapperAnimation"===t.id)),x=e.childAnimations.find((t=>"backdropAnimation"===t.id)),g=s[s.length-1],k=s[0],y=()=>{t.style.setProperty("pointer-events","auto"),o.style.setProperty("pointer-events","auto"),t.classList.remove("ion-disable-focus-trap")},A=()=>{t.style.setProperty("pointer-events","none"),o.style.setProperty("pointer-events","none"),t.classList.add("ion-disable-focus-trap")};v&&x&&(v.keyframes([...p.WRAPPER_KEYFRAMES]),x.keyframes([...p.BACKDROP_KEYFRAMES]),e.progressStart(!0,1-m),m>r?y():A()),l&&m!==g&&(l.scrollY=!1);const D=o=>{const{breakpoint:i,canDismiss:a,breakpointOffset:n,animated:c}=o,b=a&&0===i,f=b?m:i,u=0!==f;return m=0,v&&x&&(v.keyframes([{offset:0,transform:`translateY(${100*n}%)`},{offset:1,transform:`translateY(${100*(1-f)}%)`}]),x.keyframes([{offset:0,opacity:`calc(var(--backdrop-opacity) * ${V(1-n,r)})`},{offset:1,opacity:`calc(var(--backdrop-opacity) * ${V(f,r)})`}]),e.progressStep(0)),B.enable(!1),b?G(t,e):u||d(),new Promise((t=>{e.onFinish((()=>{u?v&&x?w((()=>{v.keyframes([...p.WRAPPER_KEYFRAMES]),x.keyframes([...p.BACKDROP_KEYFRAMES]),e.progressStart(!0,1-f),m=f,h(m),l&&m===s[s.length-1]&&(l.scrollY=!0),m>r?y():A(),B.enable(!0),t()})):(B.enable(!0),t()):t()}),{oneTimeCallback:!0}).progressEnd(1,0,c?500:0)}))},B=L({el:i,gestureName:"modalSheet",gesturePriority:40,direction:"y",threshold:10,canStart:t=>{const o=t.event.target.closest("ion-content");return m=n(),1!==m||!o},onStart:()=>{f=void 0!==t.canDismiss&&!0!==t.canDismiss&&0===k,l&&(l.scrollY=!1),w((()=>{t.focus()})),e.progressStart(!0,1-m)},onMove:t=>{const o=s.length>1?1-s[1]:void 0,i=1-m+t.deltaY/c,a=void 0!==o&&i>=o&&f,r=a?.95:.9999,n=a&&void 0!==o?o+_((i-o)/(r-o)):i;b=u(1e-4,n,r),e.progressStep(b)},onEnd:t=>{const o=m-(t.deltaY+350*t.velocityY)/c,i=s.reduce(((t,i)=>Math.abs(i-o)<Math.abs(t-o)?i:t));D({breakpoint:i,breakpointOffset:b,canDismiss:f,animated:!0})}});return{gesture:B,moveSheetToBreakpoint:D}})(this.el,this.backdropEl,t,o,i,r,this.sortedBreakpoints,(()=>{var t;return null!==(t=this.currentBreakpoint)&&void 0!==t?t:0}),(()=>this.sheetOnDismiss()),(t=>{this.currentBreakpoint!==t&&(this.currentBreakpoint=t,this.ionBreakpointDidChange.emit({breakpoint:t}))}));this.gesture=e,this.moveSheetToBreakpoint=s,this.gesture.enable(!0)}sheetOnDismiss(){this.gestureAnimationDismissing=!0,this.animation.onFinish((async()=>{this.currentBreakpoint=0,this.ionBreakpointDidChange.emit({breakpoint:this.currentBreakpoint}),await this.dismiss(void 0,y),this.gestureAnimationDismissing=!1}))}async dismiss(t,o){var a;if(this.gestureAnimationDismissing&&o!==y)return!1;if("handler"!==o&&!await this.checkCanDismiss(t,o))return!1;const{presentingElement:r}=this;void 0!==r&&"ios"===$(this)&&F(this.statusBarStyle),"undefined"!=typeof window&&this.keyboardOpenCallback&&(window.removeEventListener(z,this.keyboardOpenCallback),this.keyboardOpenCallback=void 0),void 0!==this.currentTransition&&await this.currentTransition;const e=M.get(this)||[];this.currentTransition=E(this,t,o,"modalLeave",X,ot,{presentingEl:r,currentBreakpoint:null!==(a=this.currentBreakpoint)&&void 0!==a?a:this.initialBreakpoint,backdropBreakpoint:this.backdropBreakpoint});const s=await this.currentTransition;if(s){const{delegate:t}=this.getDelegate();await b(t,this.usersElement),i((()=>this.el.classList.remove("show-modal"))),this.animation&&this.animation.destroy(),this.gesture&&this.gesture.destroy(),e.forEach((t=>t.destroy()))}return this.currentBreakpoint=void 0,this.currentTransition=void 0,this.animation=void 0,s}onDidDismiss(){return C(this.el,"ionModalDidDismiss")}onWillDismiss(){return C(this.el,"ionModalWillDismiss")}async setCurrentBreakpoint(t){if(!this.isSheetModal)return void g("setCurrentBreakpoint is only supported on sheet modals.");if(!this.breakpoints.includes(t))return void g(`Attempted to set invalid breakpoint value ${t}. Please double check that the breakpoint value is part of your defined breakpoints.`);const{currentBreakpoint:o,moveSheetToBreakpoint:i,canDismiss:a,breakpoints:r,animated:e}=this;o!==t&&i&&(this.sheetTransition=i({breakpoint:t,breakpointOffset:1-o,canDismiss:void 0!==a&&!0!==a&&0===r[0],animated:e}),await this.sheetTransition,this.sheetTransition=void 0)}async getCurrentBreakpoint(){return this.currentBreakpoint}async moveToNextBreakpoint(){const{breakpoints:t,currentBreakpoint:o}=this;if(!t||null==o)return!1;const i=t.filter((t=>0!==t)),a=i.indexOf(o),r=i[(a+1)%i.length];return await this.setCurrentBreakpoint(r),!0}render(){const{handle:t,isSheetModal:o,presentingElement:i,htmlAttributes:e,handleBehavior:s,inheritedAttributes:n}=this,d=!1!==t&&o,h=$(this),p=void 0!==i&&"ios"===h,l="cycle"===s;return a(r,Object.assign({"no-router":!0,tabindex:"-1"},e,{style:{zIndex:`${2e4+this.overlayIndex}`},class:Object.assign({[h]:!0,"modal-default":!p&&!o,"modal-card":p,"modal-sheet":o,"overlay-hidden":!0},S(this.cssClass)),onIonBackdropTap:this.onBackdropTap,onIonModalDidPresent:this.onLifecycle,onIonModalWillPresent:this.onLifecycle,onIonModalWillDismiss:this.onLifecycle,onIonModalDidDismiss:this.onLifecycle}),a("ion-backdrop",{ref:t=>this.backdropEl=t,visible:this.showBackdrop,tappable:this.backdropDismiss,part:"backdrop"}),"ios"===h&&a("div",{class:"modal-shadow"}),a("div",Object.assign({role:"dialog"},n,{"aria-modal":"true",class:"modal-wrapper ion-overlay-wrapper",part:"content",ref:t=>this.wrapperEl=t}),d&&a("button",{class:"modal-handle",tabIndex:l?0:-1,"aria-label":"Activate to adjust the size of the dialog overlaying the screen",onClick:l?this.onHandleClick:void 0,part:"handle"}),a("slot",null)))}get el(){return e(this)}static get watchers(){return{isOpen:["onIsOpenChange"],trigger:["triggerChanged"]}}},at={ionModalDidPresent:"ionViewDidEnter",ionModalWillPresent:"ionViewWillEnter",ionModalWillDismiss:"ionViewWillLeave",ionModalDidDismiss:"ionViewDidLeave"};it.style={ios:':host{--width:100%;--min-width:auto;--max-width:auto;--height:100%;--min-height:auto;--max-height:auto;--overflow:hidden;--border-radius:0;--border-width:0;--border-style:none;--border-color:transparent;--background:var(--ion-background-color, #fff);--box-shadow:none;--backdrop-opacity:0;left:0;right:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:absolute;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;outline:none;color:var(--ion-text-color, #000);contain:strict}.modal-wrapper,ion-backdrop{pointer-events:auto}:host(.overlay-hidden){display:none}.modal-wrapper,.modal-shadow{border-radius:var(--border-radius);width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);overflow:var(--overflow);z-index:10}.modal-shadow{position:absolute;background:transparent}@media only screen and (min-width: 768px) and (min-height: 600px){:host{--width:600px;--height:500px;--ion-safe-area-top:0px;--ion-safe-area-bottom:0px;--ion-safe-area-right:0px;--ion-safe-area-left:0px}}@media only screen and (min-width: 768px) and (min-height: 768px){:host{--width:600px;--height:600px}}.modal-handle{left:0px;right:0px;top:5px;border-radius:8px;-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;position:absolute;width:36px;height:5px;-webkit-transform:translateZ(0);transform:translateZ(0);border:0;background:var(--ion-color-step-350, #c0c0be);cursor:pointer;z-index:11}.modal-handle::before{-webkit-padding-start:4px;padding-inline-start:4px;-webkit-padding-end:4px;padding-inline-end:4px;padding-top:4px;padding-bottom:4px;position:absolute;width:36px;height:5px;-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%);content:""}:host(.modal-sheet){--height:calc(100% - (var(--ion-safe-area-top) + 10px))}:host(.modal-sheet) .modal-wrapper,:host(.modal-sheet) .modal-shadow{position:absolute;bottom:0}:host{--backdrop-opacity:var(--ion-backdrop-opacity, 0.4)}:host(.modal-card),:host(.modal-sheet){--border-radius:10px}@media only screen and (min-width: 768px) and (min-height: 600px){:host{--border-radius:10px}}.modal-wrapper{-webkit-transform:translate3d(0, 100%, 0);transform:translate3d(0, 100%, 0)}@media screen and (max-width: 767px){@supports (width: max(0px, 1px)){:host(.modal-card){--height:calc(100% - max(30px, var(--ion-safe-area-top)) - 10px)}}@supports not (width: max(0px, 1px)){:host(.modal-card){--height:calc(100% - 40px)}}:host(.modal-card) .modal-wrapper{border-top-left-radius:var(--border-radius);border-top-right-radius:var(--border-radius);border-bottom-right-radius:0;border-bottom-left-radius:0}:host-context([dir=rtl]):host(.modal-card) .modal-wrapper,:host-context([dir=rtl]).modal-card .modal-wrapper{border-top-left-radius:var(--border-radius);border-top-right-radius:var(--border-radius);border-bottom-right-radius:0;border-bottom-left-radius:0}@supports selector(:dir(rtl)){:host(.modal-card) .modal-wrapper:dir(rtl){border-top-left-radius:var(--border-radius);border-top-right-radius:var(--border-radius);border-bottom-right-radius:0;border-bottom-left-radius:0}}:host(.modal-card){--backdrop-opacity:0;--width:100%;-ms-flex-align:end;align-items:flex-end}:host(.modal-card) .modal-shadow{display:none}:host(.modal-card) ion-backdrop{pointer-events:none}}@media screen and (min-width: 768px){:host(.modal-card){--width:calc(100% - 120px);--height:calc(100% - (120px + var(--ion-safe-area-top) + var(--ion-safe-area-bottom)));--max-width:720px;--max-height:1000px;--backdrop-opacity:0;--box-shadow:0px 0px 30px 10px rgba(0, 0, 0, 0.1);-webkit-transition:all 0.5s ease-in-out;transition:all 0.5s ease-in-out}:host(.modal-card) .modal-wrapper{-webkit-box-shadow:none;box-shadow:none}:host(.modal-card) .modal-shadow{-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow)}}:host(.modal-sheet) .modal-wrapper{border-top-left-radius:var(--border-radius);border-top-right-radius:var(--border-radius);border-bottom-right-radius:0;border-bottom-left-radius:0}:host-context([dir=rtl]):host(.modal-sheet) .modal-wrapper,:host-context([dir=rtl]).modal-sheet .modal-wrapper{border-top-left-radius:var(--border-radius);border-top-right-radius:var(--border-radius);border-bottom-right-radius:0;border-bottom-left-radius:0}@supports selector(:dir(rtl)){:host(.modal-sheet) .modal-wrapper:dir(rtl){border-top-left-radius:var(--border-radius);border-top-right-radius:var(--border-radius);border-bottom-right-radius:0;border-bottom-left-radius:0}}',md:':host{--width:100%;--min-width:auto;--max-width:auto;--height:100%;--min-height:auto;--max-height:auto;--overflow:hidden;--border-radius:0;--border-width:0;--border-style:none;--border-color:transparent;--background:var(--ion-background-color, #fff);--box-shadow:none;--backdrop-opacity:0;left:0;right:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:absolute;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;outline:none;color:var(--ion-text-color, #000);contain:strict}.modal-wrapper,ion-backdrop{pointer-events:auto}:host(.overlay-hidden){display:none}.modal-wrapper,.modal-shadow{border-radius:var(--border-radius);width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);overflow:var(--overflow);z-index:10}.modal-shadow{position:absolute;background:transparent}@media only screen and (min-width: 768px) and (min-height: 600px){:host{--width:600px;--height:500px;--ion-safe-area-top:0px;--ion-safe-area-bottom:0px;--ion-safe-area-right:0px;--ion-safe-area-left:0px}}@media only screen and (min-width: 768px) and (min-height: 768px){:host{--width:600px;--height:600px}}.modal-handle{left:0px;right:0px;top:5px;border-radius:8px;-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;position:absolute;width:36px;height:5px;-webkit-transform:translateZ(0);transform:translateZ(0);border:0;background:var(--ion-color-step-350, #c0c0be);cursor:pointer;z-index:11}.modal-handle::before{-webkit-padding-start:4px;padding-inline-start:4px;-webkit-padding-end:4px;padding-inline-end:4px;padding-top:4px;padding-bottom:4px;position:absolute;width:36px;height:5px;-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%);content:""}:host(.modal-sheet){--height:calc(100% - (var(--ion-safe-area-top) + 10px))}:host(.modal-sheet) .modal-wrapper,:host(.modal-sheet) .modal-shadow{position:absolute;bottom:0}:host{--backdrop-opacity:var(--ion-backdrop-opacity, 0.32)}@media only screen and (min-width: 768px) and (min-height: 600px){:host{--border-radius:2px;--box-shadow:0 28px 48px rgba(0, 0, 0, 0.4)}}.modal-wrapper{-webkit-transform:translate3d(0, 40px, 0);transform:translate3d(0, 40px, 0);opacity:0.01}'};export{it as ion_modal}