@esri/calcite-components 1.0.0-next.451 → 1.0.0-next.454

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 (803) hide show
  1. package/dist/calcite/calcite.esm.js +2 -2
  2. package/dist/calcite/calcite.js +1 -1
  3. package/dist/calcite/index.esm.js +1 -1
  4. package/dist/calcite/p-00e58d75.entry.js +6 -0
  5. package/dist/calcite/{p-f816ea2d.entry.js → p-0175f58f.entry.js} +2 -2
  6. package/dist/calcite/{p-839dc6ad.system.entry.js → p-0528c983.system.entry.js} +2 -2
  7. package/dist/calcite/{p-c99c4cfa.system.js → p-086b9bee.system.js} +1 -1
  8. package/dist/calcite/{p-03009051.entry.js → p-08d5232e.entry.js} +2 -2
  9. package/dist/calcite/{p-93396b55.entry.js → p-0afa3413.entry.js} +2 -2
  10. package/dist/calcite/{p-23ed15a2.entry.js → p-10c33f13.entry.js} +2 -2
  11. package/dist/calcite/{p-73af6e68.system.entry.js → p-10e0724b.system.entry.js} +3 -3
  12. package/dist/calcite/{p-cc7101ad.entry.js → p-122c84e0.entry.js} +2 -2
  13. package/dist/calcite/p-13095f6a.system.entry.js +6 -0
  14. package/dist/calcite/{p-cdc6a74a.entry.js → p-14379123.entry.js} +2 -2
  15. package/dist/calcite/{p-fe6465ed.system.js → p-14a3ac93.system.js} +2 -2
  16. package/dist/calcite/p-16b7f8a7.js +6 -0
  17. package/dist/calcite/{p-1e65d8ba.system.entry.js → p-1d23338c.system.entry.js} +2 -2
  18. package/dist/calcite/{p-a4e8a0fd.entry.js → p-2050ddc2.entry.js} +2 -2
  19. package/dist/calcite/p-2362c78d.entry.js +6 -0
  20. package/dist/calcite/{p-0ec737d9.entry.js → p-242b7f5a.entry.js} +2 -2
  21. package/dist/calcite/{p-1ec4f990.entry.js → p-25a8f292.entry.js} +2 -2
  22. package/dist/calcite/{p-5dc7dfbc.js → p-25dad656.js} +1 -1
  23. package/dist/calcite/{p-0e75cf33.system.entry.js → p-275b4d69.system.entry.js} +2 -2
  24. package/dist/calcite/{p-68215210.system.entry.js → p-276fe3b2.system.entry.js} +2 -2
  25. package/dist/calcite/{p-e4a48f8a.entry.js → p-28f1cfee.entry.js} +2 -2
  26. package/dist/calcite/{p-74d0553f.entry.js → p-31733326.entry.js} +2 -2
  27. package/dist/calcite/{p-686ecf74.system.entry.js → p-32230e62.system.entry.js} +2 -2
  28. package/dist/calcite/{p-1431c5de.entry.js → p-35cb2b15.entry.js} +2 -2
  29. package/dist/calcite/{p-90ab2c26.js → p-389aa127.js} +2 -2
  30. package/dist/calcite/p-38cc88e8.entry.js +6 -0
  31. package/dist/calcite/{p-42f8e68f.system.js → p-38e33fee.system.js} +2 -2
  32. package/dist/calcite/{p-b29f8943.system.entry.js → p-3a4f5e97.system.entry.js} +2 -2
  33. package/dist/calcite/{p-2d5d3f6f.system.entry.js → p-3b84cc23.system.entry.js} +2 -2
  34. package/dist/calcite/{p-4159bf79.system.entry.js → p-3cb2d462.system.entry.js} +2 -2
  35. package/dist/calcite/{p-5330245c.entry.js → p-3ddc2886.entry.js} +2 -2
  36. package/dist/calcite/{p-1c3a4407.system.entry.js → p-3e1b2a90.system.entry.js} +2 -2
  37. package/dist/calcite/{p-0533dd39.js → p-3ec67085.js} +2 -2
  38. package/dist/calcite/{p-a5bcedca.js → p-3f10754b.js} +1 -1
  39. package/dist/calcite/{p-4a47ede2.entry.js → p-44281e67.entry.js} +2 -2
  40. package/dist/calcite/{p-868d4330.js → p-444683c3.js} +1 -1
  41. package/dist/calcite/{p-6e149879.system.js → p-44663e7e.system.js} +2 -2
  42. package/dist/calcite/{p-5b78dcd1.system.entry.js → p-4496be24.system.entry.js} +3 -3
  43. package/dist/calcite/{p-b1dcad7c.entry.js → p-44c584d3.entry.js} +2 -2
  44. package/dist/calcite/{p-bd320611.system.entry.js → p-455d2cb8.system.entry.js} +2 -2
  45. package/dist/calcite/{p-6aa00f3e.entry.js → p-45bfd61f.entry.js} +2 -2
  46. package/dist/calcite/{p-026253fb.system.entry.js → p-4610510d.system.entry.js} +2 -2
  47. package/dist/calcite/{p-22ac7787.system.entry.js → p-48de405c.system.entry.js} +2 -2
  48. package/dist/calcite/{p-03733ab4.system.js → p-4d402573.system.js} +1 -1
  49. package/dist/calcite/{p-18a1eb96.system.entry.js → p-4d4e9892.system.entry.js} +2 -2
  50. package/dist/calcite/{p-abb60f47.system.js → p-50441ee7.system.js} +1 -1
  51. package/dist/calcite/{p-8691eba2.system.entry.js → p-51708a23.system.entry.js} +2 -2
  52. package/dist/calcite/{p-c572845f.entry.js → p-536b8a8a.entry.js} +2 -2
  53. package/dist/calcite/p-5448db1c.js +6 -0
  54. package/dist/calcite/{p-51557731.system.entry.js → p-556b76a7.system.entry.js} +2 -2
  55. package/dist/calcite/p-560ca9fb.js +6 -0
  56. package/dist/calcite/{p-9bfb3ee6.system.entry.js → p-57d97825.system.entry.js} +2 -2
  57. package/dist/calcite/{p-b795593f.system.entry.js → p-582bad43.system.entry.js} +2 -2
  58. package/dist/calcite/{p-f70a676b.entry.js → p-58f7b68d.entry.js} +2 -2
  59. package/dist/calcite/{p-9943c1ff.entry.js → p-60171fd7.entry.js} +2 -2
  60. package/dist/calcite/p-60c7efbf.system.js +6 -0
  61. package/dist/calcite/{p-3533b9d0.system.entry.js → p-65b46c82.system.entry.js} +2 -2
  62. package/dist/calcite/{p-8cb3f2b4.entry.js → p-686640c2.entry.js} +2 -2
  63. package/dist/calcite/{p-e7f955b7.system.entry.js → p-68a00675.system.entry.js} +2 -2
  64. package/dist/calcite/{p-d7820040.system.js → p-6968fff7.system.js} +1 -1
  65. package/dist/calcite/{p-b0653a3b.system.entry.js → p-6a65384a.system.entry.js} +2 -2
  66. package/dist/calcite/{p-e8979eca.entry.js → p-6d6bb06f.entry.js} +2 -2
  67. package/dist/calcite/{p-8a87f6a7.system.entry.js → p-6e66b7af.system.entry.js} +3 -3
  68. package/dist/calcite/p-714245ec.system.entry.js +6 -0
  69. package/dist/calcite/{p-f667e000.system.js → p-7299d750.system.js} +2 -2
  70. package/dist/calcite/{p-6feb82f3.js → p-73463ccd.js} +2 -2
  71. package/dist/calcite/{p-a7f8fac9.entry.js → p-73a2a293.entry.js} +2 -2
  72. package/dist/calcite/{p-2c06b3f6.js → p-73b025f5.js} +1 -1
  73. package/dist/calcite/{p-cf877478.js → p-768645d2.js} +2 -2
  74. package/dist/calcite/{p-d4b33ea0.system.entry.js → p-7bbf2bd9.system.entry.js} +2 -2
  75. package/dist/calcite/{p-05e00de2.entry.js → p-7be5197a.entry.js} +2 -2
  76. package/dist/calcite/{p-7735dd0f.entry.js → p-7cf5acaa.entry.js} +2 -2
  77. package/dist/calcite/{p-743e0227.system.entry.js → p-7ddac511.system.entry.js} +3 -3
  78. package/dist/calcite/{p-e42dc50b.system.entry.js → p-82e93e77.system.entry.js} +2 -2
  79. package/dist/calcite/{p-7c3e69cf.entry.js → p-83edf54a.entry.js} +2 -2
  80. package/dist/calcite/{p-7fe42892.entry.js → p-8695390d.entry.js} +2 -2
  81. package/dist/calcite/{p-22c66af6.system.js → p-87c412e1.system.js} +1 -1
  82. package/dist/calcite/{p-a5b91810.system.js → p-881ec49c.system.js} +2 -2
  83. package/dist/calcite/{p-2fd4dc98.js → p-8972c447.js} +1 -1
  84. package/dist/calcite/{p-56df3a19.js → p-8ab987ef.js} +1 -1
  85. package/dist/calcite/{p-e486b87a.entry.js → p-8b6683a9.entry.js} +2 -2
  86. package/dist/calcite/{p-8438acbd.system.js → p-8f8e1b63.system.js} +1 -1
  87. package/dist/calcite/{p-ebae517b.entry.js → p-8fb3b9d9.entry.js} +2 -2
  88. package/dist/calcite/{p-ee0ad55a.system.entry.js → p-907098a6.system.entry.js} +2 -2
  89. package/dist/calcite/{p-51c80b17.js → p-93dcbc3b.js} +1 -1
  90. package/dist/calcite/{p-44387d71.entry.js → p-98a8f57b.entry.js} +2 -2
  91. package/dist/calcite/{p-a596a1ed.entry.js → p-9adc2877.entry.js} +2 -2
  92. package/dist/calcite/{p-2e494748.entry.js → p-9c62772d.entry.js} +2 -2
  93. package/dist/calcite/{p-49561126.entry.js → p-a7da473c.entry.js} +2 -2
  94. package/dist/calcite/{p-d1b4ee69.system.entry.js → p-a9ea3960.system.entry.js} +2 -2
  95. package/dist/calcite/{p-f43a3c3a.system.js → p-aa763e8a.system.js} +1 -1
  96. package/dist/calcite/{p-3e12cf71.js → p-ab8b37c7.js} +1 -1
  97. package/dist/calcite/{p-c2ae0940.entry.js → p-ad8c1a65.entry.js} +2 -2
  98. package/dist/calcite/{p-8576ff71.system.entry.js → p-b04992c1.system.entry.js} +2 -2
  99. package/dist/calcite/{p-efd814f7.system.entry.js → p-b0ecaa29.system.entry.js} +2 -2
  100. package/dist/calcite/{p-d7ea04ae.system.entry.js → p-b2c31a0d.system.entry.js} +2 -2
  101. package/dist/calcite/{p-191b8a0a.system.entry.js → p-b365b232.system.entry.js} +2 -2
  102. package/dist/calcite/{p-336a3879.system.entry.js → p-b58b3deb.system.entry.js} +2 -2
  103. package/dist/calcite/{p-1cea6958.entry.js → p-b5eb0940.entry.js} +2 -2
  104. package/dist/calcite/{p-e8239d57.entry.js → p-b62124e5.entry.js} +2 -2
  105. package/dist/calcite/{p-0cd00791.system.entry.js → p-b6995cfa.system.entry.js} +2 -2
  106. package/dist/calcite/{p-cec68ea7.system.entry.js → p-b73e1c51.system.entry.js} +2 -2
  107. package/dist/calcite/{p-04cf646e.system.js → p-b7951995.system.js} +1 -1
  108. package/dist/calcite/{p-a9792df5.entry.js → p-b9670ea6.entry.js} +2 -2
  109. package/dist/calcite/{p-706537fb.system.entry.js → p-baa42c90.system.entry.js} +3 -3
  110. package/dist/calcite/{p-ca9e9283.entry.js → p-bbcdcb8f.entry.js} +2 -2
  111. package/dist/calcite/{p-9e994997.system.entry.js → p-bdf3bc2f.system.entry.js} +2 -2
  112. package/dist/calcite/{p-3b40ad33.system.js → p-be24d419.system.js} +2 -2
  113. package/dist/calcite/p-c062ab85.js +6 -0
  114. package/dist/calcite/{p-3c51155d.entry.js → p-c24c4fca.entry.js} +2 -2
  115. package/dist/calcite/{p-d37c7804.system.entry.js → p-c3c38ea0.system.entry.js} +3 -3
  116. package/dist/calcite/{p-10c8fd05.js → p-c3eda86e.js} +2 -2
  117. package/dist/calcite/{p-e301cd92.system.js → p-c4281c10.system.js} +2 -2
  118. package/dist/calcite/{p-7f04524c.entry.js → p-c71f78fe.entry.js} +2 -2
  119. package/dist/calcite/p-c7c97450.entry.js +6 -0
  120. package/dist/calcite/{p-2178dbb7.entry.js → p-c87eecb6.entry.js} +2 -2
  121. package/dist/calcite/{p-d7e8f1f0.system.entry.js → p-c9017ff4.system.entry.js} +2 -2
  122. package/dist/calcite/{p-433bc7ed.system.entry.js → p-c90c6864.system.entry.js} +2 -2
  123. package/dist/calcite/{p-f506b0bf.entry.js → p-c96cbeff.entry.js} +2 -2
  124. package/dist/calcite/{p-9782e0ca.entry.js → p-ca5f5286.entry.js} +2 -2
  125. package/dist/calcite/{p-eec63c66.system.js → p-cb6c4b76.system.js} +1 -1
  126. package/dist/calcite/{p-68bddca6.system.entry.js → p-ced8f3be.system.entry.js} +2 -2
  127. package/dist/calcite/{p-6e2a6e25.entry.js → p-cf22aaff.entry.js} +2 -2
  128. package/dist/calcite/{p-a1a83335.system.entry.js → p-d0dcfed6.system.entry.js} +2 -2
  129. package/dist/calcite/{p-08efc146.system.entry.js → p-d3ae9ced.system.entry.js} +2 -2
  130. package/dist/calcite/{p-c362e590.system.js → p-d3f81a06.system.js} +1 -1
  131. package/dist/calcite/{p-472bb25d.js → p-d5a93c9e.js} +2 -2
  132. package/dist/calcite/{p-ebad9f9e.system.js → p-d6bf468d.system.js} +1 -1
  133. package/dist/calcite/{p-e3138cc0.system.js → p-d750540c.system.js} +1 -1
  134. package/dist/calcite/{p-c937c298.entry.js → p-d79e09d4.entry.js} +2 -2
  135. package/dist/calcite/{p-4750e4ed.system.entry.js → p-d9df3a3d.system.entry.js} +2 -2
  136. package/dist/calcite/{p-6db57d1a.system.entry.js → p-da2d3992.system.entry.js} +2 -2
  137. package/dist/calcite/{p-c2f10eb0.system.entry.js → p-dcd67ffa.system.entry.js} +2 -2
  138. package/dist/calcite/{p-4e4d42bf.system.js → p-ddefb771.system.js} +2 -2
  139. package/dist/calcite/{p-d1d94312.js → p-e0435a66.js} +1 -1
  140. package/dist/calcite/p-e0aaa2ab.entry.js +6 -0
  141. package/dist/calcite/{p-cf4adada.entry.js → p-e13ce6fb.entry.js} +2 -2
  142. package/dist/calcite/{p-04a800bf.js → p-e1fced65.js} +1 -1
  143. package/dist/calcite/{p-308e8b73.system.entry.js → p-e221183d.system.entry.js} +2 -2
  144. package/dist/calcite/{p-47301607.system.js → p-e23c503c.system.js} +1 -1
  145. package/dist/calcite/p-e5165e3b.system.js +6 -0
  146. package/dist/calcite/{p-02531850.system.js → p-e60e3b5e.system.js} +2 -2
  147. package/dist/calcite/{p-f4bdc5ee.entry.js → p-e782b75c.entry.js} +2 -2
  148. package/dist/calcite/p-e9f8fdb1.system.entry.js +6 -0
  149. package/dist/calcite/{p-192427e8.js → p-ea426860.js} +2 -2
  150. package/dist/calcite/{p-fb753019.entry.js → p-ec7abeff.entry.js} +2 -2
  151. package/dist/calcite/{p-4bf3b626.system.js → p-edbcabc2.system.js} +2 -2
  152. package/dist/calcite/{p-bd02d1a3.entry.js → p-eeb81ce3.entry.js} +2 -2
  153. package/dist/calcite/{p-7df8aa5c.system.entry.js → p-eed32a82.system.entry.js} +2 -2
  154. package/dist/calcite/{p-ffbee64d.entry.js → p-ef2d48d9.entry.js} +2 -2
  155. package/dist/calcite/{p-995aa3c6.js → p-f46750af.js} +1 -1
  156. package/dist/calcite/{p-2e098cb4.entry.js → p-f563adcc.entry.js} +2 -2
  157. package/dist/calcite/{p-0c4b3a59.system.entry.js → p-f76e06fa.system.entry.js} +2 -2
  158. package/dist/calcite/{p-8dd9149b.system.entry.js → p-f7845eda.system.entry.js} +2 -2
  159. package/dist/calcite/{p-60700925.js → p-f7aed1d0.js} +1 -1
  160. package/dist/calcite/{p-5260b9ae.entry.js → p-f8b578f7.entry.js} +2 -2
  161. package/dist/calcite/{p-d95627c0.entry.js → p-f9717402.entry.js} +2 -2
  162. package/dist/calcite/{p-ad9c2d96.system.entry.js → p-fc994d1f.system.entry.js} +2 -2
  163. package/dist/calcite/{p-89eed1c2.js → p-fcc6164a.js} +1 -1
  164. package/dist/calcite/{p-64cfd791.system.js → p-fcd3ca38.system.js} +1 -1
  165. package/dist/calcite/{p-beea511c.system.entry.js → p-fd995075.system.entry.js} +2 -2
  166. package/dist/calcite/{p-55ac964e.system.entry.js → p-fde32286.system.entry.js} +2 -2
  167. package/dist/calcite/{p-041472d8.system.entry.js → p-ffbfd96a.system.entry.js} +2 -2
  168. package/dist/cjs/{ExpandToggle-18f4cb6b.js → ExpandToggle-84ff632b.js} +5 -5
  169. package/dist/cjs/{Heading-7fdd3558.js → Heading-1fe26261.js} +2 -2
  170. package/dist/cjs/{array-67423929.js → array-62aaf7e4.js} +1 -1
  171. package/dist/cjs/calcite-accordion_2.cjs.entry.js +4 -4
  172. package/dist/cjs/calcite-action-bar.cjs.entry.js +10 -10
  173. package/dist/cjs/calcite-action-group.cjs.entry.js +8 -8
  174. package/dist/cjs/calcite-action-menu.cjs.entry.js +8 -8
  175. package/dist/cjs/calcite-action-pad.cjs.entry.js +9 -9
  176. package/dist/cjs/calcite-action.cjs.entry.js +4 -4
  177. package/dist/cjs/calcite-alert.cjs.entry.js +5 -5
  178. package/dist/cjs/calcite-avatar.cjs.entry.js +5 -5
  179. package/dist/cjs/calcite-block_2.cjs.entry.js +16 -8
  180. package/dist/cjs/calcite-button.cjs.entry.js +7 -7
  181. package/dist/cjs/calcite-card.cjs.entry.js +6 -6
  182. package/dist/cjs/calcite-checkbox.cjs.entry.js +8 -8
  183. package/dist/cjs/calcite-chip.cjs.entry.js +6 -6
  184. package/dist/cjs/calcite-color-picker_3.cjs.entry.js +8 -8
  185. package/dist/cjs/calcite-combobox_3.cjs.entry.js +12 -12
  186. package/dist/cjs/calcite-date-picker_4.cjs.entry.js +9 -9
  187. package/dist/cjs/calcite-dropdown_3.cjs.entry.js +7 -7
  188. package/dist/cjs/calcite-fab.cjs.entry.js +5 -5
  189. package/dist/cjs/calcite-filter.cjs.entry.js +10 -11
  190. package/dist/cjs/calcite-flow.cjs.entry.js +3 -3
  191. package/dist/cjs/calcite-graph_2.cjs.entry.js +10 -10
  192. package/dist/cjs/calcite-handle.cjs.entry.js +2 -2
  193. package/dist/cjs/calcite-icon.cjs.entry.js +5 -5
  194. package/dist/cjs/calcite-inline-editable.cjs.entry.js +7 -7
  195. package/dist/cjs/calcite-input-date-picker.cjs.entry.js +11 -11
  196. package/dist/cjs/calcite-input-message.cjs.entry.js +4 -4
  197. package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +8 -8
  198. package/dist/cjs/calcite-input.cjs.entry.js +15 -12
  199. package/dist/cjs/calcite-label.cjs.entry.js +5 -5
  200. package/dist/cjs/calcite-link.cjs.entry.js +5 -5
  201. package/dist/cjs/calcite-list_3.cjs.entry.js +8 -8
  202. package/dist/cjs/calcite-loader.cjs.entry.js +3 -3
  203. package/dist/cjs/calcite-modal.cjs.entry.js +6 -6
  204. package/dist/cjs/calcite-notice.cjs.entry.js +7 -7
  205. package/dist/cjs/calcite-option_3.cjs.entry.js +8 -8
  206. package/dist/cjs/calcite-pagination.cjs.entry.js +2 -2
  207. package/dist/cjs/calcite-panel.cjs.entry.js +9 -9
  208. package/dist/cjs/calcite-pick-list_3.cjs.entry.js +11 -11
  209. package/dist/cjs/calcite-popover_2.cjs.entry.js +7 -7
  210. package/dist/cjs/calcite-progress.cjs.entry.js +2 -2
  211. package/dist/cjs/calcite-radio-button-group.cjs.entry.js +3 -3
  212. package/dist/cjs/calcite-radio-button.cjs.entry.js +8 -8
  213. package/dist/cjs/calcite-radio-group_2.cjs.entry.js +7 -7
  214. package/dist/cjs/calcite-rating.cjs.entry.js +7 -7
  215. package/dist/cjs/calcite-scrim.cjs.entry.js +2 -2
  216. package/dist/cjs/calcite-shell_3.cjs.entry.js +7 -7
  217. package/dist/cjs/calcite-sortable-list.cjs.entry.js +5 -5
  218. package/dist/cjs/calcite-split-button.cjs.entry.js +3 -3
  219. package/dist/cjs/calcite-stepper_2.cjs.entry.js +5 -5
  220. package/dist/cjs/calcite-switch.cjs.entry.js +7 -7
  221. package/dist/cjs/calcite-tab_4.cjs.entry.js +6 -6
  222. package/dist/cjs/calcite-tile-select_2.cjs.entry.js +4 -4
  223. package/dist/cjs/calcite-tile.cjs.entry.js +7 -7
  224. package/dist/cjs/calcite-tip_3.cjs.entry.js +7 -7
  225. package/dist/cjs/calcite-tooltip_2.cjs.entry.js +5 -5
  226. package/dist/cjs/calcite-tree_2.cjs.entry.js +6 -6
  227. package/dist/cjs/calcite-value-list_2.cjs.entry.js +26 -26
  228. package/dist/cjs/calcite.cjs.js +3 -3
  229. package/dist/cjs/{conditionalSlot-4b6f328f.js → conditionalSlot-f5fa5436.js} +3 -3
  230. package/dist/cjs/{debounce-17791ed9.js → debounce-4db27e7e.js} +1 -1
  231. package/dist/cjs/{dom-3e691eed.js → dom-dbfe3f06.js} +2 -2
  232. package/dist/cjs/{forIn-37fac9ea.js → forIn-83029577.js} +2 -2
  233. package/dist/cjs/{form-b01bfd7a.js → form-eeb4bf77.js} +3 -3
  234. package/dist/cjs/{guid-e739fde5.js → guid-ba629514.js} +1 -1
  235. package/dist/cjs/{index-1b21cb18.js → index-f002dfd5.js} +1 -1
  236. package/dist/cjs/index.cjs.js +1 -1
  237. package/dist/cjs/{interactive-7b7941a2.js → interactive-9b413030.js} +1 -1
  238. package/dist/cjs/{interfaces-9f4a5d9d.js → interfaces-91b1e0ec.js} +1 -1
  239. package/dist/cjs/{label-1b16eba2.js → label-ba2d3316.js} +2 -2
  240. package/dist/cjs/loader.cjs.js +3 -3
  241. package/dist/cjs/{locale-a854b6b6.js → locale-6ea675bf.js} +2 -2
  242. package/dist/cjs/{math-885a7576.js → math-88928904.js} +1 -1
  243. package/dist/cjs/{number-65949b93.js → number-e44e3b2b.js} +1 -1
  244. package/dist/cjs/{observers-e17ee508.js → observers-d4f1efb2.js} +1 -1
  245. package/dist/cjs/{popper-735841d6.js → popper-2de64826.js} +2 -2
  246. package/dist/cjs/{resources-ffd1d942.js → resources-0fcf6122.js} +5 -5
  247. package/dist/cjs/{resources-917e2be2.js → resources-c5fbe266.js} +1 -1
  248. package/dist/cjs/{resources-5780486f.js → resources-e0ae3a40.js} +3 -3
  249. package/dist/cjs/{resources-3f37b5e7.js → resources-f866e711.js} +1 -1
  250. package/dist/cjs/{sortable.esm-e5d89bf0.js → sortable.esm-68051822.js} +1 -1
  251. package/dist/cjs/{utils-19df2234.js → utils-f18b4bb0.js} +1 -1
  252. package/dist/collection/components/accordion/accordion.js +1 -1
  253. package/dist/collection/components/accordion/interfaces.js +1 -1
  254. package/dist/collection/components/accordion-item/accordion-item.js +1 -1
  255. package/dist/collection/components/action/action.js +1 -1
  256. package/dist/collection/components/action/resources.js +1 -1
  257. package/dist/collection/components/action-bar/action-bar.js +1 -1
  258. package/dist/collection/components/action-bar/resources.js +1 -1
  259. package/dist/collection/components/action-bar/utils.js +1 -1
  260. package/dist/collection/components/action-group/action-group.js +1 -1
  261. package/dist/collection/components/action-group/resources.js +1 -1
  262. package/dist/collection/components/action-menu/action-menu.js +1 -1
  263. package/dist/collection/components/action-menu/resources.js +1 -1
  264. package/dist/collection/components/action-pad/action-pad.js +1 -1
  265. package/dist/collection/components/action-pad/resources.js +1 -1
  266. package/dist/collection/components/alert/alert.js +1 -1
  267. package/dist/collection/components/alert/interfaces.js +1 -1
  268. package/dist/collection/components/alert/resources.js +1 -1
  269. package/dist/collection/components/avatar/avatar.js +1 -1
  270. package/dist/collection/components/avatar/utils.js +1 -1
  271. package/dist/collection/components/block/block.js +15 -5
  272. package/dist/collection/components/block/resources.js +1 -1
  273. package/dist/collection/components/block-section/block-section.js +1 -1
  274. package/dist/collection/components/block-section/interfaces.js +1 -1
  275. package/dist/collection/components/block-section/resources.js +1 -1
  276. package/dist/collection/components/button/button.js +1 -1
  277. package/dist/collection/components/button/interfaces.js +1 -1
  278. package/dist/collection/components/button/resources.js +1 -1
  279. package/dist/collection/components/card/card.js +1 -1
  280. package/dist/collection/components/card/resources.js +1 -1
  281. package/dist/collection/components/checkbox/checkbox.css +4 -0
  282. package/dist/collection/components/checkbox/checkbox.js +1 -1
  283. package/dist/collection/components/chip/chip.js +1 -1
  284. package/dist/collection/components/chip/interfaces.js +1 -1
  285. package/dist/collection/components/chip/resources.js +1 -1
  286. package/dist/collection/components/color-picker/color-picker.js +1 -1
  287. package/dist/collection/components/color-picker/interfaces.js +1 -1
  288. package/dist/collection/components/color-picker/resources.js +1 -1
  289. package/dist/collection/components/color-picker/utils.js +1 -1
  290. package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.js +1 -1
  291. package/dist/collection/components/color-picker-hex-input/resources.js +1 -1
  292. package/dist/collection/components/color-picker-swatch/color-picker-swatch.js +1 -1
  293. package/dist/collection/components/color-picker-swatch/resources.js +1 -1
  294. package/dist/collection/components/combobox/combobox.js +1 -1
  295. package/dist/collection/components/combobox/interfaces.js +1 -1
  296. package/dist/collection/components/combobox/resources.js +1 -1
  297. package/dist/collection/components/combobox/utils.js +1 -1
  298. package/dist/collection/components/combobox-item/combobox-item.js +1 -1
  299. package/dist/collection/components/combobox-item/resources.js +1 -1
  300. package/dist/collection/components/combobox-item-group/combobox-item-group.js +1 -1
  301. package/dist/collection/components/combobox-item-group/resources.js +1 -1
  302. package/dist/collection/components/date-picker/date-picker.js +1 -1
  303. package/dist/collection/components/date-picker/interfaces.js +1 -1
  304. package/dist/collection/components/date-picker/resources.js +1 -1
  305. package/dist/collection/components/date-picker/utils.js +1 -1
  306. package/dist/collection/components/date-picker-day/date-picker-day.js +1 -1
  307. package/dist/collection/components/date-picker-month/date-picker-month.js +1 -1
  308. package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +1 -1
  309. package/dist/collection/components/dropdown/dropdown.js +1 -1
  310. package/dist/collection/components/dropdown/interfaces.js +1 -1
  311. package/dist/collection/components/dropdown/resources.js +1 -1
  312. package/dist/collection/components/dropdown-group/dropdown-group.js +1 -1
  313. package/dist/collection/components/dropdown-group/interfaces.js +1 -1
  314. package/dist/collection/components/dropdown-group/resources.js +1 -1
  315. package/dist/collection/components/dropdown-item/dropdown-item.js +1 -1
  316. package/dist/collection/components/dropdown-item/resources.js +1 -1
  317. package/dist/collection/components/fab/fab.js +1 -1
  318. package/dist/collection/components/fab/resources.js +1 -1
  319. package/dist/collection/components/filter/filter.js +3 -5
  320. package/dist/collection/components/filter/resources.js +2 -3
  321. package/dist/collection/components/flow/flow.js +1 -1
  322. package/dist/collection/components/flow/interfaces.js +1 -1
  323. package/dist/collection/components/flow/resources.js +1 -1
  324. package/dist/collection/components/functional/ExpandToggle.js +1 -1
  325. package/dist/collection/components/functional/Heading.js +1 -1
  326. package/dist/collection/components/graph/graph.js +1 -1
  327. package/dist/collection/components/graph/interfaces.js +1 -1
  328. package/dist/collection/components/graph/util.js +1 -1
  329. package/dist/collection/components/handle/handle.js +1 -1
  330. package/dist/collection/components/handle/resources.js +1 -1
  331. package/dist/collection/components/icon/icon.js +1 -1
  332. package/dist/collection/components/icon/resources.js +1 -1
  333. package/dist/collection/components/icon/utils.js +1 -1
  334. package/dist/collection/components/inline-editable/inline-editable.js +1 -1
  335. package/dist/collection/components/inline-editable/resources.js +1 -1
  336. package/dist/collection/components/input/input.js +23 -6
  337. package/dist/collection/components/input/interfaces.js +1 -1
  338. package/dist/collection/components/input/resources.js +4 -1
  339. package/dist/collection/components/input-date-picker/input-date-picker.js +1 -1
  340. package/dist/collection/components/input-message/input-message.js +1 -1
  341. package/dist/collection/components/input-message/interfaces.js +1 -1
  342. package/dist/collection/components/input-time-picker/input-time-picker.js +1 -1
  343. package/dist/collection/components/interfaces.js +1 -1
  344. package/dist/collection/components/label/label.js +1 -1
  345. package/dist/collection/components/label/resources.js +1 -1
  346. package/dist/collection/components/link/link.js +1 -1
  347. package/dist/collection/components/list/list.js +1 -1
  348. package/dist/collection/components/list/resources.js +1 -1
  349. package/dist/collection/components/list-item/list-item.js +1 -1
  350. package/dist/collection/components/list-item/resources.js +1 -1
  351. package/dist/collection/components/list-item-group/list-item-group.js +1 -1
  352. package/dist/collection/components/list-item-group/resources.js +1 -1
  353. package/dist/collection/components/loader/loader.js +1 -1
  354. package/dist/collection/components/modal/interfaces.js +1 -1
  355. package/dist/collection/components/modal/modal.js +1 -1
  356. package/dist/collection/components/modal/resources.js +1 -1
  357. package/dist/collection/components/notice/notice.js +1 -1
  358. package/dist/collection/components/notice/resources.js +1 -1
  359. package/dist/collection/components/option/option.js +1 -1
  360. package/dist/collection/components/option-group/option-group.js +1 -1
  361. package/dist/collection/components/pagination/pagination.js +1 -1
  362. package/dist/collection/components/pagination/resources.js +1 -1
  363. package/dist/collection/components/panel/panel.js +1 -1
  364. package/dist/collection/components/panel/resources.js +1 -1
  365. package/dist/collection/components/pick-list/pick-list.js +1 -1
  366. package/dist/collection/components/pick-list/resources.js +1 -1
  367. package/dist/collection/components/pick-list/shared-list-logic.js +1 -1
  368. package/dist/collection/components/pick-list/shared-list-render.js +1 -1
  369. package/dist/collection/components/pick-list-group/pick-list-group.js +1 -1
  370. package/dist/collection/components/pick-list-group/resources.js +1 -1
  371. package/dist/collection/components/pick-list-item/pick-list-item.js +1 -1
  372. package/dist/collection/components/pick-list-item/resources.js +1 -1
  373. package/dist/collection/components/popover/PopoverManager.js +1 -1
  374. package/dist/collection/components/popover/popover.js +1 -1
  375. package/dist/collection/components/popover/resources.js +1 -1
  376. package/dist/collection/components/popover-manager/popover-manager.js +1 -1
  377. package/dist/collection/components/progress/progress.js +1 -1
  378. package/dist/collection/components/radio-button/radio-button.js +1 -1
  379. package/dist/collection/components/radio-button/resources.js +1 -1
  380. package/dist/collection/components/radio-button-group/radio-button-group.js +1 -1
  381. package/dist/collection/components/radio-group/interfaces.js +1 -1
  382. package/dist/collection/components/radio-group/radio-group.js +1 -1
  383. package/dist/collection/components/radio-group-item/radio-group-item.js +1 -1
  384. package/dist/collection/components/radio-group-item/resources.js +1 -1
  385. package/dist/collection/components/rating/rating.js +1 -1
  386. package/dist/collection/components/rating/resources.js +1 -1
  387. package/dist/collection/components/scrim/resources.js +1 -1
  388. package/dist/collection/components/scrim/scrim.js +1 -1
  389. package/dist/collection/components/select/resources.js +1 -1
  390. package/dist/collection/components/select/select.js +1 -1
  391. package/dist/collection/components/shell/resources.js +1 -1
  392. package/dist/collection/components/shell/shell.js +1 -1
  393. package/dist/collection/components/shell-center-row/resources.js +1 -1
  394. package/dist/collection/components/shell-center-row/shell-center-row.js +1 -1
  395. package/dist/collection/components/shell-panel/resources.js +1 -1
  396. package/dist/collection/components/shell-panel/shell-panel.js +1 -1
  397. package/dist/collection/components/slider/slider.css +2 -0
  398. package/dist/collection/components/slider/slider.js +1 -1
  399. package/dist/collection/components/sortable-list/resources.js +1 -1
  400. package/dist/collection/components/sortable-list/sortable-list.js +1 -1
  401. package/dist/collection/components/split-button/resources.js +1 -1
  402. package/dist/collection/components/split-button/split-button.js +1 -1
  403. package/dist/collection/components/stepper/stepper.js +1 -1
  404. package/dist/collection/components/stepper-item/stepper-item.js +1 -1
  405. package/dist/collection/components/switch/switch.js +1 -1
  406. package/dist/collection/components/tab/interfaces.js +1 -1
  407. package/dist/collection/components/tab/tab.js +1 -1
  408. package/dist/collection/components/tab-nav/tab-nav.js +1 -1
  409. package/dist/collection/components/tab-title/tab-title.js +1 -1
  410. package/dist/collection/components/tabs/interfaces.js +1 -1
  411. package/dist/collection/components/tabs/resources.js +1 -1
  412. package/dist/collection/components/tabs/tabs.js +1 -1
  413. package/dist/collection/components/tile/resources.js +1 -1
  414. package/dist/collection/components/tile/tile.js +1 -1
  415. package/dist/collection/components/tile-select/interfaces.js +1 -1
  416. package/dist/collection/components/tile-select/resources.js +1 -1
  417. package/dist/collection/components/tile-select/tile-select.js +1 -1
  418. package/dist/collection/components/tile-select-group/interfaces.js +1 -1
  419. package/dist/collection/components/tile-select-group/tile-select-group.js +1 -1
  420. package/dist/collection/components/time-picker/resources.js +1 -1
  421. package/dist/collection/components/time-picker/time-picker.js +1 -1
  422. package/dist/collection/components/tip/resources.js +1 -1
  423. package/dist/collection/components/tip/tip.js +1 -1
  424. package/dist/collection/components/tip-group/tip-group.js +1 -1
  425. package/dist/collection/components/tip-manager/resources.js +1 -1
  426. package/dist/collection/components/tip-manager/tip-manager.js +1 -1
  427. package/dist/collection/components/tooltip/TooltipManager.js +1 -1
  428. package/dist/collection/components/tooltip/resources.js +1 -1
  429. package/dist/collection/components/tooltip/tooltip.js +1 -1
  430. package/dist/collection/components/tooltip-manager/tooltip-manager.js +1 -1
  431. package/dist/collection/components/tree/interfaces.js +1 -1
  432. package/dist/collection/components/tree/tree.js +1 -1
  433. package/dist/collection/components/tree-item/interfaces.js +1 -1
  434. package/dist/collection/components/tree-item/resources.js +1 -1
  435. package/dist/collection/components/tree-item/tree-item.js +1 -1
  436. package/dist/collection/components/value-list/resources.js +1 -1
  437. package/dist/collection/components/value-list/value-list.js +19 -19
  438. package/dist/collection/components/value-list-item/resources.js +1 -1
  439. package/dist/collection/components/value-list-item/value-list-item.js +20 -20
  440. package/dist/collection/utils/array.js +1 -1
  441. package/dist/collection/utils/conditionalSlot.js +1 -1
  442. package/dist/collection/utils/date.js +1 -1
  443. package/dist/collection/utils/dom.js +1 -1
  444. package/dist/collection/utils/filter.js +1 -1
  445. package/dist/collection/utils/form.js +1 -1
  446. package/dist/collection/utils/globalAttributes.js +1 -1
  447. package/dist/collection/utils/guid.js +1 -1
  448. package/dist/collection/utils/interactive.js +1 -1
  449. package/dist/collection/utils/key.js +1 -1
  450. package/dist/collection/utils/label.js +1 -1
  451. package/dist/collection/utils/locale.js +1 -1
  452. package/dist/collection/utils/math.js +1 -1
  453. package/dist/collection/utils/number.js +1 -1
  454. package/dist/collection/utils/observers.js +1 -1
  455. package/dist/collection/utils/popper.js +1 -1
  456. package/dist/collection/utils/resources.js +1 -1
  457. package/dist/collection/utils/time.js +1 -1
  458. package/dist/components/ExpandToggle.js +1 -1
  459. package/dist/components/Heading.js +1 -1
  460. package/dist/components/action-group.js +1 -1
  461. package/dist/components/action-menu.js +1 -1
  462. package/dist/components/action.js +1 -1
  463. package/dist/components/array.js +1 -1
  464. package/dist/components/button.js +1 -1
  465. package/dist/components/calcite-accordion-item.js +1 -1
  466. package/dist/components/calcite-accordion.js +1 -1
  467. package/dist/components/calcite-action-bar.js +1 -1
  468. package/dist/components/calcite-action-group.js +1 -1
  469. package/dist/components/calcite-action-menu.js +1 -1
  470. package/dist/components/calcite-action-pad.js +1 -1
  471. package/dist/components/calcite-action.js +1 -1
  472. package/dist/components/calcite-alert.js +1 -1
  473. package/dist/components/calcite-avatar.js +1 -1
  474. package/dist/components/calcite-block-section.js +1 -1
  475. package/dist/components/calcite-block.js +9 -1
  476. package/dist/components/calcite-button.js +1 -1
  477. package/dist/components/calcite-card.js +1 -1
  478. package/dist/components/calcite-checkbox.js +1 -1
  479. package/dist/components/calcite-chip.js +1 -1
  480. package/dist/components/calcite-color-picker-hex-input.js +1 -1
  481. package/dist/components/calcite-color-picker-swatch.js +1 -1
  482. package/dist/components/calcite-color-picker.js +1 -1
  483. package/dist/components/calcite-combobox-item-group.js +1 -1
  484. package/dist/components/calcite-combobox-item.js +1 -1
  485. package/dist/components/calcite-combobox.js +1 -1
  486. package/dist/components/calcite-date-picker-day.js +1 -1
  487. package/dist/components/calcite-date-picker-month-header.js +1 -1
  488. package/dist/components/calcite-date-picker-month.js +1 -1
  489. package/dist/components/calcite-date-picker.js +1 -1
  490. package/dist/components/calcite-dropdown-group.js +1 -1
  491. package/dist/components/calcite-dropdown-item.js +1 -1
  492. package/dist/components/calcite-dropdown.js +1 -1
  493. package/dist/components/calcite-fab.js +1 -1
  494. package/dist/components/calcite-filter.js +1 -1
  495. package/dist/components/calcite-flow.js +1 -1
  496. package/dist/components/calcite-graph.js +1 -1
  497. package/dist/components/calcite-handle.js +1 -1
  498. package/dist/components/calcite-icon.js +1 -1
  499. package/dist/components/calcite-inline-editable.js +1 -1
  500. package/dist/components/calcite-input-date-picker.js +1 -1
  501. package/dist/components/calcite-input-message.js +1 -1
  502. package/dist/components/calcite-input-time-picker.js +1 -1
  503. package/dist/components/calcite-input.js +1 -1
  504. package/dist/components/calcite-label.js +1 -1
  505. package/dist/components/calcite-link.js +1 -1
  506. package/dist/components/calcite-list-item-group.js +1 -1
  507. package/dist/components/calcite-list-item.js +1 -1
  508. package/dist/components/calcite-list.js +1 -1
  509. package/dist/components/calcite-loader.js +1 -1
  510. package/dist/components/calcite-modal.js +1 -1
  511. package/dist/components/calcite-notice.js +1 -1
  512. package/dist/components/calcite-option-group.js +1 -1
  513. package/dist/components/calcite-option.js +1 -1
  514. package/dist/components/calcite-pagination.js +1 -1
  515. package/dist/components/calcite-panel.js +1 -1
  516. package/dist/components/calcite-pick-list-group.js +1 -1
  517. package/dist/components/calcite-pick-list-item.js +1 -1
  518. package/dist/components/calcite-pick-list.js +1 -1
  519. package/dist/components/calcite-popover-manager.js +1 -1
  520. package/dist/components/calcite-popover.js +1 -1
  521. package/dist/components/calcite-progress.js +1 -1
  522. package/dist/components/calcite-radio-button-group.js +1 -1
  523. package/dist/components/calcite-radio-button.js +1 -1
  524. package/dist/components/calcite-radio-group-item.js +1 -1
  525. package/dist/components/calcite-radio-group.js +1 -1
  526. package/dist/components/calcite-rating.js +1 -1
  527. package/dist/components/calcite-scrim.js +1 -1
  528. package/dist/components/calcite-select.js +1 -1
  529. package/dist/components/calcite-shell-center-row.js +1 -1
  530. package/dist/components/calcite-shell-panel.js +1 -1
  531. package/dist/components/calcite-shell.js +1 -1
  532. package/dist/components/calcite-slider.js +2 -2
  533. package/dist/components/calcite-sortable-list.js +1 -1
  534. package/dist/components/calcite-split-button.js +1 -1
  535. package/dist/components/calcite-stepper-item.js +1 -1
  536. package/dist/components/calcite-stepper.js +1 -1
  537. package/dist/components/calcite-switch.js +1 -1
  538. package/dist/components/calcite-tab-nav.js +1 -1
  539. package/dist/components/calcite-tab-title.js +1 -1
  540. package/dist/components/calcite-tab.js +1 -1
  541. package/dist/components/calcite-tabs.js +1 -1
  542. package/dist/components/calcite-tile-select-group.js +1 -1
  543. package/dist/components/calcite-tile-select.js +1 -1
  544. package/dist/components/calcite-tile.js +1 -1
  545. package/dist/components/calcite-time-picker.js +1 -1
  546. package/dist/components/calcite-tip-group.js +1 -1
  547. package/dist/components/calcite-tip-manager.js +1 -1
  548. package/dist/components/calcite-tip.js +1 -1
  549. package/dist/components/calcite-tooltip-manager.js +1 -1
  550. package/dist/components/calcite-tooltip.js +1 -1
  551. package/dist/components/calcite-tree-item.js +1 -1
  552. package/dist/components/calcite-tree.js +1 -1
  553. package/dist/components/calcite-value-list-item.js +8 -8
  554. package/dist/components/calcite-value-list.js +9 -9
  555. package/dist/components/checkbox.js +2 -2
  556. package/dist/components/chip.js +1 -1
  557. package/dist/components/color-picker-hex-input.js +1 -1
  558. package/dist/components/color-picker-swatch.js +1 -1
  559. package/dist/components/conditionalSlot.js +1 -1
  560. package/dist/components/date-picker-day.js +1 -1
  561. package/dist/components/date-picker-month-header.js +1 -1
  562. package/dist/components/date-picker-month.js +1 -1
  563. package/dist/components/date-picker.js +1 -1
  564. package/dist/components/date.js +1 -1
  565. package/dist/components/debounce.js +1 -1
  566. package/dist/components/dom.js +1 -1
  567. package/dist/components/dropdown.js +1 -1
  568. package/dist/components/filter.js +4 -5
  569. package/dist/components/forIn.js +1 -1
  570. package/dist/components/form.js +1 -1
  571. package/dist/components/graph.js +1 -1
  572. package/dist/components/guid.js +1 -1
  573. package/dist/components/handle.js +1 -1
  574. package/dist/components/icon.js +1 -1
  575. package/dist/components/index.js +1 -1
  576. package/dist/components/input.js +8 -4
  577. package/dist/components/interactive.js +1 -1
  578. package/dist/components/interfaces.js +1 -1
  579. package/dist/components/interfaces2.js +1 -1
  580. package/dist/components/label.js +1 -1
  581. package/dist/components/label2.js +1 -1
  582. package/dist/components/link.js +1 -1
  583. package/dist/components/loader.js +1 -1
  584. package/dist/components/locale.js +1 -1
  585. package/dist/components/math.js +1 -1
  586. package/dist/components/number.js +1 -1
  587. package/dist/components/observers.js +1 -1
  588. package/dist/components/pick-list-item.js +1 -1
  589. package/dist/components/popover.js +1 -1
  590. package/dist/components/popper.js +1 -1
  591. package/dist/components/progress.js +1 -1
  592. package/dist/components/resources.js +1 -1
  593. package/dist/components/resources2.js +1 -1
  594. package/dist/components/resources3.js +1 -1
  595. package/dist/components/scrim.js +1 -1
  596. package/dist/components/shared-list-render.js +1 -1
  597. package/dist/components/sortable.esm.js +1 -1
  598. package/dist/components/switch.js +1 -1
  599. package/dist/components/tab-nav.js +1 -1
  600. package/dist/components/tab-title.js +1 -1
  601. package/dist/components/tab.js +1 -1
  602. package/dist/components/tabs.js +1 -1
  603. package/dist/components/tile.js +1 -1
  604. package/dist/components/time-picker.js +1 -1
  605. package/dist/components/utils.js +1 -1
  606. package/dist/components/utils2.js +1 -1
  607. package/dist/custom-elements/index.js +99 -89
  608. package/dist/esm/{ExpandToggle-a8a17b2b.js → ExpandToggle-940ab086.js} +5 -5
  609. package/dist/esm/{Heading-0a286f45.js → Heading-8e1ae5b6.js} +2 -2
  610. package/dist/esm/{array-6808317e.js → array-7278b96d.js} +1 -1
  611. package/dist/esm/calcite-accordion_2.entry.js +4 -4
  612. package/dist/esm/calcite-action-bar.entry.js +10 -10
  613. package/dist/esm/calcite-action-group.entry.js +8 -8
  614. package/dist/esm/calcite-action-menu.entry.js +8 -8
  615. package/dist/esm/calcite-action-pad.entry.js +9 -9
  616. package/dist/esm/calcite-action.entry.js +4 -4
  617. package/dist/esm/calcite-alert.entry.js +5 -5
  618. package/dist/esm/calcite-avatar.entry.js +5 -5
  619. package/dist/esm/calcite-block_2.entry.js +16 -8
  620. package/dist/esm/calcite-button.entry.js +7 -7
  621. package/dist/esm/calcite-card.entry.js +6 -6
  622. package/dist/esm/calcite-checkbox.entry.js +8 -8
  623. package/dist/esm/calcite-chip.entry.js +6 -6
  624. package/dist/esm/calcite-color-picker_3.entry.js +8 -8
  625. package/dist/esm/calcite-combobox_3.entry.js +12 -12
  626. package/dist/esm/calcite-date-picker_4.entry.js +9 -9
  627. package/dist/esm/calcite-dropdown_3.entry.js +7 -7
  628. package/dist/esm/calcite-fab.entry.js +5 -5
  629. package/dist/esm/calcite-filter.entry.js +10 -11
  630. package/dist/esm/calcite-flow.entry.js +3 -3
  631. package/dist/esm/calcite-graph_2.entry.js +10 -10
  632. package/dist/esm/calcite-handle.entry.js +2 -2
  633. package/dist/esm/calcite-icon.entry.js +5 -5
  634. package/dist/esm/calcite-inline-editable.entry.js +7 -7
  635. package/dist/esm/calcite-input-date-picker.entry.js +11 -11
  636. package/dist/esm/calcite-input-message.entry.js +4 -4
  637. package/dist/esm/calcite-input-time-picker_2.entry.js +8 -8
  638. package/dist/esm/calcite-input.entry.js +16 -13
  639. package/dist/esm/calcite-label.entry.js +5 -5
  640. package/dist/esm/calcite-link.entry.js +5 -5
  641. package/dist/esm/calcite-list_3.entry.js +8 -8
  642. package/dist/esm/calcite-loader.entry.js +3 -3
  643. package/dist/esm/calcite-modal.entry.js +6 -6
  644. package/dist/esm/calcite-notice.entry.js +7 -7
  645. package/dist/esm/calcite-option_3.entry.js +8 -8
  646. package/dist/esm/calcite-pagination.entry.js +2 -2
  647. package/dist/esm/calcite-panel.entry.js +9 -9
  648. package/dist/esm/calcite-pick-list_3.entry.js +11 -11
  649. package/dist/esm/calcite-popover_2.entry.js +7 -7
  650. package/dist/esm/calcite-progress.entry.js +2 -2
  651. package/dist/esm/calcite-radio-button-group.entry.js +3 -3
  652. package/dist/esm/calcite-radio-button.entry.js +8 -8
  653. package/dist/esm/calcite-radio-group_2.entry.js +7 -7
  654. package/dist/esm/calcite-rating.entry.js +7 -7
  655. package/dist/esm/calcite-scrim.entry.js +2 -2
  656. package/dist/esm/calcite-shell_3.entry.js +7 -7
  657. package/dist/esm/calcite-sortable-list.entry.js +5 -5
  658. package/dist/esm/calcite-split-button.entry.js +3 -3
  659. package/dist/esm/calcite-stepper_2.entry.js +5 -5
  660. package/dist/esm/calcite-switch.entry.js +7 -7
  661. package/dist/esm/calcite-tab_4.entry.js +6 -6
  662. package/dist/esm/calcite-tile-select_2.entry.js +4 -4
  663. package/dist/esm/calcite-tile.entry.js +7 -7
  664. package/dist/esm/calcite-tip_3.entry.js +7 -7
  665. package/dist/esm/calcite-tooltip_2.entry.js +5 -5
  666. package/dist/esm/calcite-tree_2.entry.js +6 -6
  667. package/dist/esm/calcite-value-list_2.entry.js +26 -26
  668. package/dist/esm/calcite.js +3 -3
  669. package/dist/esm/{conditionalSlot-f2109dfe.js → conditionalSlot-c8c9edee.js} +3 -3
  670. package/dist/esm/{debounce-f5925a2c.js → debounce-98969d34.js} +1 -1
  671. package/dist/esm/{dom-2e1518b4.js → dom-8475ebbb.js} +2 -2
  672. package/dist/esm/{forIn-e6096fa5.js → forIn-5c188f90.js} +2 -2
  673. package/dist/esm/{form-a4437f40.js → form-254fcdcf.js} +3 -3
  674. package/dist/esm/{guid-2f8c97ac.js → guid-f4e17d53.js} +1 -1
  675. package/dist/esm/{index-12294e08.js → index-7057b59a.js} +1 -1
  676. package/dist/esm/index.js +1 -1
  677. package/dist/esm/{interactive-7e27bd84.js → interactive-d7b8a3d5.js} +1 -1
  678. package/dist/esm/{interfaces-0d411832.js → interfaces-c6205ec6.js} +1 -1
  679. package/dist/esm/{label-03e9d6a8.js → label-2ce3558e.js} +2 -2
  680. package/dist/esm/loader.js +3 -3
  681. package/dist/esm/{locale-f0c50015.js → locale-29cc70b3.js} +2 -2
  682. package/dist/esm/{math-9f21311e.js → math-9a1b4d5f.js} +1 -1
  683. package/dist/esm/{number-c9861e4e.js → number-51acd8f1.js} +1 -1
  684. package/dist/esm/{observers-6318483a.js → observers-1314bab2.js} +1 -1
  685. package/dist/esm/{popper-c96f5055.js → popper-aa0ef645.js} +2 -2
  686. package/dist/esm/{resources-e2f33005.js → resources-201b2372.js} +1 -1
  687. package/dist/esm/{resources-27db206c.js → resources-599f68f9.js} +3 -3
  688. package/dist/esm/{resources-87f88649.js → resources-dac62418.js} +1 -1
  689. package/dist/esm/{resources-6d853904.js → resources-e872c369.js} +5 -5
  690. package/dist/esm/{sortable.esm-8e48fe74.js → sortable.esm-edac07bf.js} +1 -1
  691. package/dist/esm/{utils-319f59b1.js → utils-fd3aed95.js} +1 -1
  692. package/dist/esm-es5/{ExpandToggle-a8a17b2b.js → ExpandToggle-940ab086.js} +2 -2
  693. package/dist/esm-es5/{Heading-0a286f45.js → Heading-8e1ae5b6.js} +2 -2
  694. package/dist/esm-es5/{array-6808317e.js → array-7278b96d.js} +1 -1
  695. package/dist/esm-es5/calcite-accordion_2.entry.js +2 -2
  696. package/dist/esm-es5/calcite-action-bar.entry.js +2 -2
  697. package/dist/esm-es5/calcite-action-group.entry.js +2 -2
  698. package/dist/esm-es5/calcite-action-menu.entry.js +2 -2
  699. package/dist/esm-es5/calcite-action-pad.entry.js +3 -3
  700. package/dist/esm-es5/calcite-action.entry.js +2 -2
  701. package/dist/esm-es5/calcite-alert.entry.js +2 -2
  702. package/dist/esm-es5/calcite-avatar.entry.js +2 -2
  703. package/dist/esm-es5/calcite-block_2.entry.js +2 -2
  704. package/dist/esm-es5/calcite-button.entry.js +2 -2
  705. package/dist/esm-es5/calcite-card.entry.js +2 -2
  706. package/dist/esm-es5/calcite-checkbox.entry.js +2 -2
  707. package/dist/esm-es5/calcite-chip.entry.js +2 -2
  708. package/dist/esm-es5/calcite-color-picker_3.entry.js +2 -2
  709. package/dist/esm-es5/calcite-combobox_3.entry.js +2 -2
  710. package/dist/esm-es5/calcite-date-picker_4.entry.js +2 -2
  711. package/dist/esm-es5/calcite-dropdown_3.entry.js +2 -2
  712. package/dist/esm-es5/calcite-fab.entry.js +3 -3
  713. package/dist/esm-es5/calcite-filter.entry.js +2 -2
  714. package/dist/esm-es5/calcite-flow.entry.js +2 -2
  715. package/dist/esm-es5/calcite-graph_2.entry.js +2 -2
  716. package/dist/esm-es5/calcite-handle.entry.js +2 -2
  717. package/dist/esm-es5/calcite-icon.entry.js +2 -2
  718. package/dist/esm-es5/calcite-inline-editable.entry.js +2 -2
  719. package/dist/esm-es5/calcite-input-date-picker.entry.js +2 -2
  720. package/dist/esm-es5/calcite-input-message.entry.js +2 -2
  721. package/dist/esm-es5/calcite-input-time-picker_2.entry.js +2 -2
  722. package/dist/esm-es5/calcite-input.entry.js +2 -2
  723. package/dist/esm-es5/calcite-label.entry.js +2 -2
  724. package/dist/esm-es5/calcite-link.entry.js +3 -3
  725. package/dist/esm-es5/calcite-list_3.entry.js +2 -2
  726. package/dist/esm-es5/calcite-loader.entry.js +2 -2
  727. package/dist/esm-es5/calcite-modal.entry.js +2 -2
  728. package/dist/esm-es5/calcite-notice.entry.js +2 -2
  729. package/dist/esm-es5/calcite-option_3.entry.js +2 -2
  730. package/dist/esm-es5/calcite-pagination.entry.js +2 -2
  731. package/dist/esm-es5/calcite-panel.entry.js +2 -2
  732. package/dist/esm-es5/calcite-pick-list_3.entry.js +2 -2
  733. package/dist/esm-es5/calcite-popover_2.entry.js +2 -2
  734. package/dist/esm-es5/calcite-progress.entry.js +2 -2
  735. package/dist/esm-es5/calcite-radio-button-group.entry.js +2 -2
  736. package/dist/esm-es5/calcite-radio-button.entry.js +2 -2
  737. package/dist/esm-es5/calcite-radio-group_2.entry.js +2 -2
  738. package/dist/esm-es5/calcite-rating.entry.js +2 -2
  739. package/dist/esm-es5/calcite-scrim.entry.js +2 -2
  740. package/dist/esm-es5/calcite-shell_3.entry.js +2 -2
  741. package/dist/esm-es5/calcite-sortable-list.entry.js +2 -2
  742. package/dist/esm-es5/calcite-split-button.entry.js +2 -2
  743. package/dist/esm-es5/calcite-stepper_2.entry.js +2 -2
  744. package/dist/esm-es5/calcite-switch.entry.js +2 -2
  745. package/dist/esm-es5/calcite-tab_4.entry.js +2 -2
  746. package/dist/esm-es5/calcite-tile-select_2.entry.js +2 -2
  747. package/dist/esm-es5/calcite-tile.entry.js +2 -2
  748. package/dist/esm-es5/calcite-tip_3.entry.js +2 -2
  749. package/dist/esm-es5/calcite-tooltip_2.entry.js +2 -2
  750. package/dist/esm-es5/calcite-tree_2.entry.js +2 -2
  751. package/dist/esm-es5/calcite-value-list_2.entry.js +2 -2
  752. package/dist/esm-es5/calcite.js +2 -2
  753. package/dist/esm-es5/{conditionalSlot-f2109dfe.js → conditionalSlot-c8c9edee.js} +2 -2
  754. package/dist/esm-es5/{debounce-f5925a2c.js → debounce-98969d34.js} +1 -1
  755. package/dist/esm-es5/{dom-2e1518b4.js → dom-8475ebbb.js} +2 -2
  756. package/dist/esm-es5/{forIn-e6096fa5.js → forIn-5c188f90.js} +2 -2
  757. package/dist/esm-es5/{form-a4437f40.js → form-254fcdcf.js} +2 -2
  758. package/dist/esm-es5/{guid-2f8c97ac.js → guid-f4e17d53.js} +1 -1
  759. package/dist/esm-es5/{index-12294e08.js → index-7057b59a.js} +1 -1
  760. package/dist/esm-es5/index.js +1 -1
  761. package/dist/esm-es5/{interactive-7e27bd84.js → interactive-d7b8a3d5.js} +1 -1
  762. package/dist/esm-es5/{interfaces-0d411832.js → interfaces-c6205ec6.js} +1 -1
  763. package/dist/esm-es5/{label-03e9d6a8.js → label-2ce3558e.js} +2 -2
  764. package/dist/esm-es5/loader.js +2 -2
  765. package/dist/esm-es5/{locale-f0c50015.js → locale-29cc70b3.js} +2 -2
  766. package/dist/esm-es5/{math-9f21311e.js → math-9a1b4d5f.js} +1 -1
  767. package/dist/esm-es5/{number-c9861e4e.js → number-51acd8f1.js} +1 -1
  768. package/dist/esm-es5/{observers-6318483a.js → observers-1314bab2.js} +1 -1
  769. package/dist/esm-es5/{popper-c96f5055.js → popper-aa0ef645.js} +2 -2
  770. package/dist/esm-es5/{resources-e2f33005.js → resources-201b2372.js} +1 -1
  771. package/dist/esm-es5/{resources-27db206c.js → resources-599f68f9.js} +2 -2
  772. package/dist/esm-es5/{resources-87f88649.js → resources-dac62418.js} +1 -1
  773. package/dist/esm-es5/{resources-6d853904.js → resources-e872c369.js} +2 -2
  774. package/dist/esm-es5/{sortable.esm-8e48fe74.js → sortable.esm-edac07bf.js} +1 -1
  775. package/dist/esm-es5/{utils-319f59b1.js → utils-fd3aed95.js} +1 -1
  776. package/dist/extras/docs-json.json +48 -38
  777. package/dist/loader/cdn.js +1 -1
  778. package/dist/loader/index.cjs.js +1 -1
  779. package/dist/loader/index.es2017.js +1 -1
  780. package/dist/loader/index.js +1 -1
  781. package/dist/types/components/block/block.d.ts +2 -2
  782. package/dist/types/components/filter/resources.d.ts +0 -1
  783. package/dist/types/components/input/input.d.ts +4 -0
  784. package/dist/types/components/input/resources.d.ts +3 -0
  785. package/dist/types/components/value-list/value-list.d.ts +13 -13
  786. package/dist/types/components/value-list-item/value-list-item.d.ts +12 -12
  787. package/dist/types/components.d.ts +43 -35
  788. package/hydrate/index.js +101 -90
  789. package/package.json +8 -7
  790. package/dist/calcite/p-07cc79e9.entry.js +0 -6
  791. package/dist/calcite/p-0f33eeaa.system.entry.js +0 -6
  792. package/dist/calcite/p-31a9d0ac.system.js +0 -6
  793. package/dist/calcite/p-4411a322.js +0 -6
  794. package/dist/calcite/p-45ee34c9.system.js +0 -6
  795. package/dist/calcite/p-4f9814be.system.entry.js +0 -6
  796. package/dist/calcite/p-532ae998.system.entry.js +0 -6
  797. package/dist/calcite/p-626f2b63.js +0 -6
  798. package/dist/calcite/p-800eadc9.entry.js +0 -6
  799. package/dist/calcite/p-8b3b7dbf.entry.js +0 -6
  800. package/dist/calcite/p-b7f3a0b6.entry.js +0 -6
  801. package/dist/calcite/p-d1b1ea87.entry.js +0 -6
  802. package/dist/calcite/p-d2e6499c.js +0 -6
  803. package/dist/calcite/p-e3ad5aca.js +0 -6
