@esri/calcite-components 1.0.0-next.290 → 1.0.0-next.294

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 (866) hide show
  1. package/CHANGELOG.md +40 -2
  2. package/dist/calcite/assets/calcite-icon/penMark16.json +1 -0
  3. package/dist/calcite/assets/calcite-icon/penMark24.json +1 -0
  4. package/dist/calcite/assets/calcite-icon/penMark32.json +1 -0
  5. package/dist/calcite/assets/calcite-icon/penMarkPlus16.json +1 -0
  6. package/dist/calcite/assets/calcite-icon/penMarkPlus24.json +1 -0
  7. package/dist/calcite/assets/calcite-icon/penMarkPlus32.json +1 -0
  8. package/dist/calcite/assets/calcite-icon/subscript16.json +1 -0
  9. package/dist/calcite/assets/calcite-icon/subscript24.json +1 -0
  10. package/dist/calcite/assets/calcite-icon/subscript32.json +1 -0
  11. package/dist/calcite/assets/calcite-icon/superscript16.json +1 -0
  12. package/dist/calcite/assets/calcite-icon/superscript24.json +1 -0
  13. package/dist/calcite/assets/calcite-icon/superscript32.json +1 -0
  14. package/dist/calcite/calcite.esm.js +1 -1
  15. package/dist/calcite/calcite.js +1 -1
  16. package/dist/calcite/{p-9ff5b403.entry.js → p-0100aeb0.entry.js} +1 -1
  17. package/dist/calcite/p-05107123.entry.js +5 -0
  18. package/dist/calcite/{p-cbdf0e6c.js → p-05d1dfc6.js} +1 -1
  19. package/dist/calcite/{p-a8cd5cde.system.entry.js → p-06646eed.system.entry.js} +1 -1
  20. package/dist/calcite/{p-3db2dc30.system.entry.js → p-09da1c54.system.entry.js} +2 -2
  21. package/dist/calcite/{p-280404ef.system.entry.js → p-0d4e82ab.system.entry.js} +1 -1
  22. package/dist/calcite/{p-f9428f19.system.entry.js → p-10759c71.system.entry.js} +2 -2
  23. package/dist/calcite/{p-32faf98b.system.entry.js → p-10de63d7.system.entry.js} +1 -1
  24. package/dist/calcite/p-11113310.entry.js +5 -0
  25. package/dist/calcite/{p-45b13361.system.entry.js → p-12e1c83f.system.entry.js} +1 -1
  26. package/dist/calcite/p-1421e818.entry.js +5 -0
  27. package/dist/calcite/p-17e666d6.system.entry.js +5 -0
  28. package/dist/calcite/p-1e875199.entry.js +5 -0
  29. package/dist/calcite/{p-00c20cb8.entry.js → p-22ecf6df.entry.js} +1 -1
  30. package/dist/calcite/{p-dd92cde1.entry.js → p-2418cceb.entry.js} +1 -1
  31. package/dist/calcite/{p-32fbf8cd.system.js → p-25a31861.system.js} +1 -1
  32. package/dist/calcite/{p-8655c0a1.entry.js → p-28261aae.entry.js} +1 -1
  33. package/dist/calcite/p-2ba00b89.js +5 -0
  34. package/dist/calcite/{p-91889ade.system.entry.js → p-2ecafa35.system.entry.js} +1 -1
  35. package/dist/calcite/p-329e1831.system.entry.js +5 -0
  36. package/dist/calcite/p-3383d9b4.entry.js +5 -0
  37. package/dist/calcite/p-36e5db45.entry.js +5 -0
  38. package/dist/calcite/{p-ffb8f0a9.system.entry.js → p-38ee7306.system.entry.js} +1 -1
  39. package/dist/calcite/{p-8efb43fc.entry.js → p-3962cd38.entry.js} +1 -1
  40. package/dist/calcite/p-3994ac99.system.entry.js +5 -0
  41. package/dist/calcite/{p-28fecce5.system.entry.js → p-3bb30b44.system.entry.js} +1 -1
  42. package/dist/calcite/{p-bb916828.system.entry.js → p-3cf93a58.system.entry.js} +1 -1
  43. package/dist/calcite/{p-197382be.system.entry.js → p-3e438b5b.system.entry.js} +1 -1
  44. package/dist/calcite/{p-efbf0d26.entry.js → p-3f1d1bad.entry.js} +1 -1
  45. package/dist/calcite/{p-4805ca9a.system.entry.js → p-413b4857.system.entry.js} +1 -1
  46. package/dist/calcite/{p-1f27021e.entry.js → p-4185db77.entry.js} +1 -1
  47. package/dist/calcite/p-42128a12.entry.js +5 -0
  48. package/dist/calcite/p-45257edb.js +5 -0
  49. package/dist/calcite/p-49d5ee42.system.entry.js +5 -0
  50. package/dist/calcite/{p-e524bf4d.system.entry.js → p-4c7e3915.system.entry.js} +1 -1
  51. package/dist/calcite/p-4ecd0331.entry.js +5 -0
  52. package/dist/calcite/p-502736d8.system.entry.js +5 -0
  53. package/dist/calcite/{p-a1911108.entry.js → p-507b2cc4.entry.js} +1 -1
  54. package/dist/calcite/{p-34a6550f.system.entry.js → p-527146c8.system.entry.js} +1 -1
  55. package/dist/calcite/{p-5fda3de2.js → p-52cc870b.js} +1 -1
  56. package/dist/calcite/{p-6fe5f2de.system.entry.js → p-5322b333.system.entry.js} +1 -1
  57. package/dist/calcite/{p-382556c4.system.entry.js → p-58716826.system.entry.js} +1 -1
  58. package/dist/calcite/{p-5accac7d.system.entry.js → p-58e98b2d.system.entry.js} +1 -1
  59. package/dist/calcite/{p-11071ac7.entry.js → p-58eca102.entry.js} +1 -1
  60. package/dist/calcite/p-5e6d76dc.entry.js +5 -0
  61. package/dist/calcite/{p-33e58a20.entry.js → p-5efd7297.entry.js} +1 -1
  62. package/dist/calcite/{p-1682482b.entry.js → p-6621aee1.entry.js} +1 -1
  63. package/dist/calcite/{p-2b13e5a9.system.entry.js → p-684ccd4e.system.entry.js} +1 -1
  64. package/dist/calcite/{p-380c71e8.system.entry.js → p-6988c6b7.system.entry.js} +1 -1
  65. package/dist/calcite/p-6c8a562f.system.entry.js +5 -0
  66. package/dist/calcite/{p-a8c759ae.system.js → p-6cc23c39.system.js} +1 -1
  67. package/dist/calcite/{p-800874fd.entry.js → p-72fa390e.entry.js} +1 -1
  68. package/dist/calcite/p-75f714c9.entry.js +5 -0
  69. package/dist/calcite/p-76ccd204.entry.js +5 -0
  70. package/dist/calcite/{p-50e1a7c9.system.entry.js → p-777c833f.system.entry.js} +1 -1
  71. package/dist/calcite/{p-7fab451d.js → p-79cbbf2d.js} +1 -1
  72. package/dist/calcite/p-7a6c6382.entry.js +5 -0
  73. package/dist/calcite/p-7ade2294.system.entry.js +5 -0
  74. package/dist/calcite/p-7b869bc5.entry.js +5 -0
  75. package/dist/calcite/{p-fe3880f2.entry.js → p-7c37ca39.entry.js} +1 -1
  76. package/dist/calcite/{p-1b2c1f55.entry.js → p-7dd5c4e4.entry.js} +1 -1
  77. package/dist/calcite/{p-5b87b98f.system.entry.js → p-8007a0b4.system.entry.js} +1 -1
  78. package/dist/calcite/{p-a20df95c.js → p-809ddb6a.js} +1 -1
  79. package/dist/calcite/{p-4b2f69cc.entry.js → p-83302e1c.entry.js} +1 -1
  80. package/dist/calcite/{p-9358deb1.system.entry.js → p-83ccefba.system.entry.js} +1 -1
  81. package/dist/calcite/p-8711a0ae.system.entry.js +5 -0
  82. package/dist/calcite/{p-16148eef.entry.js → p-8953f712.entry.js} +1 -1
  83. package/dist/calcite/{p-c74fc589.system.js → p-89cdfa96.system.js} +1 -1
  84. package/dist/calcite/{p-34fdad31.entry.js → p-8bc3e126.entry.js} +1 -1
  85. package/dist/calcite/p-948aca0d.system.entry.js +5 -0
  86. package/dist/calcite/{p-b95dbc48.system.entry.js → p-98789055.system.entry.js} +1 -1
  87. package/dist/calcite/p-99ff3a2f.entry.js +5 -0
  88. package/dist/calcite/{p-8967b27b.entry.js → p-9affee61.entry.js} +1 -1
  89. package/dist/calcite/{p-6281ab45.system.entry.js → p-9fa024e6.system.entry.js} +1 -1
  90. package/dist/calcite/{p-fc0b3ef2.entry.js → p-9fa5e356.entry.js} +1 -1
  91. package/dist/calcite/{p-192289eb.system.entry.js → p-9fc0dc2c.system.entry.js} +1 -1
  92. package/dist/calcite/p-9fe349b9.entry.js +5 -0
  93. package/dist/calcite/{p-0e30afe6.entry.js → p-a09634e2.entry.js} +1 -1
  94. package/dist/calcite/{p-bdd6ec61.entry.js → p-a2cc027e.entry.js} +1 -1
  95. package/dist/calcite/{p-37fac73b.system.entry.js → p-a5bfc29d.system.entry.js} +1 -1
  96. package/dist/calcite/{p-914c3cc4.system.js → p-a7ba0292.system.js} +1 -1
  97. package/dist/calcite/{p-09ced3ff.system.entry.js → p-a8569c55.system.entry.js} +1 -1
  98. package/dist/calcite/p-b018fbbd.entry.js +5 -0
  99. package/dist/calcite/p-b1f88d45.system.js +5 -0
  100. package/dist/calcite/{p-9d04923b.entry.js → p-b244a00c.entry.js} +1 -1
  101. package/dist/calcite/p-b41deed0.system.entry.js +5 -0
  102. package/dist/calcite/{p-294dbdf2.entry.js → p-b42d730f.entry.js} +1 -1
  103. package/dist/calcite/p-b4960d06.system.js +5 -0
  104. package/dist/calcite/{p-bb577ef7.system.entry.js → p-b4e7b593.system.entry.js} +1 -1
  105. package/dist/calcite/{p-49dfc82d.system.entry.js → p-b8d040e5.system.entry.js} +1 -1
  106. package/dist/calcite/{p-aa53b2aa.system.entry.js → p-ba1322e6.system.entry.js} +1 -1
  107. package/dist/calcite/{p-2e53f47f.system.entry.js → p-bbe2337b.system.entry.js} +2 -2
  108. package/dist/calcite/p-bbedf98c.entry.js +5 -0
  109. package/dist/calcite/p-be52c734.entry.js +5 -0
  110. package/dist/calcite/p-bf25e278.system.entry.js +5 -0
  111. package/dist/calcite/{p-1f17f6c6.entry.js → p-bf8b70a8.entry.js} +1 -1
  112. package/dist/calcite/p-c399cfce.entry.js +5 -0
  113. package/dist/calcite/{p-c3922ef7.system.entry.js → p-c48b4b7e.system.entry.js} +1 -1
  114. package/dist/calcite/p-c60e3a71.entry.js +5 -0
  115. package/dist/calcite/{p-36115e9d.system.entry.js → p-c8e4117c.system.entry.js} +1 -1
  116. package/dist/calcite/{p-1a27bf28.system.entry.js → p-c99d8f9e.system.entry.js} +1 -1
  117. package/dist/calcite/{p-49fcc674.entry.js → p-c9ecea64.entry.js} +1 -1
  118. package/dist/calcite/{p-7fed4823.entry.js → p-cacca548.entry.js} +1 -1
  119. package/dist/calcite/{p-5376ff1d.entry.js → p-cb7b6425.entry.js} +1 -1
  120. package/dist/calcite/{p-ae4f203c.system.entry.js → p-cca94491.system.entry.js} +1 -1
  121. package/dist/calcite/{p-a5a50052.entry.js → p-cd41629f.entry.js} +1 -1
  122. package/dist/calcite/{p-7bcd2eb9.system.js → p-d11ad046.system.js} +1 -1
  123. package/dist/calcite/p-d4059426.entry.js +5 -0
  124. package/dist/calcite/{p-daf4bb66.js → p-d53cc958.js} +1 -1
  125. package/dist/calcite/{p-89b4e322.system.entry.js → p-daa110fe.system.entry.js} +1 -1
  126. package/dist/calcite/{p-975ca343.system.entry.js → p-dc99bb00.system.entry.js} +1 -1
  127. package/dist/calcite/{p-1dc68118.system.entry.js → p-dcf30b00.system.entry.js} +2 -2
  128. package/dist/calcite/{p-f1cf1a10.system.entry.js → p-de3a04c2.system.entry.js} +1 -1
  129. package/dist/calcite/p-df9b4b76.entry.js +5 -0
  130. package/dist/calcite/{p-bee79057.system.entry.js → p-e24b6c4a.system.entry.js} +1 -1
  131. package/dist/calcite/{p-3b17d8d0.system.js → p-e35e7216.system.js} +1 -1
  132. package/dist/calcite/p-e382c4e9.entry.js +5 -0
  133. package/dist/calcite/{p-0467efd5.system.entry.js → p-e40dd6fe.system.entry.js} +1 -1
  134. package/dist/calcite/p-e5805bf1.entry.js +5 -0
  135. package/dist/calcite/p-e638ff0e.entry.js +5 -0
  136. package/dist/calcite/{p-7839d1c9.entry.js → p-e7819705.entry.js} +1 -1
  137. package/dist/calcite/{p-a97338b7.entry.js → p-eccb140e.entry.js} +1 -1
  138. package/dist/calcite/p-eed43a57.system.entry.js +5 -0
  139. package/dist/calcite/{p-c57f8690.entry.js → p-f281f1e9.entry.js} +1 -1
  140. package/dist/calcite/{p-d1b49fa1.system.entry.js → p-f32e61bb.system.entry.js} +1 -1
  141. package/dist/calcite/{p-b7d3039d.js → p-f5bb39bb.js} +1 -1
  142. package/dist/calcite/{p-b5c2dfce.system.entry.js → p-f6f4648e.system.entry.js} +1 -1
  143. package/dist/calcite/{p-e6ec69cf.entry.js → p-f93a7fce.entry.js} +1 -1
  144. package/dist/calcite/p-fb1da0f5.system.js +5 -0
  145. package/dist/calcite/{p-a5bbfe14.system.entry.js → p-fba65e4a.system.entry.js} +1 -1
  146. package/dist/calcite/p-fe16f05e.system.entry.js +5 -0
  147. package/dist/cjs/{CalciteExpandToggle-0d802f83.js → CalciteExpandToggle-6a9f9858.js} +1 -1
  148. package/dist/cjs/{CalciteHeading-381b977d.js → CalciteHeading-363b0525.js} +1 -1
  149. package/dist/cjs/calcite-accordion_2.cjs.entry.js +1 -1
  150. package/dist/cjs/calcite-action-bar.cjs.entry.js +2 -2
  151. package/dist/cjs/calcite-action-group.cjs.entry.js +1 -1
  152. package/dist/cjs/calcite-action-menu.cjs.entry.js +5 -3
  153. package/dist/cjs/calcite-action-pad.cjs.entry.js +2 -2
  154. package/dist/cjs/calcite-action.cjs.entry.js +6 -10
  155. package/dist/cjs/calcite-alert.cjs.entry.js +2 -2
  156. package/dist/cjs/calcite-avatar.cjs.entry.js +1 -1
  157. package/dist/cjs/calcite-block_2.cjs.entry.js +4 -4
  158. package/dist/cjs/calcite-button.cjs.entry.js +52 -35
  159. package/dist/cjs/calcite-card.cjs.entry.js +2 -2
  160. package/dist/cjs/calcite-checkbox.cjs.entry.js +7 -7
  161. package/dist/cjs/calcite-chip.cjs.entry.js +1 -1
  162. package/dist/cjs/calcite-color-picker_3.cjs.entry.js +1 -1
  163. package/dist/cjs/calcite-combobox_3.cjs.entry.js +13 -13
  164. package/dist/cjs/calcite-date-picker_4.cjs.entry.js +3 -3
  165. package/dist/cjs/calcite-dropdown_3.cjs.entry.js +36 -19
  166. package/dist/cjs/calcite-fab.cjs.entry.js +1 -1
  167. package/dist/cjs/calcite-filter.cjs.entry.js +10 -7
  168. package/dist/cjs/calcite-flow.cjs.entry.js +1 -1
  169. package/dist/cjs/calcite-graph_2.cjs.entry.js +28 -20
  170. package/dist/cjs/calcite-handle.cjs.entry.js +1 -1
  171. package/dist/cjs/calcite-icon.cjs.entry.js +1 -1
  172. package/dist/cjs/calcite-inline-editable.cjs.entry.js +6 -5
  173. package/dist/cjs/calcite-input-date-picker.cjs.entry.js +13 -13
  174. package/dist/cjs/calcite-input-message.cjs.entry.js +1 -1
  175. package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +11 -11
  176. package/dist/cjs/calcite-input.cjs.entry.js +40 -27
  177. package/dist/cjs/calcite-label.cjs.entry.js +1 -1
  178. package/dist/cjs/calcite-link.cjs.entry.js +7 -1
  179. package/dist/cjs/calcite-list_3.cjs.entry.js +24 -3
  180. package/dist/cjs/calcite-loader.cjs.entry.js +2 -2
  181. package/dist/cjs/calcite-modal.cjs.entry.js +1 -1
  182. package/dist/cjs/calcite-notice.cjs.entry.js +2 -2
  183. package/dist/cjs/calcite-option_3.cjs.entry.js +10 -10
  184. package/dist/cjs/calcite-pagination.cjs.entry.js +1 -1
  185. package/dist/cjs/calcite-panel.cjs.entry.js +3 -3
  186. package/dist/cjs/calcite-pick-list_3.cjs.entry.js +3 -3
  187. package/dist/cjs/calcite-popover_2.cjs.entry.js +4 -4
  188. package/dist/cjs/calcite-progress.cjs.entry.js +1 -1
  189. package/dist/cjs/calcite-radio-button-group.cjs.entry.js +1 -1
  190. package/dist/cjs/calcite-radio-group_2.cjs.entry.js +11 -11
  191. package/dist/cjs/calcite-radio_2.cjs.entry.js +17 -17
  192. package/dist/cjs/calcite-rating.cjs.entry.js +10 -10
  193. package/dist/cjs/calcite-scrim.cjs.entry.js +1 -1
  194. package/dist/cjs/calcite-shell_3.cjs.entry.js +1 -1
  195. package/dist/cjs/calcite-sortable-list.cjs.entry.js +1 -1
  196. package/dist/cjs/calcite-split-button.cjs.entry.js +1 -1
  197. package/dist/cjs/calcite-stepper_2.cjs.entry.js +1 -1
  198. package/dist/cjs/calcite-switch.cjs.entry.js +18 -13
  199. package/dist/cjs/calcite-tab_4.cjs.entry.js +1 -1
  200. package/dist/cjs/calcite-tile-select_2.cjs.entry.js +1 -1
  201. package/dist/cjs/calcite-tile.cjs.entry.js +2 -2
  202. package/dist/cjs/calcite-tip_3.cjs.entry.js +2 -2
  203. package/dist/cjs/calcite-tooltip_2.cjs.entry.js +6 -5
  204. package/dist/cjs/calcite-tree_2.cjs.entry.js +1 -1
  205. package/dist/cjs/calcite-value-list_2.cjs.entry.js +2 -2
  206. package/dist/cjs/calcite.cjs.js +3 -3
  207. package/dist/cjs/{index-1987a382.js → index-cee0daa9.js} +73 -64
  208. package/dist/cjs/{label-4c30cbca.js → label-549c3d9d.js} +4 -4
  209. package/dist/cjs/loader.cjs.js +3 -3
  210. package/dist/cjs/{popper-cd9c0742.js → popper-87bf13e6.js} +2 -2
  211. package/dist/cjs/{resources-7dcd68d1.js → resources-38563593.js} +1 -1
  212. package/dist/cjs/{resources-d0619f6a.js → resources-f9c141d2.js} +1 -1
  213. package/dist/collection/collection-manifest.json +2 -2
  214. package/dist/collection/components/calcite-accordion/calcite-accordion.js +2 -2
  215. package/dist/collection/components/calcite-accordion-item/calcite-accordion-item.js +8 -8
  216. package/dist/collection/components/calcite-action/calcite-action.css +17 -68
  217. package/dist/collection/components/calcite-action/calcite-action.js +34 -35
  218. package/dist/collection/components/calcite-action-menu/calcite-action-menu.js +6 -4
  219. package/dist/collection/components/calcite-alert/calcite-alert.css +0 -62
  220. package/dist/collection/components/calcite-alert/calcite-alert.js +6 -6
  221. package/dist/collection/components/calcite-block/calcite-block.css +2 -2
  222. package/dist/collection/components/calcite-block/calcite-block.js +4 -4
  223. package/dist/collection/components/calcite-block-section/calcite-block-section.css +1 -0
  224. package/dist/collection/components/calcite-button/calcite-button.js +33 -37
  225. package/dist/collection/components/calcite-card/calcite-card.js +8 -8
  226. package/dist/collection/components/calcite-checkbox/calcite-checkbox.css +4 -1
  227. package/dist/collection/components/calcite-checkbox/calcite-checkbox.js +12 -12
  228. package/dist/collection/components/calcite-chip/calcite-chip.js +2 -2
  229. package/dist/collection/components/calcite-color-picker/calcite-color-picker.js +46 -46
  230. package/dist/collection/components/calcite-color-picker-hex-input/calcite-color-picker-hex-input.js +4 -4
  231. package/dist/collection/components/calcite-color-picker-swatch/calcite-color-picker-swatch.js +2 -2
  232. package/dist/collection/components/calcite-combobox/calcite-combobox.css +3 -0
  233. package/dist/collection/components/calcite-combobox/calcite-combobox.js +15 -15
  234. package/dist/collection/components/calcite-date-picker/calcite-date-picker.js +6 -6
  235. package/dist/collection/components/calcite-date-picker-day/calcite-date-picker-day.js +2 -2
  236. package/dist/collection/components/calcite-date-picker-month/calcite-date-picker-month.js +6 -6
  237. package/dist/collection/components/calcite-dropdown/calcite-dropdown.js +39 -20
  238. package/dist/collection/components/calcite-dropdown-group/calcite-dropdown-group.js +2 -2
  239. package/dist/collection/components/calcite-dropdown-item/calcite-dropdown-item.css +33 -27
  240. package/dist/collection/components/calcite-dropdown-item/calcite-dropdown-item.js +6 -6
  241. package/dist/collection/components/calcite-fab/calcite-fab.js +2 -2
  242. package/dist/collection/components/calcite-filter/calcite-filter.js +29 -11
  243. package/dist/collection/components/calcite-graph/calcite-graph.js +48 -6
  244. package/dist/collection/components/calcite-graph/util.js +1 -1
  245. package/dist/collection/components/calcite-handle/calcite-handle.js +2 -2
  246. package/dist/collection/components/calcite-icon/assets/calcite-icon/penMark16.json +1 -0
  247. package/dist/collection/components/calcite-icon/assets/calcite-icon/penMark24.json +1 -0
  248. package/dist/collection/components/calcite-icon/assets/calcite-icon/penMark32.json +1 -0
  249. package/dist/collection/components/calcite-icon/assets/calcite-icon/penMarkPlus16.json +1 -0
  250. package/dist/collection/components/calcite-icon/assets/calcite-icon/penMarkPlus24.json +1 -0
  251. package/dist/collection/components/calcite-icon/assets/calcite-icon/penMarkPlus32.json +1 -0
  252. package/dist/collection/components/calcite-icon/assets/calcite-icon/subscript16.json +1 -0
  253. package/dist/collection/components/calcite-icon/assets/calcite-icon/subscript24.json +1 -0
  254. package/dist/collection/components/calcite-icon/assets/calcite-icon/subscript32.json +1 -0
  255. package/dist/collection/components/calcite-icon/assets/calcite-icon/superscript16.json +1 -0
  256. package/dist/collection/components/calcite-icon/assets/calcite-icon/superscript24.json +1 -0
  257. package/dist/collection/components/calcite-icon/assets/calcite-icon/superscript32.json +1 -0
  258. package/dist/collection/components/calcite-inline-editable/calcite-inline-editable.js +17 -16
  259. package/dist/collection/components/calcite-input/calcite-input.js +50 -37
  260. package/dist/collection/components/calcite-input-date-picker/calcite-input-date-picker.js +19 -19
  261. package/dist/collection/components/calcite-input-message/calcite-input-message.js +2 -2
  262. package/dist/collection/components/calcite-input-time-picker/calcite-input-time-picker.js +10 -10
  263. package/dist/collection/components/calcite-label/calcite-label.js +2 -2
  264. package/dist/collection/components/calcite-link/calcite-link.js +11 -1
  265. package/dist/collection/components/calcite-list/calcite-list.js +33 -1
  266. package/dist/collection/components/calcite-list-item/calcite-list-item.js +30 -2
  267. package/dist/collection/components/calcite-loader/calcite-loader.css +3 -6
  268. package/dist/collection/components/calcite-modal/calcite-modal.js +2 -2
  269. package/dist/collection/components/calcite-notice/calcite-notice.css +18 -6
  270. package/dist/collection/components/calcite-notice/calcite-notice.js +2 -2
  271. package/dist/collection/components/calcite-option/calcite-option.js +2 -2
  272. package/dist/collection/components/calcite-option-group/calcite-option-group.js +2 -2
  273. package/dist/collection/components/calcite-pagination/calcite-pagination.js +8 -8
  274. package/dist/collection/components/calcite-panel/calcite-panel.css +6 -2
  275. package/dist/collection/components/calcite-pick-list-item/calcite-pick-list-item.js +10 -10
  276. package/dist/collection/components/calcite-popover/calcite-popover.js +9 -9
  277. package/dist/collection/components/calcite-popover-manager/calcite-popover-manager.js +2 -2
  278. package/dist/collection/components/calcite-radio/calcite-radio.js +4 -4
  279. package/dist/collection/components/calcite-radio-button/calcite-radio-button.js +27 -27
  280. package/dist/collection/components/calcite-radio-group/calcite-radio-group.js +8 -8
  281. package/dist/collection/components/calcite-radio-group-item/calcite-radio-group-item.css +1 -5
  282. package/dist/collection/components/calcite-radio-group-item/calcite-radio-group-item.js +2 -2
  283. package/dist/collection/components/calcite-rating/calcite-rating.js +12 -12
  284. package/dist/collection/components/calcite-scrim/calcite-scrim.js +2 -2
  285. package/dist/collection/components/calcite-select/calcite-select.js +10 -10
  286. package/dist/collection/components/calcite-slider/calcite-slider.css +2 -4
  287. package/dist/collection/components/calcite-slider/calcite-slider.js +12 -12
  288. package/dist/collection/components/calcite-split-button/calcite-split-button.js +2 -2
  289. package/dist/collection/components/calcite-stepper/calcite-stepper.js +4 -4
  290. package/dist/collection/components/calcite-stepper-item/calcite-stepper-item.js +14 -14
  291. package/dist/collection/components/calcite-switch/calcite-switch.js +19 -14
  292. package/dist/collection/components/calcite-tab/calcite-tab.js +4 -4
  293. package/dist/collection/components/calcite-tab-nav/calcite-tab-nav.js +14 -14
  294. package/dist/collection/components/calcite-tab-title/calcite-tab-title.js +16 -16
  295. package/dist/collection/components/calcite-tile/calcite-tile.css +4 -0
  296. package/dist/collection/components/calcite-tile/calcite-tile.js +2 -2
  297. package/dist/collection/components/calcite-time-picker/calcite-time-picker.js +30 -30
  298. package/dist/collection/components/calcite-tooltip/calcite-tooltip.js +5 -5
  299. package/dist/collection/components/calcite-tooltip-manager/calcite-tooltip-manager.js +5 -4
  300. package/dist/collection/components/calcite-tree/calcite-tree.js +10 -10
  301. package/dist/collection/components/calcite-tree-item/calcite-tree-item.js +20 -20
  302. package/dist/collection/components/calcite-value-list-item/calcite-value-list-item.js +6 -6
  303. package/dist/collection/utils/label.js +4 -4
  304. package/dist/collection/utils/popper.js +2 -2
  305. package/dist/components/CalciteExpandToggle.js +87 -0
  306. package/dist/components/CalciteHeading.js +16 -0
  307. package/dist/components/array.js +9 -0
  308. package/dist/components/calcite-accordion-item.d.ts +11 -0
  309. package/dist/components/calcite-accordion-item.js +153 -0
  310. package/dist/components/calcite-accordion.d.ts +11 -0
  311. package/dist/components/calcite-accordion.js +167 -0
  312. package/dist/components/calcite-action-bar.d.ts +11 -0
  313. package/dist/components/calcite-action-bar.js +266 -0
  314. package/dist/components/calcite-action-group.d.ts +11 -0
  315. package/dist/components/calcite-action-group.js +10 -0
  316. package/dist/components/calcite-action-group2.js +135 -0
  317. package/dist/components/calcite-action-menu.d.ts +11 -0
  318. package/dist/components/calcite-action-menu.js +10 -0
  319. package/dist/components/calcite-action-menu2.js +354 -0
  320. package/dist/components/calcite-action-pad.d.ts +11 -0
  321. package/dist/components/calcite-action-pad.js +198 -0
  322. package/dist/components/calcite-action.d.ts +11 -0
  323. package/dist/components/calcite-action.js +10 -0
  324. package/dist/components/calcite-action2.js +183 -0
  325. package/dist/components/calcite-alert.d.ts +11 -0
  326. package/dist/components/calcite-alert.js +232 -0
  327. package/dist/components/calcite-avatar.d.ts +11 -0
  328. package/dist/components/calcite-avatar.js +171 -0
  329. package/dist/components/calcite-block-section.d.ts +11 -0
  330. package/dist/components/calcite-block-section.js +139 -0
  331. package/dist/components/calcite-block.d.ts +11 -0
  332. package/dist/components/calcite-block.js +216 -0
  333. package/dist/components/calcite-button.d.ts +11 -0
  334. package/dist/components/calcite-button.js +10 -0
  335. package/dist/components/calcite-button2.js +243 -0
  336. package/dist/components/calcite-card.d.ts +11 -0
  337. package/dist/components/calcite-card.js +162 -0
  338. package/dist/components/calcite-checkbox.d.ts +11 -0
  339. package/dist/components/calcite-checkbox.js +10 -0
  340. package/dist/components/calcite-checkbox2.js +203 -0
  341. package/dist/components/calcite-chip.d.ts +11 -0
  342. package/dist/components/calcite-chip.js +10 -0
  343. package/dist/components/calcite-chip2.js +121 -0
  344. package/dist/components/calcite-color-picker-hex-input.d.ts +11 -0
  345. package/dist/components/calcite-color-picker-hex-input.js +10 -0
  346. package/dist/components/calcite-color-picker-hex-input2.js +353 -0
  347. package/dist/components/calcite-color-picker-swatch.d.ts +11 -0
  348. package/dist/components/calcite-color-picker-swatch.js +10 -0
  349. package/dist/components/calcite-color-picker-swatch2.js +2176 -0
  350. package/dist/components/calcite-color-picker.d.ts +11 -0
  351. package/dist/components/calcite-color-picker.js +966 -0
  352. package/dist/components/calcite-combobox-item-group.d.ts +11 -0
  353. package/dist/components/calcite-combobox-item-group.js +68 -0
  354. package/dist/components/calcite-combobox-item.d.ts +11 -0
  355. package/dist/components/calcite-combobox-item.js +168 -0
  356. package/dist/components/calcite-combobox.d.ts +11 -0
  357. package/dist/components/calcite-combobox.js +871 -0
  358. package/dist/components/calcite-date-picker-day.d.ts +11 -0
  359. package/dist/components/calcite-date-picker-day.js +10 -0
  360. package/dist/components/calcite-date-picker-day2.js +99 -0
  361. package/dist/components/calcite-date-picker-month-header.d.ts +11 -0
  362. package/dist/components/calcite-date-picker-month-header.js +10 -0
  363. package/dist/components/calcite-date-picker-month-header2.js +170 -0
  364. package/dist/components/calcite-date-picker-month.d.ts +11 -0
  365. package/dist/components/calcite-date-picker-month.js +10 -0
  366. package/dist/components/calcite-date-picker-month2.js +313 -0
  367. package/dist/components/calcite-date-picker.d.ts +11 -0
  368. package/dist/components/calcite-date-picker.js +10 -0
  369. package/dist/components/calcite-date-picker2.js +486 -0
  370. package/dist/components/calcite-dropdown-group.d.ts +11 -0
  371. package/dist/components/calcite-dropdown-group.js +90 -0
  372. package/dist/components/calcite-dropdown-item.d.ts +11 -0
  373. package/dist/components/calcite-dropdown-item.js +202 -0
  374. package/dist/components/calcite-dropdown.d.ts +11 -0
  375. package/dist/components/calcite-dropdown.js +10 -0
  376. package/dist/components/calcite-dropdown2.js +390 -0
  377. package/dist/components/calcite-fab.d.ts +11 -0
  378. package/dist/components/calcite-fab.js +127 -0
  379. package/dist/components/calcite-filter.d.ts +11 -0
  380. package/dist/components/calcite-filter.js +10 -0
  381. package/dist/components/calcite-filter2.js +168 -0
  382. package/dist/components/calcite-flow.d.ts +11 -0
  383. package/dist/components/calcite-flow.js +138 -0
  384. package/dist/components/calcite-graph.d.ts +11 -0
  385. package/dist/components/calcite-graph.js +10 -0
  386. package/dist/components/calcite-graph2.js +213 -0
  387. package/dist/components/calcite-handle.d.ts +11 -0
  388. package/dist/components/calcite-handle.js +10 -0
  389. package/dist/components/calcite-handle2.js +107 -0
  390. package/dist/components/calcite-icon.d.ts +11 -0
  391. package/dist/components/calcite-icon.js +10 -0
  392. package/dist/components/calcite-icon2.js +185 -0
  393. package/dist/components/calcite-inline-editable.d.ts +11 -0
  394. package/dist/components/calcite-inline-editable.js +242 -0
  395. package/dist/components/calcite-input-date-picker.d.ts +11 -0
  396. package/dist/components/calcite-input-date-picker.js +471 -0
  397. package/dist/components/calcite-input-message.d.ts +11 -0
  398. package/dist/components/calcite-input-message.js +97 -0
  399. package/dist/components/calcite-input-time-picker.d.ts +11 -0
  400. package/dist/components/calcite-input-time-picker.js +278 -0
  401. package/dist/components/calcite-input.d.ts +11 -0
  402. package/dist/components/calcite-input.js +10 -0
  403. package/dist/components/calcite-input2.js +507 -0
  404. package/dist/components/calcite-label.d.ts +11 -0
  405. package/dist/components/calcite-label.js +10 -0
  406. package/dist/components/calcite-label2.js +81 -0
  407. package/dist/components/calcite-link.d.ts +11 -0
  408. package/dist/components/calcite-link.js +10 -0
  409. package/dist/components/calcite-link2.js +97 -0
  410. package/dist/components/calcite-list-item-group.d.ts +11 -0
  411. package/dist/components/calcite-list-item-group.js +57 -0
  412. package/dist/components/calcite-list-item.d.ts +11 -0
  413. package/dist/components/calcite-list-item.js +117 -0
  414. package/dist/components/calcite-list.d.ts +11 -0
  415. package/dist/components/calcite-list.js +59 -0
  416. package/dist/components/calcite-loader.d.ts +11 -0
  417. package/dist/components/calcite-loader.js +10 -0
  418. package/dist/components/calcite-loader2.js +107 -0
  419. package/dist/components/calcite-modal.d.ts +11 -0
  420. package/dist/components/calcite-modal.js +417 -0
  421. package/dist/components/calcite-notice.d.ts +11 -0
  422. package/dist/components/calcite-notice.js +140 -0
  423. package/dist/components/calcite-option-group.d.ts +11 -0
  424. package/dist/components/calcite-option-group.js +61 -0
  425. package/dist/components/calcite-option.d.ts +11 -0
  426. package/dist/components/calcite-option.js +107 -0
  427. package/dist/components/calcite-pagination.d.ts +11 -0
  428. package/dist/components/calcite-pagination.js +207 -0
  429. package/dist/components/calcite-panel.d.ts +11 -0
  430. package/dist/components/calcite-panel.js +309 -0
  431. package/dist/components/calcite-pick-list-group.d.ts +11 -0
  432. package/dist/components/calcite-pick-list-group.js +70 -0
  433. package/dist/components/calcite-pick-list-item.d.ts +11 -0
  434. package/dist/components/calcite-pick-list-item.js +10 -0
  435. package/dist/components/calcite-pick-list-item2.js +230 -0
  436. package/dist/components/calcite-pick-list.d.ts +11 -0
  437. package/dist/components/calcite-pick-list.js +196 -0
  438. package/dist/components/calcite-popover-manager.d.ts +11 -0
  439. package/dist/components/calcite-popover-manager.js +93 -0
  440. package/dist/components/calcite-popover.d.ts +11 -0
  441. package/dist/components/calcite-popover.js +10 -0
  442. package/dist/components/calcite-popover2.js +332 -0
  443. package/dist/components/calcite-progress.d.ts +11 -0
  444. package/dist/components/calcite-progress.js +10 -0
  445. package/dist/components/calcite-progress2.js +52 -0
  446. package/dist/components/calcite-radio-button-group.d.ts +11 -0
  447. package/dist/components/calcite-radio-button-group.js +116 -0
  448. package/dist/components/calcite-radio-button.d.ts +11 -0
  449. package/dist/components/calcite-radio-button.js +291 -0
  450. package/dist/components/calcite-radio-group-item.d.ts +11 -0
  451. package/dist/components/calcite-radio-group-item.js +139 -0
  452. package/dist/components/calcite-radio-group.d.ts +11 -0
  453. package/dist/components/calcite-radio-group.js +233 -0
  454. package/dist/components/calcite-radio.d.ts +11 -0
  455. package/dist/components/calcite-radio.js +10 -0
  456. package/dist/components/calcite-radio2.js +68 -0
  457. package/dist/components/calcite-rating.d.ts +11 -0
  458. package/dist/components/calcite-rating.js +160 -0
  459. package/dist/components/calcite-scrim.d.ts +11 -0
  460. package/dist/components/calcite-scrim.js +10 -0
  461. package/dist/components/calcite-scrim2.js +74 -0
  462. package/dist/components/calcite-select.d.ts +11 -0
  463. package/dist/components/calcite-select.js +221 -0
  464. package/dist/components/calcite-shell-center-row.d.ts +11 -0
  465. package/dist/components/calcite-shell-center-row.js +81 -0
  466. package/dist/components/calcite-shell-panel.d.ts +11 -0
  467. package/dist/components/calcite-shell-panel.js +100 -0
  468. package/dist/components/calcite-shell.d.ts +11 -0
  469. package/dist/components/calcite-shell.js +99 -0
  470. package/dist/components/calcite-slider.d.ts +11 -0
  471. package/dist/components/calcite-slider.js +746 -0
  472. package/dist/components/calcite-sortable-list.d.ts +11 -0
  473. package/dist/components/calcite-sortable-list.js +190 -0
  474. package/dist/components/calcite-split-button.d.ts +11 -0
  475. package/dist/components/calcite-split-button.js +127 -0
  476. package/dist/components/calcite-stepper-item.d.ts +11 -0
  477. package/dist/components/calcite-stepper-item.js +189 -0
  478. package/dist/components/calcite-stepper.d.ts +11 -0
  479. package/dist/components/calcite-stepper.js +247 -0
  480. package/dist/components/calcite-switch.d.ts +11 -0
  481. package/dist/components/calcite-switch.js +10 -0
  482. package/dist/components/calcite-switch2.js +167 -0
  483. package/dist/components/calcite-tab-nav.d.ts +11 -0
  484. package/dist/components/calcite-tab-nav.js +10 -0
  485. package/dist/components/calcite-tab-nav2.js +209 -0
  486. package/dist/components/calcite-tab-title.d.ts +11 -0
  487. package/dist/components/calcite-tab-title.js +10 -0
  488. package/dist/components/calcite-tab-title2.js +230 -0
  489. package/dist/components/calcite-tab.d.ts +11 -0
  490. package/dist/components/calcite-tab.js +10 -0
  491. package/dist/components/calcite-tab2.js +122 -0
  492. package/dist/components/calcite-tabs.d.ts +11 -0
  493. package/dist/components/calcite-tabs.js +10 -0
  494. package/dist/components/calcite-tabs2.js +183 -0
  495. package/dist/components/calcite-tile-select-group.d.ts +11 -0
  496. package/dist/components/calcite-tile-select-group.js +45 -0
  497. package/dist/components/calcite-tile-select.d.ts +11 -0
  498. package/dist/components/calcite-tile-select.js +218 -0
  499. package/dist/components/calcite-tile.d.ts +11 -0
  500. package/dist/components/calcite-tile.js +10 -0
  501. package/dist/components/calcite-tile2.js +98 -0
  502. package/dist/components/calcite-time-picker.d.ts +11 -0
  503. package/dist/components/calcite-time-picker.js +10 -0
  504. package/dist/components/calcite-time-picker2.js +707 -0
  505. package/dist/components/calcite-tip-group.d.ts +11 -0
  506. package/dist/components/calcite-tip-group.js +38 -0
  507. package/dist/components/calcite-tip-manager.d.ts +11 -0
  508. package/dist/components/calcite-tip-manager.js +218 -0
  509. package/dist/components/calcite-tip.d.ts +11 -0
  510. package/dist/components/calcite-tip.js +140 -0
  511. package/dist/components/calcite-tooltip-manager.d.ts +11 -0
  512. package/dist/components/calcite-tooltip-manager.js +10 -0
  513. package/dist/components/calcite-tooltip-manager2.js +168 -0
  514. package/dist/components/calcite-tooltip.d.ts +11 -0
  515. package/dist/components/calcite-tooltip.js +224 -0
  516. package/dist/components/calcite-tree-item.d.ts +11 -0
  517. package/dist/components/calcite-tree-item.js +303 -0
  518. package/dist/components/calcite-tree.d.ts +11 -0
  519. package/dist/components/calcite-tree.js +216 -0
  520. package/dist/components/calcite-value-list-item.d.ts +11 -0
  521. package/dist/components/calcite-value-list-item.js +180 -0
  522. package/dist/components/calcite-value-list.d.ts +11 -0
  523. package/dist/components/calcite-value-list.js +271 -0
  524. package/dist/components/date.js +159 -0
  525. package/dist/components/debounce.js +486 -0
  526. package/dist/components/dom.js +153 -0
  527. package/dist/components/forIn.js +619 -0
  528. package/dist/components/form.js +20 -0
  529. package/dist/components/guid.js +18 -0
  530. package/dist/components/index.d.ts +26 -0
  531. package/dist/components/index.js +5 -0
  532. package/dist/components/interfaces.js +13 -0
  533. package/dist/components/interfaces2.js +14 -0
  534. package/dist/components/key.js +33 -0
  535. package/dist/components/label.js +54 -0
  536. package/dist/components/locale.js +118 -0
  537. package/dist/components/math.js +7 -0
  538. package/dist/components/number.js +40 -0
  539. package/dist/components/observers.js +22 -0
  540. package/dist/{esm/popper-44055f06.js → components/popper.js} +3 -3
  541. package/dist/components/resources.js +24 -0
  542. package/dist/components/resources2.js +13 -0
  543. package/dist/components/resources3.js +18 -0
  544. package/dist/components/resources4.js +32 -0
  545. package/dist/components/shared-list-render.js +286 -0
  546. package/dist/components/sortable.esm.js +3017 -0
  547. package/dist/components/utils.js +113 -0
  548. package/dist/components/utils2.js +38 -0
  549. package/dist/custom-elements/index.js +400 -309
  550. package/dist/esm/{CalciteExpandToggle-b1e6e72d.js → CalciteExpandToggle-235a6bfd.js} +2 -2
  551. package/dist/esm/{CalciteHeading-1735f17a.js → CalciteHeading-dea3bd05.js} +1 -1
  552. package/dist/esm/calcite-accordion_2.entry.js +2 -2
  553. package/dist/esm/calcite-action-bar.entry.js +3 -3
  554. package/dist/esm/calcite-action-group.entry.js +2 -2
  555. package/dist/esm/calcite-action-menu.entry.js +6 -4
  556. package/dist/esm/calcite-action-pad.entry.js +3 -3
  557. package/dist/esm/calcite-action.entry.js +6 -10
  558. package/dist/esm/calcite-alert.entry.js +3 -3
  559. package/dist/esm/calcite-avatar.entry.js +2 -2
  560. package/dist/esm/calcite-block_2.entry.js +5 -5
  561. package/dist/esm/calcite-button.entry.js +53 -36
  562. package/dist/esm/calcite-card.entry.js +3 -3
  563. package/dist/esm/calcite-checkbox.entry.js +8 -8
  564. package/dist/esm/calcite-chip.entry.js +2 -2
  565. package/dist/esm/calcite-color-picker_3.entry.js +2 -2
  566. package/dist/esm/calcite-combobox_3.entry.js +14 -14
  567. package/dist/esm/calcite-date-picker_4.entry.js +4 -4
  568. package/dist/esm/calcite-dropdown_3.entry.js +37 -20
  569. package/dist/esm/calcite-fab.entry.js +2 -2
  570. package/dist/esm/calcite-filter.entry.js +11 -8
  571. package/dist/esm/calcite-flow.entry.js +1 -1
  572. package/dist/esm/calcite-graph_2.entry.js +29 -21
  573. package/dist/esm/calcite-handle.entry.js +1 -1
  574. package/dist/esm/calcite-icon.entry.js +2 -2
  575. package/dist/esm/calcite-inline-editable.entry.js +7 -6
  576. package/dist/esm/calcite-input-date-picker.entry.js +14 -14
  577. package/dist/esm/calcite-input-message.entry.js +2 -2
  578. package/dist/esm/calcite-input-time-picker_2.entry.js +12 -12
  579. package/dist/esm/calcite-input.entry.js +41 -28
  580. package/dist/esm/calcite-label.entry.js +2 -2
  581. package/dist/esm/calcite-link.entry.js +8 -2
  582. package/dist/esm/calcite-list_3.entry.js +25 -4
  583. package/dist/esm/calcite-loader.entry.js +2 -2
  584. package/dist/esm/calcite-modal.entry.js +2 -2
  585. package/dist/esm/calcite-notice.entry.js +3 -3
  586. package/dist/esm/calcite-option_3.entry.js +11 -11
  587. package/dist/esm/calcite-pagination.entry.js +2 -2
  588. package/dist/esm/calcite-panel.entry.js +4 -4
  589. package/dist/esm/calcite-pick-list_3.entry.js +4 -4
  590. package/dist/esm/calcite-popover_2.entry.js +5 -5
  591. package/dist/esm/calcite-progress.entry.js +1 -1
  592. package/dist/esm/calcite-radio-button-group.entry.js +1 -1
  593. package/dist/esm/calcite-radio-group_2.entry.js +12 -12
  594. package/dist/esm/calcite-radio_2.entry.js +18 -18
  595. package/dist/esm/calcite-rating.entry.js +11 -11
  596. package/dist/esm/calcite-scrim.entry.js +1 -1
  597. package/dist/esm/calcite-shell_3.entry.js +2 -2
  598. package/dist/esm/calcite-sortable-list.entry.js +1 -1
  599. package/dist/esm/calcite-split-button.entry.js +2 -2
  600. package/dist/esm/calcite-stepper_2.entry.js +2 -2
  601. package/dist/esm/calcite-switch.entry.js +19 -14
  602. package/dist/esm/calcite-tab_4.entry.js +2 -2
  603. package/dist/esm/calcite-tile-select_2.entry.js +2 -2
  604. package/dist/esm/calcite-tile.entry.js +3 -3
  605. package/dist/esm/calcite-tip_3.entry.js +3 -3
  606. package/dist/esm/calcite-tooltip_2.entry.js +7 -6
  607. package/dist/esm/calcite-tree_2.entry.js +2 -2
  608. package/dist/esm/calcite-value-list_2.entry.js +3 -3
  609. package/dist/esm/calcite.js +3 -3
  610. package/dist/esm/{dom-70b0e988.js → dom-f24e866c.js} +1 -1
  611. package/dist/esm/{index-d653c37f.js → index-66803519.js} +73 -64
  612. package/dist/esm/{label-426b4471.js → label-bb61bdef.js} +5 -5
  613. package/dist/esm/loader.js +3 -3
  614. package/dist/esm/popper-dc4b45cf.js +1785 -0
  615. package/dist/esm/{resources-56ac5dd9.js → resources-8dd80c84.js} +2 -2
  616. package/dist/esm/{resources-3b481489.js → resources-c59a1a15.js} +1 -1
  617. package/dist/esm-es5/{CalciteExpandToggle-b1e6e72d.js → CalciteExpandToggle-235a6bfd.js} +1 -1
  618. package/dist/esm-es5/{CalciteHeading-1735f17a.js → CalciteHeading-dea3bd05.js} +1 -1
  619. package/dist/esm-es5/calcite-accordion_2.entry.js +1 -1
  620. package/dist/esm-es5/calcite-action-bar.entry.js +1 -1
  621. package/dist/esm-es5/calcite-action-group.entry.js +1 -1
  622. package/dist/esm-es5/calcite-action-menu.entry.js +1 -1
  623. package/dist/esm-es5/calcite-action-pad.entry.js +1 -1
  624. package/dist/esm-es5/calcite-action.entry.js +2 -2
  625. package/dist/esm-es5/calcite-alert.entry.js +2 -2
  626. package/dist/esm-es5/calcite-avatar.entry.js +1 -1
  627. package/dist/esm-es5/calcite-block_2.entry.js +1 -1
  628. package/dist/esm-es5/calcite-button.entry.js +1 -1
  629. package/dist/esm-es5/calcite-card.entry.js +1 -1
  630. package/dist/esm-es5/calcite-checkbox.entry.js +1 -1
  631. package/dist/esm-es5/calcite-chip.entry.js +1 -1
  632. package/dist/esm-es5/calcite-color-picker_3.entry.js +1 -1
  633. package/dist/esm-es5/calcite-combobox_3.entry.js +1 -1
  634. package/dist/esm-es5/calcite-date-picker_4.entry.js +1 -1
  635. package/dist/esm-es5/calcite-dropdown_3.entry.js +1 -1
  636. package/dist/esm-es5/calcite-fab.entry.js +1 -1
  637. package/dist/esm-es5/calcite-filter.entry.js +1 -1
  638. package/dist/esm-es5/calcite-flow.entry.js +1 -1
  639. package/dist/esm-es5/calcite-graph_2.entry.js +1 -1
  640. package/dist/esm-es5/calcite-handle.entry.js +1 -1
  641. package/dist/esm-es5/calcite-icon.entry.js +1 -1
  642. package/dist/esm-es5/calcite-inline-editable.entry.js +1 -1
  643. package/dist/esm-es5/calcite-input-date-picker.entry.js +1 -1
  644. package/dist/esm-es5/calcite-input-message.entry.js +1 -1
  645. package/dist/esm-es5/calcite-input-time-picker_2.entry.js +1 -1
  646. package/dist/esm-es5/calcite-input.entry.js +1 -1
  647. package/dist/esm-es5/calcite-label.entry.js +1 -1
  648. package/dist/esm-es5/calcite-link.entry.js +2 -2
  649. package/dist/esm-es5/calcite-list_3.entry.js +2 -2
  650. package/dist/esm-es5/calcite-loader.entry.js +1 -1
  651. package/dist/esm-es5/calcite-modal.entry.js +1 -1
  652. package/dist/esm-es5/calcite-notice.entry.js +1 -1
  653. package/dist/esm-es5/calcite-option_3.entry.js +1 -1
  654. package/dist/esm-es5/calcite-pagination.entry.js +1 -1
  655. package/dist/esm-es5/calcite-panel.entry.js +1 -1
  656. package/dist/esm-es5/calcite-pick-list_3.entry.js +1 -1
  657. package/dist/esm-es5/calcite-popover_2.entry.js +1 -1
  658. package/dist/esm-es5/calcite-progress.entry.js +1 -1
  659. package/dist/esm-es5/calcite-radio-button-group.entry.js +1 -1
  660. package/dist/esm-es5/calcite-radio-group_2.entry.js +1 -1
  661. package/dist/esm-es5/calcite-radio_2.entry.js +1 -1
  662. package/dist/esm-es5/calcite-rating.entry.js +1 -1
  663. package/dist/esm-es5/calcite-scrim.entry.js +1 -1
  664. package/dist/esm-es5/calcite-shell_3.entry.js +1 -1
  665. package/dist/esm-es5/calcite-sortable-list.entry.js +1 -1
  666. package/dist/esm-es5/calcite-split-button.entry.js +1 -1
  667. package/dist/esm-es5/calcite-stepper_2.entry.js +1 -1
  668. package/dist/esm-es5/calcite-switch.entry.js +1 -1
  669. package/dist/esm-es5/calcite-tab_4.entry.js +1 -1
  670. package/dist/esm-es5/calcite-tile-select_2.entry.js +1 -1
  671. package/dist/esm-es5/calcite-tile.entry.js +1 -1
  672. package/dist/esm-es5/calcite-tip_3.entry.js +1 -1
  673. package/dist/esm-es5/calcite-tooltip_2.entry.js +2 -2
  674. package/dist/esm-es5/calcite-tree_2.entry.js +1 -1
  675. package/dist/esm-es5/calcite-value-list_2.entry.js +1 -1
  676. package/dist/esm-es5/calcite.js +1 -1
  677. package/dist/esm-es5/{dom-70b0e988.js → dom-f24e866c.js} +1 -1
  678. package/dist/esm-es5/{index-d653c37f.js → index-66803519.js} +1 -1
  679. package/dist/esm-es5/label-bb61bdef.js +5 -0
  680. package/dist/esm-es5/loader.js +1 -1
  681. package/dist/esm-es5/popper-dc4b45cf.js +5 -0
  682. package/dist/esm-es5/{resources-56ac5dd9.js → resources-8dd80c84.js} +1 -1
  683. package/dist/esm-es5/{resources-3b481489.js → resources-c59a1a15.js} +1 -1
  684. package/dist/extras/docs-json.json +511 -429
  685. package/dist/types/components/calcite-action/calcite-action.d.ts +2 -2
  686. package/dist/types/components/calcite-button/calcite-button.d.ts +10 -3
  687. package/dist/types/components/calcite-checkbox/calcite-checkbox.d.ts +1 -1
  688. package/dist/types/components/calcite-combobox/calcite-combobox.d.ts +1 -1
  689. package/dist/types/components/calcite-dropdown/calcite-dropdown.d.ts +6 -3
  690. package/dist/types/components/calcite-filter/calcite-filter.d.ts +5 -1
  691. package/dist/types/components/calcite-graph/calcite-graph.d.ts +4 -0
  692. package/dist/types/components/calcite-inline-editable/calcite-inline-editable.d.ts +1 -1
  693. package/dist/types/components/calcite-input/calcite-input.d.ts +8 -2
  694. package/dist/types/components/calcite-input-date-picker/calcite-input-date-picker.d.ts +1 -1
  695. package/dist/types/components/calcite-input-time-picker/calcite-input-time-picker.d.ts +2 -2
  696. package/dist/types/components/calcite-link/calcite-link.d.ts +2 -1
  697. package/dist/types/components/calcite-list/calcite-list.d.ts +3 -0
  698. package/dist/types/components/calcite-list-item/calcite-list-item.d.ts +3 -0
  699. package/dist/types/components/calcite-modal/calcite-modal.d.ts +2 -2
  700. package/dist/types/components/calcite-radio-button/calcite-radio-button.d.ts +1 -1
  701. package/dist/types/components/calcite-radio-group/calcite-radio-group.d.ts +1 -1
  702. package/dist/types/components/calcite-rating/calcite-rating.d.ts +1 -1
  703. package/dist/types/components/calcite-select/calcite-select.d.ts +1 -1
  704. package/dist/types/components/calcite-slider/calcite-slider.d.ts +1 -1
  705. package/dist/types/components/calcite-switch/calcite-switch.d.ts +1 -1
  706. package/dist/types/components.d.ts +42 -8
  707. package/dist/types/utils/popper.d.ts +1 -1
  708. package/hydrate/index.js +321 -223
  709. package/package.json +32 -34
  710. package/readme.md +5 -5
  711. package/dist/calcite/p-01574cc9.system.entry.js +0 -5
  712. package/dist/calcite/p-034b30d0.system.entry.js +0 -5
  713. package/dist/calcite/p-07ba39b6.js +0 -5
  714. package/dist/calcite/p-161fae80.entry.js +0 -5
  715. package/dist/calcite/p-1800ca58.system.entry.js +0 -5
  716. package/dist/calcite/p-22b45d8e.entry.js +0 -5
  717. package/dist/calcite/p-38f1f404.entry.js +0 -5
  718. package/dist/calcite/p-3a529cc9.entry.js +0 -5
  719. package/dist/calcite/p-3f4d3c3a.system.entry.js +0 -5
  720. package/dist/calcite/p-42c1ceea.system.entry.js +0 -5
  721. package/dist/calcite/p-43c9ac47.entry.js +0 -5
  722. package/dist/calcite/p-48d862ab.system.entry.js +0 -5
  723. package/dist/calcite/p-4ba0e355.entry.js +0 -5
  724. package/dist/calcite/p-50c3504a.system.entry.js +0 -5
  725. package/dist/calcite/p-5cab6853.js +0 -5
  726. package/dist/calcite/p-6235a763.system.entry.js +0 -5
  727. package/dist/calcite/p-649b9bf0.entry.js +0 -5
  728. package/dist/calcite/p-66845ec0.entry.js +0 -5
  729. package/dist/calcite/p-6805cf31.entry.js +0 -5
  730. package/dist/calcite/p-6bdedd7f.system.js +0 -5
  731. package/dist/calcite/p-6cff93c4.entry.js +0 -5
  732. package/dist/calcite/p-773b9826.system.entry.js +0 -5
  733. package/dist/calcite/p-7878aa7c.entry.js +0 -5
  734. package/dist/calcite/p-78820fed.system.entry.js +0 -5
  735. package/dist/calcite/p-86788d34.entry.js +0 -5
  736. package/dist/calcite/p-8a535973.entry.js +0 -5
  737. package/dist/calcite/p-9965ea81.system.js +0 -5
  738. package/dist/calcite/p-9cad254a.entry.js +0 -5
  739. package/dist/calcite/p-a923201d.system.entry.js +0 -5
  740. package/dist/calcite/p-adfa75fa.entry.js +0 -5
  741. package/dist/calcite/p-c026ce05.entry.js +0 -5
  742. package/dist/calcite/p-c198f23c.entry.js +0 -5
  743. package/dist/calcite/p-c728d861.entry.js +0 -5
  744. package/dist/calcite/p-c7b4e11f.entry.js +0 -5
  745. package/dist/calcite/p-cb44170e.system.js +0 -5
  746. package/dist/calcite/p-cb87824b.entry.js +0 -5
  747. package/dist/calcite/p-d35a300b.entry.js +0 -5
  748. package/dist/calcite/p-d7756753.entry.js +0 -5
  749. package/dist/calcite/p-e3ea64dc.entry.js +0 -5
  750. package/dist/calcite/p-e6cc7798.entry.js +0 -5
  751. package/dist/calcite/p-eb027f31.system.entry.js +0 -5
  752. package/dist/calcite/p-edc12d5c.entry.js +0 -5
  753. package/dist/calcite/p-f33a21cf.system.entry.js +0 -5
  754. package/dist/custom-elements/bundles/accordion.d.ts +0 -1
  755. package/dist/custom-elements/bundles/accordion.js +0 -5
  756. package/dist/custom-elements/bundles/action-bar.d.ts +0 -1
  757. package/dist/custom-elements/bundles/action-bar.js +0 -5
  758. package/dist/custom-elements/bundles/action-menu.d.ts +0 -1
  759. package/dist/custom-elements/bundles/action-menu.js +0 -5
  760. package/dist/custom-elements/bundles/action-pad.d.ts +0 -1
  761. package/dist/custom-elements/bundles/action-pad.js +0 -5
  762. package/dist/custom-elements/bundles/action.d.ts +0 -1
  763. package/dist/custom-elements/bundles/action.js +0 -5
  764. package/dist/custom-elements/bundles/alert.d.ts +0 -1
  765. package/dist/custom-elements/bundles/alert.js +0 -5
  766. package/dist/custom-elements/bundles/avatar.d.ts +0 -1
  767. package/dist/custom-elements/bundles/avatar.js +0 -5
  768. package/dist/custom-elements/bundles/block.d.ts +0 -1
  769. package/dist/custom-elements/bundles/block.js +0 -5
  770. package/dist/custom-elements/bundles/button.d.ts +0 -1
  771. package/dist/custom-elements/bundles/button.js +0 -5
  772. package/dist/custom-elements/bundles/card.d.ts +0 -1
  773. package/dist/custom-elements/bundles/card.js +0 -5
  774. package/dist/custom-elements/bundles/checkbox.d.ts +0 -1
  775. package/dist/custom-elements/bundles/checkbox.js +0 -5
  776. package/dist/custom-elements/bundles/chip.d.ts +0 -1
  777. package/dist/custom-elements/bundles/chip.js +0 -5
  778. package/dist/custom-elements/bundles/color-picker.d.ts +0 -1
  779. package/dist/custom-elements/bundles/color-picker.js +0 -5
  780. package/dist/custom-elements/bundles/combobox.d.ts +0 -1
  781. package/dist/custom-elements/bundles/combobox.js +0 -5
  782. package/dist/custom-elements/bundles/date-picker.d.ts +0 -1
  783. package/dist/custom-elements/bundles/date-picker.js +0 -5
  784. package/dist/custom-elements/bundles/dropdown.d.ts +0 -1
  785. package/dist/custom-elements/bundles/dropdown.js +0 -5
  786. package/dist/custom-elements/bundles/fab.d.ts +0 -1
  787. package/dist/custom-elements/bundles/fab.js +0 -5
  788. package/dist/custom-elements/bundles/flow.d.ts +0 -1
  789. package/dist/custom-elements/bundles/flow.js +0 -5
  790. package/dist/custom-elements/bundles/icon.d.ts +0 -1
  791. package/dist/custom-elements/bundles/icon.js +0 -5
  792. package/dist/custom-elements/bundles/inline-editable.d.ts +0 -1
  793. package/dist/custom-elements/bundles/inline-editable.js +0 -5
  794. package/dist/custom-elements/bundles/input-date-picker.d.ts +0 -1
  795. package/dist/custom-elements/bundles/input-date-picker.js +0 -5
  796. package/dist/custom-elements/bundles/input-message.d.ts +0 -1
  797. package/dist/custom-elements/bundles/input-message.js +0 -5
  798. package/dist/custom-elements/bundles/input-time-picker.d.ts +0 -1
  799. package/dist/custom-elements/bundles/input-time-picker.js +0 -5
  800. package/dist/custom-elements/bundles/input.d.ts +0 -1
  801. package/dist/custom-elements/bundles/input.js +0 -5
  802. package/dist/custom-elements/bundles/label.d.ts +0 -1
  803. package/dist/custom-elements/bundles/label.js +0 -5
  804. package/dist/custom-elements/bundles/link.d.ts +0 -1
  805. package/dist/custom-elements/bundles/link.js +0 -5
  806. package/dist/custom-elements/bundles/list.d.ts +0 -1
  807. package/dist/custom-elements/bundles/list.js +0 -5
  808. package/dist/custom-elements/bundles/loader.d.ts +0 -1
  809. package/dist/custom-elements/bundles/loader.js +0 -5
  810. package/dist/custom-elements/bundles/modal.d.ts +0 -1
  811. package/dist/custom-elements/bundles/modal.js +0 -5
  812. package/dist/custom-elements/bundles/notice.d.ts +0 -1
  813. package/dist/custom-elements/bundles/notice.js +0 -5
  814. package/dist/custom-elements/bundles/pagination.d.ts +0 -1
  815. package/dist/custom-elements/bundles/pagination.js +0 -5
  816. package/dist/custom-elements/bundles/panel.d.ts +0 -1
  817. package/dist/custom-elements/bundles/panel.js +0 -5
  818. package/dist/custom-elements/bundles/pick-list.d.ts +0 -1
  819. package/dist/custom-elements/bundles/pick-list.js +0 -5
  820. package/dist/custom-elements/bundles/popover.d.ts +0 -1
  821. package/dist/custom-elements/bundles/popover.js +0 -5
  822. package/dist/custom-elements/bundles/progress.d.ts +0 -1
  823. package/dist/custom-elements/bundles/progress.js +0 -5
  824. package/dist/custom-elements/bundles/radio-button-group.d.ts +0 -1
  825. package/dist/custom-elements/bundles/radio-button-group.js +0 -5
  826. package/dist/custom-elements/bundles/radio-button.d.ts +0 -1
  827. package/dist/custom-elements/bundles/radio-button.js +0 -5
  828. package/dist/custom-elements/bundles/radio-group.d.ts +0 -1
  829. package/dist/custom-elements/bundles/radio-group.js +0 -5
  830. package/dist/custom-elements/bundles/rating.d.ts +0 -1
  831. package/dist/custom-elements/bundles/rating.js +0 -5
  832. package/dist/custom-elements/bundles/scrim.d.ts +0 -1
  833. package/dist/custom-elements/bundles/scrim.js +0 -5
  834. package/dist/custom-elements/bundles/select.d.ts +0 -1
  835. package/dist/custom-elements/bundles/select.js +0 -5
  836. package/dist/custom-elements/bundles/shell.d.ts +0 -1
  837. package/dist/custom-elements/bundles/shell.js +0 -5
  838. package/dist/custom-elements/bundles/slider.d.ts +0 -1
  839. package/dist/custom-elements/bundles/slider.js +0 -5
  840. package/dist/custom-elements/bundles/sortable-list.d.ts +0 -1
  841. package/dist/custom-elements/bundles/sortable-list.js +0 -5
  842. package/dist/custom-elements/bundles/split-button.d.ts +0 -1
  843. package/dist/custom-elements/bundles/split-button.js +0 -5
  844. package/dist/custom-elements/bundles/stepper.d.ts +0 -1
  845. package/dist/custom-elements/bundles/stepper.js +0 -5
  846. package/dist/custom-elements/bundles/switch.d.ts +0 -1
  847. package/dist/custom-elements/bundles/switch.js +0 -5
  848. package/dist/custom-elements/bundles/tab.d.ts +0 -1
  849. package/dist/custom-elements/bundles/tab.js +0 -5
  850. package/dist/custom-elements/bundles/tile-select-group.d.ts +0 -1
  851. package/dist/custom-elements/bundles/tile-select-group.js +0 -5
  852. package/dist/custom-elements/bundles/tile.d.ts +0 -1
  853. package/dist/custom-elements/bundles/tile.js +0 -5
  854. package/dist/custom-elements/bundles/tip.d.ts +0 -1
  855. package/dist/custom-elements/bundles/tip.js +0 -5
  856. package/dist/custom-elements/bundles/tooltip.d.ts +0 -1
  857. package/dist/custom-elements/bundles/tooltip.js +0 -5
  858. package/dist/custom-elements/bundles/tree.d.ts +0 -1
  859. package/dist/custom-elements/bundles/tree.js +0 -5
  860. package/dist/custom-elements/bundles/value-list.d.ts +0 -1
  861. package/dist/custom-elements/bundles/value-list.js +0 -5
  862. package/dist/custom-elements/index.mjs +0 -24476
  863. package/dist/custom-elements/utils.d.ts +0 -2
  864. package/dist/custom-elements/utils.js +0 -11
  865. package/dist/esm-es5/label-426b4471.js +0 -5
  866. package/dist/esm-es5/popper-44055f06.js +0 -5
