@ionic/core 8.8.7-dev.11779400352.127ba526 → 8.8.7-dev.11779467048.1641d05e

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 (321) hide show
  1. package/components/index.js +1 -1
  2. package/components/ion-action-sheet.js +1 -1
  3. package/components/ion-alert.js +1 -1
  4. package/components/ion-back-button.js +1 -1
  5. package/components/ion-button.js +1 -1
  6. package/components/ion-card.js +1 -1
  7. package/components/ion-chip.js +1 -1
  8. package/components/ion-datetime-button.js +1 -1
  9. package/components/ion-datetime.js +1 -1
  10. package/components/ion-fab-button.js +1 -1
  11. package/components/ion-gallery.js +1 -1
  12. package/components/ion-grid.js +1 -1
  13. package/components/ion-header.js +1 -1
  14. package/components/ion-img.js +1 -1
  15. package/components/ion-infinite-scroll-content.js +1 -1
  16. package/components/ion-infinite-scroll.js +1 -1
  17. package/components/ion-input-otp.js +1 -1
  18. package/components/ion-input-password-toggle.js +1 -1
  19. package/components/ion-input.js +1 -1
  20. package/components/ion-item-divider.js +1 -1
  21. package/components/ion-item-group.js +1 -1
  22. package/components/ion-item-option.js +1 -1
  23. package/components/ion-item-options.js +1 -1
  24. package/components/ion-item-sliding.js +1 -1
  25. package/components/ion-item.js +1 -1
  26. package/components/ion-label.js +1 -1
  27. package/components/ion-list-header.js +1 -1
  28. package/components/ion-list.js +1 -1
  29. package/components/ion-loading.js +1 -1
  30. package/components/ion-menu-button.js +1 -1
  31. package/components/ion-menu-toggle.js +1 -1
  32. package/components/ion-menu.js +1 -1
  33. package/components/ion-modal.js +1 -1
  34. package/components/ion-nav-link.js +1 -1
  35. package/components/ion-nav.js +1 -1
  36. package/components/ion-note.js +1 -1
  37. package/components/ion-picker-column-option.js +1 -1
  38. package/components/ion-picker-legacy-column.js +1 -1
  39. package/components/ion-picker-legacy.js +1 -1
  40. package/components/ion-popover.js +1 -1
  41. package/components/ion-progress-bar.js +1 -1
  42. package/components/ion-radio-group.js +1 -1
  43. package/components/ion-radio.js +1 -1
  44. package/components/ion-range.js +1 -1
  45. package/components/ion-refresher-content.js +1 -1
  46. package/components/ion-refresher.js +1 -1
  47. package/components/ion-reorder-group.js +1 -1
  48. package/components/ion-reorder.js +1 -1
  49. package/components/ion-ripple-effect.js +1 -1
  50. package/components/ion-router-link.js +1 -1
  51. package/components/ion-router-outlet.js +1 -1
  52. package/components/ion-row.js +1 -1
  53. package/components/ion-searchbar.js +1 -1
  54. package/components/ion-segment-button.js +1 -1
  55. package/components/ion-segment-content.js +1 -1
  56. package/components/ion-segment-view.js +1 -1
  57. package/components/ion-segment.js +1 -1
  58. package/components/ion-select-modal.js +1 -1
  59. package/components/ion-select-option.js +1 -1
  60. package/components/ion-select-popover.js +1 -1
  61. package/components/ion-select.js +1 -1
  62. package/components/ion-skeleton-text.js +1 -1
  63. package/components/ion-spinner.js +1 -1
  64. package/components/ion-split-pane.js +1 -1
  65. package/components/ion-tab-bar.js +1 -1
  66. package/components/ion-tab-button.js +1 -1
  67. package/components/ion-tab.js +1 -1
  68. package/components/ion-tabs.js +1 -1
  69. package/components/ion-text.js +1 -1
  70. package/components/ion-textarea.js +1 -1
  71. package/components/ion-thumbnail.js +1 -1
  72. package/components/ion-title.js +1 -1
  73. package/components/ion-toast.js +1 -1
  74. package/components/ion-toggle.js +1 -1
  75. package/components/ion-toolbar.js +1 -1
  76. package/components/{p-B-oPDoNQ.js → p-BFbsici0.js} +1 -1
  77. package/components/{p-6_r-Odtt.js → p-BLCuPAtN.js} +1 -1
  78. package/components/{p-CSf_VKpz.js → p-BRWWcnBq.js} +1 -1
  79. package/components/{p-CvljGih0.js → p-BXcCGjEc.js} +1 -1
  80. package/components/{p-DZOqbnq2.js → p-BqImG3uk.js} +1 -1
  81. package/components/{p-D42P_qbe.js → p-C38HUpU5.js} +1 -1
  82. package/components/{p-Ddl4_R29.js → p-C4G6C9fP.js} +1 -1
  83. package/components/{p-C-Vjb84N.js → p-C8ktKu9j.js} +1 -1
  84. package/components/{p-J7srYGKf.js → p-CIoAIKEr.js} +1 -1
  85. package/components/{p-BhkRbo3L.js → p-CN-WzkJE.js} +1 -1
  86. package/components/p-CVRxImH6.js +4 -0
  87. package/components/{p-KF2RUDHO.js → p-CoFDGTFO.js} +1 -1
  88. package/components/{p-n94Bzx6_.js → p-CoFqDNc5.js} +1 -1
  89. package/components/{p-vGxjPSKT.js → p-CykCvfXQ.js} +1 -1
  90. package/components/p-DHTe6lDL.js +4 -0
  91. package/components/{p-C75do9pU.js → p-DH_9VCbD.js} +1 -1
  92. package/components/{p-Ct1_qpJ-.js → p-DTtRWhIZ.js} +1 -1
  93. package/components/{p-BdmDSErh.js → p-DXUyXgVL.js} +1 -1
  94. package/components/{p-BLHs-wsh.js → p-IMXp2Inn.js} +1 -1
  95. package/components/{p-lEYPO4ZC.js → p-TR4ubkPu.js} +1 -1
  96. package/components/{p-CieebRr6.js → p-qZr7hBPz.js} +1 -1
  97. package/dist/cjs/index.cjs.js +1 -1
  98. package/dist/cjs/ion-action-sheet.cjs.entry.js +1 -1
  99. package/dist/cjs/ion-alert.cjs.entry.js +1 -1
  100. package/dist/cjs/ion-app_8.cjs.entry.js +7 -7
  101. package/dist/cjs/ion-avatar_3.cjs.entry.js +2 -2
  102. package/dist/cjs/ion-col_3.cjs.entry.js +4 -4
  103. package/dist/cjs/ion-datetime_3.cjs.entry.js +5 -5
  104. package/dist/cjs/ion-gallery.cjs.entry.js +8 -57
  105. package/dist/cjs/ion-img.cjs.entry.js +2 -2
  106. package/dist/cjs/ion-infinite-scroll_2.cjs.entry.js +3 -3
  107. package/dist/cjs/ion-input-otp.cjs.entry.js +3 -3
  108. package/dist/cjs/ion-input-password-toggle.cjs.entry.js +3 -3
  109. package/dist/cjs/ion-input.cjs.entry.js +4 -4
  110. package/dist/cjs/ion-item-option_3.cjs.entry.js +4 -4
  111. package/dist/cjs/ion-item_8.cjs.entry.js +12 -12
  112. package/dist/cjs/ion-loading.cjs.entry.js +3 -3
  113. package/dist/cjs/ion-menu_3.cjs.entry.js +7 -7
  114. package/dist/cjs/ion-modal.cjs.entry.js +5 -5
  115. package/dist/cjs/ion-nav_2.cjs.entry.js +2 -2
  116. package/dist/cjs/ion-picker-column-option.cjs.entry.js +2 -2
  117. package/dist/cjs/ion-popover.cjs.entry.js +3 -3
  118. package/dist/cjs/ion-progress-bar.cjs.entry.js +1 -1
  119. package/dist/cjs/ion-radio_2.cjs.entry.js +5 -5
  120. package/dist/cjs/ion-range.cjs.entry.js +3 -3
  121. package/dist/cjs/ion-refresher_2.cjs.entry.js +3 -3
  122. package/dist/cjs/ion-reorder_2.cjs.entry.js +3 -3
  123. package/dist/cjs/ion-ripple-effect.cjs.entry.js +1 -1
  124. package/dist/cjs/ion-route_4.cjs.entry.js +2 -2
  125. package/dist/cjs/ion-searchbar.cjs.entry.js +4 -4
  126. package/dist/cjs/ion-segment-content.cjs.entry.js +1 -1
  127. package/dist/cjs/ion-segment-view.cjs.entry.js +2 -2
  128. package/dist/cjs/ion-segment_2.cjs.entry.js +4 -4
  129. package/dist/cjs/ion-select-modal.cjs.entry.js +2 -2
  130. package/dist/cjs/ion-select_3.cjs.entry.js +7 -7
  131. package/dist/cjs/ion-spinner.cjs.entry.js +1 -1
  132. package/dist/cjs/ion-split-pane.cjs.entry.js +2 -2
  133. package/dist/cjs/ion-tab-bar_2.cjs.entry.js +4 -4
  134. package/dist/cjs/ion-tab_2.cjs.entry.js +3 -3
  135. package/dist/cjs/ion-text.cjs.entry.js +2 -2
  136. package/dist/cjs/ion-textarea.cjs.entry.js +3 -3
  137. package/dist/cjs/ion-toast.cjs.entry.js +3 -3
  138. package/dist/cjs/ion-toggle.cjs.entry.js +3 -3
  139. package/dist/cjs/ionic.cjs.js +1 -1
  140. package/dist/cjs/loader.cjs.js +1 -1
  141. package/dist/cjs/{overlays-Hci_7vw_.js → overlays-C54DhaTC.js} +187 -10
  142. package/dist/collection/collection-manifest.json +0 -1
  143. package/dist/collection/components/gallery/gallery.css +24 -0
  144. package/dist/collection/components/gallery/gallery.js +7 -56
  145. package/dist/collection/components/gallery/test/utils.js +13 -13
  146. package/dist/collection/components/grid/grid.js +2 -2
  147. package/dist/collection/components/header/header.js +2 -2
  148. package/dist/collection/components/img/img.js +2 -2
  149. package/dist/collection/components/infinite-scroll/infinite-scroll.js +1 -1
  150. package/dist/collection/components/infinite-scroll-content/infinite-scroll-content.js +2 -2
  151. package/dist/collection/components/input/input.js +4 -4
  152. package/dist/collection/components/input-otp/input-otp.js +3 -3
  153. package/dist/collection/components/input-password-toggle/input-password-toggle.js +3 -3
  154. package/dist/collection/components/item-divider/item-divider.js +2 -2
  155. package/dist/collection/components/item-group/item-group.js +1 -1
  156. package/dist/collection/components/item-option/item-option.js +2 -2
  157. package/dist/collection/components/item-options/item-options.js +1 -1
  158. package/dist/collection/components/item-sliding/item-sliding.js +1 -1
  159. package/dist/collection/components/label/label.js +2 -2
  160. package/dist/collection/components/list/list.js +1 -1
  161. package/dist/collection/components/list-header/list-header.js +2 -2
  162. package/dist/collection/components/loading/loading.js +2 -2
  163. package/dist/collection/components/menu/menu.js +2 -2
  164. package/dist/collection/components/menu-button/menu-button.js +2 -2
  165. package/dist/collection/components/menu-toggle/menu-toggle.js +2 -2
  166. package/dist/collection/components/modal/modal.js +4 -4
  167. package/dist/collection/components/nav/nav.js +1 -1
  168. package/dist/collection/components/nav-link/nav-link.js +1 -1
  169. package/dist/collection/components/note/note.js +2 -2
  170. package/dist/collection/components/picker-column-option/picker-column-option.js +2 -2
  171. package/dist/collection/components/picker-legacy/picker.js +2 -2
  172. package/dist/collection/components/picker-legacy-column/picker-column.js +2 -2
  173. package/dist/collection/components/popover/popover.js +2 -2
  174. package/dist/collection/components/progress-bar/progress-bar.js +1 -1
  175. package/dist/collection/components/radio/radio.js +3 -3
  176. package/dist/collection/components/radio-group/radio-group.js +2 -2
  177. package/dist/collection/components/range/range.js +3 -3
  178. package/dist/collection/components/refresher/refresher.js +1 -1
  179. package/dist/collection/components/refresher-content/refresher-content.js +2 -2
  180. package/dist/collection/components/reorder/reorder.js +2 -2
  181. package/dist/collection/components/reorder-group/reorder-group.js +1 -1
  182. package/dist/collection/components/ripple-effect/ripple-effect.js +1 -1
  183. package/dist/collection/components/router-link/router-link.js +2 -2
  184. package/dist/collection/components/router-outlet/router-outlet.js +1 -1
  185. package/dist/collection/components/row/row.js +2 -2
  186. package/dist/collection/components/searchbar/searchbar.js +4 -4
  187. package/dist/collection/components/segment/segment.js +2 -2
  188. package/dist/collection/components/segment-button/segment-button.js +2 -2
  189. package/dist/collection/components/segment-content/segment-content.js +1 -1
  190. package/dist/collection/components/segment-view/segment-view.js +2 -2
  191. package/dist/collection/components/select/select.js +3 -3
  192. package/dist/collection/components/select-modal/select-modal.js +1 -1
  193. package/dist/collection/components/select-option/select-option.js +1 -1
  194. package/dist/collection/components/select-popover/select-popover.js +2 -2
  195. package/dist/collection/components/skeleton-text/skeleton-text.js +2 -2
  196. package/dist/collection/components/spinner/spinner.js +1 -1
  197. package/dist/collection/components/split-pane/split-pane.js +2 -2
  198. package/dist/collection/components/tab/tab.js +2 -2
  199. package/dist/collection/components/tab-bar/tab-bar.js +2 -2
  200. package/dist/collection/components/tab-button/tab-button.js +2 -2
  201. package/dist/collection/components/tabs/tabs.js +1 -1
  202. package/dist/collection/components/text/text.js +2 -2
  203. package/dist/collection/components/textarea/textarea.js +3 -3
  204. package/dist/collection/components/thumbnail/thumbnail.js +2 -2
  205. package/dist/collection/components/title/title.js +2 -2
  206. package/dist/collection/components/toast/toast.js +2 -2
  207. package/dist/collection/components/toggle/toggle.js +3 -3
  208. package/dist/collection/components/toolbar/toolbar.js +2 -2
  209. package/dist/collection/utils/overlays.js +187 -10
  210. package/dist/docs.json +1 -85
  211. package/dist/esm/index.js +1 -1
  212. package/dist/esm/ion-action-sheet.entry.js +1 -1
  213. package/dist/esm/ion-alert.entry.js +1 -1
  214. package/dist/esm/ion-app_8.entry.js +7 -7
  215. package/dist/esm/ion-avatar_3.entry.js +2 -2
  216. package/dist/esm/ion-col_3.entry.js +4 -4
  217. package/dist/esm/ion-datetime_3.entry.js +5 -5
  218. package/dist/esm/ion-gallery.entry.js +8 -57
  219. package/dist/esm/ion-img.entry.js +2 -2
  220. package/dist/esm/ion-infinite-scroll_2.entry.js +3 -3
  221. package/dist/esm/ion-input-otp.entry.js +3 -3
  222. package/dist/esm/ion-input-password-toggle.entry.js +3 -3
  223. package/dist/esm/ion-input.entry.js +4 -4
  224. package/dist/esm/ion-item-option_3.entry.js +4 -4
  225. package/dist/esm/ion-item_8.entry.js +12 -12
  226. package/dist/esm/ion-loading.entry.js +3 -3
  227. package/dist/esm/ion-menu_3.entry.js +7 -7
  228. package/dist/esm/ion-modal.entry.js +5 -5
  229. package/dist/esm/ion-nav_2.entry.js +2 -2
  230. package/dist/esm/ion-picker-column-option.entry.js +2 -2
  231. package/dist/esm/ion-popover.entry.js +3 -3
  232. package/dist/esm/ion-progress-bar.entry.js +1 -1
  233. package/dist/esm/ion-radio_2.entry.js +5 -5
  234. package/dist/esm/ion-range.entry.js +3 -3
  235. package/dist/esm/ion-refresher_2.entry.js +3 -3
  236. package/dist/esm/ion-reorder_2.entry.js +3 -3
  237. package/dist/esm/ion-ripple-effect.entry.js +1 -1
  238. package/dist/esm/ion-route_4.entry.js +2 -2
  239. package/dist/esm/ion-searchbar.entry.js +4 -4
  240. package/dist/esm/ion-segment-content.entry.js +1 -1
  241. package/dist/esm/ion-segment-view.entry.js +2 -2
  242. package/dist/esm/ion-segment_2.entry.js +4 -4
  243. package/dist/esm/ion-select-modal.entry.js +2 -2
  244. package/dist/esm/ion-select_3.entry.js +7 -7
  245. package/dist/esm/ion-spinner.entry.js +1 -1
  246. package/dist/esm/ion-split-pane.entry.js +2 -2
  247. package/dist/esm/ion-tab-bar_2.entry.js +4 -4
  248. package/dist/esm/ion-tab_2.entry.js +3 -3
  249. package/dist/esm/ion-text.entry.js +2 -2
  250. package/dist/esm/ion-textarea.entry.js +3 -3
  251. package/dist/esm/ion-toast.entry.js +3 -3
  252. package/dist/esm/ion-toggle.entry.js +3 -3
  253. package/dist/esm/ionic.js +1 -1
  254. package/dist/esm/loader.js +1 -1
  255. package/dist/esm/{overlays-rwDDzEs4.js → overlays-ttYCMKRp.js} +187 -10
  256. package/dist/html.html-data.json +0 -42
  257. package/dist/ionic/index.esm.js +1 -1
  258. package/dist/ionic/ionic.esm.js +1 -1
  259. package/dist/ionic/{p-6911beb3.entry.js → p-00c0bd38.entry.js} +1 -1
  260. package/dist/ionic/p-06bd033b.entry.js +4 -0
  261. package/dist/ionic/{p-b8f7e970.entry.js → p-1709b0aa.entry.js} +1 -1
  262. package/dist/ionic/{p-7761b69d.entry.js → p-1c2c1869.entry.js} +1 -1
  263. package/dist/ionic/{p-bd3ae730.entry.js → p-1c4de46b.entry.js} +1 -1
  264. package/dist/ionic/p-1e1c8d61.entry.js +4 -0
  265. package/dist/ionic/{p-fe073307.entry.js → p-1f74b8d4.entry.js} +1 -1
  266. package/dist/ionic/p-2aa7567e.entry.js +4 -0
  267. package/dist/ionic/{p-455ac83a.entry.js → p-2ad79c23.entry.js} +1 -1
  268. package/dist/ionic/{p-2c252788.entry.js → p-2f8aa0ac.entry.js} +1 -1
  269. package/dist/ionic/{p-3d939d55.entry.js → p-3331cfa9.entry.js} +1 -1
  270. package/dist/ionic/{p-dd1e95c5.entry.js → p-33c34361.entry.js} +1 -1
  271. package/dist/ionic/{p-636aa79b.entry.js → p-3f79f594.entry.js} +1 -1
  272. package/dist/ionic/{p-8291455b.entry.js → p-48026d15.entry.js} +1 -1
  273. package/dist/ionic/{p-e5976b28.entry.js → p-5061a8d4.entry.js} +1 -1
  274. package/dist/ionic/{p-fc01563c.entry.js → p-50b61fab.entry.js} +1 -1
  275. package/dist/ionic/{p-c55a5578.entry.js → p-50cd2d57.entry.js} +1 -1
  276. package/dist/ionic/{p-503219b5.entry.js → p-5274f999.entry.js} +1 -1
  277. package/dist/ionic/{p-c1d6501a.entry.js → p-586d4270.entry.js} +1 -1
  278. package/dist/ionic/{p-e342b205.entry.js → p-7054a1b9.entry.js} +1 -1
  279. package/dist/ionic/{p-cecceb9f.entry.js → p-72491468.entry.js} +1 -1
  280. package/dist/ionic/{p-02a1a45c.entry.js → p-76307d10.entry.js} +1 -1
  281. package/dist/ionic/{p-5b164421.entry.js → p-7d5057c4.entry.js} +1 -1
  282. package/dist/ionic/{p-bb2d2635.entry.js → p-83c693c4.entry.js} +1 -1
  283. package/dist/ionic/{p-fdf0e290.entry.js → p-8537b2fb.entry.js} +1 -1
  284. package/dist/ionic/{p-4a0260e6.entry.js → p-8f04bd89.entry.js} +1 -1
  285. package/dist/ionic/{p-0ef2fcda.entry.js → p-90e653e3.entry.js} +1 -1
  286. package/dist/ionic/p-967576f8.entry.js +4 -0
  287. package/dist/ionic/{p-d604defc.entry.js → p-9d789053.entry.js} +1 -1
  288. package/dist/ionic/p-DdyNaGpi.js +4 -0
  289. package/dist/ionic/{p-65159e09.entry.js → p-ae667493.entry.js} +1 -1
  290. package/dist/ionic/{p-e73a7fe2.entry.js → p-b2fe6c1c.entry.js} +1 -1
  291. package/dist/ionic/{p-92427c9d.entry.js → p-b3c9f19c.entry.js} +1 -1
  292. package/dist/ionic/{p-83c0eb9b.entry.js → p-b653f4c2.entry.js} +1 -1
  293. package/dist/ionic/{p-9f914d43.entry.js → p-bb898d47.entry.js} +1 -1
  294. package/dist/ionic/{p-0c3bf0a7.entry.js → p-bd71a4a7.entry.js} +1 -1
  295. package/dist/ionic/{p-3fd97ea9.entry.js → p-d4ed5710.entry.js} +1 -1
  296. package/dist/ionic/{p-874945f3.entry.js → p-d6299c37.entry.js} +1 -1
  297. package/dist/ionic/{p-229c8fb5.entry.js → p-dea52cb3.entry.js} +1 -1
  298. package/dist/ionic/{p-2a66b899.entry.js → p-e18d3fdb.entry.js} +1 -1
  299. package/dist/ionic/{p-6ec1e450.entry.js → p-fad05840.entry.js} +1 -1
  300. package/dist/ionic/{p-432c5888.entry.js → p-fc796d48.entry.js} +1 -1
  301. package/dist/types/components/gallery/gallery.d.ts +2 -10
  302. package/dist/types/components/gallery/test/utils.d.ts +1 -1
  303. package/dist/types/components.d.ts +0 -29
  304. package/hydrate/index.js +317 -269
  305. package/hydrate/index.mjs +317 -269
  306. package/package.json +1 -1
  307. package/components/ion-gallery-item.d.ts +0 -11
  308. package/components/ion-gallery-item.js +0 -4
  309. package/components/p-C4dDZdpz.js +0 -4
  310. package/components/p-CtiqM786.js +0 -4
  311. package/dist/cjs/ion-gallery-item.cjs.entry.js +0 -72
  312. package/dist/collection/components/gallery-item/gallery-item.css +0 -87
  313. package/dist/collection/components/gallery-item/gallery-item.js +0 -87
  314. package/dist/esm/ion-gallery-item.entry.js +0 -70
  315. package/dist/ionic/p-1ab01507.entry.js +0 -4
  316. package/dist/ionic/p-21ca5788.entry.js +0 -4
  317. package/dist/ionic/p-2981a0bd.entry.js +0 -4
  318. package/dist/ionic/p-2d5a2511.entry.js +0 -4
  319. package/dist/ionic/p-76de7898.entry.js +0 -4
  320. package/dist/ionic/p-C4uUM9DM.js +0 -4
  321. package/dist/types/components/gallery-item/gallery-item.d.ts +0 -25
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ionic/core",
3
- "version": "8.8.7-dev.11779400352.127ba526",
3
+ "version": "8.8.7-dev.11779467048.1641d05e",
4
4
  "description": "Base components for Ionic",
