@esri/calcite-components 1.5.0-next.26 → 1.5.0-next.28

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 (925) hide show
  1. package/dist/calcite/calcite.esm.js +2 -2
  2. package/dist/calcite/index.esm.js +2 -2
  3. package/dist/calcite/{p-8fd13a99.js → p-005ee650.js} +2 -2
  4. package/dist/calcite/p-014daa0d.entry.js +6 -0
  5. package/dist/calcite/{p-f91a45ed.entry.js → p-023528e6.entry.js} +2 -2
  6. package/dist/calcite/{p-258ad9e5.js → p-03e8bfdb.js} +1 -1
  7. package/dist/calcite/{p-213ffaba.js → p-04dc3f10.js} +1 -1
  8. package/dist/calcite/{p-65fe551e.js → p-06dead2d.js} +2 -2
  9. package/dist/calcite/p-079b52b3.entry.js +6 -0
  10. package/dist/calcite/{p-9b949de8.js → p-0865713b.js} +2 -2
  11. package/dist/calcite/{p-aadfe780.entry.js → p-0a4deb67.entry.js} +2 -2
  12. package/dist/calcite/{p-b6d00d9e.js → p-0e692532.js} +2 -2
  13. package/dist/calcite/{p-ab9adc97.js → p-0f323a9e.js} +2 -2
  14. package/dist/calcite/{p-bec9354d.entry.js → p-0fb48b86.entry.js} +2 -2
  15. package/dist/calcite/{p-df3c4d7f.entry.js → p-1157dc69.entry.js} +2 -2
  16. package/dist/calcite/{p-def53c08.entry.js → p-1192dd27.entry.js} +2 -2
  17. package/dist/calcite/{p-55adc1d9.entry.js → p-14820a2a.entry.js} +2 -2
  18. package/dist/calcite/{p-8fd99c9d.entry.js → p-18ef3fc8.entry.js} +2 -2
  19. package/dist/calcite/{p-2b8a979c.js → p-19e5ddaf.js} +2 -2
  20. package/dist/calcite/{p-d60ae9f3.entry.js → p-1ab625d4.entry.js} +2 -2
  21. package/dist/calcite/p-1b1a537a.js +6 -0
  22. package/dist/calcite/{p-a0c71c62.js → p-1b7d3ae2.js} +1 -1
  23. package/dist/calcite/p-1c2f5a5e.js +6 -0
  24. package/dist/calcite/{p-97e7179d.entry.js → p-1c45bfdb.entry.js} +2 -2
  25. package/dist/calcite/{p-4ba3a5e1.entry.js → p-1f5f0261.entry.js} +2 -2
  26. package/dist/calcite/{p-d4e9a2e6.js → p-1fed57b6.js} +2 -2
  27. package/dist/calcite/{p-56d0f574.js → p-2099af81.js} +2 -2
  28. package/dist/calcite/p-2484b48f.entry.js +6 -0
  29. package/dist/calcite/p-26ca2b57.js +6 -0
  30. package/dist/calcite/{p-6c81e274.js → p-294c242c.js} +2 -2
  31. package/dist/calcite/{p-4cd7685c.js → p-2a734f90.js} +2 -2
  32. package/dist/calcite/{p-923764ef.entry.js → p-31278975.entry.js} +2 -2
  33. package/dist/calcite/{p-4e7f7a1d.js → p-3255ae23.js} +2 -2
  34. package/dist/calcite/{p-62e2ea8d.js → p-34e8acfc.js} +2 -2
  35. package/dist/calcite/{p-65e9ca81.js → p-36cc0184.js} +2 -2
  36. package/dist/calcite/{p-5a389301.entry.js → p-3802af62.entry.js} +2 -2
  37. package/dist/calcite/{p-5e5106e4.entry.js → p-396d650d.entry.js} +2 -2
  38. package/dist/calcite/{p-11c8baa7.js → p-3aa0987c.js} +2 -2
  39. package/dist/calcite/{p-8271c98e.entry.js → p-3d38059a.entry.js} +2 -2
  40. package/dist/calcite/{p-3caf60a2.entry.js → p-3f1e0db9.entry.js} +2 -2
  41. package/dist/calcite/{p-2ab43b86.entry.js → p-41261044.entry.js} +2 -2
  42. package/dist/calcite/p-41645770.js +6 -0
  43. package/dist/calcite/{p-841085b7.js → p-426fe398.js} +2 -2
  44. package/dist/calcite/{p-21ef7c52.js → p-47c660eb.js} +2 -2
  45. package/dist/calcite/{p-bf940682.entry.js → p-4a37a3aa.entry.js} +2 -2
  46. package/dist/calcite/{p-490b1f08.js → p-4d6fb2af.js} +2 -2
  47. package/dist/calcite/{p-bf1daf38.entry.js → p-50d502c0.entry.js} +2 -2
  48. package/dist/calcite/{p-2b42b1b5.js → p-515b3733.js} +1 -1
  49. package/dist/calcite/{p-62908800.entry.js → p-524aae3a.entry.js} +2 -2
  50. package/dist/calcite/{p-165fe8b5.entry.js → p-571333eb.entry.js} +2 -2
  51. package/dist/calcite/{p-be8f17e8.entry.js → p-59918656.entry.js} +2 -2
  52. package/dist/calcite/{p-15c89625.js → p-5b994153.js} +1 -1
  53. package/dist/calcite/{p-4d35e411.entry.js → p-5cb1f118.entry.js} +2 -2
  54. package/dist/calcite/{p-7175d50e.entry.js → p-61931de0.entry.js} +2 -2
  55. package/dist/calcite/{p-75df0b4d.entry.js → p-646537a1.entry.js} +2 -2
  56. package/dist/calcite/{p-f980db2f.entry.js → p-66d3ed08.entry.js} +2 -2
  57. package/dist/calcite/{p-37b2620f.js → p-6986101b.js} +2 -2
  58. package/dist/calcite/{p-282e6a51.js → p-69c1e850.js} +2 -2
  59. package/dist/calcite/{p-69797d1e.js → p-6a812a44.js} +2 -2
  60. package/dist/calcite/p-6f879f48.entry.js +6 -0
  61. package/dist/calcite/{p-0d2d0850.js → p-702d3474.js} +2 -2
  62. package/dist/calcite/{p-252566e2.js → p-70dc95d2.js} +2 -2
  63. package/dist/calcite/{p-3cab502a.js → p-7256647d.js} +2 -2
  64. package/dist/calcite/{p-52742583.js → p-741af4bf.js} +2 -2
  65. package/dist/calcite/{p-64c04afd.js → p-7a02983f.js} +1 -1
  66. package/dist/calcite/{p-61056253.js → p-7bd8cf37.js} +2 -2
  67. package/dist/calcite/{p-8687dc64.js → p-7c99de2d.js} +2 -2
  68. package/dist/calcite/{p-6c9d678b.js → p-7d4633c0.js} +2 -2
  69. package/dist/calcite/{p-0b4c7558.js → p-7e5ca6ce.js} +2 -2
  70. package/dist/calcite/{p-bdbd3f3f.js → p-801f12f3.js} +2 -2
  71. package/dist/calcite/{p-bf77ad19.entry.js → p-80ab003d.entry.js} +2 -2
  72. package/dist/calcite/{p-2f9f9edd.js → p-80c8961a.js} +2 -2
  73. package/dist/calcite/{p-24df7d36.entry.js → p-8175c64a.entry.js} +2 -2
  74. package/dist/calcite/{p-8514d4a3.entry.js → p-830c1fb5.entry.js} +2 -2
  75. package/dist/calcite/p-8627072a.js +6 -0
  76. package/dist/calcite/{p-25ee26f7.entry.js → p-864b8e92.entry.js} +2 -2
  77. package/dist/calcite/{p-3899d221.entry.js → p-868fbdc1.entry.js} +2 -2
  78. package/dist/calcite/{p-6f031094.js → p-896b8149.js} +2 -2
  79. package/dist/calcite/{p-e9ea5103.entry.js → p-89a7be68.entry.js} +2 -2
  80. package/dist/calcite/{p-38e0c2be.js → p-8de5bb64.js} +2 -2
  81. package/dist/calcite/{p-fd839e75.js → p-911cf0f8.js} +2 -2
  82. package/dist/calcite/{p-7e9c8b51.entry.js → p-928d2144.entry.js} +2 -2
  83. package/dist/calcite/{p-c289a4ca.js → p-9291d07b.js} +1 -1
  84. package/dist/calcite/p-933c9c65.entry.js +6 -0
  85. package/dist/calcite/{p-30483950.entry.js → p-933e2ea3.entry.js} +2 -2
  86. package/dist/calcite/{p-0e7ef412.js → p-947327f8.js} +2 -2
  87. package/dist/calcite/{p-ed7384dd.entry.js → p-963ac49f.entry.js} +2 -2
  88. package/dist/calcite/{p-9e4081e1.entry.js → p-988ed22c.entry.js} +2 -2
  89. package/dist/calcite/{p-743b8122.js → p-9d830f61.js} +2 -2
  90. package/dist/calcite/{p-c93e4e96.entry.js → p-9d98f3a8.entry.js} +2 -2
  91. package/dist/calcite/{p-10cf2eb4.js → p-9e6b9ea0.js} +2 -2
  92. package/dist/calcite/{p-8db13628.js → p-9fa3d6a2.js} +2 -2
  93. package/dist/calcite/{p-4e34cca9.js → p-a14756f4.js} +1 -1
  94. package/dist/calcite/{p-77a01781.js → p-a246f5bf.js} +2 -2
  95. package/dist/calcite/{p-4b3636a5.js → p-a2f8bc96.js} +2 -2
  96. package/dist/calcite/{p-4f9b4b87.js → p-a37b6456.js} +2 -2
  97. package/dist/calcite/{p-e3175db7.js → p-a61fb283.js} +1 -1
  98. package/dist/calcite/{p-a965460d.js → p-a666fe72.js} +2 -2
  99. package/dist/calcite/{p-86d49453.entry.js → p-a73602a2.entry.js} +2 -2
  100. package/dist/calcite/{p-33716470.js → p-a80dd470.js} +3 -3
  101. package/dist/calcite/{p-7122997c.entry.js → p-a86858cd.entry.js} +2 -2
  102. package/dist/calcite/{p-0c472441.js → p-a899759d.js} +2 -2
  103. package/dist/calcite/{p-dac85770.js → p-a99f512b.js} +2 -2
  104. package/dist/calcite/{p-557301fb.entry.js → p-ab4664af.entry.js} +2 -2
  105. package/dist/calcite/{p-aabdcfa1.entry.js → p-ad2dc39e.entry.js} +2 -2
  106. package/dist/calcite/{p-80e54748.js → p-ad830b3a.js} +2 -2
  107. package/dist/calcite/{p-ff05749d.entry.js → p-b17a2750.entry.js} +2 -2
  108. package/dist/calcite/{p-185d0b4d.js → p-b193b80f.js} +1 -1
  109. package/dist/calcite/{p-3be428ef.js → p-b205c3e3.js} +2 -2
  110. package/dist/calcite/{p-fa008985.js → p-b3a4622a.js} +2 -2
  111. package/dist/calcite/{p-a0cbb53a.entry.js → p-b5d39cdd.entry.js} +2 -2
  112. package/dist/calcite/{p-6a1f7a94.entry.js → p-b8130c68.entry.js} +2 -2
  113. package/dist/calcite/{p-1924d6e3.js → p-b9953779.js} +2 -2
  114. package/dist/calcite/{p-63d1b277.js → p-b9fbe5ba.js} +2 -2
  115. package/dist/calcite/{p-9535af43.entry.js → p-ba9b3b64.entry.js} +2 -2
  116. package/dist/calcite/{p-45329940.js → p-bd9a5075.js} +2 -2
  117. package/dist/calcite/{p-e3afdae5.entry.js → p-c25c9ae4.entry.js} +2 -2
  118. package/dist/calcite/{p-02a67c84.entry.js → p-c2922a1e.entry.js} +2 -2
  119. package/dist/calcite/p-c3eb98dc.entry.js +6 -0
  120. package/dist/calcite/{p-d9799d2c.js → p-c73e11a3.js} +2 -2
  121. package/dist/calcite/{p-1b16e35e.entry.js → p-c7e06b6d.entry.js} +2 -2
  122. package/dist/calcite/{p-d00cc5dc.js → p-c89fedd0.js} +2 -2
  123. package/dist/calcite/{p-20200458.js → p-c9eb5151.js} +2 -2
  124. package/dist/calcite/{p-d0672ad5.entry.js → p-cb6c8d4e.entry.js} +2 -2
  125. package/dist/calcite/{p-31029b8f.js → p-cda19a32.js} +2 -2
  126. package/dist/calcite/{p-303c5c20.entry.js → p-d0e9ca50.entry.js} +2 -2
  127. package/dist/calcite/{p-a72c1c19.js → p-d166eb0e.js} +2 -2
  128. package/dist/calcite/{p-c9538794.entry.js → p-d32d18c3.entry.js} +2 -2
  129. package/dist/calcite/{p-bafd2e53.js → p-d4d385b7.js} +2 -2
  130. package/dist/calcite/{p-b01c5d80.entry.js → p-d59f9af9.entry.js} +2 -2
  131. package/dist/calcite/{p-e8e68ee9.js → p-dc58ebcd.js} +2 -2
  132. package/dist/calcite/{p-e340f59a.js → p-dd371c6a.js} +2 -2
  133. package/dist/calcite/{p-8d774ce3.js → p-dfc71245.js} +1 -1
  134. package/dist/calcite/{p-f8391840.js → p-e217709a.js} +2 -2
  135. package/dist/calcite/p-e4cba72c.js +6 -0
  136. package/dist/calcite/{p-0e63d0f6.entry.js → p-e5efc743.entry.js} +2 -2
  137. package/dist/calcite/{p-451d2371.js → p-e959f730.js} +1 -1
  138. package/dist/calcite/{p-274bcfe0.js → p-eac1ed25.js} +1 -1
  139. package/dist/calcite/{p-62a36cd2.js → p-ebb84e44.js} +1 -1
  140. package/dist/calcite/{p-0497a7ed.entry.js → p-ec335583.entry.js} +2 -2
  141. package/dist/calcite/{p-de21931e.js → p-ed4f2b85.js} +2 -2
  142. package/dist/calcite/{p-41de6c9c.entry.js → p-f18bebe0.entry.js} +2 -2
  143. package/dist/calcite/{p-fc98a961.js → p-f43c41a7.js} +1 -1
  144. package/dist/calcite/{p-e0bbc3a6.entry.js → p-f4cfc352.entry.js} +2 -2
  145. package/dist/calcite/{p-43bc6262.entry.js → p-f573c953.entry.js} +2 -2
  146. package/dist/calcite/{p-06fbf0ce.js → p-f61aa1c1.js} +2 -2
  147. package/dist/calcite/{p-457a0ad0.js → p-f67679ae.js} +2 -2
  148. package/dist/calcite/p-f67f2b7a.js +6 -0
  149. package/dist/calcite/{p-147fda9d.entry.js → p-fa27f281.entry.js} +2 -2
  150. package/dist/calcite/p-fc4bf15d.entry.js +6 -0
  151. package/dist/calcite/{p-88791f97.entry.js → p-fd35fea0.entry.js} +2 -2
  152. package/dist/cjs/{ExpandToggle-fcca8e7f.js → ExpandToggle-7a1738cd.js} +8 -8
  153. package/dist/cjs/{FloatingArrow-f753e99d.js → FloatingArrow-84cc88cf.js} +2 -2
  154. package/dist/cjs/{Heading-49460209.js → Heading-4d3215ce.js} +2 -2
  155. package/dist/cjs/{app-globals-e024744b.js → app-globals-b0bdcff4.js} +2 -2
  156. package/dist/cjs/{ar-eddff6d5.js → ar-39ef005d.js} +15 -15
  157. package/dist/cjs/{array-ac1e5c14.js → array-f0aefa90.js} +1 -1
  158. package/dist/cjs/{bg-cd9d31c7.js → bg-b3bb02db.js} +15 -15
  159. package/dist/cjs/{bs-c0cc0233.js → bs-ecd3bf53.js} +15 -15
  160. package/dist/cjs/{ca-ab7040a3.js → ca-8ccb427e.js} +15 -15
  161. package/dist/cjs/calcite-accordion_2.cjs.entry.js +7 -7
  162. package/dist/cjs/calcite-action-bar.cjs.entry.js +16 -16
  163. package/dist/cjs/calcite-action-group.cjs.entry.js +13 -13
  164. package/dist/cjs/calcite-action-menu.cjs.entry.js +9 -9
  165. package/dist/cjs/calcite-action-pad.cjs.entry.js +15 -15
  166. package/dist/cjs/calcite-action.cjs.entry.js +11 -11
  167. package/dist/cjs/calcite-alert.cjs.entry.js +12 -12
  168. package/dist/cjs/calcite-avatar.cjs.entry.js +6 -6
  169. package/dist/cjs/calcite-block_2.cjs.entry.js +13 -13
  170. package/dist/cjs/calcite-button.cjs.entry.js +13 -13
  171. package/dist/cjs/calcite-card.cjs.entry.js +10 -10
  172. package/dist/cjs/calcite-checkbox.cjs.entry.js +10 -10
  173. package/dist/cjs/calcite-chip-group.cjs.entry.js +8 -8
  174. package/dist/cjs/calcite-chip.cjs.entry.js +12 -12
  175. package/dist/cjs/calcite-color-picker_3.cjs.entry.js +15 -15
  176. package/dist/cjs/calcite-combobox_3.cjs.entry.js +18 -18
  177. package/dist/cjs/calcite-date-picker_4.cjs.entry.js +13 -13
  178. package/dist/cjs/calcite-dropdown_3.cjs.entry.js +12 -12
  179. package/dist/cjs/calcite-fab.cjs.entry.js +7 -7
  180. package/dist/cjs/calcite-filter.cjs.entry.js +13 -13
  181. package/dist/cjs/calcite-flow-item.cjs.entry.js +12 -12
  182. package/dist/cjs/calcite-flow.cjs.entry.js +4 -4
  183. package/dist/cjs/calcite-graph_2.cjs.entry.js +13 -13
  184. package/dist/cjs/calcite-handle.cjs.entry.js +10 -10
  185. package/dist/cjs/calcite-icon.cjs.entry.js +6 -6
  186. package/dist/cjs/calcite-inline-editable.cjs.entry.js +12 -12
  187. package/dist/cjs/calcite-input-date-picker.cjs.entry.js +18 -18
  188. package/dist/cjs/calcite-input-message.cjs.entry.js +5 -5
  189. package/dist/cjs/calcite-input-number.cjs.entry.js +13 -13
  190. package/dist/cjs/calcite-input-text.cjs.entry.js +13 -13
  191. package/dist/cjs/{calcite-input-time-picker.calcite-time-picker-ddefd5c5.js → calcite-input-time-picker.calcite-time-picker-91d472a8.js} +60 -60
  192. package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +15 -15
  193. package/dist/cjs/calcite-input.cjs.entry.js +13 -13
  194. package/dist/cjs/calcite-label.cjs.entry.js +6 -6
  195. package/dist/cjs/calcite-link.cjs.entry.js +7 -7
  196. package/dist/cjs/calcite-list_3.cjs.entry.js +22 -15
  197. package/dist/cjs/calcite-loader.cjs.entry.js +3 -3
  198. package/dist/cjs/calcite-menu_2.cjs.entry.js +17 -13
  199. package/dist/cjs/calcite-modal.cjs.entry.js +13 -13
  200. package/dist/cjs/calcite-navigation_3.cjs.entry.js +6 -6
  201. package/dist/cjs/calcite-notice.cjs.entry.js +12 -12
  202. package/dist/cjs/calcite-option_3.cjs.entry.js +10 -10
  203. package/dist/cjs/calcite-pagination.cjs.entry.js +10 -10
  204. package/dist/cjs/calcite-panel.cjs.entry.js +14 -14
  205. package/dist/cjs/calcite-pick-list_3.cjs.entry.js +16 -16
  206. package/dist/cjs/calcite-popover.cjs.entry.js +16 -16
  207. package/dist/cjs/calcite-progress.cjs.entry.js +2 -2
  208. package/dist/cjs/calcite-radio-button-group.cjs.entry.js +4 -4
  209. package/dist/cjs/calcite-radio-button.cjs.entry.js +10 -10
  210. package/dist/cjs/calcite-rating.cjs.entry.js +13 -13
  211. package/dist/cjs/calcite-scrim.cjs.entry.js +9 -9
  212. package/dist/cjs/calcite-segmented-control_2.cjs.entry.js +9 -9
  213. package/dist/cjs/calcite-shell_3.cjs.entry.js +11 -11
  214. package/dist/cjs/calcite-sortable-list.cjs.entry.js +8 -8
  215. package/dist/cjs/calcite-split-button.cjs.entry.js +4 -4
  216. package/dist/cjs/calcite-stack.cjs.entry.js +6 -6
  217. package/dist/cjs/calcite-stepper_2.cjs.entry.js +10 -10
  218. package/dist/cjs/calcite-switch.cjs.entry.js +10 -10
  219. package/dist/cjs/calcite-tab_4.cjs.entry.js +10 -10
  220. package/dist/cjs/calcite-text-area.cjs.entry.js +15 -15
  221. package/dist/cjs/calcite-tile-select_2.cjs.entry.js +5 -5
  222. package/dist/cjs/calcite-tile.cjs.entry.js +8 -8
  223. package/dist/cjs/calcite-tip_3.cjs.entry.js +11 -11
  224. package/dist/cjs/calcite-tooltip.cjs.entry.js +9 -9
  225. package/dist/cjs/calcite-tree_2.cjs.entry.js +8 -8
  226. package/dist/cjs/calcite-value-list_2.cjs.entry.js +16 -16
  227. package/dist/cjs/calcite.cjs.js +4 -4
  228. package/dist/cjs/{conditionalSlot-4263dd6e.js → conditionalSlot-edfb66db.js} +3 -3
  229. package/dist/cjs/{cs-a693be91.js → cs-d71cc630.js} +15 -15
  230. package/dist/cjs/{da-ba90abf7.js → da-ce0b2b75.js} +15 -15
  231. package/dist/cjs/{de-41c3af4a.js → de-87c3688f.js} +15 -15
  232. package/dist/cjs/{de-at-c0075220.js → de-at-c73bb996.js} +15 -15
  233. package/dist/cjs/{de-ch-db10bf09.js → de-ch-f845c44c.js} +15 -15
  234. package/dist/cjs/{debounce-e6d898a6.js → debounce-30c269a9.js} +1 -1
  235. package/dist/cjs/{dom-7db284e4.js → dom-b25fcc9b.js} +3 -3
  236. package/dist/cjs/{el-7905d0d4.js → el-eda3f01f.js} +15 -15
  237. package/dist/cjs/{en-au-05022950.js → en-au-e73d44b3.js} +15 -15
  238. package/dist/cjs/{en-ca-e725bd76.js → en-ca-b98a0d4b.js} +15 -15
  239. package/dist/cjs/{en-gb-fa14e7cf.js → en-gb-448b4f43.js} +15 -15
  240. package/dist/cjs/{es-4f5ac6a7.js → es-afeac300.js} +15 -15
  241. package/dist/cjs/{es-mx-143ee793.js → es-mx-64cdcec3.js} +15 -15
  242. package/dist/cjs/{et-07af08a0.js → et-df1343f9.js} +15 -15
  243. package/dist/cjs/{fi-861c672f.js → fi-2b4ca204.js} +15 -15
  244. package/dist/cjs/{filter-52880734.js → filter-7cae07fb.js} +2 -2
  245. package/dist/cjs/{floating-ui-6885eb48.js → floating-ui-98751098.js} +3 -3
  246. package/dist/cjs/{focusTrapComponent-3f50b316.js → focusTrapComponent-63a1990b.js} +2 -2
  247. package/dist/cjs/{form-405f16c9.js → form-b1b1786d.js} +3 -3
  248. package/dist/cjs/{fr-9d46339e.js → fr-42e68cef.js} +15 -15
  249. package/dist/cjs/{fr-ch-894f217d.js → fr-ch-4faaf483.js} +15 -15
  250. package/dist/cjs/{guid-89b6d993.js → guid-6c007d55.js} +1 -1
  251. package/dist/cjs/{he-1c96e714.js → he-d1c8a6c3.js} +15 -15
  252. package/dist/cjs/{hi-8e136180.js → hi-42e584d8.js} +15 -15
  253. package/dist/cjs/{hr-dff744a6.js → hr-2a616112.js} +15 -15
  254. package/dist/cjs/{hu-f3a88b71.js → hu-547327b9.js} +15 -15
  255. package/dist/cjs/{id-548e8ce2.js → id-638b2ee4.js} +15 -15
  256. package/dist/cjs/{index-1bd20b85.js → index-80c8dd08.js} +1 -1
  257. package/dist/cjs/index.cjs.js +2 -2
  258. package/dist/cjs/{interactive-f4963015.js → interactive-578da55d.js} +1 -1
  259. package/dist/cjs/{it-5290cc84.js → it-64ecf8dc.js} +15 -15
  260. package/dist/cjs/{it-ch-fc4771c1.js → it-ch-3b71753b.js} +15 -15
  261. package/dist/cjs/{ja-54b67766.js → ja-5d2a09fd.js} +15 -15
  262. package/dist/cjs/{key-ef0704d6.js → key-ab343a0f.js} +1 -1
  263. package/dist/cjs/{ko-d54344f4.js → ko-ed6c18d4.js} +15 -15
  264. package/dist/cjs/{label-dcbc9f27.js → label-53bf6471.js} +2 -2
  265. package/dist/cjs/{loadable-c07b17aa.js → loadable-48820516.js} +2 -2
  266. package/dist/cjs/loader.cjs.js +4 -4
  267. package/dist/cjs/{locale-01b5757c.js → locale-5e1c50bd.js} +4 -4
  268. package/dist/cjs/{lt-a6bd3fef.js → lt-955f9e4d.js} +15 -15
  269. package/dist/cjs/{lv-04f3b50f.js → lv-da791dbb.js} +15 -15
  270. package/dist/cjs/{math-9171c30a.js → math-2aefbcce.js} +1 -1
  271. package/dist/cjs/{mk-f3ea5cbc.js → mk-1e19000b.js} +15 -15
  272. package/dist/cjs/{nb-d371d2c5.js → nb-00540a34.js} +15 -15
  273. package/dist/cjs/{nl-488525e5.js → nl-ab222b37.js} +15 -15
  274. package/dist/cjs/{observers-42319819.js → observers-8d8613be.js} +1 -1
  275. package/dist/cjs/{openCloseComponent-a771de21.js → openCloseComponent-9f70d871.js} +2 -2
  276. package/dist/cjs/{pl-d12e7f17.js → pl-40397e19.js} +15 -15
  277. package/dist/cjs/{pt-485dbe33.js → pt-9aa6bff6.js} +15 -15
  278. package/dist/cjs/{pt-br-780b7fa2.js → pt-br-a177fc97.js} +15 -15
  279. package/dist/cjs/{resources-b76eb42c.js → resources-22e4bd9f.js} +1 -1
  280. package/dist/cjs/{resources-ae22ff0e.js → resources-52931e1f.js} +1 -1
  281. package/dist/cjs/{resources-1ff57a0a.js → resources-643eaf60.js} +1 -1
  282. package/dist/cjs/{resources-dfb83967.js → resources-66929e32.js} +1 -1
  283. package/dist/cjs/{resources-2a56dd6c.js → resources-899f2340.js} +1 -1
  284. package/dist/cjs/{resources-cdf01f10.js → resources-8c522ac5.js} +5 -5
  285. package/dist/cjs/{resources-3f6d914d.js → resources-c1ef5820.js} +1 -1
  286. package/dist/cjs/{ro-cf5a4f8e.js → ro-584baf71.js} +15 -15
  287. package/dist/cjs/{ru-66cc18ae.js → ru-78f73cbc.js} +15 -15
  288. package/dist/cjs/{sk-ddac35cf.js → sk-8c41b4d6.js} +15 -15
  289. package/dist/cjs/{sl-1c69b82d.js → sl-7dc68300.js} +15 -15
  290. package/dist/cjs/{sortableComponent-ca205532.js → sortableComponent-efb20980.js} +2 -2
  291. package/dist/cjs/{sr-3d423057.js → sr-44d30279.js} +15 -15
  292. package/dist/cjs/{sv-c2af00b2.js → sv-600d7662.js} +15 -15
  293. package/dist/cjs/{t9n-c7d4f2bf.js → t9n-1fb0638e.js} +3 -3
  294. package/dist/cjs/{th-b74e974c.js → th-ddac2232.js} +15 -15
  295. package/dist/cjs/{throttle-d580b329.js → throttle-ee831fc4.js} +2 -2
  296. package/dist/cjs/{tr-67583e54.js → tr-49843c6f.js} +15 -15
  297. package/dist/cjs/{uk-60890303.js → uk-579ff1b7.js} +15 -15
  298. package/dist/cjs/{utils-ed552453.js → utils-12099345.js} +3 -3
  299. package/dist/cjs/{utils-6a12e6ae.js → utils-81fb8c59.js} +1 -1
  300. package/dist/cjs/{vi-274291f5.js → vi-c47df9e8.js} +15 -15
  301. package/dist/cjs/{zh-cn-3a80da4d.js → zh-cn-504a20ec.js} +15 -15
  302. package/dist/cjs/{zh-hk-32e46725.js → zh-hk-cf9ed32e.js} +15 -15
  303. package/dist/cjs/{zh-tw-c83e91e4.js → zh-tw-f6007317.js} +15 -15
  304. package/dist/collection/components/accordion/accordion.js +1 -1
  305. package/dist/collection/components/accordion-item/accordion-item.js +1 -1
  306. package/dist/collection/components/accordion-item/resources.js +1 -1
  307. package/dist/collection/components/action/action.js +1 -1
  308. package/dist/collection/components/action/resources.js +1 -1
  309. package/dist/collection/components/action-bar/action-bar.js +2 -2
  310. package/dist/collection/components/action-bar/resources.js +1 -1
  311. package/dist/collection/components/action-bar/utils.js +1 -1
  312. package/dist/collection/components/action-group/action-group.js +1 -1
  313. package/dist/collection/components/action-group/resources.js +1 -1
  314. package/dist/collection/components/action-menu/action-menu.js +1 -1
  315. package/dist/collection/components/action-menu/resources.js +1 -1
  316. package/dist/collection/components/action-pad/action-pad.js +2 -2
  317. package/dist/collection/components/action-pad/resources.js +1 -1
  318. package/dist/collection/components/alert/alert.js +1 -1
  319. package/dist/collection/components/alert/resources.js +1 -1
  320. package/dist/collection/components/avatar/avatar.js +1 -1
  321. package/dist/collection/components/avatar/utils.js +1 -1
  322. package/dist/collection/components/block/block.js +1 -1
  323. package/dist/collection/components/block/resources.js +1 -1
  324. package/dist/collection/components/block-section/block-section.js +1 -1
  325. package/dist/collection/components/block-section/resources.js +1 -1
  326. package/dist/collection/components/button/button.js +1 -1
  327. package/dist/collection/components/button/resources.js +1 -1
  328. package/dist/collection/components/card/card.js +1 -1
  329. package/dist/collection/components/card/resources.js +1 -1
  330. package/dist/collection/components/checkbox/checkbox.js +1 -1
  331. package/dist/collection/components/chip/chip.js +1 -1
  332. package/dist/collection/components/chip/resources.js +1 -1
  333. package/dist/collection/components/chip-group/chip-group.js +1 -1
  334. package/dist/collection/components/color-picker/color-picker.js +1 -1
  335. package/dist/collection/components/color-picker/resources.js +1 -1
  336. package/dist/collection/components/color-picker/utils.js +1 -1
  337. package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.js +1 -1
  338. package/dist/collection/components/color-picker-hex-input/resources.js +1 -1
  339. package/dist/collection/components/color-picker-swatch/color-picker-swatch.js +1 -1
  340. package/dist/collection/components/color-picker-swatch/resources.js +1 -1
  341. package/dist/collection/components/combobox/combobox.js +1 -1
  342. package/dist/collection/components/combobox/resources.js +1 -1
  343. package/dist/collection/components/combobox/utils.js +1 -1
  344. package/dist/collection/components/combobox-item/combobox-item.js +1 -1
  345. package/dist/collection/components/combobox-item/resources.js +1 -1
  346. package/dist/collection/components/combobox-item-group/combobox-item-group.js +1 -1
  347. package/dist/collection/components/combobox-item-group/resources.js +1 -1
  348. package/dist/collection/components/date-picker/date-picker.js +1 -1
  349. package/dist/collection/components/date-picker/resources.js +1 -1
  350. package/dist/collection/components/date-picker/utils.js +1 -1
  351. package/dist/collection/components/date-picker-day/date-picker-day.js +1 -1
  352. package/dist/collection/components/date-picker-month/date-picker-month.js +1 -1
  353. package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +1 -1
  354. package/dist/collection/components/date-picker-month-header/resources.js +1 -1
  355. package/dist/collection/components/dropdown/dropdown.js +1 -1
  356. package/dist/collection/components/dropdown/resources.js +1 -1
  357. package/dist/collection/components/dropdown-group/dropdown-group.js +1 -1
  358. package/dist/collection/components/dropdown-group/resources.js +1 -1
  359. package/dist/collection/components/dropdown-item/dropdown-item.js +1 -1
  360. package/dist/collection/components/dropdown-item/resources.js +1 -1
  361. package/dist/collection/components/fab/fab.js +1 -1
  362. package/dist/collection/components/fab/resources.js +1 -1
  363. package/dist/collection/components/filter/filter.js +1 -1
  364. package/dist/collection/components/filter/resources.js +1 -1
  365. package/dist/collection/components/flow/flow.js +1 -1
  366. package/dist/collection/components/flow/resources.js +1 -1
  367. package/dist/collection/components/flow-item/flow-item.js +1 -1
  368. package/dist/collection/components/flow-item/resources.js +1 -1
  369. package/dist/collection/components/functional/ExpandToggle.js +4 -4
  370. package/dist/collection/components/functional/FloatingArrow.js +1 -1
  371. package/dist/collection/components/functional/Heading.js +1 -1
  372. package/dist/collection/components/functional/XButton.js +1 -1
  373. package/dist/collection/components/graph/graph.js +1 -1
  374. package/dist/collection/components/graph/util.js +1 -1
  375. package/dist/collection/components/handle/handle.js +1 -1
  376. package/dist/collection/components/handle/resources.js +1 -1
  377. package/dist/collection/components/icon/icon.js +1 -1
  378. package/dist/collection/components/icon/resources.js +1 -1
  379. package/dist/collection/components/icon/utils.js +1 -1
  380. package/dist/collection/components/inline-editable/inline-editable.js +1 -1
  381. package/dist/collection/components/inline-editable/resources.js +1 -1
  382. package/dist/collection/components/input/input.js +1 -1
  383. package/dist/collection/components/input/resources.js +1 -1
  384. package/dist/collection/components/input-date-picker/input-date-picker.js +1 -1
  385. package/dist/collection/components/input-date-picker/resources.js +1 -1
  386. package/dist/collection/components/input-message/input-message.js +1 -1
  387. package/dist/collection/components/input-message/interfaces.js +1 -1
  388. package/dist/collection/components/input-number/input-number.js +1 -1
  389. package/dist/collection/components/input-number/resources.js +1 -1
  390. package/dist/collection/components/input-text/input-text.js +1 -1
  391. package/dist/collection/components/input-text/resources.js +1 -1
  392. package/dist/collection/components/input-time-picker/input-time-picker.js +1 -1
  393. package/dist/collection/components/input-time-picker/resources.js +1 -1
  394. package/dist/collection/components/label/label.js +1 -1
  395. package/dist/collection/components/label/resources.js +1 -1
  396. package/dist/collection/components/link/link.js +1 -1
  397. package/dist/collection/components/list/list.js +10 -3
  398. package/dist/collection/components/list/resources.js +1 -1
  399. package/dist/collection/components/list-item/list-item.js +1 -1
  400. package/dist/collection/components/list-item/resources.js +1 -1
  401. package/dist/collection/components/list-item/utils.js +1 -1
  402. package/dist/collection/components/list-item-group/list-item-group.js +1 -1
  403. package/dist/collection/components/list-item-group/resources.js +1 -1
  404. package/dist/collection/components/loader/loader.js +1 -1
  405. package/dist/collection/components/menu/menu.js +1 -1
  406. package/dist/collection/components/menu-item/menu-item.css +40 -4
  407. package/dist/collection/components/menu-item/menu-item.js +7 -3
  408. package/dist/collection/components/menu-item/resources.js +1 -1
  409. package/dist/collection/components/modal/modal.js +1 -1
  410. package/dist/collection/components/modal/resources.js +1 -1
  411. package/dist/collection/components/navigation/navigation.js +1 -1
  412. package/dist/collection/components/navigation/resources.js +1 -1
  413. package/dist/collection/components/navigation-logo/navigation-logo.js +1 -1
  414. package/dist/collection/components/navigation-logo/resources.js +1 -1
  415. package/dist/collection/components/navigation-user/navigation-user.js +1 -1
  416. package/dist/collection/components/navigation-user/resources.js +1 -1
  417. package/dist/collection/components/notice/notice.js +1 -1
  418. package/dist/collection/components/notice/resources.js +1 -1
  419. package/dist/collection/components/option/option.js +1 -1
  420. package/dist/collection/components/option-group/option-group.js +1 -1
  421. package/dist/collection/components/pagination/pagination.js +1 -1
  422. package/dist/collection/components/pagination/resources.js +1 -1
  423. package/dist/collection/components/panel/panel.js +1 -1
  424. package/dist/collection/components/panel/resources.js +1 -1
  425. package/dist/collection/components/pick-list/pick-list.js +1 -1
  426. package/dist/collection/components/pick-list/resources.js +1 -1
  427. package/dist/collection/components/pick-list/shared-list-logic.js +1 -1
  428. package/dist/collection/components/pick-list/shared-list-render.js +1 -1
  429. package/dist/collection/components/pick-list-group/pick-list-group.js +1 -1
  430. package/dist/collection/components/pick-list-group/resources.js +1 -1
  431. package/dist/collection/components/pick-list-item/pick-list-item.js +1 -1
  432. package/dist/collection/components/pick-list-item/resources.js +1 -1
  433. package/dist/collection/components/popover/PopoverManager.js +1 -1
  434. package/dist/collection/components/popover/popover.js +1 -1
  435. package/dist/collection/components/popover/resources.js +1 -1
  436. package/dist/collection/components/progress/progress.js +1 -1
  437. package/dist/collection/components/radio-button/radio-button.js +1 -1
  438. package/dist/collection/components/radio-button/resources.js +1 -1
  439. package/dist/collection/components/radio-button-group/radio-button-group.js +1 -1
  440. package/dist/collection/components/rating/function/star.js +1 -1
  441. package/dist/collection/components/rating/rating.js +1 -1
  442. package/dist/collection/components/resources.js +1 -1
  443. package/dist/collection/components/scrim/resources.js +1 -1
  444. package/dist/collection/components/scrim/scrim.js +1 -1
  445. package/dist/collection/components/segmented-control/segmented-control.js +1 -1
  446. package/dist/collection/components/segmented-control-item/resources.js +1 -1
  447. package/dist/collection/components/segmented-control-item/segmented-control-item.js +1 -1
  448. package/dist/collection/components/select/resources.js +1 -1
  449. package/dist/collection/components/select/select.js +1 -1
  450. package/dist/collection/components/shell/resources.js +1 -1
  451. package/dist/collection/components/shell/shell.js +1 -1
  452. package/dist/collection/components/shell-center-row/resources.js +1 -1
  453. package/dist/collection/components/shell-center-row/shell-center-row.js +1 -1
  454. package/dist/collection/components/shell-panel/resources.js +1 -1
  455. package/dist/collection/components/shell-panel/shell-panel.js +1 -1
  456. package/dist/collection/components/slider/resources.js +1 -1
  457. package/dist/collection/components/slider/slider.js +1 -1
  458. package/dist/collection/components/sortable-list/resources.js +1 -1
  459. package/dist/collection/components/sortable-list/sortable-list.js +1 -1
  460. package/dist/collection/components/split-button/resources.js +1 -1
  461. package/dist/collection/components/split-button/split-button.js +1 -1
  462. package/dist/collection/components/stack/resources.js +1 -1
  463. package/dist/collection/components/stack/stack.js +1 -1
  464. package/dist/collection/components/stepper/stepper.js +1 -1
  465. package/dist/collection/components/stepper-item/stepper-item.js +1 -1
  466. package/dist/collection/components/switch/switch.js +1 -1
  467. package/dist/collection/components/tab/tab.js +1 -1
  468. package/dist/collection/components/tab-nav/tab-nav.js +1 -1
  469. package/dist/collection/components/tab-title/resources.js +1 -1
  470. package/dist/collection/components/tab-title/tab-title.js +1 -1
  471. package/dist/collection/components/tabs/resources.js +1 -1
  472. package/dist/collection/components/tabs/tabs.js +1 -1
  473. package/dist/collection/components/text-area/resources.js +1 -1
  474. package/dist/collection/components/text-area/text-area.js +1 -1
  475. package/dist/collection/components/tile/resources.js +1 -1
  476. package/dist/collection/components/tile/tile.js +1 -1
  477. package/dist/collection/components/tile-select/resources.js +1 -1
  478. package/dist/collection/components/tile-select/tile-select.js +1 -1
  479. package/dist/collection/components/tile-select-group/tile-select-group.js +1 -1
  480. package/dist/collection/components/time-picker/resources.js +1 -1
  481. package/dist/collection/components/time-picker/time-picker.js +1 -1
  482. package/dist/collection/components/tip/resources.js +1 -1
  483. package/dist/collection/components/tip/tip.js +1 -1
  484. package/dist/collection/components/tip-group/tip-group.js +1 -1
  485. package/dist/collection/components/tip-manager/resources.js +1 -1
  486. package/dist/collection/components/tip-manager/tip-manager.js +1 -1
  487. package/dist/collection/components/tooltip/TooltipManager.js +1 -1
  488. package/dist/collection/components/tooltip/resources.js +1 -1
  489. package/dist/collection/components/tooltip/tooltip.js +1 -1
  490. package/dist/collection/components/tooltip/utils.js +1 -1
  491. package/dist/collection/components/tree/tree.js +1 -1
  492. package/dist/collection/components/tree/utils.js +1 -1
  493. package/dist/collection/components/tree-item/resources.js +1 -1
  494. package/dist/collection/components/tree-item/tree-item.js +1 -1
  495. package/dist/collection/components/value-list/resources.js +1 -1
  496. package/dist/collection/components/value-list/utils.js +1 -1
  497. package/dist/collection/components/value-list/value-list.js +1 -1
  498. package/dist/collection/components/value-list-item/resources.js +1 -1
  499. package/dist/collection/components/value-list-item/value-list-item.js +1 -1
  500. package/dist/collection/index.js +3 -2
  501. package/dist/collection/utils/array.js +1 -1
  502. package/dist/collection/utils/browser.js +1 -1
  503. package/dist/collection/utils/conditionalSlot.js +1 -1
  504. package/dist/collection/utils/config.js +1 -1
  505. package/dist/collection/utils/date.js +1 -1
  506. package/dist/collection/utils/dom.js +1 -1
  507. package/dist/collection/utils/filter.js +1 -1
  508. package/dist/collection/utils/floating-ui.js +1 -1
  509. package/dist/collection/utils/focusTrapComponent.js +1 -1
  510. package/dist/collection/utils/form.js +1 -1
  511. package/dist/collection/utils/globalAttributes.js +1 -1
  512. package/dist/collection/utils/globalScript.js +1 -1
  513. package/dist/collection/utils/guid.js +1 -1
  514. package/dist/collection/utils/interactive.js +1 -1
  515. package/dist/collection/utils/key.js +1 -1
  516. package/dist/collection/utils/label.js +1 -1
  517. package/dist/collection/utils/loadable.js +1 -1
  518. package/dist/collection/utils/locale.js +1 -1
  519. package/dist/collection/utils/math.js +1 -1
  520. package/dist/collection/utils/mode.js +1 -1
  521. package/dist/collection/utils/number.js +1 -1
  522. package/dist/collection/utils/observers.js +1 -1
  523. package/dist/collection/utils/openCloseComponent.js +1 -1
  524. package/dist/collection/utils/resources.js +1 -1
  525. package/dist/collection/utils/sortableComponent.js +1 -1
  526. package/dist/collection/utils/t9n.js +1 -1
  527. package/dist/collection/utils/time.js +1 -1
  528. package/dist/components/ExpandToggle.js +4 -4
  529. package/dist/components/FloatingArrow.js +1 -1
  530. package/dist/components/Heading.js +1 -1
  531. package/dist/components/action-group.js +1 -1
  532. package/dist/components/action-menu.js +1 -1
  533. package/dist/components/action.js +1 -1
  534. package/dist/components/ar.js +1 -1
  535. package/dist/components/array.js +1 -1
  536. package/dist/components/avatar.js +1 -1
  537. package/dist/components/bg.js +1 -1
  538. package/dist/components/bs.js +1 -1
  539. package/dist/components/button.js +1 -1
  540. package/dist/components/ca.js +1 -1
  541. package/dist/components/calcite-accordion-item.js +1 -1
  542. package/dist/components/calcite-accordion.js +1 -1
  543. package/dist/components/calcite-action-bar.js +2 -2
  544. package/dist/components/calcite-action-group.js +1 -1
  545. package/dist/components/calcite-action-menu.js +1 -1
  546. package/dist/components/calcite-action-pad.js +2 -2
  547. package/dist/components/calcite-action.js +1 -1
  548. package/dist/components/calcite-alert.js +1 -1
  549. package/dist/components/calcite-avatar.js +1 -1
  550. package/dist/components/calcite-block-section.js +1 -1
  551. package/dist/components/calcite-block.js +1 -1
  552. package/dist/components/calcite-button.js +1 -1
  553. package/dist/components/calcite-card.js +1 -1
  554. package/dist/components/calcite-checkbox.js +1 -1
  555. package/dist/components/calcite-chip-group.js +1 -1
  556. package/dist/components/calcite-chip.js +1 -1
  557. package/dist/components/calcite-color-picker-hex-input.js +1 -1
  558. package/dist/components/calcite-color-picker-swatch.js +1 -1
  559. package/dist/components/calcite-color-picker.js +1 -1
  560. package/dist/components/calcite-combobox-item-group.js +1 -1
  561. package/dist/components/calcite-combobox-item.js +1 -1
  562. package/dist/components/calcite-combobox.js +1 -1
  563. package/dist/components/calcite-date-picker-day.js +1 -1
  564. package/dist/components/calcite-date-picker-month-header.js +1 -1
  565. package/dist/components/calcite-date-picker-month.js +1 -1
  566. package/dist/components/calcite-date-picker.js +1 -1
  567. package/dist/components/calcite-dropdown-group.js +1 -1
  568. package/dist/components/calcite-dropdown-item.js +1 -1
  569. package/dist/components/calcite-dropdown.js +1 -1
  570. package/dist/components/calcite-fab.js +1 -1
  571. package/dist/components/calcite-filter.js +1 -1
  572. package/dist/components/calcite-flow-item.js +1 -1
  573. package/dist/components/calcite-flow.js +1 -1
  574. package/dist/components/calcite-graph.js +1 -1
  575. package/dist/components/calcite-handle.js +1 -1
  576. package/dist/components/calcite-icon.js +1 -1
  577. package/dist/components/calcite-inline-editable.js +1 -1
  578. package/dist/components/calcite-input-date-picker.js +1 -1
  579. package/dist/components/calcite-input-message.js +1 -1
  580. package/dist/components/calcite-input-number.js +1 -1
  581. package/dist/components/calcite-input-text.js +1 -1
  582. package/dist/components/calcite-input-time-picker.js +1 -1
  583. package/dist/components/calcite-input.js +1 -1
  584. package/dist/components/calcite-label.js +1 -1
  585. package/dist/components/calcite-link.js +1 -1
  586. package/dist/components/calcite-list-item-group.js +1 -1
  587. package/dist/components/calcite-list-item.js +1 -1
  588. package/dist/components/calcite-list.js +10 -3
  589. package/dist/components/calcite-loader.js +1 -1
  590. package/dist/components/calcite-menu-item.js +8 -4
  591. package/dist/components/calcite-menu.js +1 -1
  592. package/dist/components/calcite-modal.js +1 -1
  593. package/dist/components/calcite-navigation-logo.js +1 -1
  594. package/dist/components/calcite-navigation-user.js +1 -1
  595. package/dist/components/calcite-navigation.js +1 -1
  596. package/dist/components/calcite-notice.js +1 -1
  597. package/dist/components/calcite-option-group.js +1 -1
  598. package/dist/components/calcite-option.js +1 -1
  599. package/dist/components/calcite-pagination.js +1 -1
  600. package/dist/components/calcite-panel.js +1 -1
  601. package/dist/components/calcite-pick-list-group.js +1 -1
  602. package/dist/components/calcite-pick-list-item.js +1 -1
  603. package/dist/components/calcite-pick-list.js +1 -1
  604. package/dist/components/calcite-popover.js +1 -1
  605. package/dist/components/calcite-progress.js +1 -1
  606. package/dist/components/calcite-radio-button-group.js +1 -1
  607. package/dist/components/calcite-radio-button.js +1 -1
  608. package/dist/components/calcite-rating.js +1 -1
  609. package/dist/components/calcite-scrim.js +1 -1
  610. package/dist/components/calcite-segmented-control-item.js +1 -1
  611. package/dist/components/calcite-segmented-control.js +1 -1
  612. package/dist/components/calcite-select.js +1 -1
  613. package/dist/components/calcite-shell-center-row.js +1 -1
  614. package/dist/components/calcite-shell-panel.js +1 -1
  615. package/dist/components/calcite-shell.js +1 -1
  616. package/dist/components/calcite-slider.js +1 -1
  617. package/dist/components/calcite-sortable-list.js +1 -1
  618. package/dist/components/calcite-split-button.js +1 -1
  619. package/dist/components/calcite-stack.js +1 -1
  620. package/dist/components/calcite-stepper-item.js +1 -1
  621. package/dist/components/calcite-stepper.js +1 -1
  622. package/dist/components/calcite-switch.js +1 -1
  623. package/dist/components/calcite-tab-nav.js +1 -1
  624. package/dist/components/calcite-tab-title.js +1 -1
  625. package/dist/components/calcite-tab.js +1 -1
  626. package/dist/components/calcite-tabs.js +1 -1
  627. package/dist/components/calcite-text-area.js +1 -1
  628. package/dist/components/calcite-tile-select-group.js +1 -1
  629. package/dist/components/calcite-tile-select.js +1 -1
  630. package/dist/components/calcite-tile.js +1 -1
  631. package/dist/components/calcite-time-picker.js +1 -1
  632. package/dist/components/calcite-tip-group.js +1 -1
  633. package/dist/components/calcite-tip-manager.js +1 -1
  634. package/dist/components/calcite-tip.js +1 -1
  635. package/dist/components/calcite-tooltip.js +1 -1
  636. package/dist/components/calcite-tree-item.js +1 -1
  637. package/dist/components/calcite-tree.js +1 -1
  638. package/dist/components/calcite-value-list-item.js +1 -1
  639. package/dist/components/calcite-value-list.js +1 -1
  640. package/dist/components/checkbox.js +1 -1
  641. package/dist/components/chip.js +1 -1
  642. package/dist/components/color-picker-hex-input.js +1 -1
  643. package/dist/components/color-picker-swatch.js +1 -1
  644. package/dist/components/conditionalSlot.js +1 -1
  645. package/dist/components/cs.js +1 -1
  646. package/dist/components/da.js +1 -1
  647. package/dist/components/date-picker-day.js +1 -1
  648. package/dist/components/date-picker-month-header.js +1 -1
  649. package/dist/components/date-picker-month.js +1 -1
  650. package/dist/components/date-picker.js +1 -1
  651. package/dist/components/date.js +1 -1
  652. package/dist/components/de-at.js +1 -1
  653. package/dist/components/de-ch.js +1 -1
  654. package/dist/components/de.js +1 -1
  655. package/dist/components/debounce.js +1 -1
  656. package/dist/components/dom.js +1 -1
  657. package/dist/components/dropdown.js +1 -1
  658. package/dist/components/el.js +1 -1
  659. package/dist/components/en-au.js +1 -1
  660. package/dist/components/en-ca.js +1 -1
  661. package/dist/components/en-gb.js +1 -1
  662. package/dist/components/es-mx.js +1 -1
  663. package/dist/components/es.js +1 -1
  664. package/dist/components/et.js +1 -1
  665. package/dist/components/fi.js +1 -1
  666. package/dist/components/filter.js +1 -1
  667. package/dist/components/filter2.js +1 -1
  668. package/dist/components/floating-ui.js +1 -1
  669. package/dist/components/focusTrapComponent.js +1 -1
  670. package/dist/components/form.js +1 -1
  671. package/dist/components/fr-ch.js +1 -1
  672. package/dist/components/fr.js +1 -1
  673. package/dist/components/graph.js +1 -1
  674. package/dist/components/guid.js +1 -1
  675. package/dist/components/handle.js +1 -1
  676. package/dist/components/he.js +1 -1
  677. package/dist/components/hi.js +1 -1
  678. package/dist/components/hr.js +1 -1
  679. package/dist/components/hu.js +1 -1
  680. package/dist/components/icon.js +1 -1
  681. package/dist/components/id.js +1 -1
  682. package/dist/components/index.js +1 -1
  683. package/dist/components/index2.js +1 -1
  684. package/dist/components/input-number.js +1 -1
  685. package/dist/components/input-text.js +1 -1
  686. package/dist/components/input.js +1 -1
  687. package/dist/components/interactive.js +1 -1
  688. package/dist/components/it-ch.js +1 -1
  689. package/dist/components/it.js +1 -1
  690. package/dist/components/ja.js +1 -1
  691. package/dist/components/key.js +1 -1
  692. package/dist/components/ko.js +1 -1
  693. package/dist/components/label.js +1 -1
  694. package/dist/components/label2.js +1 -1
  695. package/dist/components/link.js +1 -1
  696. package/dist/components/loadable.js +1 -1
  697. package/dist/components/loader.js +1 -1
  698. package/dist/components/locale.js +1 -1
  699. package/dist/components/lt.js +1 -1
  700. package/dist/components/lv.js +1 -1
  701. package/dist/components/math.js +1 -1
  702. package/dist/components/menu.js +1 -1
  703. package/dist/components/mk.js +1 -1
  704. package/dist/components/nb.js +1 -1
  705. package/dist/components/nl.js +1 -1
  706. package/dist/components/observers.js +1 -1
  707. package/dist/components/openCloseComponent.js +1 -1
  708. package/dist/components/panel.js +1 -1
  709. package/dist/components/pick-list-item.js +1 -1
  710. package/dist/components/pl.js +1 -1
  711. package/dist/components/popover.js +1 -1
  712. package/dist/components/progress.js +1 -1
  713. package/dist/components/pt-br.js +1 -1
  714. package/dist/components/pt.js +1 -1
  715. package/dist/components/resources.js +1 -1
  716. package/dist/components/resources2.js +1 -1
  717. package/dist/components/resources3.js +1 -1
  718. package/dist/components/ro.js +1 -1
  719. package/dist/components/ru.js +1 -1
  720. package/dist/components/scrim.js +1 -1
  721. package/dist/components/shared-list-render.js +1 -1
  722. package/dist/components/sk.js +1 -1
  723. package/dist/components/sl.js +1 -1
  724. package/dist/components/sortableComponent.js +1 -1
  725. package/dist/components/sr.js +1 -1
  726. package/dist/components/stack.js +1 -1
  727. package/dist/components/sv.js +1 -1
  728. package/dist/components/switch.js +1 -1
  729. package/dist/components/t9n.js +1 -1
  730. package/dist/components/tab-nav.js +1 -1
  731. package/dist/components/tab-title.js +1 -1
  732. package/dist/components/tab.js +1 -1
  733. package/dist/components/tabs.js +1 -1
  734. package/dist/components/th.js +1 -1
  735. package/dist/components/throttle.js +1 -1
  736. package/dist/components/tile.js +1 -1
  737. package/dist/components/time-picker.js +1 -1
  738. package/dist/components/tooltip.js +1 -1
  739. package/dist/components/tr.js +1 -1
  740. package/dist/components/uk.js +1 -1
  741. package/dist/components/utils.js +1 -1
  742. package/dist/components/utils2.js +1 -1
  743. package/dist/components/utils3.js +1 -1
  744. package/dist/components/vi.js +1 -1
  745. package/dist/components/zh-cn.js +1 -1
  746. package/dist/components/zh-hk.js +1 -1
  747. package/dist/components/zh-tw.js +1 -1
  748. package/dist/esm/{ExpandToggle-acff2a7f.js → ExpandToggle-c2530e6d.js} +8 -8
  749. package/dist/esm/{FloatingArrow-3fa5d249.js → FloatingArrow-86df89e1.js} +2 -2
  750. package/dist/esm/{Heading-6256e6ce.js → Heading-944e9d9e.js} +2 -2
  751. package/dist/esm/{app-globals-a921b1ae.js → app-globals-beab7a15.js} +2 -2
  752. package/dist/esm/{ar-ed411dc0.js → ar-0d293289.js} +15 -15
  753. package/dist/esm/{array-52ca1cfe.js → array-ea81924c.js} +1 -1
  754. package/dist/esm/{bg-58c60260.js → bg-b72228bf.js} +15 -15
  755. package/dist/esm/{bs-e87bf711.js → bs-544ff052.js} +15 -15
  756. package/dist/esm/{ca-32894e47.js → ca-2ab91993.js} +15 -15
  757. package/dist/esm/calcite-accordion_2.entry.js +7 -7
  758. package/dist/esm/calcite-action-bar.entry.js +16 -16
  759. package/dist/esm/calcite-action-group.entry.js +13 -13
  760. package/dist/esm/calcite-action-menu.entry.js +9 -9
  761. package/dist/esm/calcite-action-pad.entry.js +15 -15
  762. package/dist/esm/calcite-action.entry.js +11 -11
  763. package/dist/esm/calcite-alert.entry.js +12 -12
  764. package/dist/esm/calcite-avatar.entry.js +6 -6
  765. package/dist/esm/calcite-block_2.entry.js +13 -13
  766. package/dist/esm/calcite-button.entry.js +13 -13
  767. package/dist/esm/calcite-card.entry.js +10 -10
  768. package/dist/esm/calcite-checkbox.entry.js +10 -10
  769. package/dist/esm/calcite-chip-group.entry.js +8 -8
  770. package/dist/esm/calcite-chip.entry.js +12 -12
  771. package/dist/esm/calcite-color-picker_3.entry.js +15 -15
  772. package/dist/esm/calcite-combobox_3.entry.js +18 -18
  773. package/dist/esm/calcite-date-picker_4.entry.js +13 -13
  774. package/dist/esm/calcite-dropdown_3.entry.js +12 -12
  775. package/dist/esm/calcite-fab.entry.js +7 -7
  776. package/dist/esm/calcite-filter.entry.js +13 -13
  777. package/dist/esm/calcite-flow-item.entry.js +12 -12
  778. package/dist/esm/calcite-flow.entry.js +4 -4
  779. package/dist/esm/calcite-graph_2.entry.js +13 -13
  780. package/dist/esm/calcite-handle.entry.js +10 -10
  781. package/dist/esm/calcite-icon.entry.js +6 -6
  782. package/dist/esm/calcite-inline-editable.entry.js +12 -12
  783. package/dist/esm/calcite-input-date-picker.entry.js +18 -18
  784. package/dist/esm/calcite-input-message.entry.js +5 -5
  785. package/dist/esm/calcite-input-number.entry.js +13 -13
  786. package/dist/esm/calcite-input-text.entry.js +13 -13
  787. package/dist/esm/{calcite-input-time-picker.calcite-time-picker-a0447c50.js → calcite-input-time-picker.calcite-time-picker-d7dae234.js} +60 -60
  788. package/dist/esm/calcite-input-time-picker_2.entry.js +15 -15
  789. package/dist/esm/calcite-input.entry.js +13 -13
  790. package/dist/esm/calcite-label.entry.js +6 -6
  791. package/dist/esm/calcite-link.entry.js +7 -7
  792. package/dist/esm/calcite-list_3.entry.js +22 -15
  793. package/dist/esm/calcite-loader.entry.js +3 -3
  794. package/dist/esm/calcite-menu_2.entry.js +17 -13
  795. package/dist/esm/calcite-modal.entry.js +13 -13
  796. package/dist/esm/calcite-navigation_3.entry.js +6 -6
  797. package/dist/esm/calcite-notice.entry.js +12 -12
  798. package/dist/esm/calcite-option_3.entry.js +10 -10
  799. package/dist/esm/calcite-pagination.entry.js +10 -10
  800. package/dist/esm/calcite-panel.entry.js +14 -14
  801. package/dist/esm/calcite-pick-list_3.entry.js +16 -16
  802. package/dist/esm/calcite-popover.entry.js +16 -16
  803. package/dist/esm/calcite-progress.entry.js +2 -2
  804. package/dist/esm/calcite-radio-button-group.entry.js +4 -4
  805. package/dist/esm/calcite-radio-button.entry.js +10 -10
  806. package/dist/esm/calcite-rating.entry.js +13 -13
  807. package/dist/esm/calcite-scrim.entry.js +9 -9
  808. package/dist/esm/calcite-segmented-control_2.entry.js +9 -9
  809. package/dist/esm/calcite-shell_3.entry.js +11 -11
  810. package/dist/esm/calcite-sortable-list.entry.js +8 -8
  811. package/dist/esm/calcite-split-button.entry.js +4 -4
  812. package/dist/esm/calcite-stack.entry.js +6 -6
  813. package/dist/esm/calcite-stepper_2.entry.js +10 -10
  814. package/dist/esm/calcite-switch.entry.js +10 -10
  815. package/dist/esm/calcite-tab_4.entry.js +10 -10
  816. package/dist/esm/calcite-text-area.entry.js +15 -15
  817. package/dist/esm/calcite-tile-select_2.entry.js +5 -5
  818. package/dist/esm/calcite-tile.entry.js +8 -8
  819. package/dist/esm/calcite-tip_3.entry.js +11 -11
  820. package/dist/esm/calcite-tooltip.entry.js +9 -9
  821. package/dist/esm/calcite-tree_2.entry.js +8 -8
  822. package/dist/esm/calcite-value-list_2.entry.js +16 -16
  823. package/dist/esm/calcite.js +5 -5
  824. package/dist/esm/{conditionalSlot-9b876fac.js → conditionalSlot-49b87593.js} +3 -3
  825. package/dist/esm/{cs-8d5999a3.js → cs-eb6b2bc8.js} +15 -15
  826. package/dist/esm/{da-2261d606.js → da-a1904eb6.js} +15 -15
  827. package/dist/esm/{de-455b595b.js → de-793beb69.js} +15 -15
  828. package/dist/esm/{de-at-13f02200.js → de-at-b3c8741c.js} +15 -15
  829. package/dist/esm/{de-ch-95961e11.js → de-ch-c8b8084b.js} +15 -15
  830. package/dist/esm/{debounce-fd4f49fe.js → debounce-2d1fda5a.js} +1 -1
  831. package/dist/esm/{dom-c4a71a5f.js → dom-5735c7fb.js} +3 -3
  832. package/dist/esm/{el-9d968bb2.js → el-63107373.js} +15 -15
  833. package/dist/esm/{en-au-d58c239a.js → en-au-d4274e76.js} +15 -15
  834. package/dist/esm/{en-ca-86739cf8.js → en-ca-85b9bb2a.js} +15 -15
  835. package/dist/esm/{en-gb-a25114fe.js → en-gb-1741107a.js} +15 -15
  836. package/dist/esm/{es-7501e353.js → es-3ae1e11b.js} +15 -15
  837. package/dist/esm/{es-mx-30e34447.js → es-mx-490c7918.js} +15 -15
  838. package/dist/esm/{et-322a6c05.js → et-5efca36e.js} +15 -15
  839. package/dist/esm/{fi-911d4f97.js → fi-0a6c515b.js} +15 -15
  840. package/dist/esm/{filter-5e6aad20.js → filter-0fe3ab6b.js} +2 -2
  841. package/dist/esm/{floating-ui-dcea2559.js → floating-ui-0af5ccc5.js} +3 -3
  842. package/dist/esm/{focusTrapComponent-c60d1622.js → focusTrapComponent-358b39f6.js} +2 -2
  843. package/dist/esm/{form-f729bb79.js → form-460b7e64.js} +3 -3
  844. package/dist/esm/{fr-e4cf6895.js → fr-1690b7c9.js} +15 -15
  845. package/dist/esm/{fr-ch-9b5b4e66.js → fr-ch-b1cca34a.js} +15 -15
  846. package/dist/esm/{guid-71e93584.js → guid-14ec4d68.js} +1 -1
  847. package/dist/esm/{he-eb9befcf.js → he-c6e8d661.js} +15 -15
  848. package/dist/esm/{hi-664ef733.js → hi-c361102b.js} +15 -15
  849. package/dist/esm/{hr-34ba6c6a.js → hr-690c0984.js} +15 -15
  850. package/dist/esm/{hu-18b0c858.js → hu-124a853d.js} +15 -15
  851. package/dist/esm/{id-0569b437.js → id-a03d693c.js} +15 -15
  852. package/dist/esm/{index-5cfb25e7.js → index-662a78e4.js} +1 -1
  853. package/dist/esm/index.js +2 -2
  854. package/dist/esm/{interactive-6d82c0f9.js → interactive-7a548eb8.js} +1 -1
  855. package/dist/esm/{it-ch-f855e083.js → it-ch-0faee654.js} +15 -15
  856. package/dist/esm/{it-0a8a7eb8.js → it-da772da2.js} +15 -15
  857. package/dist/esm/{ja-815b0f0a.js → ja-cd5476f3.js} +15 -15
  858. package/dist/esm/{key-04e686bd.js → key-d689853f.js} +1 -1
  859. package/dist/esm/{ko-512f24f2.js → ko-667ee527.js} +15 -15
  860. package/dist/esm/{label-1d4aaaaf.js → label-c20310d0.js} +2 -2
  861. package/dist/esm/{loadable-be903738.js → loadable-6995c3f0.js} +2 -2
  862. package/dist/esm/loader.js +5 -5
  863. package/dist/esm/{locale-d9c4d71b.js → locale-04559cb6.js} +4 -4
  864. package/dist/esm/{lt-7282904f.js → lt-ef4f956d.js} +15 -15
  865. package/dist/esm/{lv-2d1ad720.js → lv-6cd64281.js} +15 -15
  866. package/dist/esm/{math-6c4cef3e.js → math-72678307.js} +1 -1
  867. package/dist/esm/{mk-ea0e0cd3.js → mk-32433d50.js} +15 -15
  868. package/dist/esm/{nb-1151b8ca.js → nb-d0de4a1b.js} +15 -15
  869. package/dist/esm/{nl-4843521a.js → nl-f22cf4fe.js} +15 -15
  870. package/dist/esm/{observers-7843950e.js → observers-21b278f0.js} +1 -1
  871. package/dist/esm/{openCloseComponent-64808190.js → openCloseComponent-c74e60f7.js} +2 -2
  872. package/dist/esm/{pl-f01f6100.js → pl-266bfffb.js} +15 -15
  873. package/dist/esm/{pt-84b3486d.js → pt-08cd6b1d.js} +15 -15
  874. package/dist/esm/{pt-br-5c8db11d.js → pt-br-5e874138.js} +15 -15
  875. package/dist/esm/{resources-7cb29f8d.js → resources-03e4c3ec.js} +1 -1
  876. package/dist/esm/{resources-e8ee5284.js → resources-23cf1909.js} +1 -1
  877. package/dist/esm/{resources-8643a61e.js → resources-5925f367.js} +5 -5
  878. package/dist/esm/{resources-17673dc0.js → resources-5c68e020.js} +1 -1
  879. package/dist/esm/{resources-df497a27.js → resources-61948a56.js} +1 -1
  880. package/dist/esm/{resources-b6d0663e.js → resources-7e10224a.js} +1 -1
  881. package/dist/esm/{resources-c40a9925.js → resources-e2c9447f.js} +1 -1
  882. package/dist/esm/{ro-77d3bb76.js → ro-d1c6090e.js} +15 -15
  883. package/dist/esm/{ru-17b78068.js → ru-0beb304f.js} +15 -15
  884. package/dist/esm/{sk-28ded62d.js → sk-e9bb89a7.js} +15 -15
  885. package/dist/esm/{sl-1e7622dd.js → sl-720bf728.js} +15 -15
  886. package/dist/esm/{sortableComponent-0e61d64c.js → sortableComponent-fbd02261.js} +2 -2
  887. package/dist/esm/{sr-6cea2e90.js → sr-ef3719d3.js} +15 -15
  888. package/dist/esm/{sv-a985fffc.js → sv-262a91a5.js} +15 -15
  889. package/dist/esm/{t9n-61154f0e.js → t9n-61d81e8f.js} +3 -3
  890. package/dist/esm/{th-13567054.js → th-b2ce22fe.js} +15 -15
  891. package/dist/esm/{throttle-210dff87.js → throttle-a66a805f.js} +2 -2
  892. package/dist/esm/{tr-26b7308b.js → tr-41eaea23.js} +15 -15
  893. package/dist/esm/{uk-a82dbb17.js → uk-c95faebb.js} +15 -15
  894. package/dist/esm/{utils-1601e4ab.js → utils-792aeb5a.js} +1 -1
  895. package/dist/esm/{utils-153cb916.js → utils-ce452dd0.js} +3 -3
  896. package/dist/esm/{vi-5e9d08b6.js → vi-2ae543a2.js} +15 -15
  897. package/dist/esm/{zh-cn-58c5dc7b.js → zh-cn-bd9e5f9a.js} +15 -15
  898. package/dist/esm/{zh-hk-cf48bc61.js → zh-hk-cf4e4630.js} +15 -15
  899. package/dist/esm/{zh-tw-9fb6e975.js → zh-tw-c8cede4b.js} +15 -15
  900. package/dist/extras/docs-json.json +1 -1
  901. package/dist/loader/cdn.js +1 -1
  902. package/dist/loader/index.cjs.js +1 -1
  903. package/dist/loader/index.es2017.js +1 -1
  904. package/dist/loader/index.js +1 -1
  905. package/dist/types/components/functional/ExpandToggle.d.ts +2 -2
  906. package/dist/types/components/input-time-picker/input-time-picker.d.ts +2 -2
  907. package/dist/types/components/menu-item/menu-item.d.ts +1 -0
  908. package/dist/types/index.d.ts +1 -0
  909. package/dist/types/utils/locale.d.ts +2 -2
  910. package/hydrate/index.js +22 -11
  911. package/package.json +2 -2
  912. package/dist/calcite/p-17a893e6.js +0 -6
  913. package/dist/calcite/p-1f80cc68.js +0 -6
  914. package/dist/calcite/p-358ed946.js +0 -6
  915. package/dist/calcite/p-4af1ceea.entry.js +0 -6
  916. package/dist/calcite/p-765cafe7.entry.js +0 -6
  917. package/dist/calcite/p-8125372c.entry.js +0 -6
  918. package/dist/calcite/p-92b0797c.entry.js +0 -6
  919. package/dist/calcite/p-a2eaf71d.entry.js +0 -6
  920. package/dist/calcite/p-a5aec770.js +0 -6
  921. package/dist/calcite/p-b4024900.js +0 -6
  922. package/dist/calcite/p-ba844b7a.js +0 -6
  923. package/dist/calcite/p-c7c03b70.entry.js +0 -6
  924. package/dist/calcite/p-de9ee379.entry.js +0 -6
  925. package/dist/calcite/p-e6b8896b.js +0 -6
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
4
- * v1.5.0-next.26
4
+ * v1.5.0-next.28
5
5
  */