@@ -2,4 +2,4 @@ var __extends=this&&this.__extends||function(){var e=function(t,r){e=Object.setP
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
- */System.register([],(function(e,t){"use strict";return{execute:function(){var r=this;var n=e("N","calcite");var a;var i;var l;var o=false;var $=false;var s=false;var f=false;var u=false;var c=typeof window!=="undefined"?window:{};var v=e("d",c.document||{head:{}});var d={$flags$:0,$resourcesUrl$:"",jmp:function(e){return e()},raf:function(e){return requestAnimationFrame(e)},ael:function(e,t,r,n){return e.addEventListener(t,r,n)},rel:function(e,t,r,n){return e.removeEventListener(t,r,n)},ce:function(e,t){return new CustomEvent(e,t)}};var h=true;var m=e("p",(function(e){return Promise.resolve(e)}));var p=function(){try{new CSSStyleSheet;return typeof(new CSSStyleSheet).replace==="function"}catch(e){}return false}();var g=function(e,t,r,n){if(r){r.map((function(r){var n=r[0],a=r[1],i=r[2];var l=b(e,n);var o=y(t,i);var $=w(n);d.ael(l,a,o,$);(t.$rmListeners$=t.$rmListeners$||[]).push((function(){return d.rel(l,a,o,$)}))}))}};var y=function(e,t){return function(r){try{{if(e.$flags$&256){e.$lazyInstance$[t](r)}else{(e.$queuedListeners$=e.$queuedListeners$||[]).push([t,r])}}}catch(e){Qe(e)}}};var b=function(e,t){if(t&4)return v;if(t&8)return c;if(t&16)return v.body;return e};var w=function(e){return(e&2)!==0};var N="r";var R="o";var x="s";var S="t";var k="s-id";var _="sty-id";var T="c-id";var L="{visibility:hidden}[calcite-hydrated]{visibility:inherit}";var C="http://www.w3.org/1999/xlink";var A=function(e,t){if(t===void 0){t=""}{return function(){return}}};var E=function(e,t){{return function(){return}}};var I=new WeakMap;var j=function(e,t,r){var n=Ze.get(e);if(p&&r){n=n||new CSSStyleSheet;n.replace(t)}else{n=t}Ze.set(e,n)};var M=function(e,t,r,n){var a=O(t);var i=Ze.get(a);e=e.nodeType===11?e:v;if(i){if(typeof i==="string"){e=e.head||e;var l=I.get(e);var o=void 0;if(!l){I.set(e,l=new Set)}if(!l.has(a)){if(e.host&&(o=e.querySelector("["+_+'="'+a+'"]'))){o.innerHTML=i}else{{o=v.createElement("style");o.innerHTML=i}e.insertBefore(o,e.querySelector("link"))}if(l){l.add(a)}}}else if(!e.adoptedStyleSheets.includes(i)){e.adoptedStyleSheets=__spreadArray(__spreadArray([],e.adoptedStyleSheets),[i])}}return a};var P=function(e){var t=e.$cmpMeta$;var r=e.$hostElement$;var n=t.$flags$;var a=A("attachStyles",t.$tagName$);var i=M(r.shadowRoot?r.shadowRoot:r.getRootNode(),t);if(n&10){r["s-sc"]=i;r.classList.add(i+"-h");if(n&2){r.classList.add(i+"-s")}}a()};var O=function(e,t){return"sc-"+e.$tagName$};var B=function(e){return e.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g,"$1{")};var U={};var z="http://www.w3.org/2000/svg";var q="http://www.w3.org/1999/xhtml";var V=function(e){return e!=null};var H=function(e){e=typeof e;return e==="object"||e==="function"};var W=e("h",(function(e,t){var r=[];for(var n=2;n<arguments.length;n++){r[n-2]=arguments[n]}var a=null;var i=null;var l=null;var o=false;var $=false;var s=[];var f=function(t){for(var r=0;r<t.length;r++){a=t[r];if(Array.isArray(a)){f(a)}else if(a!=null&&typeof a!=="boolean"){if(o=typeof e!=="function"&&!H(a)){a=String(a)}if(o&&$){s[s.length-1].$text$+=a}else{s.push(o?D(null,a):a)}$=o}}};f(r);if(t){if(t.key){i=t.key}if(t.name){l=t.name}{var u=t.className||t.class;if(u){t.class=typeof u!=="object"?u:Object.keys(u).filter((function(e){return u[e]})).join(" ")}}}if(typeof e==="function"){return e(t===null?{}:t,s,J)}var c=D(e,null);c.$attrs$=t;if(s.length>0){c.$children$=s}{c.$key$=i}{c.$name$=l}return c}));var D=function(e,t){var r={$flags$:0,$tag$:e,$text$:t,$elm$:null,$children$:null};{r.$attrs$=null}{r.$key$=null}{r.$name$=null}return r};var F=e("H",{});var G=function(e){return e&&e.$tag$===F};var J={forEach:function(e,t){return e.map(K).forEach(t)},map:function(e,t){return e.map(K).map(t).map(Q)}};var K=function(e){return{vattrs:e.$attrs$,vchildren:e.$children$,vkey:e.$key$,vname:e.$name$,vtag:e.$tag$,vtext:e.$text$}};var Q=function(e){if(typeof e.vtag==="function"){var t=Object.assign({},e.vattrs);if(e.vkey){t.key=e.vkey}if(e.vname){t.name=e.vname}return W.apply(void 0,__spreadArray([e.vtag,t],e.vchildren||[]))}var r=D(e.vtag,e.vtext);r.$attrs$=e.vattrs;r.$children$=e.vchildren;r.$key$=e.vkey;r.$name$=e.vname;return r};var X=function(e,t,r,n,a,i){if(r!==n){var l=Ke(e,t);var o=t.toLowerCase();if(t==="class"){var $=e.classList;var s=Z(r);var f=Z(n);$.remove.apply($,s.filter((function(e){return e&&!f.includes(e)})));$.add.apply($,f.filter((function(e){return e&&!s.includes(e)})))}else if(t==="style"){{for(var u in r){if(!n||n[u]==null){if(u.includes("-")){e.style.removeProperty(u)}else{e.style[u]=""}}}}for(var u in n){if(!r||n[u]!==r[u]){if(u.includes("-")){e.style.setProperty(u,n[u])}else{e.style[u]=n[u]}}}}else if(t==="key");else if(t==="ref"){if(n){n(e)}}else if(!l&&t[0]==="o"&&t[1]==="n"){if(t[2]==="-"){t=t.slice(3)}else if(Ke(c,o)){t=o.slice(2)}else{t=o[2]+t.slice(3)}if(r){d.rel(e,t,r,false)}if(n){d.ael(e,t,n,false)}}else{var v=H(n);if((l||v&&n!==null)&&!a){try{if(!e.tagName.includes("-")){var h=n==null?"":n;if(t==="list"){l=false}else if(r==null||e[t]!=h){e[t]=h}}else{e[t]=n}}catch(e){}}var m=false;{if(o!==(o=o.replace(/^xlink\:?/,""))){t=o;m=true}}if(n==null||n===false){if(n!==false||e.getAttribute(t)===""){if(m){e.removeAttributeNS(C,t)}else{e.removeAttribute(t)}}}else if((!l||i&4||a)&&!v){n=n===true?"":n;if(m){e.setAttributeNS(C,t,n)}else{e.setAttribute(t,n)}}}}};var Y=/\s/;var Z=function(e){return!e?[]:e.split(Y)};var ee=function(e,t,r,n){var a=t.$elm$.nodeType===11&&t.$elm$.host?t.$elm$.host:t.$elm$;var i=e&&e.$attrs$||U;var l=t.$attrs$||U;{for(n in i){if(!(n in l)){X(a,n,i[n],undefined,r,t.$flags$)}}}for(n in l){X(a,n,i[n],l[n],r,t.$flags$)}};var te=function(e,t,r,n){var $=t.$children$[r];var u=0;var c;var d;var h;if(!o){s=true;if($.$tag$==="slot"){if(a){n.classList.add(a+"-s")}$.$flags$|=$.$children$?2:1}}if($.$text$!==null){c=$.$elm$=v.createTextNode($.$text$)}else if($.$flags$&1){c=$.$elm$=v.createTextNode("")}else{if(!f){f=$.$tag$==="svg"}c=$.$elm$=v.createElementNS(f?z:q,$.$flags$&2?"slot-fb":$.$tag$);if(f&&$.$tag$==="foreignObject"){f=false}{ee(null,$,f)}if(V(a)&&c["s-si"]!==a){c.classList.add(c["s-si"]=a)}if($.$children$){for(u=0;u<$.$children$.length;++u){d=te(e,$,u,c);if(d){c.appendChild(d)}}}{if($.$tag$==="svg"){f=false}else if(c.tagName==="foreignObject"){f=true}}}{c["s-hn"]=l;if($.$flags$&(2|1)){c["s-sr"]=true;c["s-cr"]=i;c["s-sn"]=$.$name$||"";h=e&&e.$children$&&e.$children$[r];if(h&&h.$tag$===$.$tag$&&e.$elm$){re(e.$elm$,false)}}}return c};var re=function(e,t){d.$flags$|=1;var r=e.childNodes;for(var n=r.length-1;n>=0;n--){var a=r[n];if(a["s-hn"]!==l&&a["s-ol"]){$e(a).insertBefore(a,oe(a));a["s-ol"].remove();a["s-ol"]=undefined;s=true}if(t){re(a,t)}}d.$flags$&=~1};var ne=function(e,t,r,n,a,i){var o=e["s-cr"]&&e["s-cr"].parentNode||e;var $;if(o.shadowRoot&&o.tagName===l){o=o.shadowRoot}for(;a<=i;++a){if(n[a]){$=te(null,r,a,e);if($){n[a].$elm$=$;o.insertBefore($,oe(t))}}}};var ae=function(e,t,r,n,a){for(;t<=r;++t){if(n=e[t]){a=n.$elm$;de(n);{$=true;if(a["s-ol"]){a["s-ol"].remove()}else{re(a,true)}}a.remove()}}};var ie=function(e,t,r,n){var a=0;var i=0;var l=0;var o=0;var $=t.length-1;var s=t[0];var f=t[$];var u=n.length-1;var c=n[0];var v=n[u];var d;var h;while(a<=$&&i<=u){if(s==null){s=t[++a]}else if(f==null){f=t[--$]}else if(c==null){c=n[++i]}else if(v==null){v=n[--u]}else if(le(s,c)){se(s,c);s=t[++a];c=n[++i]}else if(le(f,v)){se(f,v);f=t[--$];v=n[--u]}else if(le(s,v)){if(s.$tag$==="slot"||v.$tag$==="slot"){re(s.$elm$.parentNode,false)}se(s,v);e.insertBefore(s.$elm$,f.$elm$.nextSibling);s=t[++a];v=n[--u]}else if(le(f,c)){if(s.$tag$==="slot"||v.$tag$==="slot"){re(f.$elm$.parentNode,false)}se(f,c);e.insertBefore(f.$elm$,s.$elm$);f=t[--$];c=n[++i]}else{l=-1;{for(o=a;o<=$;++o){if(t[o]&&t[o].$key$!==null&&t[o].$key$===c.$key$){l=o;break}}}if(l>=0){h=t[l];if(h.$tag$!==c.$tag$){d=te(t&&t[i],r,l,e)}else{se(h,c);t[l]=undefined;d=h.$elm$}c=n[++i]}else{d=te(t&&t[i],r,i,e);c=n[++i]}if(d){{$e(s.$elm$).insertBefore(d,oe(s.$elm$))}}}}if(a>$){ne(e,n[u+1]==null?null:n[u+1].$elm$,r,n,i,u)}else if(i>u){ae(t,a,$)}};var le=function(e,t){if(e.$tag$===t.$tag$){if(e.$tag$==="slot"){return e.$name$===t.$name$}{return e.$key$===t.$key$}}return false};var oe=function(e){return e&&e["s-ol"]||e};var $e=function(e){return(e["s-ol"]?e["s-ol"]:e).parentNode};var se=function(e,t){var r=t.$elm$=e.$elm$;var n=e.$children$;var a=t.$children$;var i=t.$tag$;var l=t.$text$;var o;if(l===null){{f=i==="svg"?true:i==="foreignObject"?false:f}{if(i==="slot");else{ee(e,t,f)}}if(n!==null&&a!==null){ie(r,n,t,a)}else if(a!==null){if(e.$text$!==null){r.textContent=""}ne(r,null,t,a,0,a.length-1)}else if(n!==null){ae(n,0,n.length-1)}if(f&&i==="svg"){f=false}}else if(o=r["s-cr"]){o.parentNode.textContent=l}else if(e.$text$!==l){r.data=l}};var fe=function(e){var t=e.childNodes;var r;var n;var a;var i;var l;var o;for(n=0,a=t.length;n<a;n++){r=t[n];if(r.nodeType===1){if(r["s-sr"]){l=r["s-sn"];r.hidden=false;for(i=0;i<a;i++){o=t[i].nodeType;if(t[i]["s-hn"]!==r["s-hn"]||l!==""){if(o===1&&l===t[i].getAttribute("slot")){r.hidden=true;break}}else{if(o===1||o===3&&t[i].textContent.trim()!==""){r.hidden=true;break}}}}fe(r)}}};var ue=[];var ce=function(e){var t;var r;var n;var a;var i;var l;var o=0;var s=e.childNodes;var f=s.length;for(;o<f;o++){t=s[o];if(t["s-sr"]&&(r=t["s-cr"])&&r.parentNode){n=r.parentNode.childNodes;a=t["s-sn"];for(l=n.length-1;l>=0;l--){r=n[l];if(!r["s-cn"]&&!r["s-nr"]&&r["s-hn"]!==t["s-hn"]){if(ve(r,a)){i=ue.find((function(e){return e.$nodeToRelocate$===r}));$=true;r["s-sn"]=r["s-sn"]||a;if(i){i.$slotRefNode$=t}else{ue.push({$slotRefNode$:t,$nodeToRelocate$:r})}if(r["s-sr"]){ue.map((function(e){if(ve(e.$nodeToRelocate$,r["s-sn"])){i=ue.find((function(e){return e.$nodeToRelocate$===r}));if(i&&!e.$slotRefNode$){e.$slotRefNode$=i.$slotRefNode$}}}))}}else if(!ue.some((function(e){return e.$nodeToRelocate$===r}))){ue.push({$nodeToRelocate$:r})}}}}if(t.nodeType===1){ce(t)}}};var ve=function(e,t){if(e.nodeType===1){if(e.getAttribute("slot")===null&&t===""){return true}if(e.getAttribute("slot")===t){return true}return false}if(e["s-sn"]===t){return true}return t===""};var de=function(e){{e.$attrs$&&e.$attrs$.ref&&e.$attrs$.ref(null);e.$children$&&e.$children$.map(de)}};var he=function(e,t){var r=e.$hostElement$;var n=e.$cmpMeta$;var f=e.$vnode$||D(null,null);var u=G(t)?t:W(null,null,t);l=r.tagName;if(n.$attrsToReflect$){u.$attrs$=u.$attrs$||{};n.$attrsToReflect$.map((function(e){var t=e[0],n=e[1];return u.$attrs$[n]=r[t]}))}u.$tag$=null;u.$flags$|=4;e.$vnode$=u;u.$elm$=f.$elm$=r.shadowRoot||r;{a=r["s-sc"]}{i=r["s-cr"];o=(n.$flags$&1)!==0;$=false}se(f,u);{d.$flags$|=1;if(s){ce(u.$elm$);var c=void 0;var h=void 0;var m=void 0;var p=void 0;var g=void 0;var y=void 0;var b=0;for(;b<ue.length;b++){c=ue[b];h=c.$nodeToRelocate$;if(!h["s-ol"]){m=v.createTextNode("");m["s-nr"]=h;h.parentNode.insertBefore(h["s-ol"]=m,h)}}for(b=0;b<ue.length;b++){c=ue[b];h=c.$nodeToRelocate$;if(c.$slotRefNode$){p=c.$slotRefNode$.parentNode;g=c.$slotRefNode$.nextSibling;m=h["s-ol"];while(m=m.previousSibling){y=m["s-nr"];if(y&&y["s-sn"]===h["s-sn"]&&p===y.parentNode){y=y.nextSibling;if(!y||!y["s-nr"]){g=y;break}}}if(!g&&p!==h.parentNode||h.nextSibling!==g){if(h!==g){if(!h["s-hn"]&&h["s-ol"]){h["s-hn"]=h["s-ol"].parentNode.nodeName}p.insertBefore(h,g)}}}else{if(h.nodeType===1){h.hidden=true}}}}if($){fe(u.$elm$)}d.$flags$&=~1;ue.length=0}};var me=e("g",(function(e){return Fe(e).$hostElement$}));var pe=e("c",(function(e,t,r){var n=me(e);return{emit:function(e){return ge(n,t,{bubbles:!!(r&4),composed:!!(r&2),cancelable:!!(r&1),detail:e})}}}));var ge=function(e,t,r){var n=d.ce(t,r);e.dispatchEvent(n);return n};var ye=function(e,t){if(t&&!e.$onRenderResolve$&&t["s-p"]){t["s-p"].push(new Promise((function(t){return e.$onRenderResolve$=t})))}};var be=function(e,t){{e.$flags$|=16}if(e.$flags$&4){e.$flags$|=512;return}ye(e,e.$ancestorComponent$);var r=function(){return we(e,t)};return lt(r)};var we=function(e,t){var r=A("scheduleUpdate",e.$cmpMeta$.$tagName$);var n=e.$lazyInstance$;var a;if(t){{e.$flags$|=256;if(e.$queuedListeners$){e.$queuedListeners$.map((function(e){var t=e[0],r=e[1];return _e(n,t,r)}));e.$queuedListeners$=null}}{a=_e(n,"componentWillLoad")}}{a=Te(a,(function(){return _e(n,"componentWillRender")}))}r();return Te(a,(function(){return Ne(e,n,t)}))};var Ne=function(e,t,n){return __awaiter(r,void 0,void 0,(function(){var r,a,i,l,o,$;return __generator(this,(function(s){r=e.$hostElement$;a=A("update",e.$cmpMeta$.$tagName$);i=r["s-rc"];if(n){P(e)}l=A("render",e.$cmpMeta$.$tagName$);{Re(e,t)}if(i){i.map((function(e){return e()}));r["s-rc"]=undefined}l();a();{o=r["s-p"];$=function(){return xe(e)};if(o.length===0){$()}else{Promise.all(o).then($);e.$flags$|=4;o.length=0}}return[2]}))}))};var Re=function(e,t,r){try{t=t.render();{e.$flags$&=~16}{e.$flags$|=2}{{{he(e,t)}}}}catch(t){Qe(t,e.$hostElement$)}return null};var xe=function(e){var t=e.$cmpMeta$.$tagName$;var r=e.$hostElement$;var n=A("postUpdate",t);var a=e.$lazyInstance$;var i=e.$ancestorComponent$;{_e(a,"componentDidRender")}if(!(e.$flags$&64)){e.$flags$|=64;{Le(r)}{_e(a,"componentDidLoad")}n();{e.$onReadyResolve$(r);if(!i){ke()}}}else{{_e(a,"componentDidUpdate")}n()}{e.$onInstanceResolve$(r)}{if(e.$onRenderResolve$){e.$onRenderResolve$();e.$onRenderResolve$=undefined}if(e.$flags$&512){it((function(){return be(e,false)}))}e.$flags$&=~(4|512)}};var Se=e("f",(function(e){{var t=Fe(e);var r=t.$hostElement$.isConnected;if(r&&(t.$flags$&(2|16))===2){be(t,false)}return r}}));var ke=function(e){{Le(v.documentElement)}it((function(){return ge(c,"appload",{detail:{namespace:n}})}))};var _e=function(e,t,r){if(e&&e[t]){try{return e[t](r)}catch(e){Qe(e)}}return undefined};var Te=function(e,t){return e&&e.then?e.then(t):t()};var Le=function(e){return e.setAttribute("calcite-hydrated","")};var Ce=function(e,t,r,n){var a=A("hydrateClient",t);var i=e.shadowRoot;var l=[];var o=[];var $=i?[]:null;var s=n.$vnode$=D(t,null);if(!d.$orgLocNodes$){Ee(v.body,d.$orgLocNodes$=new Map)}e[k]=r;e.removeAttribute(k);Ae(s,l,o,$,e,e,r);l.map((function(e){var r=e.$hostId$+"."+e.$nodeId$;var n=d.$orgLocNodes$.get(r);var a=e.$elm$;if(n&&h&&n["s-en"]===""){n.parentNode.insertBefore(a,n.nextSibling)}if(!i){a["s-hn"]=t;if(n){a["s-ol"]=n;a["s-ol"]["s-nr"]=a}}d.$orgLocNodes$.delete(r)}));if(i){$.map((function(e){if(e){i.appendChild(e)}}))}a()};var Ae=function(e,t,r,n,a,i,l){var o;var $;var s;var f;if(i.nodeType===1){o=i.getAttribute(T);if(o){$=o.split(".");if($[0]===l||$[0]==="0"){s={$flags$:0,$hostId$:$[0],$nodeId$:$[1],$depth$:$[2],$index$:$[3],$tag$:i.tagName.toLowerCase(),$elm$:i,$attrs$:null,$children$:null,$key$:null,$name$:null,$text$:null};t.push(s);i.removeAttribute(T);if(!e.$children$){e.$children$=[]}e.$children$[s.$index$]=s;e=s;if(n&&s.$depth$==="0"){n[s.$index$]=s.$elm$}}}for(f=i.childNodes.length-1;f>=0;f--){Ae(e,t,r,n,a,i.childNodes[f],l)}if(i.shadowRoot){for(f=i.shadowRoot.childNodes.length-1;f>=0;f--){Ae(e,t,r,n,a,i.shadowRoot.childNodes[f],l)}}}else if(i.nodeType===8){$=i.nodeValue.split(".");if($[1]===l||$[1]==="0"){o=$[0];s={$flags$:0,$hostId$:$[1],$nodeId$:$[2],$depth$:$[3],$index$:$[4],$elm$:i,$attrs$:null,$children$:null,$key$:null,$name$:null,$tag$:null,$text$:null};if(o===S){s.$elm$=i.nextSibling;if(s.$elm$&&s.$elm$.nodeType===3){s.$text$=s.$elm$.textContent;t.push(s);i.remove();if(!e.$children$){e.$children$=[]}e.$children$[s.$index$]=s;if(n&&s.$depth$==="0"){n[s.$index$]=s.$elm$}}}else if(s.$hostId$===l){if(o===x){s.$tag$="slot";if($[5]){i["s-sn"]=s.$name$=$[5]}else{i["s-sn"]=""}i["s-sr"]=true;if(n){s.$elm$=v.createElement(s.$tag$);if(s.$name$){s.$elm$.setAttribute("name",s.$name$)}i.parentNode.insertBefore(s.$elm$,i);i.remove();if(s.$depth$==="0"){n[s.$index$]=s.$elm$}}r.push(s);if(!e.$children$){e.$children$=[]}e.$children$[s.$index$]=s}else if(o===N){if(n){i.remove()}else{a["s-cr"]=i;i["s-cn"]=true}}}}}else if(e&&e.$tag$==="style"){var u=D(null,i.textContent);u.$elm$=i;u.$index$="0";e.$children$=[u]}};var Ee=function(e,t){if(e.nodeType===1){var r=0;for(;r<e.childNodes.length;r++){Ee(e.childNodes[r],t)}if(e.shadowRoot){for(r=0;r<e.shadowRoot.childNodes.length;r++){Ee(e.shadowRoot.childNodes[r],t)}}}else if(e.nodeType===8){var n=e.nodeValue.split(".");if(n[0]===R){t.set(n[1]+"."+n[2],e);e.nodeValue="";e["s-en"]=n[3]}}};var Ie=function(e,t){if(e!=null&&!H(e)){if(t&4){return e==="false"?false:e===""||!!e}if(t&2){return parseFloat(e)}if(t&1){return String(e)}return e}return e};var je=function(e,t){return Fe(e).$instanceValues$.get(t)};var Me=function(e,t,r,n){var a=Fe(e);var i=a.$hostElement$;var l=a.$instanceValues$.get(t);var o=a.$flags$;var $=a.$lazyInstance$;r=Ie(r,n.$members$[t][0]);if((!(o&8)||l===undefined)&&r!==l){a.$instanceValues$.set(t,r);if($){if(n.$watchers$&&o&128){var s=n.$watchers$[t];if(s){s.map((function(e){try{$[e](r,l,t)}catch(e){Qe(e,i)}}))}}if((o&(2|16))===2){if($.componentShouldUpdate){if($.componentShouldUpdate(r,l,t)===false){return}}be(a,false)}}}};var Pe=function(e,t,r){if(t.$members$){if(e.watchers){t.$watchers$=e.watchers}var n=Object.entries(t.$members$);var a=e.prototype;n.map((function(e){var n=e[0],i=e[1][0];if(i&31||r&2&&i&32){Object.defineProperty(a,n,{get:function(){return je(this,n)},set:function(e){Me(this,n,e,t)},configurable:true,enumerable:true})}else if(r&1&&i&64){Object.defineProperty(a,n,{value:function(){var e=[];for(var t=0;t<arguments.length;t++){e[t]=arguments[t]}var r=Fe(this);return r.$onInstancePromise$.then((function(){var t;return(t=r.$lazyInstance$)[n].apply(t,e)}))}})}}));if(r&1){var i=new Map;a.attributeChangedCallback=function(e,t,r){var n=this;d.jmp((function(){var t=i.get(e);if(n.hasOwnProperty(t)){r=n[t];delete n[t]}n[t]=r===null&&typeof n[t]==="boolean"?false:r}))};e.observedAttributes=n.filter((function(e){var t=e[0],r=e[1];return r[0]&15})).map((function(e){var r=e[0],n=e[1];var a=n[1]||r;i.set(a,r);if(n[0]&512){t.$attrsToReflect$.push([r,a])}return a}))}}return e};var Oe=function(e,t,n,a,i){return __awaiter(r,void 0,void 0,(function(){var e,r,a,l,o,$,s;return __generator(this,(function(f){switch(f.label){case 0:if(!((t.$flags$&32)===0))return[3,3];t.$flags$|=32;i=Ye(n);if(!i.then)return[3,2];e=E();return[4,i];case 1:i=f.sent();e();f.label=2;case 2:if(!i.isProxied){{n.$watchers$=i.watchers}Pe(i,n,2);i.isProxied=true}r=A("createInstance",n.$tagName$);{t.$flags$|=8}try{new i(t)}catch(e){Qe(e)}{t.$flags$&=~8}{t.$flags$|=128}r();Be(t.$lazyInstance$);if(i.style){a=i.style;l=O(n);if(!Ze.has(l)){o=A("registerStyles",n.$tagName$);j(l,a,!!(n.$flags$&1));o()}}f.label=3;case 3:$=t.$ancestorComponent$;s=function(){return be(t,true)};if($&&$["s-rc"]){$["s-rc"].push(s)}else{s()}return[2]}}))}))};var Be=function(e){{_e(e,"connectedCallback")}};var Ue=function(e){if((d.$flags$&1)===0){var t=Fe(e);var r=t.$cmpMeta$;var n=A("connectedCallback",r.$tagName$);if(!(t.$flags$&1)){t.$flags$|=1;var a=void 0;{a=e.getAttribute(k);if(a){if(r.$flags$&1){var i=M(e.shadowRoot,r);e.classList.remove(i+"-h",i+"-s")}Ce(e,r.$tagName$,a,t)}}if(!a){if(r.$flags$&(4|8)){ze(e)}}{var l=e;while(l=l.parentNode||l.host){if(l.nodeType===1&&l.hasAttribute("s-id")&&l["s-p"]||l["s-p"]){ye(t,t.$ancestorComponent$=l);break}}}if(r.$members$){Object.entries(r.$members$).map((function(t){var r=t[0],n=t[1][0];if(n&31&&e.hasOwnProperty(r)){var a=e[r];delete e[r];e[r]=a}}))}{Oe(e,t,r)}}else{g(e,t,r.$listeners$);Be(t.$lazyInstance$)}n()}};var ze=function(e){var t=e["s-cr"]=v.createComment("");t["s-cn"]=true;e.insertBefore(t,e.firstChild)};var qe=function(e){if((d.$flags$&1)===0){var t=Fe(e);var r=t.$lazyInstance$;{if(t.$rmListeners$){t.$rmListeners$.map((function(e){return e()}));t.$rmListeners$=undefined}}{_e(r,"disconnectedCallback")}}};var Ve=e("b",(function(e,t){if(t===void 0){t={}}var r=A();var n=[];var a=t.exclude||[];var i=c.customElements;var l=v.head;var o=l.querySelector("meta[charset]");var $=v.createElement("style");var s=[];var f=v.querySelectorAll("["+_+"]");var u;var h=true;var m=0;Object.assign(d,t);d.$resourcesUrl$=new URL(t.resourcesUrl||"./",v.baseURI).href;{d.$flags$|=2}{for(;m<f.length;m++){j(f[m].getAttribute(_),B(f[m].innerHTML),true)}}e.map((function(e){return e[1].map((function(t){var r={$flags$:t[0],$tagName$:t[1],$members$:t[2],$listeners$:t[3]};{r.$members$=t[2]}{r.$listeners$=t[3]}{r.$attrsToReflect$=[]}{r.$watchers$={}}var l=r.$tagName$;var o=function(e){__extends(t,e);function t(t){var n=e.call(this,t)||this;t=n;Je(t,r);if(r.$flags$&1){{{t.attachShadow({mode:"open"})}}}return n}t.prototype.connectedCallback=function(){var e=this;if(u){clearTimeout(u);u=null}if(h){s.push(this)}else{d.jmp((function(){return Ue(e)}))}};t.prototype.disconnectedCallback=function(){var e=this;d.jmp((function(){return qe(e)}))};t.prototype.componentOnReady=function(){return Fe(this).$onReadyPromise$};return t}(HTMLElement);r.$lazyBundleId$=e[0];if(!a.includes(l)&&!i.get(l)){n.push(l);i.define(l,Pe(o,r,1))}}))}));{$.innerHTML=n+L;$.setAttribute("data-styles","");l.insertBefore($,o?o.nextSibling:l.firstChild)}h=false;if(s.length){s.map((function(e){return e.connectedCallback()}))}else{{d.jmp((function(){return u=setTimeout(ke,30)}))}}r()}));var He=e("a",(function(e){var t=new URL(e,d.$resourcesUrl$);return t.origin!==c.location.origin?t.href:t.pathname}));var We=e("F",(function(e,t){return t}));var De=new WeakMap;var Fe=function(e){return De.get(e)};var Ge=e("r",(function(e,t){return De.set(t.$lazyInstance$=e,t)}));var Je=function(e,t){var r={$flags$:0,$hostElement$:e,$cmpMeta$:t,$instanceValues$:new Map};{r.$onInstancePromise$=new Promise((function(e){return r.$onInstanceResolve$=e}))}{r.$onReadyPromise$=new Promise((function(e){return r.$onReadyResolve$=e}));e["s-p"]=[];e["s-rc"]=[]}g(e,r,t.$listeners$);return De.set(e,r)};var Ke=function(e,t){return t in e};var Qe=function(e,t){return(0,console.error)(e,t)};var Xe=new Map;var Ye=function(e,r,n){var a=e.$tagName$.replace(/-/g,"_");var i=e.$lazyBundleId$;var l=Xe.get(i);if(l){return l[a]}return t.import("./"+i+".entry.js"+"").then((function(e){{Xe.set(i,e)}return e[a]}),Qe)};var Ze=new Map;var et=[];var tt=[];var rt=function(e,t){return function(r){e.push(r);if(!u){u=true;if(t&&d.$flags$&4){it(at)}else{d.raf(at)}}}};var nt=function(e){for(var t=0;t<e.length;t++){try{e[t](performance.now())}catch(e){Qe(e)}}e.length=0};var at=function(){nt(et);{nt(tt);if(u=et.length>0){d.raf(at)}}};var it=function(e){return m().then(e)};var lt=rt(tt,true)}}}));
5
+ */System.register([],(function(e,t){"use strict";return{execute:function(){var r=this;var n=e("N","calcite");var a;var i;var l;var o=false;var $=false;var s=false;var f=false;var u=false;var c=typeof window!=="undefined"?window:{};var v=e("d",c.document||{head:{}});var d={$flags$:0,$resourcesUrl$:"",jmp:function(e){return e()},raf:function(e){return requestAnimationFrame(e)},ael:function(e,t,r,n){return e.addEventListener(t,r,n)},rel:function(e,t,r,n){return e.removeEventListener(t,r,n)},ce:function(e,t){return new CustomEvent(e,t)}};var h=true;var p=e("p",(function(e){return Promise.resolve(e)}));var m=function(){try{new CSSStyleSheet;return typeof(new CSSStyleSheet).replace==="function"}catch(e){}return false}();var g=function(e,t,r,n){if(r){r.map((function(r){var n=r[0],a=r[1],i=r[2];var l=b(e,n);var o=y(t,i);var $=w(n);d.ael(l,a,o,$);(t.$rmListeners$=t.$rmListeners$||[]).push((function(){return d.rel(l,a,o,$)}))}))}};var y=function(e,t){return function(r){try{{if(e.$flags$&256){e.$lazyInstance$[t](r)}else{(e.$queuedListeners$=e.$queuedListeners$||[]).push([t,r])}}}catch(e){Qe(e)}}};var b=function(e,t){if(t&4)return v;if(t&8)return c;if(t&16)return v.body;return e};var w=function(e){return(e&2)!==0};var N="r";var R="o";var x="s";var S="t";var k="s-id";var _="sty-id";var T="c-id";var L="{visibility:hidden}[calcite-hydrated]{visibility:inherit}";var C="http://www.w3.org/1999/xlink";var A=function(e,t){if(t===void 0){t=""}{return function(){return}}};var E=function(e,t){{return function(){return}}};var I=new WeakMap;var j=function(e,t,r){var n=Ze.get(e);if(m&&r){n=n||new CSSStyleSheet;n.replace(t)}else{n=t}Ze.set(e,n)};var P=function(e,t,r,n){var a=O(t);var i=Ze.get(a);e=e.nodeType===11?e:v;if(i){if(typeof i==="string"){e=e.head||e;var l=I.get(e);var o=void 0;if(!l){I.set(e,l=new Set)}if(!l.has(a)){if(e.host&&(o=e.querySelector("["+_+'="'+a+'"]'))){o.innerHTML=i}else{{o=v.createElement("style");o.innerHTML=i}e.insertBefore(o,e.querySelector("link"))}if(l){l.add(a)}}}else if(!e.adoptedStyleSheets.includes(i)){e.adoptedStyleSheets=__spreadArray(__spreadArray([],e.adoptedStyleSheets),[i])}}return a};var M=function(e){var t=e.$cmpMeta$;var r=e.$hostElement$;var n=t.$flags$;var a=A("attachStyles",t.$tagName$);var i=P(r.shadowRoot?r.shadowRoot:r.getRootNode(),t);if(n&10){r["s-sc"]=i;r.classList.add(i+"-h");if(n&2){r.classList.add(i+"-s")}}a()};var O=function(e,t){return"sc-"+e.$tagName$};var B=function(e){return e.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g,"$1{")};var U={};var z="http://www.w3.org/2000/svg";var q="http://www.w3.org/1999/xhtml";var V=function(e){return e!=null};var H=function(e){e=typeof e;return e==="object"||e==="function"};var W=e("h",(function(e,t){var r=[];for(var n=2;n<arguments.length;n++){r[n-2]=arguments[n]}var a=null;var i=null;var l=null;var o=false;var $=false;var s=[];var f=function(t){for(var r=0;r<t.length;r++){a=t[r];if(Array.isArray(a)){f(a)}else if(a!=null&&typeof a!=="boolean"){if(o=typeof e!=="function"&&!H(a)){a=String(a)}if(o&&$){s[s.length-1].$text$+=a}else{s.push(o?D(null,a):a)}$=o}}};f(r);if(t){if(t.key){i=t.key}if(t.name){l=t.name}{var u=t.className||t.class;if(u){t.class=typeof u!=="object"?u:Object.keys(u).filter((function(e){return u[e]})).join(" ")}}}if(typeof e==="function"){return e(t===null?{}:t,s,J)}var c=D(e,null);c.$attrs$=t;if(s.length>0){c.$children$=s}{c.$key$=i}{c.$name$=l}return c}));var D=function(e,t){var r={$flags$:0,$tag$:e,$text$:t,$elm$:null,$children$:null};{r.$attrs$=null}{r.$key$=null}{r.$name$=null}return r};var F=e("H",{});var G=function(e){return e&&e.$tag$===F};var J={forEach:function(e,t){return e.map(K).forEach(t)},map:function(e,t){return e.map(K).map(t).map(Q)}};var K=function(e){return{vattrs:e.$attrs$,vchildren:e.$children$,vkey:e.$key$,vname:e.$name$,vtag:e.$tag$,vtext:e.$text$}};var Q=function(e){if(typeof e.vtag==="function"){var t=Object.assign({},e.vattrs);if(e.vkey){t.key=e.vkey}if(e.vname){t.name=e.vname}return W.apply(void 0,__spreadArray([e.vtag,t],e.vchildren||[]))}var r=D(e.vtag,e.vtext);r.$attrs$=e.vattrs;r.$children$=e.vchildren;r.$key$=e.vkey;r.$name$=e.vname;return r};var X=function(e,t,r,n,a,i){if(r!==n){var l=Ke(e,t);var o=t.toLowerCase();if(t==="class"){var $=e.classList;var s=Z(r);var f=Z(n);$.remove.apply($,s.filter((function(e){return e&&!f.includes(e)})));$.add.apply($,f.filter((function(e){return e&&!s.includes(e)})))}else if(t==="style"){{for(var u in r){if(!n||n[u]==null){if(u.includes("-")){e.style.removeProperty(u)}else{e.style[u]=""}}}}for(var u in n){if(!r||n[u]!==r[u]){if(u.includes("-")){e.style.setProperty(u,n[u])}else{e.style[u]=n[u]}}}}else if(t==="key");else if(t==="ref"){if(n){n(e)}}else if(!l&&t[0]==="o"&&t[1]==="n"){if(t[2]==="-"){t=t.slice(3)}else if(Ke(c,o)){t=o.slice(2)}else{t=o[2]+t.slice(3)}if(r){d.rel(e,t,r,false)}if(n){d.ael(e,t,n,false)}}else{var v=H(n);if((l||v&&n!==null)&&!a){try{if(!e.tagName.includes("-")){var h=n==null?"":n;if(t==="list"){l=false}else if(r==null||e[t]!=h){e[t]=h}}else{e[t]=n}}catch(e){}}var p=false;{if(o!==(o=o.replace(/^xlink\:?/,""))){t=o;p=true}}if(n==null||n===false){if(n!==false||e.getAttribute(t)===""){if(p){e.removeAttributeNS(C,t)}else{e.removeAttribute(t)}}}else if((!l||i&4||a)&&!v){n=n===true?"":n;if(p){e.setAttributeNS(C,t,n)}else{e.setAttribute(t,n)}}}}};var Y=/\s/;var Z=function(e){return!e?[]:e.split(Y)};var ee=function(e,t,r,n){var a=t.$elm$.nodeType===11&&t.$elm$.host?t.$elm$.host:t.$elm$;var i=e&&e.$attrs$||U;var l=t.$attrs$||U;{for(n in i){if(!(n in l)){X(a,n,i[n],undefined,r,t.$flags$)}}}for(n in l){X(a,n,i[n],l[n],r,t.$flags$)}};var te=function(e,t,r,n){var $=t.$children$[r];var u=0;var c;var d;var h;if(!o){s=true;if($.$tag$==="slot"){if(a){n.classList.add(a+"-s")}$.$flags$|=$.$children$?2:1}}if($.$text$!==null){c=$.$elm$=v.createTextNode($.$text$)}else if($.$flags$&1){c=$.$elm$=v.createTextNode("")}else{if(!f){f=$.$tag$==="svg"}c=$.$elm$=v.createElementNS(f?z:q,$.$flags$&2?"slot-fb":$.$tag$);if(f&&$.$tag$==="foreignObject"){f=false}{ee(null,$,f)}if(V(a)&&c["s-si"]!==a){c.classList.add(c["s-si"]=a)}if($.$children$){for(u=0;u<$.$children$.length;++u){d=te(e,$,u,c);if(d){c.appendChild(d)}}}{if($.$tag$==="svg"){f=false}else if(c.tagName==="foreignObject"){f=true}}}{c["s-hn"]=l;if($.$flags$&(2|1)){c["s-sr"]=true;c["s-cr"]=i;c["s-sn"]=$.$name$||"";h=e&&e.$children$&&e.$children$[r];if(h&&h.$tag$===$.$tag$&&e.$elm$){re(e.$elm$,false)}}}return c};var re=function(e,t){d.$flags$|=1;var r=e.childNodes;for(var n=r.length-1;n>=0;n--){var a=r[n];if(a["s-hn"]!==l&&a["s-ol"]){$e(a).insertBefore(a,oe(a));a["s-ol"].remove();a["s-ol"]=undefined;s=true}if(t){re(a,t)}}d.$flags$&=~1};var ne=function(e,t,r,n,a,i){var o=e["s-cr"]&&e["s-cr"].parentNode||e;var $;if(o.shadowRoot&&o.tagName===l){o=o.shadowRoot}for(;a<=i;++a){if(n[a]){$=te(null,r,a,e);if($){n[a].$elm$=$;o.insertBefore($,oe(t))}}}};var ae=function(e,t,r,n,a){for(;t<=r;++t){if(n=e[t]){a=n.$elm$;de(n);{$=true;if(a["s-ol"]){a["s-ol"].remove()}else{re(a,true)}}a.remove()}}};var ie=function(e,t,r,n){var a=0;var i=0;var l=0;var o=0;var $=t.length-1;var s=t[0];var f=t[$];var u=n.length-1;var c=n[0];var v=n[u];var d;var h;while(a<=$&&i<=u){if(s==null){s=t[++a]}else if(f==null){f=t[--$]}else if(c==null){c=n[++i]}else if(v==null){v=n[--u]}else if(le(s,c)){se(s,c);s=t[++a];c=n[++i]}else if(le(f,v)){se(f,v);f=t[--$];v=n[--u]}else if(le(s,v)){if(s.$tag$==="slot"||v.$tag$==="slot"){re(s.$elm$.parentNode,false)}se(s,v);e.insertBefore(s.$elm$,f.$elm$.nextSibling);s=t[++a];v=n[--u]}else if(le(f,c)){if(s.$tag$==="slot"||v.$tag$==="slot"){re(f.$elm$.parentNode,false)}se(f,c);e.insertBefore(f.$elm$,s.$elm$);f=t[--$];c=n[++i]}else{l=-1;{for(o=a;o<=$;++o){if(t[o]&&t[o].$key$!==null&&t[o].$key$===c.$key$){l=o;break}}}if(l>=0){h=t[l];if(h.$tag$!==c.$tag$){d=te(t&&t[i],r,l,e)}else{se(h,c);t[l]=undefined;d=h.$elm$}c=n[++i]}else{d=te(t&&t[i],r,i,e);c=n[++i]}if(d){{$e(s.$elm$).insertBefore(d,oe(s.$elm$))}}}}if(a>$){ne(e,n[u+1]==null?null:n[u+1].$elm$,r,n,i,u)}else if(i>u){ae(t,a,$)}};var le=function(e,t){if(e.$tag$===t.$tag$){if(e.$tag$==="slot"){return e.$name$===t.$name$}{return e.$key$===t.$key$}}return false};var oe=function(e){return e&&e["s-ol"]||e};var $e=function(e){return(e["s-ol"]?e["s-ol"]:e).parentNode};var se=function(e,t){var r=t.$elm$=e.$elm$;var n=e.$children$;var a=t.$children$;var i=t.$tag$;var l=t.$text$;var o;if(l===null){{f=i==="svg"?true:i==="foreignObject"?false:f}{if(i==="slot");else{ee(e,t,f)}}if(n!==null&&a!==null){ie(r,n,t,a)}else if(a!==null){if(e.$text$!==null){r.textContent=""}ne(r,null,t,a,0,a.length-1)}else if(n!==null){ae(n,0,n.length-1)}if(f&&i==="svg"){f=false}}else if(o=r["s-cr"]){o.parentNode.textContent=l}else if(e.$text$!==l){r.data=l}};var fe=function(e){var t=e.childNodes;var r;var n;var a;var i;var l;var o;for(n=0,a=t.length;n<a;n++){r=t[n];if(r.nodeType===1){if(r["s-sr"]){l=r["s-sn"];r.hidden=false;for(i=0;i<a;i++){o=t[i].nodeType;if(t[i]["s-hn"]!==r["s-hn"]||l!==""){if(o===1&&l===t[i].getAttribute("slot")){r.hidden=true;break}}else{if(o===1||o===3&&t[i].textContent.trim()!==""){r.hidden=true;break}}}}fe(r)}}};var ue=[];var ce=function(e){var t;var r;var n;var a;var i;var l;var o=0;var s=e.childNodes;var f=s.length;for(;o<f;o++){t=s[o];if(t["s-sr"]&&(r=t["s-cr"])&&r.parentNode){n=r.parentNode.childNodes;a=t["s-sn"];for(l=n.length-1;l>=0;l--){r=n[l];if(!r["s-cn"]&&!r["s-nr"]&&r["s-hn"]!==t["s-hn"]){if(ve(r,a)){i=ue.find((function(e){return e.$nodeToRelocate$===r}));$=true;r["s-sn"]=r["s-sn"]||a;if(i){i.$slotRefNode$=t}else{ue.push({$slotRefNode$:t,$nodeToRelocate$:r})}if(r["s-sr"]){ue.map((function(e){if(ve(e.$nodeToRelocate$,r["s-sn"])){i=ue.find((function(e){return e.$nodeToRelocate$===r}));if(i&&!e.$slotRefNode$){e.$slotRefNode$=i.$slotRefNode$}}}))}}else if(!ue.some((function(e){return e.$nodeToRelocate$===r}))){ue.push({$nodeToRelocate$:r})}}}}if(t.nodeType===1){ce(t)}}};var ve=function(e,t){if(e.nodeType===1){if(e.getAttribute("slot")===null&&t===""){return true}if(e.getAttribute("slot")===t){return true}return false}if(e["s-sn"]===t){return true}return t===""};var de=function(e){{e.$attrs$&&e.$attrs$.ref&&e.$attrs$.ref(null);e.$children$&&e.$children$.map(de)}};var he=function(e,t){var r=e.$hostElement$;var n=e.$cmpMeta$;var f=e.$vnode$||D(null,null);var u=G(t)?t:W(null,null,t);l=r.tagName;if(n.$attrsToReflect$){u.$attrs$=u.$attrs$||{};n.$attrsToReflect$.map((function(e){var t=e[0],n=e[1];return u.$attrs$[n]=r[t]}))}u.$tag$=null;u.$flags$|=4;e.$vnode$=u;u.$elm$=f.$elm$=r.shadowRoot||r;{a=r["s-sc"]}{i=r["s-cr"];o=(n.$flags$&1)!==0;$=false}se(f,u);{d.$flags$|=1;if(s){ce(u.$elm$);var c=void 0;var h=void 0;var p=void 0;var m=void 0;var g=void 0;var y=void 0;var b=0;for(;b<ue.length;b++){c=ue[b];h=c.$nodeToRelocate$;if(!h["s-ol"]){p=v.createTextNode("");p["s-nr"]=h;h.parentNode.insertBefore(h["s-ol"]=p,h)}}for(b=0;b<ue.length;b++){c=ue[b];h=c.$nodeToRelocate$;if(c.$slotRefNode$){m=c.$slotRefNode$.parentNode;g=c.$slotRefNode$.nextSibling;p=h["s-ol"];while(p=p.previousSibling){y=p["s-nr"];if(y&&y["s-sn"]===h["s-sn"]&&m===y.parentNode){y=y.nextSibling;if(!y||!y["s-nr"]){g=y;break}}}if(!g&&m!==h.parentNode||h.nextSibling!==g){if(h!==g){if(!h["s-hn"]&&h["s-ol"]){h["s-hn"]=h["s-ol"].parentNode.nodeName}m.insertBefore(h,g)}}}else{if(h.nodeType===1){h.hidden=true}}}}if($){fe(u.$elm$)}d.$flags$&=~1;ue.length=0}};var pe=e("g",(function(e){return Fe(e).$hostElement$}));var me=e("c",(function(e,t,r){var n=pe(e);return{emit:function(e){return ge(n,t,{bubbles:!!(r&4),composed:!!(r&2),cancelable:!!(r&1),detail:e})}}}));var ge=function(e,t,r){var n=d.ce(t,r);e.dispatchEvent(n);return n};var ye=function(e,t){if(t&&!e.$onRenderResolve$&&t["s-p"]){t["s-p"].push(new Promise((function(t){return e.$onRenderResolve$=t})))}};var be=function(e,t){{e.$flags$|=16}if(e.$flags$&4){e.$flags$|=512;return}ye(e,e.$ancestorComponent$);var r=function(){return we(e,t)};return lt(r)};var we=function(e,t){var r=A("scheduleUpdate",e.$cmpMeta$.$tagName$);var n=e.$lazyInstance$;var a;if(t){{e.$flags$|=256;if(e.$queuedListeners$){e.$queuedListeners$.map((function(e){var t=e[0],r=e[1];return _e(n,t,r)}));e.$queuedListeners$=null}}{a=_e(n,"componentWillLoad")}}{a=Te(a,(function(){return _e(n,"componentWillRender")}))}r();return Te(a,(function(){return Ne(e,n,t)}))};var Ne=function(e,t,n){return __awaiter(r,void 0,void 0,(function(){var r,a,i,l,o,$;return __generator(this,(function(s){r=e.$hostElement$;a=A("update",e.$cmpMeta$.$tagName$);i=r["s-rc"];if(n){M(e)}l=A("render",e.$cmpMeta$.$tagName$);{Re(e,t)}if(i){i.map((function(e){return e()}));r["s-rc"]=undefined}l();a();{o=r["s-p"];$=function(){return xe(e)};if(o.length===0){$()}else{Promise.all(o).then($);e.$flags$|=4;o.length=0}}return[2]}))}))};var Re=function(e,t,r){try{t=t.render();{e.$flags$&=~16}{e.$flags$|=2}{{{he(e,t)}}}}catch(t){Qe(t,e.$hostElement$)}return null};var xe=function(e){var t=e.$cmpMeta$.$tagName$;var r=e.$hostElement$;var n=A("postUpdate",t);var a=e.$lazyInstance$;var i=e.$ancestorComponent$;{_e(a,"componentDidRender")}if(!(e.$flags$&64)){e.$flags$|=64;{Le(r)}{_e(a,"componentDidLoad")}n();{e.$onReadyResolve$(r);if(!i){ke()}}}else{{_e(a,"componentDidUpdate")}n()}{e.$onInstanceResolve$(r)}{if(e.$onRenderResolve$){e.$onRenderResolve$();e.$onRenderResolve$=undefined}if(e.$flags$&512){it((function(){return be(e,false)}))}e.$flags$&=~(4|512)}};var Se=e("f",(function(e){{var t=Fe(e);var r=t.$hostElement$.isConnected;if(r&&(t.$flags$&(2|16))===2){be(t,false)}return r}}));var ke=function(e){{Le(v.documentElement)}it((function(){return ge(c,"appload",{detail:{namespace:n}})}))};var _e=function(e,t,r){if(e&&e[t]){try{return e[t](r)}catch(e){Qe(e)}}return undefined};var Te=function(e,t){return e&&e.then?e.then(t):t()};var Le=function(e){return e.setAttribute("calcite-hydrated","")};var Ce=function(e,t,r,n){var a=A("hydrateClient",t);var i=e.shadowRoot;var l=[];var o=[];var $=i?[]:null;var s=n.$vnode$=D(t,null);if(!d.$orgLocNodes$){Ee(v.body,d.$orgLocNodes$=new Map)}e[k]=r;e.removeAttribute(k);Ae(s,l,o,$,e,e,r);l.map((function(e){var r=e.$hostId$+"."+e.$nodeId$;var n=d.$orgLocNodes$.get(r);var a=e.$elm$;if(n&&h&&n["s-en"]===""){n.parentNode.insertBefore(a,n.nextSibling)}if(!i){a["s-hn"]=t;if(n){a["s-ol"]=n;a["s-ol"]["s-nr"]=a}}d.$orgLocNodes$.delete(r)}));if(i){$.map((function(e){if(e){i.appendChild(e)}}))}a()};var Ae=function(e,t,r,n,a,i,l){var o;var $;var s;var f;if(i.nodeType===1){o=i.getAttribute(T);if(o){$=o.split(".");if($[0]===l||$[0]==="0"){s={$flags$:0,$hostId$:$[0],$nodeId$:$[1],$depth$:$[2],$index$:$[3],$tag$:i.tagName.toLowerCase(),$elm$:i,$attrs$:null,$children$:null,$key$:null,$name$:null,$text$:null};t.push(s);i.removeAttribute(T);if(!e.$children$){e.$children$=[]}e.$children$[s.$index$]=s;e=s;if(n&&s.$depth$==="0"){n[s.$index$]=s.$elm$}}}for(f=i.childNodes.length-1;f>=0;f--){Ae(e,t,r,n,a,i.childNodes[f],l)}if(i.shadowRoot){for(f=i.shadowRoot.childNodes.length-1;f>=0;f--){Ae(e,t,r,n,a,i.shadowRoot.childNodes[f],l)}}}else if(i.nodeType===8){$=i.nodeValue.split(".");if($[1]===l||$[1]==="0"){o=$[0];s={$flags$:0,$hostId$:$[1],$nodeId$:$[2],$depth$:$[3],$index$:$[4],$elm$:i,$attrs$:null,$children$:null,$key$:null,$name$:null,$tag$:null,$text$:null};if(o===S){s.$elm$=i.nextSibling;if(s.$elm$&&s.$elm$.nodeType===3){s.$text$=s.$elm$.textContent;t.push(s);i.remove();if(!e.$children$){e.$children$=[]}e.$children$[s.$index$]=s;if(n&&s.$depth$==="0"){n[s.$index$]=s.$elm$}}}else if(s.$hostId$===l){if(o===x){s.$tag$="slot";if($[5]){i["s-sn"]=s.$name$=$[5]}else{i["s-sn"]=""}i["s-sr"]=true;if(n){s.$elm$=v.createElement(s.$tag$);if(s.$name$){s.$elm$.setAttribute("name",s.$name$)}i.parentNode.insertBefore(s.$elm$,i);i.remove();if(s.$depth$==="0"){n[s.$index$]=s.$elm$}}r.push(s);if(!e.$children$){e.$children$=[]}e.$children$[s.$index$]=s}else if(o===N){if(n){i.remove()}else{a["s-cr"]=i;i["s-cn"]=true}}}}}else if(e&&e.$tag$==="style"){var u=D(null,i.textContent);u.$elm$=i;u.$index$="0";e.$children$=[u]}};var Ee=function(e,t){if(e.nodeType===1){var r=0;for(;r<e.childNodes.length;r++){Ee(e.childNodes[r],t)}if(e.shadowRoot){for(r=0;r<e.shadowRoot.childNodes.length;r++){Ee(e.shadowRoot.childNodes[r],t)}}}else if(e.nodeType===8){var n=e.nodeValue.split(".");if(n[0]===R){t.set(n[1]+"."+n[2],e);e.nodeValue="";e["s-en"]=n[3]}}};var Ie=function(e,t){if(e!=null&&!H(e)){if(t&4){return e==="false"?false:e===""||!!e}if(t&2){return parseFloat(e)}if(t&1){return String(e)}return e}return e};var je=function(e,t){return Fe(e).$instanceValues$.get(t)};var Pe=function(e,t,r,n){var a=Fe(e);var i=a.$hostElement$;var l=a.$instanceValues$.get(t);var o=a.$flags$;var $=a.$lazyInstance$;r=Ie(r,n.$members$[t][0]);if((!(o&8)||l===undefined)&&r!==l){a.$instanceValues$.set(t,r);if($){if(n.$watchers$&&o&128){var s=n.$watchers$[t];if(s){s.map((function(e){try{$[e](r,l,t)}catch(e){Qe(e,i)}}))}}if((o&(2|16))===2){if($.componentShouldUpdate){if($.componentShouldUpdate(r,l,t)===false){return}}be(a,false)}}}};var Me=function(e,t,r){if(t.$members$){if(e.watchers){t.$watchers$=e.watchers}var n=Object.entries(t.$members$);var a=e.prototype;n.map((function(e){var n=e[0],i=e[1][0];if(i&31||r&2&&i&32){Object.defineProperty(a,n,{get:function(){return je(this,n)},set:function(e){Pe(this,n,e,t)},configurable:true,enumerable:true})}else if(r&1&&i&64){Object.defineProperty(a,n,{value:function(){var e=[];for(var t=0;t<arguments.length;t++){e[t]=arguments[t]}var r=Fe(this);return r.$onInstancePromise$.then((function(){var t;return(t=r.$lazyInstance$)[n].apply(t,e)}))}})}}));if(r&1){var i=new Map;a.attributeChangedCallback=function(e,t,r){var n=this;d.jmp((function(){var t=i.get(e);if(n.hasOwnProperty(t)){r=n[t];delete n[t]}else if(a.hasOwnProperty(t)&&typeof n[t]==="number"&&n[t]==r){return}n[t]=r===null&&typeof n[t]==="boolean"?false:r}))};e.observedAttributes=n.filter((function(e){var t=e[0],r=e[1];return r[0]&15})).map((function(e){var r=e[0],n=e[1];var a=n[1]||r;i.set(a,r);if(n[0]&512){t.$attrsToReflect$.push([r,a])}return a}))}}return e};var Oe=function(e,t,n,a,i){return __awaiter(r,void 0,void 0,(function(){var e,r,a,l,o,$,s;return __generator(this,(function(f){switch(f.label){case 0:if(!((t.$flags$&32)===0))return[3,3];t.$flags$|=32;i=Ye(n);if(!i.then)return[3,2];e=E();return[4,i];case 1:i=f.sent();e();f.label=2;case 2:if(!i.isProxied){{n.$watchers$=i.watchers}Me(i,n,2);i.isProxied=true}r=A("createInstance",n.$tagName$);{t.$flags$|=8}try{new i(t)}catch(e){Qe(e)}{t.$flags$&=~8}{t.$flags$|=128}r();Be(t.$lazyInstance$);if(i.style){a=i.style;l=O(n);if(!Ze.has(l)){o=A("registerStyles",n.$tagName$);j(l,a,!!(n.$flags$&1));o()}}f.label=3;case 3:$=t.$ancestorComponent$;s=function(){return be(t,true)};if($&&$["s-rc"]){$["s-rc"].push(s)}else{s()}return[2]}}))}))};var Be=function(e){{_e(e,"connectedCallback")}};var Ue=function(e){if((d.$flags$&1)===0){var t=Fe(e);var r=t.$cmpMeta$;var n=A("connectedCallback",r.$tagName$);if(!(t.$flags$&1)){t.$flags$|=1;var a=void 0;{a=e.getAttribute(k);if(a){if(r.$flags$&1){var i=P(e.shadowRoot,r);e.classList.remove(i+"-h",i+"-s")}Ce(e,r.$tagName$,a,t)}}if(!a){if(r.$flags$&(4|8)){ze(e)}}{var l=e;while(l=l.parentNode||l.host){if(l.nodeType===1&&l.hasAttribute("s-id")&&l["s-p"]||l["s-p"]){ye(t,t.$ancestorComponent$=l);break}}}if(r.$members$){Object.entries(r.$members$).map((function(t){var r=t[0],n=t[1][0];if(n&31&&e.hasOwnProperty(r)){var a=e[r];delete e[r];e[r]=a}}))}{Oe(e,t,r)}}else{g(e,t,r.$listeners$);Be(t.$lazyInstance$)}n()}};var ze=function(e){var t=e["s-cr"]=v.createComment("");t["s-cn"]=true;e.insertBefore(t,e.firstChild)};var qe=function(e){if((d.$flags$&1)===0){var t=Fe(e);var r=t.$lazyInstance$;{if(t.$rmListeners$){t.$rmListeners$.map((function(e){return e()}));t.$rmListeners$=undefined}}{_e(r,"disconnectedCallback")}}};var Ve=e("b",(function(e,t){if(t===void 0){t={}}var r=A();var n=[];var a=t.exclude||[];var i=c.customElements;var l=v.head;var o=l.querySelector("meta[charset]");var $=v.createElement("style");var s=[];var f=v.querySelectorAll("["+_+"]");var u;var h=true;var p=0;Object.assign(d,t);d.$resourcesUrl$=new URL(t.resourcesUrl||"./",v.baseURI).href;{d.$flags$|=2}{for(;p<f.length;p++){j(f[p].getAttribute(_),B(f[p].innerHTML),true)}}e.map((function(e){e[1].map((function(t){var r={$flags$:t[0],$tagName$:t[1],$members$:t[2],$listeners$:t[3]};{r.$members$=t[2]}{r.$listeners$=t[3]}{r.$attrsToReflect$=[]}{r.$watchers$={}}var l=r.$tagName$;var o=function(e){__extends(t,e);function t(t){var n=e.call(this,t)||this;t=n;Je(t,r);if(r.$flags$&1){{{t.attachShadow({mode:"open"})}}}return n}t.prototype.connectedCallback=function(){var e=this;if(u){clearTimeout(u);u=null}if(h){s.push(this)}else{d.jmp((function(){return Ue(e)}))}};t.prototype.disconnectedCallback=function(){var e=this;d.jmp((function(){return qe(e)}))};t.prototype.componentOnReady=function(){return Fe(this).$onReadyPromise$};return t}(HTMLElement);r.$lazyBundleId$=e[0];if(!a.includes(l)&&!i.get(l)){n.push(l);i.define(l,Me(o,r,1))}}))}));{$.innerHTML=n+L;$.setAttribute("data-styles","");l.insertBefore($,o?o.nextSibling:l.firstChild)}h=false;if(s.length){s.map((function(e){return e.connectedCallback()}))}else{{d.jmp((function(){return u=setTimeout(ke,30)}))}}r()}));var He=e("a",(function(e){var t=new URL(e,d.$resourcesUrl$);return t.origin!==c.location.origin?t.href:t.pathname}));var We=e("F",(function(e,t){return t}));var De=new WeakMap;var Fe=function(e){return De.get(e)};var Ge=e("r",(function(e,t){return De.set(t.$lazyInstance$=e,t)}));var Je=function(e,t){var r={$flags$:0,$hostElement$:e,$cmpMeta$:t,$instanceValues$:new Map};{r.$onInstancePromise$=new Promise((function(e){return r.$onInstanceResolve$=e}))}{r.$onReadyPromise$=new Promise((function(e){return r.$onReadyResolve$=e}));e["s-p"]=[];e["s-rc"]=[]}g(e,r,t.$listeners$);return De.set(e,r)};var Ke=function(e,t){return t in e};var Qe=function(e,t){return(0,console.error)(e,t)};var Xe=new Map;var Ye=function(e,r,n){var a=e.$tagName$.replace(/-/g,"_");var i=e.$lazyBundleId$;var l=Xe.get(i);if(l){return l[a]}return t.import("./"+i+".entry.js"+"").then((function(e){{Xe.set(i,e)}return e[a]}),Qe)};var Ze=new Map;var et=[];var tt=[];var rt=function(e,t){return function(r){e.push(r);if(!u){u=true;if(t&&d.$flags$&4){it(at)}else{d.raf(at)}}}};var nt=function(e){for(var t=0;t<e.length;t++){try{e[t](performance.now())}catch(e){Qe(e)}}e.length=0};var at=function(){nt(et);{nt(tt);if(u=et.length>0){d.raf(at)}}};var it=function(e){return p().then(e)};var lt=rt(tt,true)}}}));
@@ -2,4 +2,4 @@
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
4
  */