@@ -0,0 +1,6 @@
1
+ var __awaiter=this&&this.__awaiter||function(a,t,e,i){function n(a){return a instanceof e?a:new e((function(t){t(a)}))}return new(e||(e=Promise))((function(e,r){function l(a){try{o(i.next(a))}catch(a){r(a)}}function s(a){try{o(i["throw"](a))}catch(a){r(a)}}function o(a){a.done?e(a.value):n(a.value).then(l,s)}o((i=i.apply(a,t||[])).next())}))};var __generator=this&&this.__generator||function(a,t){var e={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},i,n,r,l;return l={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(l[Symbol.iterator]=function(){return this}),l;function s(a){return function(t){return o([a,t])}}function o(l){if(i)throw new TypeError("Generator is already executing.");while(e)try{if(i=1,n&&(r=l[0]&2?n["return"]:l[0]?n["throw"]||((r=n["return"])&&r.call(n),0):n.next)&&!(r=r.call(n,l[1])).done)return r;if(n=0,r)l=[l[0]&2,r.value];switch(l[0]){case 0:case 1:r=l;break;case 4:e.label++;return{value:l[1],done:false};case 5:e.label++;n=l[1];l=[0];continue;case 7:l=e.ops.pop();e.trys.pop();continue;default:if(!(r=e.trys,r=r.length>0&&r[r.length-1])&&(l[0]===6||l[0]===2)){e=0;continue}if(l[0]===3&&(!r||l[1]>r[0]&&l[1]<r[3])){e.label=l[1];break}if(l[0]===6&&e.label<r[1]){e.label=r[1];r=l;break}if(r&&e.label<r[2]){e.label=r[2];e.ops.push(l);break}if(r[2])e.ops.pop();e.trys.pop();continue}l=t.call(a,e)}catch(a){l=[6,a];n=0}finally{i=r=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:true}}};
2
+ /*!
3
+ * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
4
+ * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
5
+ * v1.0.0-next.454
6
+ */System.register(["./p-d6bf468d.system.js","./p-086b9bee.system.js","./p-d750540c.system.js","./p-e60e3b5e.system.js","./p-6968fff7.system.js","./p-14a3ac93.system.js","./p-be24d419.system.js","./p-aa763e8a.system.js"],(function(a){"use strict";var t,e,i,n,r,l,s,o,c,h,u,m,d,p,b,f,v,g;return{setters:[function(a){t=a.r;e=a.f;i=a.h;n=a.g;r=a.c;l=a.H},function(a){s=a.g},function(a){o=a.c},function(a){c=a.j},function(a){h=a.d;u=a.c},function(a){m=a.c;d=a.d},function(a){p=a.c;b=a.d;f=a.a;v=a.H},function(a){g=a.u}],execute:function(){function x(a,t,e){var i=t[0]-a[0];var n=e[0]-t[0];var r=t[1]-a[1];var l=e[1]-t[1];var s=r/(i||n<0&&0);var o=l/(n||i<0&&0);var c=(s*n+o*i)/(i+n);return(Math.sign(s)+Math.sign(o))*Math.min(Math.abs(s),Math.abs(o),.5*Math.abs(c))||0}function y(a,t,e){var i=t[0]-a[0];var n=t[1]-a[1];return i?(3*n/i-e)/2:e}function _(a,t,e,i,n){var r=a[0],l=a[1];var s=t[0],o=t[1];var c=(s-r)/3;var h=n([r+c,l+c*e]).join(",");var u=n([s-c,o-c*i]).join(",");var m=n([s,o]).join(",");return"C ".concat(h," ").concat(u," ").concat(m)}function k(a){var t=a.width,e=a.height,i=a.min,n=a.max;var r=n[0]-i[0];var l=n[1]-i[1];return function(a){var n=(a[0]-i[0])/r*t;var s=e-a[1]/l*e;return[n,s]}}function w(a){var t=a[0],e=t[0],i=t[1];var n=[e,i];var r=[e,i];return a.reduce((function(a,t){var e=a.min,i=a.max;var n=t[0],r=t[1];return{min:[Math.min(e[0],n),Math.min(e[1],r)],max:[Math.max(i[0],n),Math.max(i[1],r)]}}),{min:n,max:r})}function V(a){var t=a.data,e=a.min,i=a.max,n=a.t;if(t.length===0){return""}var r=n(t[0]),l=r[0],s=r[1];var o=n(e),c=o[0],h=o[1];var u=n(i)[0];var m;var d;var p;var b=t.reduce((function(a,e,i){d=t[i-2];p=t[i-1];if(i>1){var r=x(d,p,e);var l=m===undefined?y(d,p,r):m;var s=_(d,p,l,r,n);m=r;return"".concat(a," ").concat(s)}return a}),"M ".concat(c,",").concat(h," L ").concat(c,",").concat(s," L ").concat(l,",").concat(s));var f=t[t.length-1];var v=_(p,f,m,y(p,f,m),n);return"".concat(b," ").concat(v," L ").concat(u,",").concat(h," Z")}var H="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:block}.svg{fill:currentColor;stroke:transparent;margin:0px;display:block;height:100%;width:100%;padding:0px}.svg .graph-path--highlight{fill:var(--calcite-ui-brand);opacity:0.5}";var D=a("calcite_graph",function(){function a(a){var i=this;t(this,a);this.data=[];this.graphId="calcite-graph-".concat(s());this.resizeObserver=o("resize",(function(){return e(i)}))}a.prototype.connectedCallback=function(){var a;(a=this.resizeObserver)===null||a===void 0?void 0:a.observe(this.el)};a.prototype.disconnectedCallback=function(){var a;(a=this.resizeObserver)===null||a===void 0?void 0:a.disconnect()};a.prototype.render=function(){var a=this,t=a.data,e=a.colorStops,n=a.el,r=a.highlightMax,l=a.highlightMin,s=a.min,o=a.max;var c=this.graphId;var h=n.clientHeight,u=n.clientWidth;if(!t||t.length===0){return i("svg",{class:"svg",height:h,preserveAspectRatio:"none",viewBox:"0 0 ".concat(u," ").concat(h),width:u})}var m=w(t),d=m.min,p=m.max;var b=d;var f=p;if(s<d[0]||s>d[0]){b=[s,0]}if(o>p[0]||o<p[0]){f=[o,p[1]]}var v=k({min:b,max:f,width:u,height:h});var g=v([l,f[1]])[0];var x=v([r,f[1]])[0];var y=V({data:t,min:d,max:p,t:v});var _=e?"url(#linear-gradient-".concat(c,")"):undefined;return i("svg",{class:"svg",height:h,preserveAspectRatio:"none",viewBox:"0 0 ".concat(u," ").concat(h),width:u},e?i("defs",null,i("linearGradient",{id:"linear-gradient-".concat(c),x1:"0",x2:"1",y1:"0",y2:"0"},e.map((function(a){var t=a.offset,e=a.color,n=a.opacity;return i("stop",{offset:"".concat(t*100,"%"),"stop-color":e,"stop-opacity":n})})))):null,l!==undefined?[i("mask",{height:"100%",id:"".concat(c,"1"),width:"100%",x:"0%",y:"0%"},i("path",{d:"\n M 0,0\n L ".concat(g-1,",0\n L ").concat(g-1,",").concat(h,"\n L 0,").concat(h,"\n Z\n "),fill:"white"})),i("mask",{height:"100%",id:"".concat(c,"2"),width:"100%",x:"0%",y:"0%"},i("path",{d:"\n M ".concat(g+1,",0\n L ").concat(x-1,",0\n L ").concat(x-1,",").concat(h,"\n L ").concat(g+1,", ").concat(h,"\n Z\n "),fill:"white"})),i("mask",{height:"100%",id:"".concat(c,"3"),width:"100%",x:"0%",y:"0%"},i("path",{d:"\n M ".concat(x+1,",0\n L ").concat(u,",0\n L ").concat(u,",").concat(h,"\n L ").concat(x+1,", ").concat(h,"\n Z\n "),fill:"white"})),i("path",{class:"graph-path",d:y,fill:_,mask:"url(#".concat(c,"1)")}),i("path",{class:"graph-path--highlight",d:y,fill:_,mask:"url(#".concat(c,"2)")}),i("path",{class:"graph-path",d:y,fill:_,mask:"url(#".concat(c,"3)")})]:i("path",{class:"graph-path",d:y,fill:_}))};Object.defineProperty(a.prototype,"el",{get:function(){return n(this)},enumerable:false,configurable:true});return a}());D.style=H;var L='@charset "UTF-8";@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}.scale--s{--calcite-slider-handle-size:10px;--calcite-slider-handle-extension-height:6.5px;--calcite-slider-container-font-size:var(--calcite-font-size--3)}.scale--s .handle__label,.scale--s .tick__label{line-height:.75rem}.scale--m{--calcite-slider-handle-size:14px;--calcite-slider-handle-extension-height:8px;--calcite-slider-container-font-size:var(--calcite-font-size--2)}.scale--m .handle__label,.scale--m .tick__label{line-height:1rem}.scale--l{--calcite-slider-handle-size:16px;--calcite-slider-handle-extension-height:10.5px;--calcite-slider-container-font-size:var(--calcite-font-size--1)}.scale--l .handle__label,.scale--l .tick__label{line-height:1rem}.handle__label,.tick__label{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-2);font-size:var(--calcite-slider-container-font-size)}:host{display:block}.container{position:relative;display:block;overflow-wrap:normal;word-break:normal;padding:calc(var(--calcite-slider-handle-size) * 0.5);margin:calc(var(--calcite-slider-handle-size) * 0.5) 0;--calcite-slider-full-handle-height:calc(\n var(--calcite-slider-handle-size) + var(--calcite-slider-handle-extension-height)\n )}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) .track__range,:host([disabled]) .tick--active{background-color:var(--calcite-ui-text-3)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.scale--s .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset:-6px}.scale--m .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset:-8px}.scale--l .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset:-9px}:host([precise]:not([has-histogram])) .container .thumb--value{--calcite-slider-thumb-y-offset:calc(var(--calcite-slider-full-handle-height) * -1)}.thumb-container{position:relative;max-width:100%}.thumb{--calcite-slider-thumb-x-offset:calc(var(--calcite-slider-handle-size) * 0.5);position:absolute;margin:0px;display:-ms-flexbox;display:flex;cursor:pointer;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;border-style:none;background-color:transparent;padding:0px;font-family:inherit;outline:2px solid transparent;outline-offset:2px;-webkit-transform:translate(var(--calcite-slider-thumb-x-offset), var(--calcite-slider-thumb-y-offset));transform:translate(var(--calcite-slider-thumb-x-offset), var(--calcite-slider-thumb-y-offset))}.thumb .handle__label.static,.thumb .handle__label.transformed{position:absolute;top:0px;bottom:0px;opacity:0}.thumb .handle__label.hyphen::after{content:"—";display:inline-block;width:1em}.thumb .handle__label.hyphen--wrap{display:-ms-flexbox;display:flex}.thumb .handle{-webkit-box-sizing:border-box;box-sizing:border-box;border-radius:9999px;background-color:var(--calcite-ui-foreground-1);outline-offset:0;outline-color:transparent;-webkit-transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;height:var(--calcite-slider-handle-size);width:var(--calcite-slider-handle-size);-webkit-box-shadow:0 0 0 2px var(--calcite-ui-text-3) inset;box-shadow:0 0 0 2px var(--calcite-ui-text-3) inset;-webkit-transition:border var(--calcite-internal-animation-timing-medium) ease, background-color var(--calcite-internal-animation-timing-medium) ease, -webkit-box-shadow var(--calcite-animation-timing) ease;transition:border var(--calcite-internal-animation-timing-medium) ease, background-color var(--calcite-internal-animation-timing-medium) ease, -webkit-box-shadow var(--calcite-animation-timing) ease;transition:border var(--calcite-internal-animation-timing-medium) ease, background-color var(--calcite-internal-animation-timing-medium) ease, box-shadow var(--calcite-animation-timing) ease;transition:border var(--calcite-internal-animation-timing-medium) ease, background-color var(--calcite-internal-animation-timing-medium) ease, box-shadow var(--calcite-animation-timing) ease, -webkit-box-shadow var(--calcite-animation-timing) ease}.thumb .handle-extension{width:0.125rem;height:var(--calcite-slider-handle-extension-height);background-color:var(--calcite-ui-text-3)}.thumb:hover .handle{-webkit-box-shadow:0 0 0 3px var(--calcite-ui-brand) inset;box-shadow:0 0 0 3px var(--calcite-ui-brand) inset}.thumb:hover .handle-extension{background-color:var(--calcite-ui-brand)}.thumb:focus .handle{outline:2px solid var(--calcite-ui-brand);outline-offset:2px}.thumb:focus .handle-extension{background-color:var(--calcite-ui-brand)}.thumb.thumb--minValue{-webkit-transform:translate(calc(var(--calcite-slider-thumb-x-offset) * -1), var(--calcite-slider-thumb-y-offset));transform:translate(calc(var(--calcite-slider-thumb-x-offset) * -1), var(--calcite-slider-thumb-y-offset))}.thumb.thumb--precise{--calcite-slider-thumb-y-offset:-2px}:host([label-handles]) .thumb{--calcite-slider-thumb-x-offset:50%}:host([label-handles]):host(:not([has-histogram])) .scale--s .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset:-23px}:host([label-handles]):host(:not([has-histogram])) .scale--m .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset:-30px}:host([label-handles]):host(:not([has-histogram])) .scale--l .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset:-32px}:host([has-histogram][label-handles]) .handle__label,:host([label-handles]:not([has-histogram])) .thumb--minValue.thumb--precise .handle__label{margin-top:0.5em}:host(:not([has-histogram]):not([precise])) .handle__label,:host([label-handles]:not([has-histogram])) .thumb--value .handle__label{margin-bottom:0.5em}:host([label-handles][precise]):host(:not([has-histogram])) .scale--s .thumb--value{--calcite-slider-thumb-y-offset:-33px}:host([label-handles][precise]):host(:not([has-histogram])) .scale--m .thumb--value{--calcite-slider-thumb-y-offset:-44px}:host([label-handles][precise]):host(:not([has-histogram])) .scale--l .thumb--value{--calcite-slider-thumb-y-offset:-49px}.thumb:focus .handle,.thumb--active .handle{background-color:var(--calcite-ui-brand);-webkit-box-shadow:0 0 8px 0 rgba(0, 0, 0, 0.16);box-shadow:0 0 8px 0 rgba(0, 0, 0, 0.16)}.thumb:hover.thumb--precise:after,.thumb:focus.thumb--precise:after,.thumb--active.thumb--precise:after{background-color:var(--calcite-ui-brand)}.track{position:relative;height:0.125rem;border-radius:0px;background-color:var(--calcite-ui-border-2);-webkit-transition:all var(--calcite-internal-animation-timing-medium) ease-in;transition:all var(--calcite-internal-animation-timing-medium) ease-in}.track__range{position:absolute;top:0px;height:0.125rem;background-color:var(--calcite-ui-brand)}.container--range .track__range:hover{cursor:ew-resize}.container--range .track__range:after{position:absolute;width:100%;content:"";top:calc(var(--calcite-slider-full-handle-height) * 0.5 * -1);height:calc(var(--calcite-slider-handle-size) + var(--calcite-slider-handle-extension-height))}.tick{position:absolute;height:0.25rem;width:0.125rem;border-width:1px;border-style:solid;background-color:var(--calcite-ui-border-input);border-color:var(--calcite-ui-foreground-1);top:-2px;pointer-events:none;-webkit-margin-start:calc(-1 * 0.125rem);margin-inline-start:calc(-1 * 0.125rem)}.tick--active{background-color:var(--calcite-ui-brand)}.tick__label{pointer-events:none;margin-top:0.875rem;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center}.tick__label--min{-webkit-transition:opacity var(--calcite-animation-timing);transition:opacity var(--calcite-animation-timing)}.tick__label--max{-webkit-transition:opacity var(--calcite-internal-animation-timing-fast);transition:opacity var(--calcite-internal-animation-timing-fast)}:host([has-histogram][label-handles]) .tick__label--min,:host([has-histogram][label-handles]) .tick__label--max,:host([has-histogram][precise]) .tick__label--min,:host([has-histogram][precise]) .tick__label--max{font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-3)}.graph{color:var(--calcite-ui-foreground-3);height:48px}:host([label-ticks][ticks]) .container{padding-bottom:calc(0.875rem + var(--calcite-slider-container-font-size))}:host([has-histogram]):host([precise][label-handles]) .container{padding-bottom:calc(var(--calcite-slider-full-handle-height) + 1em)}:host([has-histogram]):host([label-handles]:not([precise])) .container{padding-bottom:calc(var(--calcite-slider-handle-size) * 0.5 + 1em)}:host([has-histogram]):host([precise]:not([label-handles])) .container{padding-bottom:var(--calcite-slider-full-handle-height)}:host(:not([has-histogram])):host([precise]:not([label-handles])) .container{padding-top:var(--calcite-slider-full-handle-height)}:host(:not([has-histogram])):host([precise]:not([label-handles])) .container--range{padding-bottom:var(--calcite-slider-full-handle-height)}:host(:not([has-histogram])):host([label-handles]:not([precise])) .container{padding-top:calc(var(--calcite-slider-full-handle-height) + 4px)}:host(:not([has-histogram])):host([label-handles][precise]) .container{padding-top:calc(var(--calcite-slider-full-handle-height) + var(--calcite-slider-container-font-size) + 4px)}:host(:not([has-histogram])):host([label-handles][precise]) .container--range{padding-bottom:calc(var(--calcite-slider-full-handle-height) + var(--calcite-slider-container-font-size) + 4px)}::slotted(input[slot=hidden-form-input]){bottom:0 !important;left:0 !important;margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;right:0 !important;top:0 !important;-webkit-transform:none !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}';function P(a){return Array.isArray(a)}var M=a("calcite_slider",function(){function a(a){var e=this;t(this,a);this.calciteSliderInput=r(this,"calciteSliderInput",7);this.calciteSliderChange=r(this,"calciteSliderChange",7);this.calciteSliderUpdate=r(this,"calciteSliderUpdate",7);this.disabled=false;this.hasHistogram=false;this.labelHandles=false;this.labelTicks=false;this.max=100;this.min=0;this.mirrored=false;this.precise=false;this.required=false;this.snap=false;this.step=1;this.value=0;this.scale="m";this.guid="calcite-slider-".concat(s());this.activeProp="value";this.minMaxValueRange=null;this.minValueDragRange=null;this.maxValueDragRange=null;this.tickValues=[];this.dragUpdate=function(a){a.preventDefault();if(e.dragProp){var t=e.translate(a.clientX||a.pageX);if(P(e.value)&&e.dragProp==="minMaxValue"){if(e.minValueDragRange&&e.maxValueDragRange&&e.minMaxValueRange){var i=t-e.minValueDragRange;var n=t+e.maxValueDragRange;if(n<=e.max&&i>=e.min&&n-i===e.minMaxValueRange){e.minValue=e.clamp(i,"minValue");e.maxValue=e.clamp(n,"maxValue")}}else{e.minValueDragRange=t-e.minValue;e.maxValueDragRange=e.maxValue-t;e.minMaxValueRange=e.maxValue-e.minValue}}else{e.setValue(e.dragProp,e.clamp(t,e.dragProp))}}};this.dragEnd=function(a){e.removeDragListeners();e.focusActiveHandle(a.clientX);if(e.lastDragPropValue!=e[e.dragProp]){e.emitChange()}e.dragProp=null;e.lastDragPropValue=null;e.minValueDragRange=null;e.maxValueDragRange=null;e.minMaxValueRange=null};this.storeTrackRef=function(a){e.trackEl=a}}a.prototype.histogramWatcher=function(a){this.hasHistogram=!!a};a.prototype.valueHandler=function(){this.setMinMaxFromValue()};a.prototype.minMaxValueHandler=function(){this.setValueFromMinMax()};a.prototype.connectedCallback=function(){this.setMinMaxFromValue();this.setValueFromMinMax();m(this);p(this)};a.prototype.disconnectedCallback=function(){d(this);b(this);this.removeDragListeners()};a.prototype.componentWillLoad=function(){this.tickValues=this.generateTickValues();if(!P(this.value)){this.value=this.clamp(this.value)}f(this,this.value);if(this.snap&&!P(this.value)){this.value=this.getClosestStep(this.value)}if(this.histogram){this.hasHistogram=true}};a.prototype.componentDidRender=function(){if(this.labelHandles){this.adjustHostObscuredHandleLabel("value");if(P(this.value)){this.adjustHostObscuredHandleLabel("minValue");if(!(this.precise&&!this.hasHistogram)){this.hyphenateCollidingRangeHandleLabels()}}}this.hideObscuredBoundingTickLabels();g(this)};a.prototype.render=function(){var a;var t=this;var e=this.el.id||this.guid;var n=P(this.value)?"maxValue":"value";var r=P(this.value)?this.maxValue:this.value;var s=this.minValue||this.min;var o=this.shouldUseMinValue();var c=this.getUnitInterval(o?this.minValue:s)*100;var h=this.getUnitInterval(r)*100;var u=this.shouldMirror();var m="".concat(u?100-c:c,"%");var d="".concat(u?h:100-h,"%");var p=P(this.value);var b=i("div",{"aria-disabled":this.disabled,"aria-label":p?this.maxLabel:this.minLabel,"aria-orientation":"horizontal","aria-valuemax":this.max,"aria-valuemin":this.min,"aria-valuenow":r,class:{thumb:true,"thumb--value":true,"thumb--active":this.lastDragProp!=="minMaxValue"&&this.dragProp===n},onBlur:function(){return t.activeProp=null},onFocus:function(){return t.activeProp=n},onPointerDown:function(){return t.dragStart(n)},ref:function(a){return t.maxHandle=a},role:"slider",style:{right:d},tabIndex:0},i("div",{class:"handle"}));var f=i("div",{"aria-disabled":this.disabled,"aria-label":p?this.maxLabel:this.minLabel,"aria-orientation":"horizontal","aria-valuemax":this.max,"aria-valuemin":this.min,"aria-valuenow":r,class:{thumb:true,"thumb--value":true,"thumb--active":this.lastDragProp!=="minMaxValue"&&this.dragProp===n},onBlur:function(){return t.activeProp=null},onFocus:function(){return t.activeProp=n},onPointerDown:function(){return t.dragStart(n)},ref:function(a){return t.maxHandle=a},role:"slider",style:{right:d},tabIndex:0},i("span",{"aria-hidden":"true",class:"handle__label handle__label--value"},r?r.toLocaleString():r),i("span",{"aria-hidden":"true",class:"handle__label handle__label--value static"},r?r.toLocaleString():r),i("span",{"aria-hidden":"true",class:"handle__label handle__label--value transformed"},r?r.toLocaleString():r),i("div",{class:"handle"}));var g=i("div",{"aria-disabled":this.disabled,"aria-label":p?this.maxLabel:this.minLabel,"aria-orientation":"horizontal","aria-valuemax":this.max,"aria-valuemin":this.min,"aria-valuenow":r,class:{thumb:true,"thumb--value":true,"thumb--active":this.lastDragProp!=="minMaxValue"&&this.dragProp===n},onBlur:function(){return t.activeProp=null},onFocus:function(){return t.activeProp=n},onPointerDown:function(){return t.dragStart(n)},ref:function(a){return t.maxHandle=a},role:"slider",style:{right:d},tabIndex:0},i("div",{class:"handle"}),i("span",{"aria-hidden":"true",class:"handle__label handle__label--value"},r?r.toLocaleString():r),i("span",{"aria-hidden":"true",class:"handle__label handle__label--value static"},r?r.toLocaleString():r),i("span",{"aria-hidden":"true",class:"handle__label handle__label--value transformed"},r?r.toLocaleString():r));var x=i("div",{"aria-disabled":this.disabled,"aria-label":p?this.maxLabel:this.minLabel,"aria-orientation":"horizontal","aria-valuemax":this.max,"aria-valuemin":this.min,"aria-valuenow":r,class:{thumb:true,"thumb--value":true,"thumb--active":this.lastDragProp!=="minMaxValue"&&this.dragProp===n,"thumb--precise":true},onBlur:function(){return t.activeProp=null},onFocus:function(){return t.activeProp=n},onPointerDown:function(){return t.dragStart(n)},ref:function(a){return t.maxHandle=a},role:"slider",style:{right:d},tabIndex:0},i("div",{class:"handle"}),i("div",{class:"handle-extension"}));var y=i("div",{"aria-disabled":this.disabled,"aria-label":p?this.maxLabel:this.minLabel,"aria-orientation":"horizontal","aria-valuemax":this.max,"aria-valuemin":this.min,"aria-valuenow":r,class:{thumb:true,"thumb--value":true,"thumb--active":this.lastDragProp!=="minMaxValue"&&this.dragProp===n,"thumb--precise":true},onBlur:function(){return t.activeProp=null},onFocus:function(){return t.activeProp=n},onPointerDown:function(){return t.dragStart(n)},ref:function(a){return t.maxHandle=a},role:"slider",style:{right:d},tabIndex:0},i("div",{class:"handle-extension"}),i("div",{class:"handle"}));var _=i("div",{"aria-disabled":this.disabled,"aria-label":p?this.maxLabel:this.minLabel,"aria-orientation":"horizontal","aria-valuemax":this.max,"aria-valuemin":this.min,"aria-valuenow":r,class:{thumb:true,"thumb--value":true,"thumb--active":this.lastDragProp!=="minMaxValue"&&this.dragProp===n,"thumb--precise":true},onBlur:function(){return t.activeProp=null},onFocus:function(){return t.activeProp=n},onPointerDown:function(){return t.dragStart(n)},ref:function(a){return t.maxHandle=a},role:"slider",style:{right:d},tabIndex:0},i("span",{"aria-hidden":"true",class:"handle__label handle__label--value"},r?r.toLocaleString():r),i("span",{"aria-hidden":"true",class:"handle__label handle__label--value static"},r?r.toLocaleString():r),i("span",{"aria-hidden":"true",class:"handle__label handle__label--value transformed"},r?r.toLocaleString():r),i("div",{class:"handle"}),i("div",{class:"handle-extension"}));var k=i("div",{"aria-disabled":this.disabled,"aria-label":p?this.maxLabel:this.minLabel,"aria-orientation":"horizontal","aria-valuemax":this.max,"aria-valuemin":this.min,"aria-valuenow":r,class:{thumb:true,"thumb--value":true,"thumb--active":this.lastDragProp!=="minMaxValue"&&this.dragProp===n,"thumb--precise":true},onBlur:function(){return t.activeProp=null},onFocus:function(){return t.activeProp=n},onPointerDown:function(){return t.dragStart(n)},ref:function(a){return t.maxHandle=a},role:"slider",style:{right:d},tabIndex:0},i("div",{class:"handle-extension"}),i("div",{class:"handle"}),i("span",{"aria-hidden":"true",class:"handle__label handle__label--value"},r?r.toLocaleString():r),i("span",{"aria-hidden":"true",class:"handle__label handle__label--value static"},r?r.toLocaleString():r),i("span",{"aria-hidden":"true",class:"handle__label handle__label--value transformed"},r?r.toLocaleString():r));var w=i("div",{"aria-disabled":this.disabled,"aria-label":this.minLabel,"aria-orientation":"horizontal","aria-valuemax":this.max,"aria-valuemin":this.min,"aria-valuenow":this.minValue,class:{thumb:true,"thumb--minValue":true,"thumb--active":this.dragProp==="minValue"},onBlur:function(){return t.activeProp=null},onFocus:function(){return t.activeProp="minValue"},onPointerDown:function(){return t.dragStart("minValue")},ref:function(a){return t.minHandle=a},role:"slider",style:{left:m},tabIndex:0},i("div",{class:"handle"}));var V=i("div",{"aria-disabled":this.disabled,"aria-label":this.minLabel,"aria-orientation":"horizontal","aria-valuemax":this.max,"aria-valuemin":this.min,"aria-valuenow":this.minValue,class:{thumb:true,"thumb--minValue":true,"thumb--active":this.dragProp==="minValue"},onBlur:function(){return t.activeProp=null},onFocus:function(){return t.activeProp="minValue"},onPointerDown:function(){return t.dragStart("minValue")},ref:function(a){return t.minHandle=a},role:"slider",style:{left:m},tabIndex:0},i("span",{"aria-hidden":"true",class:"handle__label handle__label--minValue"},this.minValue&&this.minValue.toLocaleString()),i("span",{"aria-hidden":"true",class:"handle__label handle__label--minValue static"},this.minValue&&this.minValue.toLocaleString()),i("span",{"aria-hidden":"true",class:"handle__label handle__label--minValue transformed"},this.minValue&&this.minValue.toLocaleString()),i("div",{class:"handle"}));var H=i("div",{"aria-disabled":this.disabled,"aria-label":this.minLabel,"aria-orientation":"horizontal","aria-valuemax":this.max,"aria-valuemin":this.min,"aria-valuenow":this.minValue,class:{thumb:true,"thumb--minValue":true,"thumb--active":this.dragProp==="minValue"},onBlur:function(){return t.activeProp=null},onFocus:function(){return t.activeProp="minValue"},onPointerDown:function(){return t.dragStart("minValue")},ref:function(a){return t.minHandle=a},role:"slider",style:{left:m},tabIndex:0},i("div",{class:"handle"}),i("span",{"aria-hidden":"true",class:"handle__label handle__label--minValue"},this.minValue&&this.minValue.toLocaleString()),i("span",{"aria-hidden":"true",class:"handle__label handle__label--minValue static"},this.minValue&&this.minValue.toLocaleString()),i("span",{"aria-hidden":"true",class:"handle__label handle__label--minValue transformed"},this.minValue&&this.minValue.toLocaleString()));var D=i("div",{"aria-disabled":this.disabled,"aria-label":this.minLabel,"aria-orientation":"horizontal","aria-valuemax":this.max,"aria-valuemin":this.min,"aria-valuenow":this.minValue,class:{thumb:true,"thumb--minValue":true,"thumb--active":this.dragProp==="minValue","thumb--precise":true},onBlur:function(){return t.activeProp=null},onFocus:function(){return t.activeProp="minValue"},onPointerDown:function(){return t.dragStart("minValue")},ref:function(a){return t.minHandle=a},role:"slider",style:{left:m},tabIndex:0},i("div",{class:"handle-extension"}),i("div",{class:"handle"}));var L=i("div",{"aria-disabled":this.disabled,"aria-label":this.minLabel,"aria-orientation":"horizontal","aria-valuemax":this.max,"aria-valuemin":this.min,"aria-valuenow":this.minValue,class:{thumb:true,"thumb--minValue":true,"thumb--active":this.dragProp==="minValue","thumb--precise":true},onBlur:function(){return t.activeProp=null},onFocus:function(){return t.activeProp="minValue"},onPointerDown:function(){return t.dragStart("minValue")},ref:function(a){return t.minHandle=a},role:"slider",style:{left:m},tabIndex:0},i("div",{class:"handle-extension"}),i("div",{class:"handle"}),i("span",{"aria-hidden":"true",class:"handle__label handle__label--minValue"},this.minValue&&this.minValue.toLocaleString()),i("span",{"aria-hidden":"true",class:"handle__label handle__label--minValue static"},this.minValue&&this.minValue.toLocaleString()),i("span",{"aria-hidden":"true",class:"handle__label handle__label--minValue transformed"},this.minValue&&this.minValue.toLocaleString()));return i(l,{id:e,onTouchStart:this.handleTouchStart},i("div",{class:(a={},a["container"]=true,a["container--range"]=p,a["scale--".concat(this.scale)]=true,a)},this.renderGraph(),i("div",{class:"track",ref:this.storeTrackRef},i("div",{class:"track__range",onPointerDown:function(){return t.dragStart("minMaxValue")},style:{left:"".concat(u?100-h:c,"%"),right:"".concat(u?c:100-h,"%")}}),i("div",{class:"ticks"},this.tickValues.map((function(a){var e="".concat(t.getUnitInterval(a)*100,"%");var n=a>=s&&a<=r;if(o){n=a>=t.minValue&&a<=t.maxValue}return i("span",{class:{tick:true,"tick--active":n},style:{left:u?"":e,right:u?e:""}},t.renderTickLabel(a))})))),i("div",{class:"thumb-container"},!this.precise&&!this.labelHandles&&p&&w,!this.hasHistogram&&!this.precise&&this.labelHandles&&p&&V,this.precise&&!this.labelHandles&&p&&D,this.precise&&this.labelHandles&&p&&L,this.hasHistogram&&!this.precise&&this.labelHandles&&p&&H,!this.precise&&!this.labelHandles&&b,!this.hasHistogram&&!this.precise&&this.labelHandles&&f,!this.hasHistogram&&this.precise&&!this.labelHandles&&x,this.hasHistogram&&this.precise&&!this.labelHandles&&y,!this.hasHistogram&&this.precise&&this.labelHandles&&_,this.hasHistogram&&!this.precise&&this.labelHandles&&g,this.hasHistogram&&this.precise&&this.labelHandles&&k,i(v,{component:this}))))};a.prototype.renderGraph=function(){return this.histogram?i("calcite-graph",{class:"graph",colorStops:this.histogramStops,data:this.histogram,highlightMax:P(this.value)?this.maxValue:this.value,highlightMin:P(this.value)?this.minValue:this.min,max:this.max,min:this.min}):null};a.prototype.renderTickLabel=function(a){var t=P(this.value);var e=a===this.min;var n=a===this.max;var r=i("span",{class:{tick__label:true,"tick__label--min":e,"tick__label--max":n}},a.toLocaleString());if(this.labelTicks&&!this.hasHistogram&&!t){return r}if(this.labelTicks&&!this.hasHistogram&&t&&!this.precise&&!this.labelHandles){return r}if(this.labelTicks&&!this.hasHistogram&&t&&!this.precise&&this.labelHandles){return r}if(this.labelTicks&&!this.hasHistogram&&t&&this.precise&&(e||n)){return r}if(this.labelTicks&&this.hasHistogram&&!this.precise&&!this.labelHandles){return r}if(this.labelTicks&&this.hasHistogram&&this.precise&&!this.labelHandles&&(e||n)){return r}if(this.labelTicks&&this.hasHistogram&&!this.precise&&this.labelHandles&&(e||n)){return r}if(this.labelTicks&&this.hasHistogram&&this.precise&&this.labelHandles&&(e||n)){return r}return null};a.prototype.keyDownHandler=function(a){var t=this.shouldMirror();var e=this,i=e.activeProp,n=e.max,r=e.min,l=e.pageStep,s=e.step;var o=this[i];var c=a.key;if(c==="Enter"||c===" "){a.preventDefault();return}var u;if(c==="ArrowUp"||c==="ArrowRight"){var m=t&&c==="ArrowRight"?-1:1;u=o+s*m}else if(c==="ArrowDown"||c==="ArrowLeft"){var m=t&&c==="ArrowLeft"?-1:1;u=o-s*m}else if(c==="PageUp"){if(l){u=o+l}}else if(c==="PageDown"){if(l){u=o-l}}else if(c==="Home"){u=r}else if(c==="End"){u=n}if(isNaN(u)){return}a.preventDefault();var d=Number(u.toFixed(h(s)));this.setValue(i,this.clamp(d,i))};a.prototype.clickHandler=function(a){this.focusActiveHandle(a.clientX)};a.prototype.pointerDownHandler=function(a){var t=a.clientX||a.pageX;var e=this.translate(t);var i="value";if(P(this.value)){var n=e>=this.minValue&&e<=this.maxValue;if(n&&this.lastDragProp==="minMaxValue"){i="minMaxValue"}else{var r=Math.abs(this.maxValue-e)<Math.abs(this.minValue-e);i=r||e>this.maxValue?"maxValue":"minValue"}}this.lastDragPropValue=this[i];this.dragStart(i);var l=this.el.shadowRoot.querySelector(".thumb:active");if(!l){this.setValue(i,this.clamp(e,i))}};a.prototype.handleTouchStart=function(a){a.preventDefault()};a.prototype.setFocus=function(){return __awaiter(this,void 0,void 0,(function(){var a;return __generator(this,(function(t){a=this.minHandle?this.minHandle:this.maxHandle;a.focus();return[2]}))}))};a.prototype.setValueFromMinMax=function(){var a=this,t=a.minValue,e=a.maxValue;if(typeof t==="number"&&typeof e==="number"){this.value=[t,e]}};a.prototype.setMinMaxFromValue=function(){var a=this.value;if(P(a)){this.minValue=a[0];this.maxValue=a[1]}};a.prototype.onLabelClick=function(){this.setFocus()};a.prototype.shouldMirror=function(){return this.mirrored&&!this.hasHistogram};a.prototype.shouldUseMinValue=function(){if(!P(this.value)){return false}return this.hasHistogram&&this.maxValue===0||!this.hasHistogram&&this.minValue===0};a.prototype.generateTickValues=function(){var a=[];var t=this.min;while(this.ticks&&t<this.max+this.ticks){a.push(Math.min(t,this.max));t=t+this.ticks}return a};a.prototype.dragStart=function(a){this.dragProp=a;this.lastDragProp=this.dragProp;this.activeProp=a;document.addEventListener("pointermove",this.dragUpdate);document.addEventListener("pointerup",this.dragEnd);document.addEventListener("pointercancel",this.dragEnd)};a.prototype.focusActiveHandle=function(a){switch(this.dragProp){case"minValue":this.minHandle.focus();break;case"maxValue":this.maxHandle.focus();break;case"minMaxValue":this.getClosestHandle(a).focus();break}};a.prototype.emitInput=function(){this.calciteSliderInput.emit();this.calciteSliderUpdate.emit()};a.prototype.emitChange=function(){this.calciteSliderChange.emit()};a.prototype.removeDragListeners=function(){document.removeEventListener("pointermove",this.dragUpdate);document.removeEventListener("pointerup",this.dragEnd);document.removeEventListener("pointercancel",this.dragEnd)};a.prototype.setValue=function(a,t){var e=this[a];var i=e!==t;if(!i){return}this[a]=t;var n=this.dragProp;if(!n){this.emitChange()}this.emitInput()};a.prototype.clamp=function(a,t){a=u(a,this.min,this.max);if(t==="maxValue"){a=Math.max(a,this.minValue)}if(t==="minValue"){a=Math.min(a,this.maxValue)}return a};a.prototype.translate=function(a){var t=this.max-this.min;var e=this.trackEl.getBoundingClientRect(),i=e.left,n=e.width;var r=(a-i)/n;var l=this.shouldMirror();var s=this.clamp(this.min+t*(l?1-r:r));var o=Number(s.toFixed(h(this.step)));if(this.snap&&this.step){o=this.getClosestStep(o)}return o};a.prototype.getClosestStep=function(a){a=Number(this.clamp(a).toFixed(h(this.step)));if(this.step){var t=Math.round(a/this.step)*this.step;a=Number(this.clamp(t).toFixed(h(this.step)))}return a};a.prototype.getClosestHandle=function(a){return this.getDistanceX(this.maxHandle,a)>this.getDistanceX(this.minHandle,a)?this.minHandle:this.maxHandle};a.prototype.getDistanceX=function(a,t){return Math.abs(a.getBoundingClientRect().left-t)};a.prototype.getFontSizeForElement=function(a){return Number(window.getComputedStyle(a).getPropertyValue("font-size").match(/\d+/)[0])};a.prototype.getUnitInterval=function(a){a=this.clamp(a);var t=this.max-this.min;return(a-this.min)/t};a.prototype.adjustHostObscuredHandleLabel=function(a){var t=this.el.shadowRoot.querySelector(".handle__label--".concat(a));var e=this.el.shadowRoot.querySelector(".handle__label--".concat(a,".static"));var i=this.el.shadowRoot.querySelector(".handle__label--".concat(a,".transformed"));var n=e.getBoundingClientRect();var r=this.getHostOffset(n.left,n.right);t.style.transform="translateX(".concat(r,"px)");i.style.transform="translateX(".concat(r,"px)")};a.prototype.hyphenateCollidingRangeHandleLabels=function(){var a=this.el.shadowRoot;var t=this.shouldMirror();var e=t?"value":"minValue";var i=t?"minValue":"value";var n=a.querySelector(".handle__label--".concat(e));var r=a.querySelector(".handle__label--".concat(e,".static"));var l=a.querySelector(".handle__label--".concat(e,".transformed"));var s=this.getHostOffset(r.getBoundingClientRect().left,r.getBoundingClientRect().right);var o=a.querySelector(".handle__label--".concat(i));var c=a.querySelector(".handle__label--".concat(i,".static"));var h=a.querySelector(".handle__label--".concat(i,".transformed"));var u=this.getHostOffset(c.getBoundingClientRect().left,c.getBoundingClientRect().right);var m=this.getFontSizeForElement(n);var d=this.getRangeLabelOverlap(l,h);var p=n;var b=m/2;if(d>0){p.classList.add("hyphen","hyphen--wrap");if(u===0&&s===0){var f=d/2-b;f=Math.sign(f)===-1?Math.abs(f):-f;var v=this.getHostOffset(l.getBoundingClientRect().left+f-b,l.getBoundingClientRect().right+f-b);var g=d/2;var x=this.getHostOffset(h.getBoundingClientRect().left+g,h.getBoundingClientRect().right+g);if(v!==0){f+=v;g+=v}if(x!==0){f+=x;g+=x}n.style.transform="translateX(".concat(f,"px)");l.style.transform="translateX(".concat(f-b,"px)");o.style.transform="translateX(".concat(g,"px)");h.style.transform="translateX(".concat(g,"px)")}else if(s>0||u>0){n.style.transform="translateX(".concat(s+b,"px)");o.style.transform="translateX(".concat(d+u,"px)");h.style.transform="translateX(".concat(d+u,"px)")}else if(s<0||u<0){var f=Math.abs(s)+d-b;f=Math.sign(f)===-1?Math.abs(f):-f;n.style.transform="translateX(".concat(f,"px)");l.style.transform="translateX(".concat(f-b,"px)")}}else{p.classList.remove("hyphen","hyphen--wrap");n.style.transform="translateX(".concat(s,"px)");l.style.transform="translateX(".concat(s,"px)");o.style.transform="translateX(".concat(u,"px)");h.style.transform="translateX(".concat(u,"px)")}};a.prototype.hideObscuredBoundingTickLabels=function(){var a=P(this.value);if(!this.hasHistogram&&!a&&!this.labelHandles&&!this.precise){return}if(!this.hasHistogram&&!a&&this.labelHandles&&!this.precise){return}if(!this.hasHistogram&&!a&&!this.labelHandles&&this.precise){return}if(!this.hasHistogram&&!a&&this.labelHandles&&this.precise){return}if(!this.hasHistogram&&a&&!this.precise){return}if(this.hasHistogram&&!this.precise&&!this.labelHandles){return}var t=this.el.shadowRoot.querySelector(".thumb--minValue");var e=this.el.shadowRoot.querySelector(".thumb--value");var i=this.el.shadowRoot.querySelector(".tick__label--min");var n=this.el.shadowRoot.querySelector(".tick__label--max");if(!t&&e&&i&&n){i.style.opacity=this.isMinTickLabelObscured(i,e)?"0":"1";n.style.opacity=this.isMaxTickLabelObscured(n,e)?"0":"1"}if(t&&e&&i&&n){i.style.opacity=this.isMinTickLabelObscured(i,t)||this.isMinTickLabelObscured(i,e)?"0":"1";n.style.opacity=this.isMaxTickLabelObscured(n,t)||this.isMaxTickLabelObscured(n,e)&&this.hasHistogram?"0":"1"}};a.prototype.getHostOffset=function(a,t){var e=this.el.getBoundingClientRect();var i=7;if(a+i<e.left){return e.left-a-i}if(t-i>e.right){return-(t-e.right)+i}return 0};a.prototype.getRangeLabelOverlap=function(a,t){var e=a.getBoundingClientRect();var i=t.getBoundingClientRect();var n=this.getFontSizeForElement(a);var r=e.right+n-i.left;return Math.max(r,0)};a.prototype.isMinTickLabelObscured=function(a,t){var e=a.getBoundingClientRect();var i=t.getBoundingClientRect();return c(e,i)};a.prototype.isMaxTickLabelObscured=function(a,t){var e=a.getBoundingClientRect();var i=t.getBoundingClientRect();return c(e,i)};Object.defineProperty(a.prototype,"el",{get:function(){return n(this)},enumerable:false,configurable:true});Object.defineProperty(a,"watchers",{get:function(){return{histogram:["histogramWatcher"],value:["valueHandler"],minValue:["minMaxValueHandler"],maxValue:["minMaxValueHandler"]}},enumerable:false,configurable:true});return a}());M.style=L}}}));
@@ -2,5 +2,5 @@ var __awaiter=this&&this.__awaiter||function(e,t,r,n){function a(e){return e ins
2
2
  /*!
3
3
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
4
4
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
5
- * v1.0.0-next.451
6
- */System.register(["./p-02531850.system.js"],(function(e){"use strict";var t;return{setters:[function(e){t=e.a}],execute:function(){e({c:vt,f:ut,u:pt});var r="top";var n="bottom";var a="right";var i="left";var o="auto";var f=[r,n,a,i];var s="start";var c="end";var u="clippingParents";var l="viewport";var v="popper";var p="reference";var d=f.reduce((function(e,t){return e.concat([t+"-"+s,t+"-"+c])}),[]);var h=[].concat(f,[o]).reduce((function(e,t){return e.concat([t,t+"-"+s,t+"-"+c])}),[]);var m="beforeRead";var g="read";var y="afterRead";var b="beforeMain";var w="main";var x="afterMain";var O="beforeWrite";var j="write";var E="afterWrite";var D=[m,g,y,b,w,x,O,j,E];function A(e){return e?(e.nodeName||"").toLowerCase():null}function k(e){if(e==null){return window}if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t?t.defaultView||window:window}return e}function M(e){var t=k(e).Element;return e instanceof t||e instanceof Element}function P(e){var t=k(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function L(e){if(typeof ShadowRoot==="undefined"){return false}var t=k(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function W(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var r=t.styles[e]||{};var n=t.attributes[e]||{};var a=t.elements[e];if(!P(a)||!A(a)){return}Object.assign(a.style,r);Object.keys(n).forEach((function(e){var t=n[e];if(t===false){a.removeAttribute(e)}else{a.setAttribute(e,t===true?"":t)}}))}))}function B(e){var t=e.state;var r={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};Object.assign(t.elements.popper.style,r.popper);t.styles=r;if(t.elements.arrow){Object.assign(t.elements.arrow.style,r.arrow)}return function(){Object.keys(t.elements).forEach((function(e){var n=t.elements[e];var a=t.attributes[e]||{};var i=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:r[e]);var o=i.reduce((function(e,t){e[t]="";return e}),{});if(!P(n)||!A(n)){return}Object.assign(n.style,o);Object.keys(a).forEach((function(e){n.removeAttribute(e)}))}))}}var H={name:"applyStyles",enabled:true,phase:"write",fn:W,effect:B,requires:["computeStyles"]};function T(e){return e.split("-")[0]}var R=Math.max;var S=Math.min;var _=Math.round;function C(e,t){if(t===void 0){t=false}var r=e.getBoundingClientRect();var n=1;var a=1;if(P(e)&&t){var i=e.offsetHeight;var o=e.offsetWidth;if(o>0){n=_(r.width)/o||1}if(i>0){a=_(r.height)/i||1}}return{width:r.width/n,height:r.height/a,top:r.top/a,right:r.right/n,bottom:r.bottom/a,left:r.left/n,x:r.left/n,y:r.top/a}}function q(e){var t=C(e);var r=e.offsetWidth;var n=e.offsetHeight;if(Math.abs(t.width-r)<=1){r=t.width}if(Math.abs(t.height-n)<=1){n=t.height}return{x:e.offsetLeft,y:e.offsetTop,width:r,height:n}}function V(e,t){var r=t.getRootNode&&t.getRootNode();if(e.contains(t)){return true}else if(r&&L(r)){var n=t;do{if(n&&e.isSameNode(n)){return true}n=n.parentNode||n.host}while(n)}return false}function N(e){return k(e).getComputedStyle(e)}function I(e){return["table","td","th"].indexOf(A(e))>=0}function F(e){return((M(e)?e.ownerDocument:e.document)||window.document).documentElement}function U(e){if(A(e)==="html"){return e}return e.assignedSlot||e.parentNode||(L(e)?e.host:null)||F(e)}function z(e){if(!P(e)||N(e).position==="fixed"){return null}return e.offsetParent}function X(e){var t=navigator.userAgent.toLowerCase().indexOf("firefox")!==-1;var r=navigator.userAgent.indexOf("Trident")!==-1;if(r&&P(e)){var n=N(e);if(n.position==="fixed"){return null}}var a=U(e);if(L(a)){a=a.host}while(P(a)&&["html","body"].indexOf(A(a))<0){var i=N(a);if(i.transform!=="none"||i.perspective!=="none"||i.contain==="paint"||["transform","perspective"].indexOf(i.willChange)!==-1||t&&i.willChange==="filter"||t&&i.filter&&i.filter!=="none"){return a}else{a=a.parentNode}}return null}function Y(e){var t=k(e);var r=z(e);while(r&&I(r)&&N(r).position==="static"){r=z(r)}if(r&&(A(r)==="html"||A(r)==="body"&&N(r).position==="static")){return t}return r||X(e)||t}function G(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function J(e,t,r){return R(e,S(t,r))}function K(e,t,r){var n=J(e,t,r);return n>r?r:n}function Q(){return{top:0,right:0,bottom:0,left:0}}function Z(e){return Object.assign({},Q(),e)}function $(e,t){return t.reduce((function(t,r){t[r]=e;return t}),{})}var ee=function e(t,r){t=typeof t==="function"?t(Object.assign({},r.rects,{placement:r.placement})):t;return Z(typeof t!=="number"?t:$(t,f))};function te(e){var t;var o=e.state,f=e.name,s=e.options;var c=o.elements.arrow;var u=o.modifiersData.popperOffsets;var l=T(o.placement);var v=G(l);var p=[i,a].indexOf(l)>=0;var d=p?"height":"width";if(!c||!u){return}var h=ee(s.padding,o);var m=q(c);var g=v==="y"?r:i;var y=v==="y"?n:a;var b=o.rects.reference[d]+o.rects.reference[v]-u[v]-o.rects.popper[d];var w=u[v]-o.rects.reference[v];var x=Y(c);var O=x?v==="y"?x.clientHeight||0:x.clientWidth||0:0;var j=b/2-w/2;var E=h[g];var D=O-m[d]-h[y];var A=O/2-m[d]/2+j;var k=J(E,A,D);var M=v;o.modifiersData[f]=(t={},t[M]=k,t.centerOffset=k-A,t)}function re(e){var t=e.state,r=e.options;var n=r.element,a=n===void 0?"[data-popper-arrow]":n;if(a==null){return}if(typeof a==="string"){a=t.elements.popper.querySelector(a);if(!a){return}}if(!V(t.elements.popper,a)){return}t.elements.arrow=a}var ne={name:"arrow",enabled:true,phase:"main",fn:te,effect:re,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function ae(e){return e.split("-")[1]}var ie={top:"auto",right:"auto",bottom:"auto",left:"auto"};function oe(e){var t=e.x,r=e.y;var n=window;var a=n.devicePixelRatio||1;return{x:_(t*a)/a||0,y:_(r*a)/a||0}}function fe(e){var t;var o=e.popper,f=e.popperRect,s=e.placement,u=e.variation,l=e.offsets,v=e.position,p=e.gpuAcceleration,d=e.adaptive,h=e.roundOffsets,m=e.isFixed;var g=l.x,y=g===void 0?0:g,b=l.y,w=b===void 0?0:b;var x=typeof h==="function"?h({x:y,y:w}):{x:y,y:w};y=x.x;w=x.y;var O=l.hasOwnProperty("x");var j=l.hasOwnProperty("y");var E=i;var D=r;var A=window;if(d){var M=Y(o);var P="clientHeight";var L="clientWidth";if(M===k(o)){M=F(o);if(N(M).position!=="static"&&v==="absolute"){P="scrollHeight";L="scrollWidth"}}M=M;if(s===r||(s===i||s===a)&&u===c){D=n;var W=m&&M===A&&A.visualViewport?A.visualViewport.height:M[P];w-=W-f.height;w*=p?1:-1}if(s===i||(s===r||s===n)&&u===c){E=a;var B=m&&M===A&&A.visualViewport?A.visualViewport.width:M[L];y-=B-f.width;y*=p?1:-1}}var H=Object.assign({position:v},d&&ie);var T=h===true?oe({x:y,y:w}):{x:y,y:w};y=T.x;w=T.y;if(p){var R;return Object.assign({},H,(R={},R[D]=j?"0":"",R[E]=O?"0":"",R.transform=(A.devicePixelRatio||1)<=1?"translate("+y+"px, "+w+"px)":"translate3d("+y+"px, "+w+"px, 0)",R))}return Object.assign({},H,(t={},t[D]=j?w+"px":"",t[E]=O?y+"px":"",t.transform="",t))}function se(e){var t=e.state,r=e.options;var n=r.gpuAcceleration,a=n===void 0?true:n,i=r.adaptive,o=i===void 0?true:i,f=r.roundOffsets,s=f===void 0?true:f;var c={placement:T(t.placement),variation:ae(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:a,isFixed:t.options.strategy==="fixed"};if(t.modifiersData.popperOffsets!=null){t.styles.popper=Object.assign({},t.styles.popper,fe(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:o,roundOffsets:s})))}if(t.modifiersData.arrow!=null){t.styles.arrow=Object.assign({},t.styles.arrow,fe(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:false,roundOffsets:s})))}t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}var ce={name:"computeStyles",enabled:true,phase:"beforeWrite",fn:se,data:{}};var ue={passive:true};function le(e){var t=e.state,r=e.instance,n=e.options;var a=n.scroll,i=a===void 0?true:a,o=n.resize,f=o===void 0?true:o;var s=k(t.elements.popper);var c=[].concat(t.scrollParents.reference,t.scrollParents.popper);if(i){c.forEach((function(e){e.addEventListener("scroll",r.update,ue)}))}if(f){s.addEventListener("resize",r.update,ue)}return function(){if(i){c.forEach((function(e){e.removeEventListener("scroll",r.update,ue)}))}if(f){s.removeEventListener("resize",r.update,ue)}}}var ve={name:"eventListeners",enabled:true,phase:"write",fn:function e(){},effect:le,data:{}};var pe={left:"right",right:"left",bottom:"top",top:"bottom"};function de(e){return e.replace(/left|right|bottom|top/g,(function(e){return pe[e]}))}var he={start:"end",end:"start"};function me(e){return e.replace(/start|end/g,(function(e){return he[e]}))}function ge(e){var t=k(e);var r=t.pageXOffset;var n=t.pageYOffset;return{scrollLeft:r,scrollTop:n}}function ye(e){return C(F(e)).left+ge(e).scrollLeft}function be(e){var t=k(e);var r=F(e);var n=t.visualViewport;var a=r.clientWidth;var i=r.clientHeight;var o=0;var f=0;if(n){a=n.width;i=n.height;if(!/^((?!chrome|android).)*safari/i.test(navigator.userAgent)){o=n.offsetLeft;f=n.offsetTop}}return{width:a,height:i,x:o+ye(e),y:f}}function we(e){var t;var r=F(e);var n=ge(e);var a=(t=e.ownerDocument)==null?void 0:t.body;var i=R(r.scrollWidth,r.clientWidth,a?a.scrollWidth:0,a?a.clientWidth:0);var o=R(r.scrollHeight,r.clientHeight,a?a.scrollHeight:0,a?a.clientHeight:0);var f=-n.scrollLeft+ye(e);var s=-n.scrollTop;if(N(a||r).direction==="rtl"){f+=R(r.clientWidth,a?a.clientWidth:0)-i}return{width:i,height:o,x:f,y:s}}function xe(e){var t=N(e),r=t.overflow,n=t.overflowX,a=t.overflowY;return/auto|scroll|overlay|hidden/.test(r+a+n)}function Oe(e){if(["html","body","#document"].indexOf(A(e))>=0){return e.ownerDocument.body}if(P(e)&&xe(e)){return e}return Oe(U(e))}function je(e,t){var r;if(t===void 0){t=[]}var n=Oe(e);var a=n===((r=e.ownerDocument)==null?void 0:r.body);var i=k(n);var o=a?[i].concat(i.visualViewport||[],xe(n)?n:[]):n;var f=t.concat(o);return a?f:f.concat(je(U(o)))}function Ee(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function De(e){var t=C(e);t.top=t.top+e.clientTop;t.left=t.left+e.clientLeft;t.bottom=t.top+e.clientHeight;t.right=t.left+e.clientWidth;t.width=e.clientWidth;t.height=e.clientHeight;t.x=t.left;t.y=t.top;return t}function Ae(e,t){return t===l?Ee(be(e)):M(t)?De(t):Ee(we(F(e)))}function ke(e){var t=je(U(e));var r=["absolute","fixed"].indexOf(N(e).position)>=0;var n=r&&P(e)?Y(e):e;if(!M(n)){return[]}return t.filter((function(e){return M(e)&&V(e,n)&&A(e)!=="body"}))}function Me(e,t,r){var n=t==="clippingParents"?ke(e):[].concat(t);var a=[].concat(n,[r]);var i=a[0];var o=a.reduce((function(t,r){var n=Ae(e,r);t.top=R(n.top,t.top);t.right=S(n.right,t.right);t.bottom=S(n.bottom,t.bottom);t.left=R(n.left,t.left);return t}),Ae(e,i));o.width=o.right-o.left;o.height=o.bottom-o.top;o.x=o.left;o.y=o.top;return o}function Pe(e){var t=e.reference,o=e.element,f=e.placement;var u=f?T(f):null;var l=f?ae(f):null;var v=t.x+t.width/2-o.width/2;var p=t.y+t.height/2-o.height/2;var d;switch(u){case r:d={x:v,y:t.y-o.height};break;case n:d={x:v,y:t.y+t.height};break;case a:d={x:t.x+t.width,y:p};break;case i:d={x:t.x-o.width,y:p};break;default:d={x:t.x,y:t.y}}var h=u?G(u):null;if(h!=null){var m=h==="y"?"height":"width";switch(l){case s:d[h]=d[h]-(t[m]/2-o[m]/2);break;case c:d[h]=d[h]+(t[m]/2-o[m]/2);break}}return d}function Le(e,t){if(t===void 0){t={}}var i=t,o=i.placement,s=o===void 0?e.placement:o,c=i.boundary,d=c===void 0?u:c,h=i.rootBoundary,m=h===void 0?l:h,g=i.elementContext,y=g===void 0?v:g,b=i.altBoundary,w=b===void 0?false:b,x=i.padding,O=x===void 0?0:x;var j=Z(typeof O!=="number"?O:$(O,f));var E=y===v?p:v;var D=e.rects.popper;var A=e.elements[w?E:y];var k=Me(M(A)?A:A.contextElement||F(e.elements.popper),d,m);var P=C(e.elements.reference);var L=Pe({reference:P,element:D,strategy:"absolute",placement:s});var W=Ee(Object.assign({},D,L));var B=y===v?W:P;var H={top:k.top-B.top+j.top,bottom:B.bottom-k.bottom+j.bottom,left:k.left-B.left+j.left,right:B.right-k.right+j.right};var T=e.modifiersData.offset;if(y===v&&T){var R=T[s];Object.keys(H).forEach((function(e){var t=[a,n].indexOf(e)>=0?1:-1;var i=[r,n].indexOf(e)>=0?"y":"x";H[e]+=R[i]*t}))}return H}function We(e,t){if(t===void 0){t={}}var r=t,n=r.placement,a=r.boundary,i=r.rootBoundary,o=r.padding,s=r.flipVariations,c=r.allowedAutoPlacements,u=c===void 0?h:c;var l=ae(n);var v=l?s?d:d.filter((function(e){return ae(e)===l})):f;var p=v.filter((function(e){return u.indexOf(e)>=0}));if(p.length===0){p=v}var m=p.reduce((function(t,r){t[r]=Le(e,{placement:r,boundary:a,rootBoundary:i,padding:o})[T(r)];return t}),{});return Object.keys(m).sort((function(e,t){return m[e]-m[t]}))}function Be(e){if(T(e)===o){return[]}var t=de(e);return[me(e),t,me(t)]}function He(e){var t=e.state,f=e.options,c=e.name;if(t.modifiersData[c]._skip){return}var u=f.mainAxis,l=u===void 0?true:u,v=f.altAxis,p=v===void 0?true:v,d=f.fallbackPlacements,h=f.padding,m=f.boundary,g=f.rootBoundary,y=f.altBoundary,b=f.flipVariations,w=b===void 0?true:b,x=f.allowedAutoPlacements;var O=t.options.placement;var j=T(O);var E=j===O;var D=d||(E||!w?[de(O)]:Be(O));var A=[O].concat(D).reduce((function(e,r){return e.concat(T(r)===o?We(t,{placement:r,boundary:m,rootBoundary:g,padding:h,flipVariations:w,allowedAutoPlacements:x}):r)}),[]);var k=t.rects.reference;var M=t.rects.popper;var P=new Map;var L=true;var W=A[0];for(var B=0;B<A.length;B++){var H=A[B];var R=T(H);var S=ae(H)===s;var _=[r,n].indexOf(R)>=0;var C=_?"width":"height";var q=Le(t,{placement:H,boundary:m,rootBoundary:g,altBoundary:y,padding:h});var V=_?S?a:i:S?n:r;if(k[C]>M[C]){V=de(V)}var N=de(V);var I=[];if(l){I.push(q[R]<=0)}if(p){I.push(q[V]<=0,q[N]<=0)}if(I.every((function(e){return e}))){W=H;L=false;break}P.set(H,I)}if(L){var F=w?3:1;var U=function e(t){var r=A.find((function(e){var r=P.get(e);if(r){return r.slice(0,t).every((function(e){return e}))}}));if(r){W=r;return"break"}};for(var z=F;z>0;z--){var X=U(z);if(X==="break")break}}if(t.placement!==W){t.modifiersData[c]._skip=true;t.placement=W;t.reset=true}}var Te={name:"flip",enabled:true,phase:"main",fn:He,requiresIfExists:["offset"],data:{_skip:false}};function Re(e,t,r){if(r===void 0){r={x:0,y:0}}return{top:e.top-t.height-r.y,right:e.right-t.width+r.x,bottom:e.bottom-t.height+r.y,left:e.left-t.width-r.x}}function Se(e){return[r,a,n,i].some((function(t){return e[t]>=0}))}function _e(e){var t=e.state,r=e.name;var n=t.rects.reference;var a=t.rects.popper;var i=t.modifiersData.preventOverflow;var o=Le(t,{elementContext:"reference"});var f=Le(t,{altBoundary:true});var s=Re(o,n);var c=Re(f,a,i);var u=Se(s);var l=Se(c);t.modifiersData[r]={referenceClippingOffsets:s,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:l};t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":l})}var Ce={name:"hide",enabled:true,phase:"main",requiresIfExists:["preventOverflow"],fn:_e};function qe(e,t,n){var o=T(e);var f=[i,r].indexOf(o)>=0?-1:1;var s=typeof n==="function"?n(Object.assign({},t,{placement:e})):n,c=s[0],u=s[1];c=c||0;u=(u||0)*f;return[i,a].indexOf(o)>=0?{x:u,y:c}:{x:c,y:u}}function Ve(e){var t=e.state,r=e.options,n=e.name;var a=r.offset,i=a===void 0?[0,0]:a;var o=h.reduce((function(e,r){e[r]=qe(r,t.rects,i);return e}),{});var f=o[t.placement],s=f.x,c=f.y;if(t.modifiersData.popperOffsets!=null){t.modifiersData.popperOffsets.x+=s;t.modifiersData.popperOffsets.y+=c}t.modifiersData[n]=o}var Ne={name:"offset",enabled:true,phase:"main",requires:["popperOffsets"],fn:Ve};function Ie(e){var t=e.state,r=e.name;t.modifiersData[r]=Pe({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}var Fe={name:"popperOffsets",enabled:true,phase:"read",fn:Ie,data:{}};function Ue(e){return e==="x"?"y":"x"}function ze(e){var t=e.state,o=e.options,f=e.name;var c=o.mainAxis,u=c===void 0?true:c,l=o.altAxis,v=l===void 0?false:l,p=o.boundary,d=o.rootBoundary,h=o.altBoundary,m=o.padding,g=o.tether,y=g===void 0?true:g,b=o.tetherOffset,w=b===void 0?0:b;var x=Le(t,{boundary:p,rootBoundary:d,padding:m,altBoundary:h});var O=T(t.placement);var j=ae(t.placement);var E=!j;var D=G(O);var A=Ue(D);var k=t.modifiersData.popperOffsets;var M=t.rects.reference;var P=t.rects.popper;var L=typeof w==="function"?w(Object.assign({},t.rects,{placement:t.placement})):w;var W=typeof L==="number"?{mainAxis:L,altAxis:L}:Object.assign({mainAxis:0,altAxis:0},L);var B=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null;var H={x:0,y:0};if(!k){return}if(u){var _;var C=D==="y"?r:i;var V=D==="y"?n:a;var N=D==="y"?"height":"width";var I=k[D];var F=I+x[C];var U=I-x[V];var z=y?-P[N]/2:0;var X=j===s?M[N]:P[N];var Z=j===s?-P[N]:-M[N];var $=t.elements.arrow;var ee=y&&$?q($):{width:0,height:0};var te=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:Q();var re=te[C];var ne=te[V];var ie=J(0,M[N],ee[N]);var oe=E?M[N]/2-z-ie-re-W.mainAxis:X-ie-re-W.mainAxis;var fe=E?-M[N]/2+z+ie+ne+W.mainAxis:Z+ie+ne+W.mainAxis;var se=t.elements.arrow&&Y(t.elements.arrow);var ce=se?D==="y"?se.clientTop||0:se.clientLeft||0:0;var ue=(_=B==null?void 0:B[D])!=null?_:0;var le=I+oe-ue-ce;var ve=I+fe-ue;var pe=J(y?S(F,le):F,I,y?R(U,ve):U);k[D]=pe;H[D]=pe-I}if(v){var de;var he=D==="x"?r:i;var me=D==="x"?n:a;var ge=k[A];var ye=A==="y"?"height":"width";var be=ge+x[he];var we=ge-x[me];var xe=[r,i].indexOf(O)!==-1;var Oe=(de=B==null?void 0:B[A])!=null?de:0;var je=xe?be:ge-M[ye]-P[ye]-Oe+W.altAxis;var Ee=xe?ge+M[ye]+P[ye]-Oe-W.altAxis:we;var De=y&&xe?K(je,ge,Ee):J(y?je:be,ge,y?Ee:we);k[A]=De;H[A]=De-ge}t.modifiersData[f]=H}var Xe={name:"preventOverflow",enabled:true,phase:"main",fn:ze,requiresIfExists:["offset"]};function Ye(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function Ge(e){if(e===k(e)||!P(e)){return ge(e)}else{return Ye(e)}}function Je(e){var t=e.getBoundingClientRect();var r=_(t.width)/e.offsetWidth||1;var n=_(t.height)/e.offsetHeight||1;return r!==1||n!==1}function Ke(e,t,r){if(r===void 0){r=false}var n=P(t);var a=P(t)&&Je(t);var i=F(t);var o=C(e,a);var f={scrollLeft:0,scrollTop:0};var s={x:0,y:0};if(n||!n&&!r){if(A(t)!=="body"||xe(i)){f=Ge(t)}if(P(t)){s=C(t,true);s.x+=t.clientLeft;s.y+=t.clientTop}else if(i){s.x=ye(i)}}return{x:o.left+f.scrollLeft-s.x,y:o.top+f.scrollTop-s.y,width:o.width,height:o.height}}function Qe(e){var t=new Map;var r=new Set;var n=[];e.forEach((function(e){t.set(e.name,e)}));function a(e){r.add(e.name);var i=[].concat(e.requires||[],e.requiresIfExists||[]);i.forEach((function(e){if(!r.has(e)){var n=t.get(e);if(n){a(n)}}}));n.push(e)}e.forEach((function(e){if(!r.has(e.name)){a(e)}}));return n}function Ze(e){var t=Qe(e);return D.reduce((function(e,r){return e.concat(t.filter((function(e){return e.phase===r})))}),[])}function $e(e){var t;return function(){if(!t){t=new Promise((function(r){Promise.resolve().then((function(){t=undefined;r(e())}))}))}return t}}function et(e){var t=e.reduce((function(e,t){var r=e[t.name];e[t.name]=r?Object.assign({},r,t,{options:Object.assign({},r.options,t.options),data:Object.assign({},r.data,t.data)}):t;return e}),{});return Object.keys(t).map((function(e){return t[e]}))}var tt={placement:"bottom",modifiers:[],strategy:"absolute"};function rt(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++){t[r]=arguments[r]}return!t.some((function(e){return!(e&&typeof e.getBoundingClientRect==="function")}))}function nt(e){if(e===void 0){e={}}var t=e,r=t.defaultModifiers,n=r===void 0?[]:r,a=t.defaultOptions,i=a===void 0?tt:a;return function e(t,r,a){if(a===void 0){a=i}var o={placement:"bottom",orderedModifiers:[],options:Object.assign({},tt,i),modifiersData:{},elements:{reference:t,popper:r},attributes:{},styles:{}};var f=[];var s=false;var c={state:o,setOptions:function e(a){var f=typeof a==="function"?a(o.options):a;l();o.options=Object.assign({},i,o.options,f);o.scrollParents={reference:M(t)?je(t):t.contextElement?je(t.contextElement):[],popper:je(r)};var s=Ze(et([].concat(n,o.options.modifiers)));o.orderedModifiers=s.filter((function(e){return e.enabled}));u();return c.update()},forceUpdate:function e(){if(s){return}var t=o.elements,r=t.reference,n=t.popper;if(!rt(r,n)){return}o.rects={reference:Ke(r,Y(n),o.options.strategy==="fixed"),popper:q(n)};o.reset=false;o.placement=o.options.placement;o.orderedModifiers.forEach((function(e){return o.modifiersData[e.name]=Object.assign({},e.data)}));for(var a=0;a<o.orderedModifiers.length;a++){if(o.reset===true){o.reset=false;a=-1;continue}var i=o.orderedModifiers[a],f=i.fn,u=i.options,l=u===void 0?{}:u,v=i.name;if(typeof f==="function"){o=f({state:o,options:l,name:v,instance:c})||o}}},update:$e((function(){return new Promise((function(e){c.forceUpdate();e(o)}))})),destroy:function e(){l();s=true}};if(!rt(t,r)){return c}c.setOptions(a).then((function(e){if(!s&&a.onFirstUpdate){a.onFirstUpdate(e)}}));function u(){o.orderedModifiers.forEach((function(e){var t=e.name,r=e.options,n=r===void 0?{}:r,a=e.effect;if(typeof a==="function"){var i=a({state:o,name:t,instance:c,options:n});var s=function e(){};f.push(i||s)}}))}function l(){f.forEach((function(e){return e()}));f=[]}return c}}var at=[ve,Fe,ce,H,Ne,Te,Xe,ne,Ce];var it=nt({defaultModifiers:at});var ot=["top","bottom","right","left","top-start","top-end","bottom-start","bottom-end","right-start","right-end","left-start","left-end"];var ft=e("d","bottom-leading");var st=e("p",["top-start","top","top-end","bottom-start","bottom","bottom-end"]);var ct=e("C",{animation:"calcite-popper-anim",animationActive:"calcite-popper-anim--active"});function ut(e,t){var r=e.filter((function(e){return ot.includes(e)}));if(r.length!==e.length){console.warn("".concat(t.tagName,": Invalid value found in: flipPlacements. Try any of these: ").concat(ot.map((function(e){return'"'.concat(e,'"')})).join(", ").trim()),{el:t})}return r}function lt(e,r){var n=["left","right"];var a=["start","end"];if(t(e)==="rtl"){n.reverse();a.reverse()}return r.replace(/-leading/gi,"-".concat(a[0])).replace(/-trailing/gi,"-".concat(a[1])).replace(/leading/gi,n[0]).replace(/trailing/gi,n[1])}function vt(e){var t=e.referenceEl,r=e.el,n=e.placement,a=e.overlayPositioning,i=a===void 0?"absolute":a,o=e.modifiers;if(!t){return null}return it(t,r,{strategy:i,placement:lt(r,n),modifiers:o})}function pt(e){var t=e.el,r=e.modifiers,n=e.placement,a=e.popper;return __awaiter(this,void 0,void 0,(function(){var e;return __generator(this,(function(i){switch(i.label){case 0:e=lt(t,n);return[4,a.setOptions({modifiers:r,placement:e})];case 1:i.sent();return[2]}}))}))}function dt(e,t){return Math.sqrt(Math.pow(e,2)+Math.pow(t,2))}var ht=4;var mt=e("a",Math.ceil(dt(ht,ht)))}}}));
5
+ * v1.0.0-next.454
6
+ */System.register(["./p-e60e3b5e.system.js"],(function(e){"use strict";var t;return{setters:[function(e){t=e.a}],execute:function(){e({c:vt,f:ut,u:pt});var r="top";var n="bottom";var a="right";var i="left";var o="auto";var f=[r,n,a,i];var s="start";var c="end";var u="clippingParents";var l="viewport";var v="popper";var p="reference";var d=f.reduce((function(e,t){return e.concat([t+"-"+s,t+"-"+c])}),[]);var h=[].concat(f,[o]).reduce((function(e,t){return e.concat([t,t+"-"+s,t+"-"+c])}),[]);var m="beforeRead";var g="read";var y="afterRead";var b="beforeMain";var w="main";var x="afterMain";var O="beforeWrite";var j="write";var E="afterWrite";var D=[m,g,y,b,w,x,O,j,E];function A(e){return e?(e.nodeName||"").toLowerCase():null}function k(e){if(e==null){return window}if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t?t.defaultView||window:window}return e}function M(e){var t=k(e).Element;return e instanceof t||e instanceof Element}function P(e){var t=k(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function L(e){if(typeof ShadowRoot==="undefined"){return false}var t=k(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function W(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var r=t.styles[e]||{};var n=t.attributes[e]||{};var a=t.elements[e];if(!P(a)||!A(a)){return}Object.assign(a.style,r);Object.keys(n).forEach((function(e){var t=n[e];if(t===false){a.removeAttribute(e)}else{a.setAttribute(e,t===true?"":t)}}))}))}function B(e){var t=e.state;var r={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};Object.assign(t.elements.popper.style,r.popper);t.styles=r;if(t.elements.arrow){Object.assign(t.elements.arrow.style,r.arrow)}return function(){Object.keys(t.elements).forEach((function(e){var n=t.elements[e];var a=t.attributes[e]||{};var i=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:r[e]);var o=i.reduce((function(e,t){e[t]="";return e}),{});if(!P(n)||!A(n)){return}Object.assign(n.style,o);Object.keys(a).forEach((function(e){n.removeAttribute(e)}))}))}}var H={name:"applyStyles",enabled:true,phase:"write",fn:W,effect:B,requires:["computeStyles"]};function T(e){return e.split("-")[0]}var R=Math.max;var S=Math.min;var _=Math.round;function C(e,t){if(t===void 0){t=false}var r=e.getBoundingClientRect();var n=1;var a=1;if(P(e)&&t){var i=e.offsetHeight;var o=e.offsetWidth;if(o>0){n=_(r.width)/o||1}if(i>0){a=_(r.height)/i||1}}return{width:r.width/n,height:r.height/a,top:r.top/a,right:r.right/n,bottom:r.bottom/a,left:r.left/n,x:r.left/n,y:r.top/a}}function q(e){var t=C(e);var r=e.offsetWidth;var n=e.offsetHeight;if(Math.abs(t.width-r)<=1){r=t.width}if(Math.abs(t.height-n)<=1){n=t.height}return{x:e.offsetLeft,y:e.offsetTop,width:r,height:n}}function V(e,t){var r=t.getRootNode&&t.getRootNode();if(e.contains(t)){return true}else if(r&&L(r)){var n=t;do{if(n&&e.isSameNode(n)){return true}n=n.parentNode||n.host}while(n)}return false}function N(e){return k(e).getComputedStyle(e)}function I(e){return["table","td","th"].indexOf(A(e))>=0}function F(e){return((M(e)?e.ownerDocument:e.document)||window.document).documentElement}function U(e){if(A(e)==="html"){return e}return e.assignedSlot||e.parentNode||(L(e)?e.host:null)||F(e)}function z(e){if(!P(e)||N(e).position==="fixed"){return null}return e.offsetParent}function X(e){var t=navigator.userAgent.toLowerCase().indexOf("firefox")!==-1;var r=navigator.userAgent.indexOf("Trident")!==-1;if(r&&P(e)){var n=N(e);if(n.position==="fixed"){return null}}var a=U(e);if(L(a)){a=a.host}while(P(a)&&["html","body"].indexOf(A(a))<0){var i=N(a);if(i.transform!=="none"||i.perspective!=="none"||i.contain==="paint"||["transform","perspective"].indexOf(i.willChange)!==-1||t&&i.willChange==="filter"||t&&i.filter&&i.filter!=="none"){return a}else{a=a.parentNode}}return null}function Y(e){var t=k(e);var r=z(e);while(r&&I(r)&&N(r).position==="static"){r=z(r)}if(r&&(A(r)==="html"||A(r)==="body"&&N(r).position==="static")){return t}return r||X(e)||t}function G(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function J(e,t,r){return R(e,S(t,r))}function K(e,t,r){var n=J(e,t,r);return n>r?r:n}function Q(){return{top:0,right:0,bottom:0,left:0}}function Z(e){return Object.assign({},Q(),e)}function $(e,t){return t.reduce((function(t,r){t[r]=e;return t}),{})}var ee=function e(t,r){t=typeof t==="function"?t(Object.assign({},r.rects,{placement:r.placement})):t;return Z(typeof t!=="number"?t:$(t,f))};function te(e){var t;var o=e.state,f=e.name,s=e.options;var c=o.elements.arrow;var u=o.modifiersData.popperOffsets;var l=T(o.placement);var v=G(l);var p=[i,a].indexOf(l)>=0;var d=p?"height":"width";if(!c||!u){return}var h=ee(s.padding,o);var m=q(c);var g=v==="y"?r:i;var y=v==="y"?n:a;var b=o.rects.reference[d]+o.rects.reference[v]-u[v]-o.rects.popper[d];var w=u[v]-o.rects.reference[v];var x=Y(c);var O=x?v==="y"?x.clientHeight||0:x.clientWidth||0:0;var j=b/2-w/2;var E=h[g];var D=O-m[d]-h[y];var A=O/2-m[d]/2+j;var k=J(E,A,D);var M=v;o.modifiersData[f]=(t={},t[M]=k,t.centerOffset=k-A,t)}function re(e){var t=e.state,r=e.options;var n=r.element,a=n===void 0?"[data-popper-arrow]":n;if(a==null){return}if(typeof a==="string"){a=t.elements.popper.querySelector(a);if(!a){return}}if(!V(t.elements.popper,a)){return}t.elements.arrow=a}var ne={name:"arrow",enabled:true,phase:"main",fn:te,effect:re,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function ae(e){return e.split("-")[1]}var ie={top:"auto",right:"auto",bottom:"auto",left:"auto"};function oe(e){var t=e.x,r=e.y;var n=window;var a=n.devicePixelRatio||1;return{x:_(t*a)/a||0,y:_(r*a)/a||0}}function fe(e){var t;var o=e.popper,f=e.popperRect,s=e.placement,u=e.variation,l=e.offsets,v=e.position,p=e.gpuAcceleration,d=e.adaptive,h=e.roundOffsets,m=e.isFixed;var g=l.x,y=g===void 0?0:g,b=l.y,w=b===void 0?0:b;var x=typeof h==="function"?h({x:y,y:w}):{x:y,y:w};y=x.x;w=x.y;var O=l.hasOwnProperty("x");var j=l.hasOwnProperty("y");var E=i;var D=r;var A=window;if(d){var M=Y(o);var P="clientHeight";var L="clientWidth";if(M===k(o)){M=F(o);if(N(M).position!=="static"&&v==="absolute"){P="scrollHeight";L="scrollWidth"}}M=M;if(s===r||(s===i||s===a)&&u===c){D=n;var W=m&&M===A&&A.visualViewport?A.visualViewport.height:M[P];w-=W-f.height;w*=p?1:-1}if(s===i||(s===r||s===n)&&u===c){E=a;var B=m&&M===A&&A.visualViewport?A.visualViewport.width:M[L];y-=B-f.width;y*=p?1:-1}}var H=Object.assign({position:v},d&&ie);var T=h===true?oe({x:y,y:w}):{x:y,y:w};y=T.x;w=T.y;if(p){var R;return Object.assign({},H,(R={},R[D]=j?"0":"",R[E]=O?"0":"",R.transform=(A.devicePixelRatio||1)<=1?"translate("+y+"px, "+w+"px)":"translate3d("+y+"px, "+w+"px, 0)",R))}return Object.assign({},H,(t={},t[D]=j?w+"px":"",t[E]=O?y+"px":"",t.transform="",t))}function se(e){var t=e.state,r=e.options;var n=r.gpuAcceleration,a=n===void 0?true:n,i=r.adaptive,o=i===void 0?true:i,f=r.roundOffsets,s=f===void 0?true:f;var c={placement:T(t.placement),variation:ae(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:a,isFixed:t.options.strategy==="fixed"};if(t.modifiersData.popperOffsets!=null){t.styles.popper=Object.assign({},t.styles.popper,fe(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:o,roundOffsets:s})))}if(t.modifiersData.arrow!=null){t.styles.arrow=Object.assign({},t.styles.arrow,fe(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:false,roundOffsets:s})))}t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}var ce={name:"computeStyles",enabled:true,phase:"beforeWrite",fn:se,data:{}};var ue={passive:true};function le(e){var t=e.state,r=e.instance,n=e.options;var a=n.scroll,i=a===void 0?true:a,o=n.resize,f=o===void 0?true:o;var s=k(t.elements.popper);var c=[].concat(t.scrollParents.reference,t.scrollParents.popper);if(i){c.forEach((function(e){e.addEventListener("scroll",r.update,ue)}))}if(f){s.addEventListener("resize",r.update,ue)}return function(){if(i){c.forEach((function(e){e.removeEventListener("scroll",r.update,ue)}))}if(f){s.removeEventListener("resize",r.update,ue)}}}var ve={name:"eventListeners",enabled:true,phase:"write",fn:function e(){},effect:le,data:{}};var pe={left:"right",right:"left",bottom:"top",top:"bottom"};function de(e){return e.replace(/left|right|bottom|top/g,(function(e){return pe[e]}))}var he={start:"end",end:"start"};function me(e){return e.replace(/start|end/g,(function(e){return he[e]}))}function ge(e){var t=k(e);var r=t.pageXOffset;var n=t.pageYOffset;return{scrollLeft:r,scrollTop:n}}function ye(e){return C(F(e)).left+ge(e).scrollLeft}function be(e){var t=k(e);var r=F(e);var n=t.visualViewport;var a=r.clientWidth;var i=r.clientHeight;var o=0;var f=0;if(n){a=n.width;i=n.height;if(!/^((?!chrome|android).)*safari/i.test(navigator.userAgent)){o=n.offsetLeft;f=n.offsetTop}}return{width:a,height:i,x:o+ye(e),y:f}}function we(e){var t;var r=F(e);var n=ge(e);var a=(t=e.ownerDocument)==null?void 0:t.body;var i=R(r.scrollWidth,r.clientWidth,a?a.scrollWidth:0,a?a.clientWidth:0);var o=R(r.scrollHeight,r.clientHeight,a?a.scrollHeight:0,a?a.clientHeight:0);var f=-n.scrollLeft+ye(e);var s=-n.scrollTop;if(N(a||r).direction==="rtl"){f+=R(r.clientWidth,a?a.clientWidth:0)-i}return{width:i,height:o,x:f,y:s}}function xe(e){var t=N(e),r=t.overflow,n=t.overflowX,a=t.overflowY;return/auto|scroll|overlay|hidden/.test(r+a+n)}function Oe(e){if(["html","body","#document"].indexOf(A(e))>=0){return e.ownerDocument.body}if(P(e)&&xe(e)){return e}return Oe(U(e))}function je(e,t){var r;if(t===void 0){t=[]}var n=Oe(e);var a=n===((r=e.ownerDocument)==null?void 0:r.body);var i=k(n);var o=a?[i].concat(i.visualViewport||[],xe(n)?n:[]):n;var f=t.concat(o);return a?f:f.concat(je(U(o)))}function Ee(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function De(e){var t=C(e);t.top=t.top+e.clientTop;t.left=t.left+e.clientLeft;t.bottom=t.top+e.clientHeight;t.right=t.left+e.clientWidth;t.width=e.clientWidth;t.height=e.clientHeight;t.x=t.left;t.y=t.top;return t}function Ae(e,t){return t===l?Ee(be(e)):M(t)?De(t):Ee(we(F(e)))}function ke(e){var t=je(U(e));var r=["absolute","fixed"].indexOf(N(e).position)>=0;var n=r&&P(e)?Y(e):e;if(!M(n)){return[]}return t.filter((function(e){return M(e)&&V(e,n)&&A(e)!=="body"}))}function Me(e,t,r){var n=t==="clippingParents"?ke(e):[].concat(t);var a=[].concat(n,[r]);var i=a[0];var o=a.reduce((function(t,r){var n=Ae(e,r);t.top=R(n.top,t.top);t.right=S(n.right,t.right);t.bottom=S(n.bottom,t.bottom);t.left=R(n.left,t.left);return t}),Ae(e,i));o.width=o.right-o.left;o.height=o.bottom-o.top;o.x=o.left;o.y=o.top;return o}function Pe(e){var t=e.reference,o=e.element,f=e.placement;var u=f?T(f):null;var l=f?ae(f):null;var v=t.x+t.width/2-o.width/2;var p=t.y+t.height/2-o.height/2;var d;switch(u){case r:d={x:v,y:t.y-o.height};break;case n:d={x:v,y:t.y+t.height};break;case a:d={x:t.x+t.width,y:p};break;case i:d={x:t.x-o.width,y:p};break;default:d={x:t.x,y:t.y}}var h=u?G(u):null;if(h!=null){var m=h==="y"?"height":"width";switch(l){case s:d[h]=d[h]-(t[m]/2-o[m]/2);break;case c:d[h]=d[h]+(t[m]/2-o[m]/2);break}}return d}function Le(e,t){if(t===void 0){t={}}var i=t,o=i.placement,s=o===void 0?e.placement:o,c=i.boundary,d=c===void 0?u:c,h=i.rootBoundary,m=h===void 0?l:h,g=i.elementContext,y=g===void 0?v:g,b=i.altBoundary,w=b===void 0?false:b,x=i.padding,O=x===void 0?0:x;var j=Z(typeof O!=="number"?O:$(O,f));var E=y===v?p:v;var D=e.rects.popper;var A=e.elements[w?E:y];var k=Me(M(A)?A:A.contextElement||F(e.elements.popper),d,m);var P=C(e.elements.reference);var L=Pe({reference:P,element:D,strategy:"absolute",placement:s});var W=Ee(Object.assign({},D,L));var B=y===v?W:P;var H={top:k.top-B.top+j.top,bottom:B.bottom-k.bottom+j.bottom,left:k.left-B.left+j.left,right:B.right-k.right+j.right};var T=e.modifiersData.offset;if(y===v&&T){var R=T[s];Object.keys(H).forEach((function(e){var t=[a,n].indexOf(e)>=0?1:-1;var i=[r,n].indexOf(e)>=0?"y":"x";H[e]+=R[i]*t}))}return H}function We(e,t){if(t===void 0){t={}}var r=t,n=r.placement,a=r.boundary,i=r.rootBoundary,o=r.padding,s=r.flipVariations,c=r.allowedAutoPlacements,u=c===void 0?h:c;var l=ae(n);var v=l?s?d:d.filter((function(e){return ae(e)===l})):f;var p=v.filter((function(e){return u.indexOf(e)>=0}));if(p.length===0){p=v}var m=p.reduce((function(t,r){t[r]=Le(e,{placement:r,boundary:a,rootBoundary:i,padding:o})[T(r)];return t}),{});return Object.keys(m).sort((function(e,t){return m[e]-m[t]}))}function Be(e){if(T(e)===o){return[]}var t=de(e);return[me(e),t,me(t)]}function He(e){var t=e.state,f=e.options,c=e.name;if(t.modifiersData[c]._skip){return}var u=f.mainAxis,l=u===void 0?true:u,v=f.altAxis,p=v===void 0?true:v,d=f.fallbackPlacements,h=f.padding,m=f.boundary,g=f.rootBoundary,y=f.altBoundary,b=f.flipVariations,w=b===void 0?true:b,x=f.allowedAutoPlacements;var O=t.options.placement;var j=T(O);var E=j===O;var D=d||(E||!w?[de(O)]:Be(O));var A=[O].concat(D).reduce((function(e,r){return e.concat(T(r)===o?We(t,{placement:r,boundary:m,rootBoundary:g,padding:h,flipVariations:w,allowedAutoPlacements:x}):r)}),[]);var k=t.rects.reference;var M=t.rects.popper;var P=new Map;var L=true;var W=A[0];for(var B=0;B<A.length;B++){var H=A[B];var R=T(H);var S=ae(H)===s;var _=[r,n].indexOf(R)>=0;var C=_?"width":"height";var q=Le(t,{placement:H,boundary:m,rootBoundary:g,altBoundary:y,padding:h});var V=_?S?a:i:S?n:r;if(k[C]>M[C]){V=de(V)}var N=de(V);var I=[];if(l){I.push(q[R]<=0)}if(p){I.push(q[V]<=0,q[N]<=0)}if(I.every((function(e){return e}))){W=H;L=false;break}P.set(H,I)}if(L){var F=w?3:1;var U=function e(t){var r=A.find((function(e){var r=P.get(e);if(r){return r.slice(0,t).every((function(e){return e}))}}));if(r){W=r;return"break"}};for(var z=F;z>0;z--){var X=U(z);if(X==="break")break}}if(t.placement!==W){t.modifiersData[c]._skip=true;t.placement=W;t.reset=true}}var Te={name:"flip",enabled:true,phase:"main",fn:He,requiresIfExists:["offset"],data:{_skip:false}};function Re(e,t,r){if(r===void 0){r={x:0,y:0}}return{top:e.top-t.height-r.y,right:e.right-t.width+r.x,bottom:e.bottom-t.height+r.y,left:e.left-t.width-r.x}}function Se(e){return[r,a,n,i].some((function(t){return e[t]>=0}))}function _e(e){var t=e.state,r=e.name;var n=t.rects.reference;var a=t.rects.popper;var i=t.modifiersData.preventOverflow;var o=Le(t,{elementContext:"reference"});var f=Le(t,{altBoundary:true});var s=Re(o,n);var c=Re(f,a,i);var u=Se(s);var l=Se(c);t.modifiersData[r]={referenceClippingOffsets:s,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:l};t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":l})}var Ce={name:"hide",enabled:true,phase:"main",requiresIfExists:["preventOverflow"],fn:_e};function qe(e,t,n){var o=T(e);var f=[i,r].indexOf(o)>=0?-1:1;var s=typeof n==="function"?n(Object.assign({},t,{placement:e})):n,c=s[0],u=s[1];c=c||0;u=(u||0)*f;return[i,a].indexOf(o)>=0?{x:u,y:c}:{x:c,y:u}}function Ve(e){var t=e.state,r=e.options,n=e.name;var a=r.offset,i=a===void 0?[0,0]:a;var o=h.reduce((function(e,r){e[r]=qe(r,t.rects,i);return e}),{});var f=o[t.placement],s=f.x,c=f.y;if(t.modifiersData.popperOffsets!=null){t.modifiersData.popperOffsets.x+=s;t.modifiersData.popperOffsets.y+=c}t.modifiersData[n]=o}var Ne={name:"offset",enabled:true,phase:"main",requires:["popperOffsets"],fn:Ve};function Ie(e){var t=e.state,r=e.name;t.modifiersData[r]=Pe({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}var Fe={name:"popperOffsets",enabled:true,phase:"read",fn:Ie,data:{}};function Ue(e){return e==="x"?"y":"x"}function ze(e){var t=e.state,o=e.options,f=e.name;var c=o.mainAxis,u=c===void 0?true:c,l=o.altAxis,v=l===void 0?false:l,p=o.boundary,d=o.rootBoundary,h=o.altBoundary,m=o.padding,g=o.tether,y=g===void 0?true:g,b=o.tetherOffset,w=b===void 0?0:b;var x=Le(t,{boundary:p,rootBoundary:d,padding:m,altBoundary:h});var O=T(t.placement);var j=ae(t.placement);var E=!j;var D=G(O);var A=Ue(D);var k=t.modifiersData.popperOffsets;var M=t.rects.reference;var P=t.rects.popper;var L=typeof w==="function"?w(Object.assign({},t.rects,{placement:t.placement})):w;var W=typeof L==="number"?{mainAxis:L,altAxis:L}:Object.assign({mainAxis:0,altAxis:0},L);var B=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null;var H={x:0,y:0};if(!k){return}if(u){var _;var C=D==="y"?r:i;var V=D==="y"?n:a;var N=D==="y"?"height":"width";var I=k[D];var F=I+x[C];var U=I-x[V];var z=y?-P[N]/2:0;var X=j===s?M[N]:P[N];var Z=j===s?-P[N]:-M[N];var $=t.elements.arrow;var ee=y&&$?q($):{width:0,height:0};var te=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:Q();var re=te[C];var ne=te[V];var ie=J(0,M[N],ee[N]);var oe=E?M[N]/2-z-ie-re-W.mainAxis:X-ie-re-W.mainAxis;var fe=E?-M[N]/2+z+ie+ne+W.mainAxis:Z+ie+ne+W.mainAxis;var se=t.elements.arrow&&Y(t.elements.arrow);var ce=se?D==="y"?se.clientTop||0:se.clientLeft||0:0;var ue=(_=B==null?void 0:B[D])!=null?_:0;var le=I+oe-ue-ce;var ve=I+fe-ue;var pe=J(y?S(F,le):F,I,y?R(U,ve):U);k[D]=pe;H[D]=pe-I}if(v){var de;var he=D==="x"?r:i;var me=D==="x"?n:a;var ge=k[A];var ye=A==="y"?"height":"width";var be=ge+x[he];var we=ge-x[me];var xe=[r,i].indexOf(O)!==-1;var Oe=(de=B==null?void 0:B[A])!=null?de:0;var je=xe?be:ge-M[ye]-P[ye]-Oe+W.altAxis;var Ee=xe?ge+M[ye]+P[ye]-Oe-W.altAxis:we;var De=y&&xe?K(je,ge,Ee):J(y?je:be,ge,y?Ee:we);k[A]=De;H[A]=De-ge}t.modifiersData[f]=H}var Xe={name:"preventOverflow",enabled:true,phase:"main",fn:ze,requiresIfExists:["offset"]};function Ye(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function Ge(e){if(e===k(e)||!P(e)){return ge(e)}else{return Ye(e)}}function Je(e){var t=e.getBoundingClientRect();var r=_(t.width)/e.offsetWidth||1;var n=_(t.height)/e.offsetHeight||1;return r!==1||n!==1}function Ke(e,t,r){if(r===void 0){r=false}var n=P(t);var a=P(t)&&Je(t);var i=F(t);var o=C(e,a);var f={scrollLeft:0,scrollTop:0};var s={x:0,y:0};if(n||!n&&!r){if(A(t)!=="body"||xe(i)){f=Ge(t)}if(P(t)){s=C(t,true);s.x+=t.clientLeft;s.y+=t.clientTop}else if(i){s.x=ye(i)}}return{x:o.left+f.scrollLeft-s.x,y:o.top+f.scrollTop-s.y,width:o.width,height:o.height}}function Qe(e){var t=new Map;var r=new Set;var n=[];e.forEach((function(e){t.set(e.name,e)}));function a(e){r.add(e.name);var i=[].concat(e.requires||[],e.requiresIfExists||[]);i.forEach((function(e){if(!r.has(e)){var n=t.get(e);if(n){a(n)}}}));n.push(e)}e.forEach((function(e){if(!r.has(e.name)){a(e)}}));return n}function Ze(e){var t=Qe(e);return D.reduce((function(e,r){return e.concat(t.filter((function(e){return e.phase===r})))}),[])}function $e(e){var t;return function(){if(!t){t=new Promise((function(r){Promise.resolve().then((function(){t=undefined;r(e())}))}))}return t}}function et(e){var t=e.reduce((function(e,t){var r=e[t.name];e[t.name]=r?Object.assign({},r,t,{options:Object.assign({},r.options,t.options),data:Object.assign({},r.data,t.data)}):t;return e}),{});return Object.keys(t).map((function(e){return t[e]}))}var tt={placement:"bottom",modifiers:[],strategy:"absolute"};function rt(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++){t[r]=arguments[r]}return!t.some((function(e){return!(e&&typeof e.getBoundingClientRect==="function")}))}function nt(e){if(e===void 0){e={}}var t=e,r=t.defaultModifiers,n=r===void 0?[]:r,a=t.defaultOptions,i=a===void 0?tt:a;return function e(t,r,a){if(a===void 0){a=i}var o={placement:"bottom",orderedModifiers:[],options:Object.assign({},tt,i),modifiersData:{},elements:{reference:t,popper:r},attributes:{},styles:{}};var f=[];var s=false;var c={state:o,setOptions:function e(a){var f=typeof a==="function"?a(o.options):a;l();o.options=Object.assign({},i,o.options,f);o.scrollParents={reference:M(t)?je(t):t.contextElement?je(t.contextElement):[],popper:je(r)};var s=Ze(et([].concat(n,o.options.modifiers)));o.orderedModifiers=s.filter((function(e){return e.enabled}));u();return c.update()},forceUpdate:function e(){if(s){return}var t=o.elements,r=t.reference,n=t.popper;if(!rt(r,n)){return}o.rects={reference:Ke(r,Y(n),o.options.strategy==="fixed"),popper:q(n)};o.reset=false;o.placement=o.options.placement;o.orderedModifiers.forEach((function(e){return o.modifiersData[e.name]=Object.assign({},e.data)}));for(var a=0;a<o.orderedModifiers.length;a++){if(o.reset===true){o.reset=false;a=-1;continue}var i=o.orderedModifiers[a],f=i.fn,u=i.options,l=u===void 0?{}:u,v=i.name;if(typeof f==="function"){o=f({state:o,options:l,name:v,instance:c})||o}}},update:$e((function(){return new Promise((function(e){c.forceUpdate();e(o)}))})),destroy:function e(){l();s=true}};if(!rt(t,r)){return c}c.setOptions(a).then((function(e){if(!s&&a.onFirstUpdate){a.onFirstUpdate(e)}}));function u(){o.orderedModifiers.forEach((function(e){var t=e.name,r=e.options,n=r===void 0?{}:r,a=e.effect;if(typeof a==="function"){var i=a({state:o,name:t,instance:c,options:n});var s=function e(){};f.push(i||s)}}))}function l(){f.forEach((function(e){return e()}));f=[]}return c}}var at=[ve,Fe,ce,H,Ne,Te,Xe,ne,Ce];var it=nt({defaultModifiers:at});var ot=["top","bottom","right","left","top-start","top-end","bottom-start","bottom-end","right-start","right-end","left-start","left-end"];var ft=e("d","bottom-leading");var st=e("p",["top-start","top","top-end","bottom-start","bottom","bottom-end"]);var ct=e("C",{animation:"calcite-popper-anim",animationActive:"calcite-popper-anim--active"});function ut(e,t){var r=e.filter((function(e){return ot.includes(e)}));if(r.length!==e.length){console.warn("".concat(t.tagName,": Invalid value found in: flipPlacements. Try any of these: ").concat(ot.map((function(e){return'"'.concat(e,'"')})).join(", ").trim()),{el:t})}return r}function lt(e,r){var n=["left","right"];var a=["start","end"];if(t(e)==="rtl"){n.reverse();a.reverse()}return r.replace(/-leading/gi,"-".concat(a[0])).replace(/-trailing/gi,"-".concat(a[1])).replace(/leading/gi,n[0]).replace(/trailing/gi,n[1])}function vt(e){var t=e.referenceEl,r=e.el,n=e.placement,a=e.overlayPositioning,i=a===void 0?"absolute":a,o=e.modifiers;if(!t){return null}return it(t,r,{strategy:i,placement:lt(r,n),modifiers:o})}function pt(e){var t=e.el,r=e.modifiers,n=e.placement,a=e.popper;return __awaiter(this,void 0,void 0,(function(){var e;return __generator(this,(function(i){switch(i.label){case 0:e=lt(t,n);return[4,a.setOptions({modifiers:r,placement:e})];case 1:i.sent();return[2]}}))}))}function dt(e,t){return Math.sqrt(Math.pow(e,2)+Math.pow(t,2))}var ht=4;var mt=e("a",Math.ceil(dt(ht,ht)))}}}));
@@ -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-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.451
4
+ * v1.0.0-next.454
5
5
  */
6
- import{f as t,g as i}from"./p-472bb25d.js";import{g as s}from"./p-2fd4dc98.js";import{d as n}from"./p-995aa3c6.js";import{h as e,H as o}from"./p-868d4330.js";const a={heading:"heading",container:"container",indented:"container--indented"},c={parentItem:"parent-item"},r=3;function l(){this.setUpItems(),this.setUpFilter(),this.deselectRemovedItems()}const h=["ArrowUp","ArrowDown"];function u(){this.setUpItems(),this.setUpFilter(),this.emitCalciteListChange=n(w.bind(this),0)}function d(){var t;null===(t=this.mutationObserver)||void 0===t||t.observe(this.el,{childList:!0,subtree:!0})}function f(){var t;null===(t=this.mutationObserver)||void 0===t||t.disconnect()}function m(i){const{selectedValues:s}=this,{item:n,value:e,selected:o,shiftPressed:a}=i.detail;o?(this.multiple&&a&&this.selectSiblings(n),this.multiple||this.deselectSiblingItems(n),s.set(e,n)):(s.delete(e),this.multiple&&a&&this.selectSiblings(n,!0)),this.multiple||(y(n,o),o&&t(n)),this.lastSelectedItem=n,this.emitCalciteListChange()}function p(t){t.stopPropagation();const i=t.detail.oldValue,s=this.selectedValues;if(s.has(i)){const n=s.get(i);s.delete(i),s.set(t.detail.newValue,n)}}function v(t){const{el:i,items:s,multiple:n,selectedValues:e}=this;n||i.contains(t.relatedTarget)||j(s).forEach((i=>{y(i,0===e.size?i.contains(t.target)||t.target===i:i.selected)}))}function b(i){const{key:s,target:n}=i;if(!function(t){return!!h.find((i=>i===t))}(s))return;const{items:e,multiple:o,selectionFollowsFocus:a}=this,{length:c}=e,r=e.indexOf(n);if(!c||-1===r)return;i.preventDefault();const l=e[g(this,n,"ArrowUp"===s?"up":"down")];e.forEach((t=>y(t,t===l))),!o&&a&&(l.selected=!0),t(l)}function g(t,i,n){const{items:e}=t,{length:o}=e,a=e.indexOf(i),c="up"===n?-1:1;let r=1,l=s(a+c*r++,o);const h=l;for(;e[l].disabled&&(l=s(a+c*r++,o),l!==h););return l}function j(t){return t.filter((t=>!t.disabled))}function w(){this.calciteListChange.emit(this.selectedValues)}function F(t){if(t.defaultPrevented)return;const i=t.target,s=this.selectedValues;"CALCITE-PICK-LIST-GROUP"===i.parentElement.tagName&&i.slot===c.parentItem?(i.parentElement.remove(),Array.from(i.parentElement.children).forEach((t=>s.delete(t.value)))):(i.remove(),s.delete(i.value)),this.emitCalciteListChange()}function y(t,i){t.disabled||(i?t.removeAttribute("tabindex"):t.setAttribute("tabindex","-1"))}async function A(i){var s;if(this.filterEnabled&&"filter"===i)return void await t(this.filterEl);const{items:n,multiple:e,selectionFollowsFocus:o}=this;if(0===n.length)return;if(e)return null===(s=j(n)[0])||void 0===s?void 0:s.setFocus();const a=j(n),c=a.find((t=>t.selected))||a[0];return o&&c&&(c.selected=!0),c.setFocus()}function C(t){this.items=Array.from(this.el.querySelectorAll(t));let i=!1;const{items:s}=this;s.forEach((t=>{t.icon=this.getIconType(),this.multiple||(t.disableDeselect=!0,y(t,!1)),t.selected&&(i=!0,y(t,!0),this.selectedValues.set(t.value,t))}));const[n]=s;i||!n||n.disabled||y(n,!0)}function k(){const t=this.selectedValues,i=this.items.map((({value:t})=>t));t.forEach((t=>{i.includes(t.value)||this.selectedValues.delete(t.value)}))}function x(t){this.items.forEach((i=>{i.value!==t.value&&(i.toggleSelected(!1),this.selectedValues.has(i.value)&&this.selectedValues.delete(i.value))}))}function I(t,i=!1){if(!this.lastSelectedItem)return;const{items:s}=this,n=s.findIndex((t=>t.value===this.lastSelectedItem.value)),e=s.findIndex((i=>i.value===t.value));s.slice(Math.min(n,e),Math.max(n,e)).forEach((t=>{t.toggleSelected(!i),i?this.selectedValues.delete(t.value):this.selectedValues.set(t.value,t)}))}let O;function E(t){const{filteredItems:s}=t.currentTarget,n=s.map((t=>t.value));let e=!1;O||(O=new Set);const o=this.items.filter((t=>{const i=t.parentElement;i.matches("calcite-pick-list-group")&&O.add(i);const s=n.includes(t.value);return t.hidden=!s,e||(e=s&&t.selected),s}));O.forEach((t=>{const s=o.some((i=>t.contains(i)));if(t.hidden=!s,!s)return;const n=i(t,"parent-item");n&&(n.hidden=!1,o.includes(n)&&Array.from(t.children).forEach((t=>t.hidden=!1)))})),O.clear(),o.length>0&&!e&&!this.multiple&&y(o[0],!0)}function S(){return this.items.map((t=>({label:t.label,description:t.description,metadata:t.metadata,value:t.value})))}var L;!function(t){t.circle="circle",t.square="square",t.grip="grip"}(L||(L={}));const P=t=>{var{props:{disabled:i,loading:s,filterEnabled:n,dataForFilter:a,handleFilter:c,filterPlaceholder:r,setFilterEl:l}}=t,h=function(t,i){var s={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&i.indexOf(n)<0&&(s[n]=t[n]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var e=0;for(n=Object.getOwnPropertySymbols(t);e<n.length;e++)i.indexOf(n[e])<0&&Object.prototype.propertyIsEnumerable.call(t,n[e])&&(s[n[e]]=t[n[e]])}return s}(t,["props"]);const u=e("slot",null);return e(o,Object.assign({"aria-busy":s.toString(),role:"menu"},h),e("section",null,e("header",{class:{"sticky-pos":!0}},n?e("calcite-filter",{"aria-label":r,disabled:s||i,items:a,onCalciteFilterChange:c,placeholder:r,ref:l}):null,e("slot",{name:"menu-actions"})),s?e("calcite-scrim",{loading:s}):null,u))},T={actions:"actions",actionsEnd:"actions--end",actionsStart:"actions--start",description:"description",handle:"handle",handleActivated:"handle--activated",highlight:"highlight",icon:"icon",iconDot:"icon-dot",label:"label",remove:"remove",title:"title",textContainer:"text-container"},U={checked:"check",remove:"x"},q={actionsEnd:"actions-end",actionsStart:"actions-start"},D={remove:"Remove"};export{T as C,r as H,L as I,P as L,q as S,D as T,x as a,g as b,d as c,k as d,f as e,v as f,S as g,E as h,u as i,m as j,b as k,p as l,l as m,C as n,A as o,c as p,a as q,F as r,I as s,U as t}
6
+ import{f as t,g as i}from"./p-d5a93c9e.js";import{g as s}from"./p-8972c447.js";import{d as n}from"./p-f46750af.js";import{h as e,H as o}from"./p-444683c3.js";const a={heading:"heading",container:"container",indented:"container--indented"},c={parentItem:"parent-item"},r=3;function l(){this.setUpItems(),this.setUpFilter(),this.deselectRemovedItems()}const h=["ArrowUp","ArrowDown"];function u(){this.setUpItems(),this.setUpFilter(),this.emitCalciteListChange=n(w.bind(this),0)}function f(){var t;null===(t=this.mutationObserver)||void 0===t||t.observe(this.el,{childList:!0,subtree:!0})}function d(){var t;null===(t=this.mutationObserver)||void 0===t||t.disconnect()}function m(i){const{selectedValues:s}=this,{item:n,value:e,selected:o,shiftPressed:a}=i.detail;o?(this.multiple&&a&&this.selectSiblings(n),this.multiple||this.deselectSiblingItems(n),s.set(e,n)):(s.delete(e),this.multiple&&a&&this.selectSiblings(n,!0)),this.multiple||(y(n,o),o&&t(n)),this.lastSelectedItem=n,this.emitCalciteListChange()}function p(t){t.stopPropagation();const i=t.detail.oldValue,s=this.selectedValues;if(s.has(i)){const n=s.get(i);s.delete(i),s.set(t.detail.newValue,n)}}function v(t){const{el:i,items:s,multiple:n,selectedValues:e}=this;n||i.contains(t.relatedTarget)||j(s).forEach((i=>{y(i,0===e.size?i.contains(t.target)||t.target===i:i.selected)}))}function b(i){const{key:s,target:n}=i;if(!function(t){return!!h.find((i=>i===t))}(s))return;const{items:e,multiple:o,selectionFollowsFocus:a}=this,{length:c}=e,r=e.indexOf(n);if(!c||-1===r)return;i.preventDefault();const l=e[g(this,n,"ArrowUp"===s?"up":"down")];e.forEach((t=>y(t,t===l))),!o&&a&&(l.selected=!0),t(l)}function g(t,i,n){const{items:e}=t,{length:o}=e,a=e.indexOf(i),c="up"===n?-1:1;let r=1,l=s(a+c*r++,o);const h=l;for(;e[l].disabled&&(l=s(a+c*r++,o),l!==h););return l}function j(t){return t.filter((t=>!t.disabled))}function w(){this.calciteListChange.emit(this.selectedValues)}function F(t){if(t.defaultPrevented)return;const i=t.target,s=this.selectedValues;"CALCITE-PICK-LIST-GROUP"===i.parentElement.tagName&&i.slot===c.parentItem?(i.parentElement.remove(),Array.from(i.parentElement.children).forEach((t=>s.delete(t.value)))):(i.remove(),s.delete(i.value)),this.emitCalciteListChange()}function y(t,i){t.disabled||(i?t.removeAttribute("tabindex"):t.setAttribute("tabindex","-1"))}async function A(i){var s;if(this.filterEnabled&&"filter"===i)return void await t(this.filterEl);const{items:n,multiple:e,selectionFollowsFocus:o}=this;if(0===n.length)return;if(e)return null===(s=j(n)[0])||void 0===s?void 0:s.setFocus();const a=j(n),c=a.find((t=>t.selected))||a[0];return o&&c&&(c.selected=!0),c.setFocus()}function C(t){this.items=Array.from(this.el.querySelectorAll(t));let i=!1;const{items:s}=this;s.forEach((t=>{t.icon=this.getIconType(),this.multiple||(t.disableDeselect=!0,y(t,!1)),t.selected&&(i=!0,y(t,!0),this.selectedValues.set(t.value,t))}));const[n]=s;i||!n||n.disabled||y(n,!0)}function k(){const t=this.selectedValues,i=this.items.map((({value:t})=>t));t.forEach((t=>{i.includes(t.value)||this.selectedValues.delete(t.value)}))}function x(t){this.items.forEach((i=>{i.value!==t.value&&(i.toggleSelected(!1),this.selectedValues.has(i.value)&&this.selectedValues.delete(i.value))}))}function I(t,i=!1){if(!this.lastSelectedItem)return;const{items:s}=this,n=s.findIndex((t=>t.value===this.lastSelectedItem.value)),e=s.findIndex((i=>i.value===t.value));s.slice(Math.min(n,e),Math.max(n,e)).forEach((t=>{t.toggleSelected(!i),i?this.selectedValues.delete(t.value):this.selectedValues.set(t.value,t)}))}let O;function E(t){const{filteredItems:s}=t.currentTarget,n=s.map((t=>t.value));let e=!1;O||(O=new Set);const o=this.items.filter((t=>{const i=t.parentElement;i.matches("calcite-pick-list-group")&&O.add(i);const s=n.includes(t.value);return t.hidden=!s,e||(e=s&&t.selected),s}));O.forEach((t=>{const s=o.some((i=>t.contains(i)));if(t.hidden=!s,!s)return;const n=i(t,"parent-item");n&&(n.hidden=!1,o.includes(n)&&Array.from(t.children).forEach((t=>t.hidden=!1)))})),O.clear(),o.length>0&&!e&&!this.multiple&&y(o[0],!0)}function S(){return this.items.map((t=>({label:t.label,description:t.description,metadata:t.metadata,value:t.value})))}var L;!function(t){t.circle="circle",t.square="square",t.grip="grip"}(L||(L={}));const P=t=>{var{props:{disabled:i,loading:s,filterEnabled:n,dataForFilter:a,handleFilter:c,filterPlaceholder:r,setFilterEl:l}}=t,h=function(t,i){var s={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&i.indexOf(n)<0&&(s[n]=t[n]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var e=0;for(n=Object.getOwnPropertySymbols(t);e<n.length;e++)i.indexOf(n[e])<0&&Object.prototype.propertyIsEnumerable.call(t,n[e])&&(s[n[e]]=t[n[e]])}return s}(t,["props"]);const u=e("slot",null);return e(o,Object.assign({"aria-busy":s.toString(),role:"menu"},h),e("section",null,e("header",{class:{"sticky-pos":!0}},n?e("calcite-filter",{"aria-label":r,disabled:s||i,items:a,onCalciteFilterChange:c,placeholder:r,ref:l}):null,e("slot",{name:"menu-actions"})),s?e("calcite-scrim",{loading:s}):null,u))},T={actions:"actions",actionsEnd:"actions--end",actionsStart:"actions--start",description:"description",handle:"handle",handleActivated:"handle--activated",highlight:"highlight",icon:"icon",iconDot:"icon-dot",label:"label",remove:"remove",title:"title",textContainer:"text-container"},U={checked:"check",remove:"x"},q={actionsEnd:"actions-end",actionsStart:"actions-start"},D={remove:"Remove"};export{T as C,r as H,L as I,P as L,q as S,D as T,x as a,g as b,f as c,k as d,d as e,v as f,S as g,E as h,u as i,m as j,b as k,p as l,l as m,C as n,A as o,c as p,a as q,F as r,I as s,U as t}
@@ -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-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.451
4
+ * v1.0.0-next.454
5
5
  */
6
- import{r as t,c as i,h as e,H as a,g as s}from"./p-868d4330.js";import{s as n,g as o}from"./p-472bb25d.js";import{S as r}from"./p-60700925.js";import"./p-2c06b3f6.js";const l={slow:14e3,medium:1e4,fast:6e3},c=class{constructor(e){t(this,e),this.calciteAlertClose=i(this,"calciteAlertClose",7),this.calciteAlertOpen=i(this,"calciteAlertOpen",7),this.calciteAlertSync=i(this,"calciteAlertSync",7),this.calciteAlertRegister=i(this,"calciteAlertRegister",7),this.active=!1,this.autoDismiss=!1,this.autoDismissDuration=this.autoDismiss?"medium":null,this.color="blue",this.intlClose="Close",this.placement="bottom",this.scale="m",this.queue=[],this.queueLength=0,this.queued=!1,this.autoDismissTimeoutId=null,this.trackTimer=Date.now(),this.activeTransitionProp="opacity",this.closeAlert=()=>{this.autoDismissTimeoutId=null,this.queued=!1,this.active=!1,this.queue=this.queue.filter((t=>t!==this.el)),this.determineActiveAlert(),this.calciteAlertSync.emit({queue:this.queue})},this.transitionEnd=t=>{t.propertyName===this.activeTransitionProp&&(this.active?this.calciteAlertOpen.emit({el:this.el,queue:this.queue}):this.calciteAlertClose.emit({el:this.el,queue:this.queue}))}}watchActive(){this.active&&!this.queued&&this.calciteAlertRegister.emit(),this.active||(this.queue=this.queue.filter((t=>t!==this.el)),this.calciteAlertSync.emit({queue:this.queue}))}updateRequestedIcon(){this.requestedIcon=n(r,this.icon,this.color)}updateDuration(){this.autoDismiss&&this.autoDismissTimeoutId&&(window.clearTimeout(this.autoDismissTimeoutId),this.autoDismissTimeoutId=window.setTimeout((()=>this.closeAlert()),l[this.autoDismissDuration]-(Date.now()-this.trackTimer)))}connectedCallback(){this.active&&!this.queued&&this.calciteAlertRegister.emit()}componentWillLoad(){this.requestedIcon=n(r,this.icon,this.color)}disconnectedCallback(){window.clearTimeout(this.autoDismissTimeoutId)}render(){const t=e("button",{"aria-label":this.intlClose,class:"alert-close",onClick:this.closeAlert,ref:t=>this.closeButton=t,type:"button"},e("calcite-icon",{icon:"x",scale:"l"===this.scale?"m":"s"})),i="+"+(this.queueLength>2?this.queueLength-1:1),s=e("div",{class:(this.queueLength>1?"active ":"")+"alert-queue-count"},e("calcite-chip",{scale:this.scale,value:i},i)),{active:n,autoDismiss:o,label:r,placement:l,queued:c,requestedIcon:d}=this,m=o?"alert":"alertdialog",h=!n;return e(a,{"aria-hidden":h.toString(),"aria-label":r,"calcite-hydrated-hidden":h,role:m},e("div",{class:{container:!0,queued:c,[l]:!0},onTransitionEnd:this.transitionEnd},d?e("div",{class:"alert-icon"},e("calcite-icon",{icon:d,scale:"l"===this.scale?"m":"s"})):null,e("div",{class:"alert-content"},e("slot",{name:"title"}),e("slot",{name:"message"}),e("slot",{name:"link"})),s,o?null:t,n&&!c&&o?e("div",{class:"alert-dismiss-progress"}):null))}alertSync(t){this.queue!==t.detail.queue&&(this.queue=t.detail.queue),this.queueLength=this.queue.length,this.determineActiveAlert()}alertRegister(){this.active&&!this.queue.includes(this.el)&&(this.queued=!0,this.queue.push(this.el)),this.calciteAlertSync.emit({queue:this.queue}),this.determineActiveAlert()}async setFocus(){const t=o(this.el,{selector:"calcite-link"});(this.closeButton||t)&&(t?t.setFocus():this.closeButton&&this.closeButton.focus())}determineActiveAlert(){var t;(null===(t=this.queue)||void 0===t?void 0:t[0])===this.el&&(this.openAlert(),this.autoDismiss&&!this.autoDismissTimeoutId&&(this.trackTimer=Date.now(),this.autoDismissTimeoutId=window.setTimeout((()=>this.closeAlert()),l[this.autoDismissDuration])))}openAlert(){window.clearTimeout(this.queueTimeout),this.queueTimeout=window.setTimeout((()=>this.queued=!1),300)}get el(){return s(this)}static get watchers(){return{active:["watchActive"],icon:["updateRequestedIcon"],color:["updateRequestedIcon"],autoDismissDuration:["updateDuration"]}}};c.style='@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host([scale=s]){--calcite-alert-width:40em;--calcite-alert-spacing-token-small:0.5rem;--calcite-alert-spacing-token-large:0.75rem}:host([scale=s]) slot[name=title]::slotted(*),:host([scale=s]) *::slotted([slot=title]){font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=s]) slot[name=message]::slotted(*),:host([scale=s]) *::slotted([slot=message]){font-size:var(--calcite-font-size--2);line-height:1.375}:host([scale=s]) slot[name=link]::slotted(*),:host([scale=s]) *::slotted([slot=link]){font-size:var(--calcite-font-size--2);line-height:1.375}:host([scale=s]) .alert-queue-count{margin-left:0.5rem;margin-right:0.5rem}:host([scale=s]) .container{--calcite-alert-min-height:3.5rem}:host([scale=s]) .alert-close{padding:0.5rem}:host([scale=m]){--calcite-alert-width:50em;--calcite-alert-spacing-token-small:0.75rem;--calcite-alert-spacing-token-large:1rem}:host([scale=m]) slot[name=title]::slotted(*),:host([scale=m]) *::slotted([slot=title]){font-size:var(--calcite-font-size-0);line-height:1.375}:host([scale=m]) slot[name=message]::slotted(*),:host([scale=m]) *::slotted([slot=message]){font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=m]) slot[name=link]::slotted(*),:host([scale=m]) *::slotted([slot=link]){font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=m]) .alert-queue-count{margin-left:0.75rem;margin-right:0.75rem}:host([scale=m]) .container{--calcite-alert-min-height:4.1875rem}:host([scale=l]){--calcite-alert-width:60em;--calcite-alert-spacing-token-small:1rem;--calcite-alert-spacing-token-large:1.25rem}:host([scale=l]) slot[name=title]::slotted(*),:host([scale=l]) *::slotted([slot=title]){margin-bottom:0.25rem;font-size:var(--calcite-font-size-1);line-height:1.375}:host([scale=l]) slot[name=message]::slotted(*),:host([scale=l]) *::slotted([slot=message]){font-size:var(--calcite-font-size-0);line-height:1.375}:host([scale=l]) slot[name=link]::slotted(*),:host([scale=l]) *::slotted([slot=link]){font-size:var(--calcite-font-size-0);line-height:1.375}:host([scale=l]) .alert-queue-count{margin-left:1rem;margin-right:1rem}:host([scale=l]) .container{--calcite-alert-min-height:5.625rem}:host{--calcite-alert-edge-distance:2rem;display:block}:host .container{pointer-events:none;position:fixed;margin-top:0px;margin-bottom:0px;margin-left:auto;margin-right:auto;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;background-color:var(--calcite-ui-foreground-1);opacity:0;--tw-shadow:0 6px 20px -4px rgba(0, 0, 0, 0.1), 0 4px 12px -2px rgba(0, 0, 0, 0.08);--tw-shadow-colored:0 6px 20px -4px var(--tw-shadow-color), 0 4px 12px -2px var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);border-radius:var(--calcite-border-radius);border-top:0px solid transparent;border-left:1px solid var(--calcite-ui-border-3);border-right:1px solid var(--calcite-ui-border-3);border-bottom:1px solid var(--calcite-ui-border-3);min-height:var(--calcite-alert-min-height);width:var(--calcite-alert-width);max-width:calc(100% - (var(--calcite-alert-edge-distance) * 2 + 2px));max-height:0;z-index:101;-webkit-transition:var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), all var(--calcite-animation-timing) ease-in-out;transition:var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), all var(--calcite-animation-timing) ease-in-out}:host .container.bottom,:host .container.top{inset-inline-end:0;inset-inline-start:0}:host .container[class*=bottom]{-webkit-transform:translate3d(0, var(--calcite-alert-edge-distance), 0);transform:translate3d(0, var(--calcite-alert-edge-distance), 0);inset-block-end:var(--calcite-alert-edge-distance)}:host .container[class*=top]{-webkit-transform:translate3d(0, calc(-1 * var(--calcite-alert-edge-distance)), 0);transform:translate3d(0, calc(-1 * var(--calcite-alert-edge-distance)), 0);inset-block-start:var(--calcite-alert-edge-distance)}:host .container[class*=-start]{inset-inline-start:var(--calcite-alert-edge-distance);inset-inline-end:auto}:host .container[class*=-end]{inset-inline-end:var(--calcite-alert-edge-distance);inset-inline-start:auto}.container{display:-ms-flexbox;display:flex;width:100%;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center}.alert-close{outline-offset:0;outline-color:transparent;-webkit-transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out}.alert-close:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}:host([active]) .container:not(.queued){max-height:100%;border-top-width:2px;opacity:1;pointer-events:initial}:host([active]) .container:not(.queued)[class*=bottom]{-webkit-transform:translate3d(0, calc(-1 * var(--calcite-alert-edge-distance)), inherit);transform:translate3d(0, calc(-1 * var(--calcite-alert-edge-distance)), inherit)}:host([active]) .container:not(.queued)[class*=top]{-webkit-transform:translate3d(0, var(--calcite-alert-edge-distance), inherit);transform:translate3d(0, var(--calcite-alert-edge-distance), inherit)}slot[name=title]::slotted(*),*::slotted([slot=title]){font-size:var(--calcite-font-size-0);line-height:1.375;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1)}slot[name=message]::slotted(*),*::slotted([slot=message]){margin:0px;display:inline;font-size:var(--calcite-font-size--1);line-height:1.375;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-2);-webkit-margin-end:0.5rem;margin-inline-end:0.5rem}slot[name=link]::slotted(*),*::slotted([slot=link]){display:-ms-inline-flexbox;display:inline-flex;color:var(--calcite-ui-text-link)}.alert-content{-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:var(--calcite-animation-timing);transition-duration:var(--calcite-animation-timing);-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;-webkit-transition-delay:0s;transition-delay:0s;padding:var(--calcite-alert-spacing-token-small) var(--calcite-alert-spacing-token-large);-ms-flex:0 0 auto;flex:0 0 auto;overflow-wrap:break-word;background-color:var(--calcite-ui-foreground-1);-ms-flex:1 1 auto;flex:1 1 auto;min-width:0;padding-block:var(--calcite-alert-spacing-token-small);padding-inline:0 var(--calcite-alert-spacing-token-small);border-bottom-left-radius:var(--calcite-border-radius);border-bottom-right-radius:var(--calcite-border-radius)}.alert-content:first-of-type:not(:only-child){-webkit-padding-start:var(--calcite-alert-spacing-token-large);padding-inline-start:var(--calcite-alert-spacing-token-large)}.alert-content:only-child{padding:var(--calcite-alert-spacing-token-small)}.alert-icon{-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:var(--calcite-animation-timing);transition-duration:var(--calcite-animation-timing);-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;-webkit-transition-delay:0s;transition-delay:0s;padding:var(--calcite-alert-spacing-token-small) var(--calcite-alert-spacing-token-large);-ms-flex:0 0 auto;flex:0 0 auto;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-item-align:stretch;align-self:stretch;background-color:var(--calcite-ui-foreground-1);padding-top:0px;padding-bottom:0px}.alert-close{-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:var(--calcite-animation-timing);transition-duration:var(--calcite-animation-timing);-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;-webkit-transition-delay:0s;transition-delay:0s;padding:var(--calcite-alert-spacing-token-small) var(--calcite-alert-spacing-token-large);-ms-flex:0 0 auto;flex:0 0 auto;cursor:pointer;-ms-flex-item-align:stretch;align-self:stretch;overflow:hidden;border-style:none;background-color:var(--calcite-ui-foreground-1);padding-top:0px;padding-bottom:0px;color:var(--calcite-ui-text-3);outline:2px solid transparent;outline-offset:2px;border-end-end-radius:var(--calcite-border-radius)}.alert-close:hover,.alert-close:focus{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1)}.alert-close:active{background-color:var(--calcite-ui-foreground-3)}.alert-queue-count{visibility:hidden;display:-ms-flexbox;display:flex;cursor:default;-ms-flex-align:center;align-items:center;-ms-flex-pack:distribute;justify-content:space-around;-ms-flex-item-align:stretch;align-self:stretch;overflow:hidden;background-color:var(--calcite-ui-foreground-1);text-align:center;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-2);opacity:0;-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:var(--calcite-animation-timing);transition-duration:var(--calcite-animation-timing);-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;-webkit-transition-delay:0s;transition-delay:0s;border-left:0px solid transparent;border-right:0px solid transparent;border-top-right-radius:0}.alert-queue-count.active{visibility:visible;opacity:1}:host([auto-dismiss])>.alert-queue-count{-webkit-border-end:0px solid transparent;border-inline-end:0px solid transparent}.alert-dismiss-progress{position:absolute;left:0px;right:0px;display:block;width:100%;overflow:hidden;top:-2px;height:2px;z-index:103;border-radius:var(--calcite-border-radius) var(--calcite-border-radius) 0 0}.alert-dismiss-progress:after{position:absolute;top:0px;display:block;height:2px;content:"";background-color:var(--calcite-alert-dismiss-progress-background);z-index:104;inset-inline-end:0}:host([color=blue]) .container{border-top-color:var(--calcite-ui-info)}:host([color=blue]) .container .alert-icon{color:var(--calcite-ui-info)}:host([color=red]) .container{border-top-color:var(--calcite-ui-danger)}:host([color=red]) .container .alert-icon{color:var(--calcite-ui-danger)}:host([color=yellow]) .container{border-top-color:var(--calcite-ui-warning)}:host([color=yellow]) .container .alert-icon{color:var(--calcite-ui-warning)}:host([color=green]) .container{border-top-color:var(--calcite-ui-success)}:host([color=green]) .container .alert-icon{color:var(--calcite-ui-success)}:host([auto-dismiss-duration=fast]) .alert-dismiss-progress:after{-webkit-animation:dismissProgress 6000ms ease-out;animation:dismissProgress 6000ms ease-out}:host([auto-dismiss-duration=medium]) .alert-dismiss-progress:after{-webkit-animation:dismissProgress 10000ms ease-out;animation:dismissProgress 10000ms ease-out}:host([auto-dismiss-duration=slow]) .alert-dismiss-progress:after{-webkit-animation:dismissProgress 14000ms ease-out;animation:dismissProgress 14000ms ease-out}@-webkit-keyframes dismissProgress{0%{width:0px;opacity:0.75}100%{width:100%;opacity:1}}@keyframes dismissProgress{0%{width:0px;opacity:0.75}100%{width:100%;opacity:1}}';export{c as calcite_alert}
6
+ import{r as t,c as i,h as e,H as a,g as s}from"./p-444683c3.js";import{s as n,g as o}from"./p-d5a93c9e.js";import{S as r}from"./p-f7aed1d0.js";import"./p-73b025f5.js";const l={slow:14e3,medium:1e4,fast:6e3},c=class{constructor(e){t(this,e),this.calciteAlertClose=i(this,"calciteAlertClose",7),this.calciteAlertOpen=i(this,"calciteAlertOpen",7),this.calciteAlertSync=i(this,"calciteAlertSync",7),this.calciteAlertRegister=i(this,"calciteAlertRegister",7),this.active=!1,this.autoDismiss=!1,this.autoDismissDuration=this.autoDismiss?"medium":null,this.color="blue",this.intlClose="Close",this.placement="bottom",this.scale="m",this.queue=[],this.queueLength=0,this.queued=!1,this.autoDismissTimeoutId=null,this.trackTimer=Date.now(),this.activeTransitionProp="opacity",this.closeAlert=()=>{this.autoDismissTimeoutId=null,this.queued=!1,this.active=!1,this.queue=this.queue.filter((t=>t!==this.el)),this.determineActiveAlert(),this.calciteAlertSync.emit({queue:this.queue})},this.transitionEnd=t=>{t.propertyName===this.activeTransitionProp&&(this.active?this.calciteAlertOpen.emit({el:this.el,queue:this.queue}):this.calciteAlertClose.emit({el:this.el,queue:this.queue}))}}watchActive(){this.active&&!this.queued&&this.calciteAlertRegister.emit(),this.active||(this.queue=this.queue.filter((t=>t!==this.el)),this.calciteAlertSync.emit({queue:this.queue}))}updateRequestedIcon(){this.requestedIcon=n(r,this.icon,this.color)}updateDuration(){this.autoDismiss&&this.autoDismissTimeoutId&&(window.clearTimeout(this.autoDismissTimeoutId),this.autoDismissTimeoutId=window.setTimeout((()=>this.closeAlert()),l[this.autoDismissDuration]-(Date.now()-this.trackTimer)))}connectedCallback(){this.active&&!this.queued&&this.calciteAlertRegister.emit()}componentWillLoad(){this.requestedIcon=n(r,this.icon,this.color)}disconnectedCallback(){window.clearTimeout(this.autoDismissTimeoutId)}render(){const t=e("button",{"aria-label":this.intlClose,class:"alert-close",onClick:this.closeAlert,ref:t=>this.closeButton=t,type:"button"},e("calcite-icon",{icon:"x",scale:"l"===this.scale?"m":"s"})),i="+"+(this.queueLength>2?this.queueLength-1:1),s=e("div",{class:(this.queueLength>1?"active ":"")+"alert-queue-count"},e("calcite-chip",{scale:this.scale,value:i},i)),{active:n,autoDismiss:o,label:r,placement:l,queued:c,requestedIcon:d}=this,m=o?"alert":"alertdialog",h=!n;return e(a,{"aria-hidden":h.toString(),"aria-label":r,"calcite-hydrated-hidden":h,role:m},e("div",{class:{container:!0,queued:c,[l]:!0},onTransitionEnd:this.transitionEnd},d?e("div",{class:"alert-icon"},e("calcite-icon",{icon:d,scale:"l"===this.scale?"m":"s"})):null,e("div",{class:"alert-content"},e("slot",{name:"title"}),e("slot",{name:"message"}),e("slot",{name:"link"})),s,o?null:t,n&&!c&&o?e("div",{class:"alert-dismiss-progress"}):null))}alertSync(t){this.queue!==t.detail.queue&&(this.queue=t.detail.queue),this.queueLength=this.queue.length,this.determineActiveAlert()}alertRegister(){this.active&&!this.queue.includes(this.el)&&(this.queued=!0,this.queue.push(this.el)),this.calciteAlertSync.emit({queue:this.queue}),this.determineActiveAlert()}async setFocus(){const t=o(this.el,{selector:"calcite-link"});(this.closeButton||t)&&(t?t.setFocus():this.closeButton&&this.closeButton.focus())}determineActiveAlert(){var t;(null===(t=this.queue)||void 0===t?void 0:t[0])===this.el&&(this.openAlert(),this.autoDismiss&&!this.autoDismissTimeoutId&&(this.trackTimer=Date.now(),this.autoDismissTimeoutId=window.setTimeout((()=>this.closeAlert()),l[this.autoDismissDuration])))}openAlert(){window.clearTimeout(this.queueTimeout),this.queueTimeout=window.setTimeout((()=>this.queued=!1),300)}get el(){return s(this)}static get watchers(){return{active:["watchActive"],icon:["updateRequestedIcon"],color:["updateRequestedIcon"],autoDismissDuration:["updateDuration"]}}};c.style='@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host([scale=s]){--calcite-alert-width:40em;--calcite-alert-spacing-token-small:0.5rem;--calcite-alert-spacing-token-large:0.75rem}:host([scale=s]) slot[name=title]::slotted(*),:host([scale=s]) *::slotted([slot=title]){font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=s]) slot[name=message]::slotted(*),:host([scale=s]) *::slotted([slot=message]){font-size:var(--calcite-font-size--2);line-height:1.375}:host([scale=s]) slot[name=link]::slotted(*),:host([scale=s]) *::slotted([slot=link]){font-size:var(--calcite-font-size--2);line-height:1.375}:host([scale=s]) .alert-queue-count{margin-left:0.5rem;margin-right:0.5rem}:host([scale=s]) .container{--calcite-alert-min-height:3.5rem}:host([scale=s]) .alert-close{padding:0.5rem}:host([scale=m]){--calcite-alert-width:50em;--calcite-alert-spacing-token-small:0.75rem;--calcite-alert-spacing-token-large:1rem}:host([scale=m]) slot[name=title]::slotted(*),:host([scale=m]) *::slotted([slot=title]){font-size:var(--calcite-font-size-0);line-height:1.375}:host([scale=m]) slot[name=message]::slotted(*),:host([scale=m]) *::slotted([slot=message]){font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=m]) slot[name=link]::slotted(*),:host([scale=m]) *::slotted([slot=link]){font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=m]) .alert-queue-count{margin-left:0.75rem;margin-right:0.75rem}:host([scale=m]) .container{--calcite-alert-min-height:4.1875rem}:host([scale=l]){--calcite-alert-width:60em;--calcite-alert-spacing-token-small:1rem;--calcite-alert-spacing-token-large:1.25rem}:host([scale=l]) slot[name=title]::slotted(*),:host([scale=l]) *::slotted([slot=title]){margin-bottom:0.25rem;font-size:var(--calcite-font-size-1);line-height:1.375}:host([scale=l]) slot[name=message]::slotted(*),:host([scale=l]) *::slotted([slot=message]){font-size:var(--calcite-font-size-0);line-height:1.375}:host([scale=l]) slot[name=link]::slotted(*),:host([scale=l]) *::slotted([slot=link]){font-size:var(--calcite-font-size-0);line-height:1.375}:host([scale=l]) .alert-queue-count{margin-left:1rem;margin-right:1rem}:host([scale=l]) .container{--calcite-alert-min-height:5.625rem}:host{--calcite-alert-edge-distance:2rem;display:block}:host .container{pointer-events:none;position:fixed;margin-top:0px;margin-bottom:0px;margin-left:auto;margin-right:auto;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;background-color:var(--calcite-ui-foreground-1);opacity:0;--tw-shadow:0 6px 20px -4px rgba(0, 0, 0, 0.1), 0 4px 12px -2px rgba(0, 0, 0, 0.08);--tw-shadow-colored:0 6px 20px -4px var(--tw-shadow-color), 0 4px 12px -2px var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);border-radius:var(--calcite-border-radius);border-top:0px solid transparent;border-left:1px solid var(--calcite-ui-border-3);border-right:1px solid var(--calcite-ui-border-3);border-bottom:1px solid var(--calcite-ui-border-3);min-height:var(--calcite-alert-min-height);width:var(--calcite-alert-width);max-width:calc(100% - (var(--calcite-alert-edge-distance) * 2 + 2px));max-height:0;z-index:101;-webkit-transition:var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), all var(--calcite-animation-timing) ease-in-out;transition:var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), all var(--calcite-animation-timing) ease-in-out}:host .container.bottom,:host .container.top{inset-inline-end:0;inset-inline-start:0}:host .container[class*=bottom]{-webkit-transform:translate3d(0, var(--calcite-alert-edge-distance), 0);transform:translate3d(0, var(--calcite-alert-edge-distance), 0);inset-block-end:var(--calcite-alert-edge-distance)}:host .container[class*=top]{-webkit-transform:translate3d(0, calc(-1 * var(--calcite-alert-edge-distance)), 0);transform:translate3d(0, calc(-1 * var(--calcite-alert-edge-distance)), 0);inset-block-start:var(--calcite-alert-edge-distance)}:host .container[class*=-start]{inset-inline-start:var(--calcite-alert-edge-distance);inset-inline-end:auto}:host .container[class*=-end]{inset-inline-end:var(--calcite-alert-edge-distance);inset-inline-start:auto}.container{display:-ms-flexbox;display:flex;width:100%;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center}.alert-close{outline-offset:0;outline-color:transparent;-webkit-transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out}.alert-close:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}:host([active]) .container:not(.queued){max-height:100%;border-top-width:2px;opacity:1;pointer-events:initial}:host([active]) .container:not(.queued)[class*=bottom]{-webkit-transform:translate3d(0, calc(-1 * var(--calcite-alert-edge-distance)), inherit);transform:translate3d(0, calc(-1 * var(--calcite-alert-edge-distance)), inherit)}:host([active]) .container:not(.queued)[class*=top]{-webkit-transform:translate3d(0, var(--calcite-alert-edge-distance), inherit);transform:translate3d(0, var(--calcite-alert-edge-distance), inherit)}slot[name=title]::slotted(*),*::slotted([slot=title]){font-size:var(--calcite-font-size-0);line-height:1.375;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1)}slot[name=message]::slotted(*),*::slotted([slot=message]){margin:0px;display:inline;font-size:var(--calcite-font-size--1);line-height:1.375;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-2);-webkit-margin-end:0.5rem;margin-inline-end:0.5rem}slot[name=link]::slotted(*),*::slotted([slot=link]){display:-ms-inline-flexbox;display:inline-flex;color:var(--calcite-ui-text-link)}.alert-content{-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:var(--calcite-animation-timing);transition-duration:var(--calcite-animation-timing);-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;-webkit-transition-delay:0s;transition-delay:0s;padding:var(--calcite-alert-spacing-token-small) var(--calcite-alert-spacing-token-large);-ms-flex:0 0 auto;flex:0 0 auto;overflow-wrap:break-word;background-color:var(--calcite-ui-foreground-1);-ms-flex:1 1 auto;flex:1 1 auto;min-width:0;padding-block:var(--calcite-alert-spacing-token-small);padding-inline:0 var(--calcite-alert-spacing-token-small);border-bottom-left-radius:var(--calcite-border-radius);border-bottom-right-radius:var(--calcite-border-radius)}.alert-content:first-of-type:not(:only-child){-webkit-padding-start:var(--calcite-alert-spacing-token-large);padding-inline-start:var(--calcite-alert-spacing-token-large)}.alert-content:only-child{padding:var(--calcite-alert-spacing-token-small)}.alert-icon{-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:var(--calcite-animation-timing);transition-duration:var(--calcite-animation-timing);-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;-webkit-transition-delay:0s;transition-delay:0s;padding:var(--calcite-alert-spacing-token-small) var(--calcite-alert-spacing-token-large);-ms-flex:0 0 auto;flex:0 0 auto;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-item-align:stretch;align-self:stretch;background-color:var(--calcite-ui-foreground-1);padding-top:0px;padding-bottom:0px}.alert-close{-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:var(--calcite-animation-timing);transition-duration:var(--calcite-animation-timing);-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;-webkit-transition-delay:0s;transition-delay:0s;padding:var(--calcite-alert-spacing-token-small) var(--calcite-alert-spacing-token-large);-ms-flex:0 0 auto;flex:0 0 auto;cursor:pointer;-ms-flex-item-align:stretch;align-self:stretch;overflow:hidden;border-style:none;background-color:var(--calcite-ui-foreground-1);padding-top:0px;padding-bottom:0px;color:var(--calcite-ui-text-3);outline:2px solid transparent;outline-offset:2px;border-end-end-radius:var(--calcite-border-radius)}.alert-close:hover,.alert-close:focus{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1)}.alert-close:active{background-color:var(--calcite-ui-foreground-3)}.alert-queue-count{visibility:hidden;display:-ms-flexbox;display:flex;cursor:default;-ms-flex-align:center;align-items:center;-ms-flex-pack:distribute;justify-content:space-around;-ms-flex-item-align:stretch;align-self:stretch;overflow:hidden;background-color:var(--calcite-ui-foreground-1);text-align:center;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-2);opacity:0;-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:var(--calcite-animation-timing);transition-duration:var(--calcite-animation-timing);-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;-webkit-transition-delay:0s;transition-delay:0s;border-left:0px solid transparent;border-right:0px solid transparent;border-top-right-radius:0}.alert-queue-count.active{visibility:visible;opacity:1}:host([auto-dismiss])>.alert-queue-count{-webkit-border-end:0px solid transparent;border-inline-end:0px solid transparent}.alert-dismiss-progress{position:absolute;left:0px;right:0px;display:block;width:100%;overflow:hidden;top:-2px;height:2px;z-index:103;border-radius:var(--calcite-border-radius) var(--calcite-border-radius) 0 0}.alert-dismiss-progress:after{position:absolute;top:0px;display:block;height:2px;content:"";background-color:var(--calcite-alert-dismiss-progress-background);z-index:104;inset-inline-end:0}:host([color=blue]) .container{border-top-color:var(--calcite-ui-info)}:host([color=blue]) .container .alert-icon{color:var(--calcite-ui-info)}:host([color=red]) .container{border-top-color:var(--calcite-ui-danger)}:host([color=red]) .container .alert-icon{color:var(--calcite-ui-danger)}:host([color=yellow]) .container{border-top-color:var(--calcite-ui-warning)}:host([color=yellow]) .container .alert-icon{color:var(--calcite-ui-warning)}:host([color=green]) .container{border-top-color:var(--calcite-ui-success)}:host([color=green]) .container .alert-icon{color:var(--calcite-ui-success)}:host([auto-dismiss-duration=fast]) .alert-dismiss-progress:after{-webkit-animation:dismissProgress 6000ms ease-out;animation:dismissProgress 6000ms ease-out}:host([auto-dismiss-duration=medium]) .alert-dismiss-progress:after{-webkit-animation:dismissProgress 10000ms ease-out;animation:dismissProgress 10000ms ease-out}:host([auto-dismiss-duration=slow]) .alert-dismiss-progress:after{-webkit-animation:dismissProgress 14000ms ease-out;animation:dismissProgress 14000ms ease-out}@-webkit-keyframes dismissProgress{0%{width:0px;opacity:0.75}100%{width:100%;opacity:1}}@keyframes dismissProgress{0%{width:0px;opacity:0.75}100%{width:100%;opacity:1}}';export{c as calcite_alert}
@@ -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-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.451
4
+ * v1.0.0-next.454
5
5
  */
6
6
  const t=()=>[2,1,1,1,3].map((t=>{let e="";for(let r=0;r<t;r++)e+=(65536*(1+Math.random())|0).toString(16).substring(1);return e})).join("-");export{t as g}
@@ -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-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.451
4
+ * v1.0.0-next.454
5
5
  */
6
- import{a as n,i as r,b as e}from"./p-04a800bf.js";const t=["ar","bg","bs","ca","cs","da","de","de-CH","el","en","en-AU","en-CA","en-GB","es","es-MX","et","fi","fr","fr-CH","he","hi","hr","hu","id","it","it-CH","ja","ko","lt","lv","mk","nb","nl","pl","pt","pt-PT","ro","ru","sk","sl","sr","sv","th","tr","uk","vi","zh-CN","zh-HK","zh-TW"],i=new RegExp("[.](?=.*[.])","g"),u=new RegExp("[^0-9-.]","g"),s=new RegExp(",","g");function a(n){return new Intl.NumberFormat(n,{minimumFractionDigits:0,maximumFractionDigits:20})}function c(e,t){return n(e,(n=>{const e=n.replace(g(t),"-").replace(o(t),"").replace(f(t),".").replace(i,"").replace(u,"");return r(e)?e:n}))}function o(n){const r=a(n).formatToParts(1234567).find((n=>"group"===n.type)).value;return 0===r.trim().length?" ":r}function f(n){return a(n).formatToParts(1.1).find((n=>"decimal"===n.type)).value}function g(n){return a(n).formatToParts(-9).find((n=>"minusSign"===n.type)).value}function m(r,t,i=!1){return n(r,(n=>{if(n){const r=Number(e(n.replace(s,"")));if(!isNaN(r))return a(t).formatToParts(r).map((({type:n,value:r})=>{switch(n){case"group":return i?o(t):"";case"decimal":return f(t);case"minusSign":return g(t);default:return r}})).reduce(((n,r)=>n+r))}return n}))}export{t as a,c as d,f as g,m as l}
6
+ import{a as n,i as e,b as r}from"./p-e1fced65.js";const t=["ar","bg","bs","ca","cs","da","de","de-CH","el","en","en-AU","en-CA","en-GB","es","es-MX","et","fi","fr","fr-CH","he","hi","hr","hu","id","it","it-CH","ja","ko","lt","lv","mk","nb","nl","pl","pt","pt-PT","ro","ru","sk","sl","sr","sv","th","tr","uk","vi","zh-CN","zh-HK","zh-TW"],i=new RegExp("[.](?=.*[.])","g"),u=new RegExp("[^0-9-.]","g"),s=new RegExp(",","g");function a(n){return new Intl.NumberFormat(n,{minimumFractionDigits:0,maximumFractionDigits:20})}function c(r,t){return n(r,(n=>{const r=n.replace(g(t),"-").replace(o(t),"").replace(f(t),".").replace(i,"").replace(u,"");return e(r)?r:n}))}function o(n){const e=a(n).formatToParts(1234567).find((n=>"group"===n.type)).value;return 0===e.trim().length?" ":e}function f(n){return a(n).formatToParts(1.1).find((n=>"decimal"===n.type)).value}function g(n){return a(n).formatToParts(-9).find((n=>"minusSign"===n.type)).value}function m(e,t,i=!1){return n(e,(n=>{if(n){const e=Number(r(n.replace(s,"")));if(!isNaN(e))return a(t).formatToParts(e).map((({type:n,value:e})=>{switch(n){case"group":return i?o(t):"";case"decimal":return f(t);case"minusSign":return g(t);default:return e}})).reduce(((n,e)=>n+e))}return n}))}export{t as a,c as d,f as g,m as l}
@@ -2,5 +2,5 @@ var __awaiter=this&&this.__awaiter||function(t,e,i,n){function a(t){return t ins
2
2
  /*!
3
3
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
4
4
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
5
- * v1.0.0-next.451
6
- */System.register(["./p-ebad9f9e.system.js","./p-02531850.system.js","./p-fe6465ed.system.js","./p-3b40ad33.system.js","./p-f43a3c3a.system.js","./p-c99c4cfa.system.js"],(function(t){"use strict";var e,i,n,a,r,o,c,s,l,h,d,u,m;return{setters:[function(t){e=t.r;i=t.c;n=t.h;a=t.H;r=t.g},function(t){o=t.f},function(t){c=t.c;s=t.d;l=t.g},function(t){h=t.c;d=t.d;u=t.H},function(t){m=t.u},function(){}],execute:function(){var p="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host([scale=s]) .container{height:0.75rem}:host([scale=s]) .track{height:0.75rem;width:1.5rem}:host([scale=s]) .handle{height:0.5rem;width:0.5rem}:host([scale=m]) .container{height:1rem}:host([scale=m]) .track{height:1rem;width:2rem}:host([scale=m]) .handle{height:0.75rem;width:0.75rem}:host([scale=l]) .container{height:1.5rem}:host([scale=l]) .track{height:1.5rem;width:3rem}:host([scale=l]) .handle{height:1.25rem;width:1.25rem}:host{position:relative;display:inline-block;width:auto;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;vertical-align:middle;tap-highlight-color:transparent}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host{width:auto;outline-offset:0;outline-color:transparent;-webkit-transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out}.track{pointer-events:none;position:relative;-webkit-box-sizing:border-box;box-sizing:border-box;display:inline-block;border-radius:9999px;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-2);background-color:var(--calcite-ui-foreground-2);vertical-align:top;-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}.handle{pointer-events:none;position:absolute;display:block;border-radius:9999px;border-width:2px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-foreground-1);-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);top:-1px;inset-inline:-1px auto}:host(:hover) .handle,:host(:focus) .handle{border-color:var(--calcite-ui-brand);-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-brand);box-shadow:inset 0 0 0 1px var(--calcite-ui-brand)}:host([checked]) .track{border-color:var(--calcite-ui-brand-hover);background-color:var(--calcite-ui-brand)}:host([checked]) .handle{border-color:var(--calcite-ui-brand);inset-inline:auto -1px}:host([checked]:hover) .track{border-color:var(--calcite-ui-brand-hover);background-color:var(--calcite-ui-brand)}:host([checked]:hover) .handle{border-color:var(--calcite-ui-brand-hover);-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-brand-hover);box-shadow:inset 0 0 0 1px var(--calcite-ui-brand-hover)}@media (forced-colors: active){:host([checked]) .track{background-color:canvasText}}.container:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:2px}::slotted(input[slot=hidden-form-input]){bottom:0 !important;left:0 !important;margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;right:0 !important;top:0 !important;-webkit-transform:none !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}";var f=t("calcite_switch",function(){function t(t){var n=this;e(this,t);this.calciteSwitchChange=i(this,"calciteSwitchChange",7);this.disabled=false;this.scale="m";this.switched=false;this.checked=false;this.keyDownHandler=function(t){var e=t.key;if(!n.disabled&&(e===" "||e==="Enter")){n.toggle();t.preventDefault()}};this.clickHandler=function(){n.toggle()};this.setSwitchEl=function(t){n.switchEl=t}}t.prototype.switchedWatcher=function(t){this.checked=t};t.prototype.setFocus=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){o(this.switchEl);return[2]}))}))};t.prototype.onLabelClick=function(){if(!this.disabled){this.toggle();this.setFocus()}};t.prototype.toggle=function(){this.checked=!this.checked;this.calciteSwitchChange.emit({switched:this.checked})};t.prototype.connectedCallback=function(){var t=this.checked||this.switched;if(t){this.switched=this.checked=t}c(this);h(this)};t.prototype.disconnectedCallback=function(){s(this);d(this)};t.prototype.componentDidRender=function(){m(this)};t.prototype.render=function(){return n(a,{onClick:this.clickHandler,onKeyDown:this.keyDownHandler},n("div",{"aria-checked":this.checked.toString(),"aria-label":l(this),class:"container",ref:this.setSwitchEl,role:"switch",tabIndex:0},n("div",{class:"track"},n("div",{class:"handle"})),n(u,{component:this})))};Object.defineProperty(t.prototype,"el",{get:function(){return r(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{switched:["switchedWatcher"]}},enumerable:false,configurable:true});return t}());f.style=p}}}));
5
+ * v1.0.0-next.454
6
+ */System.register(["./p-d6bf468d.system.js","./p-e60e3b5e.system.js","./p-14a3ac93.system.js","./p-be24d419.system.js","./p-aa763e8a.system.js","./p-086b9bee.system.js"],(function(t){"use strict";var e,i,n,a,r,o,c,s,l,h,d,u,m;return{setters:[function(t){e=t.r;i=t.c;n=t.h;a=t.H;r=t.g},function(t){o=t.f},function(t){c=t.c;s=t.d;l=t.g},function(t){h=t.c;d=t.d;u=t.H},function(t){m=t.u},function(){}],execute:function(){var p="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host([scale=s]) .container{height:0.75rem}:host([scale=s]) .track{height:0.75rem;width:1.5rem}:host([scale=s]) .handle{height:0.5rem;width:0.5rem}:host([scale=m]) .container{height:1rem}:host([scale=m]) .track{height:1rem;width:2rem}:host([scale=m]) .handle{height:0.75rem;width:0.75rem}:host([scale=l]) .container{height:1.5rem}:host([scale=l]) .track{height:1.5rem;width:3rem}:host([scale=l]) .handle{height:1.25rem;width:1.25rem}:host{position:relative;display:inline-block;width:auto;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;vertical-align:middle;tap-highlight-color:transparent}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host{width:auto;outline-offset:0;outline-color:transparent;-webkit-transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out}.track{pointer-events:none;position:relative;-webkit-box-sizing:border-box;box-sizing:border-box;display:inline-block;border-radius:9999px;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-2);background-color:var(--calcite-ui-foreground-2);vertical-align:top;-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}.handle{pointer-events:none;position:absolute;display:block;border-radius:9999px;border-width:2px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-foreground-1);-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);top:-1px;inset-inline:-1px auto}:host(:hover) .handle,:host(:focus) .handle{border-color:var(--calcite-ui-brand);-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-brand);box-shadow:inset 0 0 0 1px var(--calcite-ui-brand)}:host([checked]) .track{border-color:var(--calcite-ui-brand-hover);background-color:var(--calcite-ui-brand)}:host([checked]) .handle{border-color:var(--calcite-ui-brand);inset-inline:auto -1px}:host([checked]:hover) .track{border-color:var(--calcite-ui-brand-hover);background-color:var(--calcite-ui-brand)}:host([checked]:hover) .handle{border-color:var(--calcite-ui-brand-hover);-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-brand-hover);box-shadow:inset 0 0 0 1px var(--calcite-ui-brand-hover)}@media (forced-colors: active){:host([checked]) .track{background-color:canvasText}}.container:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:2px}::slotted(input[slot=hidden-form-input]){bottom:0 !important;left:0 !important;margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;right:0 !important;top:0 !important;-webkit-transform:none !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}";var b=t("calcite_switch",function(){function t(t){var n=this;e(this,t);this.calciteSwitchChange=i(this,"calciteSwitchChange",7);this.disabled=false;this.scale="m";this.switched=false;this.checked=false;this.keyDownHandler=function(t){var e=t.key;if(!n.disabled&&(e===" "||e==="Enter")){n.toggle();t.preventDefault()}};this.clickHandler=function(){n.toggle()};this.setSwitchEl=function(t){n.switchEl=t}}t.prototype.switchedWatcher=function(t){this.checked=t};t.prototype.setFocus=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){o(this.switchEl);return[2]}))}))};t.prototype.onLabelClick=function(){if(!this.disabled){this.toggle();this.setFocus()}};t.prototype.toggle=function(){this.checked=!this.checked;this.calciteSwitchChange.emit({switched:this.checked})};t.prototype.connectedCallback=function(){var t=this.checked||this.switched;if(t){this.switched=this.checked=t}c(this);h(this)};t.prototype.disconnectedCallback=function(){s(this);d(this)};t.prototype.componentDidRender=function(){m(this)};t.prototype.render=function(){return n(a,{onClick:this.clickHandler,onKeyDown:this.keyDownHandler},n("div",{"aria-checked":this.checked.toString(),"aria-label":l(this),class:"container",ref:this.setSwitchEl,role:"switch",tabIndex:0},n("div",{class:"track"},n("div",{class:"handle"})),n(u,{component:this})))};Object.defineProperty(t.prototype,"el",{get:function(){return r(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{switched:["switchedWatcher"]}},enumerable:false,configurable:true});return t}());b.style=p}}}));
@@ -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-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.451
4
+ * v1.0.0-next.454
5
5
  */
6
- import{r as t,c as i,h as a,H as e,g as o}from"./p-868d4330.js";import{g as r}from"./p-2c06b3f6.js";import{a as n,f as s}from"./p-472bb25d.js";import{c,d,g as l}from"./p-4411a322.js";import{c as h,d as m,H as p}from"./p-626f2b63.js";import{g as b}from"./p-2fd4dc98.js";import{u}from"./p-51c80b17.js";const f=class{constructor(a){t(this,a),this.calciteInternalRadioButtonBlur=i(this,"calciteInternalRadioButtonBlur",7),this.calciteRadioButtonChange=i(this,"calciteRadioButtonChange",7),this.calciteInternalRadioButtonCheckedChange=i(this,"calciteInternalRadioButtonCheckedChange",7),this.calciteInternalRadioButtonFocus=i(this,"calciteInternalRadioButtonFocus",7),this.checked=!1,this.disabled=!1,this.focused=!1,this.hidden=!1,this.hovered=!1,this.required=!1,this.scale="m",this.selectItem=(t,i)=>{t[i].click()},this.queryButtons=()=>Array.from(this.rootNode.querySelectorAll("calcite-radio-button:not([hidden])")).filter((t=>t.name===this.name)),this.isDefaultSelectable=()=>{const t=this.queryButtons();return!t.some((t=>t.checked))&&t[0]===this.el},this.check=()=>{this.disabled||(this.uncheckAllRadioButtonsInGroup(),this.checked=!0,this.calciteRadioButtonChange.emit(),this.setFocus())},this.clickHandler=()=>{this.check()},this.setContainerEl=t=>{this.containerEl=t},this.handleKeyDown=t=>{const i=t.key,{el:a}=this;if(-1===["ArrowLeft","ArrowUp","ArrowRight","ArrowDown"," "].indexOf(i))return;if(" "===i)return void this.check();let e=i;"rtl"===n(a)&&("ArrowRight"===i&&(e="ArrowLeft"),"ArrowLeft"===i&&(e="ArrowRight"));const o=Array.from(this.rootNode.querySelectorAll("calcite-radio-button:not([hidden]")).filter((t=>t.name===this.name));let r=0;const s=o.length;switch(o.some(((t,i)=>{if(t.checked)return r=i,!0})),e){case"ArrowLeft":case"ArrowUp":return t.preventDefault(),void this.selectItem(o,b(Math.max(r-1,-1),s));case"ArrowRight":case"ArrowDown":return t.preventDefault(),void this.selectItem(o,b(r+1,s));default:return}},this.onContainerBlur=()=>{this.focused=!1,this.calciteInternalRadioButtonBlur.emit()},this.onContainerFocus=()=>{this.disabled||(this.focused=!0,this.calciteInternalRadioButtonFocus.emit())}}checkedChanged(t){t&&this.uncheckOtherRadioButtonsInGroup(),this.calciteInternalRadioButtonCheckedChange.emit(t)}nameChanged(){this.checkLastRadioButton()}async setFocus(){this.disabled||s(this.containerEl)}onLabelClick(t){if(!this.disabled&&!this.hidden){this.uncheckOtherRadioButtonsInGroup();const i=t.currentTarget,a=i.for?this.rootNode.querySelector(`calcite-radio-button[id="${i.for}"]`):i.querySelector(`calcite-radio-button[name="${this.name}"]`);a&&(a.checked=!0,a.focused=!0),this.calciteRadioButtonChange.emit(),this.setFocus()}}checkLastRadioButton(){const t=this.queryButtons().filter((t=>t.checked));if((null==t?void 0:t.length)>1){const i=t[t.length-1];t.filter((t=>t!==i)).forEach((t=>{t.checked=!1,t.emitCheckedChange()}))}}async emitCheckedChange(){this.calciteInternalRadioButtonCheckedChange.emit()}uncheckAllRadioButtonsInGroup(){this.queryButtons().forEach((t=>{t.checked&&(t.checked=!1,t.focused=!1)}))}uncheckOtherRadioButtonsInGroup(){this.queryButtons().filter((t=>t.guid!==this.guid)).forEach((t=>{t.checked&&(t.checked=!1,t.focused=!1)}))}getTabIndex(){if(!this.disabled)return this.checked||this.isDefaultSelectable()?0:-1}mouseenter(){this.hovered=!0}mouseleave(){this.hovered=!1}connectedCallback(){this.rootNode=this.el.getRootNode(),this.guid=this.el.id||`calcite-radio-button-${r()}`,this.name&&this.checkLastRadioButton(),c(this),h(this)}componentDidLoad(){this.focused&&!this.disabled&&this.setFocus()}disconnectedCallback(){d(this),m(this)}componentDidRender(){u(this)}render(){const t=this.getTabIndex();return a(e,{onClick:this.clickHandler,onKeyDown:this.handleKeyDown},a("div",{"aria-checked":this.checked.toString(),"aria-label":l(this),class:"container",onBlur:this.onContainerBlur,onFocus:this.onContainerFocus,ref:this.setContainerEl,role:"radio",tabIndex:t},a("div",{class:"radio"})),a(p,{component:this}))}get el(){return o(this)}static get watchers(){return{checked:["checkedChanged"],name:["nameChanged"]}}};f.style='@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:block;cursor:pointer}:host .container{position:relative;outline:2px solid transparent;outline-offset:2px}:host .radio{cursor:pointer;border-radius:9999px;background-color:var(--calcite-ui-foreground-1);-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-border-input);box-shadow:inset 0 0 0 1px var(--calcite-ui-border-input)}:host([hovered]) .radio,:host(:not([checked])[focused]:not([disabled])) .radio{-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-brand);box-shadow:inset 0 0 0 2px var(--calcite-ui-brand)}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) .radio{cursor:default;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([hovered][disabled]) .radio{-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-border-input);box-shadow:inset 0 0 0 1px var(--calcite-ui-border-input)}:host([scale=s]){--calcite-radio-size:var(--calcite-font-size--2)}:host([scale=m]){--calcite-radio-size:var(--calcite-font-size--1)}:host([scale=l]){--calcite-radio-size:var(--calcite-font-size-0)}.radio{height:var(--calcite-radio-size);max-width:var(--calcite-radio-size);min-width:var(--calcite-radio-size)}:host([scale=s][checked]) .radio,:host([hovered][scale=s][checked][disabled]) .radio{-webkit-box-shadow:inset 0 0 0 4px var(--calcite-ui-brand);box-shadow:inset 0 0 0 4px var(--calcite-ui-brand)}:host([scale=s][focused][checked]:not([disabled])) .radio{-webkit-box-shadow:inset 0 0 0 4px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1), 0 0 0 4px var(--calcite-ui-brand);box-shadow:inset 0 0 0 4px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1), 0 0 0 4px var(--calcite-ui-brand)}:host([scale=m][checked]) .radio,:host([hovered][scale=m][checked][disabled]) .radio{-webkit-box-shadow:inset 0 0 0 5px var(--calcite-ui-brand);box-shadow:inset 0 0 0 5px var(--calcite-ui-brand)}:host([scale=m][focused][checked]:not([disabled])) .radio{-webkit-box-shadow:inset 0 0 0 5px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1), 0 0 0 4px var(--calcite-ui-brand);box-shadow:inset 0 0 0 5px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1), 0 0 0 4px var(--calcite-ui-brand)}:host([scale=l][checked]) .radio,:host([hovered][scale=l][checked][disabled]) .radio{-webkit-box-shadow:inset 0 0 0 6px var(--calcite-ui-brand);box-shadow:inset 0 0 0 6px var(--calcite-ui-brand)}:host([scale=l][focused][checked]:not([disabled])) .radio{-webkit-box-shadow:inset 0 0 0 6px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1), 0 0 0 4px var(--calcite-ui-brand);box-shadow:inset 0 0 0 6px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1), 0 0 0 4px var(--calcite-ui-brand)}@media (forced-colors: active){:host([checked]) .radio::after,:host([checked][disabled]) .radio::after{content:"";width:var(--calcite-radio-size);height:var(--calcite-radio-size);background-color:windowText;display:block}}::slotted(input[slot=hidden-form-input]){bottom:0 !important;left:0 !important;margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;right:0 !important;top:0 !important;-webkit-transform:none !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}';export{f as calcite_radio_button}
6
+ import{r as t,c as i,h as a,H as e,g as o}from"./p-444683c3.js";import{g as r}from"./p-73b025f5.js";import{a as n,f as s}from"./p-d5a93c9e.js";import{c,d,g as l}from"./p-5448db1c.js";import{c as h,d as m,H as p}from"./p-16b7f8a7.js";import{g as b}from"./p-8972c447.js";import{u}from"./p-93dcbc3b.js";const f=class{constructor(a){t(this,a),this.calciteInternalRadioButtonBlur=i(this,"calciteInternalRadioButtonBlur",7),this.calciteRadioButtonChange=i(this,"calciteRadioButtonChange",7),this.calciteInternalRadioButtonCheckedChange=i(this,"calciteInternalRadioButtonCheckedChange",7),this.calciteInternalRadioButtonFocus=i(this,"calciteInternalRadioButtonFocus",7),this.checked=!1,this.disabled=!1,this.focused=!1,this.hidden=!1,this.hovered=!1,this.required=!1,this.scale="m",this.selectItem=(t,i)=>{t[i].click()},this.queryButtons=()=>Array.from(this.rootNode.querySelectorAll("calcite-radio-button:not([hidden])")).filter((t=>t.name===this.name)),this.isDefaultSelectable=()=>{const t=this.queryButtons();return!t.some((t=>t.checked))&&t[0]===this.el},this.check=()=>{this.disabled||(this.uncheckAllRadioButtonsInGroup(),this.checked=!0,this.calciteRadioButtonChange.emit(),this.setFocus())},this.clickHandler=()=>{this.check()},this.setContainerEl=t=>{this.containerEl=t},this.handleKeyDown=t=>{const i=t.key,{el:a}=this;if(-1===["ArrowLeft","ArrowUp","ArrowRight","ArrowDown"," "].indexOf(i))return;if(" "===i)return void this.check();let e=i;"rtl"===n(a)&&("ArrowRight"===i&&(e="ArrowLeft"),"ArrowLeft"===i&&(e="ArrowRight"));const o=Array.from(this.rootNode.querySelectorAll("calcite-radio-button:not([hidden]")).filter((t=>t.name===this.name));let r=0;const s=o.length;switch(o.some(((t,i)=>{if(t.checked)return r=i,!0})),e){case"ArrowLeft":case"ArrowUp":return t.preventDefault(),void this.selectItem(o,b(Math.max(r-1,-1),s));case"ArrowRight":case"ArrowDown":return t.preventDefault(),void this.selectItem(o,b(r+1,s));default:return}},this.onContainerBlur=()=>{this.focused=!1,this.calciteInternalRadioButtonBlur.emit()},this.onContainerFocus=()=>{this.disabled||(this.focused=!0,this.calciteInternalRadioButtonFocus.emit())}}checkedChanged(t){t&&this.uncheckOtherRadioButtonsInGroup(),this.calciteInternalRadioButtonCheckedChange.emit(t)}nameChanged(){this.checkLastRadioButton()}async setFocus(){this.disabled||s(this.containerEl)}onLabelClick(t){if(!this.disabled&&!this.hidden){this.uncheckOtherRadioButtonsInGroup();const i=t.currentTarget,a=i.for?this.rootNode.querySelector(`calcite-radio-button[id="${i.for}"]`):i.querySelector(`calcite-radio-button[name="${this.name}"]`);a&&(a.checked=!0,a.focused=!0),this.calciteRadioButtonChange.emit(),this.setFocus()}}checkLastRadioButton(){const t=this.queryButtons().filter((t=>t.checked));if((null==t?void 0:t.length)>1){const i=t[t.length-1];t.filter((t=>t!==i)).forEach((t=>{t.checked=!1,t.emitCheckedChange()}))}}async emitCheckedChange(){this.calciteInternalRadioButtonCheckedChange.emit()}uncheckAllRadioButtonsInGroup(){this.queryButtons().forEach((t=>{t.checked&&(t.checked=!1,t.focused=!1)}))}uncheckOtherRadioButtonsInGroup(){this.queryButtons().filter((t=>t.guid!==this.guid)).forEach((t=>{t.checked&&(t.checked=!1,t.focused=!1)}))}getTabIndex(){if(!this.disabled)return this.checked||this.isDefaultSelectable()?0:-1}mouseenter(){this.hovered=!0}mouseleave(){this.hovered=!1}connectedCallback(){this.rootNode=this.el.getRootNode(),this.guid=this.el.id||`calcite-radio-button-${r()}`,this.name&&this.checkLastRadioButton(),c(this),h(this)}componentDidLoad(){this.focused&&!this.disabled&&this.setFocus()}disconnectedCallback(){d(this),m(this)}componentDidRender(){u(this)}render(){const t=this.getTabIndex();return a(e,{onClick:this.clickHandler,onKeyDown:this.handleKeyDown},a("div",{"aria-checked":this.checked.toString(),"aria-label":l(this),class:"container",onBlur:this.onContainerBlur,onFocus:this.onContainerFocus,ref:this.setContainerEl,role:"radio",tabIndex:t},a("div",{class:"radio"})),a(p,{component:this}))}get el(){return o(this)}static get watchers(){return{checked:["checkedChanged"],name:["nameChanged"]}}};f.style='@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:block;cursor:pointer}:host .container{position:relative;outline:2px solid transparent;outline-offset:2px}:host .radio{cursor:pointer;border-radius:9999px;background-color:var(--calcite-ui-foreground-1);-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-border-input);box-shadow:inset 0 0 0 1px var(--calcite-ui-border-input)}:host([hovered]) .radio,:host(:not([checked])[focused]:not([disabled])) .radio{-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-brand);box-shadow:inset 0 0 0 2px var(--calcite-ui-brand)}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) .radio{cursor:default;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([hovered][disabled]) .radio{-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-border-input);box-shadow:inset 0 0 0 1px var(--calcite-ui-border-input)}:host([scale=s]){--calcite-radio-size:var(--calcite-font-size--2)}:host([scale=m]){--calcite-radio-size:var(--calcite-font-size--1)}:host([scale=l]){--calcite-radio-size:var(--calcite-font-size-0)}.radio{height:var(--calcite-radio-size);max-width:var(--calcite-radio-size);min-width:var(--calcite-radio-size)}:host([scale=s][checked]) .radio,:host([hovered][scale=s][checked][disabled]) .radio{-webkit-box-shadow:inset 0 0 0 4px var(--calcite-ui-brand);box-shadow:inset 0 0 0 4px var(--calcite-ui-brand)}:host([scale=s][focused][checked]:not([disabled])) .radio{-webkit-box-shadow:inset 0 0 0 4px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1), 0 0 0 4px var(--calcite-ui-brand);box-shadow:inset 0 0 0 4px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1), 0 0 0 4px var(--calcite-ui-brand)}:host([scale=m][checked]) .radio,:host([hovered][scale=m][checked][disabled]) .radio{-webkit-box-shadow:inset 0 0 0 5px var(--calcite-ui-brand);box-shadow:inset 0 0 0 5px var(--calcite-ui-brand)}:host([scale=m][focused][checked]:not([disabled])) .radio{-webkit-box-shadow:inset 0 0 0 5px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1), 0 0 0 4px var(--calcite-ui-brand);box-shadow:inset 0 0 0 5px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1), 0 0 0 4px var(--calcite-ui-brand)}:host([scale=l][checked]) .radio,:host([hovered][scale=l][checked][disabled]) .radio{-webkit-box-shadow:inset 0 0 0 6px var(--calcite-ui-brand);box-shadow:inset 0 0 0 6px var(--calcite-ui-brand)}:host([scale=l][focused][checked]:not([disabled])) .radio{-webkit-box-shadow:inset 0 0 0 6px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1), 0 0 0 4px var(--calcite-ui-brand);box-shadow:inset 0 0 0 6px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1), 0 0 0 4px var(--calcite-ui-brand)}@media (forced-colors: active){:host([checked]) .radio::after,:host([checked][disabled]) .radio::after{content:"";width:var(--calcite-radio-size);height:var(--calcite-radio-size);background-color:windowText;display:block}}::slotted(input[slot=hidden-form-input]){bottom:0 !important;left:0 !important;margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;right:0 !important;top:0 !important;-webkit-transform:none !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}';export{f as calcite_radio_button}
@@ -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-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.451
4
+ * v1.0.0-next.454
5
5
  */
6
- import{a as t,r as a,h as i,H as n,g as e}from"./p-868d4330.js";import{a as r}from"./p-472bb25d.js";import{c as s}from"./p-3e12cf71.js";import"./p-2c06b3f6.js";const o={},c={},l={s:16,m:24,l:32};const m=class{constructor(t){a(this,t),this.icon=null,this.flipRtl=!1,this.scale="m",this.visible=!1}connectedCallback(){this.waitUntilVisible((()=>{this.visible=!0,this.loadIconPathData()}))}disconnectedCallback(){var t;null===(t=this.intersectionObserver)||void 0===t||t.disconnect(),this.intersectionObserver=null}async componentWillLoad(){this.loadIconPathData()}render(){const{el:t,flipRtl:a,pathData:e,scale:s,textLabel:o}=this,c=r(t),m=l[s],f=!!o,h=[].concat(e||"");return i(n,{"aria-hidden":(!f).toString(),"aria-label":f?o:null,role:f?"img":null},i("svg",{class:{"flip-rtl":"rtl"===c&&a,svg:!0},fill:"currentColor",height:"100%",viewBox:`0 0 ${m} ${m}`,width:"100%",xmlns:"http://www.w3.org/2000/svg"},h.map((t=>i("path","string"==typeof t?{d:t}:{d:t.d,opacity:"opacity"in t?t.opacity:1})))))}async loadIconPathData(){const{icon:a,scale:i,visible:n}=this;a&&n&&(this.pathData=await async function({icon:a,scale:i}){const n=l[i],e=function(t){const a=!isNaN(Number(t.charAt(0))),i=t.split("-");return 1===i.length?a?`i${t}`:t:i.map(((t,i)=>0===i?a?`i${t.toUpperCase()}`:t:t.charAt(0).toUpperCase()+t.slice(1))).join("")}(a),r="F"===e.charAt(e.length-1),s=`${r?e.substring(0,e.length-1):e}${n}${r?"F":""}`;if(o[s])return o[s];c[s]||(c[s]=fetch(t(`./assets/icon/${s}.json`)).then((t=>t.json())).catch((()=>(console.error(`"${s}" is not a valid calcite-ui-icon name`),""))));const m=await c[s];return o[s]=m,m}({icon:a,scale:i}))}waitUntilVisible(t){this.intersectionObserver=s("intersection",(a=>{a.forEach((a=>{a.isIntersecting&&(this.intersectionObserver.disconnect(),this.intersectionObserver=null,t())}))}),{rootMargin:"50px"}),this.intersectionObserver?this.intersectionObserver.observe(this.el):t()}static get assetsDirs(){return["assets"]}get el(){return e(this)}static get watchers(){return{icon:["loadIconPathData"],scale:["loadIconPathData"]}}};m.style="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:-ms-inline-flexbox;display:inline-flex;color:var(--calcite-ui-icon-color)}:host([scale=s]){height:1rem;width:1rem;min-width:1rem;min-height:1rem}:host([scale=m]){height:1.5rem;width:1.5rem;min-width:1.5rem;min-height:1.5rem}:host([scale=l]){height:2rem;width:2rem;min-width:2rem;min-height:2rem}.flip-rtl{-webkit-transform:scaleX(-1);transform:scaleX(-1)}.svg{display:block}";export{m as calcite_icon}
6
+ import{a as t,r as a,h as i,H as n,g as e}from"./p-444683c3.js";import{a as r}from"./p-d5a93c9e.js";import{c as s}from"./p-ab8b37c7.js";import"./p-73b025f5.js";const o={},c={},l={s:16,m:24,l:32};const m=class{constructor(t){a(this,t),this.icon=null,this.flipRtl=!1,this.scale="m",this.visible=!1}connectedCallback(){this.waitUntilVisible((()=>{this.visible=!0,this.loadIconPathData()}))}disconnectedCallback(){var t;null===(t=this.intersectionObserver)||void 0===t||t.disconnect(),this.intersectionObserver=null}async componentWillLoad(){this.loadIconPathData()}render(){const{el:t,flipRtl:a,pathData:e,scale:s,textLabel:o}=this,c=r(t),m=l[s],h=!!o,f=[].concat(e||"");return i(n,{"aria-hidden":(!h).toString(),"aria-label":h?o:null,role:h?"img":null},i("svg",{class:{"flip-rtl":"rtl"===c&&a,svg:!0},fill:"currentColor",height:"100%",viewBox:`0 0 ${m} ${m}`,width:"100%",xmlns:"http://www.w3.org/2000/svg"},f.map((t=>i("path","string"==typeof t?{d:t}:{d:t.d,opacity:"opacity"in t?t.opacity:1})))))}async loadIconPathData(){const{icon:a,scale:i,visible:n}=this;a&&n&&(this.pathData=await async function({icon:a,scale:i}){const n=l[i],e=function(t){const a=!isNaN(Number(t.charAt(0))),i=t.split("-");return 1===i.length?a?`i${t}`:t:i.map(((t,i)=>0===i?a?`i${t.toUpperCase()}`:t:t.charAt(0).toUpperCase()+t.slice(1))).join("")}(a),r="F"===e.charAt(e.length-1),s=`${r?e.substring(0,e.length-1):e}${n}${r?"F":""}`;if(o[s])return o[s];c[s]||(c[s]=fetch(t(`./assets/icon/${s}.json`)).then((t=>t.json())).catch((()=>(console.error(`"${s}" is not a valid calcite-ui-icon name`),""))));const m=await c[s];return o[s]=m,m}({icon:a,scale:i}))}waitUntilVisible(t){this.intersectionObserver=s("intersection",(a=>{a.forEach((a=>{a.isIntersecting&&(this.intersectionObserver.disconnect(),this.intersectionObserver=null,t())}))}),{rootMargin:"50px"}),this.intersectionObserver?this.intersectionObserver.observe(this.el):t()}static get assetsDirs(){return["assets"]}get el(){return e(this)}static get watchers(){return{icon:["loadIconPathData"],scale:["loadIconPathData"]}}};m.style="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:-ms-inline-flexbox;display:inline-flex;color:var(--calcite-ui-icon-color)}:host([scale=s]){height:1rem;width:1rem;min-width:1rem;min-height:1rem}:host([scale=m]){height:1.5rem;width:1.5rem;min-width:1.5rem;min-height:1.5rem}:host([scale=l]){height:2rem;width:2rem;min-width:2rem;min-height:2rem}.flip-rtl{-webkit-transform:scaleX(-1);transform:scaleX(-1)}.svg{display:block}";export{m as calcite_icon}