6
- import{b as t}from"./p-33716470.js";import{d as n}from"./p-15c89625.js";function e(t){return t.split("-")[1]}function o(t){return"y"===t?"height":"width"}function r(t){return t.split("-")[0]}function i(t){return["top","bottom"].includes(r(t))?"x":"y"}function a(t,n,a){let{reference:l,floating:c}=t;const s=l.x+l.width/2-c.width/2,f=l.y+l.height/2-c.height/2,u=i(n),d=o(u),m=l[d]/2-c[d]/2,p="x"===u;let y;switch(r(n)){case"top":y={x:s,y:l.y-c.height};break;case"bottom":y={x:s,y:l.y+l.height};break;case"right":y={x:l.x+l.width,y:f};break;case"left":y={x:l.x-c.width,y:f};break;default:y={x:l.x,y:l.y}}switch(e(n)){case"start":y[u]-=m*(a&&p?-1:1);break;case"end":y[u]+=m*(a&&p?-1:1)}return y}function l(t,n){return"function"==typeof t?t(n):t}function c(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}function s(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}async function f(t,n){var e;void 0===n&&(n={});const{x:o,y:r,platform:i,rects:a,elements:f,strategy:u}=t,{boundary:d="clippingAncestors",rootBoundary:m="viewport",elementContext:p="floating",altBoundary:y=!1,padding:g=0}=l(n,t),h=c(g),x=f[y?"floating"===p?"reference":"floating":p],w=s(await i.getClippingRect({element:null==(e=await(null==i.isElement?void 0:i.isElement(x)))||e?x:x.contextElement||await(null==i.getDocumentElement?void 0:i.getDocumentElement(f.floating)),boundary:d,rootBoundary:m,strategy:u})),v="floating"===p?{...a.floating,x:o,y:r}:a.reference,b=await(null==i.getOffsetParent?void 0:i.getOffsetParent(f.floating)),A=await(null==i.isElement?void 0:i.isElement(b))&&await(null==i.getScale?void 0:i.getScale(b))||{x:1,y:1},S=s(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({rect:v,offsetParent:b,strategy:u}):v);return{top:(w.top-S.top+h.top)/A.y,bottom:(S.bottom-w.bottom+h.bottom)/A.y,left:(w.left-S.left+h.left)/A.x,right:(S.right-w.right+h.right)/A.x}}const u=Math.min,d=Math.max;function m(t,n,e){return d(t,u(n,e))}const p=["top","right","bottom","left"],y=p.reduce(((t,n)=>t.concat(n,n+"-start",n+"-end")),[]),g={left:"right",right:"left",bottom:"top",top:"bottom"};function h(t){return t.replace(/left|right|bottom|top/g,(t=>g[t]))}function x(t,n,r){void 0===r&&(r=!1);const a=e(t),l=i(t),c=o(l);let s="x"===l?a===(r?"end":"start")?"right":"left":"start"===a?"bottom":"top";return n.reference[c]>n.floating[c]&&(s=h(s)),{main:s,cross:h(s)}}const w={start:"end",end:"start"};function v(t){return t.replace(/start|end/g,(t=>w[t]))}const b=function(t){return void 0===t&&(t={}),{name:"flip",options:t,async fn(n){var o;const{placement:i,middlewareData:a,rects:c,initialPlacement:s,platform:u,elements:d}=n,{mainAxis:m=!0,crossAxis:p=!0,fallbackPlacements:y,fallbackStrategy:g="bestFit",fallbackAxisSideDirection:w="none",flipAlignment:b=!0,...A}=l(t,n),S=r(i),k=r(s)===s,P=await(null==u.isRTL?void 0:u.isRTL(d.floating)),D=y||(k||!b?[h(s)]:function(t){const n=h(t);return[v(t),n,v(n)]}(s));y||"none"===w||D.push(...function(t,n,o,i){const a=e(t);let l=function(t,n,e){const o=["left","right"],r=["right","left"],i=["top","bottom"],a=["bottom","top"];switch(t){case"top":case"bottom":return e?n?r:o:n?o:r;case"left":case"right":return n?i:a;default:return[]}}(r(t),"start"===o,i);return a&&(l=l.map((t=>t+"-"+a)),n&&(l=l.concat(l.map(v)))),l}(s,b,w,P));const M=[s,...D],R=await f(n,A),E=[];let O=(null==(o=a.flip)?void 0:o.overflows)||[];if(m&&E.push(R[S]),p){const{main:t,cross:n}=x(i,c,P);E.push(R[t],R[n])}if(O=[...O,{placement:i,overflows:E}],!E.every((t=>t<=0))){var F,C;const t=((null==(F=a.flip)?void 0:F.index)||0)+1,n=M[t];if(n)return{data:{index:t,overflows:O},reset:{placement:n}};let e=null==(C=O.filter((t=>t.overflows[0]<=0)).sort(((t,n)=>t.overflows[1]-n.overflows[1]))[0])?void 0:C.placement;if(!e)switch(g){case"bestFit":{var T;const t=null==(T=O.map((t=>[t.placement,t.overflows.filter((t=>t>0)).reduce(((t,n)=>t+n),0)])).sort(((t,n)=>t[1]-n[1]))[0])?void 0:T[0];t&&(e=t);break}case"initialPlacement":e=s}if(i!==e)return{reset:{placement:e}}}return{}}}};function A(t,n){return{top:t.top-n.height,right:t.right-n.width,bottom:t.bottom-n.height,left:t.left-n.width}}function S(t){return p.some((n=>t[n]>=0))}const k=function(t){return void 0===t&&(t={}),{name:"hide",options:t,async fn(n){const{rects:e}=n,{strategy:o="referenceHidden",...r}=l(t,n);switch(o){case"referenceHidden":{const t=A(await f(n,{...r,elementContext:"reference"}),e.reference);return{data:{referenceHiddenOffsets:t,referenceHidden:S(t)}}}case"escaped":{const t=A(await f(n,{...r,altBoundary:!0}),e.floating);return{data:{escapedOffsets:t,escaped:S(t)}}}default:return{}}}}},P=function(t){return void 0===t&&(t=0),{name:"offset",options:t,async fn(n){const{x:o,y:a}=n,c=await async function(t,n){const{placement:o,platform:a,elements:c}=t,s=await(null==a.isRTL?void 0:a.isRTL(c.floating)),f=r(o),u=e(o),d="x"===i(o),m=["left","top"].includes(f)?-1:1,p=s&&d?-1:1,y=l(n,t);let{mainAxis:g,crossAxis:h,alignmentAxis:x}="number"==typeof y?{mainAxis:y,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...y};return u&&"number"==typeof x&&(h="end"===u?-1*x:x),d?{x:h*p,y:g*m}:{x:g*m,y:h*p}}(n,t);return{x:o+c.x,y:a+c.y,data:c}}}};function D(t){var n;return(null==t||null==(n=t.ownerDocument)?void 0:n.defaultView)||window}function M(t){return D(t).getComputedStyle(t)}function R(t){return t instanceof D(t).Node}function E(t){return R(t)?(t.nodeName||"").toLowerCase():"#document"}function O(t){return t instanceof HTMLElement||t instanceof D(t).HTMLElement}function F(t){return"undefined"!=typeof ShadowRoot&&(t instanceof D(t).ShadowRoot||t instanceof ShadowRoot)}function C(t){const{overflow:n,overflowX:e,overflowY:o,display:r}=M(t);return/auto|scroll|overlay|hidden|clip/.test(n+o+e)&&!["inline","contents"].includes(r)}function T(t){return["table","td","th"].includes(E(t))}function $(t){const n=z(),e=M(t);return"none"!==e.transform||"none"!==e.perspective||!!e.containerType&&"normal"!==e.containerType||!n&&!!e.backdropFilter&&"none"!==e.backdropFilter||!n&&!!e.filter&&"none"!==e.filter||["transform","perspective","filter"].some((t=>(e.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(e.contain||"").includes(t)))}function z(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function B(t){return["html","body","#document"].includes(E(t))}const L=Math.min,j=Math.max,H=Math.round,I=Math.floor,W=t=>({x:t,y:t});function q(t){const n=M(t);let e=parseFloat(n.width)||0,o=parseFloat(n.height)||0;const r=O(t),i=r?t.offsetWidth:e,a=r?t.offsetHeight:o,l=H(e)!==i||H(o)!==a;return l&&(e=i,o=a),{width:e,height:o,$:l}}function N(t){return t instanceof Element||t instanceof D(t).Element}function Y(t){return N(t)?t:t.contextElement}function V(t){const n=Y(t);if(!O(n))return W(1);const e=n.getBoundingClientRect(),{width:o,height:r,$:i}=q(n);let a=(i?H(e.width):e.width)/o,l=(i?H(e.height):e.height)/r;return a&&Number.isFinite(a)||(a=1),l&&Number.isFinite(l)||(l=1),{x:a,y:l}}const X=W(0);function _(t){const n=D(t);return z()&&n.visualViewport?{x:n.visualViewport.offsetLeft,y:n.visualViewport.offsetTop}:X}function G(t,n,e,o){void 0===n&&(n=!1),void 0===e&&(e=!1);const r=t.getBoundingClientRect(),i=Y(t);let a=W(1);n&&(o?N(o)&&(a=V(o)):a=V(t));const l=function(t,n,e){return void 0===n&&(n=!1),!(!e||n&&e!==D(t))&&n}(i,e,o)?_(i):W(0);let c=(r.left+l.x)/a.x,f=(r.top+l.y)/a.y,u=r.width/a.x,d=r.height/a.y;if(i){const t=D(i),n=o&&N(o)?D(o):o;let e=t.frameElement;for(;e&&o&&n!==t;){const t=V(e),n=e.getBoundingClientRect(),o=getComputedStyle(e),r=n.left+(e.clientLeft+parseFloat(o.paddingLeft))*t.x,i=n.top+(e.clientTop+parseFloat(o.paddingTop))*t.y;c*=t.x,f*=t.y,u*=t.x,d*=t.y,c+=r,f+=i,e=D(e).frameElement}}return s({width:u,height:d,x:c,y:f})}function J(t){return N(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function K(t){var n;return null==(n=(R(t)?t.ownerDocument:t.document)||window.document)?void 0:n.documentElement}function Q(t){return G(K(t)).left+J(t).scrollLeft}function U(t){if("html"===E(t))return t;const n=t.assignedSlot||t.parentNode||F(t)&&t.host||K(t);return F(n)?n.host:n}function Z(t){const n=U(t);return B(n)?t.ownerDocument?t.ownerDocument.body:t.body:O(n)&&C(n)?n:Z(n)}function tt(t,n){var e;void 0===n&&(n=[]);const o=Z(t),r=o===(null==(e=t.ownerDocument)?void 0:e.body),i=D(o);return r?n.concat(i,i.visualViewport||[],C(o)?o:[]):n.concat(o,tt(o))}function nt(t,n,e){let o;if("viewport"===n)o=function(t,n){const e=D(t),o=K(t),r=e.visualViewport;let i=o.clientWidth,a=o.clientHeight,l=0,c=0;if(r){i=r.width,a=r.height;const t=z();(!t||t&&"fixed"===n)&&(l=r.offsetLeft,c=r.offsetTop)}return{width:i,height:a,x:l,y:c}}(t,e);else if("document"===n)o=function(t){const n=K(t),e=J(t),o=t.ownerDocument.body,r=j(n.scrollWidth,n.clientWidth,o.scrollWidth,o.clientWidth),i=j(n.scrollHeight,n.clientHeight,o.scrollHeight,o.clientHeight);let a=-e.scrollLeft+Q(t);const l=-e.scrollTop;return"rtl"===M(o).direction&&(a+=j(n.clientWidth,o.clientWidth)-r),{width:r,height:i,x:a,y:l}}(K(t));else if(N(n))o=function(t,n){const e=G(t,!0,"fixed"===n),o=e.top+t.clientTop,r=e.left+t.clientLeft,i=O(t)?V(t):W(1);return{width:t.clientWidth*i.x,height:t.clientHeight*i.y,x:r*i.x,y:o*i.y}}(n,e);else{const e=_(t);o={...n,x:n.x-e.x,y:n.y-e.y}}return s(o)}function et(t,n){const e=U(t);return!(e===n||!N(e)||B(e))&&("fixed"===M(e).position||et(e,n))}function ot(t,n,e){const o=O(n),r=K(n),i="fixed"===e,a=G(t,!0,i,n);let l={scrollLeft:0,scrollTop:0};const c=W(0);if(o||!o&&!i)if(("body"!==E(n)||C(r))&&(l=J(n)),O(n)){const t=G(n,!0,i,n);c.x=t.x+n.clientLeft,c.y=t.y+n.clientTop}else r&&(c.x=Q(r));return{x:a.left+l.scrollLeft-c.x,y:a.top+l.scrollTop-c.y,width:a.width,height:a.height}}function rt(t,n){return O(t)&&"fixed"!==M(t).position?n?n(t):t.offsetParent:null}function it(t,n){const e=D(t);if(!O(t))return e;let o=rt(t,n);for(;o&&T(o)&&"static"===M(o).position;)o=rt(o,n);return o&&("html"===E(o)||"body"===E(o)&&"static"===M(o).position&&!$(o))?e:o||function(t){let n=U(t);for(;O(n)&&!B(n);){if($(n))return n;n=U(n)}return null}(t)||e}const at={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:n,offsetParent:e,strategy:o}=t;const r=O(e),i=K(e);if(e===i)return n;let a={scrollLeft:0,scrollTop:0},l=W(1);const c=W(0);if((r||!r&&"fixed"!==o)&&(("body"!==E(e)||C(i))&&(a=J(e)),O(e))){const t=G(e);l=V(e),c.x=t.x+e.clientLeft,c.y=t.y+e.clientTop}return{width:n.width*l.x,height:n.height*l.y,x:n.x*l.x-a.scrollLeft*l.x+c.x,y:n.y*l.y-a.scrollTop*l.y+c.y}},getDocumentElement:K,getClippingRect:function(t){let{element:n,boundary:e,rootBoundary:o,strategy:r}=t;const i=[..."clippingAncestors"===e?function(t,n){const e=n.get(t);if(e)return e;let o=tt(t).filter((t=>N(t)&&"body"!==E(t))),r=null;const i="fixed"===M(t).position;let a=i?U(t):t;for(;N(a)&&!B(a);){const n=M(a),e=$(a);e||"fixed"!==n.position||(r=null),(i?!e&&!r:!e&&"static"===n.position&&r&&["absolute","fixed"].includes(r.position)||C(a)&&!e&&et(t,a))?o=o.filter((t=>t!==a)):r=n,a=U(a)}return n.set(t,o),o}(n,this._c):[].concat(e),o],a=i.reduce(((t,e)=>{const o=nt(n,e,r);return t.top=j(o.top,t.top),t.right=L(o.right,t.right),t.bottom=L(o.bottom,t.bottom),t.left=j(o.left,t.left),t}),nt(n,i[0],r));return{width:a.right-a.left,height:a.bottom-a.top,x:a.left,y:a.top}},getOffsetParent:it,getElementRects:async function(t){let{reference:n,floating:e,strategy:o}=t;const r=this.getOffsetParent||it,i=this.getDimensions;return{reference:ot(n,await r(e),o),floating:{x:0,y:0,...await i(e)}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){return q(t)},getScale:V,isElement:N,isRTL:function(t){return"rtl"===getComputedStyle(t).direction}};function lt(t){return function(t){for(let n=t;n;n=ct(n))if(n instanceof Element&&"none"===getComputedStyle(n).display)return null;for(let n=ct(t);n;n=ct(n)){if(!(n instanceof Element))continue;const t=getComputedStyle(n);if("contents"!==t.display){if("static"!==t.position||"none"!==t.filter)return n;if("BODY"===n.tagName)return n}}return null}(t)}function ct(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}!function(){{const t=at.getOffsetParent;at.getOffsetParent=n=>t(n,lt)}}();const st=async(t,{referenceEl:n,floatingEl:e,overlayPositioning:o="absolute",placement:r,flipDisabled:i,flipPlacements:l,offsetDistance:c,offsetSkidding:s,arrowEl:f,type:u})=>{if(!n||!e)return null;const{x:d,y:m,placement:p,strategy:y,middlewareData:g}=await((t,n,e)=>{const o=new Map,r={platform:at,...e},i={...r.platform,_c:o};return(async(t,n,e)=>{const{placement:o="bottom",strategy:r="absolute",middleware:i=[],platform:l}=e,c=i.filter(Boolean),s=await(null==l.isRTL?void 0:l.isRTL(n));let f=await l.getElementRects({reference:t,floating:n,strategy:r}),{x:u,y:d}=a(f,o,s),m=o,p={},y=0;for(let e=0;e<c.length;e++){const{name:i,fn:g}=c[e],{x:h,y:x,data:w,reset:v}=await g({x:u,y:d,initialPlacement:o,placement:m,strategy:r,middlewareData:p,rects:f,platform:l,elements:{reference:t,floating:n}});u=null!=h?h:u,d=null!=x?x:d,p={...p,[i]:{...p[i],...w}},v&&y<=50&&(y++,"object"==typeof v&&(v.placement&&(m=v.placement),v.rects&&(f=!0===v.rects?await l.getElementRects({reference:t,floating:n,strategy:r}):v.rects),({x:u,y:d}=a(f,m,s))),e=-1)}return{x:u,y:d,placement:m,strategy:r,middlewareData:p}})(t,n,{...r,platform:i})})(n,e,{strategy:o,placement:"auto"===r||"auto-start"===r||"auto-end"===r?void 0:gt(e,r),middleware:pt({placement:r,flipDisabled:i,flipPlacements:l,offsetDistance:c,offsetSkidding:s,arrowEl:f,type:u})});if(f&&g.arrow){const{x:n,y:e}=g.arrow,o=p.split("-")[0],r=null!=n?"left":"top",i=xt[o],a={left:"",top:"",bottom:"",right:""};"floatingLayout"in t&&(t.floatingLayout="left"===o||"right"===o?"horizontal":"vertical"),Object.assign(f.style,{...a,[r]:`${"left"==r?n:e}px`,[o]:"100%",transform:i})}const h=g.hide?.referenceHidden,x=h?"hidden":null,w=x?"none":null;e.setAttribute(ft,p);const v=`translate(${Math.round(d)}px,${Math.round(m)}px)`;Object.assign(e.style,{visibility:x,pointerEvents:w,position:y,top:"0",left:"0",transform:v})},ft="data-placement",ut=["top","bottom","right","left","top-start","top-end","bottom-start","bottom-end","right-start","right-end","left-start","left-end"],dt="bottom-start",mt={animation:"calcite-floating-ui-anim",animationActive:"calcite-floating-ui-anim--active"};function pt({placement:t,flipDisabled:n,flipPlacements:a,offsetDistance:s,offsetSkidding:d,arrowEl:p,type:g}){const h=[(void 0===w&&(w={}),{name:"shift",options:w,async fn(t){const{x:n,y:e,placement:o}=t,{mainAxis:a=!0,crossAxis:c=!1,limiter:s={fn:t=>{let{x:n,y:e}=t;return{x:n,y:e}}},...u}=l(w,t),d={x:n,y:e},p=await f(t,u),y=i(r(o)),g="x"===y?"y":"x";let h=d[y],x=d[g];a&&(h=m(h+p["y"===y?"top":"left"],h,h-p["y"===y?"bottom":"right"])),c&&(x=m(x+p["y"===g?"top":"left"],x,x-p["y"===g?"bottom":"right"]));const v=s.fn({...t,[y]:h,[g]:x});return{...v,data:{x:v.x-n,y:v.y-e}}}}),k()];var w;if("menu"===g)return[...h,b({fallbackPlacements:a||["top-start","top","top-end","bottom-start","bottom","bottom-end"]})];if("popover"===g||"tooltip"===g){const g=[...h,P({mainAxis:"number"==typeof s?s:0,crossAxis:"number"==typeof d?d:0})];return"auto"===t||"auto-start"===t||"auto-end"===t?g.push(function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(n){var o,i,a;const{rects:c,middlewareData:s,placement:u,platform:d,elements:m}=n,{crossAxis:p=!1,alignment:g,allowedPlacements:h=y,autoAlignment:w=!0,...b}=l(t,n),A=void 0!==g||h===y?function(t,n,o){return(t?[...o.filter((n=>e(n)===t)),...o.filter((n=>e(n)!==t))]:o.filter((t=>r(t)===t))).filter((o=>!t||e(o)===t||!!n&&v(o)!==o))}(g||null,w,h):h,S=await f(n,b),k=(null==(o=s.autoPlacement)?void 0:o.index)||0,P=A[k];if(null==P)return{};const{main:D,cross:M}=x(P,c,await(null==d.isRTL?void 0:d.isRTL(m.floating)));if(u!==P)return{reset:{placement:A[0]}};const R=[S[r(P)],S[D],S[M]],E=[...(null==(i=s.autoPlacement)?void 0:i.overflows)||[],{placement:P,overflows:R}],O=A[k+1];if(O)return{data:{index:k+1,overflows:E},reset:{placement:O}};const F=E.map((t=>{const n=e(t.placement);return[t.placement,n&&p?t.overflows.slice(0,2).reduce(((t,n)=>t+n),0):t.overflows[0],t.overflows]})).sort(((t,n)=>t[1]-n[1])),C=(null==(a=F.filter((t=>t[2].slice(0,e(t[0])?2:3).every((t=>t<=0))))[0])?void 0:a[0])||F[0][0];return C!==u?{data:{index:k+1,overflows:E},reset:{placement:C}}:{}}}}({alignment:"auto-start"===t?"start":"auto-end"===t?"end":null})):n||g.push(b(a?{fallbackPlacements:a}:{})),p&&g.push((t=>({name:"arrow",options:t,async fn(n){const{x:r,y:a,placement:s,rects:f,platform:d,elements:p}=n,{element:y,padding:g=0}=l(t,n)||{};if(null==y)return{};const h=c(g),x={x:r,y:a},w=i(s),v=o(w),b=await d.getDimensions(y),A="y"===w,S=A?"top":"left",k=A?"bottom":"right",P=A?"clientHeight":"clientWidth",D=f.reference[v]+f.reference[w]-x[w]-f.floating[v],M=x[w]-f.reference[w],R=await(null==d.getOffsetParent?void 0:d.getOffsetParent(y));let E=R?R[P]:0;E&&await(null==d.isElement?void 0:d.isElement(R))||(E=p.floating[P]||f.floating[v]);const O=D/2-M/2,F=E/2-b[v]/2-1,C=u(h[S],F),T=u(h[k],F),$=C,z=E-b[v]-T,B=E/2-b[v]/2+O,L=m($,B,z),j=null!=e(s)&&B!=L&&f.reference[v]/2-(B<$?C:T)-b[v]/2<0?B<$?$-B:z-B:0;return{[w]:x[w]-j,data:{[w]:L,centerOffset:B-L+j}}}}))({element:p})),g}return[]}function yt(t,n){const e=t.filter((t=>ut.includes(t)));return e.length!==t.length&&console.warn(`${n.tagName}: Invalid value found in: flipPlacements. Try any of these: ${ut.map((t=>`"${t}"`)).join(", ").trim()}`,{el:n}),e}function gt(n,e){const o=["left","right"];return"rtl"===t(n)&&o.reverse(),e.replace(/leading/gi,o[0]).replace(/trailing/gi,o[1])}async function ht(t,e,o=!1){if(!t.open)return;const r=o?function(t){let e=vt.get(t);return e||(e=n(st,100,{leading:!0,maxWait:100}),vt.set(t,e),e)}(t):st;return r(t,e)}const xt={top:"",left:"rotate(-90deg)",bottom:"rotate(180deg)",right:"rotate(90deg)"},wt=new WeakMap,vt=new WeakMap;function bt(t,n,e){e&&n&&(At(t,n,e),Object.assign(e.style,{visibility:"hidden",pointerEvents:"none",position:t.overlayPositioning,top:"0",left:"0"}),wt.set(t,function(t,n,e,o){void 0===o&&(o={});const{ancestorScroll:r=!0,ancestorResize:i=!0,elementResize:a="function"==typeof ResizeObserver,layoutShift:l="function"==typeof IntersectionObserver,animationFrame:c=!1}=o,s=Y(t),f=r||i?[...s?tt(s):[],...tt(n)]:[];f.forEach((t=>{r&&t.addEventListener("scroll",e,{passive:!0}),i&&t.addEventListener("resize",e)}));const u=s&&l?function(t,n){let e,o=null;const r=K(t);function i(){clearTimeout(e),o&&o.disconnect(),o=null}return function a(l,c){void 0===l&&(l=!1),void 0===c&&(c=1),i();const{left:s,top:f,width:u,height:d}=t.getBoundingClientRect();if(l||n(),!u||!d)return;const m={rootMargin:-I(f)+"px "+-I(r.clientWidth-(s+u))+"px "+-I(r.clientHeight-(f+d))+"px "+-I(s)+"px",threshold:j(0,L(1,c))||1};let p=!0;function y(t){const n=t[0].intersectionRatio;if(n!==c){if(!p)return a();n?a(!1,n):e=setTimeout((()=>{a(!1,1e-7)}),100)}p=!1}try{o=new IntersectionObserver(y,{...m,root:r.ownerDocument})}catch(t){o=new IntersectionObserver(y,m)}o.observe(t)}(!0),i}(s,e):null;let d,m=-1,p=null;a&&(p=new ResizeObserver((t=>{let[o]=t;o&&o.target===s&&p&&(p.unobserve(n),cancelAnimationFrame(m),m=requestAnimationFrame((()=>{p&&p.observe(n)}))),e()})),s&&!c&&p.observe(s),p.observe(n));let y=c?G(t):null;return c&&function n(){const o=G(t);!y||o.x===y.x&&o.y===y.y&&o.width===y.width&&o.height===y.height||e(),y=o,d=requestAnimationFrame(n)}(),e(),()=>{f.forEach((t=>{r&&t.removeEventListener("scroll",e),i&&t.removeEventListener("resize",e)})),u&&u(),p&&p.disconnect(),p=null,c&&cancelAnimationFrame(d)}}(n,e,(()=>t.reposition()))))}function At(t,n,e){e&&n&&(wt.get(t)?.(),wt.delete(t),vt.get(t)?.cancel(),vt.delete(t))}const St=Math.ceil(Math.hypot(4,4));export{mt as F,At as a,St as b,bt as c,dt as d,yt as f,ht as r}
6
+ import{b as t}from"./p-a80dd470.js";import{d as n}from"./p-5b994153.js";function e(t){return t.split("-")[1]}function o(t){return"y"===t?"height":"width"}function r(t){return t.split("-")[0]}function i(t){return["top","bottom"].includes(r(t))?"x":"y"}function a(t,n,a){let{reference:l,floating:c}=t;const s=l.x+l.width/2-c.width/2,f=l.y+l.height/2-c.height/2,u=i(n),d=o(u),m=l[d]/2-c[d]/2,p="x"===u;let y;switch(r(n)){case"top":y={x:s,y:l.y-c.height};break;case"bottom":y={x:s,y:l.y+l.height};break;case"right":y={x:l.x+l.width,y:f};break;case"left":y={x:l.x-c.width,y:f};break;default:y={x:l.x,y:l.y}}switch(e(n)){case"start":y[u]-=m*(a&&p?-1:1);break;case"end":y[u]+=m*(a&&p?-1:1)}return y}function l(t,n){return"function"==typeof t?t(n):t}function c(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}function s(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}async function f(t,n){var e;void 0===n&&(n={});const{x:o,y:r,platform:i,rects:a,elements:f,strategy:u}=t,{boundary:d="clippingAncestors",rootBoundary:m="viewport",elementContext:p="floating",altBoundary:y=!1,padding:g=0}=l(n,t),h=c(g),x=f[y?"floating"===p?"reference":"floating":p],w=s(await i.getClippingRect({element:null==(e=await(null==i.isElement?void 0:i.isElement(x)))||e?x:x.contextElement||await(null==i.getDocumentElement?void 0:i.getDocumentElement(f.floating)),boundary:d,rootBoundary:m,strategy:u})),v="floating"===p?{...a.floating,x:o,y:r}:a.reference,b=await(null==i.getOffsetParent?void 0:i.getOffsetParent(f.floating)),A=await(null==i.isElement?void 0:i.isElement(b))&&await(null==i.getScale?void 0:i.getScale(b))||{x:1,y:1},S=s(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({rect:v,offsetParent:b,strategy:u}):v);return{top:(w.top-S.top+h.top)/A.y,bottom:(S.bottom-w.bottom+h.bottom)/A.y,left:(w.left-S.left+h.left)/A.x,right:(S.right-w.right+h.right)/A.x}}const u=Math.min,d=Math.max;function m(t,n,e){return d(t,u(n,e))}const p=["top","right","bottom","left"],y=p.reduce(((t,n)=>t.concat(n,n+"-start",n+"-end")),[]),g={left:"right",right:"left",bottom:"top",top:"bottom"};function h(t){return t.replace(/left|right|bottom|top/g,(t=>g[t]))}function x(t,n,r){void 0===r&&(r=!1);const a=e(t),l=i(t),c=o(l);let s="x"===l?a===(r?"end":"start")?"right":"left":"start"===a?"bottom":"top";return n.reference[c]>n.floating[c]&&(s=h(s)),{main:s,cross:h(s)}}const w={start:"end",end:"start"};function v(t){return t.replace(/start|end/g,(t=>w[t]))}const b=function(t){return void 0===t&&(t={}),{name:"flip",options:t,async fn(n){var o;const{placement:i,middlewareData:a,rects:c,initialPlacement:s,platform:u,elements:d}=n,{mainAxis:m=!0,crossAxis:p=!0,fallbackPlacements:y,fallbackStrategy:g="bestFit",fallbackAxisSideDirection:w="none",flipAlignment:b=!0,...A}=l(t,n),S=r(i),k=r(s)===s,P=await(null==u.isRTL?void 0:u.isRTL(d.floating)),D=y||(k||!b?[h(s)]:function(t){const n=h(t);return[v(t),n,v(n)]}(s));y||"none"===w||D.push(...function(t,n,o,i){const a=e(t);let l=function(t,n,e){const o=["left","right"],r=["right","left"],i=["top","bottom"],a=["bottom","top"];switch(t){case"top":case"bottom":return e?n?r:o:n?o:r;case"left":case"right":return n?i:a;default:return[]}}(r(t),"start"===o,i);return a&&(l=l.map((t=>t+"-"+a)),n&&(l=l.concat(l.map(v)))),l}(s,b,w,P));const M=[s,...D],R=await f(n,A),E=[];let O=(null==(o=a.flip)?void 0:o.overflows)||[];if(m&&E.push(R[S]),p){const{main:t,cross:n}=x(i,c,P);E.push(R[t],R[n])}if(O=[...O,{placement:i,overflows:E}],!E.every((t=>t<=0))){var F,C;const t=((null==(F=a.flip)?void 0:F.index)||0)+1,n=M[t];if(n)return{data:{index:t,overflows:O},reset:{placement:n}};let e=null==(C=O.filter((t=>t.overflows[0]<=0)).sort(((t,n)=>t.overflows[1]-n.overflows[1]))[0])?void 0:C.placement;if(!e)switch(g){case"bestFit":{var T;const t=null==(T=O.map((t=>[t.placement,t.overflows.filter((t=>t>0)).reduce(((t,n)=>t+n),0)])).sort(((t,n)=>t[1]-n[1]))[0])?void 0:T[0];t&&(e=t);break}case"initialPlacement":e=s}if(i!==e)return{reset:{placement:e}}}return{}}}};function A(t,n){return{top:t.top-n.height,right:t.right-n.width,bottom:t.bottom-n.height,left:t.left-n.width}}function S(t){return p.some((n=>t[n]>=0))}const k=function(t){return void 0===t&&(t={}),{name:"hide",options:t,async fn(n){const{rects:e}=n,{strategy:o="referenceHidden",...r}=l(t,n);switch(o){case"referenceHidden":{const t=A(await f(n,{...r,elementContext:"reference"}),e.reference);return{data:{referenceHiddenOffsets:t,referenceHidden:S(t)}}}case"escaped":{const t=A(await f(n,{...r,altBoundary:!0}),e.floating);return{data:{escapedOffsets:t,escaped:S(t)}}}default:return{}}}}},P=function(t){return void 0===t&&(t=0),{name:"offset",options:t,async fn(n){const{x:o,y:a}=n,c=await async function(t,n){const{placement:o,platform:a,elements:c}=t,s=await(null==a.isRTL?void 0:a.isRTL(c.floating)),f=r(o),u=e(o),d="x"===i(o),m=["left","top"].includes(f)?-1:1,p=s&&d?-1:1,y=l(n,t);let{mainAxis:g,crossAxis:h,alignmentAxis:x}="number"==typeof y?{mainAxis:y,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...y};return u&&"number"==typeof x&&(h="end"===u?-1*x:x),d?{x:h*p,y:g*m}:{x:g*m,y:h*p}}(n,t);return{x:o+c.x,y:a+c.y,data:c}}}};function D(t){var n;return(null==t||null==(n=t.ownerDocument)?void 0:n.defaultView)||window}function M(t){return D(t).getComputedStyle(t)}function R(t){return t instanceof D(t).Node}function E(t){return R(t)?(t.nodeName||"").toLowerCase():"#document"}function O(t){return t instanceof HTMLElement||t instanceof D(t).HTMLElement}function F(t){return"undefined"!=typeof ShadowRoot&&(t instanceof D(t).ShadowRoot||t instanceof ShadowRoot)}function C(t){const{overflow:n,overflowX:e,overflowY:o,display:r}=M(t);return/auto|scroll|overlay|hidden|clip/.test(n+o+e)&&!["inline","contents"].includes(r)}function T(t){return["table","td","th"].includes(E(t))}function $(t){const n=z(),e=M(t);return"none"!==e.transform||"none"!==e.perspective||!!e.containerType&&"normal"!==e.containerType||!n&&!!e.backdropFilter&&"none"!==e.backdropFilter||!n&&!!e.filter&&"none"!==e.filter||["transform","perspective","filter"].some((t=>(e.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(e.contain||"").includes(t)))}function z(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function B(t){return["html","body","#document"].includes(E(t))}const L=Math.min,j=Math.max,H=Math.round,I=Math.floor,W=t=>({x:t,y:t});function q(t){const n=M(t);let e=parseFloat(n.width)||0,o=parseFloat(n.height)||0;const r=O(t),i=r?t.offsetWidth:e,a=r?t.offsetHeight:o,l=H(e)!==i||H(o)!==a;return l&&(e=i,o=a),{width:e,height:o,$:l}}function N(t){return t instanceof Element||t instanceof D(t).Element}function Y(t){return N(t)?t:t.contextElement}function V(t){const n=Y(t);if(!O(n))return W(1);const e=n.getBoundingClientRect(),{width:o,height:r,$:i}=q(n);let a=(i?H(e.width):e.width)/o,l=(i?H(e.height):e.height)/r;return a&&Number.isFinite(a)||(a=1),l&&Number.isFinite(l)||(l=1),{x:a,y:l}}const X=W(0);function _(t){const n=D(t);return z()&&n.visualViewport?{x:n.visualViewport.offsetLeft,y:n.visualViewport.offsetTop}:X}function G(t,n,e,o){void 0===n&&(n=!1),void 0===e&&(e=!1);const r=t.getBoundingClientRect(),i=Y(t);let a=W(1);n&&(o?N(o)&&(a=V(o)):a=V(t));const l=function(t,n,e){return void 0===n&&(n=!1),!(!e||n&&e!==D(t))&&n}(i,e,o)?_(i):W(0);let c=(r.left+l.x)/a.x,f=(r.top+l.y)/a.y,u=r.width/a.x,d=r.height/a.y;if(i){const t=D(i),n=o&&N(o)?D(o):o;let e=t.frameElement;for(;e&&o&&n!==t;){const t=V(e),n=e.getBoundingClientRect(),o=getComputedStyle(e),r=n.left+(e.clientLeft+parseFloat(o.paddingLeft))*t.x,i=n.top+(e.clientTop+parseFloat(o.paddingTop))*t.y;c*=t.x,f*=t.y,u*=t.x,d*=t.y,c+=r,f+=i,e=D(e).frameElement}}return s({width:u,height:d,x:c,y:f})}function J(t){return N(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function K(t){var n;return null==(n=(R(t)?t.ownerDocument:t.document)||window.document)?void 0:n.documentElement}function Q(t){return G(K(t)).left+J(t).scrollLeft}function U(t){if("html"===E(t))return t;const n=t.assignedSlot||t.parentNode||F(t)&&t.host||K(t);return F(n)?n.host:n}function Z(t){const n=U(t);return B(n)?t.ownerDocument?t.ownerDocument.body:t.body:O(n)&&C(n)?n:Z(n)}function tt(t,n){var e;void 0===n&&(n=[]);const o=Z(t),r=o===(null==(e=t.ownerDocument)?void 0:e.body),i=D(o);return r?n.concat(i,i.visualViewport||[],C(o)?o:[]):n.concat(o,tt(o))}function nt(t,n,e){let o;if("viewport"===n)o=function(t,n){const e=D(t),o=K(t),r=e.visualViewport;let i=o.clientWidth,a=o.clientHeight,l=0,c=0;if(r){i=r.width,a=r.height;const t=z();(!t||t&&"fixed"===n)&&(l=r.offsetLeft,c=r.offsetTop)}return{width:i,height:a,x:l,y:c}}(t,e);else if("document"===n)o=function(t){const n=K(t),e=J(t),o=t.ownerDocument.body,r=j(n.scrollWidth,n.clientWidth,o.scrollWidth,o.clientWidth),i=j(n.scrollHeight,n.clientHeight,o.scrollHeight,o.clientHeight);let a=-e.scrollLeft+Q(t);const l=-e.scrollTop;return"rtl"===M(o).direction&&(a+=j(n.clientWidth,o.clientWidth)-r),{width:r,height:i,x:a,y:l}}(K(t));else if(N(n))o=function(t,n){const e=G(t,!0,"fixed"===n),o=e.top+t.clientTop,r=e.left+t.clientLeft,i=O(t)?V(t):W(1);return{width:t.clientWidth*i.x,height:t.clientHeight*i.y,x:r*i.x,y:o*i.y}}(n,e);else{const e=_(t);o={...n,x:n.x-e.x,y:n.y-e.y}}return s(o)}function et(t,n){const e=U(t);return!(e===n||!N(e)||B(e))&&("fixed"===M(e).position||et(e,n))}function ot(t,n,e){const o=O(n),r=K(n),i="fixed"===e,a=G(t,!0,i,n);let l={scrollLeft:0,scrollTop:0};const c=W(0);if(o||!o&&!i)if(("body"!==E(n)||C(r))&&(l=J(n)),O(n)){const t=G(n,!0,i,n);c.x=t.x+n.clientLeft,c.y=t.y+n.clientTop}else r&&(c.x=Q(r));return{x:a.left+l.scrollLeft-c.x,y:a.top+l.scrollTop-c.y,width:a.width,height:a.height}}function rt(t,n){return O(t)&&"fixed"!==M(t).position?n?n(t):t.offsetParent:null}function it(t,n){const e=D(t);if(!O(t))return e;let o=rt(t,n);for(;o&&T(o)&&"static"===M(o).position;)o=rt(o,n);return o&&("html"===E(o)||"body"===E(o)&&"static"===M(o).position&&!$(o))?e:o||function(t){let n=U(t);for(;O(n)&&!B(n);){if($(n))return n;n=U(n)}return null}(t)||e}const at={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:n,offsetParent:e,strategy:o}=t;const r=O(e),i=K(e);if(e===i)return n;let a={scrollLeft:0,scrollTop:0},l=W(1);const c=W(0);if((r||!r&&"fixed"!==o)&&(("body"!==E(e)||C(i))&&(a=J(e)),O(e))){const t=G(e);l=V(e),c.x=t.x+e.clientLeft,c.y=t.y+e.clientTop}return{width:n.width*l.x,height:n.height*l.y,x:n.x*l.x-a.scrollLeft*l.x+c.x,y:n.y*l.y-a.scrollTop*l.y+c.y}},getDocumentElement:K,getClippingRect:function(t){let{element:n,boundary:e,rootBoundary:o,strategy:r}=t;const i=[..."clippingAncestors"===e?function(t,n){const e=n.get(t);if(e)return e;let o=tt(t).filter((t=>N(t)&&"body"!==E(t))),r=null;const i="fixed"===M(t).position;let a=i?U(t):t;for(;N(a)&&!B(a);){const n=M(a),e=$(a);e||"fixed"!==n.position||(r=null),(i?!e&&!r:!e&&"static"===n.position&&r&&["absolute","fixed"].includes(r.position)||C(a)&&!e&&et(t,a))?o=o.filter((t=>t!==a)):r=n,a=U(a)}return n.set(t,o),o}(n,this._c):[].concat(e),o],a=i.reduce(((t,e)=>{const o=nt(n,e,r);return t.top=j(o.top,t.top),t.right=L(o.right,t.right),t.bottom=L(o.bottom,t.bottom),t.left=j(o.left,t.left),t}),nt(n,i[0],r));return{width:a.right-a.left,height:a.bottom-a.top,x:a.left,y:a.top}},getOffsetParent:it,getElementRects:async function(t){let{reference:n,floating:e,strategy:o}=t;const r=this.getOffsetParent||it,i=this.getDimensions;return{reference:ot(n,await r(e),o),floating:{x:0,y:0,...await i(e)}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){return q(t)},getScale:V,isElement:N,isRTL:function(t){return"rtl"===getComputedStyle(t).direction}};function lt(t){return function(t){for(let n=t;n;n=ct(n))if(n instanceof Element&&"none"===getComputedStyle(n).display)return null;for(let n=ct(t);n;n=ct(n)){if(!(n instanceof Element))continue;const t=getComputedStyle(n);if("contents"!==t.display){if("static"!==t.position||"none"!==t.filter)return n;if("BODY"===n.tagName)return n}}return null}(t)}function ct(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}!function(){{const t=at.getOffsetParent;at.getOffsetParent=n=>t(n,lt)}}();const st=async(t,{referenceEl:n,floatingEl:e,overlayPositioning:o="absolute",placement:r,flipDisabled:i,flipPlacements:l,offsetDistance:c,offsetSkidding:s,arrowEl:f,type:u})=>{if(!n||!e)return null;const{x:d,y:m,placement:p,strategy:y,middlewareData:g}=await((t,n,e)=>{const o=new Map,r={platform:at,...e},i={...r.platform,_c:o};return(async(t,n,e)=>{const{placement:o="bottom",strategy:r="absolute",middleware:i=[],platform:l}=e,c=i.filter(Boolean),s=await(null==l.isRTL?void 0:l.isRTL(n));let f=await l.getElementRects({reference:t,floating:n,strategy:r}),{x:u,y:d}=a(f,o,s),m=o,p={},y=0;for(let e=0;e<c.length;e++){const{name:i,fn:g}=c[e],{x:h,y:x,data:w,reset:v}=await g({x:u,y:d,initialPlacement:o,placement:m,strategy:r,middlewareData:p,rects:f,platform:l,elements:{reference:t,floating:n}});u=null!=h?h:u,d=null!=x?x:d,p={...p,[i]:{...p[i],...w}},v&&y<=50&&(y++,"object"==typeof v&&(v.placement&&(m=v.placement),v.rects&&(f=!0===v.rects?await l.getElementRects({reference:t,floating:n,strategy:r}):v.rects),({x:u,y:d}=a(f,m,s))),e=-1)}return{x:u,y:d,placement:m,strategy:r,middlewareData:p}})(t,n,{...r,platform:i})})(n,e,{strategy:o,placement:"auto"===r||"auto-start"===r||"auto-end"===r?void 0:gt(e,r),middleware:pt({placement:r,flipDisabled:i,flipPlacements:l,offsetDistance:c,offsetSkidding:s,arrowEl:f,type:u})});if(f&&g.arrow){const{x:n,y:e}=g.arrow,o=p.split("-")[0],r=null!=n?"left":"top",i=xt[o],a={left:"",top:"",bottom:"",right:""};"floatingLayout"in t&&(t.floatingLayout="left"===o||"right"===o?"horizontal":"vertical"),Object.assign(f.style,{...a,[r]:`${"left"==r?n:e}px`,[o]:"100%",transform:i})}const h=g.hide?.referenceHidden,x=h?"hidden":null,w=x?"none":null;e.setAttribute(ft,p);const v=`translate(${Math.round(d)}px,${Math.round(m)}px)`;Object.assign(e.style,{visibility:x,pointerEvents:w,position:y,top:"0",left:"0",transform:v})},ft="data-placement",ut=["top","bottom","right","left","top-start","top-end","bottom-start","bottom-end","right-start","right-end","left-start","left-end"],dt="bottom-start",mt={animation:"calcite-floating-ui-anim",animationActive:"calcite-floating-ui-anim--active"};function pt({placement:t,flipDisabled:n,flipPlacements:a,offsetDistance:s,offsetSkidding:d,arrowEl:p,type:g}){const h=[(void 0===w&&(w={}),{name:"shift",options:w,async fn(t){const{x:n,y:e,placement:o}=t,{mainAxis:a=!0,crossAxis:c=!1,limiter:s={fn:t=>{let{x:n,y:e}=t;return{x:n,y:e}}},...u}=l(w,t),d={x:n,y:e},p=await f(t,u),y=i(r(o)),g="x"===y?"y":"x";let h=d[y],x=d[g];a&&(h=m(h+p["y"===y?"top":"left"],h,h-p["y"===y?"bottom":"right"])),c&&(x=m(x+p["y"===g?"top":"left"],x,x-p["y"===g?"bottom":"right"]));const v=s.fn({...t,[y]:h,[g]:x});return{...v,data:{x:v.x-n,y:v.y-e}}}}),k()];var w;if("menu"===g)return[...h,b({fallbackPlacements:a||["top-start","top","top-end","bottom-start","bottom","bottom-end"]})];if("popover"===g||"tooltip"===g){const g=[...h,P({mainAxis:"number"==typeof s?s:0,crossAxis:"number"==typeof d?d:0})];return"auto"===t||"auto-start"===t||"auto-end"===t?g.push(function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(n){var o,i,a;const{rects:c,middlewareData:s,placement:u,platform:d,elements:m}=n,{crossAxis:p=!1,alignment:g,allowedPlacements:h=y,autoAlignment:w=!0,...b}=l(t,n),A=void 0!==g||h===y?function(t,n,o){return(t?[...o.filter((n=>e(n)===t)),...o.filter((n=>e(n)!==t))]:o.filter((t=>r(t)===t))).filter((o=>!t||e(o)===t||!!n&&v(o)!==o))}(g||null,w,h):h,S=await f(n,b),k=(null==(o=s.autoPlacement)?void 0:o.index)||0,P=A[k];if(null==P)return{};const{main:D,cross:M}=x(P,c,await(null==d.isRTL?void 0:d.isRTL(m.floating)));if(u!==P)return{reset:{placement:A[0]}};const R=[S[r(P)],S[D],S[M]],E=[...(null==(i=s.autoPlacement)?void 0:i.overflows)||[],{placement:P,overflows:R}],O=A[k+1];if(O)return{data:{index:k+1,overflows:E},reset:{placement:O}};const F=E.map((t=>{const n=e(t.placement);return[t.placement,n&&p?t.overflows.slice(0,2).reduce(((t,n)=>t+n),0):t.overflows[0],t.overflows]})).sort(((t,n)=>t[1]-n[1])),C=(null==(a=F.filter((t=>t[2].slice(0,e(t[0])?2:3).every((t=>t<=0))))[0])?void 0:a[0])||F[0][0];return C!==u?{data:{index:k+1,overflows:E},reset:{placement:C}}:{}}}}({alignment:"auto-start"===t?"start":"auto-end"===t?"end":null})):n||g.push(b(a?{fallbackPlacements:a}:{})),p&&g.push((t=>({name:"arrow",options:t,async fn(n){const{x:r,y:a,placement:s,rects:f,platform:d,elements:p}=n,{element:y,padding:g=0}=l(t,n)||{};if(null==y)return{};const h=c(g),x={x:r,y:a},w=i(s),v=o(w),b=await d.getDimensions(y),A="y"===w,S=A?"top":"left",k=A?"bottom":"right",P=A?"clientHeight":"clientWidth",D=f.reference[v]+f.reference[w]-x[w]-f.floating[v],M=x[w]-f.reference[w],R=await(null==d.getOffsetParent?void 0:d.getOffsetParent(y));let E=R?R[P]:0;E&&await(null==d.isElement?void 0:d.isElement(R))||(E=p.floating[P]||f.floating[v]);const O=D/2-M/2,F=E/2-b[v]/2-1,C=u(h[S],F),T=u(h[k],F),$=C,z=E-b[v]-T,B=E/2-b[v]/2+O,L=m($,B,z),j=null!=e(s)&&B!=L&&f.reference[v]/2-(B<$?C:T)-b[v]/2<0?B<$?$-B:z-B:0;return{[w]:x[w]-j,data:{[w]:L,centerOffset:B-L+j}}}}))({element:p})),g}return[]}function yt(t,n){const e=t.filter((t=>ut.includes(t)));return e.length!==t.length&&console.warn(`${n.tagName}: Invalid value found in: flipPlacements. Try any of these: ${ut.map((t=>`"${t}"`)).join(", ").trim()}`,{el:n}),e}function gt(n,e){const o=["left","right"];return"rtl"===t(n)&&o.reverse(),e.replace(/leading/gi,o[0]).replace(/trailing/gi,o[1])}async function ht(t,e,o=!1){if(!t.open)return;const r=o?function(t){let e=vt.get(t);return e||(e=n(st,100,{leading:!0,maxWait:100}),vt.set(t,e),e)}(t):st;return r(t,e)}const xt={top:"",left:"rotate(-90deg)",bottom:"rotate(180deg)",right:"rotate(90deg)"},wt=new WeakMap,vt=new WeakMap;function bt(t,n,e){e&&n&&(At(t,n,e),Object.assign(e.style,{visibility:"hidden",pointerEvents:"none",position:t.overlayPositioning,top:"0",left:"0"}),wt.set(t,function(t,n,e,o){void 0===o&&(o={});const{ancestorScroll:r=!0,ancestorResize:i=!0,elementResize:a="function"==typeof ResizeObserver,layoutShift:l="function"==typeof IntersectionObserver,animationFrame:c=!1}=o,s=Y(t),f=r||i?[...s?tt(s):[],...tt(n)]:[];f.forEach((t=>{r&&t.addEventListener("scroll",e,{passive:!0}),i&&t.addEventListener("resize",e)}));const u=s&&l?function(t,n){let e,o=null;const r=K(t);function i(){clearTimeout(e),o&&o.disconnect(),o=null}return function a(l,c){void 0===l&&(l=!1),void 0===c&&(c=1),i();const{left:s,top:f,width:u,height:d}=t.getBoundingClientRect();if(l||n(),!u||!d)return;const m={rootMargin:-I(f)+"px "+-I(r.clientWidth-(s+u))+"px "+-I(r.clientHeight-(f+d))+"px "+-I(s)+"px",threshold:j(0,L(1,c))||1};let p=!0;function y(t){const n=t[0].intersectionRatio;if(n!==c){if(!p)return a();n?a(!1,n):e=setTimeout((()=>{a(!1,1e-7)}),100)}p=!1}try{o=new IntersectionObserver(y,{...m,root:r.ownerDocument})}catch(t){o=new IntersectionObserver(y,m)}o.observe(t)}(!0),i}(s,e):null;let d,m=-1,p=null;a&&(p=new ResizeObserver((t=>{let[o]=t;o&&o.target===s&&p&&(p.unobserve(n),cancelAnimationFrame(m),m=requestAnimationFrame((()=>{p&&p.observe(n)}))),e()})),s&&!c&&p.observe(s),p.observe(n));let y=c?G(t):null;return c&&function n(){const o=G(t);!y||o.x===y.x&&o.y===y.y&&o.width===y.width&&o.height===y.height||e(),y=o,d=requestAnimationFrame(n)}(),e(),()=>{f.forEach((t=>{r&&t.removeEventListener("scroll",e),i&&t.removeEventListener("resize",e)})),u&&u(),p&&p.disconnect(),p=null,c&&cancelAnimationFrame(d)}}(n,e,(()=>t.reposition()))))}function At(t,n,e){e&&n&&(wt.get(t)?.(),wt.delete(t),vt.get(t)?.cancel(),vt.delete(t))}const St=Math.ceil(Math.hypot(4,4));export{mt as F,At as a,St as b,bt as c,dt as d,yt as f,ht as r}
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
4
- * v1.5.0-next.26
4
+ * v1.5.0-next.28
5
5
  */
6
- import{r as e,h as i,a as t}from"./p-4e34cca9.js";import{j as s}from"./p-33716470.js";import{h as r,i as n}from"./p-2b42b1b5.js";import"./p-8d774ce3.js";import"./p-62a36cd2.js";const a=class{constructor(i){e(this,i),this.scale="m",this.thumbnail=void 0,this.fullName=void 0,this.username=void 0,this.userId=void 0,this.label=void 0,this.thumbnailFailedToLoad=!1}render(){return this.determineContent()}determineContent(){if(this.thumbnail&&!this.thumbnailFailedToLoad)return i("img",{alt:this.label||"",class:"thumbnail",onError:()=>this.thumbnailFailedToLoad=!0,src:this.thumbnail});const e=this.generateInitials(),t=this.generateFillColor();return i("span",{"aria-label":this.label||this.fullName,class:"background",role:"figure",style:{backgroundColor:t}},e?i("span",{"aria-hidden":"true",class:"initials"},e):i("calcite-icon",{class:"icon",icon:"user",scale:this.scale}))}generateFillColor(){const{userId:e,username:i,fullName:t,el:a}=this,o=s(a),l=e&&`#${e.substr(e.length-6)}`,c=i||t||"",h=l&&n(l)?l:function(e){let i=0;for(let t=0;t<e.length;t++)i=e.charCodeAt(t)+((i<<5)-i);let t="#";for(let e=0;e<3;e++)t+=("00"+(i>>8*e&255).toString(16)).substr(-2);return t}(c);return(e||c)&&n(h)?`hsl(${function(e){return function(e){let{r:i,g:t,b:s}=e;i/=255,t/=255,s/=255;const r=Math.max(i,t,s),n=Math.min(i,t,s),a=r-n;if(r===n)return 0;let o=(r+n)/2;switch(r){case i:o=(t-s)/a+(t<s?6:0);break;case t:o=(s-i)/a+2;break;case s:o=(i-t)/a+4}return Math.round(60*o)}(r(e))}(h)}, 60%, ${"dark"===o?20:90}%)`:"var(--calcite-ui-foreground-2)"}generateInitials(){const{fullName:e,username:i}=this;return e?e.trim().split(" ").map((e=>e.substring(0,1))).join(""):!!i&&i.substring(0,2)}get el(){return t(this)}};a.style=":host{display:inline-block;overflow:hidden;border-radius:50%}:host([scale=s]){block-size:1.5rem;inline-size:1.5rem;font-size:var(--calcite-font-size--3)}:host([scale=m]){block-size:2rem;inline-size:2rem;font-size:var(--calcite-font-size--2)}:host([scale=l]){block-size:2.75rem;inline-size:2.75rem;font-size:var(--calcite-font-size-0)}.icon{display:flex}.background{display:flex;block-size:100%;inline-size:100%;align-items:center;justify-content:center;border-radius:50%}.initials{font-weight:var(--calcite-font-weight-bold);text-transform:uppercase;color:var(--calcite-ui-text-2)}.thumbnail{block-size:100%;inline-size:100%;border-radius:50%}:host([hidden]){display:none}[hidden]{display:none}";export{a as calcite_avatar}
6
+ import{r as e,h as i,a as t}from"./p-a14756f4.js";import{j as s}from"./p-a80dd470.js";import{h as r,i as n}from"./p-515b3733.js";import"./p-dfc71245.js";import"./p-ebb84e44.js";const a=class{constructor(i){e(this,i),this.scale="m",this.thumbnail=void 0,this.fullName=void 0,this.username=void 0,this.userId=void 0,this.label=void 0,this.thumbnailFailedToLoad=!1}render(){return this.determineContent()}determineContent(){if(this.thumbnail&&!this.thumbnailFailedToLoad)return i("img",{alt:this.label||"",class:"thumbnail",onError:()=>this.thumbnailFailedToLoad=!0,src:this.thumbnail});const e=this.generateInitials(),t=this.generateFillColor();return i("span",{"aria-label":this.label||this.fullName,class:"background",role:"figure",style:{backgroundColor:t}},e?i("span",{"aria-hidden":"true",class:"initials"},e):i("calcite-icon",{class:"icon",icon:"user",scale:this.scale}))}generateFillColor(){const{userId:e,username:i,fullName:t,el:a}=this,o=s(a),l=e&&`#${e.substr(e.length-6)}`,c=i||t||"",h=l&&n(l)?l:function(e){let i=0;for(let t=0;t<e.length;t++)i=e.charCodeAt(t)+((i<<5)-i);let t="#";for(let e=0;e<3;e++)t+=("00"+(i>>8*e&255).toString(16)).substr(-2);return t}(c);return(e||c)&&n(h)?`hsl(${function(e){return function(e){let{r:i,g:t,b:s}=e;i/=255,t/=255,s/=255;const r=Math.max(i,t,s),n=Math.min(i,t,s),a=r-n;if(r===n)return 0;let o=(r+n)/2;switch(r){case i:o=(t-s)/a+(t<s?6:0);break;case t:o=(s-i)/a+2;break;case s:o=(i-t)/a+4}return Math.round(60*o)}(r(e))}(h)}, 60%, ${"dark"===o?20:90}%)`:"var(--calcite-ui-foreground-2)"}generateInitials(){const{fullName:e,username:i}=this;return e?e.trim().split(" ").map((e=>e.substring(0,1))).join(""):!!i&&i.substring(0,2)}get el(){return t(this)}};a.style=":host{display:inline-block;overflow:hidden;border-radius:50%}:host([scale=s]){block-size:1.5rem;inline-size:1.5rem;font-size:var(--calcite-font-size--3)}:host([scale=m]){block-size:2rem;inline-size:2rem;font-size:var(--calcite-font-size--2)}:host([scale=l]){block-size:2.75rem;inline-size:2.75rem;font-size:var(--calcite-font-size-0)}.icon{display:flex}.background{display:flex;block-size:100%;inline-size:100%;align-items:center;justify-content:center;border-radius:50%}.initials{font-weight:var(--calcite-font-weight-bold);text-transform:uppercase;color:var(--calcite-ui-text-2)}.thumbnail{block-size:100%;inline-size:100%;border-radius:50%}:host([hidden]){display:none}[hidden]{display:none}";export{a as calcite_avatar}
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
4
- * v1.5.0-next.26
4
+ * v1.5.0-next.28
5
5
  */
6
- import{d as a}from"./p-4cd7685c.js";import"./p-4e34cca9.js";import"./p-4f9b4b87.js";import"./p-33716470.js";import"./p-8d774ce3.js";import"./p-62a36cd2.js";import"./p-e3175db7.js";import"./p-fc98a961.js";import"./p-4e7f7a1d.js";import"./p-282e6a51.js";import"./p-37b2620f.js";import"./p-185d0b4d.js";import"./p-80e54748.js";import"./p-1f80cc68.js";var r={name:"tr",weekdays:"Pazar_Pazartesi_Salı_Çarşamba_Perşembe_Cuma_Cumartesi".split("_"),weekdaysShort:"Paz_Pts_Sal_Çar_Per_Cum_Cts".split("_"),weekdaysMin:"Pz_Pt_Sa_Ça_Pe_Cu_Ct".split("_"),months:"Ocak_Şubat_Mart_Nisan_Mayıs_Haziran_Temmuz_Ağustos_Eylül_Ekim_Kasım_Aralık".split("_"),monthsShort:"Oca_Şub_Mar_Nis_May_Haz_Tem_Ağu_Eyl_Eki_Kas_Ara".split("_"),weekStart:1,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},relativeTime:{future:"%s sonra",past:"%s önce",s:"birkaç saniye",m:"bir dakika",mm:"%d dakika",h:"bir saat",hh:"%d saat",d:"bir gün",dd:"%d gün",M:"bir ay",MM:"%d ay",y:"bir yıl",yy:"%d yıl"},ordinal:function(a){return a+"."}};a.locale(r,null,!0);export default r;
6
+ import{d as a}from"./p-2a734f90.js";import"./p-a14756f4.js";import"./p-a37b6456.js";import"./p-a80dd470.js";import"./p-dfc71245.js";import"./p-ebb84e44.js";import"./p-a61fb283.js";import"./p-f43c41a7.js";import"./p-3255ae23.js";import"./p-69c1e850.js";import"./p-6986101b.js";import"./p-b193b80f.js";import"./p-ad830b3a.js";import"./p-26ca2b57.js";var r={name:"tr",weekdays:"Pazar_Pazartesi_Salı_Çarşamba_Perşembe_Cuma_Cumartesi".split("_"),weekdaysShort:"Paz_Pts_Sal_Çar_Per_Cum_Cts".split("_"),weekdaysMin:"Pz_Pt_Sa_Ça_Pe_Cu_Ct".split("_"),months:"Ocak_Şubat_Mart_Nisan_Mayıs_Haziran_Temmuz_Ağustos_Eylül_Ekim_Kasım_Aralık".split("_"),monthsShort:"Oca_Şub_Mar_Nis_May_Haz_Tem_Ağu_Eyl_Eki_Kas_Ara".split("_"),weekStart:1,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},relativeTime:{future:"%s sonra",past:"%s önce",s:"birkaç saniye",m:"bir dakika",mm:"%d dakika",h:"bir saat",hh:"%d saat",d:"bir gün",dd:"%d gün",M:"bir ay",MM:"%d ay",y:"bir yıl",yy:"%d yıl"},ordinal:function(a){return a+"."}};a.locale(r,null,!0);export default r;
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
4
- * v1.5.0-next.26
4
+ * v1.5.0-next.28
5
5
  */