5
- import{r as t,c as e,h as a,H as i,g as r,F as o}from"./p-cbdf0e6c.js";import{T as s,c as n,d as c,a as l,b as h,g as d,H as p,s as u,i as f,l as m,e as g,n as w,f as v,h as b}from"./p-a20df95c.js";import{g as x,C as y}from"./p-5fda3de2.js";import{g as k}from"./p-72563742.js";import{C as D}from"./p-07ba39b6.js";import"./p-f07d3627.js";import"./p-b2ab0485.js";import"./p-8a63221d.js";let _=class{constructor(a){t(this,a),this.calciteDatePickerChange=e(this,"calciteDatePickerChange",7),this.calciteDatePickerRangeChange=e(this,"calciteDatePickerRangeChange",7),this.intlPrevMonth=s.prevMonth,this.intlNextMonth=s.nextMonth,this.locale=document.documentElement.lang||"en",this.scale="m",this.range=!1,this.proximitySelectionDisabled=!1,this.keyUpHandler=t=>{"Escape"===k(t.key)&&this.reset()},this.monthHeaderSelectChange=t=>{const e=new Date(t.detail);this.range?("end"===this.activeRange?this.activeEndDate=e:this.activeStartDate=e,this.mostRecentRangeValue=e):this.activeDate=e},this.monthActiveDateChange=t=>{const e=new Date(t.detail);this.range?("end"===this.activeRange?this.activeEndDate=e:this.activeStartDate=e,this.mostRecentRangeValue=e):this.activeDate=e},this.monthHoverChange=t=>{if(!this.startAsDate)return void(this.hoverRange=void 0);const e=new Date(t.detail);if(this.hoverRange={focused:this.activeRange||"start",start:this.startAsDate,end:this.endAsDate},this.proximitySelectionDisabled)this.endAsDate?this.hoverRange=void 0:e<this.startAsDate?this.hoverRange={focused:"start",start:e,end:this.startAsDate}:(this.hoverRange.end=e,this.hoverRange.focused="end");else if(this.endAsDate){const t=n(e,this.startAsDate),a=n(e,this.endAsDate);a>0?(this.hoverRange.end=e,this.hoverRange.focused="end"):t<0||t>a?(this.hoverRange.start=e,this.hoverRange.focused="start"):(this.hoverRange.end=e,this.hoverRange.focused="end")}else e<this.startAsDate?this.hoverRange={focused:"start",start:e,end:this.startAsDate}:(this.hoverRange.end=e,this.hoverRange.focused="end")},this.monthMouseOutChange=()=>{this.hoverRange&&(this.hoverRange=void 0)},this.reset=()=>{var t,e,a,i,r,o;this.valueAsDate&&(null===(t=this.valueAsDate)||void 0===t?void 0:t.getTime())!==(null===(e=this.activeDate)||void 0===e?void 0:e.getTime())&&(this.activeDate=new Date(this.valueAsDate)),this.startAsDate&&(null===(a=this.startAsDate)||void 0===a?void 0:a.getTime())!==(null===(i=this.activeStartDate)||void 0===i?void 0:i.getTime())&&(this.activeStartDate=new Date(this.startAsDate)),this.endAsDate&&(null===(r=this.endAsDate)||void 0===r?void 0:r.getTime())!==(null===(o=this.activeEndDate)||void 0===o?void 0:o.getTime())&&(this.activeEndDate=new Date(this.endAsDate))},this.monthDateChange=t=>{const e=new Date(t.detail);if(!this.range)return this.value=c(e),void(this.activeDate=e);if(!this.startAsDate||!this.endAsDate&&e<this.startAsDate)this.startAsDate&&this.setEndDate(new Date(this.startAsDate)),"end"==this.activeRange?this.setEndDate(e):this.setStartDate(e);else if(this.endAsDate)if(this.proximitySelectionDisabled)this.setStartDate(e),this.endAsDate=this.activeEndDate=this.end=void 0;else if(this.activeRange)"end"==this.activeRange?this.setEndDate(e):this.setStartDate(e);else{const t=n(e,this.startAsDate),a=n(e,this.endAsDate);0===a||t<0?this.setStartDate(e):0===t||a<0?this.setEndDate(e):t<a?this.setStartDate(e):this.setEndDate(e)}else this.setEndDate(e)}}handleValueAsDate(t){this.activeDate=t,this.calciteDatePickerChange.emit(t)}handleRangeChange(){const{startAsDate:t,endAsDate:e}=this;this.activeEndDate=e,this.activeStartDate=t}connectedCallback(){this.value&&(this.valueAsDate=l(this.value)),this.start&&this.setStartAsDate(l(this.start)),this.end&&this.setEndAsDate(l(this.end)),this.min&&(this.minAsDate=l(this.min)),this.max&&(this.maxAsDate=l(this.max))}async componentWillLoad(){await this.loadLocaleData()}render(){var t;const e=h(this.range?this.startAsDate:this.valueAsDate,this.minAsDate,this.maxAsDate);let r=this.range?this.getActiveStartDate(e,this.minAsDate,this.maxAsDate):this.getActiveDate(e,this.minAsDate,this.maxAsDate);const o=this.range?h(this.endAsDate,this.minAsDate,this.maxAsDate):null,s=this.getActiveEndDate(o,this.minAsDate,this.maxAsDate);"end"!==this.activeRange&&("end"!==(null===(t=this.hoverRange)||void 0===t?void 0:t.focused)||this.proximitySelectionDisabled&&!o)||!s||(r=s),this.range&&this.mostRecentRangeValue&&(r=this.mostRecentRangeValue);const n=this.range&&this.activeRange?"start"===this.activeRange?this.minAsDate:e||this.minAsDate:this.minAsDate,c=this.range&&this.activeRange&&"start"===this.activeRange&&o||this.maxAsDate,l=x(this.el);return a(i,{onBlur:this.reset,onKeyUp:this.keyUpHandler,role:"application"},this.renderCalendar(r,l,c,n,e,o))}valueWatcher(t){this.valueAsDate=l(t)}startWatcher(t){this.setStartAsDate(l(t))}endWatcher(t){this.setEndAsDate(l(t))}async loadLocaleData(){const{locale:t}=this;this.localeData=await d(t)}renderCalendar(t,e,i,r,o,s){return this.localeData&&[a("calcite-date-picker-month-header",{activeDate:t,dir:e,headingLevel:this.headingLevel||p,intlNextMonth:this.intlNextMonth,intlPrevMonth:this.intlPrevMonth,localeData:this.localeData,max:i,min:r,onCalciteDatePickerSelect:this.monthHeaderSelectChange,scale:this.scale,selectedDate:"end"===this.activeRange?s:o||new Date}),a("calcite-date-picker-month",{activeDate:t,dir:e,endDate:this.range?s:void 0,hoverRange:this.hoverRange,localeData:this.localeData,max:i,min:r,onCalciteDatePickerActiveDateChange:this.monthActiveDateChange,onCalciteDatePickerHover:this.monthHoverChange,onCalciteDatePickerMouseOut:this.monthMouseOutChange,onCalciteDatePickerSelect:this.monthDateChange,scale:this.scale,selectedDate:"end"===this.activeRange?s:o,startDate:this.range?o:void 0})]}setStartAsDate(t,e){this.startAsDate=t,this.mostRecentRangeValue=this.startAsDate,e&&this.calciteDatePickerRangeChange.emit({startDate:t,endDate:this.endAsDate})}setEndAsDate(t,e){this.endAsDate=t,this.mostRecentRangeValue=this.endAsDate,e&&this.calciteDatePickerRangeChange.emit({startDate:this.startAsDate,endDate:t})}setEndDate(t){this.end=c(t),this.setEndAsDate(t,!0),this.activeEndDate=t}setStartDate(t){this.start=c(t),this.setStartAsDate(t,!0),this.activeStartDate=t}getActiveDate(t,e,a){return h(this.activeDate,e,a)||t||h(new Date,e,a)}getActiveStartDate(t,e,a){return h(this.activeStartDate,e,a)||t||h(new Date,e,a)}getActiveEndDate(t,e,a){return h(this.activeEndDate,e,a)||t||h(new Date,e,a)}static get assetsDirs(){return["assets"]}get el(){return r(this)}static get watchers(){return{valueAsDate:["handleValueAsDate"],startAsDate:["handleRangeChange"],endAsDate:["handleRangeChange"],value:["valueWatcher"],start:["startWatcher"],end:["endWatcher"],locale:["loadLocaleData"]}}};_.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:300ms}.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:150ms ease-in-out}:host([hidden]){display:none}:host{display:inline-block;vertical-align:top;width:100%;position:relative;overflow:visible;border-radius:0;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-2);background-color:var(--calcite-ui-foreground-1)}:host([scale=s]){max-width:216px}:host([scale=m]){max-width:286px}:host([scale=l]){max-width:398px}";let z=class{constructor(a){t(this,a),this.calciteDaySelect=e(this,"calciteDaySelect",7),this.calciteDayHover=e(this,"calciteDayHover",7),this.disabled=!1,this.currentMonth=!1,this.selected=!1,this.highlighted=!1,this.range=!1,this.startOfRange=!1,this.endOfRange=!1,this.rangeHover=!1,this.active=!1,this.onClick=()=>{!this.disabled&&this.calciteDaySelect.emit()},this.keyDownHandler=t=>{const e=k(t.key);" "!==e&&"Enter"!==e||!this.disabled&&this.calciteDaySelect.emit()}}mouseoverHandler(){this.calciteDayHover.emit({disabled:this.disabled})}render(){const t=String(this.day).split("").map((t=>this.localeData.numerals[t])).join(""),e=x(this.el);return a(i,{onClick:this.onClick,onKeyDown:this.keyDownHandler,role:"gridcell",tabindex:this.active?0:-1},a("div",{class:{"day-v-wrapper":!0,[y.rtl]:"rtl"===e}},a("div",{class:"day-wrapper"},a("span",{class:"day"},a("span",{class:"text"},t)))))}get el(){return r(this)}};z.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:300ms}.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:150ms ease-in-out}:host([hidden]){display:none}:host{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;outline:2px solid transparent;outline-offset:2px;color:var(--calcite-ui-text-3);cursor:pointer;min-width:0;width:14.2857142857%}.day-v-wrapper{-ms-flex:1 1 auto;flex:1 1 auto}.day-wrapper{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center}.day{display:-ms-flexbox;display:flex;border-radius:9999px;font-size:var(--calcite-font-size--2);line-height:1rem;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;line-height:1;color:var(--calcite-ui-text-3);-webkit-transition-property:all;transition-property:all;opacity:var(--calcite-ui-opacity-disabled);background:none;-webkit-box-shadow:0 0 0 2px transparent, 0 0 0 0px transparent;box-shadow:0 0 0 2px transparent, 0 0 0 0px transparent}.text{margin-top:1px;margin-right:0;margin-bottom:0;margin-left:1px}:host([scale=s]) .day-v-wrapper{padding-top:0.125rem;padding-bottom:0.125rem}:host([scale=s]) .day-wrapper{padding:0}:host([scale=s]) .day{height:27px;width:27px;font-size:var(--calcite-font-size--2)}:host([scale=m]) .day-v-wrapper{padding-top:0.25rem;padding-bottom:0.25rem}:host([scale=m]) .day-wrapper{padding-left:0.25rem;padding-right:0.25rem}:host([scale=m]) .day{height:33px;width:33px;font-size:var(--calcite-font-size--1)}:host([scale=l]) .day-v-wrapper{padding-top:0.25rem;padding-bottom:0.25rem}:host([scale=l]) .day-wrapper{padding-left:0.25rem;padding-right:0.25rem}:host([scale=l]) .day{height:43px;width:43px;font-size:var(--calcite-font-size-0)}:host([current-month]) .day{opacity:1}:host([disabled]){cursor:default;opacity:0.25}:host(:hover:not([disabled])) .day,:host([active]:not([range])) .day{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1)}:host(:focus),:host([active]){z-index:1}:host(:focus:not([disabled])) .day{-webkit-box-shadow:0 0 0 2px var(--calcite-ui-foreground-1), 0 0 0 4px var(--calcite-ui-brand);box-shadow:0 0 0 2px var(--calcite-ui-foreground-1), 0 0 0 4px var(--calcite-ui-brand)}:host([selected]) .day{font-weight:var(--calcite-font-weight-medium);background-color:var(--calcite-ui-brand) !important;color:var(--calcite-ui-foreground-1) !important;z-index:1}:host([range][selected]) .day-wrapper{background-color:var(--calcite-ui-foreground-current)}:host([start-of-range]) :not(.calcite--rtl) .day-wrapper,:host([end-of-range]) .calcite--rtl .day-wrapper{border-top-left-radius:40%;border-bottom-left-radius:40%;-webkit-box-shadow:inset 4px 0 var(--calcite-ui-foreground-1);box-shadow:inset 4px 0 var(--calcite-ui-foreground-1)}:host([start-of-range]) :not(.calcite--rtl) .day,:host([end-of-range]) .calcite--rtl .day{opacity:1}:host([start-of-range]:not(:focus)) :not(.calcite--rtl) .day,:host([end-of-range]:not(:focus)) .calcite--rtl .day{-webkit-box-shadow:0 0 0 2px var(--calcite-ui-foreground-1);box-shadow:0 0 0 2px var(--calcite-ui-foreground-1)}:host([end-of-range]) :not(.calcite--rtl) .day-wrapper,:host([start-of-range]) .calcite--rtl .day-wrapper{border-top-right-radius:40%;border-bottom-right-radius:40%;-webkit-box-shadow:inset -4px 0 var(--calcite-ui-foreground-1);box-shadow:inset -4px 0 var(--calcite-ui-foreground-1)}:host([end-of-range]) :not(.calcite--rtl) .day,:host([start-of-range]) .calcite--rtl .day{opacity:1}:host([end-of-range]:not(:focus)) :not(.calcite--rtl) .day,:host([start-of-range]:not(:focus)) .calcite--rtl .day{-webkit-box-shadow:0 0 0 2px var(--calcite-ui-foreground-1);box-shadow:0 0 0 2px var(--calcite-ui-foreground-1)}:host([end-of-range][scale=l]) :not(.calcite--rtl) .day-wrapper,:host([start-of-range][scale=l]) .calcite--rtl .day-wrapper{-webkit-box-shadow:inset -8px 0 var(--calcite-ui-foreground-1);box-shadow:inset -8px 0 var(--calcite-ui-foreground-1)}:host([start-of-range][scale=l]) :not(.calcite--rtl) .day-wrapper,:host([end-of-range][scale=l]) .calcite--rtl .day-wrapper{-webkit-box-shadow:inset 8px 0 var(--calcite-ui-foreground-1);box-shadow:inset 8px 0 var(--calcite-ui-foreground-1)}:host([highlighted]) .day-wrapper{background-color:var(--calcite-ui-foreground-current)}:host([highlighted]) .day-wrapper .day{color:var(--calcite-ui-text-1)}:host([highlighted]:not([active]:focus)) .day{border-radius:0;color:var(--calcite-ui-text-1)}:host([range-hover]:not([selected])) .day-wrapper{background-color:var(--calcite-ui-foreground-2)}:host([range-hover]:not([selected])) .day{border-radius:0}:host([end-of-range][range-hover]) :not(.calcite--rtl) .day-wrapper,:host([start-of-range][range-hover]) .calcite--rtl .day-wrapper{background-image:-webkit-gradient(linear, left top, right top, from(var(--calcite-ui-foreground-current)), color-stop(var(--calcite-ui-foreground-current)), color-stop(var(--calcite-ui-foreground-2)), to(var(--calcite-ui-foreground-2)));background-image:linear-gradient(to right, var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-2));border-radius:0;-webkit-box-shadow:none;box-shadow:none}:host([start-of-range][range-hover]) :not(.calcite--rtl) .day-wrapper,:host([end-of-range][range-hover]) .calcite--rtl .day-wrapper{background-image:-webkit-gradient(linear, right top, left top, from(var(--calcite-ui-foreground-current)), color-stop(var(--calcite-ui-foreground-current)), color-stop(var(--calcite-ui-foreground-2)), to(var(--calcite-ui-foreground-2)));background-image:linear-gradient(to left, var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-2));border-radius:0;-webkit-box-shadow:none;box-shadow:none}:host(:hover[end-of-range][range-hover]) :not(.calcite--rtl) .day-wrapper,:host(:hover[start-of-range][range-hover]) .calcite--rtl .day-wrapper{background-image:-webkit-gradient(linear, left top, right top, from(var(--calcite-ui-foreground-current)), color-stop(var(--calcite-ui-foreground-current)), color-stop(var(--calcite-ui-foreground-1)), to(var(--calcite-ui-foreground-1)));background-image:linear-gradient(to right, var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-1), var(--calcite-ui-foreground-1));border-radius:0;-webkit-box-shadow:none;box-shadow:none}:host(:hover[start-of-range][range-hover]) :not(.calcite--rtl) .day-wrapper,:host(:hover[end-of-range][range-hover]) .calcite--rtl .day-wrapper{background-image:-webkit-gradient(linear, right top, left top, from(var(--calcite-ui-foreground-current)), color-stop(var(--calcite-ui-foreground-current)), color-stop(var(--calcite-ui-foreground-1)), to(var(--calcite-ui-foreground-1)));background-image:linear-gradient(to left, var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-1), var(--calcite-ui-foreground-1));border-radius:0;-webkit-box-shadow:none;box-shadow:none}:host(:hover[range-hover]:not([selected]).focused--end) :not(.calcite--rtl) .day-wrapper,:host(:hover[range-hover]:not([selected]).focused--start) .calcite--rtl .day-wrapper{background-image:-webkit-gradient(linear, left top, right top, from(var(--calcite-ui-foreground-2)), color-stop(var(--calcite-ui-foreground-2)), color-stop(var(--calcite-ui-foreground-current)), to(var(--calcite-ui-foreground-current)));background-image:linear-gradient(to right, var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-current))}:host(:hover[range-hover]:not([selected]).focused--end) :not(.calcite--rtl) .day,:host(:hover[range-hover]:not([selected]).focused--start) .calcite--rtl .day{border-radius:9999px;opacity:1;-webkit-box-shadow:0 0 0 2px var(--calcite-ui-foreground-1);box-shadow:0 0 0 2px var(--calcite-ui-foreground-1)}:host(:hover[range-hover]:not([selected]).focused--start) :not(.calcite--rtl) .day-wrapper,:host(:hover[range-hover]:not([selected]).focused--end) .calcite--rtl .day-wrapper{background-image:-webkit-gradient(linear, left top, right top, from(var(--calcite-ui-foreground-current)), color-stop(var(--calcite-ui-foreground-current)), color-stop(var(--calcite-ui-foreground-2)), to(var(--calcite-ui-foreground-2)));background-image:linear-gradient(to right, var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-2))}:host(:hover[range-hover]:not([selected]).focused--start) :not(.calcite--rtl) .day,:host(:hover[range-hover]:not([selected]).focused--end) .calcite--rtl .day{border-radius:9999px;opacity:1;-webkit-box-shadow:0 0 0 2px var(--calcite-ui-foreground-1);box-shadow:0 0 0 2px var(--calcite-ui-foreground-1)}:host(:hover[range-hover]:not([selected]).focused--start.hover--outside-range) :not(.calcite--rtl) .day-wrapper,:host(:hover[range-hover]:not([selected]).focused--end.hover--outside-range) .calcite--rtl .day-wrapper{background-image:-webkit-gradient(linear, left top, right top, from(var(--calcite-ui-foreground-1)), color-stop(var(--calcite-ui-foreground-1)), color-stop(var(--calcite-ui-foreground-2)), to(var(--calcite-ui-foreground-2)));background-image:linear-gradient(to right, var(--calcite-ui-foreground-1), var(--calcite-ui-foreground-1), var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-2))}:host(:hover[range-hover]:not([selected]).focused--start.hover--outside-range) :not(.calcite--rtl) .day,:host(:hover[range-hover]:not([selected]).focused--end.hover--outside-range) .calcite--rtl .day{border-radius:9999px;opacity:1;-webkit-box-shadow:0 0 0 2px var(--calcite-ui-foreground-1);box-shadow:0 0 0 2px var(--calcite-ui-foreground-1)}:host(:hover[range-hover]:not([selected]).focused--end.hover--outside-range) :not(.calcite--rtl) .day-wrapper,:host(:hover[range-hover]:not([selected]).focused--start.hover--outside-range) .calcite--rtl .day-wrapper{background-image:-webkit-gradient(linear, left top, right top, from(var(--calcite-ui-foreground-2)), color-stop(var(--calcite-ui-foreground-2)), color-stop(var(--calcite-ui-foreground-1)), to(var(--calcite-ui-foreground-1)));background-image:linear-gradient(to right, var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-1), var(--calcite-ui-foreground-1))}:host(:hover[range-hover]:not([selected]).focused--end.hover--outside-range) :not(.calcite--rtl) .day,:host(:hover[range-hover]:not([selected]).focused--start.hover--outside-range) .calcite--rtl .day{border-radius:9999px;opacity:1;-webkit-box-shadow:0 0 0 2px var(--calcite-ui-foreground-1);box-shadow:0 0 0 2px var(--calcite-ui-foreground-1)}:host(:hover[start-of-range].hover--inside-range.focused--end) .day-wrapper,:host(:hover[end-of-range].hover--inside-range.focused--start) .day-wrapper{background-image:none}:host([start-of-range].hover--inside-range.focused--end) .day-wrapper,:host([end-of-range].hover--inside-range.focused--start) .day-wrapper{background-color:var(--calcite-ui-foreground-2)}:host([highlighted]:last-child) :not(.calcite--rtl) .day-wrapper,:host([range-hover]:last-child) :not(.calcite--rtl) .day-wrapper,:host([highlighted]:first-child) .calcite--rtl .day-wrapper,:host([range-hover]:first-child) .calcite--rtl .day-wrapper{border-top-right-radius:45%;border-bottom-right-radius:45%;-webkit-box-shadow:inset -4px 0px 0px 0px var(--calcite-ui-foreground-1);box-shadow:inset -4px 0px 0px 0px var(--calcite-ui-foreground-1)}:host([highlighted]:first-child) :not(.calcite--rtl) .day-wrapper,:host([range-hover]:first-child) :not(.calcite--rtl) .day-wrapper,:host([highlighted]:last-child) .calcite--rtl .day-wrapper,:host([range-hover]:last-child) .calcite--rtl .day-wrapper{border-top-left-radius:45%;border-bottom-left-radius:45%;-webkit-box-shadow:inset 4px 0px 0px 0px var(--calcite-ui-foreground-1);box-shadow:inset 4px 0px 0px 0px var(--calcite-ui-foreground-1)}:host([scale=s][highlighted]:last-child) :not(.calcite--rtl) .day-wrapper,:host([scale=s][range-hover]:last-child) :not(.calcite--rtl) .day-wrapper,:host([scale=s][highlighted]:first-child) .calcite--rtl .day-wrapper,:host([scale=s][range-hover]:first-child) .calcite--rtl .day-wrapper{-webkit-box-shadow:inset -1px 0px 0px 0px var(--calcite-ui-foreground-1);box-shadow:inset -1px 0px 0px 0px var(--calcite-ui-foreground-1)}:host([scale=s][highlighted]:first-child) :not(.calcite--rtl) .day-wrapper,:host([scale=s][range-hover]:first-child) :not(.calcite--rtl) .day-wrapper,:host([scale=s][highlighted]:last-child) .calcite--rtl .day-wrapper,:host([scale=s][range-hover]:last-child) .calcite--rtl .day-wrapper{-webkit-box-shadow:inset 1px 0px 0px 0px var(--calcite-ui-foreground-1);box-shadow:inset 1px 0px 0px 0px var(--calcite-ui-foreground-1)}:host([scale=l][highlighted]:first-child) :not(.calcite--rtl) .day-wrapper,:host([scale=l][range-hover]:first-child) :not(.calcite--rtl) .day-wrapper,:host([scale=l][highlighted]:last-child) .calcite--rtl .day-wrapper,:host([scale=l][range-hover]:last-child) .calcite--rtl .day-wrapper{-webkit-box-shadow:inset 6px 0px 0px 0px var(--calcite-ui-foreground-1);box-shadow:inset 6px 0px 0px 0px var(--calcite-ui-foreground-1)}:host([scale=l][highlighted]:last-child) :not(.calcite--rtl) .day-wrapper,:host([scale=l][range-hover]:last-child) :not(.calcite--rtl) .day-wrapper,:host([scale=l][highlighted]:first-child) .calcite--rtl .day-wrapper,:host([scale=l][range-hover]:first-child) .calcite--rtl .day-wrapper{-webkit-box-shadow:inset -6px 0px 0px 0px var(--calcite-ui-foreground-1);box-shadow:inset -6px 0px 0px 0px var(--calcite-ui-foreground-1)}";let C=class{constructor(a){t(this,a),this.calciteDatePickerSelect=e(this,"calciteDatePickerSelect",7),this.calciteDatePickerHover=e(this,"calciteDatePickerHover",7),this.calciteDatePickerActiveDateChange=e(this,"calciteDatePickerActiveDateChange",7),this.calciteDatePickerMouseOut=e(this,"calciteDatePickerMouseOut",7),this.activeDate=new Date,this.keyDownHandler=t=>{const e="rtl"===this.el.dir;switch(k(t.key)){case"ArrowUp":t.preventDefault(),this.addDays(-7);break;case"ArrowRight":t.preventDefault(),this.addDays(e?-1:1);break;case"ArrowDown":t.preventDefault(),this.addDays(7);break;case"ArrowLeft":t.preventDefault(),this.addDays(e?1:-1);break;case"PageUp":t.preventDefault(),this.addMonths(-1);break;case"PageDown":t.preventDefault(),this.addMonths(1);break;case"Home":t.preventDefault(),this.activeDate.setDate(1),this.addDays();break;case"End":t.preventDefault(),this.activeDate.setDate(new Date(this.activeDate.getFullYear(),this.activeDate.getMonth()+1,0).getDate()),this.addDays();break;case"Enter":case" ":t.preventDefault();break;case"Tab":this.activeFocus=!1}},this.disableActiveFocus=()=>{this.activeFocus=!1},this.dayHover=t=>{const e=t.target;t.detail.disabled?this.calciteDatePickerMouseOut.emit():this.calciteDatePickerHover.emit(e.value)},this.daySelect=t=>{this.calciteDatePickerSelect.emit(t.target.value)}}mouseoutHandler(){this.calciteDatePickerMouseOut.emit()}render(){const t=this.activeDate.getMonth(),e=this.activeDate.getFullYear(),r=this.localeData.weekStart%7,{abbreviated:o,short:s,narrow:n}=this.localeData.days,c="s"===this.scale?n||s||o:s||o||n,l=[...c.slice(r,7),...c.slice(0,r)],h=this.getCurrentMonthDays(t,e),d=this.getPrevMonthdays(t,e,r),p=this.getNextMonthDays(t,e,r),f=x(this.el),m=[...d.map((a=>{const i=new Date(e,t-1,a);return this.renderDateDay(!1,a,f,i)})),...h.map((a=>{const i=new Date(e,t,a),r=u(i,this.activeDate);return this.renderDateDay(r,a,f,i,!0,!0)})),...p.map((a=>{const i=new Date(e,t+1,a);return this.renderDateDay(!1,a,f,i)}))],g=[];for(let t=0;t<m.length;t+=7)g.push(m.slice(t,t+7));return a(i,{onFocusOut:this.disableActiveFocus,onKeyDown:this.keyDownHandler},a("div",{class:"calender",role:"grid"},a("div",{class:"week-headers",role:"row"},l.map((t=>a("span",{class:"week-header",role:"columnheader"},t)))),g.map((t=>a("div",{class:"week-days",role:"row"},t)))))}addMonths(t){const e=new Date(this.activeDate);e.setMonth(this.activeDate.getMonth()+t),this.calciteDatePickerActiveDateChange.emit(h(e,this.min,this.max)),this.activeFocus=!0}addDays(t=0){const e=new Date(this.activeDate);e.setDate(this.activeDate.getDate()+t),this.calciteDatePickerActiveDateChange.emit(h(e,this.min,this.max)),this.activeFocus=!0}getPrevMonthdays(t,e,a){const i=new Date(e,t,0),r=i.getDate(),o=[];if(i.getDay()-6===a)return o;for(let t=i.getDay();t>=a;t--)o.push(r-t);return o}getCurrentMonthDays(t,e){const a=new Date(e,t+1,0).getDate(),i=[];for(let t=0;t<a;t++)i.push(t+1);return i}getNextMonthDays(t,e,a){const i=new Date(e,t+1,0).getDay(),r=[];if(i===(a+6)%7)return r;for(let t=0;t<(6-(i-a))%7;t++)r.push(t+1);return r}betweenSelectedRange(t){return!(!(this.startDate&&this.endDate&&t>this.startDate&&t<this.endDate)||this.isRangeHover(t))}isSelected(t){return!!(u(t,this.selectedDate)||this.startDate&&u(t,this.startDate)||this.endDate&&u(t,this.endDate))}isStartOfRange(t){return!(!this.startDate||u(this.startDate,this.endDate)||!u(this.startDate,t)||this.isEndOfRange(t))}isEndOfRange(t){return!!(this.endDate&&!u(this.startDate,this.endDate)&&u(this.endDate,t)||!this.endDate&&this.hoverRange&&u(this.startDate,this.hoverRange.end)&&u(t,this.hoverRange.end))}renderDateDay(t,e,i,r,o,s){var n;const c=this.isFocusedOnStart(),l=this.isHoverInRange()||!this.endDate&&this.hoverRange&&u(null===(n=this.hoverRange)||void 0===n?void 0:n.end,this.startDate);return a("calcite-date-picker-day",{active:t,class:{"hover--inside-range":this.startDate&&l,"hover--outside-range":this.startDate&&!l,"focused--start":c,"focused--end":!c},currentMonth:o,day:e,dir:i,disabled:!f(r,this.min,this.max),endOfRange:this.isEndOfRange(r),highlighted:this.betweenSelectedRange(r),key:r.toDateString(),localeData:this.localeData,onCalciteDayHover:this.dayHover,onCalciteDaySelect:this.daySelect,range:!!this.startDate&&!!this.endDate&&!u(this.startDate,this.endDate),rangeHover:this.isRangeHover(r),ref:e=>{s&&t&&this.activeFocus&&(null==e||e.focus())},scale:this.scale,selected:this.isSelected(r),startOfRange:this.isStartOfRange(r),value:r})}isFocusedOnStart(){var t;return"start"===(null===(t=this.hoverRange)||void 0===t?void 0:t.focused)}isHoverInRange(){if(!this.hoverRange)return!1;const{start:t,end:e}=this.hoverRange;return!!(!this.isFocusedOnStart()&&this.startDate&&(!this.endDate||e<this.endDate)||this.isFocusedOnStart()&&this.startDate&&t>this.startDate)}isRangeHover(t){if(!this.hoverRange)return!1;const{start:e,end:a}=this.hoverRange,i=this.isFocusedOnStart(),r=this.isHoverInRange(),o=r&&(!i&&t>this.startDate&&(t<a||u(t,a))||i&&t<this.endDate&&(t>e||u(t,e))),s=!r&&(!i&&t>=this.endDate&&(t<a||u(t,a))||i&&(t<this.startDate||this.endDate&&u(t,this.startDate))&&(t>e||u(t,e)));return o||s}get el(){return r(this)}};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:300ms}.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:150ms ease-in-out}:host([hidden]){display:none}.calender{margin-bottom:0.25rem}.week-headers{display:-ms-flexbox;display:flex;border-width:0;border-top-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);padding-top:0;padding-bottom:0;padding-left:0.25rem;padding-right:0.25rem}.week-header{color:var(--calcite-ui-text-3);text-align:center;font-weight:var(--calcite-font-weight-bold);width:14.2857142857%}:host([scale=s]) .week-header{font-size:var(--calcite-font-size--2);line-height:1rem;padding-top:0.5rem;padding-bottom:0.75rem;padding-left:0;padding-right:0}:host([scale=m]) .week-header{font-size:var(--calcite-font-size--2);line-height:1rem;padding-top:0.75rem;padding-bottom:1rem;padding-left:0;padding-right:0}:host([scale=l]) .week-header{font-size:var(--calcite-font-size--1);line-height:1rem;padding-top:1rem;padding-bottom:1.25rem;padding-left:0;padding-right:0}.week-days{outline:2px solid transparent;outline-offset:2px;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;padding-top:0;padding-bottom:0;padding-left:6px;padding-right:6px}";let A=class{constructor(a){t(this,a),this.calciteDatePickerSelect=e(this,"calciteDatePickerSelect",7),this.onYearKey=t=>{const e=t.target.value;switch(k(t.key)){case"ArrowDown":t.preventDefault(),this.setYear(e,-1);break;case"ArrowUp":t.preventDefault(),this.setYear(e,1)}},this.yearChanged=t=>{this.setYear(t.target.value)},this.prevMonthClick=t=>{this.handleArrowClick(t,this.prevMonthDate)},this.prevMonthKeydown=t=>{const e=k(t.key);" "!==e&&"Enter"!==e||this.prevMonthClick(t)},this.nextMonthClick=t=>{this.handleArrowClick(t,this.nextMonthDate)},this.nextMonthKeydown=t=>{const e=k(t.key);" "!==e&&"Enter"!==e||this.nextMonthClick(t)},this.handleArrowClick=(t,e)=>{null==t||t.preventDefault(),t.stopPropagation(),this.calciteDatePickerSelect.emit(e)}}connectedCallback(){this.setNextPrevMonthDates()}render(){const t=x(this.el);return a("div",{class:"header",dir:t},this.renderContent(t))}renderContent(t){var e;if(!this.activeDate||!this.localeData)return null;const i=this.activeDate.getMonth(),{months:r,unitOrder:s}=this.localeData,n=(r.wide||r.narrow||r.abbreviated)[i],c=m(this.activeDate.getFullYear(),this.localeData),l="l"===this.scale?"m":"s",h=g(s),d=h.indexOf("y")<h.indexOf("m"),p=null===(e=this.localeData.year)||void 0===e?void 0:e.suffix;return a(o,null,a("a",{"aria-disabled":(this.prevMonthDate.getMonth()===i).toString(),"aria-label":this.intlPrevMonth,class:"chevron",href:"#",onClick:this.prevMonthClick,onKeyDown:this.prevMonthKeydown,role:"button",tabindex:this.prevMonthDate.getMonth()===i?-1:0},a("calcite-icon",{dir:t,"flip-rtl":!0,icon:"chevron-left",scale:l})),a("div",{class:{text:!0,"text--reverse":d}},a(D,{class:"month",level:this.headingLevel},n),a("span",{class:"year-wrap"},a("input",{class:{year:!0,"year--suffix":!!p},inputmode:"numeric",maxlength:"4",minlength:"1",onChange:this.yearChanged,onKeyDown:this.onYearKey,pattern:"\\d*",ref:t=>this.yearInput=t,type:"text",value:c}),p&&a("span",{class:"suffix"},a("span",{"aria-hidden":"true",class:"suffix__invisible"},c)," "+p))),a("a",{"aria-disabled":(this.nextMonthDate.getMonth()===i).toString(),"aria-label":this.intlNextMonth,class:"chevron",href:"#",onClick:this.nextMonthClick,onKeyDown:this.nextMonthKeydown,role:"button",tabindex:this.nextMonthDate.getMonth()===i?-1:0},a("calcite-icon",{dir:t,"flip-rtl":!0,icon:"chevron-right",scale:l})))}setNextPrevMonthDates(){this.activeDate&&(this.nextMonthDate=h(w(this.activeDate),this.min,this.max),this.prevMonthDate=h(v(this.activeDate),this.min,this.max))}setYear(t,e=0){const{min:a,max:i,activeDate:r,localeData:o,yearInput:s}=this,n=b(t,o),c=n.toString().length,l=!isNaN(n)&&n+e,d=l&&(!a||a.getFullYear()<=l)&&(!i||i.getFullYear()>=l);if(l&&d&&c===t.length){const t=new Date(r);t.setFullYear(l);const e=h(t,a,i);this.calciteDatePickerSelect.emit(e),s.value=m(e.getFullYear(),o)}else s.value=m(r.getFullYear(),o)}get el(){return r(this)}static get watchers(){return{min:["setNextPrevMonthDates"],max:["setNextPrevMonthDates"],activeDate:["setNextPrevMonthDates"]}}};A.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:300ms}.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:150ms ease-in-out}:host([hidden]){display:none}:host{display:block}.header{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;padding-top:0;padding-bottom:0;padding-left:0.25rem;padding-right:0.25rem}:host([scale=s]) .text{font-size:var(--calcite-font-size--1);line-height:1rem;margin-top:0.5rem;margin-bottom:0.5rem}:host([scale=s]) .chevron{height:2.25rem}:host([scale=m]) .text{font-size:var(--calcite-font-size-0);line-height:1.25rem;margin-top:0.75rem;margin-bottom:0.75rem}:host([scale=m]) .chevron{height:3rem}:host([scale=l]) .text{font-size:var(--calcite-font-size-1);line-height:1.5rem;margin-top:1rem;margin-bottom:1rem}:host([scale=l]) .chevron{height:3.5rem}.chevron{color:var(--calcite-ui-text-3);-ms-flex-positive:0;flex-grow:0;-webkit-box-sizing:content-box;box-sizing:content-box;outline:2px solid transparent;outline-offset:2px;padding-left:0.25rem;padding-right:0.25rem;margin-left:-0.25rem;margin-right:-0.25rem;border-style:none;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);cursor:pointer;-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);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;width:14.2857142857%}.chevron:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}.chevron:hover,.chevron:focus{color:var(--calcite-ui-text-1);background-color:var(--calcite-ui-foreground-2);fill:var(--calcite-ui-text-1)}.chevron:active{background-color:var(--calcite-ui-foreground-3)}.chevron[aria-disabled=true]{pointer-events:none;opacity:0}.text{-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;line-height:1;margin-top:auto;margin-bottom:auto;text-align:center;width:100%}.text--reverse{-ms-flex-direction:row-reverse;flex-direction:row-reverse}.month,.year,.suffix{color:var(--calcite-ui-text-1);background-color:var(--calcite-ui-foreground-1);font-weight:var(--calcite-font-weight-medium);line-height:1.25;margin-left:0.25rem;margin-right:0.25rem;margin-top:auto;margin-bottom:auto;display:inline-block;font-size:inherit}.year{font-family:inherit;text-align:center;border-style:none;width:3rem;background-color:transparent;position:relative;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;z-index:2}.year:hover{-webkit-transition-duration:100ms;transition-duration:100ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transition-property:outline-color;transition-property:outline-color;outline:2px solid var(--calcite-ui-border-2);outline-offset:2px}.year:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:2px}.year--suffix{width:4rem;text-align:left}.year-wrap{position:relative}.suffix{position:absolute;width:4rem;white-space:nowrap;text-align:left;top:0;left:0}.suffix__invisible{visibility:hidden}";export{_ as calcite_date_picker,z as calcite_date_picker_day,C as calcite_date_picker_month,A as calcite_date_picker_month_header}
5
+ import{r as t,c as e,h as a,H as i,g as r,F as o}from"./p-05d1dfc6.js";import{T as s,c as n,d as c,a as l,b as h,g as d,H as p,s as u,i as f,l as m,e as g,n as w,f as v,h as b}from"./p-809ddb6a.js";import{a as x,C as y}from"./p-52cc870b.js";import{g as k}from"./p-72563742.js";import{C as D}from"./p-45257edb.js";import"./p-f07d3627.js";import"./p-b2ab0485.js";import"./p-8a63221d.js";let _=class{constructor(a){t(this,a),this.calciteDatePickerChange=e(this,"calciteDatePickerChange",7),this.calciteDatePickerRangeChange=e(this,"calciteDatePickerRangeChange",7),this.intlPrevMonth=s.prevMonth,this.intlNextMonth=s.nextMonth,this.locale=document.documentElement.lang||"en",this.scale="m",this.range=!1,this.proximitySelectionDisabled=!1,this.keyUpHandler=t=>{"Escape"===k(t.key)&&this.reset()},this.monthHeaderSelectChange=t=>{const e=new Date(t.detail);this.range?("end"===this.activeRange?this.activeEndDate=e:this.activeStartDate=e,this.mostRecentRangeValue=e):this.activeDate=e},this.monthActiveDateChange=t=>{const e=new Date(t.detail);this.range?("end"===this.activeRange?this.activeEndDate=e:this.activeStartDate=e,this.mostRecentRangeValue=e):this.activeDate=e},this.monthHoverChange=t=>{if(!this.startAsDate)return void(this.hoverRange=void 0);const e=new Date(t.detail);if(this.hoverRange={focused:this.activeRange||"start",start:this.startAsDate,end:this.endAsDate},this.proximitySelectionDisabled)this.endAsDate?this.hoverRange=void 0:e<this.startAsDate?this.hoverRange={focused:"start",start:e,end:this.startAsDate}:(this.hoverRange.end=e,this.hoverRange.focused="end");else if(this.endAsDate){const t=n(e,this.startAsDate),a=n(e,this.endAsDate);a>0?(this.hoverRange.end=e,this.hoverRange.focused="end"):t<0||t>a?(this.hoverRange.start=e,this.hoverRange.focused="start"):(this.hoverRange.end=e,this.hoverRange.focused="end")}else e<this.startAsDate?this.hoverRange={focused:"start",start:e,end:this.startAsDate}:(this.hoverRange.end=e,this.hoverRange.focused="end")},this.monthMouseOutChange=()=>{this.hoverRange&&(this.hoverRange=void 0)},this.reset=()=>{var t,e,a,i,r,o;this.valueAsDate&&(null===(t=this.valueAsDate)||void 0===t?void 0:t.getTime())!==(null===(e=this.activeDate)||void 0===e?void 0:e.getTime())&&(this.activeDate=new Date(this.valueAsDate)),this.startAsDate&&(null===(a=this.startAsDate)||void 0===a?void 0:a.getTime())!==(null===(i=this.activeStartDate)||void 0===i?void 0:i.getTime())&&(this.activeStartDate=new Date(this.startAsDate)),this.endAsDate&&(null===(r=this.endAsDate)||void 0===r?void 0:r.getTime())!==(null===(o=this.activeEndDate)||void 0===o?void 0:o.getTime())&&(this.activeEndDate=new Date(this.endAsDate))},this.monthDateChange=t=>{const e=new Date(t.detail);if(!this.range)return this.value=c(e),void(this.activeDate=e);if(!this.startAsDate||!this.endAsDate&&e<this.startAsDate)this.startAsDate&&this.setEndDate(new Date(this.startAsDate)),"end"==this.activeRange?this.setEndDate(e):this.setStartDate(e);else if(this.endAsDate)if(this.proximitySelectionDisabled)this.setStartDate(e),this.endAsDate=this.activeEndDate=this.end=void 0;else if(this.activeRange)"end"==this.activeRange?this.setEndDate(e):this.setStartDate(e);else{const t=n(e,this.startAsDate),a=n(e,this.endAsDate);0===a||t<0?this.setStartDate(e):0===t||a<0?this.setEndDate(e):t<a?this.setStartDate(e):this.setEndDate(e)}else this.setEndDate(e)}}handleValueAsDate(t){this.activeDate=t,this.calciteDatePickerChange.emit(t)}handleRangeChange(){const{startAsDate:t,endAsDate:e}=this;this.activeEndDate=e,this.activeStartDate=t}connectedCallback(){this.value&&(this.valueAsDate=l(this.value)),this.start&&this.setStartAsDate(l(this.start)),this.end&&this.setEndAsDate(l(this.end)),this.min&&(this.minAsDate=l(this.min)),this.max&&(this.maxAsDate=l(this.max))}async componentWillLoad(){await this.loadLocaleData()}render(){var t;const e=h(this.range?this.startAsDate:this.valueAsDate,this.minAsDate,this.maxAsDate);let r=this.range?this.getActiveStartDate(e,this.minAsDate,this.maxAsDate):this.getActiveDate(e,this.minAsDate,this.maxAsDate);const o=this.range?h(this.endAsDate,this.minAsDate,this.maxAsDate):null,s=this.getActiveEndDate(o,this.minAsDate,this.maxAsDate);"end"!==this.activeRange&&("end"!==(null===(t=this.hoverRange)||void 0===t?void 0:t.focused)||this.proximitySelectionDisabled&&!o)||!s||(r=s),this.range&&this.mostRecentRangeValue&&(r=this.mostRecentRangeValue);const n=this.range&&this.activeRange?"start"===this.activeRange?this.minAsDate:e||this.minAsDate:this.minAsDate,c=this.range&&this.activeRange&&"start"===this.activeRange&&o||this.maxAsDate,l=x(this.el);return a(i,{onBlur:this.reset,onKeyUp:this.keyUpHandler,role:"application"},this.renderCalendar(r,l,c,n,e,o))}valueWatcher(t){this.valueAsDate=l(t)}startWatcher(t){this.setStartAsDate(l(t))}endWatcher(t){this.setEndAsDate(l(t))}async loadLocaleData(){const{locale:t}=this;this.localeData=await d(t)}renderCalendar(t,e,i,r,o,s){return this.localeData&&[a("calcite-date-picker-month-header",{activeDate:t,dir:e,headingLevel:this.headingLevel||p,intlNextMonth:this.intlNextMonth,intlPrevMonth:this.intlPrevMonth,localeData:this.localeData,max:i,min:r,onCalciteDatePickerSelect:this.monthHeaderSelectChange,scale:this.scale,selectedDate:"end"===this.activeRange?s:o||new Date}),a("calcite-date-picker-month",{activeDate:t,dir:e,endDate:this.range?s:void 0,hoverRange:this.hoverRange,localeData:this.localeData,max:i,min:r,onCalciteDatePickerActiveDateChange:this.monthActiveDateChange,onCalciteDatePickerHover:this.monthHoverChange,onCalciteDatePickerMouseOut:this.monthMouseOutChange,onCalciteDatePickerSelect:this.monthDateChange,scale:this.scale,selectedDate:"end"===this.activeRange?s:o,startDate:this.range?o:void 0})]}setStartAsDate(t,e){this.startAsDate=t,this.mostRecentRangeValue=this.startAsDate,e&&this.calciteDatePickerRangeChange.emit({startDate:t,endDate:this.endAsDate})}setEndAsDate(t,e){this.endAsDate=t,this.mostRecentRangeValue=this.endAsDate,e&&this.calciteDatePickerRangeChange.emit({startDate:this.startAsDate,endDate:t})}setEndDate(t){this.end=c(t),this.setEndAsDate(t,!0),this.activeEndDate=t}setStartDate(t){this.start=c(t),this.setStartAsDate(t,!0),this.activeStartDate=t}getActiveDate(t,e,a){return h(this.activeDate,e,a)||t||h(new Date,e,a)}getActiveStartDate(t,e,a){return h(this.activeStartDate,e,a)||t||h(new Date,e,a)}getActiveEndDate(t,e,a){return h(this.activeEndDate,e,a)||t||h(new Date,e,a)}static get assetsDirs(){return["assets"]}get el(){return r(this)}static get watchers(){return{valueAsDate:["handleValueAsDate"],startAsDate:["handleRangeChange"],endAsDate:["handleRangeChange"],value:["valueWatcher"],start:["startWatcher"],end:["endWatcher"],locale:["loadLocaleData"]}}};_.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:300ms}.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:150ms ease-in-out}:host([hidden]){display:none}:host{display:inline-block;vertical-align:top;width:100%;position:relative;overflow:visible;border-radius:0;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-2);background-color:var(--calcite-ui-foreground-1)}:host([scale=s]){max-width:216px}:host([scale=m]){max-width:286px}:host([scale=l]){max-width:398px}";let z=class{constructor(a){t(this,a),this.calciteDaySelect=e(this,"calciteDaySelect",7),this.calciteDayHover=e(this,"calciteDayHover",7),this.disabled=!1,this.currentMonth=!1,this.selected=!1,this.highlighted=!1,this.range=!1,this.startOfRange=!1,this.endOfRange=!1,this.rangeHover=!1,this.active=!1,this.onClick=()=>{!this.disabled&&this.calciteDaySelect.emit()},this.keyDownHandler=t=>{const e=k(t.key);" "!==e&&"Enter"!==e||!this.disabled&&this.calciteDaySelect.emit()}}mouseoverHandler(){this.calciteDayHover.emit({disabled:this.disabled})}render(){const t=String(this.day).split("").map((t=>this.localeData.numerals[t])).join(""),e=x(this.el);return a(i,{onClick:this.onClick,onKeyDown:this.keyDownHandler,role:"gridcell",tabindex:this.active?0:-1},a("div",{class:{"day-v-wrapper":!0,[y.rtl]:"rtl"===e}},a("div",{class:"day-wrapper"},a("span",{class:"day"},a("span",{class:"text"},t)))))}get el(){return r(this)}};z.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:300ms}.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:150ms ease-in-out}:host([hidden]){display:none}:host{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;outline:2px solid transparent;outline-offset:2px;color:var(--calcite-ui-text-3);cursor:pointer;min-width:0;width:14.2857142857%}.day-v-wrapper{-ms-flex:1 1 auto;flex:1 1 auto}.day-wrapper{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center}.day{display:-ms-flexbox;display:flex;border-radius:9999px;font-size:var(--calcite-font-size--2);line-height:1rem;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;line-height:1;color:var(--calcite-ui-text-3);-webkit-transition-property:all;transition-property:all;opacity:var(--calcite-ui-opacity-disabled);background:none;-webkit-box-shadow:0 0 0 2px transparent, 0 0 0 0px transparent;box-shadow:0 0 0 2px transparent, 0 0 0 0px transparent}.text{margin-top:1px;margin-right:0;margin-bottom:0;margin-left:1px}:host([scale=s]) .day-v-wrapper{padding-top:0.125rem;padding-bottom:0.125rem}:host([scale=s]) .day-wrapper{padding:0}:host([scale=s]) .day{height:27px;width:27px;font-size:var(--calcite-font-size--2)}:host([scale=m]) .day-v-wrapper{padding-top:0.25rem;padding-bottom:0.25rem}:host([scale=m]) .day-wrapper{padding-left:0.25rem;padding-right:0.25rem}:host([scale=m]) .day{height:33px;width:33px;font-size:var(--calcite-font-size--1)}:host([scale=l]) .day-v-wrapper{padding-top:0.25rem;padding-bottom:0.25rem}:host([scale=l]) .day-wrapper{padding-left:0.25rem;padding-right:0.25rem}:host([scale=l]) .day{height:43px;width:43px;font-size:var(--calcite-font-size-0)}:host([current-month]) .day{opacity:1}:host([disabled]){cursor:default;opacity:0.25}:host(:hover:not([disabled])) .day,:host([active]:not([range])) .day{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1)}:host(:focus),:host([active]){z-index:1}:host(:focus:not([disabled])) .day{-webkit-box-shadow:0 0 0 2px var(--calcite-ui-foreground-1), 0 0 0 4px var(--calcite-ui-brand);box-shadow:0 0 0 2px var(--calcite-ui-foreground-1), 0 0 0 4px var(--calcite-ui-brand)}:host([selected]) .day{font-weight:var(--calcite-font-weight-medium);background-color:var(--calcite-ui-brand) !important;color:var(--calcite-ui-foreground-1) !important;z-index:1}:host([range][selected]) .day-wrapper{background-color:var(--calcite-ui-foreground-current)}:host([start-of-range]) :not(.calcite--rtl) .day-wrapper,:host([end-of-range]) .calcite--rtl .day-wrapper{border-top-left-radius:40%;border-bottom-left-radius:40%;-webkit-box-shadow:inset 4px 0 var(--calcite-ui-foreground-1);box-shadow:inset 4px 0 var(--calcite-ui-foreground-1)}:host([start-of-range]) :not(.calcite--rtl) .day,:host([end-of-range]) .calcite--rtl .day{opacity:1}:host([start-of-range]:not(:focus)) :not(.calcite--rtl) .day,:host([end-of-range]:not(:focus)) .calcite--rtl .day{-webkit-box-shadow:0 0 0 2px var(--calcite-ui-foreground-1);box-shadow:0 0 0 2px var(--calcite-ui-foreground-1)}:host([end-of-range]) :not(.calcite--rtl) .day-wrapper,:host([start-of-range]) .calcite--rtl .day-wrapper{border-top-right-radius:40%;border-bottom-right-radius:40%;-webkit-box-shadow:inset -4px 0 var(--calcite-ui-foreground-1);box-shadow:inset -4px 0 var(--calcite-ui-foreground-1)}:host([end-of-range]) :not(.calcite--rtl) .day,:host([start-of-range]) .calcite--rtl .day{opacity:1}:host([end-of-range]:not(:focus)) :not(.calcite--rtl) .day,:host([start-of-range]:not(:focus)) .calcite--rtl .day{-webkit-box-shadow:0 0 0 2px var(--calcite-ui-foreground-1);box-shadow:0 0 0 2px var(--calcite-ui-foreground-1)}:host([end-of-range][scale=l]) :not(.calcite--rtl) .day-wrapper,:host([start-of-range][scale=l]) .calcite--rtl .day-wrapper{-webkit-box-shadow:inset -8px 0 var(--calcite-ui-foreground-1);box-shadow:inset -8px 0 var(--calcite-ui-foreground-1)}:host([start-of-range][scale=l]) :not(.calcite--rtl) .day-wrapper,:host([end-of-range][scale=l]) .calcite--rtl .day-wrapper{-webkit-box-shadow:inset 8px 0 var(--calcite-ui-foreground-1);box-shadow:inset 8px 0 var(--calcite-ui-foreground-1)}:host([highlighted]) .day-wrapper{background-color:var(--calcite-ui-foreground-current)}:host([highlighted]) .day-wrapper .day{color:var(--calcite-ui-text-1)}:host([highlighted]:not([active]:focus)) .day{border-radius:0;color:var(--calcite-ui-text-1)}:host([range-hover]:not([selected])) .day-wrapper{background-color:var(--calcite-ui-foreground-2)}:host([range-hover]:not([selected])) .day{border-radius:0}:host([end-of-range][range-hover]) :not(.calcite--rtl) .day-wrapper,:host([start-of-range][range-hover]) .calcite--rtl .day-wrapper{background-image:-webkit-gradient(linear, left top, right top, from(var(--calcite-ui-foreground-current)), color-stop(var(--calcite-ui-foreground-current)), color-stop(var(--calcite-ui-foreground-2)), to(var(--calcite-ui-foreground-2)));background-image:linear-gradient(to right, var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-2));border-radius:0;-webkit-box-shadow:none;box-shadow:none}:host([start-of-range][range-hover]) :not(.calcite--rtl) .day-wrapper,:host([end-of-range][range-hover]) .calcite--rtl .day-wrapper{background-image:-webkit-gradient(linear, right top, left top, from(var(--calcite-ui-foreground-current)), color-stop(var(--calcite-ui-foreground-current)), color-stop(var(--calcite-ui-foreground-2)), to(var(--calcite-ui-foreground-2)));background-image:linear-gradient(to left, var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-2));border-radius:0;-webkit-box-shadow:none;box-shadow:none}:host(:hover[end-of-range][range-hover]) :not(.calcite--rtl) .day-wrapper,:host(:hover[start-of-range][range-hover]) .calcite--rtl .day-wrapper{background-image:-webkit-gradient(linear, left top, right top, from(var(--calcite-ui-foreground-current)), color-stop(var(--calcite-ui-foreground-current)), color-stop(var(--calcite-ui-foreground-1)), to(var(--calcite-ui-foreground-1)));background-image:linear-gradient(to right, var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-1), var(--calcite-ui-foreground-1));border-radius:0;-webkit-box-shadow:none;box-shadow:none}:host(:hover[start-of-range][range-hover]) :not(.calcite--rtl) .day-wrapper,:host(:hover[end-of-range][range-hover]) .calcite--rtl .day-wrapper{background-image:-webkit-gradient(linear, right top, left top, from(var(--calcite-ui-foreground-current)), color-stop(var(--calcite-ui-foreground-current)), color-stop(var(--calcite-ui-foreground-1)), to(var(--calcite-ui-foreground-1)));background-image:linear-gradient(to left, var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-1), var(--calcite-ui-foreground-1));border-radius:0;-webkit-box-shadow:none;box-shadow:none}:host(:hover[range-hover]:not([selected]).focused--end) :not(.calcite--rtl) .day-wrapper,:host(:hover[range-hover]:not([selected]).focused--start) .calcite--rtl .day-wrapper{background-image:-webkit-gradient(linear, left top, right top, from(var(--calcite-ui-foreground-2)), color-stop(var(--calcite-ui-foreground-2)), color-stop(var(--calcite-ui-foreground-current)), to(var(--calcite-ui-foreground-current)));background-image:linear-gradient(to right, var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-current))}:host(:hover[range-hover]:not([selected]).focused--end) :not(.calcite--rtl) .day,:host(:hover[range-hover]:not([selected]).focused--start) .calcite--rtl .day{border-radius:9999px;opacity:1;-webkit-box-shadow:0 0 0 2px var(--calcite-ui-foreground-1);box-shadow:0 0 0 2px var(--calcite-ui-foreground-1)}:host(:hover[range-hover]:not([selected]).focused--start) :not(.calcite--rtl) .day-wrapper,:host(:hover[range-hover]:not([selected]).focused--end) .calcite--rtl .day-wrapper{background-image:-webkit-gradient(linear, left top, right top, from(var(--calcite-ui-foreground-current)), color-stop(var(--calcite-ui-foreground-current)), color-stop(var(--calcite-ui-foreground-2)), to(var(--calcite-ui-foreground-2)));background-image:linear-gradient(to right, var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-2))}:host(:hover[range-hover]:not([selected]).focused--start) :not(.calcite--rtl) .day,:host(:hover[range-hover]:not([selected]).focused--end) .calcite--rtl .day{border-radius:9999px;opacity:1;-webkit-box-shadow:0 0 0 2px var(--calcite-ui-foreground-1);box-shadow:0 0 0 2px var(--calcite-ui-foreground-1)}:host(:hover[range-hover]:not([selected]).focused--start.hover--outside-range) :not(.calcite--rtl) .day-wrapper,:host(:hover[range-hover]:not([selected]).focused--end.hover--outside-range) .calcite--rtl .day-wrapper{background-image:-webkit-gradient(linear, left top, right top, from(var(--calcite-ui-foreground-1)), color-stop(var(--calcite-ui-foreground-1)), color-stop(var(--calcite-ui-foreground-2)), to(var(--calcite-ui-foreground-2)));background-image:linear-gradient(to right, var(--calcite-ui-foreground-1), var(--calcite-ui-foreground-1), var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-2))}:host(:hover[range-hover]:not([selected]).focused--start.hover--outside-range) :not(.calcite--rtl) .day,:host(:hover[range-hover]:not([selected]).focused--end.hover--outside-range) .calcite--rtl .day{border-radius:9999px;opacity:1;-webkit-box-shadow:0 0 0 2px var(--calcite-ui-foreground-1);box-shadow:0 0 0 2px var(--calcite-ui-foreground-1)}:host(:hover[range-hover]:not([selected]).focused--end.hover--outside-range) :not(.calcite--rtl) .day-wrapper,:host(:hover[range-hover]:not([selected]).focused--start.hover--outside-range) .calcite--rtl .day-wrapper{background-image:-webkit-gradient(linear, left top, right top, from(var(--calcite-ui-foreground-2)), color-stop(var(--calcite-ui-foreground-2)), color-stop(var(--calcite-ui-foreground-1)), to(var(--calcite-ui-foreground-1)));background-image:linear-gradient(to right, var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-1), var(--calcite-ui-foreground-1))}:host(:hover[range-hover]:not([selected]).focused--end.hover--outside-range) :not(.calcite--rtl) .day,:host(:hover[range-hover]:not([selected]).focused--start.hover--outside-range) .calcite--rtl .day{border-radius:9999px;opacity:1;-webkit-box-shadow:0 0 0 2px var(--calcite-ui-foreground-1);box-shadow:0 0 0 2px var(--calcite-ui-foreground-1)}:host(:hover[start-of-range].hover--inside-range.focused--end) .day-wrapper,:host(:hover[end-of-range].hover--inside-range.focused--start) .day-wrapper{background-image:none}:host([start-of-range].hover--inside-range.focused--end) .day-wrapper,:host([end-of-range].hover--inside-range.focused--start) .day-wrapper{background-color:var(--calcite-ui-foreground-2)}:host([highlighted]:last-child) :not(.calcite--rtl) .day-wrapper,:host([range-hover]:last-child) :not(.calcite--rtl) .day-wrapper,:host([highlighted]:first-child) .calcite--rtl .day-wrapper,:host([range-hover]:first-child) .calcite--rtl .day-wrapper{border-top-right-radius:45%;border-bottom-right-radius:45%;-webkit-box-shadow:inset -4px 0px 0px 0px var(--calcite-ui-foreground-1);box-shadow:inset -4px 0px 0px 0px var(--calcite-ui-foreground-1)}:host([highlighted]:first-child) :not(.calcite--rtl) .day-wrapper,:host([range-hover]:first-child) :not(.calcite--rtl) .day-wrapper,:host([highlighted]:last-child) .calcite--rtl .day-wrapper,:host([range-hover]:last-child) .calcite--rtl .day-wrapper{border-top-left-radius:45%;border-bottom-left-radius:45%;-webkit-box-shadow:inset 4px 0px 0px 0px var(--calcite-ui-foreground-1);box-shadow:inset 4px 0px 0px 0px var(--calcite-ui-foreground-1)}:host([scale=s][highlighted]:last-child) :not(.calcite--rtl) .day-wrapper,:host([scale=s][range-hover]:last-child) :not(.calcite--rtl) .day-wrapper,:host([scale=s][highlighted]:first-child) .calcite--rtl .day-wrapper,:host([scale=s][range-hover]:first-child) .calcite--rtl .day-wrapper{-webkit-box-shadow:inset -1px 0px 0px 0px var(--calcite-ui-foreground-1);box-shadow:inset -1px 0px 0px 0px var(--calcite-ui-foreground-1)}:host([scale=s][highlighted]:first-child) :not(.calcite--rtl) .day-wrapper,:host([scale=s][range-hover]:first-child) :not(.calcite--rtl) .day-wrapper,:host([scale=s][highlighted]:last-child) .calcite--rtl .day-wrapper,:host([scale=s][range-hover]:last-child) .calcite--rtl .day-wrapper{-webkit-box-shadow:inset 1px 0px 0px 0px var(--calcite-ui-foreground-1);box-shadow:inset 1px 0px 0px 0px var(--calcite-ui-foreground-1)}:host([scale=l][highlighted]:first-child) :not(.calcite--rtl) .day-wrapper,:host([scale=l][range-hover]:first-child) :not(.calcite--rtl) .day-wrapper,:host([scale=l][highlighted]:last-child) .calcite--rtl .day-wrapper,:host([scale=l][range-hover]:last-child) .calcite--rtl .day-wrapper{-webkit-box-shadow:inset 6px 0px 0px 0px var(--calcite-ui-foreground-1);box-shadow:inset 6px 0px 0px 0px var(--calcite-ui-foreground-1)}:host([scale=l][highlighted]:last-child) :not(.calcite--rtl) .day-wrapper,:host([scale=l][range-hover]:last-child) :not(.calcite--rtl) .day-wrapper,:host([scale=l][highlighted]:first-child) .calcite--rtl .day-wrapper,:host([scale=l][range-hover]:first-child) .calcite--rtl .day-wrapper{-webkit-box-shadow:inset -6px 0px 0px 0px var(--calcite-ui-foreground-1);box-shadow:inset -6px 0px 0px 0px var(--calcite-ui-foreground-1)}";let C=class{constructor(a){t(this,a),this.calciteDatePickerSelect=e(this,"calciteDatePickerSelect",7),this.calciteDatePickerHover=e(this,"calciteDatePickerHover",7),this.calciteDatePickerActiveDateChange=e(this,"calciteDatePickerActiveDateChange",7),this.calciteDatePickerMouseOut=e(this,"calciteDatePickerMouseOut",7),this.activeDate=new Date,this.keyDownHandler=t=>{const e="rtl"===this.el.dir;switch(k(t.key)){case"ArrowUp":t.preventDefault(),this.addDays(-7);break;case"ArrowRight":t.preventDefault(),this.addDays(e?-1:1);break;case"ArrowDown":t.preventDefault(),this.addDays(7);break;case"ArrowLeft":t.preventDefault(),this.addDays(e?1:-1);break;case"PageUp":t.preventDefault(),this.addMonths(-1);break;case"PageDown":t.preventDefault(),this.addMonths(1);break;case"Home":t.preventDefault(),this.activeDate.setDate(1),this.addDays();break;case"End":t.preventDefault(),this.activeDate.setDate(new Date(this.activeDate.getFullYear(),this.activeDate.getMonth()+1,0).getDate()),this.addDays();break;case"Enter":case" ":t.preventDefault();break;case"Tab":this.activeFocus=!1}},this.disableActiveFocus=()=>{this.activeFocus=!1},this.dayHover=t=>{const e=t.target;t.detail.disabled?this.calciteDatePickerMouseOut.emit():this.calciteDatePickerHover.emit(e.value)},this.daySelect=t=>{this.calciteDatePickerSelect.emit(t.target.value)}}mouseoutHandler(){this.calciteDatePickerMouseOut.emit()}render(){const t=this.activeDate.getMonth(),e=this.activeDate.getFullYear(),r=this.localeData.weekStart%7,{abbreviated:o,short:s,narrow:n}=this.localeData.days,c="s"===this.scale?n||s||o:s||o||n,l=[...c.slice(r,7),...c.slice(0,r)],h=this.getCurrentMonthDays(t,e),d=this.getPrevMonthdays(t,e,r),p=this.getNextMonthDays(t,e,r),f=x(this.el),m=[...d.map((a=>{const i=new Date(e,t-1,a);return this.renderDateDay(!1,a,f,i)})),...h.map((a=>{const i=new Date(e,t,a),r=u(i,this.activeDate);return this.renderDateDay(r,a,f,i,!0,!0)})),...p.map((a=>{const i=new Date(e,t+1,a);return this.renderDateDay(!1,a,f,i)}))],g=[];for(let t=0;t<m.length;t+=7)g.push(m.slice(t,t+7));return a(i,{onFocusOut:this.disableActiveFocus,onKeyDown:this.keyDownHandler},a("div",{class:"calender",role:"grid"},a("div",{class:"week-headers",role:"row"},l.map((t=>a("span",{class:"week-header",role:"columnheader"},t)))),g.map((t=>a("div",{class:"week-days",role:"row"},t)))))}addMonths(t){const e=new Date(this.activeDate);e.setMonth(this.activeDate.getMonth()+t),this.calciteDatePickerActiveDateChange.emit(h(e,this.min,this.max)),this.activeFocus=!0}addDays(t=0){const e=new Date(this.activeDate);e.setDate(this.activeDate.getDate()+t),this.calciteDatePickerActiveDateChange.emit(h(e,this.min,this.max)),this.activeFocus=!0}getPrevMonthdays(t,e,a){const i=new Date(e,t,0),r=i.getDate(),o=[];if(i.getDay()-6===a)return o;for(let t=i.getDay();t>=a;t--)o.push(r-t);return o}getCurrentMonthDays(t,e){const a=new Date(e,t+1,0).getDate(),i=[];for(let t=0;t<a;t++)i.push(t+1);return i}getNextMonthDays(t,e,a){const i=new Date(e,t+1,0).getDay(),r=[];if(i===(a+6)%7)return r;for(let t=0;t<(6-(i-a))%7;t++)r.push(t+1);return r}betweenSelectedRange(t){return!(!(this.startDate&&this.endDate&&t>this.startDate&&t<this.endDate)||this.isRangeHover(t))}isSelected(t){return!!(u(t,this.selectedDate)||this.startDate&&u(t,this.startDate)||this.endDate&&u(t,this.endDate))}isStartOfRange(t){return!(!this.startDate||u(this.startDate,this.endDate)||!u(this.startDate,t)||this.isEndOfRange(t))}isEndOfRange(t){return!!(this.endDate&&!u(this.startDate,this.endDate)&&u(this.endDate,t)||!this.endDate&&this.hoverRange&&u(this.startDate,this.hoverRange.end)&&u(t,this.hoverRange.end))}renderDateDay(t,e,i,r,o,s){var n;const c=this.isFocusedOnStart(),l=this.isHoverInRange()||!this.endDate&&this.hoverRange&&u(null===(n=this.hoverRange)||void 0===n?void 0:n.end,this.startDate);return a("calcite-date-picker-day",{active:t,class:{"hover--inside-range":this.startDate&&l,"hover--outside-range":this.startDate&&!l,"focused--start":c,"focused--end":!c},currentMonth:o,day:e,dir:i,disabled:!f(r,this.min,this.max),endOfRange:this.isEndOfRange(r),highlighted:this.betweenSelectedRange(r),key:r.toDateString(),localeData:this.localeData,onCalciteDayHover:this.dayHover,onCalciteDaySelect:this.daySelect,range:!!this.startDate&&!!this.endDate&&!u(this.startDate,this.endDate),rangeHover:this.isRangeHover(r),ref:e=>{s&&t&&this.activeFocus&&(null==e||e.focus())},scale:this.scale,selected:this.isSelected(r),startOfRange:this.isStartOfRange(r),value:r})}isFocusedOnStart(){var t;return"start"===(null===(t=this.hoverRange)||void 0===t?void 0:t.focused)}isHoverInRange(){if(!this.hoverRange)return!1;const{start:t,end:e}=this.hoverRange;return!!(!this.isFocusedOnStart()&&this.startDate&&(!this.endDate||e<this.endDate)||this.isFocusedOnStart()&&this.startDate&&t>this.startDate)}isRangeHover(t){if(!this.hoverRange)return!1;const{start:e,end:a}=this.hoverRange,i=this.isFocusedOnStart(),r=this.isHoverInRange(),o=r&&(!i&&t>this.startDate&&(t<a||u(t,a))||i&&t<this.endDate&&(t>e||u(t,e))),s=!r&&(!i&&t>=this.endDate&&(t<a||u(t,a))||i&&(t<this.startDate||this.endDate&&u(t,this.startDate))&&(t>e||u(t,e)));return o||s}get el(){return r(this)}};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:300ms}.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:150ms ease-in-out}:host([hidden]){display:none}.calender{margin-bottom:0.25rem}.week-headers{display:-ms-flexbox;display:flex;border-width:0;border-top-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);padding-top:0;padding-bottom:0;padding-left:0.25rem;padding-right:0.25rem}.week-header{color:var(--calcite-ui-text-3);text-align:center;font-weight:var(--calcite-font-weight-bold);width:14.2857142857%}:host([scale=s]) .week-header{font-size:var(--calcite-font-size--2);line-height:1rem;padding-top:0.5rem;padding-bottom:0.75rem;padding-left:0;padding-right:0}:host([scale=m]) .week-header{font-size:var(--calcite-font-size--2);line-height:1rem;padding-top:0.75rem;padding-bottom:1rem;padding-left:0;padding-right:0}:host([scale=l]) .week-header{font-size:var(--calcite-font-size--1);line-height:1rem;padding-top:1rem;padding-bottom:1.25rem;padding-left:0;padding-right:0}.week-days{outline:2px solid transparent;outline-offset:2px;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;padding-top:0;padding-bottom:0;padding-left:6px;padding-right:6px}";let A=class{constructor(a){t(this,a),this.calciteDatePickerSelect=e(this,"calciteDatePickerSelect",7),this.onYearKey=t=>{const e=t.target.value;switch(k(t.key)){case"ArrowDown":t.preventDefault(),this.setYear(e,-1);break;case"ArrowUp":t.preventDefault(),this.setYear(e,1)}},this.yearChanged=t=>{this.setYear(t.target.value)},this.prevMonthClick=t=>{this.handleArrowClick(t,this.prevMonthDate)},this.prevMonthKeydown=t=>{const e=k(t.key);" "!==e&&"Enter"!==e||this.prevMonthClick(t)},this.nextMonthClick=t=>{this.handleArrowClick(t,this.nextMonthDate)},this.nextMonthKeydown=t=>{const e=k(t.key);" "!==e&&"Enter"!==e||this.nextMonthClick(t)},this.handleArrowClick=(t,e)=>{null==t||t.preventDefault(),t.stopPropagation(),this.calciteDatePickerSelect.emit(e)}}connectedCallback(){this.setNextPrevMonthDates()}render(){const t=x(this.el);return a("div",{class:"header",dir:t},this.renderContent(t))}renderContent(t){var e;if(!this.activeDate||!this.localeData)return null;const i=this.activeDate.getMonth(),{months:r,unitOrder:s}=this.localeData,n=(r.wide||r.narrow||r.abbreviated)[i],c=m(this.activeDate.getFullYear(),this.localeData),l="l"===this.scale?"m":"s",h=g(s),d=h.indexOf("y")<h.indexOf("m"),p=null===(e=this.localeData.year)||void 0===e?void 0:e.suffix;return a(o,null,a("a",{"aria-disabled":(this.prevMonthDate.getMonth()===i).toString(),"aria-label":this.intlPrevMonth,class:"chevron",href:"#",onClick:this.prevMonthClick,onKeyDown:this.prevMonthKeydown,role:"button",tabindex:this.prevMonthDate.getMonth()===i?-1:0},a("calcite-icon",{dir:t,"flip-rtl":!0,icon:"chevron-left",scale:l})),a("div",{class:{text:!0,"text--reverse":d}},a(D,{class:"month",level:this.headingLevel},n),a("span",{class:"year-wrap"},a("input",{class:{year:!0,"year--suffix":!!p},inputmode:"numeric",maxlength:"4",minlength:"1",onChange:this.yearChanged,onKeyDown:this.onYearKey,pattern:"\\d*",ref:t=>this.yearInput=t,type:"text",value:c}),p&&a("span",{class:"suffix"},a("span",{"aria-hidden":"true",class:"suffix__invisible"},c)," "+p))),a("a",{"aria-disabled":(this.nextMonthDate.getMonth()===i).toString(),"aria-label":this.intlNextMonth,class:"chevron",href:"#",onClick:this.nextMonthClick,onKeyDown:this.nextMonthKeydown,role:"button",tabindex:this.nextMonthDate.getMonth()===i?-1:0},a("calcite-icon",{dir:t,"flip-rtl":!0,icon:"chevron-right",scale:l})))}setNextPrevMonthDates(){this.activeDate&&(this.nextMonthDate=h(w(this.activeDate),this.min,this.max),this.prevMonthDate=h(v(this.activeDate),this.min,this.max))}setYear(t,e=0){const{min:a,max:i,activeDate:r,localeData:o,yearInput:s}=this,n=b(t,o),c=n.toString().length,l=!isNaN(n)&&n+e,d=l&&(!a||a.getFullYear()<=l)&&(!i||i.getFullYear()>=l);if(l&&d&&c===t.length){const t=new Date(r);t.setFullYear(l);const e=h(t,a,i);this.calciteDatePickerSelect.emit(e),s.value=m(e.getFullYear(),o)}else s.value=m(r.getFullYear(),o)}get el(){return r(this)}static get watchers(){return{min:["setNextPrevMonthDates"],max:["setNextPrevMonthDates"],activeDate:["setNextPrevMonthDates"]}}};A.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:300ms}.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:150ms ease-in-out}:host([hidden]){display:none}:host{display:block}.header{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;padding-top:0;padding-bottom:0;padding-left:0.25rem;padding-right:0.25rem}:host([scale=s]) .text{font-size:var(--calcite-font-size--1);line-height:1rem;margin-top:0.5rem;margin-bottom:0.5rem}:host([scale=s]) .chevron{height:2.25rem}:host([scale=m]) .text{font-size:var(--calcite-font-size-0);line-height:1.25rem;margin-top:0.75rem;margin-bottom:0.75rem}:host([scale=m]) .chevron{height:3rem}:host([scale=l]) .text{font-size:var(--calcite-font-size-1);line-height:1.5rem;margin-top:1rem;margin-bottom:1rem}:host([scale=l]) .chevron{height:3.5rem}.chevron{color:var(--calcite-ui-text-3);-ms-flex-positive:0;flex-grow:0;-webkit-box-sizing:content-box;box-sizing:content-box;outline:2px solid transparent;outline-offset:2px;padding-left:0.25rem;padding-right:0.25rem;margin-left:-0.25rem;margin-right:-0.25rem;border-style:none;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);cursor:pointer;-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);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;width:14.2857142857%}.chevron:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}.chevron:hover,.chevron:focus{color:var(--calcite-ui-text-1);background-color:var(--calcite-ui-foreground-2);fill:var(--calcite-ui-text-1)}.chevron:active{background-color:var(--calcite-ui-foreground-3)}.chevron[aria-disabled=true]{pointer-events:none;opacity:0}.text{-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;line-height:1;margin-top:auto;margin-bottom:auto;text-align:center;width:100%}.text--reverse{-ms-flex-direction:row-reverse;flex-direction:row-reverse}.month,.year,.suffix{color:var(--calcite-ui-text-1);background-color:var(--calcite-ui-foreground-1);font-weight:var(--calcite-font-weight-medium);line-height:1.25;margin-left:0.25rem;margin-right:0.25rem;margin-top:auto;margin-bottom:auto;display:inline-block;font-size:inherit}.year{font-family:inherit;text-align:center;border-style:none;width:3rem;background-color:transparent;position:relative;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;z-index:2}.year:hover{-webkit-transition-duration:100ms;transition-duration:100ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transition-property:outline-color;transition-property:outline-color;outline:2px solid var(--calcite-ui-border-2);outline-offset:2px}.year:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:2px}.year--suffix{width:4rem;text-align:left}.year-wrap{position:relative}.suffix{position:absolute;width:4rem;white-space:nowrap;text-align:left;top:0;left:0}.suffix__invisible{visibility:hidden}";export{_ as calcite_date_picker,z as calcite_date_picker_day,C as calcite_date_picker_month,A as calcite_date_picker_month_header}
@@ -0,0 +1,5 @@
1
+ var __awaiter=this&&this.__awaiter||function(e,t,i,n){function a(e){return e instanceof i?e:new i((function(t){t(e)}))}return new(i||(i=Promise))((function(i,r){function o(e){try{c(n.next(e))}catch(e){r(e)}}function s(e){try{c(n["throw"](e))}catch(e){r(e)}}function c(e){e.done?i(e.value):a(e.value).then(o,s)}c((n=n.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var i={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},n,a,r,o;return o={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function s(e){return function(t){return c([e,t])}}function c(o){if(n)throw new TypeError("Generator is already executing.");while(i)try{if(n=1,a&&(r=o[0]&2?a["return"]:o[0]?a["throw"]||((r=a["return"])&&r.call(a),0):a.next)&&!(r=r.call(a,o[1])).done)return r;if(a=0,r)o=[o[0]&2,r.value];switch(o[0]){case 0:case 1:r=o;break;case 4:i.label++;return{value:o[1],done:false};case 5:i.label++;a=o[1];o=[0];continue;case 7:o=i.ops.pop();i.trys.pop();continue;default:if(!(r=i.trys,r=r.length>0&&r[r.length-1])&&(o[0]===6||o[0]===2)){i=0;continue}if(o[0]===3&&(!r||o[1]>r[0]&&o[1]<r[3])){i.label=o[1];break}if(o[0]===6&&i.label<r[1]){i.label=r[1];r=o;break}if(r&&i.label<r[2]){i.label=r[2];i.ops.push(o);break}if(r[2])i.ops.pop();i.trys.pop();continue}o=t.call(e,i)}catch(e){o=[6,e];a=0}finally{n=r=0}if(o[0]&5)throw o[1];return{value:o[0]?o[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
+ */System.register(["./p-89cdfa96.system.js","./p-e020662f.system.js","./p-56b352bf.system.js","./p-91645bf7.system.js","./p-fb1da0f5.system.js","./p-6cc23c39.system.js"],(function(e){"use strict";var t,i,n,a,r,o,s,c,u,l,m,p,h;return{setters:[function(e){t=e.r;i=e.c;n=e.h;a=e.H;r=e.g},function(e){o=e.g},function(e){s=e.g;c=e.n;u=e.i},function(e){l=e.i},function(e){m=e.c;p=e.d;h=e.g},function(){}],execute:function(){var d=5;function f(e){if(!l(e)){return null}var t=parseInt(e);return t>=0&&t<=11?"AM":"PM"}function b(e){if(!l(e)){return null}var t=parseInt(e);if(t===0){return"12"}return t>12?y(t-12):e}function w(e){var t=v(e);var i=t?t.split(":"):[null,null,null],n=i[0],a=i[1],r=i[2];return{hour:n,minute:a,second:r||(n&&a?"00":null)}}function v(e){if(!e||e.endsWith(":")||e.startsWith(":")){return null}var t=e.split(":");if(t.length>1){var i=t[0],n=t[1],a=t[2];var r=parseInt(t[0]);var o=parseInt(t[1]);var s=parseInt(t[2]);var c=l(i)&&r>=0&&r<24;var u=l(n)&&o>=0&&o<60;var m=l(a)&&s>=0&&s<60;if(c&&u&&!a||c&&u&&m){var p=y(r)+":"+y(o);if(m){p=p+":"+y(s)}return p}}return null}function y(e){var t=e.toString();return e>=0&&e<=9?t.padStart(2,"0"):t}var k="@-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:300ms}.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:150ms ease-in-out}:host([hidden]){display:none}:host{display:inline-block;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}";var D=e("calcite_input_time_picker",function(){function e(e){var n=this;t(this,e);this.calciteInputTimePickerChange=i(this,"calciteInputTimePickerChange",7);this.active=false;this.disabled=false;this.hourDisplayFormat="12";this.scale="m";this.step=60;this.value=null;this.internalValueChange=false;this.previousValidValue=null;this.referenceElementId="input-time-picker-"+o();this.calciteInputBlurHandler=function(){n.active=false;var e=v(n.calciteInputEl.value)||v(n.value);if(e!==n.calciteInputEl.value){n.setInputValue(e)}};this.calciteInputFocusHandler=function(){n.active=true};this.calciteInputInputHandler=function(e){n.setValue({value:e.detail.value})};this.setCalciteInputEl=function(e){n.calciteInputEl=e};this.setInputValue=function(e){if(!n.calciteInputEl){return}if(n.hourDisplayFormat==="12"){var t=w(e),i=t.hour,a=t.minute,r=t.second;n.calciteInputEl.value=e?b(i)+":"+a+(n.step!==60?":"+r:"")+" "+f(i):null}else{n.calciteInputEl.value=e}};this.setValue=function(e){var t=e.value,i=e.origin,a=i===void 0?"input":i;var r=n.value;var o=v(t);n.internalValueChange=a!=="external"&&a!=="loading";var s=a!=="loading"&&a!=="external"&&(t!==n.previousValidValue&&!t||!!(!n.previousValidValue&&o)||o!==n.previousValidValue&&o);if(t){if(s){n.previousValidValue=o}if(o&&o!==n.value){n.value=o}}else{n.value=t}if(a==="time-picker"||a==="external"){n.setInputValue(o)}if(s){var c=n.calciteInputTimePickerChange.emit();if(c.defaultPrevented){n.internalValueChange=false;n.value=r;n.setInputValue(r);n.previousValidValue=r}else{n.previousValidValue=o}}}}e.prototype.valueWatcher=function(e){if(!this.internalValueChange){this.setValue({value:e,origin:"external"})}this.internalValueChange=false};e.prototype.keyUpHandler=function(e){if(s(e.key)==="Escape"&&this.active){this.active=false}};e.prototype.timePickerBlurHandler=function(e){e.preventDefault();e.stopPropagation();this.active=false};e.prototype.timePickerChangeHandler=function(e){e.preventDefault();e.stopPropagation();if(e.detail){var t=e.detail,i=t.hour,n=t.minute,a=t.second;var r=void 0;if(i&&n){r=a&&this.step!==60?i+":"+n+":"+a:i+":"+n}else{r=""}this.setValue({value:r,origin:"time-picker"})}};e.prototype.timePickerFocusHandler=function(e){e.preventDefault();e.stopPropagation();this.active=true};e.prototype.setFocus=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.calciteInputEl.setFocus();return[2]}))}))};e.prototype.onLabelClick=function(){this.setFocus()};e.prototype.connectedCallback=function(){if(this.value){this.setValue({value:this.value,origin:"loading"})}m(this)};e.prototype.componentDidLoad=function(){if(this.calciteInputEl.value!==this.value){this.setInputValue(this.value)}};e.prototype.disconnectedCallback=function(){p(this)};e.prototype.render=function(){var e=w(this.value),t=e.hour,i=e.minute,r=e.second;var o=this.referenceElementId+"-popover";return n(a,null,n("div",{"aria-controls":o,"aria-haspopup":"dialog","aria-label":this.name,"aria-owns":o,id:this.referenceElementId,role:"combobox"},n("calcite-input",{disabled:this.disabled,icon:"clock",label:h(this),name:this.name,onCalciteInputBlur:this.calciteInputBlurHandler,onCalciteInputFocus:this.calciteInputFocusHandler,onCalciteInputInput:this.calciteInputInputHandler,ref:this.setCalciteInputEl,scale:this.scale,step:this.step})),n("calcite-popover",{id:o,label:"Time Picker",open:this.active||false,referenceElement:this.referenceElementId},n("calcite-time-picker",{hour:t,"hour-display-format":this.hourDisplayFormat,intlHour:this.intlHour,intlHourDown:this.intlHourDown,intlHourUp:this.intlHourUp,intlMeridiem:this.intlMeridiem,intlMeridiemDown:this.intlMeridiemDown,intlMeridiemUp:this.intlMeridiemUp,intlMinute:this.intlMinute,intlMinuteDown:this.intlMinuteDown,intlMinuteUp:this.intlMinuteUp,intlSecond:this.intlSecond,intlSecondDown:this.intlSecondDown,intlSecondUp:this.intlSecondUp,minute:i,scale:this.scale,second:r,step:this.step})))};Object.defineProperty(e.prototype,"el",{get:function(){return r(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{value:["valueWatcher"]}},enumerable:false,configurable:true});return e}());D.style=k;var g={buttonBottomLeft:"button--bottom-left",buttonBottomRight:"button--bottom-right",button:"button",delimiter:"delimiter",hour:"hour",buttonHourDown:"button--hour-down",buttonHourUp:"button--hour-up",input:"input",meridiem:"meridiem",buttonMeridiemDown:"button--meridiem-down",buttonMeridiemUp:"button--meridiem-up",minute:"minute",buttonMinuteDown:"button--minute-down",buttonMinuteUp:"button--minute-up",second:"second",buttonSecondDown:"button--second-down",buttonSecondUp:"button--second-up",timePicker:"time-picker",buttonTopLeft:"button--top-left",buttonTopRight:"button--top-right"};var x={hour:"Hour",hourDown:"Decrease hour",hourUp:"Increase hour",meridiem:"AM/PM",meridiemDown:"Decrease AM/PM",meridiemUp:"Increase AM/PM",minute:"Minute",minuteDown:"Decrease minute",minuteUp:"Increase minute",second:"Second",secondDown:"Decrease second",secondUp:"Increase second"};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:300ms}.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:150ms ease-in-out}:host([hidden]){display:none}:host{color:var(--calcite-ui-text-1);display:inline-block;font-weight:var(--calcite-font-weight-medium);-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.time-picker{-webkit-box-shadow:0 6px 20px -4px rgba(0, 0, 0, 0.1), 0 4px 12px -2px rgba(0, 0, 0, 0.08);box-shadow:0 6px 20px -4px rgba(0, 0, 0, 0.1), 0 4px 12px -2px rgba(0, 0, 0, 0.08);-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;border-radius:var(--calcite-border-radius)}span{-ms-flex-align:center;align-items:center;background-color:var(--calcite-ui-foreground-1);display:-ms-inline-flexbox;display:inline-flex;-ms-flex-pack:center;justify-content:center}span.button{cursor:pointer}span.button:hover,span.button:focus{background-color:var(--calcite-ui-foreground-2)}span.button:focus{outline:2px solid transparent;outline-offset:2px}span.button:active{background-color:var(--calcite-ui-foreground-3)}span.button.top-left{border-top-left-radius:var(--calcite-border-radius)}span.button.bottom-left{border-bottom-left-radius:var(--calcite-border-radius)}span.button.top-right{border-top-right-radius:var(--calcite-border-radius)}span.button.bottom-right{border-bottom-right-radius:var(--calcite-border-radius)}span.button calcite-icon{color:var(--calcite-ui-text-3)}span.input{font-weight:var(--calcite-font-weight-medium);position:relative}span.input:hover{-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-foreground-2);box-shadow:inset 0 0 0 2px var(--calcite-ui-foreground-2)}span.input:focus,span.input:hover:focus{outline:2px solid transparent;outline-offset:2px;-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-brand);box-shadow:inset 0 0 0 2px var(--calcite-ui-brand)}:host([scale=s]){font-size:var(--calcite-font-size--1)}:host([scale=s]) span{height:24px;width:40px}:host([scale=s]) .delimiter{height:72px}:host([scale=s][hour-display-format="12"]) .time-picker{width:124.2px}:host([scale=s][hour-display-format="12"]:not([step="60"])) .time-picker{width:168px}:host([scale=s][hour-display-format="24"]) .time-picker{width:84.2px}:host([scale=s][hour-display-format="24"]:not([step="60"])) .time-picker{width:128.4px}:host([scale=m]){font-size:var(--calcite-font-size-0)}:host([scale=m]) span{height:32px;width:44px}:host([scale=m]) .delimiter{height:96px}:host([scale=m][hour-display-format="12"]) .time-picker{width:136.8px}:host([scale=m][hour-display-format="12"]:not([step="60"])) .time-picker{width:186px}:host([scale=m][hour-display-format="24"]) .time-picker{width:92.8px}:host([scale=m][hour-display-format="24"]:not([step="60"])) .time-picker{width:141.6px}:host([scale=l]){font-size:var(--calcite-font-size-1)}:host([scale=l]) span{height:48px;width:64px}:host([scale=l]) .delimiter{height:144px}:host([scale=l][hour-display-format="12"]) .time-picker{width:198px}:host([scale=l][hour-display-format="12"]:not([step="60"])) .time-picker{width:268px}:host([scale=l][hour-display-format="24"]) .time-picker{width:134px}:host([scale=l][hour-display-format="24"]:not([step="60"])) .time-picker{width:204px}';var M=e("calcite_time_picker",function(){function e(e){var n=this;t(this,e);this.calciteTimePickerBlur=i(this,"calciteTimePickerBlur",7);this.calciteTimePickerChange=i(this,"calciteTimePickerChange",7);this.calciteTimePickerFocus=i(this,"calciteTimePickerFocus",7);this.hour=null;this.hourDisplayFormat="12";this.intlHour=x.hour;this.intlHourDown=x.hourDown;this.intlHourUp=x.hourUp;this.intlMeridiem=x.meridiem;this.intlMeridiemDown=x.meridiemDown;this.intlMeridiemUp=x.meridiemUp;this.intlMinute=x.minute;this.intlMinuteDown=x.minuteDown;this.intlMinuteUp=x.minuteUp;this.intlSecond=x.second;this.intlSecondDown=x.secondDown;this.intlSecondUp=x.secondUp;this.minute=null;this.second=null;this.scale="m";this.step=60;this.timeChanged=false;this.meridiem=null;this.displayHour=this.getDisplayHour();this.decrementHour=function(){var e=!n.hour?0:n.hour==="00"?23:parseInt(n.hour)-1;n.setTime("hour",e)};this.decrementMeridiem=function(){var e=n.meridiem==="PM"?"AM":"PM";n.setTime("meridiem",e)};this.decrementMinuteOrSecond=function(e){var t;if(l(n[e])){var i=parseInt(n[e]);t=i===0?59:i-1}else{t=59}n.setTime(e,t)};this.decrementMinute=function(){n.decrementMinuteOrSecond("minute")};this.decrementSecond=function(){n.decrementMinuteOrSecond("second")};this.focusHandler=function(e){n.activeEl=e.currentTarget};this.hourDownButtonKeyDownHandler=function(e){if(n.buttonActivated(e)){n.decrementHour()}};this.hourKeyDownHandler=function(e){var t=s(e.key);if(c.includes(t)){var i=parseInt(t);var a=void 0;if(l(n.hour)){switch(n.hourDisplayFormat){case"12":a=n.hour==="01"&&i>=0&&i<=2?"1"+i:i;break;case"24":if(n.hour==="01"){a="1"+i}else if(n.hour==="02"&&i>=0&&i<=3){a="2"+i}else{a=i}break}}else{a=i}n.setTime("hour",a)}else{switch(t){case"Backspace":case"Delete":n.setTime("hour",null);break;case"ArrowDown":e.preventDefault();n.decrementHour();break;case"ArrowUp":e.preventDefault();n.incrementHour();break;case" ":case"Spacebar":e.preventDefault();break}}};this.hourUpButtonKeyDownHandler=function(e){if(n.buttonActivated(e)){n.incrementHour()}};this.incrementMeridiem=function(){var e=n.meridiem==="AM"?"PM":"AM";n.setTime("meridiem",e)};this.incrementHour=function(){var e=l(n.hour)?n.hour==="23"?0:parseInt(n.hour)+1:1;n.setTime("hour",e)};this.incrementMinuteOrSecond=function(e){var t=l(n[e])?n[e]==="59"?0:parseInt(n[e])+1:0;n.setTime(e,t)};this.incrementMinute=function(){n.incrementMinuteOrSecond("minute")};this.incrementSecond=function(){n.incrementMinuteOrSecond("second")};this.meridiemDownButtonKeyDownHandler=function(e){if(n.buttonActivated(e)){n.decrementMeridiem()}};this.meridiemKeyDownHandler=function(e){switch(s(e.key)){case"a":n.setTime("meridiem","AM");break;case"p":n.setTime("meridiem","PM");break;case"Backspace":case"Delete":n.setTime("meridiem",null);break;case"ArrowUp":e.preventDefault();n.incrementMeridiem();break;case"ArrowDown":e.preventDefault();n.decrementMeridiem();break;case" ":case"Spacebar":e.preventDefault();break}};this.meridiemUpButtonKeyDownHandler=function(e){if(n.buttonActivated(e)){n.incrementMeridiem()}};this.minuteDownButtonKeyDownHandler=function(e){if(n.buttonActivated(e)){n.decrementMinute()}};this.minuteKeyDownHandler=function(e){var t=s(e.key);if(c.includes(t)){var i=parseInt(t);var a=void 0;if(l(n.minute)&&n.minute.startsWith("0")){var r=parseInt(n.minute);a=r>d?i:""+r+i}else{a=i}n.setTime("minute",a)}else{switch(t){case"Backspace":case"Delete":n.setTime("minute",null);break;case"ArrowDown":e.preventDefault();n.decrementMinute();break;case"ArrowUp":e.preventDefault();n.incrementMinute();break;case" ":case"Spacebar":e.preventDefault();break}}};this.minuteUpButtonKeyDownHandler=function(e){if(n.buttonActivated(e)){n.incrementMinute()}};this.secondDownButtonKeyDownHandler=function(e){if(n.buttonActivated(e)){n.decrementSecond()}};this.secondKeyDownHandler=function(e){var t=s(e.key);if(c.includes(t)){var i=parseInt(t);var a=void 0;if(l(n.second)&&n.second.startsWith("0")){var r=parseInt(n.second);a=r>d?i:""+r+i}else{a=i}n.setTime("second",a)}else{switch(t){case"Backspace":case"Delete":n.setTime("second",null);break;case"ArrowDown":e.preventDefault();n.decrementSecond();break;case"ArrowUp":e.preventDefault();n.incrementSecond();break;case" ":case"Spacebar":e.preventDefault();break}}};this.secondUpButtonKeyDownHandler=function(e){if(n.buttonActivated(e)){n.incrementSecond()}};this.setTime=function(e,t,i){if(i===void 0){i=true}switch(e){default:return;case"hour":n.hour=typeof t==="number"?y(t):t;break;case"minute":n.minute=typeof t==="number"?y(t):t;break;case"second":n.second=typeof t==="number"?y(t):t;break;case"meridiem":if(l(n.hour)){var a=parseInt(n.hour);switch(t){case"AM":if(a>=12){n.hour=y(a-12)}break;case"PM":if(a<12){n.hour=y(a+12)}break}n.meridiem=t}else{n.meridiem=t}break}n.timeChanged=true;if(i){n.calciteTimePickerChange.emit(n.getTime())}}}e.prototype.hourChanged=function(e){if(this.hourDisplayFormat==="12"&&l(e)){this.meridiem=f(e)}};e.prototype.timeChangeHandler=function(){var e=this.getTime(),t=e.hour,i=e.minute;if(!t&&!i){this.setTime("meridiem",null,false)}if(this.timeChanged){this.timeChanged=false}};e.prototype.hostBlurHandler=function(){this.calciteTimePickerBlur.emit()};e.prototype.hostFocusHandler=function(){this.calciteTimePickerFocus.emit()};e.prototype.keyDownHandler=function(e){var t=s(e.key);switch(this.activeEl){case this.hourEl:if(t==="ArrowRight"){this.setFocus("minute")}break;case this.minuteEl:switch(t){case"ArrowLeft":this.setFocus("hour");break;case"ArrowRight":if(this.step!==60){this.setFocus("second")}else if(this.hourDisplayFormat==="12"){this.setFocus("meridiem")}break}break;case this.secondEl:switch(t){case"ArrowLeft":this.setFocus("minute");break;case"ArrowRight":if(this.hourDisplayFormat==="12"){this.setFocus("meridiem")}break}break;case this.meridiemEl:switch(t){case"ArrowLeft":if(this.step!==60){this.setFocus("second")}else{this.setFocus("minute")}break}break}};e.prototype.setFocus=function(e){return __awaiter(this,void 0,void 0,(function(){var t;return __generator(this,(function(i){(t=this[(e||"hour")+"El"])===null||t===void 0?void 0:t.focus();return[2]}))}))};e.prototype.buttonActivated=function(e){var t=s(e.key);if(t===" "){e.preventDefault()}return u(t)};e.prototype.getDisplayHour=function(){if(!this.hour){return"--"}if(this.hourDisplayFormat==="12"){return b(this.hour)}return this.hour};e.prototype.getTime=function(){return{hour:this.hour,minute:this.minute,second:this.second}};e.prototype.connectedCallback=function(){if(this.hourDisplayFormat==="12"){this.meridiem=f(this.hour)}if(l(this.hour)){this.hour=y(parseInt(this.hour))}if(l(this.minute)){this.minute=y(parseInt(this.minute))}if(l(this.second)){this.second=y(parseInt(this.second))}};e.prototype.render=function(){var e,t,i,r,o,s,c,u,m,p,h,d;var f=this;var b=this.scale==="s"||this.scale==="m"?"s":"m";var w=this.step!==60;var v=l(this.hour);var y=l(this.minute);var k=l(this.second);return n(a,null,n("div",{class:g.timePicker},n("div",{role:"group"},n("span",{"aria-label":this.intlHourUp,class:(e={},e[g.button]=true,e[g.buttonHourUp]=true,e[g.buttonTopLeft]=true,e),onClick:this.incrementHour,onKeyDown:this.hourUpButtonKeyDownHandler,role:"button",tabIndex:-1},n("calcite-icon",{icon:"chevron-up",scale:b})),n("span",{"aria-label":this.intlHour,"aria-valuemax":"23","aria-valuemin":"1","aria-valuenow":v&&parseInt(this.hour),"aria-valuetext":this.hour,class:(t={},t[g.input]=true,t[g.hour]=true,t),onFocus:this.focusHandler,onKeyDown:this.hourKeyDownHandler,ref:function(e){return f.hourEl=e},role:"spinbutton",tabIndex:0},this.getDisplayHour()),n("span",{"aria-label":this.intlHourDown,class:(i={},i[g.button]=true,i[g.buttonHourDown]=true,i[g.buttonBottomLeft]=true,i),onClick:this.decrementHour,onKeyDown:this.hourDownButtonKeyDownHandler,role:"button",tabIndex:-1},n("calcite-icon",{icon:"chevron-down",scale:b}))),n("span",{class:g.delimiter},":"),n("div",{role:"group"},n("span",{"aria-label":this.intlMinuteUp,class:(r={},r[g.button]=true,r[g.buttonMinuteUp]=true,r),onClick:this.incrementMinute,onKeyDown:this.minuteUpButtonKeyDownHandler,role:"button",tabIndex:-1},n("calcite-icon",{icon:"chevron-up",scale:b})),n("span",{"aria-label":this.intlMinute,"aria-valuemax":"12","aria-valuemin":"1","aria-valuenow":y&&parseInt(this.minute),"aria-valuetext":this.minute,class:(o={},o[g.input]=true,o[g.minute]=true,o),onFocus:this.focusHandler,onKeyDown:this.minuteKeyDownHandler,ref:function(e){return f.minuteEl=e},role:"spinbutton",tabIndex:0},this.minute?this.minute:"--"),n("span",{"aria-label":this.intlMinuteDown,class:(s={},s[g.button]=true,s[g.buttonMinuteDown]=true,s),onClick:this.decrementMinute,onKeyDown:this.minuteDownButtonKeyDownHandler,role:"button",tabIndex:-1},n("calcite-icon",{icon:"chevron-down",scale:b}))),w&&n("span",{class:g.delimiter},":"),w&&n("div",{role:"group"},n("span",{"aria-label":this.intlSecondUp,class:(c={},c[g.button]=true,c[g.buttonSecondUp]=true,c),onClick:this.incrementSecond,onKeyDown:this.secondUpButtonKeyDownHandler,role:"button",tabIndex:-1},n("calcite-icon",{icon:"chevron-up",scale:b})),n("span",{"aria-label":this.intlSecond,"aria-valuemax":"59","aria-valuemin":"0","aria-valuenow":k&&parseInt(this.second),"aria-valuetext":this.second,class:(u={},u[g.input]=true,u[g.second]=true,u),onFocus:this.focusHandler,onKeyDown:this.secondKeyDownHandler,ref:function(e){return f.secondEl=e},role:"spinbutton",tabIndex:0},this.second?this.second:"--"),n("span",{"aria-label":this.intlSecondDown,class:(m={},m[g.button]=true,m[g.buttonSecondDown]=true,m),onClick:this.decrementSecond,onKeyDown:this.secondDownButtonKeyDownHandler,role:"button",tabIndex:-1},n("calcite-icon",{icon:"chevron-down",scale:b}))),this.hourDisplayFormat==="12"&&n("div",{role:"group"},n("span",{"aria-label":this.intlMeridiemUp,class:(p={},p[g.button]=true,p[g.buttonMeridiemUp]=true,p[g.buttonTopRight]=true,p),onClick:this.incrementMeridiem,onKeyDown:this.meridiemUpButtonKeyDownHandler,role:"button",tabIndex:-1},n("calcite-icon",{icon:"chevron-up",scale:b})),n("span",{"aria-label":this.intlMeridiem,"aria-valuemax":"2","aria-valuemin":"1","aria-valuenow":this.meridiem==="AM"?"1":this.meridiem==="PM"?"2":undefined,"aria-valuetext":this.meridiem,class:(h={},h[g.input]=true,h[g.meridiem]=true,h),onFocus:this.focusHandler,onKeyDown:this.meridiemKeyDownHandler,ref:function(e){return f.meridiemEl=e},role:"spinbutton",tabIndex:0},this.meridiem?this.meridiem:"--"),n("span",{"aria-label":this.intlMeridiemDown,class:(d={},d[g.button]=true,d[g.buttonMeridiemDown]=true,d[g.buttonBottomRight]=true,d),onClick:this.decrementMeridiem,onKeyDown:this.meridiemDownButtonKeyDownHandler,role:"button",tabIndex:-1},n("calcite-icon",{icon:"chevron-down",scale:b})))))};Object.defineProperty(e.prototype,"el",{get:function(){return r(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{hour:["hourChanged","timeChangeHandler"],minute:["timeChangeHandler"],second:["timeChangeHandler"]}},enumerable:false,configurable:true});return e}());M.style=H}}}));
@@ -2,4 +2,4 @@ var __awaiter=this&&this.__awaiter||function(t,e,i,o){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
- */System.register(["./p-c74fc589.system.js","./p-a8c759ae.system.js","./p-56b352bf.system.js","./p-db10485b.system.js","./p-e020662f.system.js"],(function(t){"use strict";var e,i,o,a,r,n,s,l,c,d,m,u,h;return{setters:[function(t){e=t.r;i=t.c;o=t.h;a=t.H;r=t.g},function(t){n=t.f;s=t.g;l=t.C;c=t.a;d=t.e;m=t.i},function(t){u=t.g},function(t){h=t.c},function(){}],execute:function(){function f(t,e,i,o,a){if(o===void 0){o=20}if(a===void 0){a=0}var r=[];if(a>=o){return r}var n=function(t){var r=t.assignedNodes().filter((function(t){return t.nodeType===1}));if(r.length>0){return f(r[0].parentElement,e,i,o,a+1)}return[]};var s=Array.from(t.children||[]);for(var l=0,c=s;l<c.length;l++){var d=c[l];if(e(d)){continue}if(i(d)){r.push(d)}if(d.shadowRoot!=null){r.push.apply(r,f(d.shadowRoot,e,i,o,a+1))}else if(d.tagName==="SLOT"){r.push.apply(r,n(d))}else{r.push.apply(r,f(d,e,i,o,a+1))}}return r}function b(t){return t.hasAttribute("hidden")||t.hasAttribute("aria-hidden")&&t.getAttribute("aria-hidden")!=="false"||t.style.display==="none"||t.style.opacity==="0"||t.style.visibility==="hidden"||t.style.visibility==="collapse"}function p(t){return t.hasAttribute("disabled")||t.hasAttribute("aria-disabled")&&t.getAttribute("aria-disabled")!=="false"}function x(t){if(t.getAttribute("tabindex")==="-1"||b(t)||p(t)){return false}return t.hasAttribute("tabindex")||(t instanceof HTMLAnchorElement||t instanceof HTMLAreaElement)&&t.hasAttribute("href")||(t instanceof HTMLButtonElement||t instanceof HTMLInputElement||t instanceof HTMLTextAreaElement||t instanceof HTMLSelectElement)||t instanceof HTMLIFrameElement}var y={title:"title",header:"header",footer:"footer",scrim:"scrim",back:"back",close:"close",secondary:"secondary",primary:"primary",overflowHidden:"overflow-hidden"};var v={close:"x"};var g={content:"content",header:"header",back:"back",secondary:"secondary",primary:"primary"};var w={close:"Close"};var k="@-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:300ms}.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:150ms ease-in-out}:host([hidden]){display:none}:host{position:fixed;top:0;right:0;bottom:0;left:0;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;overflow-y:hidden;color:var(--calcite-ui-text-2);opacity:0;visibility:hidden !important;-webkit-transition:visibility 0ms linear 300ms, opacity 300ms cubic-bezier(0.215, 0.44, 0.42, 0.88);transition:visibility 0ms linear 300ms, opacity 300ms cubic-bezier(0.215, 0.44, 0.42, 0.88);z-index:101}:host([scale=s]){--calcite-modal-padding:0.75rem;--calcite-modal-padding-large:1rem;--calcite-modal-title-text:var(--calcite-font-size-1);--calcite-modal-content-text:var(--calcite-font-size--1)}:host([scale=m]){--calcite-modal-padding:1rem;--calcite-modal-padding-large:1.25rem;--calcite-modal-title-text:var(--calcite-font-size-2);--calcite-modal-content-text:var(--calcite-font-size-0)}:host([scale=l]){--calcite-modal-padding:1.25rem;--calcite-modal-padding-large:1.5rem;--calcite-modal-title-text:var(--calcite-font-size-3);--calcite-modal-content-text:var(--calcite-font-size-1)}.scrim{--calcite-scrim-background:rgba(0, 0, 0, 0.75);position:fixed;top:0;right:0;bottom:0;left:0;display:-ms-flexbox;display:flex;overflow-y:hidden}.modal{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-webkit-box-shadow:0 2px 12px -4px rgba(0, 0, 0, 0.2), 0 2px 4px -2px rgba(0, 0, 0, 0.16);box-shadow:0 2px 12px -4px rgba(0, 0, 0, 0.2), 0 2px 4px -2px rgba(0, 0, 0, 0.16);-webkit-box-sizing:border-box;box-sizing:border-box;float:none;margin:1.5rem;border-radius:0.25rem;background-color:var(--calcite-ui-foreground-1);width:100%;opacity:0;pointer-events:none;overflow:hidden;z-index:102;-webkit-overflow-scrolling:touch;visibility:hidden;-webkit-transition:visibility 0ms linear 300ms, opacity 300ms cubic-bezier(0.215, 0.44, 0.42, 0.88), -webkit-transform 300ms cubic-bezier(0.215, 0.44, 0.42, 0.88);transition:visibility 0ms linear 300ms, opacity 300ms cubic-bezier(0.215, 0.44, 0.42, 0.88), -webkit-transform 300ms cubic-bezier(0.215, 0.44, 0.42, 0.88);transition:transform 300ms cubic-bezier(0.215, 0.44, 0.42, 0.88), visibility 0ms linear 300ms, opacity 300ms cubic-bezier(0.215, 0.44, 0.42, 0.88);transition:transform 300ms cubic-bezier(0.215, 0.44, 0.42, 0.88), visibility 0ms linear 300ms, opacity 300ms cubic-bezier(0.215, 0.44, 0.42, 0.88), -webkit-transform 300ms cubic-bezier(0.215, 0.44, 0.42, 0.88);-webkit-transform:translate3d(0, 20px, 0);transform:translate3d(0, 20px, 0)}:host([active]){opacity:1;visibility:visible !important;-webkit-transition-delay:0ms;transition-delay:0ms}:host([active]) .modal{opacity:1;pointer-events:auto;visibility:visible;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);-webkit-transition:visibility 0ms linear, opacity 300ms cubic-bezier(0.215, 0.44, 0.42, 0.88), max-width 300ms cubic-bezier(0.215, 0.44, 0.42, 0.88), max-height 300ms cubic-bezier(0.215, 0.44, 0.42, 0.88), -webkit-transform 300ms cubic-bezier(0.215, 0.44, 0.42, 0.88);transition:visibility 0ms linear, opacity 300ms cubic-bezier(0.215, 0.44, 0.42, 0.88), max-width 300ms cubic-bezier(0.215, 0.44, 0.42, 0.88), max-height 300ms cubic-bezier(0.215, 0.44, 0.42, 0.88), -webkit-transform 300ms cubic-bezier(0.215, 0.44, 0.42, 0.88);transition:transform 300ms cubic-bezier(0.215, 0.44, 0.42, 0.88), visibility 0ms linear, opacity 300ms cubic-bezier(0.215, 0.44, 0.42, 0.88), max-width 300ms cubic-bezier(0.215, 0.44, 0.42, 0.88), max-height 300ms cubic-bezier(0.215, 0.44, 0.42, 0.88);transition:transform 300ms cubic-bezier(0.215, 0.44, 0.42, 0.88), visibility 0ms linear, opacity 300ms cubic-bezier(0.215, 0.44, 0.42, 0.88), max-width 300ms cubic-bezier(0.215, 0.44, 0.42, 0.88), max-height 300ms cubic-bezier(0.215, 0.44, 0.42, 0.88), -webkit-transform 300ms cubic-bezier(0.215, 0.44, 0.42, 0.88);-webkit-transition-delay:0ms;transition-delay:0ms}.header{display:-ms-flexbox;display:flex;max-width:100%;min-width:0;border-top-left-radius:0.25rem;border-top-right-radius:0.25rem;background-color:var(--calcite-ui-foreground-1);border-width:0;border-bottom-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);-ms-flex:0 0 auto;flex:0 0 auto;z-index:2}.close{margin:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;border-style:none;color:var(--calcite-ui-text-3);-ms-flex-order:2;order:2;cursor:pointer;border-top-right-radius:0.25rem;background-color:transparent;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;padding:var(--calcite-modal-padding);-ms-flex:0 0 auto;flex:0 0 auto;-webkit-transition:all 0.15s ease-in-out;transition:all 0.15s ease-in-out}.close calcite-icon{pointer-events:none;vertical-align:-2px}.close:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}.close:hover,.close:focus,.close:active{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1)}.calcite--rtl .close{border-top-left-radius:0.25rem;border-top-right-radius:0}.title{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-order:1;order:1;min-width:0;-ms-flex:1 1 auto;flex:1 1 auto;padding:var(--calcite-modal-padding) var(--calcite-modal-padding-large)}slot[name=header]::slotted(*),*::slotted([slot=header]){margin:0;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-1);font-size:var(--calcite-modal-title-text)}.content{position:relative;padding:0;height:100%;overflow:auto;display:block;background-color:var(--calcite-ui-foreground-1);-webkit-box-sizing:border-box;box-sizing:border-box;max-height:calc(100vh - 12rem);z-index:1}.content--spaced{padding:var(--calcite-modal-padding) var(--calcite-modal-padding-large)}.content--no-footer{border-bottom-right-radius:0.25rem;border-bottom-left-radius:0.25rem}slot[name=content]::slotted(*),*::slotted([slot=content]){font-size:var(--calcite-modal-content-text)}:host([background-color=grey]) .content{background-color:var(--calcite-ui-background)}.footer{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;margin-top:auto;-webkit-box-sizing:border-box;box-sizing:border-box;border-bottom-right-radius:0.25rem;border-bottom-left-radius:0.25rem;width:100%;background-color:var(--calcite-ui-foreground-1);border-width:0;border-top-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);-ms-flex:0 0 auto;flex:0 0 auto;padding:var(--calcite-modal-padding) var(--calcite-modal-padding-large);z-index:2}.footer--hide-back .back,.footer--hide-secondary .secondary{display:none}.back{display:block;margin-right:auto}.calcite--rtl .back{margin-left:auto;margin-right:0}.secondary{display:block;margin-left:0.25rem;margin-right:0.25rem}slot[name=primary]{display:block}:host([width=small]) .modal{width:auto}:host([width=s]) .modal{max-width:32rem}@media screen and (max-width: 35rem){:host([width=s]) .modal{height:100%;max-height:100%;width:100%;max-width:100%;margin:0;border-radius:0}:host([width=s]) .content{-ms-flex:1 1 auto;flex:1 1 auto;max-height:unset}:host([width=s][docked]){-ms-flex-align:end;align-items:flex-end}}:host([width=m]) .modal{max-width:48rem}@media screen and (max-width: 51rem){:host([width=m]) .modal{height:100%;max-height:100%;width:100%;max-width:100%;margin:0;border-radius:0}:host([width=m]) .content{-ms-flex:1 1 auto;flex:1 1 auto;max-height:unset}:host([width=m][docked]){-ms-flex-align:end;align-items:flex-end}}:host([width=l]) .modal{max-width:94rem}@media screen and (max-width: 97rem){:host([width=l]) .modal{height:100%;max-height:100%;width:100%;max-width:100%;margin:0;border-radius:0}:host([width=l]) .content{-ms-flex:1 1 auto;flex:1 1 auto;max-height:unset}:host([width=l][docked]){-ms-flex-align:end;align-items:flex-end}}:host([fullscreen]){background-color:transparent}:host([fullscreen]) .modal{height:100%;max-height:100%;width:100%;max-width:100%;margin:0;-webkit-transform:translate3D(0, 20px, 0) scale(0.95);transform:translate3D(0, 20px, 0) scale(0.95)}:host([fullscreen]) .content{max-height:100%;-ms-flex:1 1 auto;flex:1 1 auto}:host([active][fullscreen]) .modal{-webkit-transform:translate3D(0, 0, 0) scale(1);transform:translate3D(0, 0, 0) scale(1)}:host([active][fullscreen]) .header{border-radius:0}:host([active][fullscreen]) .footer{border-radius:0}:host([docked]) .modal{height:auto}:host([docked]) .content{height:auto;-ms-flex:1 1 auto;flex:1 1 auto}@media screen and (max-width: 860px){:host([docked]) .modal{border-radius:var(--calcite-border-radius) var(--calcite-border-radius) 0 0}:host([docked]) .close{border-radius:0 var(--calcite-border-radius) 0 0}}@media screen and (max-width: 860px){:host([docked]) .calcite--rtl .close{border-radius:var(--calcite-border-radius) var(--calcite-border-radius) 0 0}}:host([color=red]) .modal{border-color:var(--calcite-ui-danger)}:host([color=blue]) .modal{border-color:var(--calcite-ui-info)}:host([color=red]) .modal,:host([color=blue]) .modal{border-width:0;border-top-width:4px;border-style:solid}:host([color=red]) .header,:host([color=blue]) .header{border-radius:0.25rem;border-bottom-right-radius:0;border-bottom-left-radius:0}@media screen and (max-width: 860px){slot[name=header]::slotted(*),*::slotted([slot=header]){font-size:var(--calcite-font-size-1)}.footer{position:-webkit-sticky;position:sticky;bottom:0}}@media screen and (max-width: 480px){.footer{-ms-flex-direction:column;flex-direction:column}.calcite--rtl .back,.back,.secondary{margin:0;margin-bottom:0.25rem}}";var z=function(t){return m(t)||x(t)};var E=function(t){return f(t,b,z)};var C=t("calcite_modal",function(){function t(t){var o=this;e(this,t);this.calciteModalOpen=i(this,"calciteModalOpen",7);this.calciteModalClose=i(this,"calciteModalClose",7);this.active=false;this.beforeClose=function(){return Promise.resolve()};this.disableCloseButton=false;this.disableOutsideClose=false;this.intlClose=w.close;this.disableEscape=false;this.scale="m";this.width="m";this.backgroundColor="white";this.noPadding=false;this.hasFooter=true;this.mutationObserver=h("mutation",(function(){return o.updateFooterVisibility()}));this.activeTransitionProp="opacity";this.transitionEnd=function(t){if(t.propertyName===o.activeTransitionProp){o.active?o.calciteModalOpen.emit():o.calciteModalClose.emit()}};this.openEnd=function(){o.setFocus();o.el.removeEventListener("calciteModalOpen",o.openEnd)};this.handleOutsideClose=function(){if(o.disableOutsideClose){return}o.close()};this.close=function(){return o.beforeClose(o.el).then((function(){o.active=false;n(o.previousActiveElement);o.removeOverflowHiddenClass()}))};this.focusFirstElement=function(){n(o.closeButtonEl)};this.focusLastElement=function(){var t=E(o.el).filter((function(t){return!t.getAttribute("data-focus-fence")}));if(t.length>0){n(t[t.length-1])}else{n(o.closeButtonEl)}};this.updateFooterVisibility=function(){o.hasFooter=!!o.el.querySelector("[slot="+g.back+"], [slot="+g.secondary+"], [slot="+g.primary+"]")}}t.prototype.componentWillLoad=function(){if(this.active){this.open()}};t.prototype.connectedCallback=function(){var t;(t=this.mutationObserver)===null||t===void 0?void 0:t.observe(this.el,{childList:true,subtree:true});this.updateFooterVisibility()};t.prototype.disconnectedCallback=function(){var t;this.removeOverflowHiddenClass();(t=this.mutationObserver)===null||t===void 0?void 0:t.disconnect()};t.prototype.render=function(){var t;var e=this;var i=s(this.el);return o(a,{"aria-describedby":this.contentId,"aria-labelledby":this.titleId,"aria-modal":"true",role:"dialog"},o("calcite-scrim",{class:y.scrim,onClick:this.handleOutsideClose}),this.renderStyle(),o("div",{class:(t={modal:true},t[l.rtl]=i==="rtl",t),onTransitionEnd:this.transitionEnd},o("div",{"data-focus-fence":true,onFocus:this.focusLastElement,tabindex:"0"}),o("div",{class:y.header},this.renderCloseButton(),o("header",{class:y.title},o("slot",{name:y.header}))),o("div",{class:{content:true,"content--spaced":!this.noPadding,"content--no-footer":!this.hasFooter},ref:function(t){return e.modalContent=t}},o("slot",{name:g.content})),this.renderFooter(),o("div",{"data-focus-fence":true,onFocus:this.focusFirstElement,tabindex:"0"})))};t.prototype.renderFooter=function(){return this.hasFooter?o("div",{class:y.footer},o("span",{class:y.back},o("slot",{name:g.back})),o("span",{class:y.secondary},o("slot",{name:g.secondary})),o("span",{class:y.primary},o("slot",{name:g.primary}))):null};t.prototype.renderCloseButton=function(){var t=this;return!this.disableCloseButton?o("button",{"aria-label":this.intlClose,class:y.close,onClick:this.close,ref:function(e){return t.closeButtonEl=e},title:this.intlClose},o("calcite-icon",{icon:v.close,scale:this.scale==="s"?"s":"l"})):null};t.prototype.renderStyle=function(){var t=!isNaN(parseInt(""+this.width));return t?o("style",null,"\n .modal {\n max-width: "+this.width+"px !important;\n }\n @media screen and (max-width: "+this.width+"px) {\n .modal {\n height: 100% !important;\n max-height: 100% !important;\n width: 100% !important;\n max-width: 100% !important;\n margin: 0 !important;\n border-radius: 0 !important;\n }\n .content {\n flex: 1 1 auto !important;\n max-height: unset !important;\n }\n }\n "):null};t.prototype.handleEscape=function(t){if(this.active&&!this.disableEscape&&u(t.key)==="Escape"){this.close()}};t.prototype.focusElement=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){if(t){t.focus()}return[2,this.setFocus()]}))}))};t.prototype.setFocus=function(t){return __awaiter(this,void 0,void 0,(function(){var e;return __generator(this,(function(i){e=this.closeButtonEl;return[2,n(t==="close-button"?e:E(this.el)[0]||e)]}))}))};t.prototype.scrollContent=function(t,e){if(t===void 0){t=0}if(e===void 0){e=0}return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(i){if(this.modalContent){if(this.modalContent.scrollTo){this.modalContent.scrollTo({top:t,left:e,behavior:"smooth"})}else{this.modalContent.scrollTop=t;this.modalContent.scrollLeft=e}}return[2]}))}))};t.prototype.toggleModal=function(t,e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(i){if(t!==e){if(t){this.open()}else if(!t){this.close()}}return[2]}))}))};t.prototype.open=function(){this.previousActiveElement=document.activeElement;this.el.addEventListener("calciteModalOpen",this.openEnd);this.active=true;var t=c(this.el,g.header);var e=c(this.el,g.content);this.titleId=d(t);this.contentId=d(e);document.documentElement.classList.add(y.overflowHidden)};t.prototype.removeOverflowHiddenClass=function(){document.documentElement.classList.remove(y.overflowHidden)};Object.defineProperty(t.prototype,"el",{get:function(){return r(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{active:["toggleModal"]}},enumerable:false,configurable:true});return t}());C.style=k}}}));
5
+ */System.register(["./p-89cdfa96.system.js","./p-6cc23c39.system.js","./p-56b352bf.system.js","./p-db10485b.system.js","./p-e020662f.system.js"],(function(t){"use strict";var e,i,o,a,r,n,s,l,c,d,m,u,h;return{setters:[function(t){e=t.r;i=t.c;o=t.h;a=t.H;r=t.g},function(t){n=t.f;s=t.a;l=t.C;c=t.g;d=t.e;m=t.i},function(t){u=t.g},function(t){h=t.c},function(){}],execute:function(){function f(t,e,i,o,a){if(o===void 0){o=20}if(a===void 0){a=0}var r=[];if(a>=o){return r}var n=function(t){var r=t.assignedNodes().filter((function(t){return t.nodeType===1}));if(r.length>0){return f(r[0].parentElement,e,i,o,a+1)}return[]};var s=Array.from(t.children||[]);for(var l=0,c=s;l<c.length;l++){var d=c[l];if(e(d)){continue}if(i(d)){r.push(d)}if(d.shadowRoot!=null){r.push.apply(r,f(d.shadowRoot,e,i,o,a+1))}else if(d.tagName==="SLOT"){r.push.apply(r,n(d))}else{r.push.apply(r,f(d,e,i,o,a+1))}}return r}function b(t){return t.hasAttribute("hidden")||t.hasAttribute("aria-hidden")&&t.getAttribute("aria-hidden")!=="false"||t.style.display==="none"||t.style.opacity==="0"||t.style.visibility==="hidden"||t.style.visibility==="collapse"}function p(t){return t.hasAttribute("disabled")||t.hasAttribute("aria-disabled")&&t.getAttribute("aria-disabled")!=="false"}function x(t){if(t.getAttribute("tabindex")==="-1"||b(t)||p(t)){return false}return t.hasAttribute("tabindex")||(t instanceof HTMLAnchorElement||t instanceof HTMLAreaElement)&&t.hasAttribute("href")||(t instanceof HTMLButtonElement||t instanceof HTMLInputElement||t instanceof HTMLTextAreaElement||t instanceof HTMLSelectElement)||t instanceof HTMLIFrameElement}var y={title:"title",header:"header",footer:"footer",scrim:"scrim",back:"back",close:"close",secondary:"secondary",primary:"primary",overflowHidden:"overflow-hidden"};var v={close:"x"};var g={content:"content",header:"header",back:"back",secondary:"secondary",primary:"primary"};var w={close:"Close"};var k="@-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:300ms}.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:150ms ease-in-out}:host([hidden]){display:none}:host{position:fixed;top:0;right:0;bottom:0;left:0;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;overflow-y:hidden;color:var(--calcite-ui-text-2);opacity:0;visibility:hidden !important;-webkit-transition:visibility 0ms linear 300ms, opacity 300ms cubic-bezier(0.215, 0.44, 0.42, 0.88);transition:visibility 0ms linear 300ms, opacity 300ms cubic-bezier(0.215, 0.44, 0.42, 0.88);z-index:101}:host([scale=s]){--calcite-modal-padding:0.75rem;--calcite-modal-padding-large:1rem;--calcite-modal-title-text:var(--calcite-font-size-1);--calcite-modal-content-text:var(--calcite-font-size--1)}:host([scale=m]){--calcite-modal-padding:1rem;--calcite-modal-padding-large:1.25rem;--calcite-modal-title-text:var(--calcite-font-size-2);--calcite-modal-content-text:var(--calcite-font-size-0)}:host([scale=l]){--calcite-modal-padding:1.25rem;--calcite-modal-padding-large:1.5rem;--calcite-modal-title-text:var(--calcite-font-size-3);--calcite-modal-content-text:var(--calcite-font-size-1)}.scrim{--calcite-scrim-background:rgba(0, 0, 0, 0.75);position:fixed;top:0;right:0;bottom:0;left:0;display:-ms-flexbox;display:flex;overflow-y:hidden}.modal{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-webkit-box-shadow:0 2px 12px -4px rgba(0, 0, 0, 0.2), 0 2px 4px -2px rgba(0, 0, 0, 0.16);box-shadow:0 2px 12px -4px rgba(0, 0, 0, 0.2), 0 2px 4px -2px rgba(0, 0, 0, 0.16);-webkit-box-sizing:border-box;box-sizing:border-box;float:none;margin:1.5rem;border-radius:0.25rem;background-color:var(--calcite-ui-foreground-1);width:100%;opacity:0;pointer-events:none;overflow:hidden;z-index:102;-webkit-overflow-scrolling:touch;visibility:hidden;-webkit-transition:visibility 0ms linear 300ms, opacity 300ms cubic-bezier(0.215, 0.44, 0.42, 0.88), -webkit-transform 300ms cubic-bezier(0.215, 0.44, 0.42, 0.88);transition:visibility 0ms linear 300ms, opacity 300ms cubic-bezier(0.215, 0.44, 0.42, 0.88), -webkit-transform 300ms cubic-bezier(0.215, 0.44, 0.42, 0.88);transition:transform 300ms cubic-bezier(0.215, 0.44, 0.42, 0.88), visibility 0ms linear 300ms, opacity 300ms cubic-bezier(0.215, 0.44, 0.42, 0.88);transition:transform 300ms cubic-bezier(0.215, 0.44, 0.42, 0.88), visibility 0ms linear 300ms, opacity 300ms cubic-bezier(0.215, 0.44, 0.42, 0.88), -webkit-transform 300ms cubic-bezier(0.215, 0.44, 0.42, 0.88);-webkit-transform:translate3d(0, 20px, 0);transform:translate3d(0, 20px, 0)}:host([active]){opacity:1;visibility:visible !important;-webkit-transition-delay:0ms;transition-delay:0ms}:host([active]) .modal{opacity:1;pointer-events:auto;visibility:visible;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);-webkit-transition:visibility 0ms linear, opacity 300ms cubic-bezier(0.215, 0.44, 0.42, 0.88), max-width 300ms cubic-bezier(0.215, 0.44, 0.42, 0.88), max-height 300ms cubic-bezier(0.215, 0.44, 0.42, 0.88), -webkit-transform 300ms cubic-bezier(0.215, 0.44, 0.42, 0.88);transition:visibility 0ms linear, opacity 300ms cubic-bezier(0.215, 0.44, 0.42, 0.88), max-width 300ms cubic-bezier(0.215, 0.44, 0.42, 0.88), max-height 300ms cubic-bezier(0.215, 0.44, 0.42, 0.88), -webkit-transform 300ms cubic-bezier(0.215, 0.44, 0.42, 0.88);transition:transform 300ms cubic-bezier(0.215, 0.44, 0.42, 0.88), visibility 0ms linear, opacity 300ms cubic-bezier(0.215, 0.44, 0.42, 0.88), max-width 300ms cubic-bezier(0.215, 0.44, 0.42, 0.88), max-height 300ms cubic-bezier(0.215, 0.44, 0.42, 0.88);transition:transform 300ms cubic-bezier(0.215, 0.44, 0.42, 0.88), visibility 0ms linear, opacity 300ms cubic-bezier(0.215, 0.44, 0.42, 0.88), max-width 300ms cubic-bezier(0.215, 0.44, 0.42, 0.88), max-height 300ms cubic-bezier(0.215, 0.44, 0.42, 0.88), -webkit-transform 300ms cubic-bezier(0.215, 0.44, 0.42, 0.88);-webkit-transition-delay:0ms;transition-delay:0ms}.header{display:-ms-flexbox;display:flex;max-width:100%;min-width:0;border-top-left-radius:0.25rem;border-top-right-radius:0.25rem;background-color:var(--calcite-ui-foreground-1);border-width:0;border-bottom-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);-ms-flex:0 0 auto;flex:0 0 auto;z-index:2}.close{margin:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;border-style:none;color:var(--calcite-ui-text-3);-ms-flex-order:2;order:2;cursor:pointer;border-top-right-radius:0.25rem;background-color:transparent;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;padding:var(--calcite-modal-padding);-ms-flex:0 0 auto;flex:0 0 auto;-webkit-transition:all 0.15s ease-in-out;transition:all 0.15s ease-in-out}.close calcite-icon{pointer-events:none;vertical-align:-2px}.close:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}.close:hover,.close:focus,.close:active{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1)}.calcite--rtl .close{border-top-left-radius:0.25rem;border-top-right-radius:0}.title{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-order:1;order:1;min-width:0;-ms-flex:1 1 auto;flex:1 1 auto;padding:var(--calcite-modal-padding) var(--calcite-modal-padding-large)}slot[name=header]::slotted(*),*::slotted([slot=header]){margin:0;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-1);font-size:var(--calcite-modal-title-text)}.content{position:relative;padding:0;height:100%;overflow:auto;display:block;background-color:var(--calcite-ui-foreground-1);-webkit-box-sizing:border-box;box-sizing:border-box;max-height:calc(100vh - 12rem);z-index:1}.content--spaced{padding:var(--calcite-modal-padding) var(--calcite-modal-padding-large)}.content--no-footer{border-bottom-right-radius:0.25rem;border-bottom-left-radius:0.25rem}slot[name=content]::slotted(*),*::slotted([slot=content]){font-size:var(--calcite-modal-content-text)}:host([background-color=grey]) .content{background-color:var(--calcite-ui-background)}.footer{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;margin-top:auto;-webkit-box-sizing:border-box;box-sizing:border-box;border-bottom-right-radius:0.25rem;border-bottom-left-radius:0.25rem;width:100%;background-color:var(--calcite-ui-foreground-1);border-width:0;border-top-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);-ms-flex:0 0 auto;flex:0 0 auto;padding:var(--calcite-modal-padding) var(--calcite-modal-padding-large);z-index:2}.footer--hide-back .back,.footer--hide-secondary .secondary{display:none}.back{display:block;margin-right:auto}.calcite--rtl .back{margin-left:auto;margin-right:0}.secondary{display:block;margin-left:0.25rem;margin-right:0.25rem}slot[name=primary]{display:block}:host([width=small]) .modal{width:auto}:host([width=s]) .modal{max-width:32rem}@media screen and (max-width: 35rem){:host([width=s]) .modal{height:100%;max-height:100%;width:100%;max-width:100%;margin:0;border-radius:0}:host([width=s]) .content{-ms-flex:1 1 auto;flex:1 1 auto;max-height:unset}:host([width=s][docked]){-ms-flex-align:end;align-items:flex-end}}:host([width=m]) .modal{max-width:48rem}@media screen and (max-width: 51rem){:host([width=m]) .modal{height:100%;max-height:100%;width:100%;max-width:100%;margin:0;border-radius:0}:host([width=m]) .content{-ms-flex:1 1 auto;flex:1 1 auto;max-height:unset}:host([width=m][docked]){-ms-flex-align:end;align-items:flex-end}}:host([width=l]) .modal{max-width:94rem}@media screen and (max-width: 97rem){:host([width=l]) .modal{height:100%;max-height:100%;width:100%;max-width:100%;margin:0;border-radius:0}:host([width=l]) .content{-ms-flex:1 1 auto;flex:1 1 auto;max-height:unset}:host([width=l][docked]){-ms-flex-align:end;align-items:flex-end}}:host([fullscreen]){background-color:transparent}:host([fullscreen]) .modal{height:100%;max-height:100%;width:100%;max-width:100%;margin:0;-webkit-transform:translate3D(0, 20px, 0) scale(0.95);transform:translate3D(0, 20px, 0) scale(0.95)}:host([fullscreen]) .content{max-height:100%;-ms-flex:1 1 auto;flex:1 1 auto}:host([active][fullscreen]) .modal{-webkit-transform:translate3D(0, 0, 0) scale(1);transform:translate3D(0, 0, 0) scale(1)}:host([active][fullscreen]) .header{border-radius:0}:host([active][fullscreen]) .footer{border-radius:0}:host([docked]) .modal{height:auto}:host([docked]) .content{height:auto;-ms-flex:1 1 auto;flex:1 1 auto}@media screen and (max-width: 860px){:host([docked]) .modal{border-radius:var(--calcite-border-radius) var(--calcite-border-radius) 0 0}:host([docked]) .close{border-radius:0 var(--calcite-border-radius) 0 0}}@media screen and (max-width: 860px){:host([docked]) .calcite--rtl .close{border-radius:var(--calcite-border-radius) var(--calcite-border-radius) 0 0}}:host([color=red]) .modal{border-color:var(--calcite-ui-danger)}:host([color=blue]) .modal{border-color:var(--calcite-ui-info)}:host([color=red]) .modal,:host([color=blue]) .modal{border-width:0;border-top-width:4px;border-style:solid}:host([color=red]) .header,:host([color=blue]) .header{border-radius:0.25rem;border-bottom-right-radius:0;border-bottom-left-radius:0}@media screen and (max-width: 860px){slot[name=header]::slotted(*),*::slotted([slot=header]){font-size:var(--calcite-font-size-1)}.footer{position:-webkit-sticky;position:sticky;bottom:0}}@media screen and (max-width: 480px){.footer{-ms-flex-direction:column;flex-direction:column}.calcite--rtl .back,.back,.secondary{margin:0;margin-bottom:0.25rem}}";var z=function(t){return m(t)||x(t)};var E=function(t){return f(t,b,z)};var C=t("calcite_modal",function(){function t(t){var o=this;e(this,t);this.calciteModalOpen=i(this,"calciteModalOpen",7);this.calciteModalClose=i(this,"calciteModalClose",7);this.active=false;this.beforeClose=function(){return Promise.resolve()};this.disableCloseButton=false;this.disableOutsideClose=false;this.intlClose=w.close;this.disableEscape=false;this.scale="m";this.width="m";this.backgroundColor="white";this.noPadding=false;this.hasFooter=true;this.mutationObserver=h("mutation",(function(){return o.updateFooterVisibility()}));this.activeTransitionProp="opacity";this.transitionEnd=function(t){if(t.propertyName===o.activeTransitionProp){o.active?o.calciteModalOpen.emit():o.calciteModalClose.emit()}};this.openEnd=function(){o.setFocus();o.el.removeEventListener("calciteModalOpen",o.openEnd)};this.handleOutsideClose=function(){if(o.disableOutsideClose){return}o.close()};this.close=function(){return o.beforeClose(o.el).then((function(){o.active=false;n(o.previousActiveElement);o.removeOverflowHiddenClass()}))};this.focusFirstElement=function(){n(o.closeButtonEl)};this.focusLastElement=function(){var t=E(o.el).filter((function(t){return!t.getAttribute("data-focus-fence")}));if(t.length>0){n(t[t.length-1])}else{n(o.closeButtonEl)}};this.updateFooterVisibility=function(){o.hasFooter=!!o.el.querySelector("[slot="+g.back+"], [slot="+g.secondary+"], [slot="+g.primary+"]")}}t.prototype.componentWillLoad=function(){if(this.active){this.open()}};t.prototype.connectedCallback=function(){var t;(t=this.mutationObserver)===null||t===void 0?void 0:t.observe(this.el,{childList:true,subtree:true});this.updateFooterVisibility()};t.prototype.disconnectedCallback=function(){var t;this.removeOverflowHiddenClass();(t=this.mutationObserver)===null||t===void 0?void 0:t.disconnect()};t.prototype.render=function(){var t;var e=this;var i=s(this.el);return o(a,{"aria-describedby":this.contentId,"aria-labelledby":this.titleId,"aria-modal":"true",role:"dialog"},o("calcite-scrim",{class:y.scrim,onClick:this.handleOutsideClose}),this.renderStyle(),o("div",{class:(t={modal:true},t[l.rtl]=i==="rtl",t),onTransitionEnd:this.transitionEnd},o("div",{"data-focus-fence":true,onFocus:this.focusLastElement,tabindex:"0"}),o("div",{class:y.header},this.renderCloseButton(),o("header",{class:y.title},o("slot",{name:y.header}))),o("div",{class:{content:true,"content--spaced":!this.noPadding,"content--no-footer":!this.hasFooter},ref:function(t){return e.modalContent=t}},o("slot",{name:g.content})),this.renderFooter(),o("div",{"data-focus-fence":true,onFocus:this.focusFirstElement,tabindex:"0"})))};t.prototype.renderFooter=function(){return this.hasFooter?o("div",{class:y.footer},o("span",{class:y.back},o("slot",{name:g.back})),o("span",{class:y.secondary},o("slot",{name:g.secondary})),o("span",{class:y.primary},o("slot",{name:g.primary}))):null};t.prototype.renderCloseButton=function(){var t=this;return!this.disableCloseButton?o("button",{"aria-label":this.intlClose,class:y.close,onClick:this.close,ref:function(e){return t.closeButtonEl=e},title:this.intlClose},o("calcite-icon",{icon:v.close,scale:this.scale==="s"?"s":"l"})):null};t.prototype.renderStyle=function(){var t=!isNaN(parseInt(""+this.width));return t?o("style",null,"\n .modal {\n max-width: "+this.width+"px !important;\n }\n @media screen and (max-width: "+this.width+"px) {\n .modal {\n height: 100% !important;\n max-height: 100% !important;\n width: 100% !important;\n max-width: 100% !important;\n margin: 0 !important;\n border-radius: 0 !important;\n }\n .content {\n flex: 1 1 auto !important;\n max-height: unset !important;\n }\n }\n "):null};t.prototype.handleEscape=function(t){if(this.active&&!this.disableEscape&&u(t.key)==="Escape"){this.close()}};t.prototype.focusElement=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){if(t){t.focus()}return[2,this.setFocus()]}))}))};t.prototype.setFocus=function(t){return __awaiter(this,void 0,void 0,(function(){var e;return __generator(this,(function(i){e=this.closeButtonEl;return[2,n(t==="close-button"?e:E(this.el)[0]||e)]}))}))};t.prototype.scrollContent=function(t,e){if(t===void 0){t=0}if(e===void 0){e=0}return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(i){if(this.modalContent){if(this.modalContent.scrollTo){this.modalContent.scrollTo({top:t,left:e,behavior:"smooth"})}else{this.modalContent.scrollTop=t;this.modalContent.scrollLeft=e}}return[2]}))}))};t.prototype.toggleModal=function(t,e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(i){if(t!==e){if(t){this.open()}else if(!t){this.close()}}return[2]}))}))};t.prototype.open=function(){this.previousActiveElement=document.activeElement;this.el.addEventListener("calciteModalOpen",this.openEnd);this.active=true;var t=c(this.el,g.header);var e=c(this.el,g.content);this.titleId=d(t);this.contentId=d(e);document.documentElement.classList.add(y.overflowHidden)};t.prototype.removeOverflowHiddenClass=function(){document.documentElement.classList.remove(y.overflowHidden)};Object.defineProperty(t.prototype,"el",{get:function(){return r(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{active:["toggleModal"]}},enumerable:false,configurable:true});return t}());C.style=k}}}));
@@ -0,0 +1,5 @@
1
+ /*!
2
+ * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
+ * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
+ */
5
+ import{r as t,c as i,h as e,H as a,g as r}from"./p-05d1dfc6.js";import{a as o,C as n}from"./p-52cc870b.js";import{h as s}from"./p-d35e423d.js";import{g as c}from"./p-8a63221d.js";import{g as l}from"./p-72563742.js";import{c as h,d,g as m}from"./p-2ba00b89.js";let b=class{constructor(e){t(this,e),this.calciteSwitchChange=i(this,"calciteSwitchChange",7),this.disabled=!1,this.scale="m",this.switched=!1,this.checked=!1,this.inputEl=document.createElement("input"),this.clickHandler=()=>{this.toggle()}}disabledWatcher(t){this.inputEl.disabled=t,this.tabindex=t?-1:0}nameChanged(t){this.inputEl.name=t}switchedWatcher(t){this.checked=t}checkedWatcher(t){this.inputEl.checked=t}async setFocus(){this.el.focus()}onLabelClick(){this.disabled||(this.toggle(),this.setFocus())}setupInput(){this.checked&&this.inputEl.setAttribute("checked",""),this.inputEl.disabled=this.disabled,this.inputEl.id=`${this.guid}-input`,this.inputEl.name=this.name,this.inputEl.style.cssText=s,this.inputEl.type="checkbox",this.value&&(this.inputEl.value=null!=this.value?this.value.toString():""),this.el.appendChild(this.inputEl)}toggle(){this.checked=!this.checked,this.calciteSwitchChange.emit({switched:this.checked})}keyDownHandler(t){const i=l(t.key);this.disabled||" "!==i&&"Enter"!==i||this.toggle()}connectedCallback(){h(this);const t=this.checked||this.switched;t&&(this.switched=this.checked=t)}disconnectedCallback(){d(this)}componentWillLoad(){this.guid=this.el.id||`calcite-switch-${c()}`,this.tabindex=this.el.getAttribute("tabindex")||this.disabled?-1:0,this.setupInput()}render(){const t=o(this.el);return e(a,{"aria-checked":this.checked.toString(),"aria-label":m(this),onClick:this.clickHandler,role:"switch",tabindex:this.tabindex},e("div",{class:{container:!0,[n.rtl]:"rtl"===t}},e("div",{class:"track"},e("div",{class:"handle"}))))}get el(){return r(this)}static get watchers(){return{disabled:["disabledWatcher"],name:["nameChanged"],switched:["switchedWatcher"],checked:["checkedWatcher"]}}};b.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:300ms}.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:150ms ease-in-out}:host([hidden]){display:none}:host([scale=s]) .container{height:0.75rem}:host([scale=s]) .track{width:1.5rem;height:0.75rem}:host([scale=s]) .handle{width:0.5rem;height:0.5rem}:host([scale=m]) .container{height:1rem}:host([scale=m]) .track{width:2rem;height:1rem}:host([scale=m]) .handle{width:0.75rem;height:0.75rem}:host([scale=l]) .container{height:1.5rem}:host([scale=l]) .track{width:3rem;height:1.5rem}:host([scale=l]) .handle{width:1.25rem;height:1.25rem}:host{display:inline-block;position:relative;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]){opacity:var(--calcite-ui-opacity-disabled);pointer-events:none;cursor:default}:host{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;width:auto}:host(:focus){outline:2px solid var(--calcite-ui-brand);outline-offset:2px}.track{position:relative;display:inline-block;vertical-align:top;background-color:var(--calcite-ui-foreground-2);border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-2);-webkit-box-sizing:border-box;box-sizing:border-box;pointer-events:none;-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);border-radius:9999px}.handle{position:absolute;display:block;right:auto;background-color:var(--calcite-ui-foreground-1);border-width:2px;border-style:solid;border-color:var(--calcite-ui-border-input);-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);border-radius:9999px;pointer-events:none;top:-1px;left:-1px}: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{background-color:var(--calcite-ui-brand);border-color:var(--calcite-ui-brand-hover)}:host([checked]) .handle{left:auto;border-color:var(--calcite-ui-brand);right:-1px}:host([checked]:hover) .track{background-color:var(--calcite-ui-brand);border-color:var(--calcite-ui-brand-hover)}: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)}.calcite--rtl .handle{left:auto;right:-1px}:host([checked]) .calcite--rtl .handle{right:auto;left:-1px}:host([checked]:active) .calcite--rtl .handle{right:auto;left:-1px}:host([checked]:focus) .calcite--rtl .handle{right:auto;left:-1px}";export{b as calcite_switch}
@@ -2,4 +2,4 @@
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
4
  */