5
5
  "engines": {
6
6
  "node": ">= 16"
@@ -1,11 +0,0 @@
1
- import type { Components, JSX } from "../dist/types/components";
2
-
3
- interface IonGalleryItem extends Components.IonGalleryItem, HTMLElement {}
4
- export const IonGalleryItem: {
5
- prototype: IonGalleryItem;
6
- new (): IonGalleryItem;
7
- };
8
- /**
9
- * Used to define this component and all nested components recursively.
10
- */
11
- export const defineCustomElement: () => void;
@@ -1,4 +0,0 @@
1
- /*!
2
- * (C) Ionic http://ionicframework.com - MIT License
3
- */
4
- import{p as t,H as i,f as o,h as s,d as e,t as n}from"./p-3Ni1Z654.js";import{b as a}from"./p-CVBkx7m1.js";const l=t(class extends i{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.hasWarnedInvalidParent=!1,this.onSlotChange=()=>{this.warnInvalidParent()}}componentWillLoad(){var t;this.galleryEl=null!==(t=this.el.closest("ion-gallery"))&&void 0!==t?t:void 0,this.syncLayoutClasses()}componentDidLoad(){this.watchGalleryLayoutClasses(),this.warnInvalidParent()}disconnectedCallback(){var t;null===(t=this.galleryClassObserver)||void 0===t||t.disconnect(),this.galleryClassObserver=void 0,this.galleryEl=void 0}warnInvalidParent(){this.hasWarnedInvalidParent||void 0!==this.galleryEl||(o('[ion-gallery-item] - This component should be used as a child of an "ion-gallery" component.',this.el),this.hasWarnedInvalidParent=!0)}watchGalleryLayoutClasses(){var t;const i=this.galleryEl;void 0!==i&&(null===(t=this.galleryClassObserver)||void 0===t||t.disconnect(),this.galleryClassObserver=new MutationObserver((()=>this.syncLayoutClasses())),this.galleryClassObserver.observe(i,{attributes:!0,attributeFilter:["class"]}))}syncLayoutClasses(){var t;const i=null===(t=this.galleryEl)||void 0===t?void 0:t.layout;this.galleryLayout="masonry"===i||"uniform"===i?i:void 0}render(){const{galleryLayout:t}=this,i=a(this);return s(e,{key:"dbd9b9e005aa151981296e6487532e221f3f24e3",class:{[i]:!0,"in-gallery-layout-uniform":"uniform"===t,"in-gallery-layout-masonry":"masonry"===t}},s("slot",{key:"98af83e345389763cf23d5e705f1c8773836418f",onSlotchange:this.onSlotChange}))}get el(){return this}static get style(){return":host{display:contents}:host(.in-gallery-layout-uniform) ::slotted(*){aspect-ratio:1/1}:host(.in-gallery-layout-masonry){min-height:unset;margin-bottom:var(--internal-gallery-gap, 16px)}::slotted(*){margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;width:100%}::slotted(img){display:block;-o-object-fit:cover;object-fit:cover;-o-object-position:center;object-position:center}"}},[257,"ion-gallery-item",{galleryLayout:[32]}]),r=l,h=function(){"undefined"!=typeof customElements&&["ion-gallery-item"].forEach((t=>{"ion-gallery-item"===t&&(customElements.get(n(t))||customElements.define(n(t),l))}))};export{r as IonGalleryItem,h as defineCustomElement}
@@ -1,4 +0,0 @@
1
- /*!
2
- * (C) Ionic http://ionicframework.com - MIT License
3
- */
4
- import{p as t,H as e,e as o,f as r,h as i,d as s,t as n}from"./p-3Ni1Z654.js";import{B as a,j as p,k as d,f as c,n as l,g as h,h as v,F as f}from"./p-CtiqM786.js";import{C as g,a as x,d as m}from"./p-XegQjlzJ.js";import{g as b,r as u,a as w,k}from"./p-BqDiJgC_.js";import{c as y}from"./p-B-hirT0v.js";import{b as P,a as T}from"./p-CVBkx7m1.js";import{g as D}from"./p-DaJxRxSQ.js";import{e as A,w as $}from"./p-t98_NeNv.js";import{c as C}from"./p-BO4aickU.js";import{d as I}from"./p-BFCM_1oE.js";let O=null,N=!1;const z=t=>{if(null!==O)return O;if(null===t.body)return{top:0,bottom:0,left:0,right:0};const e=t.createElement("div");e.style.cssText="position:fixed;visibility:hidden;pointer-events:none;top:0;left:0;padding-top:var(--ion-safe-area-top,0px);padding-bottom:var(--ion-safe-area-bottom,0px);padding-left:var(--ion-safe-area-left,0px);padding-right:var(--ion-safe-area-right,0px);",t.body.appendChild(e);const o=getComputedStyle(e),r={top:parseFloat(o.paddingTop)||0,bottom:parseFloat(o.paddingBottom)||0,left:parseFloat(o.paddingLeft)||0,right:parseFloat(o.paddingRight)||0};return e.remove(),O=r,N||(N=!0,u((()=>{O=null,N=!1}))),r},L=(t,e,o)=>{const r=e.getBoundingClientRect(),i=r.height;let s=r.width;return"cover"===t&&o&&(s=o.getBoundingClientRect().width),{contentWidth:s,contentHeight:i}},W=(t,e)=>e&&"ION-ITEM"===e.tagName?t.findIndex((t=>t===e)):-1,j=t=>{const e=b(t).querySelector("button");e&&u((()=>e.focus()))},E=(t,e,o,r,i,s,n,a,p,d,c)=>{var l;let h={top:0,left:0,width:0,height:0};if("event"===s){if(!c)return p;h={top:c.clientY,left:c.clientX,width:1,height:1}}else{const t=d||(null===(l=null==c?void 0:c.detail)||void 0===l?void 0:l.ionShadowTarget)||(null==c?void 0:c.target);if(!t)return p;const e=t.getBoundingClientRect();h={top:e.top,left:e.left,width:e.width,height:e.height}}const v=M(n,h,e,o,r,i,t),f=F(a,n,h,e,o),g=v.top+f.top,x=v.left+f.left,{arrowTop:m,arrowLeft:b}=Y(n,r,i,g,x,e,o,t),{originX:u,originY:w}=S(n,a,t);return{top:g,left:x,referenceCoordinates:h,arrowTop:m,arrowLeft:b,originX:u,originY:w}},S=(t,e,o)=>{switch(t){case"top":return{originX:B(e),originY:"bottom"};case"bottom":return{originX:B(e),originY:"top"};case"left":return{originX:"right",originY:X(e)};case"right":return{originX:"left",originY:X(e)};case"start":return{originX:o?"left":"right",originY:X(e)};case"end":return{originX:o?"right":"left",originY:X(e)}}},B=t=>{switch(t){case"start":return"left";case"center":return"center";case"end":return"right"}},X=t=>{switch(t){case"start":return"top";case"center":return"center";case"end":return"bottom"}},Y=(t,e,o,r,i,s,n,a)=>{const p={arrowTop:r+n/2-e/2,arrowLeft:i+s-e/2},d={arrowTop:r+n/2-e/2,arrowLeft:i-1.5*e};switch(t){case"top":return{arrowTop:r+n,arrowLeft:i+s/2-e/2};case"bottom":return{arrowTop:r-o,arrowLeft:i+s/2-e/2};case"left":return p;case"right":return d;case"start":return a?d:p;case"end":return a?p:d;default:return{arrowTop:0,arrowLeft:0}}},M=(t,e,o,r,i,s,n)=>{const a={top:e.top,left:e.left-o-i},p={top:e.top,left:e.left+e.width+i};switch(t){case"top":return{top:e.top-r-s,left:e.left};case"right":return p;case"bottom":return{top:e.top+e.height+s,left:e.left};case"left":return a;case"start":return n?p:a;case"end":return n?a:p}},F=(t,e,o,r,i)=>{switch(t){case"center":return R(e,o,r,i);case"end":return H(e,o,r,i);default:return{top:0,left:0}}},H=(t,e,o,r)=>{switch(t){case"start":case"end":case"left":case"right":return{top:-(r-e.height),left:0};default:return{top:0,left:-(o-e.width)}}},R=(t,e,o,r)=>{switch(t){case"start":case"end":case"left":case"right":return{top:-(r/2-e.height/2),left:0};default:return{top:0,left:-(o/2-e.width/2)}}},V=(t,e,o,r,i,s,n,a,p,d,c,l,h=0,v=0,f=0)=>{let g,x=h,m=o,b=e,u=d,w=c,k=!1,y=!1,P=!1,T=!1;const D=l?l.top+l.height:s/2-a/2,A=l?l.height:0;let $=!1;if(m<r+p.left?(m=r,k=!0,u="left"):n+r+m+p.right>i&&(y=!0,m=i-n-r,u="right"),D+A+a>s-p.bottom&&("top"===t||"bottom"===t)){const t=D-a-A-(f-1);t>=p.top+r?(b=t,x=b+a,w="bottom",$=!0):(g=r,T=!0,b>=s-p.bottom-r&&(b=p.top+r,P=!0))}return{top:b,left:m,bottom:g,originX:u,originY:w,checkSafeAreaLeft:k,checkSafeAreaRight:y,checkSafeAreaTop:P,checkSafeAreaBottom:T,arrowTop:x,arrowLeft:v,addPopoverBottomClass:$,hideArrow:!1}},U=(t,e)=>{var o;const{event:r,size:i,trigger:s,reference:n,side:a,align:p}=e,d=t.ownerDocument,c="rtl"===d.dir,l=d.defaultView.innerWidth,h=d.defaultView.innerHeight,v=b(t),f=v.querySelector(".popover-content"),g=v.querySelector(".popover-arrow"),x=s||(null===(o=null==r?void 0:r.detail)||void 0===o?void 0:o.ionShadowTarget)||(null==r?void 0:r.target),{contentWidth:m,contentHeight:u}=L(i,f,x),{arrowWidth:w,arrowHeight:k}=(t=>{if(!t)return{arrowWidth:0,arrowHeight:0};const{width:e,height:o}=t.getBoundingClientRect();return{arrowWidth:e,arrowHeight:o}})(g),y=E(c,m,u,w,k,n,a,p,{top:h/2-u/2,left:l/2-m/2,originX:c?"right":"left",originY:"top"},s,r),P="cover"===i?0:5,T=z(d),D="cover"===i?{top:0,bottom:0,left:0,right:0}:{top:Math.max(T.top,25),bottom:Math.max(T.bottom,25),left:Math.max(T.left,25),right:Math.max(T.right,25)},{originX:A,originY:$,top:I,left:O,bottom:N,checkSafeAreaLeft:W,checkSafeAreaRight:j,checkSafeAreaTop:S,checkSafeAreaBottom:B,arrowTop:X,arrowLeft:Y,addPopoverBottomClass:M}=V(a,y.top,y.left,P,l,h,m,u,D,y.originX,y.originY,y.referenceCoordinates,y.arrowTop,y.arrowLeft,k),F=C(),H=C(),R=C();return H.addElement(v.querySelector("ion-backdrop")).fromTo("opacity",.01,"var(--backdrop-opacity)").beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"]),R.addElement(v.querySelector(".popover-arrow")).addElement(v.querySelector(".popover-content")).fromTo("opacity",.01,1),F.easing("ease").duration(100).beforeAddWrite((()=>{if("cover"===i&&t.style.setProperty("--width",`${m}px`),M&&t.classList.add("popover-bottom"),void 0!==N){let t=`${N}px`;B&&(t=`${N}px + var(--ion-safe-area-bottom, 0px)`),f.style.setProperty("bottom",`calc(${t})`)}let e=`${O}px`;W&&(e=`${O}px + var(--ion-safe-area-left, 0px)`),j&&(e=`${O}px - var(--ion-safe-area-right, 0px)`);let o=`${I}px`;if(S&&(o=`${I}px + var(--ion-safe-area-top, 0px)`),f.style.setProperty("top",`calc(${o} + var(--offset-y, 0))`),f.style.setProperty("left",`calc(${e} + var(--offset-x, 0))`),f.style.setProperty("transform-origin",`${$} ${A}`),null!==g){const t=((t,e=!1,o,r)=>!(!o&&!r||"top"!==t&&"bottom"!==t&&e))(a,y.top!==I||y.left!==O,r,s);t?(g.style.setProperty("top",`calc(${X}px + var(--offset-y, 0))`),g.style.setProperty("left",`calc(${Y}px + var(--offset-x, 0))`)):g.style.setProperty("display","none")}})).addAnimation([H,R])},J=t=>{const e=b(t),o=e.querySelector(".popover-content"),r=e.querySelector(".popover-arrow"),i=C(),s=C(),n=C();return s.addElement(e.querySelector("ion-backdrop")).fromTo("opacity","var(--backdrop-opacity)",0),n.addElement(e.querySelector(".popover-arrow")).addElement(e.querySelector(".popover-content")).fromTo("opacity",.99,0),i.easing("ease").afterAddWrite((()=>{t.style.removeProperty("--width"),t.classList.remove("popover-bottom"),o.style.removeProperty("top"),o.style.removeProperty("left"),o.style.removeProperty("bottom"),o.style.removeProperty("transform-origin"),r&&(r.style.removeProperty("top"),r.style.removeProperty("left"),r.style.removeProperty("display"))})).duration(300).addAnimation([s,n])},_=(t,e)=>{var o;const{event:r,size:i,trigger:s,reference:n,side:a,align:p}=e,d=t.ownerDocument,c="rtl"===d.dir,l=d.defaultView.innerWidth,h=d.defaultView.innerHeight,v=b(t),f=v.querySelector(".popover-content"),g=s||(null===(o=null==r?void 0:r.detail)||void 0===o?void 0:o.ionShadowTarget)||(null==r?void 0:r.target),{contentWidth:x,contentHeight:m}=L(i,f,g),u=E(c,x,m,0,0,n,a,p,{top:h/2-m/2,left:l/2-x/2,originX:c?"right":"left",originY:"top"},s,r),w="cover"===i?0:12,k="cover"===i?{top:0,bottom:0,left:0,right:0}:z(d),{originX:y,originY:P,top:T,left:D,bottom:A,checkSafeAreaLeft:$,checkSafeAreaRight:I,checkSafeAreaTop:O,checkSafeAreaBottom:N,addPopoverBottomClass:W}=V(a,u.top,u.left,w,l,h,x,m,k,u.originX,u.originY,u.referenceCoordinates);let j=`${D}px`;$&&(j=`${D}px + var(--ion-safe-area-left, 0px)`),I&&(j=`${D}px - var(--ion-safe-area-right, 0px)`);let S=`${T}px`;O&&(S=`${T}px + var(--ion-safe-area-top, 0px)`);const B=C(),X=C(),Y=C(),M=C(),F=C();return X.addElement(v.querySelector("ion-backdrop")).fromTo("opacity",.01,"var(--backdrop-opacity)").beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"]),Y.addElement(v.querySelector(".popover-wrapper")).duration(150).fromTo("opacity",.01,1),M.addElement(f).beforeStyles({top:`calc(${S} + var(--offset-y, 0px))`,left:`calc(${j} + var(--offset-x, 0px))`,"transform-origin":`${P} ${y}`}).beforeAddWrite((()=>{if(void 0!==A){let t=`${A}px`;N&&(t=`${A}px + var(--ion-safe-area-bottom, 0px)`),f.style.setProperty("bottom",`calc(${t})`)}})).fromTo("transform","scale(0.8)","scale(1)"),F.addElement(v.querySelector(".popover-viewport")).fromTo("opacity",.01,1),B.easing("cubic-bezier(0.36,0.66,0.04,1)").duration(300).beforeAddWrite((()=>{"cover"===i&&t.style.setProperty("--width",`${x}px`),W&&t.classList.add("popover-bottom")})).addAnimation([X,Y,M,F])},q=t=>{const e=b(t),o=e.querySelector(".popover-content"),r=C(),i=C(),s=C();return i.addElement(e.querySelector("ion-backdrop")).fromTo("opacity","var(--backdrop-opacity)",0),s.addElement(e.querySelector(".popover-wrapper")).fromTo("opacity",.99,0),r.easing("ease").afterAddWrite((()=>{t.style.removeProperty("--width"),t.classList.remove("popover-bottom"),o.style.removeProperty("top"),o.style.removeProperty("left"),o.style.removeProperty("bottom"),o.style.removeProperty("transform-origin")})).duration(150).addAnimation([i,s])},K=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.didPresent=o(this,"ionPopoverDidPresent",7),this.willPresent=o(this,"ionPopoverWillPresent",7),this.willDismiss=o(this,"ionPopoverWillDismiss",7),this.didDismiss=o(this,"ionPopoverDidDismiss",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.parentPopover=null,this.coreDelegate=g(),this.lockController=y(),this.inline=!1,this.focusDescendantOnPresent=!1,this.presented=!1,this.hasController=!1,this.keyboardClose=!0,this.backdropDismiss=!0,this.showBackdrop=!0,this.translucent=!1,this.animated=!0,this.triggerAction="click",this.size="auto",this.dismissOnSelect=!1,this.reference="trigger",this.side="bottom",this.arrow=!0,this.isOpen=!1,this.keyboardEvents=!1,this.focusTrap=!0,this.keepContentsMounted=!1,this.onBackdropTap=()=>{this.dismiss(void 0,a)},this.onLifecycle=t=>{const e=this.usersElement,o=Q[t.type];if(e&&o){const r=new CustomEvent(o,{bubbles:!1,cancelable:!1,detail:t.detail});e.dispatchEvent(r)}},this.configureTriggerInteraction=()=>{const{trigger:t,triggerAction:e,el:o,destroyTriggerInteraction:i}=this;if(i&&i(),void 0===t)return;const s=this.triggerEl=void 0!==t?document.getElementById(t):null;s?this.destroyTriggerInteraction=((t,e,o)=>{let r=[];switch(e){case"hover":let t;r=[{eventName:"mouseenter",callback:async e=>{e.stopPropagation(),t&&clearTimeout(t),t=setTimeout((()=>{u((()=>{o.presentFromTrigger(e),t=void 0}))}),100)}},{eventName:"mouseleave",callback:e=>{t&&clearTimeout(t);const r=e.relatedTarget;r&&r.closest("ion-popover")!==o&&o.dismiss(void 0,void 0,!1)}},{eventName:"click",callback:t=>t.stopPropagation()},{eventName:"ionPopoverActivateTrigger",callback:t=>o.presentFromTrigger(t,!0)}];break;case"context-menu":r=[{eventName:"contextmenu",callback:t=>{t.preventDefault(),o.presentFromTrigger(t)}},{eventName:"click",callback:t=>t.stopPropagation()},{eventName:"ionPopoverActivateTrigger",callback:t=>o.presentFromTrigger(t,!0)}];break;default:r=[{eventName:"click",callback:t=>o.presentFromTrigger(t)},{eventName:"ionPopoverActivateTrigger",callback:t=>o.presentFromTrigger(t,!0)}]}return r.forEach((({eventName:e,callback:o})=>t.addEventListener(e,o))),t.setAttribute("data-ion-popover-trigger","true"),()=>{r.forEach((({eventName:e,callback:o})=>t.removeEventListener(e,o))),t.removeAttribute("data-ion-popover-trigger")}})(s,e,o):r(`[ion-popover] - A trigger element with the ID "${t}" was not found in the DOM. The trigger element must be in the DOM when the "trigger" property is set on ion-popover.`,this.el)},this.configureKeyboardInteraction=()=>{const{destroyKeyboardInteraction:t,el:e}=this;t&&t(),this.destroyKeyboardInteraction=(t=>{const e=async e=>{var o;const r=document.activeElement;let i=[];const s=null===(o=e.target)||void 0===o?void 0:o.tagName;if("ION-POPOVER"===s||"ION-ITEM"===s){try{i=Array.from(t.querySelectorAll("ion-item:not(ion-popover ion-popover *):not([disabled])"))}catch(t){}switch(e.key){case"ArrowLeft":await t.getParentPopover()&&t.dismiss(void 0,void 0,!1);break;case"ArrowDown":e.preventDefault();const o=((t,e)=>t[W(t,e)+1])(i,r);void 0!==o&&j(o);break;case"ArrowUp":e.preventDefault();const s=((t,e)=>t[W(t,e)-1])(i,r);void 0!==s&&j(s);break;case"Home":e.preventDefault();const n=i[0];void 0!==n&&j(n);break;case"End":e.preventDefault();const a=i[i.length-1];void 0!==a&&j(a);break;case"ArrowRight":case" ":case"Enter":if(r&&r.hasAttribute("data-ion-popover-trigger")){const t=new CustomEvent("ionPopoverActivateTrigger");r.dispatchEvent(t)}}}};return t.addEventListener("keydown",e),()=>t.removeEventListener("keydown",e)})(e)},this.configureDismissInteraction=()=>{const{destroyDismissInteraction:t,parentPopover:e,triggerAction:o,triggerEl:r,el:i}=this;e&&r&&(t&&t(),this.destroyDismissInteraction=((t,e,o,r)=>{let i=[];const s=b(r).querySelector(".popover-content");return i="hover"===e?[{eventName:"mouseenter",callback:e=>{document.elementFromPoint(e.clientX,e.clientY)!==t&&o.dismiss(void 0,void 0,!1)}}]:[{eventName:"click",callback:e=>{e.target.closest("[data-ion-popover-trigger]")!==t?o.dismiss(void 0,void 0,!1):e.stopPropagation()}}],i.forEach((({eventName:t,callback:e})=>s.addEventListener(t,e))),()=>{i.forEach((({eventName:t,callback:e})=>s.removeEventListener(t,e)))}})(r,o,i,e))}}onTriggerChange(){this.configureTriggerInteraction()}onIsOpenChange(t,e){!0===t&&!1===e?this.present():!1===t&&!0===e&&this.dismiss()}connectedCallback(){const{configureTriggerInteraction:t,el:e}=this;p(e),t()}disconnectedCallback(){const{destroyTriggerInteraction:t}=this;t&&t(),this.headerResizeObserver&&(this.headerResizeObserver.disconnect(),this.headerResizeObserver=void 0)}componentWillLoad(){var t,e;const{el:o}=this,r=null!==(e=null===(t=this.htmlAttributes)||void 0===t?void 0:t.id)&&void 0!==e?e:d(o);this.parentPopover=o.closest(`ion-popover:not(#${r})`),void 0===this.alignment&&(this.alignment="ios"===P(this)?"center":"start")}componentDidLoad(){const{parentPopover:t,isOpen:e}=this;!0===e&&u((()=>this.present())),t&&w(t,"ionPopoverWillDismiss",(()=>{this.dismiss(void 0,void 0,!1)})),this.configureTriggerInteraction()}async presentFromTrigger(t,e=!1){this.focusDescendantOnPresent=e,await this.present(t),this.focusDescendantOnPresent=!1}getDelegate(t=!1){if(this.workingDelegate&&!t)return{delegate:this.workingDelegate,inline:this.inline};const e=this.inline=null!==this.el.parentNode&&!this.hasController;return{inline:e,delegate:this.workingDelegate=e?this.delegate||this.coreDelegate:this.delegate}}async present(t){const e=await this.lockController.lock();if(this.presented)return void e();const{el:o}=this,{inline:r,delegate:i}=this.getDelegate(!0);this.ionMount.emit(),this.usersElement=await x(i,o,this.component,["popover-viewport"],this.componentProps,r),this.recalculateContentOnHeaderReady(),this.keyboardEvents||this.configureKeyboardInteraction(),this.configureDismissInteraction(),k(o)?await A(this.usersElement):this.keepContentsMounted||await $(),await c(this,"popoverEnter",U,_,void 0,{event:t||this.event,size:this.size,trigger:this.triggerEl,reference:this.reference,side:this.side,align:this.alignment}),this.focusDescendantOnPresent&&l(o),e()}recalculateContentOnHeaderReady(){var t;const e=null===(t=this.el.shadowRoot)||void 0===t?void 0:t.querySelector(".popover-content");if(!e)return;const o=this.usersElement||e,r=o.querySelector("ion-header"),i=o.querySelectorAll("ion-content");r&&0!==i.length&&(this.headerResizeObserver=new ResizeObserver((async()=>{var t;if(r.offsetHeight>0){null===(t=this.headerResizeObserver)||void 0===t||t.disconnect(),this.headerResizeObserver=void 0;for(const t of i)await t.recalculateDimensions()}})),this.headerResizeObserver.observe(r))}async dismiss(t,e,o=!0){const r=await this.lockController.lock(),{destroyKeyboardInteraction:i,destroyDismissInteraction:s}=this;o&&this.parentPopover&&this.parentPopover.dismiss(t,e,o);const n=await h(this,t,e,"popoverLeave",J,q,this.event);if(n){i&&(i(),this.destroyKeyboardInteraction=void 0),s&&(s(),this.destroyDismissInteraction=void 0);const{delegate:t}=this.getDelegate();await m(t,this.usersElement)}return r(),n}async getParentPopover(){return this.parentPopover}onDidDismiss(){return v(this.el,"ionPopoverDidDismiss")}onWillDismiss(){return v(this.el,"ionPopoverWillDismiss")}render(){const t=P(this),{onLifecycle:e,parentPopover:o,dismissOnSelect:r,side:n,arrow:a,htmlAttributes:p,focusTrap:d}=this,c=T("desktop"),l=a&&!o;return i(s,Object.assign({key:"3319e6ea7524a30478985c014634403aceedab6f","aria-modal":"true","no-router":!0,tabindex:"-1"},p,{style:{zIndex:`${2e4+this.overlayIndex}`},class:Object.assign(Object.assign({},D(this.cssClass)),{[t]:!0,"popover-translucent":this.translucent,"overlay-hidden":!0,"popover-desktop":c,[`popover-side-${n}`]:!0,[f]:!1===d,"popover-nested":!!o}),onIonPopoverDidPresent:e,onIonPopoverWillPresent:e,onIonPopoverWillDismiss:e,onIonPopoverDidDismiss:e,onIonBackdropTap:this.onBackdropTap}),!o&&i("ion-backdrop",{key:"45265b1f8e5e6e822b3c8d4992039975c472b10b",tappable:this.backdropDismiss,visible:this.showBackdrop,part:"backdrop"}),i("div",{key:"8707fb5c5b9523fd786c4e4d02d41dfb386be187",class:"popover-wrapper ion-overlay-wrapper",onClick:r?()=>this.dismiss():void 0},l&&i("div",{key:"17bd682e56939ba10ab4b2ab3c9e916087a7e19a",class:"popover-arrow",part:"arrow"}),i("div",{key:"02f1bd119d2ffecd2f2541969111fc6e156db9d3",class:"popover-content",part:"content"},i("slot",{key:"dec29181eee87f28f731d6a0ba1ef3c81867d527"}))))}get el(){return this}static get watchers(){return{trigger:[{onTriggerChange:0}],triggerAction:[{onTriggerChange:0}],isOpen:[{onIsOpenChange:0}]}}static get style(){return{ionic:'@charset "UTF-8";:host{--background:var(--ion-background-color, #fff);--min-width:0;--min-height:0;--max-width:auto;--height:auto;--offset-x:0px;--offset-y:0px;right:0;left:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:fixed;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;outline:none;color:var(--ion-text-color, #000);z-index:1001}:host(.popover-nested){pointer-events:none}:host(.popover-nested) .popover-wrapper{pointer-events:auto}:host(.overlay-hidden){display:none}.popover-wrapper{z-index:10}.popover-content{display:-ms-flexbox;display:flex;position:absolute;-ms-flex-direction:column;flex-direction:column;width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);background:var(--background);-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);overflow:auto;z-index:10}::slotted(.popover-viewport){--ion-safe-area-top:0px;--ion-safe-area-right:0px;--ion-safe-area-bottom:0px;--ion-safe-area-left:0px;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}:host(.popover-nested.popover-side-left){--offset-x:5px}:host(.popover-nested.popover-side-right){--offset-x:-5px}:host(.popover-nested.popover-side-start){--offset-x:5px}:host-context([dir=rtl]):host(.popover-nested.popover-side-start),:host-context([dir=rtl]).popover-nested.popover-side-start{--offset-x:-5px}@supports selector(:dir(rtl)){:host(.popover-nested.popover-side-start:dir(rtl)){--offset-x:-5px}}:host(.popover-nested.popover-side-end){--offset-x:-5px}:host-context([dir=rtl]):host(.popover-nested.popover-side-end),:host-context([dir=rtl]).popover-nested.popover-side-end{--offset-x:5px}@supports selector(:dir(rtl)){:host(.popover-nested.popover-side-end:dir(rtl)){--offset-x:5px}}:host(.select-popover-rich-content){--width:clamp(250px, calc(100vw - 40px), 400px)}:host{--width:250px;--max-height:90%;--box-shadow:var(--token-elevation-4, 0px 3px 12px 0px rgba(0, 0, 0, 0.12), 0px 15px 48px 0px rgba(0, 0, 0, 0.18));--backdrop-opacity:0.3}.popover-content{border-radius:var(--token-border-radius-400, var(--token-scale-400, 16px));-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}',ios:'@charset "UTF-8";:host{--background:var(--ion-background-color, #fff);--min-width:0;--min-height:0;--max-width:auto;--height:auto;--offset-x:0px;--offset-y:0px;right:0;left:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:fixed;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;outline:none;color:var(--ion-text-color, #000);z-index:1001}:host(.popover-nested){pointer-events:none}:host(.popover-nested) .popover-wrapper{pointer-events:auto}:host(.overlay-hidden){display:none}.popover-wrapper{z-index:10}.popover-content{display:-ms-flexbox;display:flex;position:absolute;-ms-flex-direction:column;flex-direction:column;width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);background:var(--background);-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);overflow:auto;z-index:10}::slotted(.popover-viewport){--ion-safe-area-top:0px;--ion-safe-area-right:0px;--ion-safe-area-bottom:0px;--ion-safe-area-left:0px;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}:host(.popover-nested.popover-side-left){--offset-x:5px}:host(.popover-nested.popover-side-right){--offset-x:-5px}:host(.popover-nested.popover-side-start){--offset-x:5px}:host-context([dir=rtl]):host(.popover-nested.popover-side-start),:host-context([dir=rtl]).popover-nested.popover-side-start{--offset-x:-5px}@supports selector(:dir(rtl)){:host(.popover-nested.popover-side-start:dir(rtl)){--offset-x:-5px}}:host(.popover-nested.popover-side-end){--offset-x:-5px}:host-context([dir=rtl]):host(.popover-nested.popover-side-end),:host-context([dir=rtl]).popover-nested.popover-side-end{--offset-x:5px}@supports selector(:dir(rtl)){:host(.popover-nested.popover-side-end:dir(rtl)){--offset-x:5px}}:host(.select-popover-rich-content){--width:clamp(250px, calc(100vw - 40px), 400px)}:host{--width:200px;--max-height:90%;--box-shadow:none;--backdrop-opacity:var(--ion-backdrop-opacity, 0.08)}:host(.popover-desktop){--box-shadow:0px 4px 16px 0px rgba(0, 0, 0, 0.12)}.popover-content{border-radius:10px}:host(.popover-desktop) .popover-content{border:0.5px solid var(--ion-color-step-100, var(--ion-background-color-step-100, #e6e6e6))}.popover-arrow{display:block;position:absolute;width:20px;height:10px;overflow:hidden;z-index:11}.popover-arrow::after{top:3px;border-radius:3px;position:absolute;width:14px;height:14px;-webkit-transform:rotate(45deg);transform:rotate(45deg);background:var(--background);content:"";z-index:10}.popover-arrow::after{inset-inline-start:3px}:host(.popover-bottom) .popover-arrow{top:auto;bottom:-10px}:host(.popover-bottom) .popover-arrow::after{top:-6px}:host(.popover-side-left) .popover-arrow{-webkit-transform:rotate(90deg);transform:rotate(90deg)}:host(.popover-side-right) .popover-arrow{-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}:host(.popover-side-top) .popover-arrow{-webkit-transform:rotate(180deg);transform:rotate(180deg)}:host(.popover-side-start) .popover-arrow{-webkit-transform:rotate(90deg);transform:rotate(90deg)}:host-context([dir=rtl]):host(.popover-side-start) .popover-arrow,:host-context([dir=rtl]).popover-side-start .popover-arrow{-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}@supports selector(:dir(rtl)){:host(.popover-side-start:dir(rtl)) .popover-arrow{-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}}:host(.popover-side-end) .popover-arrow{-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}:host-context([dir=rtl]):host(.popover-side-end) .popover-arrow,:host-context([dir=rtl]).popover-side-end .popover-arrow{-webkit-transform:rotate(90deg);transform:rotate(90deg)}@supports selector(:dir(rtl)){:host(.popover-side-end:dir(rtl)) .popover-arrow{-webkit-transform:rotate(90deg);transform:rotate(90deg)}}.popover-arrow,.popover-content{opacity:0}@supports ((-webkit-backdrop-filter: blur(0)) or (backdrop-filter: blur(0))){:host(.popover-translucent) .popover-content,:host(.popover-translucent) .popover-arrow::after{background:rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8);-webkit-backdrop-filter:saturate(180%) blur(20px);backdrop-filter:saturate(180%) blur(20px)}}',md:'@charset "UTF-8";:host{--background:var(--ion-background-color, #fff);--min-width:0;--min-height:0;--max-width:auto;--height:auto;--offset-x:0px;--offset-y:0px;right:0;left:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:fixed;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;outline:none;color:var(--ion-text-color, #000);z-index:1001}:host(.popover-nested){pointer-events:none}:host(.popover-nested) .popover-wrapper{pointer-events:auto}:host(.overlay-hidden){display:none}.popover-wrapper{z-index:10}.popover-content{display:-ms-flexbox;display:flex;position:absolute;-ms-flex-direction:column;flex-direction:column;width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);background:var(--background);-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);overflow:auto;z-index:10}::slotted(.popover-viewport){--ion-safe-area-top:0px;--ion-safe-area-right:0px;--ion-safe-area-bottom:0px;--ion-safe-area-left:0px;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}:host(.popover-nested.popover-side-left){--offset-x:5px}:host(.popover-nested.popover-side-right){--offset-x:-5px}:host(.popover-nested.popover-side-start){--offset-x:5px}:host-context([dir=rtl]):host(.popover-nested.popover-side-start),:host-context([dir=rtl]).popover-nested.popover-side-start{--offset-x:-5px}@supports selector(:dir(rtl)){:host(.popover-nested.popover-side-start:dir(rtl)){--offset-x:-5px}}:host(.popover-nested.popover-side-end){--offset-x:-5px}:host-context([dir=rtl]):host(.popover-nested.popover-side-end),:host-context([dir=rtl]).popover-nested.popover-side-end{--offset-x:5px}@supports selector(:dir(rtl)){:host(.popover-nested.popover-side-end:dir(rtl)){--offset-x:5px}}:host(.select-popover-rich-content){--width:clamp(250px, calc(100vw - 40px), 400px)}:host{--width:250px;--max-height:90%;--box-shadow:0 5px 5px -3px rgba(0, 0, 0, 0.2), 0 8px 10px 1px rgba(0, 0, 0, 0.14), 0 3px 14px 2px rgba(0, 0, 0, 0.12);--backdrop-opacity:var(--ion-backdrop-opacity, 0.32)}.popover-content{border-radius:4px;-webkit-transform-origin:left top;transform-origin:left top}:host-context([dir=rtl]) .popover-content{-webkit-transform-origin:right top;transform-origin:right top}[dir=rtl] .popover-content{-webkit-transform-origin:right top;transform-origin:right top}@supports selector(:dir(rtl)){.popover-content:dir(rtl){-webkit-transform-origin:right top;transform-origin:right top}}.popover-viewport{-webkit-transition-delay:100ms;transition-delay:100ms}.popover-wrapper{opacity:0}'}}},[289,"ion-popover",{hasController:[4,"has-controller"],delegate:[16],overlayIndex:[2,"overlay-index"],enterAnimation:[16],leaveAnimation:[16],component:[1],componentProps:[16],keyboardClose:[4,"keyboard-close"],cssClass:[1,"css-class"],backdropDismiss:[4,"backdrop-dismiss"],event:[8],showBackdrop:[4,"show-backdrop"],translucent:[4],animated:[4],htmlAttributes:[16],triggerAction:[1,"trigger-action"],trigger:[1],size:[1],dismissOnSelect:[4,"dismiss-on-select"],reference:[1],side:[1],alignment:[1025],arrow:[4],isOpen:[4,"is-open"],keyboardEvents:[4,"keyboard-events"],focusTrap:[4,"focus-trap"],keepContentsMounted:[4,"keep-contents-mounted"],presented:[32],presentFromTrigger:[64],present:[64],dismiss:[64],getParentPopover:[64],onDidDismiss:[64],onWillDismiss:[64]},void 0,{trigger:[{onTriggerChange:0}],triggerAction:[{onTriggerChange:0}],isOpen:[{onIsOpenChange:0}]}]),Q={ionPopoverDidPresent:"ionViewDidEnter",ionPopoverWillPresent:"ionViewWillEnter",ionPopoverWillDismiss:"ionViewWillLeave",ionPopoverDidDismiss:"ionViewDidLeave"};function Z(){"undefined"!=typeof customElements&&["ion-popover","ion-backdrop"].forEach((t=>{switch(t){case"ion-popover":customElements.get(n(t))||customElements.define(n(t),K);break;case"ion-backdrop":customElements.get(n(t))||I()}}))}export{K as P,Z as d}
@@ -1,4 +0,0 @@
1
- /*!
2
- * (C) Ionic http://ionicframework.com - MIT License
3
- */
4
- import{b as n,c as o,d as e,O as t,s as i}from"./p-CVBkx7m1.js";import{h as a,c as r,a as d,b as s,g as l}from"./p-BqDiJgC_.js";import{c,j as u,f as v}from"./p-3Ni1Z654.js";import{C as f}from"./p-XegQjlzJ.js";import{B as p}from"./p-BTEOs1at.js";const m='[tabindex]:not([tabindex^="-"]):not([hidden]):not([disabled]), input:not([type=hidden]):not([tabindex^="-"]):not([hidden]):not([disabled]), textarea:not([tabindex^="-"]):not([hidden]):not([disabled]), button:not([tabindex^="-"]):not([hidden]):not([disabled]), select:not([tabindex^="-"]):not([hidden]):not([disabled]), ion-checkbox:not([tabindex^="-"]):not([hidden]):not([disabled]), ion-radio:not([tabindex^="-"]):not([hidden]):not([disabled]), ion-textarea:not([tabindex^="-"]):not([hidden]):not([disabled]), .ion-focusable:not([tabindex^="-"]):not([hidden]):not([disabled]), .ion-focusable[disabled="false"]:not([tabindex^="-"]):not([hidden])',h=(n,o)=>{const e=n.querySelector(m);y(e,null!=o?o:n)},b=(n,o)=>{const e=Array.from(n.querySelectorAll(m));y(e.length>0?e[e.length-1]:null,null!=o?o:n)},y=(n,o)=>{let e=n;const t=null==n?void 0:n.shadowRoot;if(t){const o=t.querySelector(m);e=o&&"function"==typeof n.setFocus?n:o||n}if(e){const n=e.closest("ion-radio-group");n?n.setFocus():a(e)}else o.focus()};let w=0,g=0;const O=new WeakMap,k=n=>{var o;return!1!==n.showBackdrop&&!((null!==(o=n.backdropBreakpoint)&&void 0!==o?o:0)>0)},x=n=>({create:o=>P(n,o),dismiss:(o,e,t)=>R(document,o,e,n,t),getTop:async()=>$(document,n)}),T=x("ion-alert"),j=x("ion-action-sheet"),A=x("ion-loading"),S=x("ion-modal"),C=x("ion-picker-legacy"),B=x("ion-popover"),I=x("ion-toast"),N=n=>{"undefined"!=typeof document&&M(document);const o=w++;n.overlayIndex=o},D=n=>(n.hasAttribute("id")||(n.id="ion-overlay-"+ ++g),n.id),P=(n,o)=>"undefined"!=typeof window&&void 0!==window.customElements?window.customElements.whenDefined(n).then((()=>{const e=document.createElement(n);return e.classList.add("overlay-hidden"),Object.assign(e,Object.assign(Object.assign({},o),{hasController:!0})),J(document).appendChild(e),new Promise((n=>r(e,n)))})):Promise.resolve(),E=(n,o)=>{let e=n;const t=null==n?void 0:n.shadowRoot;t&&(e=t.querySelector(m)||n),e?a(e):o.focus()},M=n=>{0===w&&(w=1,n.addEventListener("focus",(o=>{((n,o)=>{const e=$(o,"ion-alert,ion-action-sheet,ion-loading,ion-modal,ion-picker-legacy,ion-popover"),t=n.target;e&&t&&(e.classList.contains(on)||(e.shadowRoot?(()=>{if(e.contains(t))e.lastFocus=t;else if("ION-TOAST"===t.tagName)E(e.lastFocus,e);else{const n=e.lastFocus;h(e),n===o.activeElement&&b(e),e.lastFocus=o.activeElement}})():(()=>{if(e===t)e.lastFocus=void 0;else if("ION-TOAST"===t.tagName)E(e.lastFocus,e);else{const n=l(e);if(!n.contains(t))return;const i=n.querySelector(".ion-overlay-wrapper");if(!i)return;if(i.contains(t)||t===n.querySelector("ion-backdrop"))e.lastFocus=t;else{const n=e.lastFocus;h(i,e),n===o.activeElement&&b(i,e),e.lastFocus=o.activeElement}}})()))})(o,n)}),!0),n.addEventListener("keydown",(o=>{var e,t,i;if("Tab"!==o.key&&"Alt+Tab"!==o.key)return;const r=$(n,"ion-alert,ion-action-sheet,ion-loading,ion-modal,ion-picker-legacy,ion-popover");if(!r||r.classList.contains(on))return;const d=n.activeElement;if(d===r)return o.preventDefault(),void h(r);if(!d||!(r.contains(d)||d.getRootNode()instanceof ShadowRoot&&r.contains(d.getRootNode().host)||null!==(t=null===(e=r.shadowRoot)||void 0===e?void 0:e.contains(d))&&void 0!==t&&t))return;const s=[...r.querySelectorAll(m),...(null===(i=r.shadowRoot)||void 0===i?void 0:i.querySelectorAll(m))||[]];if(0===s.length)return void o.preventDefault();const l=d?s.findIndex((n=>{var o;if(n===d)return!0;if(null===(o=n.shadowRoot)||void 0===o?void 0:o.contains(d))return!0;const e=d.getRootNode();return e instanceof ShadowRoot&&e.host===n})):-1;o.preventDefault();const c=n=>{const o=n.shadowRoot;if(o){const e=o.querySelector(m);if(e&&"function"!=typeof n.setFocus)return void a(e)}a(n)};o.shiftKey?l<=0?b(r):c(s[l-1]):l<0||l>=s.length-1?h(r):c(s[l+1])}),!0),n.addEventListener("ionBackButton",(o=>{const e=$(n);(null==e?void 0:e.backdropDismiss)&&o.detail.register(t,(()=>{e.dismiss(void 0,H)}))})),i()||n.addEventListener("keydown",(o=>{if("Escape"===o.key){const o=$(n);(null==o?void 0:o.backdropDismiss)&&o.dismiss(void 0,H)}})))},R=(n,o,e,t,i)=>{const a=$(n,t,i);return a?a.dismiss(o,e):Promise.reject("overlay does not exist")},V=(n,o)=>((n,o)=>(void 0===o&&(o="ion-alert,ion-action-sheet,ion-loading,ion-modal,ion-picker-legacy,ion-popover,ion-toast"),Array.from(n.querySelectorAll(o)).filter((n=>n.overlayIndex>0))))(n,o).filter((n=>!n.classList.contains("overlay-hidden"))),$=(n,o,e)=>{const t=V(n,o);return(void 0===e?t:t.filter((n=>n.id===e))).slice(-1)[0]},q=(n=!1)=>{const o=J(document).querySelector("ion-router-outlet, #ion-view-container-root");o&&(n?o.setAttribute("aria-hidden","true"):o.removeAttribute("aria-hidden"))},z=async(e,t,i,a,r,d)=>{var s,l;if(e.presented)return;"ION-TOAST"!==e.el.tagName&&F(e.el);const u=e.el,v="ION-TOAST"!==u.tagName&&!1!==u.focusTrap&&k(u);if(e.presented=!0,e.willPresent.emit(),v){const n=J(document).querySelector("ion-router-outlet, #ion-view-container-root");!!n&&n.contains(u)||q(!0),document.body.classList.add(p)}null===(s=e.willPresentShorthand)||void 0===s||s.emit();const f=n(e),m=o(e),h=e.enterAnimation?e.enterAnimation:c.get(t,"ios"===m?i:"ionic"===f&&r?r:a);await L(e,h,e.el,d)&&(e.didPresent.emit(),null===(l=e.didPresentShorthand)||void 0===l||l.emit()),!e.keyboardClose||null!==document.activeElement&&e.el.contains(document.activeElement)||e.el.focus(),e.el.removeAttribute("aria-hidden"),e.el.removeAttribute("inert")},F=async n=>{let o=document.activeElement;if(!o)return;o.blur();const e=null==o?void 0:o.shadowRoot;e&&(o=e.querySelector(m)||o),await n.onDidDismiss(),null!==document.activeElement&&document.activeElement!==document.body||o.focus()},G=async(n,t,i,a,r,d,s)=>{var l,v;if(!n.presented)return!1;const f=(void 0!==e?V(e):[]).filter((n=>"ION-TOAST"!==n.tagName&&!1!==n.focusTrap&&k(n))),m=n.el;"ION-TOAST"!==m.tagName&&!1!==m.focusTrap&&k(m)&&1===f.length&&f[0].id===m.id&&(q(!1),document.body.classList.remove(p)),n.presented=!1;try{n.el.style.setProperty("pointer-events","none"),n.willDismiss.emit({data:t,role:i}),null===(l=n.willDismissShorthand)||void 0===l||l.emit({data:t,role:i});const e=o(n),u=n.leaveAnimation?n.leaveAnimation:c.get(a,"ios"===e?r:d);i!==K&&await L(n,u,n.el,s),n.didDismiss.emit({data:t,role:i}),null===(v=n.didDismissShorthand)||void 0===v||v.emit({data:t,role:i}),(O.get(n)||[]).forEach((n=>n.destroy())),O.delete(n),n.el.classList.add("overlay-hidden"),n.el.style.removeProperty("pointer-events"),void 0!==n.el.lastFocus&&(n.el.lastFocus=void 0)}catch(o){u(`[${n.el.tagName.toLowerCase()}] - `,o)}return n.el.remove(),!0},J=n=>{const o=c.get("appRootSelector","ion-app");return n.querySelector(o)||n.body},L=async(n,o,e,t)=>{e.classList.remove("overlay-hidden");const i=o(n.el,t);n.animated&&c.getBoolean("animated",!0)||i.duration(0),n.keyboardClose&&i.beforeAddWrite((()=>{const n=e.ownerDocument.activeElement;(null==n?void 0:n.matches("input,ion-input, ion-textarea"))&&n.blur()}));const a=O.get(n)||[];return O.set(n,[...a,i]),await i.play(),!0},_=(n,o)=>{let e;const t=new Promise((n=>e=n));return Q(n,o,(n=>{e(n.detail)})),t},Q=(n,o,e)=>{const t=i=>{s(n,o,t),e(i)};d(n,o,t)},W=n=>"cancel"===n||n===H,X=n=>n(),Z=(n,o)=>{if("function"==typeof n)return c.get("_zoneGate",X)((()=>{try{return n(o)}catch(n){throw n}}))},H="backdrop",K="gesture",U=39,Y=n=>{let o,e=!1;const t=f(),i=(i=!1)=>{if(o&&!i)return{delegate:o,inline:e};const{el:a,hasController:r,delegate:d}=n;return e=null!==a.parentNode&&!r,o=e?d||t:d,{inline:e,delegate:o}};return{attachViewToDom:async o=>{const{delegate:e}=i(!0);if(e)return await e.attachViewToDom(n.el,o);const{hasController:t}=n;if(t&&void 0!==o)throw new Error("framework delegate is missing");return null},removeViewFromDom:()=>{const{delegate:o}=i();o&&void 0!==n.el&&o.removeViewFromDom(n.el.parentElement,n.el)}}},nn=()=>{let n;const o=()=>{n&&(n(),n=void 0)};return{addClickListener:(e,t)=>{o();const i=void 0!==t?document.getElementById(t):null;i?n=((n,o)=>{const e=()=>{o.present()};return n.addEventListener("click",e),()=>{n.removeEventListener("click",e)}})(i,e):v(`[${e.tagName.toLowerCase()}] - A trigger element with the ID "${t}" was not found in the DOM. The trigger element must be in the DOM when the "trigger" property is set on an overlay component.`,e)},removeClickListener:o}},on="ion-disable-focus-trap";export{H as B,on as F,K as G,U as O,T as a,j as b,B as c,Y as d,nn as e,z as f,G as g,_ as h,W as i,N as j,D as k,A as l,S as m,h as n,$ as o,C as p,b as q,Z as s,I as t}
@@ -1,72 +0,0 @@
1
- /*!
2
- * (C) Ionic http://ionicframework.com - MIT License
3
- */
4
- 'use strict';
5
-
6
- var index = require('./index-CzcLEdQ5.js');
7
- var ionicGlobal = require('./ionic-global-CSEbHD_F.js');
8
-
9
- const galleryItemCss = () => `:host{display:contents}:host(.in-gallery-layout-uniform) ::slotted(*){aspect-ratio:1/1}:host(.in-gallery-layout-masonry){min-height:unset;margin-bottom:var(--internal-gallery-gap, 16px)}::slotted(*){margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;width:100%}::slotted(img){display:block;-o-object-fit:cover;object-fit:cover;-o-object-position:center;object-position:center}`;
10
-
11
- const GalleryItem = class {
12
- constructor(hostRef) {
13
- index.registerInstance(this, hostRef);
14
- this.hasWarnedInvalidParent = false;
15
- this.onSlotChange = () => {
16
- this.warnInvalidParent();
17
- };
18
- }
19
- componentWillLoad() {
20
- var _a;
21
- this.galleryEl = (_a = this.el.closest('ion-gallery')) !== null && _a !== void 0 ? _a : undefined;
22
- this.syncLayoutClasses();
23
- }
24
- componentDidLoad() {
25
- this.watchGalleryLayoutClasses();
26
- this.warnInvalidParent();
27
- }
28
- disconnectedCallback() {
29
- var _a;
30
- (_a = this.galleryClassObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
31
- this.galleryClassObserver = undefined;
32
- this.galleryEl = undefined;
33
- }
34
- warnInvalidParent() {
35
- if (this.hasWarnedInvalidParent || this.galleryEl !== undefined) {
36
- return;
37
- }
38
- index.printIonWarning('[ion-gallery-item] - This component should be used as a child of an "ion-gallery" component.', this.el);
39
- this.hasWarnedInvalidParent = true;
40
- }
41
- watchGalleryLayoutClasses() {
42
- var _a;
43
- const galleryEl = this.galleryEl;
44
- if (galleryEl === undefined) {
45
- return;
46
- }
47
- (_a = this.galleryClassObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
48
- this.galleryClassObserver = new MutationObserver(() => this.syncLayoutClasses());
49
- this.galleryClassObserver.observe(galleryEl, {
50
- attributes: true,
51
- attributeFilter: ['class'],
52
- });
53
- }
54
- syncLayoutClasses() {
55
- var _a;
56
- const layout = (_a = this.galleryEl) === null || _a === void 0 ? void 0 : _a.layout;
57
- this.galleryLayout = layout === 'masonry' || layout === 'uniform' ? layout : undefined;
58
- }
59
- render() {
60
- const { galleryLayout } = this;
61
- const theme = ionicGlobal.getIonTheme(this);
62
- return (index.h(index.Host, { key: 'dbd9b9e005aa151981296e6487532e221f3f24e3', class: {
63
- [theme]: true,
64
- 'in-gallery-layout-uniform': galleryLayout === 'uniform',
65
- 'in-gallery-layout-masonry': galleryLayout === 'masonry',
66
- } }, index.h("slot", { key: '98af83e345389763cf23d5e705f1c8773836418f', onSlotchange: this.onSlotChange })));
67
- }
68
- get el() { return index.getElement(this); }
69
- };
70
- GalleryItem.style = galleryItemCss();
71
-
72
- exports.ion_gallery_item = GalleryItem;
@@ -1,87 +0,0 @@
1
- /**
2
- * Convert a pixels given value into rem
3
- *
4
- * @param pixels - Value in pixels to be converted (i.e. px)
5
- * @param context (optional) - Baseline value
6
- */
7
- /**
8
- * Convert a font size to a dynamic font size.
9
- * Fonts that participate in Dynamic Type should use
10
- * dynamic font sizes.
11
- * @param size - The initial font size including the unit (i.e. px or pt)
12
- * @param unit (optional) - The unit to convert to. Use this if you want to
13
- * convert to a unit other than $baselineUnit.
14
- */
15
- /**
16
- * Convert a font size to a dynamic font size but impose
17
- * a maximum font size.
18
- * @param size - The initial font size including the unit (i.e. px or pt)
19
- * @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).
20
- * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
21
- * convert to a unit other than $baselineUnit.
22
- */
23
- /**
24
- * Convert a font size to a dynamic font size but impose
25
- * a minimum font size.
26
- * @param size - The initial font size including the unit (i.e. px or pt)
27
- * @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).
28
- * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
29
- * convert to a unit other than $baselineUnit.
30
- */
31
- /**
32
- * Convert a font size to a dynamic font size but impose
33
- * maximum and minimum font sizes.
34
- * @param size - The initial font size including the unit (i.e. px or pt)
35
- * @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).
36
- * @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).
37
- * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
38
- * convert to a unit other than $baselineUnit.
39
- */
40
- /**
41
- * A heuristic that applies CSS to tablet
42
- * viewports.
43
- *
44
- * Usage:
45
- * @include tablet-viewport() {
46
- * :host {
47
- * background-color: green;
48
- * }
49
- * }
50
- */
51
- /**
52
- * A heuristic that applies CSS to mobile
53
- * viewports (i.e. phones, not tablets).
54
- *
55
- * Usage:
56
- * @include mobile-viewport() {
57
- * :host {
58
- * background-color: blue;
59
- * }
60
- * }
61
- */
62
- :host {
63
- display: contents;
64
- }
65
-
66
- :host(.in-gallery-layout-uniform) ::slotted(*) {
67
- aspect-ratio: 1/1;
68
- }
69
-
70
- :host(.in-gallery-layout-masonry) {
71
- min-height: unset;
72
- margin-bottom: var(--internal-gallery-gap, 16px);
73
- }
74
-
75
- ::slotted(*) {
76
- margin-left: 0;
77
- margin-right: 0;
78
- margin-top: 0;
79
- margin-bottom: 0;
80
- width: 100%;
81
- }
82
-
83
- ::slotted(img) {
84
- display: block;
85
- object-fit: cover;
86
- object-position: center;
87
- }
@@ -1,87 +0,0 @@
1
- /*!
2
- * (C) Ionic http://ionicframework.com - MIT License
3
- */
4
- import { Host, h } from "@stencil/core";
5
- import { printIonWarning } from "../../utils/logging/index";
6
- import { getIonTheme } from "../../global/ionic-global";
7
- /**
8
- * @virtualProp {"ios" | "md"} mode - The mode determines the platform behaviors of the component.
9
- * @virtualProp {"ios" | "md" | "ionic"} theme - The theme determines the visual appearance of the component.
10
- *
11
- * @slot - Wrap elements that should be grouped in an `ion-gallery`.
12
- */
13
- export class GalleryItem {
14
- constructor() {
15
- this.hasWarnedInvalidParent = false;
16
- this.onSlotChange = () => {
17
- this.warnInvalidParent();
18
- };
19
- }
20
- componentWillLoad() {
21
- var _a;
22
- this.galleryEl = (_a = this.el.closest('ion-gallery')) !== null && _a !== void 0 ? _a : undefined;
23
- this.syncLayoutClasses();
24
- }
25
- componentDidLoad() {
26
- this.watchGalleryLayoutClasses();
27
- this.warnInvalidParent();
28
- }
29
- disconnectedCallback() {
30
- var _a;
31
- (_a = this.galleryClassObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
32
- this.galleryClassObserver = undefined;
33
- this.galleryEl = undefined;
34
- }
35
- warnInvalidParent() {
36
- if (this.hasWarnedInvalidParent || this.galleryEl !== undefined) {
37
- return;
38
- }
39
- printIonWarning('[ion-gallery-item] - This component should be used as a child of an "ion-gallery" component.', this.el);
40
- this.hasWarnedInvalidParent = true;
41
- }
42
- watchGalleryLayoutClasses() {
43
- var _a;
44
- const galleryEl = this.galleryEl;
45
- if (galleryEl === undefined) {
46
- return;
47
- }
48
- (_a = this.galleryClassObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
49
- this.galleryClassObserver = new MutationObserver(() => this.syncLayoutClasses());
50
- this.galleryClassObserver.observe(galleryEl, {
51
- attributes: true,
52
- attributeFilter: ['class'],
53
- });
54
- }
55
- syncLayoutClasses() {
56
- var _a;
57
- const layout = (_a = this.galleryEl) === null || _a === void 0 ? void 0 : _a.layout;
58
- this.galleryLayout = layout === 'masonry' || layout === 'uniform' ? layout : undefined;
59
- }
60
- render() {
61
- const { galleryLayout } = this;
62
- const theme = getIonTheme(this);
63
- return (h(Host, { key: 'dbd9b9e005aa151981296e6487532e221f3f24e3', class: {
64
- [theme]: true,
65
- 'in-gallery-layout-uniform': galleryLayout === 'uniform',
66
- 'in-gallery-layout-masonry': galleryLayout === 'masonry',
67
- } }, h("slot", { key: '98af83e345389763cf23d5e705f1c8773836418f', onSlotchange: this.onSlotChange })));
68
- }
69
- static get is() { return "ion-gallery-item"; }
70
- static get encapsulation() { return "shadow"; }
71
- static get originalStyleUrls() {
72
- return {
73
- "$": ["gallery-item.scss"]
74
- };
75
- }
76
- static get styleUrls() {
77
- return {
78
- "$": ["gallery-item.css"]
79
- };
80
- }
81
- static get states() {
82
- return {
83
- "galleryLayout": {}
84
- };
85
- }
86
- static get elementRef() { return "el"; }
87
- }
@@ -1,70 +0,0 @@
1
- /*!
2
- * (C) Ionic http://ionicframework.com - MIT License
3
- */
4
- import { r as registerInstance, f as printIonWarning, h, d as Host, g as getElement } from './index-Omi_TcwW.js';
5
- import { c as getIonTheme } from './ionic-global-CAZb-5i-.js';
6
-
7
- const galleryItemCss = () => `:host{display:contents}:host(.in-gallery-layout-uniform) ::slotted(*){aspect-ratio:1/1}:host(.in-gallery-layout-masonry){min-height:unset;margin-bottom:var(--internal-gallery-gap, 16px)}::slotted(*){margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;width:100%}::slotted(img){display:block;-o-object-fit:cover;object-fit:cover;-o-object-position:center;object-position:center}`;
8
-
9
- const GalleryItem = class {
10
- constructor(hostRef) {
11
- registerInstance(this, hostRef);
12
- this.hasWarnedInvalidParent = false;
13
- this.onSlotChange = () => {
14
- this.warnInvalidParent();
15
- };
16
- }
17
- componentWillLoad() {
18
- var _a;
19
- this.galleryEl = (_a = this.el.closest('ion-gallery')) !== null && _a !== void 0 ? _a : undefined;
20
- this.syncLayoutClasses();
21
- }
22
- componentDidLoad() {
23
- this.watchGalleryLayoutClasses();
24
- this.warnInvalidParent();
25
- }
26
- disconnectedCallback() {
27
- var _a;
28
- (_a = this.galleryClassObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
29
- this.galleryClassObserver = undefined;
30
- this.galleryEl = undefined;
31
- }
32
- warnInvalidParent() {
33
- if (this.hasWarnedInvalidParent || this.galleryEl !== undefined) {
34
- return;
35
- }
36
- printIonWarning('[ion-gallery-item] - This component should be used as a child of an "ion-gallery" component.', this.el);
37
- this.hasWarnedInvalidParent = true;
38
- }
39
- watchGalleryLayoutClasses() {
40
- var _a;
41
- const galleryEl = this.galleryEl;
42
- if (galleryEl === undefined) {
43
- return;
44
- }
45
- (_a = this.galleryClassObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
46
- this.galleryClassObserver = new MutationObserver(() => this.syncLayoutClasses());
47
- this.galleryClassObserver.observe(galleryEl, {
48
- attributes: true,
49
- attributeFilter: ['class'],
50
- });
51
- }
52
- syncLayoutClasses() {
53
- var _a;
54
- const layout = (_a = this.galleryEl) === null || _a === void 0 ? void 0 : _a.layout;
55
- this.galleryLayout = layout === 'masonry' || layout === 'uniform' ? layout : undefined;
56
- }
57
- render() {
58
- const { galleryLayout } = this;
59
- const theme = getIonTheme(this);
60
- return (h(Host, { key: 'dbd9b9e005aa151981296e6487532e221f3f24e3', class: {
61
- [theme]: true,
62
- 'in-gallery-layout-uniform': galleryLayout === 'uniform',
63
- 'in-gallery-layout-masonry': galleryLayout === 'masonry',
64
- } }, h("slot", { key: '98af83e345389763cf23d5e705f1c8773836418f', onSlotchange: this.onSlotChange })));
65
- }
66
- get el() { return getElement(this); }
67
- };
68
- GalleryItem.style = galleryItemCss();
69
-
70
- export { GalleryItem as ion_gallery_item };
@@ -1,4 +0,0 @@
1
- /*!
2
- * (C) Ionic http://ionicframework.com - MIT License
3
- */
4
- import{r as o,h as e,i,d as t,g as n}from"./p-Omi_TcwW.js";import{c,b as s}from"./p-CBV-BGvD.js";import{x as a}from"./p-BDqjX7Z_.js";import{s as l}from"./p-C4uUM9DM.js";import{r}from"./p-CFjI63GE.js";import{h as d,g as m}from"./p-DaJxRxSQ.js";import{b as p,z as b}from"./p-D2tu5BUg.js";import"./p-CHE1xWbg.js";import"./p-vXpMhGrs.js";import"./p-FvDKM4Ax.js";import"./p-BTEOs1at.js";import"./p-CWJdc8f_.js";const h=class{constructor(e){o(this,e),this.pendingEnterTarget=null,this.cancelText="Close",this.cancelIcon=!1,this.options=[]}closeModal(){const o=this.el.closest("ion-modal");o&&o.dismiss()}findOptionFromEvent(o){const{options:e}=this;return e.find((e=>e.value===o.target.value))}getValues(o){const{multiple:e,options:i}=this;if(e)return i.filter((o=>o.checked)).map((o=>o.value));const t=o?this.findOptionFromEvent(o):null;return t?t.value:void 0}callOptionHandler(o){const e=this.findOptionFromEvent(o),i=this.getValues(o);(null==e?void 0:e.handler)&&l(e.handler,i)}setChecked(o){const{multiple:e}=this,i=this.findOptionFromEvent(o);e&&i&&(i.checked=o.detail.checked)}get cancelButtonIcon(){const o=c(this);return{ios:b,md:p,ionic:a}[o]}getModalContextClasses(){const o=this.el;return{"in-modal-default":d("ion-modal.modal-default",o),"in-modal-sheet":d("ion-modal.modal-sheet",o)}}renderRadioOptions(){const o=this.options.filter((o=>o.checked)).map((o=>o.value))[0];return e("ion-radio-group",{value:o,onIonChange:o=>this.callOptionHandler(o)},this.options.map(((i,t)=>{const n={id:`modal-option-${t}`,label:i.text,startContent:i.startContent,endContent:i.endContent,description:i.description};return e("ion-item",{lines:"none",class:Object.assign({"item-radio-checked":i.value===o},m(i.cssClass))},e("ion-radio",{value:i.value,disabled:i.disabled,justify:"start",labelPlacement:"end",onClick:()=>this.closeModal(),onKeyDown:o=>{"Enter"!==o.key||o.repeat||(this.pendingEnterTarget=o.currentTarget)},onKeyUp:o=>{if(" "===o.key)this.closeModal();else if("Enter"===o.key){const e=this.pendingEnterTarget===o.currentTarget;this.pendingEnterTarget=null,e&&this.closeModal()}}},r(n,"select-option-label")))})))}renderCheckboxOptions(){return this.options.map(((o,t)=>{const n={id:`modal-option-${t}`,label:o.text,startContent:o.startContent,endContent:o.endContent,description:o.description};return e("ion-item",{class:Object.assign({"item-checkbox-checked":o.checked},m(o.cssClass))},e("ion-checkbox",{value:o.value,disabled:o.disabled,checked:o.checked,justify:"start",labelPlacement:"end",onIonChange:o=>{this.setChecked(o),this.callOptionHandler(o),i(this)}},r(n,"select-option-label")))}))}render(){return e(t,{key:"6f1c1c0ad2dad8d4c1defc41a37e9cb4219facef",class:Object.assign({[s(this)]:!0},this.getModalContextClasses())},e("ion-header",{key:"e917416fdfb8785511abac755f9cd23e24bc2c70"},e("ion-toolbar",{key:"7ce8116cdd882958f1c6d0abd9f6ddad60d4232b"},void 0!==this.header&&e("ion-title",{key:"aa2be148b57b756ca1abdc4b29c26861494e9341"},this.header),e("ion-buttons",{key:"7a9671f9426a5b9eb0fef1d4b446d2db98332f89",slot:"end"},e("ion-button",{key:"c5c1511bed6e3361aa740de9bcab4c7445887518","aria-label":this.cancelIcon?this.cancelText:void 0,onClick:()=>this.closeModal()},this.cancelIcon?e("ion-icon",{"aria-hidden":"true",slot:"icon-only",icon:this.cancelButtonIcon}):this.cancelText)))),e("ion-content",{key:"ddabe1b04a9f65e741935e387c06ee8f749b38e1"},e("ion-list",{key:"cb801aecd27444fb7bb9e3bf06e5934dfd1a9606"},!0===this.multiple?this.renderCheckboxOptions():this.renderRadioOptions())))}get el(){return n(this)}};h.style={ionic:'.sc-ion-select-modal-ionic-h{height:100%}.select-option-label.sc-ion-select-modal-ionic{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.select-option-description.sc-ion-select-modal-ionic{display:block}.in-modal-default.sc-ion-select-modal-ionic-h ion-content.sc-ion-select-modal-ionic::part(scroll),.in-modal-default.sc-ion-select-modal-ionic-h ion-content.sc-ion-select-modal-ionic [part~="scroll"]{--padding-bottom:var(--token-space-400, var(--token-scale-400, 16px))}ion-item.sc-ion-select-modal-ionic{--border-width:0}ion-item.ion-focused.sc-ion-select-modal-ionic::part(native)::after,ion-item.ion-focused.sc-ion-select-modal-ionic [part~="native"]::after{border:none}ion-toolbar.sc-ion-select-modal-ionic{font-size:var(--token-font-size-450, 1.125rem);font-weight:var(--token-font-weight-medium, 500);letter-spacing:var(--token-font-letter-spacing-0, 0%);line-height:var(--token-font-line-height-700, var(--token-scale-700, 28px));text-decoration:none;text-transform:none}ion-list.sc-ion-select-modal-ionic ion-radio.sc-ion-select-modal-ionic::part(container),ion-list.sc-ion-select-modal-ionic ion-radio.sc-ion-select-modal-ionic [part~="container"]{display:none}ion-list.sc-ion-select-modal-ionic ion-radio.sc-ion-select-modal-ionic::part(label),ion-list.sc-ion-select-modal-ionic ion-radio.sc-ion-select-modal-ionic [part~="label"]{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}ion-list.sc-ion-select-modal-ionic ion-radio.sc-ion-select-modal-ionic::part(label),ion-list.sc-ion-select-modal-ionic ion-radio.sc-ion-select-modal-ionic [part~="label"],ion-list.sc-ion-select-modal-ionic ion-checkbox.sc-ion-select-modal-ionic::part(label),ion-list.sc-ion-select-modal-ionic ion-checkbox.sc-ion-select-modal-ionic [part~="label"]{font-size:var(--token-font-size-400, 1rem);font-weight:var(--token-font-weight-medium, 500);letter-spacing:var(--token-font-letter-spacing-0, 0%);line-height:var(--token-font-line-height-600, var(--token-scale-600, 24px));text-decoration:none;text-transform:none}.item-radio-checked.sc-ion-select-modal-ionic,.item-checkbox-checked.sc-ion-select-modal-ionic{--background:var(--token-semantics-primary-100, var(--token-primitives-blue-100, #e9ecfc));--border-radius:var(--token-border-radius-400, var(--token-scale-400, 16px))}ion-content.sc-ion-select-modal-ionic{--padding-start:var(--token-space-400, var(--token-scale-400, 16px)) !important;--padding-end:var(--token-space-400, var(--token-scale-400, 16px)) !important;--padding-bottom:var(--token-space-1200, var(--token-scale-1200, 48px)) !important}ion-content.sc-ion-select-modal-ionic:has(.radio-checked) .ion-focused.sc-ion-select-modal-ionic:not(.item-radio-checked){--background-focused-opacity:1}.select-option-label.sc-ion-select-modal-ionic{gap:var(--token-space-300, var(--token-scale-300, 12px))}.select-option-description.sc-ion-select-modal-ionic{font-size:var(--token-font-size-350, 0.875rem);font-weight:var(--token-font-weight-regular, 400);letter-spacing:var(--token-font-letter-spacing-0, 0%);line-height:var(--token-font-line-height-600, var(--token-scale-600, 24px));text-decoration:none;text-transform:none;color:var(--token-text-subtle, var(--token-primitives-neutral-1000, #3b3b3b));font-size:var(--token-font-size-350, 0.875rem)}',ios:'.sc-ion-select-modal-ios-h{height:100%}.select-option-label.sc-ion-select-modal-ios{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.select-option-description.sc-ion-select-modal-ios{display:block}.select-option-label.sc-ion-select-modal-ios{gap:12px}.select-option-description.sc-ion-select-modal-ios{padding-left:0;padding-right:0;padding-top:5px;padding-bottom:0;color:var(--ion-color-step-700, var(--ion-text-color-step-300, #4d4d4d));font-size:0.75rem}ion-item.sc-ion-select-modal-ios{--inner-padding-end:0}ion-radio.sc-ion-select-modal-ios::after{bottom:0;position:absolute;width:calc(100% - 0.9375rem - 16px);border-width:0px 0px 0.55px 0px;border-style:solid;border-color:var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-250, var(--ion-background-color-step-250, #c8c7cc))));content:""}ion-radio.sc-ion-select-modal-ios::after{inset-inline-start:calc(0.9375rem + 16px)}',md:'.sc-ion-select-modal-md-h{height:100%}.select-option-label.sc-ion-select-modal-md{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.select-option-description.sc-ion-select-modal-md{display:block}.select-option-label.sc-ion-select-modal-md{gap:12px}.select-option-description.sc-ion-select-modal-md{padding-left:0;padding-right:0;padding-top:5px;padding-bottom:0;color:var(--ion-color-step-700, var(--ion-text-color-step-300, #4d4d4d));font-size:0.75rem}ion-list.sc-ion-select-modal-md ion-radio.sc-ion-select-modal-md::part(container),ion-list.sc-ion-select-modal-md ion-radio.sc-ion-select-modal-md [part~="container"]{display:none}ion-list.sc-ion-select-modal-md ion-radio.sc-ion-select-modal-md::part(label),ion-list.sc-ion-select-modal-md ion-radio.sc-ion-select-modal-md [part~="label"]{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}ion-item.sc-ion-select-modal-md{--inner-border-width:0}.item-radio-checked.sc-ion-select-modal-md{--background:rgba(var(--ion-color-primary-rgb, 0, 84, 233), 0.08);--background-focused:var(--ion-color-primary, #0054e9);--background-focused-opacity:0.2;--background-hover:var(--ion-color-primary, #0054e9);--background-hover-opacity:0.12}.item-checkbox-checked.sc-ion-select-modal-md{--background-activated:var(--ion-item-color, var(--ion-text-color, #000));--background-focused:var(--ion-item-color, var(--ion-text-color, #000));--background-hover:var(--ion-item-color, var(--ion-text-color, #000));--color:var(--ion-color-primary, #0054e9)}'};export{h as ion_select_modal}
@@ -1,4 +0,0 @@
1
- /*!
2
- * (C) Ionic http://ionicframework.com - MIT License
3
- */
4
- import{r as t,f as i,h as o,d as s,g as a}from"./p-Omi_TcwW.js";import{c as e}from"./p-CBV-BGvD.js";const n=class{constructor(i){t(this,i),this.hasWarnedInvalidParent=!1,this.onSlotChange=()=>{this.warnInvalidParent()}}componentWillLoad(){var t;this.galleryEl=null!==(t=this.el.closest("ion-gallery"))&&void 0!==t?t:void 0,this.syncLayoutClasses()}componentDidLoad(){this.watchGalleryLayoutClasses(),this.warnInvalidParent()}disconnectedCallback(){var t;null===(t=this.galleryClassObserver)||void 0===t||t.disconnect(),this.galleryClassObserver=void 0,this.galleryEl=void 0}warnInvalidParent(){this.hasWarnedInvalidParent||void 0!==this.galleryEl||(i('[ion-gallery-item] - This component should be used as a child of an "ion-gallery" component.',this.el),this.hasWarnedInvalidParent=!0)}watchGalleryLayoutClasses(){var t;const i=this.galleryEl;void 0!==i&&(null===(t=this.galleryClassObserver)||void 0===t||t.disconnect(),this.galleryClassObserver=new MutationObserver((()=>this.syncLayoutClasses())),this.galleryClassObserver.observe(i,{attributes:!0,attributeFilter:["class"]}))}syncLayoutClasses(){var t;const i=null===(t=this.galleryEl)||void 0===t?void 0:t.layout;this.galleryLayout="masonry"===i||"uniform"===i?i:void 0}render(){const{galleryLayout:t}=this,i=e(this);return o(s,{key:"dbd9b9e005aa151981296e6487532e221f3f24e3",class:{[i]:!0,"in-gallery-layout-uniform":"uniform"===t,"in-gallery-layout-masonry":"masonry"===t}},o("slot",{key:"98af83e345389763cf23d5e705f1c8773836418f",onSlotchange:this.onSlotChange}))}get el(){return a(this)}};n.style=":host{display:contents}:host(.in-gallery-layout-uniform) ::slotted(*){aspect-ratio:1/1}:host(.in-gallery-layout-masonry){min-height:unset;margin-bottom:var(--internal-gallery-gap, 16px)}::slotted(*){margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;width:100%}::slotted(img){display:block;-o-object-fit:cover;object-fit:cover;-o-object-position:center;object-position:center}";export{n as ion_gallery_item}
@@ -1,4 +0,0 @@
1
- /*!
2
- * (C) Ionic http://ionicframework.com - MIT License
3
- */
4
- import{r as t,f as i,h as s,d as e,g as r}from"./p-Omi_TcwW.js";import{r as o}from"./p-CHE1xWbg.js";import{c as n}from"./p-CBV-BGvD.js";import"./p-vXpMhGrs.js";const a=/^[-+]?(?:\d+\.?\d*|\.\d+)(?:%|[a-z]+)$/i,l=/^(calc|min|max|clamp)\s*\(.+\)$/i,h={xs:2,sm:3,md:4,lg:6,xl:8,xxl:10},d="16px",u={xs:0,sm:576,md:768,lg:992,xl:1200,xxl:1400},m=["xs","sm","md","lg","xl","xxl"],p="ion-gallery-item",c=class{constructor(i){t(this,i),this.hasWarnedInvalidColumns=!1,this.hasWarnedInvalidGap=!1,this.hasWarnedUnusedOrder=!1,this.hasWarnedInvalidItems=!1,this.layout="uniform",this.columns=h,this.gap=d,this.onSlotChange=()=>{this.scheduleMasonryResize()},this.resizeMasonryGrid=()=>{if(this.masonryRaf=void 0,"masonry"!==this.layout)return void this.clearMasonryStyles();const t=this.el.getBoundingClientRect().width,i=this.getColumnsForWidth(t);if(void 0===i)return;const s=getComputedStyle(this.el),e=parseFloat(s.getPropertyValue("grid-auto-rows"))||0,r=parseFloat(s.getPropertyValue("row-gap"))||parseFloat(s.getPropertyValue("gap"))||0,o=parseFloat(s.getPropertyValue("column-gap"))||parseFloat(s.getPropertyValue("gap"))||0,n=this.getItems();this.layoutMasonry(n,e,r,o,i)}}onColumnsOrGapChanged(){this.syncResponsiveLayout()}onLayoutOrOrderChanged(){this.syncResponsiveLayout(),o((()=>{this.warnUnusedOrder()}))}componentDidLoad(){this.updateResponsiveStyles(!0),this.resizeObserver=new ResizeObserver((()=>{this.updateResponsiveStyles(),this.scheduleMasonryResize()})),this.resizeObserver.observe(this.el),this.scheduleMasonryResize(),this.warnUnusedOrder()}disconnectedCallback(){var t;void 0!==this.masonryRaf&&(cancelAnimationFrame(this.masonryRaf),this.masonryRaf=void 0),null===(t=this.resizeObserver)||void 0===t||t.disconnect(),this.resizeObserver=void 0}onChildLoad(t){if("masonry"!==this.layout)return;const i=t.target;i instanceof Node&&this.el.contains(i)&&this.scheduleMasonryResize()}syncResponsiveLayout(){this.updateResponsiveStyles(!0),this.scheduleMasonryResize()}scheduleMasonryResize(){"masonry"===this.layout?(void 0!==this.masonryRaf&&cancelAnimationFrame(this.masonryRaf),this.masonryRaf=requestAnimationFrame(this.resizeMasonryGrid)):this.clearMasonryStyles()}sanitizeColumns(t){if(void 0===t)return;const i="number"==typeof t?t:Number(t);return!Number.isFinite(i)||!Number.isInteger(i)||i<=0?void 0:i}sanitizeGap(t){if(void 0===t)return;const i="string"==typeof t?t.trim():t;if(""===i||"object"==typeof i)return;const s=Number(i);return Number.isFinite(s)?s<0?void 0:`${s}px`:"string"==typeof i&&function(t){const i=t.trim();return!!i&&(l.test(i)||a.test(i))}(i)?i:void 0}isBreakpointMap(t){return"object"==typeof t&&null!==t&&!Array.isArray(t)}hasInvalidBreakpointMap(t,i){let s=!1;for(const e of m){const r=t[e];if(void 0!==r&&(s=!0,void 0===i(r)))return!0}return!s}resolveFromBreakpoints(t,i,s,e){let r;for(const o of m){const n=i[o],a=s(n),l=e(o),h=void 0===n||void 0===a?l:a;void 0!==h&&t>=u[o]&&(r=h)}return r}getColumnsFromBreakpointMap(t,i){return this.resolveFromBreakpoints(t,i,(t=>this.sanitizeColumns(t)),(t=>this.sanitizeColumns(h[t])))}getGapFromBreakpointMap(t,i){return this.resolveFromBreakpoints(t,i,(t=>this.sanitizeGap(t)),(()=>this.sanitizeGap(d)))}warnInvalidColumns(t){this.hasWarnedInvalidColumns||(i(`[ion-gallery] - Invalid "columns" value (${JSON.stringify(t)}). Expected a positive integer or breakpoint map object (e.g. { xs: 2, md: 4 }). Falling back to default responsive columns.`,this.el),this.hasWarnedInvalidColumns=!0)}warnInvalidGap(t){this.hasWarnedInvalidGap||(i(`[ion-gallery] - Invalid "gap" value (${JSON.stringify(t)}). Expected a non-negative number, CSS length string, or breakpoint map object (e.g. { xs: 8, md: "1rem" }).`,this.el),this.hasWarnedInvalidGap=!0)}warnUnusedOrder(){const{layout:t}=this;this.hasWarnedUnusedOrder||"uniform"!==t||void 0===(null==this.order?void 0:this.order)||(i('[ion-gallery] - "order" has no effect when "layout" is "uniform". Set "layout" to "masonry" for "order" to apply.',this.el),this.hasWarnedUnusedOrder=!0)}warnInvalidItems(){this.hasWarnedInvalidItems||(i('[ion-gallery] - Gallery items must be wrapped in "ion-gallery-item" components. Non-item direct children are ignored unless they contain nested "ion-gallery-item" elements.',this.el),this.hasWarnedInvalidItems=!0)}getColumnsForWidth(t){const{columns:i}=this,s=this.isBreakpointMap(i),e=s&&this.hasInvalidBreakpointMap(i,(t=>this.sanitizeColumns(t))),r=s?this.getColumnsFromBreakpointMap(t,i):this.sanitizeColumns(i);return(e||!s&&void 0===r)&&this.warnInvalidColumns(i),void 0!==r?r:this.getColumnsFromBreakpointMap(t,h)}getGapForWidth(t){const{gap:i}=this,s=null!=i?i:d,e=this.isBreakpointMap(s),r=e&&this.hasInvalidBreakpointMap(s,(t=>this.sanitizeGap(t))),o=e?this.getGapFromBreakpointMap(t,s):this.sanitizeGap(s);return(r||!e&&void 0===o)&&this.warnInvalidGap(s),void 0!==o?o:this.sanitizeGap(d)}updateResponsiveStyles(t=!1){const i=this.el.getBoundingClientRect().width;if(!i||!t&&void 0!==this.lastWidth&&Math.abs(this.lastWidth-i)<1)return;this.lastWidth=i;const s=this.getColumnsForWidth(i);this.el.style.setProperty("--internal-gallery-columns",`${s}`);const e=this.getGapForWidth(i);this.el.style.setProperty("--internal-gallery-gap",`${e}`)}isGalleryItemElement(t){var i;return"function"==typeof(null===(i=t.style)||void 0===i?void 0:i.setProperty)}getItems(){const t=Array.from(this.el.children).filter((t=>this.isGalleryItemElement(t))),i=[],s=t=>{const s=Array.from(t.children).filter((t=>this.isGalleryItemElement(t)));i.push(...s)};return t.forEach((t=>{if(t.matches(p))return void s(t);const i=Array.from(t.querySelectorAll(p)).filter((t=>this.isGalleryItemElement(t)));0!==i.length?(t.style.display="contents",i.forEach((t=>s(t)))):this.warnInvalidItems()})),i}clearItemStyles(t){t.style.gridRowStart="",t.style.gridRowEnd="",t.style.gridColumn="",t.style.marginBottom=""}clearMasonryStyles(){this.getItems().forEach((t=>this.clearItemStyles(t)))}calculateRowSpan(t,i,s){if(t instanceof HTMLImageElement&&(!t.complete||0===t.naturalHeight))return;const e=t.getBoundingClientRect().height,r=getComputedStyle(t),o=parseFloat(r.getPropertyValue("margin-bottom"))||0,n=i+s;return n&&Number.isFinite(n)&&Math.ceil((e+o+s)/n)||1}getColumnIndex(t,i,s){if("best-fit"===this.getOrder()){let t=0;for(let e=1;e<s;e++)i[e]<i[t]&&(t=e);return t}return t%s}layoutMasonry(t,i,s,e,r){const o=new Array(r).fill(0),n=new Array(r).fill(void 0);t.forEach(((t,a)=>{t.style.marginBottom="",t.parentElement!==this.el&&(t.style.marginBottom=`${e}px`);const l=this.calculateRowSpan(t,i,s);if(void 0===l)return void this.clearItemStyles(t);const h=this.getColumnIndex(a,o,r),d=o[h]+1;t.style.gridColumn=`${h+1}`,t.style.gridRowStart=`${d}`,t.style.gridRowEnd=`span ${l}`,o[h]=d+l-1,n[h]=t})),n.forEach((t=>{if(void 0===t)return;t.style.marginBottom="0px";const e=this.calculateRowSpan(t,i,s);void 0!==e?t.style.gridRowEnd=`span ${e}`:this.clearItemStyles(t)}))}getOrder(){const{layout:t}=this,i=null==this.order?void 0:this.order;if("uniform"!==t)return"masonry"===t&&void 0===i?"sequential":i}render(){const{layout:t}=this,i=this.getOrder(),r=n(this);return s(e,{key:"0b6ef176032845b3df3b2335be90cb6ce5d791cc",class:{[r]:!0,[`gallery-layout-${t}`]:!0,[`gallery-order-${i}`]:"masonry"===t&&void 0!==i}},s("slot",{key:"247df9bb58b6899da7db60cdd475ccff0872673e",onSlotchange:this.onSlotChange}))}get el(){return r(this)}static get watchers(){return{columns:[{onColumnsOrGapChanged:0}],gap:[{onColumnsOrGapChanged:0}],layout:[{onLayoutOrOrderChanged:0}],order:[{onLayoutOrOrderChanged:0}]}}};c.style=":host{display:grid;grid-template-columns:repeat(var(--internal-gallery-columns, 2), minmax(0, 1fr))}:host(.gallery-layout-uniform){gap:var(--internal-gallery-gap, 16px)}:host(.gallery-layout-masonry){-ms-flex-align:start;align-items:start;-webkit-column-gap:var(--internal-gallery-gap, 16px);-moz-column-gap:var(--internal-gallery-gap, 16px);column-gap:var(--internal-gallery-gap, 16px);row-gap:0;grid-auto-rows:2px}";export{c as ion_gallery}
@@ -1,4 +0,0 @@
1
- /*!
2
- * (C) Ionic http://ionicframework.com - MIT License
3
- */
4
- import{r as e,h as s,d as o}from"./p-Omi_TcwW.js";const c=class{constructor(s){e(this,s)}render(){return s(o,{key:"2f43cadcbcb1a9423b30e7abc169ff923a8c431f"},s("slot",{key:"c3a6d3e9c336f5124cdec9f37ef516324558073c"}))}};c.style=":host{scroll-snap-align:center;scroll-snap-stop:always;-ms-flex-negative:0;flex-shrink:0;width:100%;min-height:1px;overflow-y:scroll;scrollbar-width:none;-ms-overflow-style:none;}:host::-webkit-scrollbar{display:none}";export{c as ion_segment_content}
@@ -1,4 +0,0 @@
1
- /*!
2
- * (C) Ionic http://ionicframework.com - MIT License
3
- */
4
- import{r as o,h as s,d as r}from"./p-Omi_TcwW.js";import{c}from"./p-DaJxRxSQ.js";import{c as e}from"./p-CBV-BGvD.js";const t=class{constructor(s){o(this,s)}render(){const o=e(this);return s(r,{key:"8fc5565ce579f8e2a9eddbaa7c93264291080bce",class:c(this.color,{[o]:!0})},s("slot",{key:"5be1d661ee3a6f1f9d9428b59e830672faf475b1"}))}};t.style=":host(.ion-color){color:var(--ion-color-base)}";export{t as ion_text}
@@ -1,4 +0,0 @@
1
- /*!
2
- * (C) Ionic http://ionicframework.com - MIT License
3
- */
4
- import{c as n,b as o,d as e,O as t,s as i}from"./p-CBV-BGvD.js";import{o as a,c as r,f as d,m as s,g as l}from"./p-CHE1xWbg.js";import{e as c,j as u,f as v}from"./p-Omi_TcwW.js";import{C as f}from"./p-FvDKM4Ax.js";import{B as m}from"./p-BTEOs1at.js";const p='[tabindex]:not([tabindex^="-"]):not([hidden]):not([disabled]), input:not([type=hidden]):not([tabindex^="-"]):not([hidden]):not([disabled]), textarea:not([tabindex^="-"]):not([hidden]):not([disabled]), button:not([tabindex^="-"]):not([hidden]):not([disabled]), select:not([tabindex^="-"]):not([hidden]):not([disabled]), ion-checkbox:not([tabindex^="-"]):not([hidden]):not([disabled]), ion-radio:not([tabindex^="-"]):not([hidden]):not([disabled]), ion-textarea:not([tabindex^="-"]):not([hidden]):not([disabled]), .ion-focusable:not([tabindex^="-"]):not([hidden]):not([disabled]), .ion-focusable[disabled="false"]:not([tabindex^="-"]):not([hidden])',h=(n,o)=>{const e=n.querySelector(p);w(e,null!=o?o:n)},b=(n,o)=>{const e=Array.from(n.querySelectorAll(p));w(e.length>0?e[e.length-1]:null,null!=o?o:n)},w=(n,o)=>{let e=n;const t=null==n?void 0:n.shadowRoot;if(t){const o=t.querySelector(p);e=o&&"function"==typeof n.setFocus?n:o||n}if(e){const n=e.closest("ion-radio-group");n?n.setFocus():a(e)}else o.focus()};let y=0,g=0;const O=new WeakMap,x=n=>{var o;return!1!==n.showBackdrop&&!((null!==(o=n.backdropBreakpoint)&&void 0!==o?o:0)>0)},T=n=>({create:o=>E(n,o),dismiss:(o,e,t)=>F(document,o,e,n,t),getTop:async()=>R(document,n)}),k=T("ion-alert"),A=T("ion-action-sheet"),j=T("ion-loading"),S=T("ion-modal"),C=T("ion-picker-legacy"),B=T("ion-popover"),D=T("ion-toast"),I=n=>{"undefined"!=typeof document&&P(document);const o=y++;n.overlayIndex=o},N=n=>(n.hasAttribute("id")||(n.id="ion-overlay-"+ ++g),n.id),E=(n,o)=>"undefined"!=typeof window&&void 0!==window.customElements?window.customElements.whenDefined(n).then((()=>{const e=document.createElement(n);return e.classList.add("overlay-hidden"),Object.assign(e,Object.assign(Object.assign({},o),{hasController:!0})),_(document).appendChild(e),new Promise((n=>r(e,n)))})):Promise.resolve(),M=(n,o)=>{let e=n;const t=null==n?void 0:n.shadowRoot;t&&(e=t.querySelector(p)||n),e?a(e):o.focus()},P=n=>{0===y&&(y=1,n.addEventListener("focus",(o=>{((n,o)=>{const e=R(o,"ion-alert,ion-action-sheet,ion-loading,ion-modal,ion-picker-legacy,ion-popover"),t=n.target;e&&t&&(e.classList.contains(on)||(e.shadowRoot?(()=>{if(e.contains(t))e.lastFocus=t;else if("ION-TOAST"===t.tagName)M(e.lastFocus,e);else{const n=e.lastFocus;h(e),n===o.activeElement&&b(e),e.lastFocus=o.activeElement}})():(()=>{if(e===t)e.lastFocus=void 0;else if("ION-TOAST"===t.tagName)M(e.lastFocus,e);else{const n=l(e);if(!n.contains(t))return;const i=n.querySelector(".ion-overlay-wrapper");if(!i)return;if(i.contains(t)||t===n.querySelector("ion-backdrop"))e.lastFocus=t;else{const n=e.lastFocus;h(i,e),n===o.activeElement&&b(i,e),e.lastFocus=o.activeElement}}})()))})(o,n)}),!0),n.addEventListener("keydown",(o=>{var e,t,i;if("Tab"!==o.key&&"Alt+Tab"!==o.key)return;const r=R(n,"ion-alert,ion-action-sheet,ion-loading,ion-modal,ion-picker-legacy,ion-popover");if(!r||r.classList.contains(on))return;const d=n.activeElement;if(d===r)return o.preventDefault(),void h(r);if(!d||!(r.contains(d)||d.getRootNode()instanceof ShadowRoot&&r.contains(d.getRootNode().host)||null!==(t=null===(e=r.shadowRoot)||void 0===e?void 0:e.contains(d))&&void 0!==t&&t))return;const s=[...r.querySelectorAll(p),...(null===(i=r.shadowRoot)||void 0===i?void 0:i.querySelectorAll(p))||[]];if(0===s.length)return void o.preventDefault();const l=d?s.findIndex((n=>{var o;if(n===d)return!0;if(null===(o=n.shadowRoot)||void 0===o?void 0:o.contains(d))return!0;const e=d.getRootNode();return e instanceof ShadowRoot&&e.host===n})):-1;o.preventDefault();const c=n=>{const o=n.shadowRoot;if(o){const e=o.querySelector(p);if(e&&"function"!=typeof n.setFocus)return void a(e)}a(n)};o.shiftKey?l<=0?b(r):c(s[l-1]):l<0||l>=s.length-1?h(r):c(s[l+1])}),!0),n.addEventListener("ionBackButton",(o=>{const e=R(n);(null==e?void 0:e.backdropDismiss)&&o.detail.register(t,(()=>{e.dismiss(void 0,U)}))})),i()||n.addEventListener("keydown",(o=>{if("Escape"===o.key){const o=R(n);(null==o?void 0:o.backdropDismiss)&&o.dismiss(void 0,U)}})))},F=(n,o,e,t,i)=>{const a=R(n,t,i);return a?a.dismiss(o,e):Promise.reject("overlay does not exist")},G=(n,o)=>((n,o)=>(void 0===o&&(o="ion-alert,ion-action-sheet,ion-loading,ion-modal,ion-picker-legacy,ion-popover,ion-toast"),Array.from(n.querySelectorAll(o)).filter((n=>n.overlayIndex>0))))(n,o).filter((n=>!n.classList.contains("overlay-hidden"))),R=(n,o,e)=>{const t=G(n,o);return(void 0===e?t:t.filter((n=>n.id===e))).slice(-1)[0]},V=(n=!1)=>{const o=_(document).querySelector("ion-router-outlet, #ion-view-container-root");o&&(n?o.setAttribute("aria-hidden","true"):o.removeAttribute("aria-hidden"))},W=async(e,t,i,a,r,d)=>{var s,l;if(e.presented)return;"ION-TOAST"!==e.el.tagName&&$(e.el);const u=e.el,v="ION-TOAST"!==u.tagName&&!1!==u.focusTrap&&x(u);if(e.presented=!0,e.willPresent.emit(),v){const n=_(document).querySelector("ion-router-outlet, #ion-view-container-root");!!n&&n.contains(u)||V(!0),document.body.classList.add(m)}null===(s=e.willPresentShorthand)||void 0===s||s.emit();const f=n(e),p=o(e),h=e.enterAnimation?e.enterAnimation:c.get(t,"ios"===p?i:"ionic"===f&&r?r:a);await q(e,h,e.el,d)&&(e.didPresent.emit(),null===(l=e.didPresentShorthand)||void 0===l||l.emit()),!e.keyboardClose||null!==document.activeElement&&e.el.contains(document.activeElement)||e.el.focus(),e.el.removeAttribute("aria-hidden"),e.el.removeAttribute("inert")},$=async n=>{let o=document.activeElement;if(!o)return;o.blur();const e=null==o?void 0:o.shadowRoot;e&&(o=e.querySelector(p)||o),await n.onDidDismiss(),null!==document.activeElement&&document.activeElement!==document.body||o.focus()},L=async(n,t,i,a,r,d,s)=>{var l,v;if(!n.presented)return!1;const f=(void 0!==e?G(e):[]).filter((n=>"ION-TOAST"!==n.tagName&&!1!==n.focusTrap&&x(n))),p=n.el;"ION-TOAST"!==p.tagName&&!1!==p.focusTrap&&x(p)&&1===f.length&&f[0].id===p.id&&(V(!1),document.body.classList.remove(m)),n.presented=!1;try{n.el.style.setProperty("pointer-events","none"),n.willDismiss.emit({data:t,role:i}),null===(l=n.willDismissShorthand)||void 0===l||l.emit({data:t,role:i});const e=o(n),u=n.leaveAnimation?n.leaveAnimation:c.get(a,"ios"===e?r:d);i!==X&&await q(n,u,n.el,s),n.didDismiss.emit({data:t,role:i}),null===(v=n.didDismissShorthand)||void 0===v||v.emit({data:t,role:i}),(O.get(n)||[]).forEach((n=>n.destroy())),O.delete(n),n.el.classList.add("overlay-hidden"),n.el.style.removeProperty("pointer-events"),void 0!==n.el.lastFocus&&(n.el.lastFocus=void 0)}catch(o){u(`[${n.el.tagName.toLowerCase()}] - `,o)}return n.el.remove(),!0},_=n=>{const o=c.get("appRootSelector","ion-app");return n.querySelector(o)||n.body},q=async(n,o,e,t)=>{e.classList.remove("overlay-hidden");const i=o(n.el,t);n.animated&&c.getBoolean("animated",!0)||i.duration(0),n.keyboardClose&&i.beforeAddWrite((()=>{const n=e.ownerDocument.activeElement;(null==n?void 0:n.matches("input,ion-input, ion-textarea"))&&n.blur()}));const a=O.get(n)||[];return O.set(n,[...a,i]),await i.play(),!0},z=(n,o)=>{let e;const t=new Promise((n=>e=n));return H(n,o,(n=>{e(n.detail)})),t},H=(n,o,e)=>{const t=i=>{s(n,o,t),e(i)};d(n,o,t)},K=n=>"cancel"===n||n===U,J=n=>n(),Q=(n,o)=>{if("function"==typeof n)return c.get("_zoneGate",J)((()=>{try{return n(o)}catch(n){throw n}}))},U="backdrop",X="gesture",Y=39,Z=n=>{let o,e=!1;const t=f(),i=(i=!1)=>{if(o&&!i)return{delegate:o,inline:e};const{el:a,hasController:r,delegate:d}=n;return e=null!==a.parentNode&&!r,o=e?d||t:d,{inline:e,delegate:o}};return{attachViewToDom:async o=>{const{delegate:e}=i(!0);if(e)return await e.attachViewToDom(n.el,o);const{hasController:t}=n;if(t&&void 0!==o)throw new Error("framework delegate is missing");return null},removeViewFromDom:()=>{const{delegate:o}=i();o&&void 0!==n.el&&o.removeViewFromDom(n.el.parentElement,n.el)}}},nn=()=>{let n;const o=()=>{n&&(n(),n=void 0)};return{addClickListener:(e,t)=>{o();const i=void 0!==t?document.getElementById(t):null;i?n=((n,o)=>{const e=()=>{o.present()};return n.addEventListener("click",e),()=>{n.removeEventListener("click",e)}})(i,e):v(`[${e.tagName.toLowerCase()}] - A trigger element with the ID "${t}" was not found in the DOM. The trigger element must be in the DOM when the "trigger" property is set on an overlay component.`,e)},removeClickListener:o}},on="ion-disable-focus-trap";export{U as B,on as F,X as G,Y as O,k as a,A as b,B as c,Z as d,nn as e,W as f,L as g,z as h,K as i,I as j,N as k,j as l,S as m,h as n,R as o,C as p,b as q,Q as s,D as t}
@@ -1,25 +0,0 @@
1
- import type { ComponentInterface } from '../../stencil-public-runtime';
2
- /**
3
- * @virtualProp {"ios" | "md"} mode - The mode determines the platform behaviors of the component.
4
- * @virtualProp {"ios" | "md" | "ionic"} theme - The theme determines the visual appearance of the component.
5
- *
6
- * @slot - Wrap elements that should be grouped in an `ion-gallery`.
7
- */
8
- export declare class GalleryItem implements ComponentInterface {
9
- private hasWarnedInvalidParent;
10
- private galleryEl?;
11
- private galleryClassObserver?;
12
- el: HTMLIonGalleryItemElement;
13
- /**
14
- * The layout of the parent `ion-gallery` component.
15
- */
16
- galleryLayout?: 'uniform' | 'masonry';
17
- componentWillLoad(): void;
18
- componentDidLoad(): void;
19
- disconnectedCallback(): void;
20
- private onSlotChange;
21
- private warnInvalidParent;
22
- private watchGalleryLayoutClasses;
23
- private syncLayoutClasses;
24
- render(): any;
25
- }