6
- import{d as e,a as t}from"./p-62a36cd2.js";function o(){const{classList:o}=document.body,n=window.matchMedia("(prefers-color-scheme: dark)").matches,d=()=>o.contains(e)||o.contains(t)&&n?"dark":"light",c=e=>document.body.dispatchEvent(new CustomEvent("calciteModeChange",{bubbles:!0,detail:{mode:e}})),i=e=>{a!==e&&c(e),a=e};let a=d();c(a),window.matchMedia("(prefers-color-scheme: dark)").addEventListener("change",(e=>i(e.matches?"dark":"light"))),new MutationObserver((()=>i(d()))).observe(document.body,{attributes:!0,attributeFilter:["class"]})}const n=function(){"undefined"!=typeof window&&"undefined"!=typeof location&&"undefined"!=typeof document&&window.location===location&&window.document===document&&("interactive"===document.readyState?o():document.addEventListener("DOMContentLoaded",(()=>o()),{once:!0}))};export{n as g}
6
+ import{d as e,a as t}from"./p-ebb84e44.js";function o(){const{classList:o}=document.body,n=window.matchMedia("(prefers-color-scheme: dark)").matches,d=()=>o.contains(e)||o.contains(t)&&n?"dark":"light",c=e=>document.body.dispatchEvent(new CustomEvent("calciteModeChange",{bubbles:!0,detail:{mode:e}})),i=e=>{a!==e&&c(e),a=e};let a=d();c(a),window.matchMedia("(prefers-color-scheme: dark)").addEventListener("change",(e=>i(e.matches?"dark":"light"))),new MutationObserver((()=>i(d()))).observe(document.body,{attributes:!0,attributeFilter:["class"]})}const n=function(){"undefined"!=typeof window&&"undefined"!=typeof location&&"undefined"!=typeof document&&window.location===location&&window.document===document&&("interactive"===document.readyState?o():document.addEventListener("DOMContentLoaded",(()=>o()),{once:!0}))};export{n as g}
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
4
- * v1.5.0-next.26
4
+ * v1.5.0-next.28
5
5
  */