5
- import{r as t,c as a,h as e,H as i,g as n}from"./p-cbdf0e6c.js";import{g as s,C as o}from"./p-5fda3de2.js";import"./p-8a63221d.js";let r=class{constructor(e){t(this,e),this.calciteInternalLabelClick=a(this,"calciteInternalLabelClick",3),this.alignment="start",this.status="idle",this.scale="m",this.layout="default",this.disableSpacing=!1,this.disabled=!1,this.labelClickHandler=t=>{this.calciteInternalLabelClick.emit({sourceEvent:t})}}render(){const t=s(this.el);return e(i,{onClick:this.labelClickHandler},e("div",{class:{container:!0,[o.rtl]:"rtl"===t}},e("slot",null)))}get el(){return n(this)}};r.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:300ms}.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:150ms ease-in-out}:host([hidden]){display:none}:host([alignment=start]),:host([alignment=end]) .calcite--rtl{text-align:left}:host([alignment=end]),:host([alignment=start]) .calcite--rtl{text-align:right}:host([alignment=center]){text-align:center}:host([scale=s]) .container{font-size:var(--calcite-font-size--2);line-height:1rem;margin-bottom:0.5rem}:host([scale=m]) .container{font-size:var(--calcite-font-size--1);line-height:1rem;margin-bottom:0.75rem}:host([scale=l]) .container{font-size:var(--calcite-font-size-0);line-height:1.25rem;margin-bottom:1rem}:host .container{color:var(--calcite-ui-text-1);cursor:pointer;width:100%;margin-top:0;margin-right:0;margin-left:0;line-height:1.375}:host([layout=default]) .container{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;grid-gap:0.25rem;gap:0.25rem}:host([layout=inline]) .container,:host([layout=inline-space-between]) .container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-direction:row;flex-direction:row;grid-gap:0.5rem;gap:0.5rem}:host([layout=inline][scale=l]) .container{grid-gap:0.75rem;gap:0.75rem}:host([layout=inline-space-between]) .container{-ms-flex-pack:justify;justify-content:space-between}:host([disabled])>.container{pointer-events:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) ::slotted(*){pointer-events:none}:host([disabled]) ::slotted(*[disabled]),:host([disabled]) ::slotted(*[disabled] *){--bg-opacity:1}:host([disabled]) ::slotted(calcite-input-message:not([active])){--bg-opacity:0}:host([disable-spacing]) .container{grid-gap:0;gap:0;margin:0}";export{r as calcite_label}
5
+ import{r as t,c as a,h as i,H as e,g as n}from"./p-05d1dfc6.js";import{a as s,C as o}from"./p-52cc870b.js";import"./p-8a63221d.js";let r=class{constructor(i){t(this,i),this.calciteInternalLabelClick=a(this,"calciteInternalLabelClick",3),this.alignment="start",this.status="idle",this.scale="m",this.layout="default",this.disableSpacing=!1,this.disabled=!1,this.labelClickHandler=t=>{this.calciteInternalLabelClick.emit({sourceEvent:t})}}render(){const t=s(this.el);return i(e,{onClick:this.labelClickHandler},i("div",{class:{container:!0,[o.rtl]:"rtl"===t}},i("slot",null)))}get el(){return n(this)}};r.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:300ms}.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:150ms ease-in-out}:host([hidden]){display:none}:host([alignment=start]),:host([alignment=end]) .calcite--rtl{text-align:left}:host([alignment=end]),:host([alignment=start]) .calcite--rtl{text-align:right}:host([alignment=center]){text-align:center}:host([scale=s]) .container{font-size:var(--calcite-font-size--2);line-height:1rem;margin-bottom:0.5rem}:host([scale=m]) .container{font-size:var(--calcite-font-size--1);line-height:1rem;margin-bottom:0.75rem}:host([scale=l]) .container{font-size:var(--calcite-font-size-0);line-height:1.25rem;margin-bottom:1rem}:host .container{color:var(--calcite-ui-text-1);cursor:pointer;width:100%;margin-top:0;margin-right:0;margin-left:0;line-height:1.375}:host([layout=default]) .container{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;grid-gap:0.25rem;gap:0.25rem}:host([layout=inline]) .container,:host([layout=inline-space-between]) .container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-direction:row;flex-direction:row;grid-gap:0.5rem;gap:0.5rem}:host([layout=inline][scale=l]) .container{grid-gap:0.75rem;gap:0.75rem}:host([layout=inline-space-between]) .container{-ms-flex-pack:justify;justify-content:space-between}:host([disabled])>.container{pointer-events:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) ::slotted(*){pointer-events:none}:host([disabled]) ::slotted(*[disabled]),:host([disabled]) ::slotted(*[disabled] *){--bg-opacity:1}:host([disabled]) ::slotted(calcite-input-message:not([active])){--bg-opacity:0}:host([disable-spacing]) .container{grid-gap:0;gap:0;margin:0}";export{r as calcite_label}