6
6
  const e="calcite";let t,n,l=!1,s=!1;const o=e=>{const t=new URL(e,ye.t);return t.origin!==me.location.origin?t.href:t.pathname},i="s-id",c="sty-id",r="c-id",u="http://www.w3.org/1999/xlink",a={},f=e=>"object"==(e=typeof e)||"function"===e;function $(e){var t,n,l;return null!==(l=null===(n=null===(t=e.head)||void 0===t?void 0:t.querySelector('meta[name="csp-nonce"]'))||void 0===n?void 0:n.getAttribute("content"))&&void 0!==l?l:void 0}const d=(e,t,...n)=>{let l=null,s=null,o=!1,i=!1;const c=[],r=t=>{for(let n=0;n<t.length;n++)l=t[n],Array.isArray(l)?r(l):null!=l&&"boolean"!=typeof l&&((o="function"!=typeof e&&!f(l))&&(l+=""),o&&i?c[c.length-1].l+=l:c.push(o?h(null,l):l),i=o)};if(r(n),t){t.key&&(s=t.key);{const e=t.className||t.class;e&&(t.class="object"!=typeof e?e:Object.keys(e).filter((t=>e[t])).join(" "))}}if("function"==typeof e)return e(null===t?{}:t,c,p);const u=h(e,null);return u.o=t,c.length>0&&(u.i=c),u.u=s,u},h=(e,t)=>({$:0,h:e,l:t,m:null,i:null,o:null,u:null}),m={},p={forEach:(e,t)=>e.map(y).forEach(t),map:(e,t)=>e.map(y).map(t).map(w)},y=e=>({vattrs:e.o,vchildren:e.i,vkey:e.u,vname:e.p,vtag:e.h,vtext:e.l}),w=e=>{if("function"==typeof e.vtag){const t=Object.assign({},e.vattrs);return e.vkey&&(t.key=e.vkey),e.vname&&(t.name=e.vname),d(e.vtag,t,...e.vchildren||[])}const t=h(e.vtag,e.vtext);return t.o=e.vattrs,t.i=e.vchildren,t.u=e.vkey,t.p=e.vname,t},b=(e,t,n,l,s,o,i)=>{let c,u,a,f;if(1===o.nodeType){for(c=o.getAttribute(r),c&&(u=c.split("."),u[0]!==i&&"0"!==u[0]||(a={$:0,v:u[0],g:u[1],k:u[2],j:u[3],h:o.tagName.toLowerCase(),m:o,o:null,i:null,u:null,p:null,l:null},t.push(a),o.removeAttribute(r),e.i||(e.i=[]),e.i[a.j]=a,e=a,l&&"0"===a.k&&(l[a.j]=a.m))),f=o.childNodes.length-1;f>=0;f--)b(e,t,n,l,s,o.childNodes[f],i);if(o.shadowRoot)for(f=o.shadowRoot.childNodes.length-1;f>=0;f--)b(e,t,n,l,s,o.shadowRoot.childNodes[f],i)}else if(8===o.nodeType)u=o.nodeValue.split("."),u[1]!==i&&"0"!==u[1]||(c=u[0],a={$:0,v:u[1],g:u[2],k:u[3],j:u[4],m:o,o:null,i:null,u:null,p:null,h:null,l:null},"t"===c?(a.m=o.nextSibling,a.m&&3===a.m.nodeType&&(a.l=a.m.textContent,t.push(a),o.remove(),e.i||(e.i=[]),e.i[a.j]=a,l&&"0"===a.k&&(l[a.j]=a.m))):a.v===i&&("s"===c?(a.h="slot",o["s-sn"]=u[5]?a.p=u[5]:"",o["s-sr"]=!0,l&&(a.m=pe.createElement(a.h),a.p&&a.m.setAttribute("name",a.p),o.parentNode.insertBefore(a.m,o),o.remove(),"0"===a.k&&(l[a.j]=a.m)),n.push(a),e.i||(e.i=[]),e.i[a.j]=a):"r"===c&&l&&o.remove()));else if(e&&"style"===e.h){const t=h(null,o.textContent);t.m=o,t.j="0",e.i=[t]}},v=(e,t)=>{if(1===e.nodeType){let n=0;for(;n<e.childNodes.length;n++)v(e.childNodes[n],t);if(e.shadowRoot)for(n=0;n<e.shadowRoot.childNodes.length;n++)v(e.shadowRoot.childNodes[n],t)}else if(8===e.nodeType){const n=e.nodeValue.split(".");"o"===n[0]&&(t.set(n[1]+"."+n[2],e),e.nodeValue="",e["s-en"]=n[3])}},g=e=>ce(e).S,k=(e,t,n)=>{const l=g(e);return{emit:e=>j(l,t,{bubbles:!!(4&n),composed:!!(2&n),cancelable:!!(1&n),detail:e})}},j=(e,t,n)=>{const l=ye.ce(t,n);return e.dispatchEvent(l),l},S=new WeakMap,x=(e,t,n)=>{let l=he.get(e);ve&&n?(l=l||new CSSStyleSheet,"string"==typeof l?l=t:l.replaceSync(t)):l=t,he.set(e,l)},O=(e,t)=>{var n;let l=M(t);const s=he.get(l);if(e=11===e.nodeType?e:pe,s)if("string"==typeof s){let t,o=S.get(e=e.head||e);if(o||S.set(e,o=new Set),!o.has(l)){if(e.host&&(t=e.querySelector(`[${c}="${l}"]`)))t.innerHTML=s;else{t=pe.createElement("style"),t.innerHTML=s;const l=null!==(n=ye.O)&&void 0!==n?n:$(pe);null!=l&&t.setAttribute("nonce",l),e.insertBefore(t,e.querySelector("link"))}o&&o.add(l)}}else e.adoptedStyleSheets.includes(s)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,s]);return l},M=e=>"sc-"+e.M,C=e=>e.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g,"$1{"),L=(e,t,n,l,s,o)=>{if(n!==l){let i=ae(e,t),c=t.toLowerCase();if("class"===t){const t=e.classList,s=R(n),o=R(l);t.remove(...s.filter((e=>e&&!o.includes(e)))),t.add(...o.filter((e=>e&&!s.includes(e))))}else if("style"===t){for(const t in n)l&&null!=l[t]||(t.includes("-")?e.style.removeProperty(t):e.style[t]="");for(const t in l)n&&l[t]===n[t]||(t.includes("-")?e.style.setProperty(t,l[t]):e.style[t]=l[t])}else if("key"===t);else if("ref"===t)l&&l(e);else if(i||"o"!==t[0]||"n"!==t[1]){const r=f(l);if((i||r&&null!==l)&&!s)try{if(e.tagName.includes("-"))e[t]=l;else{const s=null==l?"":l;"list"===t?i=!1:null!=n&&e[t]==s||(e[t]=s)}}catch(e){}let a=!1;c!==(c=c.replace(/^xlink\:?/,""))&&(t=c,a=!0),null==l||!1===l?!1===l&&""!==e.getAttribute(t)||(a?e.removeAttributeNS(u,t):e.removeAttribute(t)):(!i||4&o||s)&&!r&&(l=!0===l?"":l,a?e.setAttributeNS(u,t,l):e.setAttribute(t,l))}else t="-"===t[2]?t.slice(3):ae(me,c)?c.slice(2):c[2]+t.slice(3),n&&ye.rel(e,t,n,!1),l&&ye.ael(e,t,l,!1)}},P=/\s/,R=e=>e?e.split(P):[],E=(e,t,n,l)=>{const s=11===t.m.nodeType&&t.m.host?t.m.host:t.m,o=e&&e.o||a,i=t.o||a;for(l in o)l in i||L(s,l,o[l],void 0,n,t.$);for(l in i)L(s,l,o[l],i[l],n,t.$)},F=(e,n,s)=>{const o=n.i[s];let i,c,r=0;if(null!==o.l)i=o.m=pe.createTextNode(o.l);else{if(l||(l="svg"===o.h),i=o.m=pe.createElementNS(l?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",o.h),l&&"foreignObject"===o.h&&(l=!1),E(null,o,l),null!=t&&i["s-si"]!==t&&i.classList.add(i["s-si"]=t),o.i)for(r=0;r<o.i.length;++r)c=F(e,o,r),c&&i.appendChild(c);"svg"===o.h?l=!1:"foreignObject"===i.tagName&&(l=!0)}return i},I=(e,t,l,s,o,i)=>{let c,r=e;for(r.shadowRoot&&r.tagName===n&&(r=r.shadowRoot);o<=i;++o)s[o]&&(c=F(null,l,o),c&&(s[o].m=c,r.insertBefore(c,t)))},N=(e,t,n,l,s)=>{for(;t<=n;++t)(l=e[t])&&(s=l.m,U(l),s.remove())},W=(e,t)=>e.h===t.h&&e.u===t.u,T=(e,t)=>{const n=t.m=e.m,s=e.i,o=t.i,i=t.h,c=t.l;null===c?(l="svg"===i||"foreignObject"!==i&&l,"slot"===i||E(e,t,l),null!==s&&null!==o?((e,t,n,l)=>{let s,o,i=0,c=0,r=0,u=0,a=t.length-1,f=t[0],$=t[a],d=l.length-1,h=l[0],m=l[d];for(;i<=a&&c<=d;)if(null==f)f=t[++i];else if(null==$)$=t[--a];else if(null==h)h=l[++c];else if(null==m)m=l[--d];else if(W(f,h))T(f,h),f=t[++i],h=l[++c];else if(W($,m))T($,m),$=t[--a],m=l[--d];else if(W(f,m))T(f,m),e.insertBefore(f.m,$.m.nextSibling),f=t[++i],m=l[--d];else if(W($,h))T($,h),e.insertBefore($.m,f.m),$=t[--a],h=l[++c];else{for(r=-1,u=i;u<=a;++u)if(t[u]&&null!==t[u].u&&t[u].u===h.u){r=u;break}r>=0?(o=t[r],o.h!==h.h?s=F(t&&t[c],n,r):(T(o,h),t[r]=void 0,s=o.m),h=l[++c]):(s=F(t&&t[c],n,c),h=l[++c]),s&&f.m.parentNode.insertBefore(s,f.m)}i>a?I(e,null==l[d+1]?null:l[d+1].m,n,l,c,d):c>d&&N(t,i,a)})(n,s,t,o):null!==o?(null!==e.l&&(n.textContent=""),I(n,null,t,o,0,o.length-1)):null!==s&&N(s,0,s.length-1),l&&"svg"===i&&(l=!1)):e.l!==c&&(n.data=c)},U=e=>{e.o&&e.o.ref&&e.o.ref(null),e.i&&e.i.map(U)},A=(e,t)=>{t&&!e.C&&t["s-p"]&&t["s-p"].push(new Promise((t=>e.C=t)))},D=(e,t)=>{if(e.$|=16,!(4&e.$))return A(e,e.L),Ce((()=>H(e,t)));e.$|=512},H=(e,t)=>{const n=e.P;let l;return t&&(e.$|=256,e.R&&(e.R.map((([e,t])=>G(n,e,t))),e.R=null),l=G(n,"componentWillLoad")),l=J(l,(()=>G(n,"componentWillRender"))),J(l,(()=>q(e,n,t)))},q=async(e,t,n)=>{const l=e.S,s=l["s-rc"];n&&(e=>{const t=e.F,n=e.S,l=t.$,s=O(n.shadowRoot?n.shadowRoot:n.getRootNode(),t);10&l&&(n["s-sc"]=s,n.classList.add(s+"-h"))})(e);V(e,t),s&&(s.map((e=>e())),l["s-rc"]=void 0);{const t=l["s-p"],n=()=>_(e);0===t.length?n():(Promise.all(t).then(n),e.$|=4,t.length=0)}},V=(e,l)=>{try{l=l.render(),e.$&=-17,e.$|=2,((e,l)=>{const s=e.S,o=e.F,i=e.I||h(null,null),c=(e=>e&&e.h===m)(l)?l:d(null,null,l);n=s.tagName,o.N&&(c.o=c.o||{},o.N.map((([e,t])=>c.o[t]=s[e]))),c.h=null,c.$|=4,e.I=c,c.m=i.m=s.shadowRoot||s,t=s["s-sc"],T(i,c)})(e,l)}catch(t){fe(t,e.S)}return null},_=e=>{const t=e.S,n=e.P,l=e.L;G(n,"componentDidRender"),64&e.$||(e.$|=64,K(t),G(n,"componentDidLoad"),e.W(t),l||B()),e.T(t),e.C&&(e.C(),e.C=void 0),512&e.$&&Oe((()=>D(e,!1))),e.$&=-517},z=e=>{{const t=ce(e),n=t.S.isConnected;return n&&2==(18&t.$)&&D(t,!1),n}},B=()=>{K(pe.documentElement),Oe((()=>j(me,"appload",{detail:{namespace:e}})))},G=(e,t,n)=>{if(e&&e[t])try{return e[t](n)}catch(e){fe(e)}},J=(e,t)=>e&&e.then?e.then(t):t(),K=e=>e.setAttribute("calcite-hydrated",""),Q=(e,t,n)=>{if(t.U){e.watchers&&(t.A=e.watchers);const l=Object.entries(t.U),s=e.prototype;if(l.map((([e,[l]])=>{31&l||2&n&&32&l?Object.defineProperty(s,e,{get(){return((e,t)=>ce(this).D.get(t))(0,e)},set(n){((e,t,n,l)=>{const s=ce(e),o=s.S,i=s.D.get(t),c=s.$,r=s.P;if(n=((e,t)=>null==e||f(e)?e:4&t?"false"!==e&&(""===e||!!e):2&t?parseFloat(e):1&t?e+"":e)(n,l.U[t][0]),(!(8&c)||void 0===i)&&n!==i&&(!Number.isNaN(i)||!Number.isNaN(n))&&(s.D.set(t,n),r)){if(l.A&&128&c){const e=l.A[t];e&&e.map((e=>{try{r[e](n,i,t)}catch(e){fe(e,o)}}))}if(2==(18&c)){if(r.componentShouldUpdate&&!1===r.componentShouldUpdate(n,i,t))return;D(s,!1)}}})(this,e,n,t)},configurable:!0,enumerable:!0}):1&n&&64&l&&Object.defineProperty(s,e,{value(...t){const n=ce(this);return n.H.then((()=>n.P[e](...t)))}})})),1&n){const n=new Map;s.attributeChangedCallback=function(e,t,l){ye.jmp((()=>{const t=n.get(e);if(this.hasOwnProperty(t))l=this[t],delete this[t];else if(s.hasOwnProperty(t)&&"number"==typeof this[t]&&this[t]==l)return;this[t]=(null!==l||"boolean"!=typeof this[t])&&l}))},e.observedAttributes=l.filter((([e,t])=>15&t[0])).map((([e,l])=>{const s=l[1]||e;return n.set(s,e),512&l[0]&&t.N.push([e,s]),s}))}}return e},X=e=>{G(e,"connectedCallback")},Y=e=>{if(0==(1&ye.$)){const t=ce(e),n=t.F,l=()=>{};if(1&t.$)te(e,t,n.q),X(t.P);else{let l;if(t.$|=1,l=e.getAttribute(i),l){if(1&n.$){const t=O(e.shadowRoot,n);e.classList.remove(t+"-h",t+"-s")}((e,t,n,l)=>{const s=e.shadowRoot,o=[],c=s?[]:null,r=l.I=h(t,null);ye.V||v(pe.body,ye.V=new Map),e[i]=n,e.removeAttribute(i),b(r,o,[],c,e,e,n),o.map((e=>{const n=e.v+"."+e.g,l=ye.V.get(n),o=e.m;l&&we&&""===l["s-en"]&&l.parentNode.insertBefore(o,l.nextSibling),s||(o["s-hn"]=t,l&&(o["s-ol"]=l,o["s-ol"]["s-nr"]=o)),ye.V.delete(n)})),s&&c.map((e=>{e&&s.appendChild(e)}))})(e,n.M,l,t)}{let n=e;for(;n=n.parentNode||n.host;)if(1===n.nodeType&&n.hasAttribute("s-id")&&n["s-p"]||n["s-p"]){A(t,t.L=n);break}}n.U&&Object.entries(n.U).map((([t,[n]])=>{if(31&n&&e.hasOwnProperty(t)){const n=e[t];delete e[t],e[t]=n}})),(async(e,t,n,l,s)=>{if(0==(32&t.$)){{if(t.$|=32,(s=de(n)).then){const e=()=>{};s=await s,e()}s.isProxied||(n.A=s.watchers,Q(s,n,2),s.isProxied=!0);const e=()=>{};t.$|=8;try{new s(t)}catch(e){fe(e)}t.$&=-9,t.$|=128,e(),X(t.P)}if(s.style){let e=s.style;const t=M(n);if(!he.has(t)){const l=()=>{};x(t,e,!!(1&n.$)),l()}}}const o=t.L,i=()=>D(t,!0);o&&o["s-rc"]?o["s-rc"].push(i):i()})(0,t,n)}l()}},Z=(e,t={})=>{var n;const l=[],s=t.exclude||[],o=me.customElements,i=pe.head,r=i.querySelector("meta[charset]"),u=pe.createElement("style"),a=[],f=pe.querySelectorAll(`[${c}]`);let d,h=!0,m=0;for(Object.assign(ye,t),ye.t=new URL(t.resourcesUrl||"./",pe.baseURI).href,ye.$|=2;m<f.length;m++)x(f[m].getAttribute(c),C(f[m].innerHTML),!0);e.map((e=>{e[1].map((t=>{const n={$:t[0],M:t[1],U:t[2],q:t[3]};n.U=t[2],n.q=t[3],n.N=[],n.A={};const i=n.M,c=class extends HTMLElement{constructor(e){super(e),ue(e=this,n),1&n.$&&e.attachShadow({mode:"open",delegatesFocus:!!(16&n.$)})}connectedCallback(){d&&(clearTimeout(d),d=null),h?a.push(this):ye.jmp((()=>Y(this)))}disconnectedCallback(){ye.jmp((()=>(()=>{if(0==(1&ye.$)){const e=ce(this),t=e.P;e._&&(e._.map((e=>e())),e._=void 0),G(t,"disconnectedCallback")}})()))}componentOnReady(){return ce(this).B}};n.G=e[0],s.includes(i)||o.get(i)||(l.push(i),o.define(i,Q(c,n,1)))}))}));{u.innerHTML=l+"{visibility:hidden}[calcite-hydrated]{visibility:inherit}",u.setAttribute("data-styles","");const e=null!==(n=ye.O)&&void 0!==n?n:$(pe);null!=e&&u.setAttribute("nonce",e),i.insertBefore(u,r?r.nextSibling:i.firstChild)}h=!1,a.length?a.map((e=>e.connectedCallback())):ye.jmp((()=>d=setTimeout(B,30)))},ee=(e,t)=>t,te=(e,t,n)=>{n&&n.map((([n,l,s])=>{const o=le(e,n),i=ne(t,s),c=se(n);ye.ael(o,l,i,c),(t._=t._||[]).push((()=>ye.rel(o,l,i,c)))}))},ne=(e,t)=>n=>{try{256&e.$?e.P[t](n):(e.R=e.R||[]).push([t,n])}catch(e){fe(e)}},le=(e,t)=>4&t?pe:8&t?me:16&t?pe.body:e,se=e=>0!=(2&e),oe=e=>ye.O=e,ie=new WeakMap,ce=e=>ie.get(e),re=(e,t)=>ie.set(t.P=e,t),ue=(e,t)=>{const n={$:0,S:e,F:t,D:new Map};return n.H=new Promise((e=>n.T=e)),n.B=new Promise((e=>n.W=e)),e["s-p"]=[],e["s-rc"]=[],te(e,n,t.q),ie.set(e,n)},ae=(e,t)=>t in e,fe=(e,t)=>(0,console.error)(e,t),$e=new Map,de=e=>{const t=e.M.replace(/-/g,"_"),n=e.G,l=$e.get(n);return l?l[t]:import(`./${n}.entry.js`).then((e=>($e.set(n,e),e[t])),fe)
7
7
  /*!__STENCIL_STATIC_IMPORT_SWITCH__*/},he=new Map,me="undefined"!=typeof window?window:{},pe=me.document||{head:{}},ye={$:0,t:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,l)=>e.addEventListener(t,n,l),rel:(e,t,n,l)=>e.removeEventListener(t,n,l),ce:(e,t)=>new CustomEvent(e,t)},we=!0,be=e=>Promise.resolve(e),ve=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(e){}return!1})(),ge=[],ke=[],je=(e,t)=>n=>{e.push(n),s||(s=!0,t&&4&ye.$?Oe(xe):ye.raf(xe))},Se=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(e){fe(e)}e.length=0},xe=()=>{Se(ge),Se(ke),(s=ge.length>0)&&ye.raf(xe)},Oe=e=>be().then(e),Me=je(ge,!1),Ce=je(ke,!0);export{ee as F,m as H,e as N,g as a,Z as b,k as c,pe as d,Me as e,z as f,o as g,d as h,be as p,re as r,oe as s}
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
4
- * v1.5.0-next.26
4
+ * v1.5.0-next.28
5
5
  */
6
- import{d as r}from"./p-4cd7685c.js";import"./p-4e34cca9.js";import"./p-4f9b4b87.js";import"./p-33716470.js";import"./p-8d774ce3.js";import"./p-62a36cd2.js";import"./p-e3175db7.js";import"./p-fc98a961.js";import"./p-4e7f7a1d.js";import"./p-282e6a51.js";import"./p-37b2620f.js";import"./p-185d0b4d.js";import"./p-80e54748.js";import"./p-1f80cc68.js";var t="يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),p={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},_={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},m={name:"ar",weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),months:t,monthsShort:t,weekStart:6,relativeTime:{future:"بعد %s",past:"منذ %s",s:"ثانية واحدة",m:"دقيقة واحدة",mm:"%d دقائق",h:"ساعة واحدة",hh:"%d ساعات",d:"يوم واحد",dd:"%d أيام",M:"شهر واحد",MM:"%d أشهر",y:"عام واحد",yy:"%d أعوام"},preparse:function(r){return r.replace(/[١٢٣٤٥٦٧٨٩٠]/g,(function(r){return _[r]})).replace(/،/g,",")},postformat:function(r){return r.replace(/\d/g,(function(r){return p[r]})).replace(/,/g,"،")},ordinal:function(r){return r},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/‏M/‏YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"}};r.locale(m,null,!0);export default m;
6
+ import{d as r}from"./p-2a734f90.js";import"./p-a14756f4.js";import"./p-a37b6456.js";import"./p-a80dd470.js";import"./p-dfc71245.js";import"./p-ebb84e44.js";import"./p-a61fb283.js";import"./p-f43c41a7.js";import"./p-3255ae23.js";import"./p-69c1e850.js";import"./p-6986101b.js";import"./p-b193b80f.js";import"./p-ad830b3a.js";import"./p-26ca2b57.js";var t="يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),p={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},_={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},m={name:"ar",weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),months:t,monthsShort:t,weekStart:6,relativeTime:{future:"بعد %s",past:"منذ %s",s:"ثانية واحدة",m:"دقيقة واحدة",mm:"%d دقائق",h:"ساعة واحدة",hh:"%d ساعات",d:"يوم واحد",dd:"%d أيام",M:"شهر واحد",MM:"%d أشهر",y:"عام واحد",yy:"%d أعوام"},preparse:function(r){return r.replace(/[١٢٣٤٥٦٧٨٩٠]/g,(function(r){return _[r]})).replace(/،/g,",")},postformat:function(r){return r.replace(/\d/g,(function(r){return p[r]})).replace(/,/g,"،")},ordinal:function(r){return r},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/‏M/‏YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"}};r.locale(m,null,!0);export default m;
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
4
- * v1.5.0-next.26
4
+ * v1.5.0-next.28
5
5
  */
6
- import{d as e}from"./p-4cd7685c.js";import"./p-4e34cca9.js";import"./p-4f9b4b87.js";import"./p-33716470.js";import"./p-8d774ce3.js";import"./p-62a36cd2.js";import"./p-e3175db7.js";import"./p-fc98a961.js";import"./p-4e7f7a1d.js";import"./p-282e6a51.js";import"./p-37b2620f.js";import"./p-185d0b4d.js";import"./p-80e54748.js";import"./p-1f80cc68.js";var s={name:"ca",weekdays:"Diumenge_Dilluns_Dimarts_Dimecres_Dijous_Divendres_Dissabte".split("_"),weekdaysShort:"Dg._Dl._Dt._Dc._Dj._Dv._Ds.".split("_"),weekdaysMin:"Dg_Dl_Dt_Dc_Dj_Dv_Ds".split("_"),months:"Gener_Febrer_Març_Abril_Maig_Juny_Juliol_Agost_Setembre_Octubre_Novembre_Desembre".split("_"),monthsShort:"Gen._Febr._Març_Abr._Maig_Juny_Jul._Ag._Set._Oct._Nov._Des.".split("_"),weekStart:1,formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",LLL:"D MMMM [de] YYYY [a les] H:mm",LLLL:"dddd D MMMM [de] YYYY [a les] H:mm",ll:"D MMM YYYY",lll:"D MMM YYYY, H:mm",llll:"ddd D MMM YYYY, H:mm"},relativeTime:{future:"d'aquí %s",past:"fa %s",s:"uns segons",m:"un minut",mm:"%d minuts",h:"una hora",hh:"%d hores",d:"un dia",dd:"%d dies",M:"un mes",MM:"%d mesos",y:"un any",yy:"%d anys"},ordinal:function(e){return e+(1===e||3===e?"r":2===e?"n":4===e?"t":"è")}};e.locale(s,null,!0);export default s;
6
+ import{d as e}from"./p-2a734f90.js";import"./p-a14756f4.js";import"./p-a37b6456.js";import"./p-a80dd470.js";import"./p-dfc71245.js";import"./p-ebb84e44.js";import"./p-a61fb283.js";import"./p-f43c41a7.js";import"./p-3255ae23.js";import"./p-69c1e850.js";import"./p-6986101b.js";import"./p-b193b80f.js";import"./p-ad830b3a.js";import"./p-26ca2b57.js";var s={name:"ca",weekdays:"Diumenge_Dilluns_Dimarts_Dimecres_Dijous_Divendres_Dissabte".split("_"),weekdaysShort:"Dg._Dl._Dt._Dc._Dj._Dv._Ds.".split("_"),weekdaysMin:"Dg_Dl_Dt_Dc_Dj_Dv_Ds".split("_"),months:"Gener_Febrer_Març_Abril_Maig_Juny_Juliol_Agost_Setembre_Octubre_Novembre_Desembre".split("_"),monthsShort:"Gen._Febr._Març_Abr._Maig_Juny_Jul._Ag._Set._Oct._Nov._Des.".split("_"),weekStart:1,formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",LLL:"D MMMM [de] YYYY [a les] H:mm",LLLL:"dddd D MMMM [de] YYYY [a les] H:mm",ll:"D MMM YYYY",lll:"D MMM YYYY, H:mm",llll:"ddd D MMM YYYY, H:mm"},relativeTime:{future:"d'aquí %s",past:"fa %s",s:"uns segons",m:"un minut",mm:"%d minuts",h:"una hora",hh:"%d hores",d:"un dia",dd:"%d dies",M:"un mes",MM:"%d mesos",y:"un any",yy:"%d anys"},ordinal:function(e){return e+(1===e||3===e?"r":2===e?"n":4===e?"t":"è")}};e.locale(s,null,!0);export default s;
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
4
- * v1.5.0-next.26
4
+ * v1.5.0-next.28
5
5
  */
6
- import{q as n,c as t}from"./p-33716470.js";import{h as e}from"./p-4e34cca9.js";!function(n){function t(n,t,e){throw new n("Failed to execute 'requestSubmit' on 'HTMLFormElement': "+t+".",e)}"function"!=typeof n.requestSubmit&&(n.requestSubmit=function(n){n?(function(n,e){n instanceof HTMLElement||t(TypeError,"parameter 1 is not of type 'HTMLElement'"),"submit"==n.type||t(TypeError,"The specified element is not a submit button"),n.form==e||t(DOMException,"The specified element is not owned by this form element","NotFoundError")}(n,this),n.click()):((n=document.createElement("input")).type="submit",n.hidden=!0,this.appendChild(n),n.click(),this.removeChild(n))})}(HTMLFormElement.prototype);const o="hidden-form-input";function r(n){return"checked"in n}const i=new WeakMap,s=new WeakSet;function c(n){const{formEl:t}=n;return!!t&&(t.requestSubmit(),!0)}function u(n){n.formEl?.reset()}function f(n){const{el:e,value:o}=n,c=m(n);if(!c||function(n,e){if(t(e.parentElement,"[form]"))return!0;const o="calciteInternalFormComponentRegister";let r=!1;return n.addEventListener(o,(n=>{r=n.composedPath().some((n=>s.has(n))),n.stopPropagation()}),{once:!0}),e.dispatchEvent(new CustomEvent(o,{bubbles:!0,composed:!0})),r}(c,e))return;n.formEl=c,n.defaultValue=o,r(n)&&(n.defaultChecked=n.checked);const u=(n.onFormReset||a).bind(n);c.addEventListener("reset",u),i.set(n.el,u),s.add(e)}function m(e){const{el:o,form:r}=e;return r?n(o,{id:r}):t(o,"form")}function a(){r(this)?this.checked=this.defaultChecked:this.value=this.defaultValue}function l(n){const{el:t,formEl:e}=n;if(!e)return;const o=i.get(t);e.removeEventListener("reset",o),i.delete(t),n.formEl=null,s.delete(t)}function p(n,t){n.defaultValue=t}const d=n=>{n.target.dispatchEvent(new CustomEvent("calciteInternalHiddenInputChange",{bubbles:!0}))},h=n=>n.removeEventListener("change",d);function b(n,t,e){const{defaultValue:o,disabled:i,form:s,name:c,required:u}=n;t.defaultValue=o,t.disabled=i,t.name=c,t.required=u,t.tabIndex=-1,s?t.setAttribute("form",s):t.removeAttribute("form"),r(n)?(t.checked=n.checked,t.defaultChecked=n.defaultChecked,t.value=n.checked?e||"on":""):t.value=e||"",n.syncHiddenFormInput?.(t)}const E=({component:n})=>(function(n){const{el:t,formEl:e,name:r,value:i}=n,{ownerDocument:s}=t,c=t.querySelectorAll(`input[slot="${o}"]`);if(!e||!r)return void c.forEach((n=>{h(n),n.remove()}));const u=Array.isArray(i)?i:[i],f=[],m=new Set;let a;c.forEach((t=>{const e=u.find((n=>n==t.value));null!=e?(m.add(e),b(n,t,e)):f.push(t)})),u.forEach((t=>{if(m.has(t))return;let e=f.pop();e||(e=s.createElement("input"),e.slot=o),a||(a=s.createDocumentFragment()),a.append(e),e.addEventListener("change",d),b(n,e,t)})),a&&t.append(a),f.forEach((n=>{h(n),n.remove()}))}(n),e("slot",{name:o}));export{E as H,p as a,f as c,l as d,m as f,u as r,c as s}
6
+ import{q as n,c as t}from"./p-a80dd470.js";import{h as e}from"./p-a14756f4.js";!function(n){function t(n,t,e){throw new n("Failed to execute 'requestSubmit' on 'HTMLFormElement': "+t+".",e)}"function"!=typeof n.requestSubmit&&(n.requestSubmit=function(n){n?(function(n,e){n instanceof HTMLElement||t(TypeError,"parameter 1 is not of type 'HTMLElement'"),"submit"==n.type||t(TypeError,"The specified element is not a submit button"),n.form==e||t(DOMException,"The specified element is not owned by this form element","NotFoundError")}(n,this),n.click()):((n=document.createElement("input")).type="submit",n.hidden=!0,this.appendChild(n),n.click(),this.removeChild(n))})}(HTMLFormElement.prototype);const o="hidden-form-input";function r(n){return"checked"in n}const i=new WeakMap,s=new WeakSet;function c(n){const{formEl:t}=n;return!!t&&(t.requestSubmit(),!0)}function u(n){n.formEl?.reset()}function f(n){const{el:e,value:o}=n,c=m(n);if(!c||function(n,e){if(t(e.parentElement,"[form]"))return!0;const o="calciteInternalFormComponentRegister";let r=!1;return n.addEventListener(o,(n=>{r=n.composedPath().some((n=>s.has(n))),n.stopPropagation()}),{once:!0}),e.dispatchEvent(new CustomEvent(o,{bubbles:!0,composed:!0})),r}(c,e))return;n.formEl=c,n.defaultValue=o,r(n)&&(n.defaultChecked=n.checked);const u=(n.onFormReset||a).bind(n);c.addEventListener("reset",u),i.set(n.el,u),s.add(e)}function m(e){const{el:o,form:r}=e;return r?n(o,{id:r}):t(o,"form")}function a(){r(this)?this.checked=this.defaultChecked:this.value=this.defaultValue}function l(n){const{el:t,formEl:e}=n;if(!e)return;const o=i.get(t);e.removeEventListener("reset",o),i.delete(t),n.formEl=null,s.delete(t)}function p(n,t){n.defaultValue=t}const d=n=>{n.target.dispatchEvent(new CustomEvent("calciteInternalHiddenInputChange",{bubbles:!0}))},h=n=>n.removeEventListener("change",d);function b(n,t,e){const{defaultValue:o,disabled:i,form:s,name:c,required:u}=n;t.defaultValue=o,t.disabled=i,t.name=c,t.required=u,t.tabIndex=-1,s?t.setAttribute("form",s):t.removeAttribute("form"),r(n)?(t.checked=n.checked,t.defaultChecked=n.defaultChecked,t.value=n.checked?e||"on":""):t.value=e||"",n.syncHiddenFormInput?.(t)}const E=({component:n})=>(function(n){const{el:t,formEl:e,name:r,value:i}=n,{ownerDocument:s}=t,c=t.querySelectorAll(`input[slot="${o}"]`);if(!e||!r)return void c.forEach((n=>{h(n),n.remove()}));const u=Array.isArray(i)?i:[i],f=[],m=new Set;let a;c.forEach((t=>{const e=u.find((n=>n==t.value));null!=e?(m.add(e),b(n,t,e)):f.push(t)})),u.forEach((t=>{if(m.has(t))return;let e=f.pop();e||(e=s.createElement("input"),e.slot=o),a||(a=s.createDocumentFragment()),a.append(e),e.addEventListener("change",d),b(n,e,t)})),a&&t.append(a),f.forEach((n=>{h(n),n.remove()}))}(n),e("slot",{name:o}));export{E as H,p as a,f as c,l as d,m as f,u as r,c as s}
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
4
- * v1.5.0-next.26
4
+ * v1.5.0-next.28
5
5
  */
6
6
  const n=/firefox/i.test(function(){const n=navigator.userAgentData;return n?.brands?n.brands.map((({brand:n,version:t})=>`${n}/${t}`)).join(" "):navigator.userAgent}()),t=n?new WeakMap:null;function i(){const{disabled:n}=this;n||HTMLElement.prototype.click.call(this)}function o(i){const o=i.target;if(n&&!t.get(o))return;const{disabled:e}=o;e&&i.preventDefault()}const e=["mousedown","mouseup","click"];function a(i){if(n&&!t.get(i.target))return;const{disabled:o}=i.target;o&&(i.stopImmediatePropagation(),i.preventDefault())}const c={capture:!0};function u(n,t=!1){if(n.disabled)return n.el.setAttribute("tabindex","-1"),n.el.setAttribute("aria-disabled","true"),n.el.contains(document.activeElement)&&document.activeElement.blur(),void r(n);s(n),"function"==typeof t?n.el.setAttribute("tabindex",t.call(n)?"0":"-1"):!0===t?n.el.setAttribute("tabindex","0"):!1===t&&n.el.removeAttribute("tabindex"),n.el.removeAttribute("aria-disabled")}function r(t){var u;t.el.click=i,(u=n?d(t):t.el)&&(u.addEventListener("pointerdown",o,c),e.forEach((n=>u.addEventListener(n,a,c))))}function d(n){return t.get(n.el)}function s(t){var i;delete t.el.click,(i=n?d(t):t.el)&&(i.removeEventListener("pointerdown",o,c),e.forEach((n=>i.removeEventListener(n,a,c))))}function f(i){i.disabled&&n&&(t.set(i.el,i.el.parentElement||i.el),r(i))}function b(i){n&&(t.delete(i.el),s(i))}export{f as c,b as d,u}
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
4
- * v1.5.0-next.26
4
+ * v1.5.0-next.28
5
5
  */
6
- import{d as e}from"./p-4cd7685c.js";import"./p-4e34cca9.js";import"./p-4f9b4b87.js";import"./p-33716470.js";import"./p-8d774ce3.js";import"./p-62a36cd2.js";import"./p-e3175db7.js";import"./p-fc98a961.js";import"./p-4e7f7a1d.js";import"./p-282e6a51.js";import"./p-37b2620f.js";import"./p-185d0b4d.js";import"./p-80e54748.js";import"./p-1f80cc68.js";var a={name:"id",weekdays:"Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu".split("_"),months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember".split("_"),weekdaysShort:"Min_Sen_Sel_Rab_Kam_Jum_Sab".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Agt_Sep_Okt_Nov_Des".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sb".split("_"),weekStart:1,formats:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},relativeTime:{future:"dalam %s",past:"%s yang lalu",s:"beberapa detik",m:"semenit",mm:"%d menit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},ordinal:function(e){return e+"."}};e.locale(a,null,!0);export default a;
6
+ import{d as a}from"./p-2a734f90.js";import"./p-a14756f4.js";import"./p-a37b6456.js";import"./p-a80dd470.js";import"./p-dfc71245.js";import"./p-ebb84e44.js";import"./p-a61fb283.js";import"./p-f43c41a7.js";import"./p-3255ae23.js";import"./p-69c1e850.js";import"./p-6986101b.js";import"./p-b193b80f.js";import"./p-ad830b3a.js";import"./p-26ca2b57.js";var e={name:"id",weekdays:"Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu".split("_"),months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember".split("_"),weekdaysShort:"Min_Sen_Sel_Rab_Kam_Jum_Sab".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Agt_Sep_Okt_Nov_Des".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sb".split("_"),weekStart:1,formats:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},relativeTime:{future:"dalam %s",past:"%s yang lalu",s:"beberapa detik",m:"semenit",mm:"%d menit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},ordinal:function(a){return a+"."}};a.locale(e,null,!0);export default e;
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
4
- * v1.5.0-next.26
4
+ * v1.5.0-next.28
5
5
  */
6
- import{r as i,c as t,h as e,H as n,a as o}from"./p-4e34cca9.js";import{t as s,i as a,k as r,d as c,w as l}from"./p-33716470.js";import{f as d,c as h,d as p,a as m,F as u,r as w}from"./p-743b8122.js";import{g as f}from"./p-8d774ce3.js";import{c as g,u as b,d as v}from"./p-e3175db7.js";import{i as k}from"./p-fc98a961.js";import{c as x,s as y,a as z}from"./p-282e6a51.js";import{c as D}from"./p-185d0b4d.js";import{o as I}from"./p-11c8baa7.js";import"./p-62a36cd2.js";import"./p-15c89625.js";const E=class{constructor(e){i(this,e),this.calciteDropdownSelect=t(this,"calciteDropdownSelect",6),this.calciteDropdownBeforeClose=t(this,"calciteDropdownBeforeClose",6),this.calciteDropdownClose=t(this,"calciteDropdownClose",6),this.calciteDropdownBeforeOpen=t(this,"calciteDropdownBeforeOpen",6),this.calciteDropdownOpen=t(this,"calciteDropdownOpen",6),this.items=[],this.groups=[],this.mutationObserver=D("mutation",(()=>this.updateItems())),this.resizeObserver=D("resize",(i=>this.resizeObserverCallback(i))),this.openTransitionProp="opacity",this.guid=`calcite-dropdown-${f()}`,this.defaultAssignedElements=[],this.slotChangeHandler=i=>{this.defaultAssignedElements=i.target.assignedElements({flatten:!0}),this.updateItems()},this.setFilteredPlacements=()=>{const{el:i,flipPlacements:t}=this;this.filteredFlipPlacements=t?d(t,i):null},this.updateTriggers=i=>{this.triggers=i.target.assignedElements({flatten:!0}),this.reposition(!0)},this.updateItems=()=>{this.items=this.groups.map((i=>Array.from(i?.querySelectorAll("calcite-dropdown-item")))).reduce(((i,t)=>[...i,...t]),[]),this.updateSelectedItems(),this.reposition(!0)},this.updateGroups=i=>{const t=i.target.assignedElements({flatten:!0}).filter((i=>i?.matches("calcite-dropdown-group")));this.groups=t,this.updateItems()},this.resizeObserverCallback=i=>{i.forEach((i=>{const{target:t}=i;t===this.referenceEl?this.setDropdownWidth():t===this.scrollerEl&&this.setMaxScrollerHeight()}))},this.setDropdownWidth=()=>{const{referenceEl:i,scrollerEl:t}=this,e=i?.clientWidth;e&&t&&(t.style.minWidth=`${e}px`)},this.setMaxScrollerHeight=()=>{const{scrollerEl:i}=this;if(!i)return;this.reposition(!0);const t=this.getMaxScrollerHeight();i.style.maxHeight=t>0?`${t}px`:"",this.reposition(!0)},this.setScrollerAndTransitionEl=i=>{this.resizeObserver.observe(i),this.scrollerEl=i,this.transitionEl=i},this.setReferenceEl=i=>{this.referenceEl=i,h(this,this.referenceEl,this.floatingEl),this.resizeObserver.observe(i)},this.setFloatingEl=i=>{this.floatingEl=i,h(this,this.referenceEl,this.floatingEl)},this.keyDownHandler=i=>{if(i.target!==this.referenceEl)return;const{defaultPrevented:t,key:e}=i;if(!t){if(this.open){if("Escape"===e)return this.closeCalciteDropdown(),void i.preventDefault();if(i.shiftKey&&"Tab"===e)return this.closeCalciteDropdown(),void i.preventDefault()}k(e)?(this.openCalciteDropdown(),i.preventDefault()):"Escape"===e&&(this.closeCalciteDropdown(),i.preventDefault())}},this.focusOnFirstActiveOrFirstItem=()=>{this.getFocusableElement(this.items.find((i=>i.selected))||this.items[0])},this.toggleOpenEnd=()=>{this.focusOnFirstActiveOrFirstItem(),this.el.removeEventListener("calciteDropdownOpen",this.toggleOpenEnd)},this.openCalciteDropdown=()=>{this.open=!this.open,this.open&&this.el.addEventListener("calciteDropdownOpen",this.toggleOpenEnd)},this.open=!1,this.closeOnSelectDisabled=!1,this.disabled=!1,this.flipPlacements=void 0,this.maxItems=0,this.overlayPositioning="absolute",this.placement=p,this.scale="m",this.selectedItems=[],this.type="click",this.width=void 0}openHandler(i){if(!this.disabled)return i&&this.reposition(!0),void I(this);this.open=!1}handleDisabledChange(i){i||(this.open=!1)}flipPlacementsHandler(){this.setFilteredPlacements(),this.reposition(!0)}maxItemsHandler(){this.setMaxScrollerHeight()}overlayPositioningHandler(){this.reposition(!0)}placementHandler(){this.reposition(!0)}async setFocus(){await x(this),this.el.focus()}connectedCallback(){this.mutationObserver?.observe(this.el,{childList:!0,subtree:!0}),this.setFilteredPlacements(),this.reposition(!0),this.open&&(this.openHandler(this.open),I(this)),g(this)}componentWillLoad(){y(this)}componentDidLoad(){z(this),this.reposition(!0)}componentDidRender(){b(this)}disconnectedCallback(){this.mutationObserver?.disconnect(),this.resizeObserver?.disconnect(),v(this),m(this,this.referenceEl,this.floatingEl)}render(){const{open:i,guid:t}=this;return e(n,null,e("div",{class:"calcite-trigger-container",id:`${t}-menubutton`,onClick:this.openCalciteDropdown,onKeyDown:this.keyDownHandler,ref:this.setReferenceEl},e("slot",{"aria-controls":`${t}-menu`,"aria-expanded":s(i),"aria-haspopup":"menu",name:"trigger",onSlotchange:this.updateTriggers})),e("div",{"aria-hidden":s(!i),class:"calcite-dropdown-wrapper",ref:this.setFloatingEl},e("div",{"aria-labelledby":`${t}-menubutton`,class:{"calcite-dropdown-content":!0,[u.animation]:!0,[u.animationActive]:i},id:`${t}-menu`,role:"menu",ref:this.setScrollerAndTransitionEl},e("slot",{onSlotchange:this.updateGroups}))))}async reposition(i=!1){const{floatingEl:t,referenceEl:e,placement:n,overlayPositioning:o,filteredFlipPlacements:s}=this;return w(this,{floatingEl:t,referenceEl:e,overlayPositioning:o,placement:n,flipPlacements:s,type:"menu"},i)}closeCalciteDropdownOnClick(i){!this.disabled&&a(i)&&this.open&&!i.composedPath().includes(this.el)&&this.closeCalciteDropdown(!1)}closeCalciteDropdownOnEvent(i){this.closeCalciteDropdown(),i.stopPropagation()}closeCalciteDropdownOnOpenEvent(i){i.composedPath().includes(this.el)||(this.open=!1)}pointerEnterHandler(){this.disabled||"hover"!==this.type||this.openCalciteDropdown()}pointerLeaveHandler(){this.disabled||"hover"!==this.type||this.closeCalciteDropdown()}calciteInternalDropdownItemKeyEvent(i){const{keyboardEvent:t}=i.detail,e=t.target;switch(t.key){case"Tab":this.items.indexOf(e)!==this.items.length-1||t.shiftKey?0===this.items.indexOf(e)&&t.shiftKey&&this.closeCalciteDropdown():this.closeCalciteDropdown();break;case"ArrowDown":r(this.items,e,"next");break;case"ArrowUp":r(this.items,e,"previous");break;case"Home":r(this.items,e,"first");break;case"End":r(this.items,e,"last")}i.stopPropagation()}handleItemSelect(i){this.updateSelectedItems(),i.stopPropagation(),this.calciteDropdownSelect.emit(),this.closeOnSelectDisabled&&"none"!==i.detail.requestedDropdownGroup.selectionMode||this.closeCalciteDropdown(),i.stopPropagation()}onBeforeOpen(){this.calciteDropdownBeforeOpen.emit()}onOpen(){this.calciteDropdownOpen.emit()}onBeforeClose(){this.calciteDropdownBeforeClose.emit()}onClose(){this.calciteDropdownClose.emit()}updateSelectedItems(){this.selectedItems=this.items.filter((i=>i.selected))}getMaxScrollerHeight(){const{maxItems:i,items:t}=this;let e,n=0,o=0;return this.groups.forEach((t=>{i>0&&n<i&&Array.from(t.children).forEach(((t,s)=>{0===s&&(isNaN(e)&&(e=t.offsetTop),o+=e),n<i&&(o+=t.offsetHeight,n+=1)}))})),t.length>i?o:0}closeCalciteDropdown(i=!0){this.open=!1,i&&c(this.triggers[0])}getFocusableElement(i){if(!i)return;const t=i.attributes.isLink?i.shadowRoot.querySelector("a"):i;c(t)}static get delegatesFocus(){return!0}get el(){return o(this)}static get watchers(){return{open:["openHandler"],disabled:["handleDisabledChange"],flipPlacements:["flipPlacementsHandler"],maxItems:["maxItemsHandler"],overlayPositioning:["overlayPositioningHandler"],placement:["placementHandler"]}}};E.style=":host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:inline-flex;flex:0 1 auto}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host .calcite-dropdown-wrapper{--calcite-floating-ui-z-index:var(--calcite-app-z-index-dropdown);display:block;position:absolute;z-index:var(--calcite-floating-ui-z-index);visibility:hidden}.calcite-dropdown-wrapper .calcite-floating-ui-anim{position:relative;transition:var(--calcite-floating-ui-transition);transition-property:transform, visibility, opacity;opacity:0;box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);z-index:var(--calcite-app-z-index);border-radius:0.25rem}.calcite-dropdown-wrapper[data-placement^=bottom] .calcite-floating-ui-anim{transform:translateY(-5px)}.calcite-dropdown-wrapper[data-placement^=top] .calcite-floating-ui-anim{transform:translateY(5px)}.calcite-dropdown-wrapper[data-placement^=left] .calcite-floating-ui-anim{transform:translateX(5px)}.calcite-dropdown-wrapper[data-placement^=right] .calcite-floating-ui-anim{transform:translateX(-5px)}.calcite-dropdown-wrapper[data-placement] .calcite-floating-ui-anim--active{opacity:1;transform:translate(0)}:host([open]) .calcite-dropdown-wrapper{visibility:visible}:host .calcite-dropdown-content{max-block-size:45vh;inline-size:auto;overflow-y:auto;overflow-x:hidden;background-color:var(--calcite-ui-foreground-1);inline-size:var(--calcite-dropdown-width)}.calcite-trigger-container{position:relative;display:flex;flex:1 1 auto;word-wrap:break-word;word-break:break-word}@media (forced-colors: active){:host([open]) .calcite-dropdown-wrapper{border:1px solid canvasText}}:host([width=s]){--calcite-dropdown-width:12rem}:host([width=m]){--calcite-dropdown-width:14rem}:host([width=l]){--calcite-dropdown-width:16rem}:host([hidden]){display:none}[hidden]{display:none}";const C=class{constructor(e){i(this,e),this.calciteInternalDropdownItemChange=t(this,"calciteInternalDropdownItemChange",6),this.groupTitle=void 0,this.selectionMode="single",this.scale=void 0}componentWillLoad(){this.groupPosition=this.getGroupPosition()}render(){const i=this.scale||l(this.el,"scale","m"),t=this.groupTitle?e("span",{"aria-hidden":"true",class:"dropdown-title"},this.groupTitle):null,o=this.groupPosition>0?e("div",{class:"dropdown-separator",role:"separator"}):null;return e(n,{"aria-label":this.groupTitle,role:"group"},e("div",{class:{container:!0,"container--s":"s"===i,"container--m":"m"===i,"container--l":"l"===i},title:this.groupTitle},o,t,e("slot",null)))}updateActiveItemOnChange(i){this.requestedDropdownGroup=i.detail.requestedDropdownGroup,this.requestedDropdownItem=i.detail.requestedDropdownItem,this.calciteInternalDropdownItemChange.emit({requestedDropdownGroup:this.requestedDropdownGroup,requestedDropdownItem:this.requestedDropdownItem})}getGroupPosition(){return Array.prototype.indexOf.call(this.el.parentElement.querySelectorAll("calcite-dropdown-group"),this.el)}static get delegatesFocus(){return!0}get el(){return o(this)}};C.style=":host{position:relative;display:block}.container{text-align:start}.container--s{font-size:var(--calcite-font-size--2);line-height:1rem}.container--s .dropdown-title{padding:0.5rem}.container--m{font-size:var(--calcite-font-size--1);line-height:1rem}.container--m .dropdown-title{padding:0.75rem}.container--l{font-size:var(--calcite-font-size-0);line-height:1.25rem}.container--l .dropdown-title{padding:1rem}.dropdown-title{margin-block-end:-1px;display:block;cursor:default;overflow-wrap:break-word;border-width:0px;border-block-end-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);font-weight:var(--calcite-font-weight-bold);color:var(--calcite-ui-text-2)}.dropdown-separator{display:block;block-size:1px;background-color:var(--calcite-ui-border-3)}:host([hidden]){display:none}[hidden]{display:none}";const H=class{constructor(e){i(this,e),this.calciteDropdownItemSelect=t(this,"calciteDropdownItemSelect",6),this.calciteInternalDropdownItemSelect=t(this,"calciteInternalDropdownItemSelect",6),this.calciteInternalDropdownItemKeyEvent=t(this,"calciteInternalDropdownItemKeyEvent",6),this.calciteInternalDropdownCloseRequest=t(this,"calciteInternalDropdownCloseRequest",6),this.scale="m",this.selected=!1,this.iconFlipRtl=void 0,this.iconStart=void 0,this.iconEnd=void 0,this.href=void 0,this.label=void 0,this.rel=void 0,this.target=void 0}async setFocus(){await x(this),this.el?.focus()}componentWillLoad(){y(this),this.initialize()}componentDidLoad(){z(this)}connectedCallback(){this.initialize()}render(){const i=l(this.el,"scale",this.scale),{href:t,selectionMode:o,label:a,iconFlipRtl:r}=this,c=e("calcite-icon",{class:"dropdown-item-icon-start",flipRtl:"start"===r||"both"===r,icon:this.iconStart,scale:"l"===i?"m":"s"}),d=e("span",{class:"dropdown-item-content"},e("slot",null)),h=e("calcite-icon",{class:"dropdown-item-icon-end",flipRtl:"end"===r||"both"===r,icon:this.iconEnd,scale:"l"===i?"m":"s"}),p=this.iconStart&&this.iconEnd?[c,d,h]:this.iconStart?[c,d]:this.iconEnd?[d,h]:d,m=t?e("a",{"aria-label":a,class:"dropdown-link",href:t,rel:this.rel,tabIndex:-1,target:this.target,ref:i=>this.childLink=i},p):p,u=t?null:"single"===o?"menuitemradio":"multiple"===o?"menuitemcheckbox":"menuitem",w="none"!==o?s(this.selected):null;return e(n,{"aria-checked":w,"aria-label":t?"":a,role:u,tabindex:"0"},e("div",{class:{container:!0,"container--link":!!t,"container--s":"s"===i,"container--m":"m"===i,"container--l":"l"===i,"container--multi-selection":"multiple"===o,"container--single-selection":"single"===o,"container--none-selection":"none"===o}},"none"!==o?e("calcite-icon",{class:"dropdown-item-icon",icon:"multiple"===o?"check":"bullet-point",scale:"l"===i?"m":"s"}):null,m))}onClick(){this.emitRequestedItem()}keyDownHandler(i){switch(i.key){case" ":case"Enter":this.emitRequestedItem(),this.href&&this.childLink.click(),i.preventDefault();break;case"Escape":this.calciteInternalDropdownCloseRequest.emit(),i.preventDefault();break;case"Tab":this.calciteInternalDropdownItemKeyEvent.emit({keyboardEvent:i});break;case"ArrowUp":case"ArrowDown":case"Home":case"End":i.preventDefault(),this.calciteInternalDropdownItemKeyEvent.emit({keyboardEvent:i})}}updateActiveItemOnChange(i){i.composedPath().includes(this.parentDropdownGroupEl)&&(this.requestedDropdownGroup=i.detail.requestedDropdownGroup,this.requestedDropdownItem=i.detail.requestedDropdownItem,this.determineActiveItem()),i.stopPropagation()}initialize(){this.selectionMode=l(this.el,"selection-mode","single"),this.parentDropdownGroupEl=this.el.closest("calcite-dropdown-group"),"none"===this.selectionMode&&(this.selected=!1)}determineActiveItem(){switch(this.selectionMode){case"multiple":this.el===this.requestedDropdownItem&&(this.selected=!this.selected);break;case"single":this.el===this.requestedDropdownItem?this.selected=!0:this.requestedDropdownGroup===this.parentDropdownGroupEl&&(this.selected=!1);break;case"none":this.selected=!1}}emitRequestedItem(){this.calciteDropdownItemSelect.emit(),this.calciteInternalDropdownItemSelect.emit({requestedDropdownItem:this.el,requestedDropdownGroup:this.parentDropdownGroupEl})}get el(){return o(this)}};H.style=".container--s{padding-block:0.25rem;font-size:var(--calcite-font-size--2);line-height:1rem;padding-inline-end:0.5rem;padding-inline-start:1.5rem}.container--m{padding-block:0.5rem;font-size:var(--calcite-font-size--1);line-height:1rem;padding-inline-end:0.75rem;padding-inline-start:2rem}.container--l{padding-block:0.625rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;padding-inline-end:1rem;padding-inline-start:2.5rem}.container--s.container--none-selection{padding-inline-start:0.25rem}.container--s.container--none-selection .dropdown-link{padding-inline-start:0px}.container--m.container--none-selection{padding-inline-start:0.5rem}.container--m.container--none-selection .dropdown-link{padding-inline-start:0px}.container--l.container--none-selection{padding-inline-start:0.75rem}.container--l.container--none-selection .dropdown-link{padding-inline-start:0px}:host{position:relative;display:flex;flex-grow:1;align-items:center}.container{position:relative;display:flex;flex-grow:1;cursor:pointer;align-items:center;color:var(--calcite-ui-text-3);text-decoration-line:none;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);text-align:start}.dropdown-item-content{flex:1 1 auto;padding-block:0.125rem;padding-inline-end:auto;padding-inline-start:0.25rem}:host,.container--link a{outline-color:transparent}:host(:focus){outline:2px solid transparent;outline-offset:2px;outline:2px solid var(--calcite-ui-focus-color, var(--calcite-ui-brand));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-ui-focus-offset-invert),\n 1\n )\n )\n )}.container--link{padding:0px}.container--link a{position:relative;display:flex;flex-grow:1;cursor:pointer;align-items:center;color:var(--calcite-ui-text-3);text-decoration-line:none;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}.container--s .dropdown-link{padding-block:0.25rem;font-size:var(--calcite-font-size--2);line-height:1rem;padding-inline-end:0.5rem;padding-inline-start:1.5rem}.container--m .dropdown-link{padding-block:0.5rem;font-size:var(--calcite-font-size--1);line-height:1rem;padding-inline-end:0.75rem;padding-inline-start:2rem}.container--l .dropdown-link{padding-block:0.75rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;padding-inline-end:1rem;padding-inline-start:2.5rem}:host(:hover) .container,:host(:active) .container{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1);text-decoration-line:none}:host(:hover) .container--link .dropdown-link,:host(:active) .container--link .dropdown-link{color:var(--calcite-ui-text-1)}:host(:focus) .container{color:var(--calcite-ui-text-1);text-decoration-line:none}:host(:active) .container{background-color:var(--calcite-ui-foreground-3)}:host(:hover) .container:before,:host(:active) .container:before,:host(:focus) .container:before{opacity:1}:host([selected]) .container:not(.container--none-selection),:host([selected]) .container--link .dropdown-link{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1)}:host([selected]) .container:not(.container--none-selection):before,:host([selected]) .container--link .dropdown-link:before{opacity:1;color:var(--calcite-ui-brand)}:host([selected]) .container:not(.container--none-selection) calcite-icon,:host([selected]) .container--link .dropdown-link calcite-icon{color:var(--calcite-ui-brand)}.container--multi-selection:before,.container--none-selection:before{display:none}.container--s:before{inset-inline-start:0.5rem}.container--m:before{inset-inline-start:0.75rem}.container--l:before{inset-inline-start:1rem}.dropdown-item-icon{position:absolute;opacity:0;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transform:scale(0.9)}.container--s .dropdown-item-icon{inset-inline-start:0.25rem}.container--m .dropdown-item-icon{inset-inline-start:0.5rem}.container--l .dropdown-item-icon{inset-inline-start:0.75rem}:host(:hover) .dropdown-item-icon{color:var(--calcite-ui-border-1);opacity:1}:host([selected]) .dropdown-item-icon{color:var(--calcite-ui-brand);opacity:1}.container--s .dropdown-item-icon-start{margin-inline-end:0.5rem;margin-inline-start:0.25rem}.container--s .dropdown-item-icon-end{margin-inline-start:0.5rem}.container--m .dropdown-item-icon-start{margin-inline-end:0.75rem;margin-inline-start:0.25rem}.container--m .dropdown-item-icon-end{margin-inline-start:0.75rem}.container--l .dropdown-item-icon-start{margin-inline-end:1rem;margin-inline-start:0.25rem}.container--l .dropdown-item-icon-end{margin-inline-start:1rem}:host([hidden]){display:none}[hidden]{display:none}";export{E as calcite_dropdown,C as calcite_dropdown_group,H as calcite_dropdown_item}
6
+ import{r as i,c as t,h as e,H as n,a as o}from"./p-a14756f4.js";import{t as s,i as a,k as r,d as c,w as l}from"./p-a80dd470.js";import{f as d,c as h,d as p,a as m,F as u,r as f}from"./p-9d830f61.js";import{g as w}from"./p-dfc71245.js";import{c as g,u as b,d as v}from"./p-a61fb283.js";import{i as k}from"./p-f43c41a7.js";import{c as x,s as y,a as z}from"./p-69c1e850.js";import{c as D}from"./p-b193b80f.js";import{o as I}from"./p-3aa0987c.js";import"./p-ebb84e44.js";import"./p-5b994153.js";const E=class{constructor(e){i(this,e),this.calciteDropdownSelect=t(this,"calciteDropdownSelect",6),this.calciteDropdownBeforeClose=t(this,"calciteDropdownBeforeClose",6),this.calciteDropdownClose=t(this,"calciteDropdownClose",6),this.calciteDropdownBeforeOpen=t(this,"calciteDropdownBeforeOpen",6),this.calciteDropdownOpen=t(this,"calciteDropdownOpen",6),this.items=[],this.groups=[],this.mutationObserver=D("mutation",(()=>this.updateItems())),this.resizeObserver=D("resize",(i=>this.resizeObserverCallback(i))),this.openTransitionProp="opacity",this.guid=`calcite-dropdown-${w()}`,this.defaultAssignedElements=[],this.slotChangeHandler=i=>{this.defaultAssignedElements=i.target.assignedElements({flatten:!0}),this.updateItems()},this.setFilteredPlacements=()=>{const{el:i,flipPlacements:t}=this;this.filteredFlipPlacements=t?d(t,i):null},this.updateTriggers=i=>{this.triggers=i.target.assignedElements({flatten:!0}),this.reposition(!0)},this.updateItems=()=>{this.items=this.groups.map((i=>Array.from(i?.querySelectorAll("calcite-dropdown-item")))).reduce(((i,t)=>[...i,...t]),[]),this.updateSelectedItems(),this.reposition(!0)},this.updateGroups=i=>{const t=i.target.assignedElements({flatten:!0}).filter((i=>i?.matches("calcite-dropdown-group")));this.groups=t,this.updateItems()},this.resizeObserverCallback=i=>{i.forEach((i=>{const{target:t}=i;t===this.referenceEl?this.setDropdownWidth():t===this.scrollerEl&&this.setMaxScrollerHeight()}))},this.setDropdownWidth=()=>{const{referenceEl:i,scrollerEl:t}=this,e=i?.clientWidth;e&&t&&(t.style.minWidth=`${e}px`)},this.setMaxScrollerHeight=()=>{const{scrollerEl:i}=this;if(!i)return;this.reposition(!0);const t=this.getMaxScrollerHeight();i.style.maxHeight=t>0?`${t}px`:"",this.reposition(!0)},this.setScrollerAndTransitionEl=i=>{this.resizeObserver.observe(i),this.scrollerEl=i,this.transitionEl=i},this.setReferenceEl=i=>{this.referenceEl=i,h(this,this.referenceEl,this.floatingEl),this.resizeObserver.observe(i)},this.setFloatingEl=i=>{this.floatingEl=i,h(this,this.referenceEl,this.floatingEl)},this.keyDownHandler=i=>{if(i.target!==this.referenceEl)return;const{defaultPrevented:t,key:e}=i;if(!t){if(this.open){if("Escape"===e)return this.closeCalciteDropdown(),void i.preventDefault();if(i.shiftKey&&"Tab"===e)return this.closeCalciteDropdown(),void i.preventDefault()}k(e)?(this.openCalciteDropdown(),i.preventDefault()):"Escape"===e&&(this.closeCalciteDropdown(),i.preventDefault())}},this.focusOnFirstActiveOrFirstItem=()=>{this.getFocusableElement(this.items.find((i=>i.selected))||this.items[0])},this.toggleOpenEnd=()=>{this.focusOnFirstActiveOrFirstItem(),this.el.removeEventListener("calciteDropdownOpen",this.toggleOpenEnd)},this.openCalciteDropdown=()=>{this.open=!this.open,this.open&&this.el.addEventListener("calciteDropdownOpen",this.toggleOpenEnd)},this.open=!1,this.closeOnSelectDisabled=!1,this.disabled=!1,this.flipPlacements=void 0,this.maxItems=0,this.overlayPositioning="absolute",this.placement=p,this.scale="m",this.selectedItems=[],this.type="click",this.width=void 0}openHandler(i){if(!this.disabled)return i&&this.reposition(!0),void I(this);this.open=!1}handleDisabledChange(i){i||(this.open=!1)}flipPlacementsHandler(){this.setFilteredPlacements(),this.reposition(!0)}maxItemsHandler(){this.setMaxScrollerHeight()}overlayPositioningHandler(){this.reposition(!0)}placementHandler(){this.reposition(!0)}async setFocus(){await x(this),this.el.focus()}connectedCallback(){this.mutationObserver?.observe(this.el,{childList:!0,subtree:!0}),this.setFilteredPlacements(),this.reposition(!0),this.open&&(this.openHandler(this.open),I(this)),g(this)}componentWillLoad(){y(this)}componentDidLoad(){z(this),this.reposition(!0)}componentDidRender(){b(this)}disconnectedCallback(){this.mutationObserver?.disconnect(),this.resizeObserver?.disconnect(),v(this),m(this,this.referenceEl,this.floatingEl)}render(){const{open:i,guid:t}=this;return e(n,null,e("div",{class:"calcite-trigger-container",id:`${t}-menubutton`,onClick:this.openCalciteDropdown,onKeyDown:this.keyDownHandler,ref:this.setReferenceEl},e("slot",{"aria-controls":`${t}-menu`,"aria-expanded":s(i),"aria-haspopup":"menu",name:"trigger",onSlotchange:this.updateTriggers})),e("div",{"aria-hidden":s(!i),class:"calcite-dropdown-wrapper",ref:this.setFloatingEl},e("div",{"aria-labelledby":`${t}-menubutton`,class:{"calcite-dropdown-content":!0,[u.animation]:!0,[u.animationActive]:i},id:`${t}-menu`,role:"menu",ref:this.setScrollerAndTransitionEl},e("slot",{onSlotchange:this.updateGroups}))))}async reposition(i=!1){const{floatingEl:t,referenceEl:e,placement:n,overlayPositioning:o,filteredFlipPlacements:s}=this;return f(this,{floatingEl:t,referenceEl:e,overlayPositioning:o,placement:n,flipPlacements:s,type:"menu"},i)}closeCalciteDropdownOnClick(i){!this.disabled&&a(i)&&this.open&&!i.composedPath().includes(this.el)&&this.closeCalciteDropdown(!1)}closeCalciteDropdownOnEvent(i){this.closeCalciteDropdown(),i.stopPropagation()}closeCalciteDropdownOnOpenEvent(i){i.composedPath().includes(this.el)||(this.open=!1)}pointerEnterHandler(){this.disabled||"hover"!==this.type||this.openCalciteDropdown()}pointerLeaveHandler(){this.disabled||"hover"!==this.type||this.closeCalciteDropdown()}calciteInternalDropdownItemKeyEvent(i){const{keyboardEvent:t}=i.detail,e=t.target;switch(t.key){case"Tab":this.items.indexOf(e)!==this.items.length-1||t.shiftKey?0===this.items.indexOf(e)&&t.shiftKey&&this.closeCalciteDropdown():this.closeCalciteDropdown();break;case"ArrowDown":r(this.items,e,"next");break;case"ArrowUp":r(this.items,e,"previous");break;case"Home":r(this.items,e,"first");break;case"End":r(this.items,e,"last")}i.stopPropagation()}handleItemSelect(i){this.updateSelectedItems(),i.stopPropagation(),this.calciteDropdownSelect.emit(),this.closeOnSelectDisabled&&"none"!==i.detail.requestedDropdownGroup.selectionMode||this.closeCalciteDropdown(),i.stopPropagation()}onBeforeOpen(){this.calciteDropdownBeforeOpen.emit()}onOpen(){this.calciteDropdownOpen.emit()}onBeforeClose(){this.calciteDropdownBeforeClose.emit()}onClose(){this.calciteDropdownClose.emit()}updateSelectedItems(){this.selectedItems=this.items.filter((i=>i.selected))}getMaxScrollerHeight(){const{maxItems:i,items:t}=this;let e,n=0,o=0;return this.groups.forEach((t=>{i>0&&n<i&&Array.from(t.children).forEach(((t,s)=>{0===s&&(isNaN(e)&&(e=t.offsetTop),o+=e),n<i&&(o+=t.offsetHeight,n+=1)}))})),t.length>i?o:0}closeCalciteDropdown(i=!0){this.open=!1,i&&c(this.triggers[0])}getFocusableElement(i){if(!i)return;const t=i.attributes.isLink?i.shadowRoot.querySelector("a"):i;c(t)}static get delegatesFocus(){return!0}get el(){return o(this)}static get watchers(){return{open:["openHandler"],disabled:["handleDisabledChange"],flipPlacements:["flipPlacementsHandler"],maxItems:["maxItemsHandler"],overlayPositioning:["overlayPositioningHandler"],placement:["placementHandler"]}}};E.style=":host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:inline-flex;flex:0 1 auto}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host .calcite-dropdown-wrapper{--calcite-floating-ui-z-index:var(--calcite-app-z-index-dropdown);display:block;position:absolute;z-index:var(--calcite-floating-ui-z-index);visibility:hidden}.calcite-dropdown-wrapper .calcite-floating-ui-anim{position:relative;transition:var(--calcite-floating-ui-transition);transition-property:transform, visibility, opacity;opacity:0;box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);z-index:var(--calcite-app-z-index);border-radius:0.25rem}.calcite-dropdown-wrapper[data-placement^=bottom] .calcite-floating-ui-anim{transform:translateY(-5px)}.calcite-dropdown-wrapper[data-placement^=top] .calcite-floating-ui-anim{transform:translateY(5px)}.calcite-dropdown-wrapper[data-placement^=left] .calcite-floating-ui-anim{transform:translateX(5px)}.calcite-dropdown-wrapper[data-placement^=right] .calcite-floating-ui-anim{transform:translateX(-5px)}.calcite-dropdown-wrapper[data-placement] .calcite-floating-ui-anim--active{opacity:1;transform:translate(0)}:host([open]) .calcite-dropdown-wrapper{visibility:visible}:host .calcite-dropdown-content{max-block-size:45vh;inline-size:auto;overflow-y:auto;overflow-x:hidden;background-color:var(--calcite-ui-foreground-1);inline-size:var(--calcite-dropdown-width)}.calcite-trigger-container{position:relative;display:flex;flex:1 1 auto;word-wrap:break-word;word-break:break-word}@media (forced-colors: active){:host([open]) .calcite-dropdown-wrapper{border:1px solid canvasText}}:host([width=s]){--calcite-dropdown-width:12rem}:host([width=m]){--calcite-dropdown-width:14rem}:host([width=l]){--calcite-dropdown-width:16rem}:host([hidden]){display:none}[hidden]{display:none}";const C=class{constructor(e){i(this,e),this.calciteInternalDropdownItemChange=t(this,"calciteInternalDropdownItemChange",6),this.groupTitle=void 0,this.selectionMode="single",this.scale=void 0}componentWillLoad(){this.groupPosition=this.getGroupPosition()}render(){const i=this.scale||l(this.el,"scale","m"),t=this.groupTitle?e("span",{"aria-hidden":"true",class:"dropdown-title"},this.groupTitle):null,o=this.groupPosition>0?e("div",{class:"dropdown-separator",role:"separator"}):null;return e(n,{"aria-label":this.groupTitle,role:"group"},e("div",{class:{container:!0,"container--s":"s"===i,"container--m":"m"===i,"container--l":"l"===i},title:this.groupTitle},o,t,e("slot",null)))}updateActiveItemOnChange(i){this.requestedDropdownGroup=i.detail.requestedDropdownGroup,this.requestedDropdownItem=i.detail.requestedDropdownItem,this.calciteInternalDropdownItemChange.emit({requestedDropdownGroup:this.requestedDropdownGroup,requestedDropdownItem:this.requestedDropdownItem})}getGroupPosition(){return Array.prototype.indexOf.call(this.el.parentElement.querySelectorAll("calcite-dropdown-group"),this.el)}static get delegatesFocus(){return!0}get el(){return o(this)}};C.style=":host{position:relative;display:block}.container{text-align:start}.container--s{font-size:var(--calcite-font-size--2);line-height:1rem}.container--s .dropdown-title{padding:0.5rem}.container--m{font-size:var(--calcite-font-size--1);line-height:1rem}.container--m .dropdown-title{padding:0.75rem}.container--l{font-size:var(--calcite-font-size-0);line-height:1.25rem}.container--l .dropdown-title{padding:1rem}.dropdown-title{margin-block-end:-1px;display:block;cursor:default;overflow-wrap:break-word;border-width:0px;border-block-end-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);font-weight:var(--calcite-font-weight-bold);color:var(--calcite-ui-text-2)}.dropdown-separator{display:block;block-size:1px;background-color:var(--calcite-ui-border-3)}:host([hidden]){display:none}[hidden]{display:none}";const H=class{constructor(e){i(this,e),this.calciteDropdownItemSelect=t(this,"calciteDropdownItemSelect",6),this.calciteInternalDropdownItemSelect=t(this,"calciteInternalDropdownItemSelect",6),this.calciteInternalDropdownItemKeyEvent=t(this,"calciteInternalDropdownItemKeyEvent",6),this.calciteInternalDropdownCloseRequest=t(this,"calciteInternalDropdownCloseRequest",6),this.scale="m",this.selected=!1,this.iconFlipRtl=void 0,this.iconStart=void 0,this.iconEnd=void 0,this.href=void 0,this.label=void 0,this.rel=void 0,this.target=void 0}async setFocus(){await x(this),this.el?.focus()}componentWillLoad(){y(this),this.initialize()}componentDidLoad(){z(this)}connectedCallback(){this.initialize()}render(){const i=l(this.el,"scale",this.scale),{href:t,selectionMode:o,label:a,iconFlipRtl:r}=this,c=e("calcite-icon",{class:"dropdown-item-icon-start",flipRtl:"start"===r||"both"===r,icon:this.iconStart,scale:"l"===i?"m":"s"}),d=e("span",{class:"dropdown-item-content"},e("slot",null)),h=e("calcite-icon",{class:"dropdown-item-icon-end",flipRtl:"end"===r||"both"===r,icon:this.iconEnd,scale:"l"===i?"m":"s"}),p=this.iconStart&&this.iconEnd?[c,d,h]:this.iconStart?[c,d]:this.iconEnd?[d,h]:d,m=t?e("a",{"aria-label":a,class:"dropdown-link",href:t,rel:this.rel,tabIndex:-1,target:this.target,ref:i=>this.childLink=i},p):p,u=t?null:"single"===o?"menuitemradio":"multiple"===o?"menuitemcheckbox":"menuitem",f="none"!==o?s(this.selected):null;return e(n,{"aria-checked":f,"aria-label":t?"":a,role:u,tabindex:"0"},e("div",{class:{container:!0,"container--link":!!t,"container--s":"s"===i,"container--m":"m"===i,"container--l":"l"===i,"container--multi-selection":"multiple"===o,"container--single-selection":"single"===o,"container--none-selection":"none"===o}},"none"!==o?e("calcite-icon",{class:"dropdown-item-icon",icon:"multiple"===o?"check":"bullet-point",scale:"l"===i?"m":"s"}):null,m))}onClick(){this.emitRequestedItem()}keyDownHandler(i){switch(i.key){case" ":case"Enter":this.emitRequestedItem(),this.href&&this.childLink.click(),i.preventDefault();break;case"Escape":this.calciteInternalDropdownCloseRequest.emit(),i.preventDefault();break;case"Tab":this.calciteInternalDropdownItemKeyEvent.emit({keyboardEvent:i});break;case"ArrowUp":case"ArrowDown":case"Home":case"End":i.preventDefault(),this.calciteInternalDropdownItemKeyEvent.emit({keyboardEvent:i})}}updateActiveItemOnChange(i){i.composedPath().includes(this.parentDropdownGroupEl)&&(this.requestedDropdownGroup=i.detail.requestedDropdownGroup,this.requestedDropdownItem=i.detail.requestedDropdownItem,this.determineActiveItem()),i.stopPropagation()}initialize(){this.selectionMode=l(this.el,"selection-mode","single"),this.parentDropdownGroupEl=this.el.closest("calcite-dropdown-group"),"none"===this.selectionMode&&(this.selected=!1)}determineActiveItem(){switch(this.selectionMode){case"multiple":this.el===this.requestedDropdownItem&&(this.selected=!this.selected);break;case"single":this.el===this.requestedDropdownItem?this.selected=!0:this.requestedDropdownGroup===this.parentDropdownGroupEl&&(this.selected=!1);break;case"none":this.selected=!1}}emitRequestedItem(){this.calciteDropdownItemSelect.emit(),this.calciteInternalDropdownItemSelect.emit({requestedDropdownItem:this.el,requestedDropdownGroup:this.parentDropdownGroupEl})}get el(){return o(this)}};H.style=".container--s{padding-block:0.25rem;font-size:var(--calcite-font-size--2);line-height:1rem;padding-inline-end:0.5rem;padding-inline-start:1.5rem}.container--m{padding-block:0.5rem;font-size:var(--calcite-font-size--1);line-height:1rem;padding-inline-end:0.75rem;padding-inline-start:2rem}.container--l{padding-block:0.625rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;padding-inline-end:1rem;padding-inline-start:2.5rem}.container--s.container--none-selection{padding-inline-start:0.25rem}.container--s.container--none-selection .dropdown-link{padding-inline-start:0px}.container--m.container--none-selection{padding-inline-start:0.5rem}.container--m.container--none-selection .dropdown-link{padding-inline-start:0px}.container--l.container--none-selection{padding-inline-start:0.75rem}.container--l.container--none-selection .dropdown-link{padding-inline-start:0px}:host{position:relative;display:flex;flex-grow:1;align-items:center}.container{position:relative;display:flex;flex-grow:1;cursor:pointer;align-items:center;color:var(--calcite-ui-text-3);text-decoration-line:none;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);text-align:start}.dropdown-item-content{flex:1 1 auto;padding-block:0.125rem;padding-inline-end:auto;padding-inline-start:0.25rem}:host,.container--link a{outline-color:transparent}:host(:focus){outline:2px solid transparent;outline-offset:2px;outline:2px solid var(--calcite-ui-focus-color, var(--calcite-ui-brand));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-ui-focus-offset-invert),\n 1\n )\n )\n )}.container--link{padding:0px}.container--link a{position:relative;display:flex;flex-grow:1;cursor:pointer;align-items:center;color:var(--calcite-ui-text-3);text-decoration-line:none;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}.container--s .dropdown-link{padding-block:0.25rem;font-size:var(--calcite-font-size--2);line-height:1rem;padding-inline-end:0.5rem;padding-inline-start:1.5rem}.container--m .dropdown-link{padding-block:0.5rem;font-size:var(--calcite-font-size--1);line-height:1rem;padding-inline-end:0.75rem;padding-inline-start:2rem}.container--l .dropdown-link{padding-block:0.75rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;padding-inline-end:1rem;padding-inline-start:2.5rem}:host(:hover) .container,:host(:active) .container{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1);text-decoration-line:none}:host(:hover) .container--link .dropdown-link,:host(:active) .container--link .dropdown-link{color:var(--calcite-ui-text-1)}:host(:focus) .container{color:var(--calcite-ui-text-1);text-decoration-line:none}:host(:active) .container{background-color:var(--calcite-ui-foreground-3)}:host(:hover) .container:before,:host(:active) .container:before,:host(:focus) .container:before{opacity:1}:host([selected]) .container:not(.container--none-selection),:host([selected]) .container--link .dropdown-link{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1)}:host([selected]) .container:not(.container--none-selection):before,:host([selected]) .container--link .dropdown-link:before{opacity:1;color:var(--calcite-ui-brand)}:host([selected]) .container:not(.container--none-selection) calcite-icon,:host([selected]) .container--link .dropdown-link calcite-icon{color:var(--calcite-ui-brand)}.container--multi-selection:before,.container--none-selection:before{display:none}.container--s:before{inset-inline-start:0.5rem}.container--m:before{inset-inline-start:0.75rem}.container--l:before{inset-inline-start:1rem}.dropdown-item-icon{position:absolute;opacity:0;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transform:scale(0.9)}.container--s .dropdown-item-icon{inset-inline-start:0.25rem}.container--m .dropdown-item-icon{inset-inline-start:0.5rem}.container--l .dropdown-item-icon{inset-inline-start:0.75rem}:host(:hover) .dropdown-item-icon{color:var(--calcite-ui-border-1);opacity:1}:host([selected]) .dropdown-item-icon{color:var(--calcite-ui-brand);opacity:1}.container--s .dropdown-item-icon-start{margin-inline-end:0.5rem;margin-inline-start:0.25rem}.container--s .dropdown-item-icon-end{margin-inline-start:0.5rem}.container--m .dropdown-item-icon-start{margin-inline-end:0.75rem;margin-inline-start:0.25rem}.container--m .dropdown-item-icon-end{margin-inline-start:0.75rem}.container--l .dropdown-item-icon-start{margin-inline-end:1rem;margin-inline-start:0.25rem}.container--l .dropdown-item-icon-end{margin-inline-start:1rem}:host([hidden]){display:none}[hidden]{display:none}";export{E as calcite_dropdown,C as calcite_dropdown_group,H as calcite_dropdown_item}
@@ -1,11 +1,11 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
4
- * v1.5.0-next.26
4
+ * v1.5.0-next.28
5
5
  */
6
- import{g as n}from"./p-8d774ce3.js";import{C as t}from"./p-62a36cd2.js";
6
+ import{g as n}from"./p-dfc71245.js";import{C as t}from"./p-ebb84e44.js";
7
7
  /*!
8
8
  * tabbable 6.2.0
9
9
  * @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
10
10
  */
11
- var r=["input:not([inert])","select:not([inert])","textarea:not([inert])","a[href]:not([inert])","button:not([inert])","[tabindex]:not(slot):not([inert])","audio[controls]:not([inert])","video[controls]:not([inert])",'[contenteditable]:not([contenteditable="false"]):not([inert])',"details>summary:first-of-type:not([inert])","details:not([inert])"],e=r.join(","),o="undefined"==typeof Element,u=o?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,i=!o&&Element.prototype.getRootNode?function(n){var t;return null==n||null===(t=n.getRootNode)||void 0===t?void 0:t.call(n)}:function(n){return null==n?void 0:n.ownerDocument},a=function n(t,r){var e;void 0===r&&(r=!0);var o=null==t||null===(e=t.getAttribute)||void 0===e?void 0:e.call(t,"inert");return""===o||"true"===o||r&&t&&n(t.parentNode)},f=function(n,t,r){if(a(n))return[];var o=Array.prototype.slice.apply(n.querySelectorAll(e));return t&&u.call(n,e)&&o.unshift(n),o.filter(r)},l=function n(t,r,o){for(var i=[],f=Array.from(t);f.length;){var l=f.shift();if(!a(l,!1))if("SLOT"===l.tagName){var c=l.assignedElements(),s=n(c.length?c:l.children,!0,o);o.flatten?i.push.apply(i,s):i.push({scopeParent:l,candidates:s})}else{u.call(l,e)&&o.filter(l)&&(r||!t.includes(l))&&i.push(l);var d=l.shadowRoot||"function"==typeof o.getShadowRoot&&o.getShadowRoot(l),v=!a(d,!1)&&(!o.shadowRootFilter||o.shadowRootFilter(l));if(d&&v){var p=n(!0===d?l.children:d.children,!0,o);o.flatten?i.push.apply(i,p):i.push({scopeParent:l,candidates:p})}else f.unshift.apply(f,l.children)}}return i},c=function(n){return!isNaN(parseInt(n.getAttribute("tabindex"),10))},s=function(n){if(!n)throw new Error("No node provided");return n.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(n.tagName)||function(n){var t,r=null==n||null===(t=n.getAttribute)||void 0===t?void 0:t.call(n,"contenteditable");return""===r||"true"===r}(n))&&!c(n)?0:n.tabIndex},d=function(n,t){return n.tabIndex===t.tabIndex?n.documentOrder-t.documentOrder:n.tabIndex-t.tabIndex},v=function(n){return"INPUT"===n.tagName},p=function(n){var t=n.getBoundingClientRect();return 0===t.width&&0===t.height},y=function(n,t){return!(t.disabled||a(t)||function(n){return v(n)&&"hidden"===n.type}(t)||function(n,t){var r=t.displayCheck,e=t.getShadowRoot;if("hidden"===getComputedStyle(n).visibility)return!0;var o=u.call(n,"details>summary:first-of-type");if(u.call(o?n.parentElement:n,"details:not([open]) *"))return!0;if(r&&"full"!==r&&"legacy-full"!==r){if("non-zero-area"===r)return p(n)}else{if("function"==typeof e){for(var a=n;n;){var f=n.parentElement,l=i(n);if(f&&!f.shadowRoot&&!0===e(f))return p(n);n=n.assignedSlot?n.assignedSlot:f||l===n.ownerDocument?f:l.host}n=a}if(function(n){var t,r,e,o,u=n&&i(n),a=null===(t=u)||void 0===t?void 0:t.host,f=!1;if(u&&u!==n)for(f=!!(null!==(r=a)&&void 0!==r&&null!==(e=r.ownerDocument)&&void 0!==e&&e.contains(a)||null!=n&&null!==(o=n.ownerDocument)&&void 0!==o&&o.contains(n));!f&&a;){var l,c,s;f=!(null===(c=a=null===(l=u=i(a))||void 0===l?void 0:l.host)||void 0===c||null===(s=c.ownerDocument)||void 0===s||!s.contains(a))}return f}(n))return!n.getClientRects().length;if("legacy-full"!==r)return!0}return!1}(t,n)||function(n){return"DETAILS"===n.tagName&&Array.prototype.slice.apply(n.children).some((function(n){return"SUMMARY"===n.tagName}))}(t)||function(n){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(n.tagName))for(var t=n.parentElement;t;){if("FIELDSET"===t.tagName&&t.disabled){for(var r=0;r<t.children.length;r++){var e=t.children.item(r);if("LEGEND"===e.tagName)return!!u.call(t,"fieldset[disabled] *")||!e.contains(n)}return!0}t=t.parentElement}return!1}(t))},m=function(n,t){return!(function(n){return function(n){return v(n)&&"radio"===n.type}(n)&&!function(n){if(!n.name)return!0;var t,r=n.form||i(n),e=function(n){return r.querySelectorAll('input[type="radio"][name="'+n+'"]')};if("undefined"!=typeof window&&void 0!==window.CSS&&"function"==typeof window.CSS.escape)t=e(window.CSS.escape(n.name));else try{t=e(n.name)}catch(n){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",n.message),!1}var o=function(n,t){for(var r=0;r<n.length;r++)if(n[r].checked&&n[r].form===t)return n[r]}(t,n.form);return!o||o===n}(n)}(t)||s(t)<0||!y(n,t))},w=function(n){var t=parseInt(n.getAttribute("tabindex"),10);return!!(isNaN(t)||t>=0)},E=function n(t){var r=[],e=[];return t.forEach((function(t,o){var u=!!t.scopeParent,i=u?t.scopeParent:t,a=function(n,t){var r=s(n);return r<0&&t&&!c(n)?0:r}(i,u),f=u?n(t.candidates):i;0===a?u?r.push.apply(r,f):r.push(i):e.push({documentOrder:o,tabIndex:a,item:t,isScope:u,content:f})})),e.sort(d).reduce((function(n,t){return t.isScope?n.push.apply(n,t.content):n.push(t.content),n}),[]).concat(r)},h=function(n,t){var r;return r=(t=t||{}).getShadowRoot?l([n],t.includeContainer,{filter:m.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:w}):f(n,t.includeContainer,m.bind(null,t)),E(r)},A=function(n,t){return(t=t||{}).getShadowRoot?l([n],t.includeContainer,{filter:y.bind(null,t),flatten:!0,getShadowRoot:t.getShadowRoot}):f(n,t.includeContainer,y.bind(null,t))},S=function(n,t){if(t=t||{},!n)throw new Error("No node provided");return!1!==u.call(n,e)&&m(t,n)},g=r.concat("iframe").join(","),b=function(n,t){if(t=t||{},!n)throw new Error("No node provided");return!1!==u.call(n,g)&&y(t,n)};const N={getShadowRoot:!0};function I(t){return t?t.id=t.id||`${t.tagName.toLowerCase()}-${n()}`:""}function T(n){return Array.isArray(n)?n:Array.from(n)}function x(n){return O(n,`.${t.darkMode}, .${t.lightMode}`)?.classList.contains("calcite-mode-dark")?"dark":"light"}function $(n){const t=O(n,"[dir]");return t?t.getAttribute("dir"):"ltr"}function L(n,t,r){const e=n.closest(`[${t}]`);return e?e.getAttribute(t):r}function R(n){return n.getRootNode()}function D(n){const t=R(n);return"host"in t?t:null}function k(n){return n.host||null}function C(n,{selector:t,id:r}){return function n(e){if(!e)return null;e.assignedSlot&&(e=e.assignedSlot);const o=R(e),u=r?"getElementById"in o?o.getElementById(r):null:t?o.querySelector(t):null,i=k(o);return u||(i?n(i):null)}(n)}function O(n,t){return function n(r){return r?r.closest(t)||n(k(R(r))):null}(n)}function U(n,t){return P(n,t)}function P(n,t){if(!n)return;const r=t(n);if(void 0!==r)return r;const{parentNode:e}=n;return P(e instanceof ShadowRoot?e.host:e,t)}function j(n,t){return!!U(t,(t=>t===n||void 0))}async function B(n){if(n)return function(n){return"function"==typeof n?.setFocus}(n)?n.setFocus():n.focus()}function z(n){n&&(h(n,N)[0]||n).focus()}const F=":not([slot])";function M(n,t,r){t&&!Array.isArray(t)&&"string"!=typeof t&&(r=t,t=null);const e=t?Array.isArray(t)?t.map((n=>`[slot="${n}"]`)).join(","):`[slot="${t}"]`:F;return r?.all?function(n,t,r){let e=t===F?q(n,F):Array.from(n.querySelectorAll(t));e=r&&!1===r.direct?e:e.filter((t=>t.parentElement===n)),e=r?.matches?e.filter((n=>n?.matches(r.matches))):e;const o=r?.selector;return o?e.map((n=>Array.from(n.querySelectorAll(o)))).reduce(((n,t)=>[...n,...t]),[]).filter((n=>!!n)):e}(n,e,r):function(n,t,r){let e=t===F?q(n,F)[0]||null:n.querySelector(t);e=r&&!1===r.direct||e?.parentElement===n?e:null,e=r?.matches?e?.matches(r.matches)?e:null:e;const o=r?.selector;return o?e?.querySelector(o):e}(n,e,r)}function q(n,t){return n?Array.from(n.children||[]).filter((n=>n?.matches(t))):[]}function G(n,t){return Array.from(n.children).filter((n=>n.matches(t)))}function V(n,t,r){return"string"==typeof t&&""!==t?t:""===t?n[r]:void 0}function X(n,t){return!(t.left>n.right||t.right<n.left||t.top>n.bottom||t.bottom<n.top)}function Y(n){return Boolean(n).toString()}function H(n){return!!J(n).length}function J(n){return n.target.assignedElements({flatten:!0})}function K(n){return!(!n.isPrimary||0!==n.button)}const Q=(n,t,r,e=!0)=>{const o=n.indexOf(t);let u;return e&&(r="previous"===r&&0===o?"last":"next"===r&&o===n.length-1?"first":r),u="previous"===r?n[o-1]||n[e?n.length-1:o]:"next"===r?n[o+1]||n[e?0:o]:"last"===r?n[n.length-1]:n[0],B(u),u};export{G as A,j as a,$ as b,O as c,B as d,H as e,z as f,M as g,V as h,K as i,x as j,Q as k,h as l,A as m,S as n,s as o,b as p,C as q,N as r,J as s,Y as t,I as u,D as v,L as w,X as x,T as y,R as z}
11
+ var r=["input:not([inert])","select:not([inert])","textarea:not([inert])","a[href]:not([inert])","button:not([inert])","[tabindex]:not(slot):not([inert])","audio[controls]:not([inert])","video[controls]:not([inert])",'[contenteditable]:not([contenteditable="false"]):not([inert])',"details>summary:first-of-type:not([inert])","details:not([inert])"],e=r.join(","),o="undefined"==typeof Element,u=o?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,i=!o&&Element.prototype.getRootNode?function(n){var t;return null==n||null===(t=n.getRootNode)||void 0===t?void 0:t.call(n)}:function(n){return null==n?void 0:n.ownerDocument},a=function n(t,r){var e;void 0===r&&(r=!0);var o=null==t||null===(e=t.getAttribute)||void 0===e?void 0:e.call(t,"inert");return""===o||"true"===o||r&&t&&n(t.parentNode)},f=function(n,t,r){if(a(n))return[];var o=Array.prototype.slice.apply(n.querySelectorAll(e));return t&&u.call(n,e)&&o.unshift(n),o.filter(r)},l=function n(t,r,o){for(var i=[],f=Array.from(t);f.length;){var l=f.shift();if(!a(l,!1))if("SLOT"===l.tagName){var c=l.assignedElements(),s=n(c.length?c:l.children,!0,o);o.flatten?i.push.apply(i,s):i.push({scopeParent:l,candidates:s})}else{u.call(l,e)&&o.filter(l)&&(r||!t.includes(l))&&i.push(l);var d=l.shadowRoot||"function"==typeof o.getShadowRoot&&o.getShadowRoot(l),v=!a(d,!1)&&(!o.shadowRootFilter||o.shadowRootFilter(l));if(d&&v){var p=n(!0===d?l.children:d.children,!0,o);o.flatten?i.push.apply(i,p):i.push({scopeParent:l,candidates:p})}else f.unshift.apply(f,l.children)}}return i},c=function(n){return!isNaN(parseInt(n.getAttribute("tabindex"),10))},s=function(n){if(!n)throw new Error("No node provided");return n.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(n.tagName)||function(n){var t,r=null==n||null===(t=n.getAttribute)||void 0===t?void 0:t.call(n,"contenteditable");return""===r||"true"===r}(n))&&!c(n)?0:n.tabIndex},d=function(n,t){return n.tabIndex===t.tabIndex?n.documentOrder-t.documentOrder:n.tabIndex-t.tabIndex},v=function(n){return"INPUT"===n.tagName},p=function(n){var t=n.getBoundingClientRect();return 0===t.width&&0===t.height},y=function(n,t){return!(t.disabled||a(t)||function(n){return v(n)&&"hidden"===n.type}(t)||function(n,t){var r=t.displayCheck,e=t.getShadowRoot;if("hidden"===getComputedStyle(n).visibility)return!0;var o=u.call(n,"details>summary:first-of-type");if(u.call(o?n.parentElement:n,"details:not([open]) *"))return!0;if(r&&"full"!==r&&"legacy-full"!==r){if("non-zero-area"===r)return p(n)}else{if("function"==typeof e){for(var a=n;n;){var f=n.parentElement,l=i(n);if(f&&!f.shadowRoot&&!0===e(f))return p(n);n=n.assignedSlot?n.assignedSlot:f||l===n.ownerDocument?f:l.host}n=a}if(function(n){var t,r,e,o,u=n&&i(n),a=null===(t=u)||void 0===t?void 0:t.host,f=!1;if(u&&u!==n)for(f=!!(null!==(r=a)&&void 0!==r&&null!==(e=r.ownerDocument)&&void 0!==e&&e.contains(a)||null!=n&&null!==(o=n.ownerDocument)&&void 0!==o&&o.contains(n));!f&&a;){var l,c,s;f=!(null===(c=a=null===(l=u=i(a))||void 0===l?void 0:l.host)||void 0===c||null===(s=c.ownerDocument)||void 0===s||!s.contains(a))}return f}(n))return!n.getClientRects().length;if("legacy-full"!==r)return!0}return!1}(t,n)||function(n){return"DETAILS"===n.tagName&&Array.prototype.slice.apply(n.children).some((function(n){return"SUMMARY"===n.tagName}))}(t)||function(n){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(n.tagName))for(var t=n.parentElement;t;){if("FIELDSET"===t.tagName&&t.disabled){for(var r=0;r<t.children.length;r++){var e=t.children.item(r);if("LEGEND"===e.tagName)return!!u.call(t,"fieldset[disabled] *")||!e.contains(n)}return!0}t=t.parentElement}return!1}(t))},m=function(n,t){return!(function(n){return function(n){return v(n)&&"radio"===n.type}(n)&&!function(n){if(!n.name)return!0;var t,r=n.form||i(n),e=function(n){return r.querySelectorAll('input[type="radio"][name="'+n+'"]')};if("undefined"!=typeof window&&void 0!==window.CSS&&"function"==typeof window.CSS.escape)t=e(window.CSS.escape(n.name));else try{t=e(n.name)}catch(n){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",n.message),!1}var o=function(n,t){for(var r=0;r<n.length;r++)if(n[r].checked&&n[r].form===t)return n[r]}(t,n.form);return!o||o===n}(n)}(t)||s(t)<0||!y(n,t))},w=function(n){var t=parseInt(n.getAttribute("tabindex"),10);return!!(isNaN(t)||t>=0)},E=function n(t){var r=[],e=[];return t.forEach((function(t,o){var u=!!t.scopeParent,i=u?t.scopeParent:t,a=function(n,t){var r=s(n);return r<0&&t&&!c(n)?0:r}(i,u),f=u?n(t.candidates):i;0===a?u?r.push.apply(r,f):r.push(i):e.push({documentOrder:o,tabIndex:a,item:t,isScope:u,content:f})})),e.sort(d).reduce((function(n,t){return t.isScope?n.push.apply(n,t.content):n.push(t.content),n}),[]).concat(r)},h=function(n,t){var r;return r=(t=t||{}).getShadowRoot?l([n],t.includeContainer,{filter:m.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:w}):f(n,t.includeContainer,m.bind(null,t)),E(r)},A=function(n,t){return(t=t||{}).getShadowRoot?l([n],t.includeContainer,{filter:y.bind(null,t),flatten:!0,getShadowRoot:t.getShadowRoot}):f(n,t.includeContainer,y.bind(null,t))},S=function(n,t){if(t=t||{},!n)throw new Error("No node provided");return!1!==u.call(n,e)&&m(t,n)},b=r.concat("iframe").join(","),g=function(n,t){if(t=t||{},!n)throw new Error("No node provided");return!1!==u.call(n,b)&&y(t,n)};const N={getShadowRoot:!0};function I(t){return t?t.id=t.id||`${t.tagName.toLowerCase()}-${n()}`:""}function T(n){return Array.isArray(n)?n:Array.from(n)}function x(n){return O(n,`.${t.darkMode}, .${t.lightMode}`)?.classList.contains("calcite-mode-dark")?"dark":"light"}function $(n){const t=O(n,"[dir]");return t?t.getAttribute("dir"):"ltr"}function L(n,t,r){const e=n.closest(`[${t}]`);return e?e.getAttribute(t):r}function R(n){return n.getRootNode()}function D(n){const t=R(n);return"host"in t?t:null}function k(n){return n.host||null}function C(n,{selector:t,id:r}){return function n(e){if(!e)return null;e.assignedSlot&&(e=e.assignedSlot);const o=R(e),u=r?"getElementById"in o?o.getElementById(r):null:t?o.querySelector(t):null,i=k(o);return u||(i?n(i):null)}(n)}function O(n,t){return function n(r){return r?r.closest(t)||n(k(R(r))):null}(n)}function U(n,t){return P(n,t)}function P(n,t){if(!n)return;const r=t(n);if(void 0!==r)return r;const{parentNode:e}=n;return P(e instanceof ShadowRoot?e.host:e,t)}function j(n,t){return!!U(t,(t=>t===n||void 0))}async function B(n){if(n)return function(n){return"function"==typeof n?.setFocus}(n)?n.setFocus():n.focus()}function z(n){n&&(h(n,N)[0]||n).focus()}const F=":not([slot])";function M(n,t,r){t&&!Array.isArray(t)&&"string"!=typeof t&&(r=t,t=null);const e=t?Array.isArray(t)?t.map((n=>`[slot="${n}"]`)).join(","):`[slot="${t}"]`:F;return r?.all?function(n,t,r){let e=t===F?q(n,F):Array.from(n.querySelectorAll(t));e=r&&!1===r.direct?e:e.filter((t=>t.parentElement===n)),e=r?.matches?e.filter((n=>n?.matches(r.matches))):e;const o=r?.selector;return o?e.map((n=>Array.from(n.querySelectorAll(o)))).reduce(((n,t)=>[...n,...t]),[]).filter((n=>!!n)):e}(n,e,r):function(n,t,r){let e=t===F?q(n,F)[0]||null:n.querySelector(t);e=r&&!1===r.direct||e?.parentElement===n?e:null,e=r?.matches?e?.matches(r.matches)?e:null:e;const o=r?.selector;return o?e?.querySelector(o):e}(n,e,r)}function q(n,t){return n?Array.from(n.children||[]).filter((n=>n?.matches(t))):[]}function G(n,t){return Array.from(n.children).filter((n=>n.matches(t)))}function V(n,t,r){return"string"==typeof t&&""!==t?t:""===t?n[r]:void 0}function X(n,t){return!(t.left>n.right||t.right<n.left||t.top>n.bottom||t.bottom<n.top)}function Y(n){return Boolean(n).toString()}function H(n){return!!J(n).length}function J(n){return n.target.assignedElements({flatten:!0})}function K(n){return!(!n.isPrimary||0!==n.button)}const Q=(n,t,r,e=!0)=>{const o=n.indexOf(t);let u;return e&&(r="previous"===r&&0===o?"last":"next"===r&&o===n.length-1?"first":r),u="previous"===r?n[o-1]||n[e?n.length-1:o]:"next"===r?n[o+1]||n[e?0:o]:"last"===r?n[n.length-1]:n[0],B(u),u};export{G as A,j as a,$ as b,O as c,B as d,H as e,z as f,M as g,V as h,K as i,x as j,Q as k,h as l,A as m,S as n,s as o,g as p,C as q,N as r,J as s,Y as t,I as u,D as v,L as w,X as x,T as y,R as z}
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
4
- * v1.5.0-next.26
4
+ * v1.5.0-next.28
5
5
  */
6
- import{r as t,c as e,h as s,H as i,a as o}from"./p-4e34cca9.js";import{b as a}from"./p-33716470.js";import{c as l,u as c,d as n}from"./p-e3175db7.js";import{s as r,a as d,c as h}from"./p-282e6a51.js";import{c as p,d as m}from"./p-37b2620f.js";import{c as b,s as f,d as u,u as g}from"./p-1f80cc68.js";import{S as v}from"./p-c289a4ca.js";import"./p-8d774ce3.js";import"./p-62a36cd2.js";import"./p-fc98a961.js";import"./p-185d0b4d.js";const k=class{constructor(s){t(this,s),this.calciteFlowItemBack=e(this,"calciteFlowItemBack",6),this.calciteFlowItemScroll=e(this,"calciteFlowItemScroll",6),this.calciteFlowItemClose=e(this,"calciteFlowItemClose",6),this.handlePanelScroll=t=>{t.stopPropagation(),this.calciteFlowItemScroll.emit()},this.handlePanelClose=t=>{t.stopPropagation(),this.calciteFlowItemClose.emit()},this.backButtonClick=()=>{this.calciteFlowItemBack.emit()},this.setBackRef=t=>{this.backButtonEl=t},this.setContainerRef=t=>{this.containerEl=t},this.closable=!1,this.closed=!1,this.beforeBack=void 0,this.description=void 0,this.disabled=!1,this.heading=void 0,this.headingLevel=void 0,this.loading=!1,this.menuOpen=!1,this.messageOverrides=void 0,this.messages=void 0,this.showBackButton=!1,this.backButtonEl=void 0,this.defaultMessages=void 0,this.effectiveLocale=""}onMessagesChange(){}connectedCallback(){l(this),p(this),b(this)}async componentWillLoad(){await f(this),r(this)}componentDidRender(){c(this)}disconnectedCallback(){n(this),m(this),u(this)}componentDidLoad(){d(this)}effectiveLocaleChange(){g(this,this.effectiveLocale)}async setFocus(){await h(this);const{backButtonEl:t,containerEl:e}=this;return t?t.setFocus():e?e.setFocus():void 0}async scrollContentTo(t){await(this.containerEl?.scrollContentTo(t))}renderBackButton(){const{el:t}=this,e="rtl"===a(t),{showBackButton:i,backButtonClick:o,messages:l}=this,c=l.back;return i?s("calcite-action",{"aria-label":c,class:"back-button",icon:e?"chevron-right":"chevron-left",key:"flow-back-button",onClick:o,scale:"s",slot:"header-actions-start",text:c,ref:this.setBackRef}):null}render(){const{closable:t,closed:e,description:o,disabled:a,heading:l,headingLevel:c,loading:n,menuOpen:r,messages:d,backButtonEl:h}=this,p=d.back;return s(i,null,s("calcite-panel",{closable:t,closed:e,description:o,disabled:a,heading:l,headingLevel:c,loading:n,menuOpen:r,messageOverrides:d,onCalcitePanelClose:this.handlePanelClose,onCalcitePanelScroll:this.handlePanelScroll,ref:this.setContainerRef},this.renderBackButton(),s("slot",{name:"action-bar",slot:v.actionBar}),s("slot",{name:"header-actions-start",slot:v.headerActionsStart}),s("slot",{name:"header-actions-end",slot:v.headerActionsEnd}),s("slot",{name:"header-content",slot:v.headerContent}),s("slot",{name:"header-menu-actions",slot:v.headerMenuActions}),s("slot",{name:"fab",slot:v.fab}),s("slot",{name:"footer-actions",slot:v.footerActions}),s("slot",{name:"footer",slot:v.footer}),s("slot",null)),h?s("calcite-tooltip",{closeOnClick:!0,label:p,overlayPositioning:"fixed",placement:"top",referenceElement:h},p):null)}static get assetsDirs(){return["assets"]}get el(){return o(this)}static get watchers(){return{messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};k.style=":host{box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}:host *{box-sizing:border-box}:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{position:relative;display:flex;inline-size:100%;flex:1 1 auto;overflow:hidden;--calcite-flow-item-footer-padding:0.5rem}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.back-button{border-width:0px;border-style:solid;border-color:var(--calcite-ui-border-3);border-inline-end-width:1px}calcite-panel{--calcite-panel-footer-padding:var(--calcite-flow-item-footer-padding)}:host([hidden]){display:none}[hidden]{display:none}";export{k as calcite_flow_item}
6
+ import{r as t,c as e,h as s,H as i,a as o}from"./p-a14756f4.js";import{b as a}from"./p-a80dd470.js";import{c as l,u as n,d as c}from"./p-a61fb283.js";import{s as r,a as d,c as h}from"./p-69c1e850.js";import{c as b,d as p}from"./p-6986101b.js";import{c as m,s as f,d as u,u as g}from"./p-26ca2b57.js";import{S as v}from"./p-9291d07b.js";import"./p-dfc71245.js";import"./p-ebb84e44.js";import"./p-f43c41a7.js";import"./p-b193b80f.js";const k=class{constructor(s){t(this,s),this.calciteFlowItemBack=e(this,"calciteFlowItemBack",6),this.calciteFlowItemScroll=e(this,"calciteFlowItemScroll",6),this.calciteFlowItemClose=e(this,"calciteFlowItemClose",6),this.handlePanelScroll=t=>{t.stopPropagation(),this.calciteFlowItemScroll.emit()},this.handlePanelClose=t=>{t.stopPropagation(),this.calciteFlowItemClose.emit()},this.backButtonClick=()=>{this.calciteFlowItemBack.emit()},this.setBackRef=t=>{this.backButtonEl=t},this.setContainerRef=t=>{this.containerEl=t},this.closable=!1,this.closed=!1,this.beforeBack=void 0,this.description=void 0,this.disabled=!1,this.heading=void 0,this.headingLevel=void 0,this.loading=!1,this.menuOpen=!1,this.messageOverrides=void 0,this.messages=void 0,this.showBackButton=!1,this.backButtonEl=void 0,this.defaultMessages=void 0,this.effectiveLocale=""}onMessagesChange(){}connectedCallback(){l(this),b(this),m(this)}async componentWillLoad(){await f(this),r(this)}componentDidRender(){n(this)}disconnectedCallback(){c(this),p(this),u(this)}componentDidLoad(){d(this)}effectiveLocaleChange(){g(this,this.effectiveLocale)}async setFocus(){await h(this);const{backButtonEl:t,containerEl:e}=this;return t?t.setFocus():e?e.setFocus():void 0}async scrollContentTo(t){await(this.containerEl?.scrollContentTo(t))}renderBackButton(){const{el:t}=this,e="rtl"===a(t),{showBackButton:i,backButtonClick:o,messages:l}=this,n=l.back;return i?s("calcite-action",{"aria-label":n,class:"back-button",icon:e?"chevron-right":"chevron-left",key:"flow-back-button",onClick:o,scale:"s",slot:"header-actions-start",text:n,ref:this.setBackRef}):null}render(){const{closable:t,closed:e,description:o,disabled:a,heading:l,headingLevel:n,loading:c,menuOpen:r,messages:d,backButtonEl:h}=this,b=d.back;return s(i,null,s("calcite-panel",{closable:t,closed:e,description:o,disabled:a,heading:l,headingLevel:n,loading:c,menuOpen:r,messageOverrides:d,onCalcitePanelClose:this.handlePanelClose,onCalcitePanelScroll:this.handlePanelScroll,ref:this.setContainerRef},this.renderBackButton(),s("slot",{name:"action-bar",slot:v.actionBar}),s("slot",{name:"header-actions-start",slot:v.headerActionsStart}),s("slot",{name:"header-actions-end",slot:v.headerActionsEnd}),s("slot",{name:"header-content",slot:v.headerContent}),s("slot",{name:"header-menu-actions",slot:v.headerMenuActions}),s("slot",{name:"fab",slot:v.fab}),s("slot",{name:"footer-actions",slot:v.footerActions}),s("slot",{name:"footer",slot:v.footer}),s("slot",null)),h?s("calcite-tooltip",{closeOnClick:!0,label:b,overlayPositioning:"fixed",placement:"top",referenceElement:h},b):null)}static get assetsDirs(){return["assets"]}get el(){return o(this)}static get watchers(){return{messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};k.style=":host{box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}:host *{box-sizing:border-box}:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{position:relative;display:flex;inline-size:100%;flex:1 1 auto;overflow:hidden;--calcite-flow-item-footer-padding:0.5rem}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.back-button{border-width:0px;border-style:solid;border-color:var(--calcite-ui-border-3);border-inline-end-width:1px}calcite-panel{--calcite-panel-footer-padding:var(--calcite-flow-item-footer-padding)}:host([hidden]){display:none}[hidden]{display:none}";export{k as calcite_flow_item}
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
4
- * v1.5.0-next.26
4
+ * v1.5.0-next.28
5
5
  */
6
- import{d as e}from"./p-4cd7685c.js";import"./p-4e34cca9.js";import"./p-4f9b4b87.js";import"./p-33716470.js";import"./p-8d774ce3.js";import"./p-62a36cd2.js";import"./p-e3175db7.js";import"./p-fc98a961.js";import"./p-4e7f7a1d.js";import"./p-282e6a51.js";import"./p-37b2620f.js";import"./p-185d0b4d.js";import"./p-80e54748.js";import"./p-1f80cc68.js";var o={name:"it",weekdays:"domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),weekStart:1,monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"tra %s",past:"%s fa",s:"qualche secondo",m:"un minuto",mm:"%d minuti",h:"un' ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},ordinal:function(e){return e+"º"}};e.locale(o,null,!0);export default o;
6
+ import{d as o}from"./p-2a734f90.js";import"./p-a14756f4.js";import"./p-a37b6456.js";import"./p-a80dd470.js";import"./p-dfc71245.js";import"./p-ebb84e44.js";import"./p-a61fb283.js";import"./p-f43c41a7.js";import"./p-3255ae23.js";import"./p-69c1e850.js";import"./p-6986101b.js";import"./p-b193b80f.js";import"./p-ad830b3a.js";import"./p-26ca2b57.js";var e={name:"it",weekdays:"domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),weekStart:1,monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"tra %s",past:"%s fa",s:"qualche secondo",m:"un minuto",mm:"%d minuti",h:"un' ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},ordinal:function(o){return o+"º"}};o.locale(e,null,!0);export default e;
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
4
- * v1.5.0-next.26
4
+ * v1.5.0-next.28
5
5
  */
6
- import{d as e}from"./p-4cd7685c.js";import"./p-4e34cca9.js";import"./p-4f9b4b87.js";import"./p-33716470.js";import"./p-8d774ce3.js";import"./p-62a36cd2.js";import"./p-e3175db7.js";import"./p-fc98a961.js";import"./p-4e7f7a1d.js";import"./p-282e6a51.js";import"./p-37b2620f.js";import"./p-185d0b4d.js";import"./p-80e54748.js";import"./p-1f80cc68.js";var m={name:"fr",weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},ordinal:function(e){return e+(1===e?"er":"")}};e.locale(m,null,!0);export default m;
6
+ import{d as e}from"./p-2a734f90.js";import"./p-a14756f4.js";import"./p-a37b6456.js";import"./p-a80dd470.js";import"./p-dfc71245.js";import"./p-ebb84e44.js";import"./p-a61fb283.js";import"./p-f43c41a7.js";import"./p-3255ae23.js";import"./p-69c1e850.js";import"./p-6986101b.js";import"./p-b193b80f.js";import"./p-ad830b3a.js";import"./p-26ca2b57.js";var m={name:"fr",weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},ordinal:function(e){return e+(1===e?"er":"")}};e.locale(m,null,!0);export default m;