@esri/calcite-components 1.0.0-beta.80 → 1.0.0-beta.81

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 (858) hide show
  1. package/dist/calcite/assets/icon/fileEcd16.json +1 -0
  2. package/dist/calcite/assets/icon/fileEcd24.json +1 -0
  3. package/dist/calcite/assets/icon/fileEcd32.json +1 -0
  4. package/dist/calcite/calcite.esm.js +2 -1
  5. package/dist/calcite/calcite.js +1 -1
  6. package/dist/calcite/index.esm.js +1 -0
  7. package/dist/calcite/{p-c228a1da.system.entry.js → p-023a27d2.system.entry.js} +2 -1
  8. package/dist/calcite/{p-cafd98e8.entry.js → p-045f28b2.entry.js} +2 -1
  9. package/dist/calcite/p-0a6b6898.system.entry.js +6 -0
  10. package/dist/calcite/{p-f68725d7.entry.js → p-0ba791df.entry.js} +2 -1
  11. package/dist/calcite/{p-dcf33bb2.js → p-0ee86cc3.js} +2 -1
  12. package/dist/calcite/{p-97904e9a.entry.js → p-0f0713c7.entry.js} +2 -1
  13. package/dist/calcite/{p-afe59546.entry.js → p-0f8c3ea0.entry.js} +2 -1
  14. package/dist/calcite/{p-5a8829cd.entry.js → p-1084cd40.entry.js} +2 -1
  15. package/dist/calcite/{p-569150ab.system.entry.js → p-117836c2.system.entry.js} +2 -1
  16. package/dist/calcite/{p-2dd22e8c.system.entry.js → p-14be4304.system.entry.js} +2 -1
  17. package/dist/calcite/{p-a7770d75.entry.js → p-14ca50d9.entry.js} +2 -1
  18. package/dist/calcite/p-181bd093.entry.js +6 -0
  19. package/dist/calcite/{p-5394666a.entry.js → p-1866c3d6.entry.js} +2 -1
  20. package/dist/calcite/{p-cd9226a1.system.entry.js → p-19987cfa.system.entry.js} +3 -2
  21. package/dist/calcite/{p-05bf835f.js → p-1b7e43a7.js} +2 -1
  22. package/dist/calcite/{p-55e1a3a0.system.entry.js → p-1d0db848.system.entry.js} +2 -1
  23. package/dist/calcite/{p-963e9aec.system.entry.js → p-1d3ba736.system.entry.js} +2 -1
  24. package/dist/calcite/{p-34730e94.entry.js → p-21461822.entry.js} +2 -1
  25. package/dist/calcite/{p-765c9bef.entry.js → p-22e1813c.entry.js} +2 -1
  26. package/dist/calcite/{p-b9a38a28.system.entry.js → p-2363fc48.system.entry.js} +3 -2
  27. package/dist/calcite/p-23c9c6f9.js +12 -0
  28. package/dist/calcite/{p-a117af56.system.js → p-24db2b0a.system.js} +1 -0
  29. package/dist/calcite/{p-65dbbfb5.system.js → p-26fc61bb.system.js} +1 -0
  30. package/dist/calcite/p-2789e3e2.system.js +6 -0
  31. package/dist/calcite/{p-69d2d9cf.system.entry.js → p-2a4bbfa2.system.entry.js} +2 -1
  32. package/dist/calcite/p-2bcf0f54.js +6 -0
  33. package/dist/calcite/{p-824da4be.entry.js → p-2c0fdd49.entry.js} +2 -1
  34. package/dist/calcite/{p-7ed4c551.system.js → p-2f07bcb4.system.js} +1 -0
  35. package/dist/calcite/{p-9ad8c7c5.system.entry.js → p-2f42b00e.system.entry.js} +2 -1
  36. package/dist/calcite/{p-6e0103f5.system.entry.js → p-300c0203.system.entry.js} +2 -1
  37. package/dist/calcite/{p-0a5d059d.js → p-3113528a.js} +1 -0
  38. package/dist/calcite/{p-3b4662a5.entry.js → p-3119474f.entry.js} +2 -1
  39. package/dist/calcite/{p-8e0dd0af.system.entry.js → p-329ade24.system.entry.js} +2 -1
  40. package/dist/calcite/{p-9c913e3a.entry.js → p-33391f44.entry.js} +2 -1
  41. package/dist/calcite/{p-6a541e77.system.js → p-3412c57d.system.js} +2 -1
  42. package/dist/calcite/{p-3e149640.system.entry.js → p-34a92432.system.entry.js} +2 -1
  43. package/dist/calcite/{p-31c58f25.entry.js → p-34cf7a42.entry.js} +2 -1
  44. package/dist/calcite/{p-c2caeb2a.system.entry.js → p-3b38f3f5.system.entry.js} +2 -1
  45. package/dist/calcite/{p-28c333d0.entry.js → p-3b6e600a.entry.js} +2 -1
  46. package/dist/calcite/p-3c732519.entry.js +6 -0
  47. package/dist/calcite/{p-8ab345f2.js → p-3ceba891.js} +2 -1
  48. package/dist/calcite/p-3e5f8e93.system.entry.js +6 -0
  49. package/dist/calcite/{p-c9fc13b9.system.entry.js → p-3ebff946.system.entry.js} +2 -1
  50. package/dist/calcite/p-40334853.system.js +6 -0
  51. package/dist/calcite/{p-1aded388.system.entry.js → p-40a15f4a.system.entry.js} +2 -1
  52. package/dist/calcite/p-4275a429.system.js +6 -0
  53. package/dist/calcite/{p-e66a8ca1.system.entry.js → p-44f00a2a.system.entry.js} +2 -1
  54. package/dist/calcite/p-469490f8.js +6 -0
  55. package/dist/calcite/{p-7432e5ef.system.entry.js → p-47913e44.system.entry.js} +2 -1
  56. package/dist/calcite/p-482956de.entry.js +6 -0
  57. package/dist/calcite/{p-e43605c5.entry.js → p-48aa73e5.entry.js} +2 -1
  58. package/dist/calcite/p-4a543a6e.entry.js +6 -0
  59. package/dist/calcite/{p-1263bcc0.entry.js → p-4b6a7167.entry.js} +2 -1
  60. package/dist/calcite/p-4f04264f.system.entry.js +6 -0
  61. package/dist/calcite/{p-6ed27595.system.entry.js → p-4f443e21.system.entry.js} +2 -1
  62. package/dist/calcite/{p-cc6e7726.entry.js → p-4ff2f38c.entry.js} +2 -1
  63. package/dist/calcite/{p-4afb5a1b.system.entry.js → p-50f49b13.system.entry.js} +2 -1
  64. package/dist/calcite/p-52c9824d.system.entry.js +6 -0
  65. package/dist/calcite/{p-2fae8516.system.entry.js → p-55d64bae.system.entry.js} +2 -1
  66. package/dist/calcite/{p-aad14a5d.system.entry.js → p-5857c533.system.entry.js} +2 -1
  67. package/dist/calcite/{p-7fc69a9d.js → p-5a3414c7.js} +1 -0
  68. package/dist/calcite/{p-e095517f.system.js → p-5dd1e943.system.js} +1 -0
  69. package/dist/calcite/{p-2d09cc25.js → p-5ed8397b.js} +1 -0
  70. package/dist/calcite/{p-cd5f5c8f.js → p-608aaf1d.js} +2 -1
  71. package/dist/calcite/{p-03c92ad2.entry.js → p-609f05ef.entry.js} +2 -1
  72. package/dist/calcite/{p-ee522afa.system.entry.js → p-60f78917.system.entry.js} +2 -1
  73. package/dist/calcite/{p-e020662f.system.js → p-61021069.system.js} +1 -0
  74. package/dist/calcite/p-6294787b.system.js +6 -0
  75. package/dist/calcite/{p-162604a0.entry.js → p-62a93131.entry.js} +2 -1
  76. package/dist/calcite/{p-a9ea7f4f.entry.js → p-6750e68e.entry.js} +2 -1
  77. package/dist/calcite/p-678e83fe.entry.js +6 -0
  78. package/dist/calcite/p-693cc0cd.system.entry.js +6 -0
  79. package/dist/calcite/p-69fdc534.entry.js +6 -0
  80. package/dist/calcite/{p-7260c869.system.entry.js → p-6c9ab1d6.system.entry.js} +2 -1
  81. package/dist/calcite/{p-46071f17.entry.js → p-6ebbdae4.entry.js} +2 -1
  82. package/dist/calcite/{p-6b7b23d0.js → p-7225f4ed.js} +1 -0
  83. package/dist/calcite/{p-3e9d96c6.system.entry.js → p-72ab20ed.system.entry.js} +2 -1
  84. package/dist/calcite/{p-6ab3e489.entry.js → p-7463e93d.entry.js} +2 -1
  85. package/dist/calcite/p-7549f33d.entry.js +6 -0
  86. package/dist/calcite/{p-b2493735.entry.js → p-769054e6.entry.js} +2 -1
  87. package/dist/calcite/{p-78bc502f.entry.js → p-7c32da09.entry.js} +2 -1
  88. package/dist/calcite/{p-02d7cf64.system.entry.js → p-7e9cac29.system.entry.js} +2 -1
  89. package/dist/calcite/{p-3119ffce.system.js → p-7ebc956d.system.js} +1 -0
  90. package/dist/calcite/{p-3c34f20d.system.js → p-8117e07b.system.js} +2 -1
  91. package/dist/calcite/{p-4570cf6c.js → p-82c05795.js} +2 -1
  92. package/dist/calcite/{p-c2adeae4.entry.js → p-8729fefb.entry.js} +2 -1
  93. package/dist/calcite/p-88f476f3.system.entry.js +6 -0
  94. package/dist/calcite/{p-18be4438.entry.js → p-89146101.entry.js} +2 -1
  95. package/dist/calcite/p-8d372581.entry.js +6 -0
  96. package/dist/calcite/{p-496e907a.system.entry.js → p-8d9d8984.system.entry.js} +2 -1
  97. package/dist/calcite/{p-bd38ff21.js → p-90660203.js} +1 -0
  98. package/dist/calcite/{p-614d8925.js → p-941b8b06.js} +2 -1
  99. package/dist/calcite/{p-48637359.system.entry.js → p-948a5bba.system.entry.js} +2 -1
  100. package/dist/calcite/{p-079a3322.js → p-99520e50.js} +1 -0
  101. package/dist/calcite/{p-5958acc8.system.js → p-99bd5049.system.js} +1 -0
  102. package/dist/calcite/p-9b7b6b30.entry.js +6 -0
  103. package/dist/calcite/{p-364db271.entry.js → p-9d488536.entry.js} +2 -1
  104. package/dist/calcite/{p-fa922721.system.js → p-9da64897.system.js} +2 -1
  105. package/dist/calcite/{p-8a7596e3.entry.js → p-a2b46564.entry.js} +2 -1
  106. package/dist/calcite/{p-accdb0ce.js → p-a3478523.js} +1 -0
  107. package/dist/calcite/{p-07f1f162.system.entry.js → p-a4b72090.system.entry.js} +2 -1
  108. package/dist/calcite/{p-63624a01.js → p-a9630b98.js} +1 -0
  109. package/dist/calcite/{p-cb57638c.system.js → p-aad21300.system.js} +2 -1
  110. package/dist/calcite/{p-588bfa74.system.js → p-ae4a167e.system.js} +2 -1
  111. package/dist/calcite/p-af100a3b.entry.js +6 -0
  112. package/dist/calcite/p-b15cde3f.js +6 -0
  113. package/dist/calcite/{p-e55c5bb4.entry.js → p-b3d74df1.entry.js} +2 -1
  114. package/dist/calcite/p-b50b0f92.system.entry.js +6 -0
  115. package/dist/calcite/{p-6fba3e1b.system.entry.js → p-b6dad672.system.entry.js} +2 -1
  116. package/dist/calcite/{p-32d6b962.entry.js → p-bae3c0b1.entry.js} +2 -1
  117. package/dist/calcite/{p-daf5f04c.system.js → p-bc873e26.system.js} +2 -1
  118. package/dist/calcite/{p-052ba882.system.entry.js → p-bddde234.system.entry.js} +2 -1
  119. package/dist/calcite/{p-7b8707b2.system.js → p-be0551f8.system.js} +1 -0
  120. package/dist/calcite/{p-f78023f1.system.js → p-bef4c06f.system.js} +1 -0
  121. package/dist/calcite/{p-e3280a36.system.entry.js → p-c0ab6c20.system.entry.js} +2 -1
  122. package/dist/calcite/{p-b47dc903.system.entry.js → p-c22bd1df.system.entry.js} +2 -1
  123. package/dist/calcite/{p-b2b6f712.js → p-c2770291.js} +2 -1
  124. package/dist/calcite/{p-482885ae.system.entry.js → p-c477a6ac.system.entry.js} +2 -1
  125. package/dist/calcite/{p-bdcb43b1.system.entry.js → p-c62291e6.system.entry.js} +2 -1
  126. package/dist/calcite/p-c66cce4a.js +6 -0
  127. package/dist/calcite/p-c76d5a12.entry.js +6 -0
  128. package/dist/calcite/{p-f344e163.entry.js → p-c82c3a08.entry.js} +2 -1
  129. package/dist/calcite/{p-b0827b8c.system.entry.js → p-c91e5ce6.system.entry.js} +2 -1
  130. package/dist/calcite/{p-ef17447d.system.entry.js → p-cb3633ce.system.entry.js} +2 -1
  131. package/dist/calcite/{p-42227a04.entry.js → p-cc881354.entry.js} +2 -1
  132. package/dist/calcite/{p-a11ee541.system.entry.js → p-ceae054a.system.entry.js} +2 -1
  133. package/dist/calcite/{p-ea4119b1.system.entry.js → p-cec925c5.system.entry.js} +2 -1
  134. package/dist/calcite/{p-32efc4cd.system.entry.js → p-d0ae73bc.system.entry.js} +2 -1
  135. package/dist/calcite/p-d2aad5f9.system.entry.js +6 -0
  136. package/dist/calcite/{p-9385e4b4.system.js → p-d441a36b.system.js} +2 -1
  137. package/dist/calcite/{p-47d38839.entry.js → p-d668cc57.entry.js} +2 -1
  138. package/dist/calcite/p-d7f31cff.system.js +12 -0
  139. package/dist/calcite/{p-b765d197.system.js → p-d8c1d1bb.system.js} +2 -1
  140. package/dist/calcite/p-d9669187.entry.js +6 -0
  141. package/dist/calcite/{p-6c4a7041.system.entry.js → p-da5a9916.system.entry.js} +2 -1
  142. package/dist/calcite/{p-5bb4d012.entry.js → p-daf452fa.entry.js} +2 -1
  143. package/dist/calcite/{p-6b5776af.js → p-db2360e6.js} +1 -0
  144. package/dist/calcite/p-ddc498f5.entry.js +6 -0
  145. package/dist/calcite/{p-4eae61c5.entry.js → p-de040bc0.entry.js} +2 -1
  146. package/dist/calcite/{p-8a63221d.js → p-dfd0c1ce.js} +1 -0
  147. package/dist/calcite/{p-1fc943d5.system.entry.js → p-e131dae7.system.entry.js} +2 -1
  148. package/dist/calcite/{p-a9b3ef39.js → p-e21b549b.js} +2 -1
  149. package/dist/calcite/{p-eb3c084f.system.entry.js → p-e3f1b697.system.entry.js} +2 -1
  150. package/dist/calcite/{p-7bee4942.system.entry.js → p-e4a047e7.system.entry.js} +2 -1
  151. package/dist/calcite/p-e6034e51.entry.js +6 -0
  152. package/dist/calcite/{p-5802a565.entry.js → p-e64fc8d7.entry.js} +2 -1
  153. package/dist/calcite/p-e6b83b93.entry.js +6 -0
  154. package/dist/calcite/{p-4de6f4fd.system.js → p-e837987d.system.js} +1 -0
  155. package/dist/calcite/p-e8698d9f.system.entry.js +6 -0
  156. package/dist/calcite/{p-9940b82a.system.entry.js → p-ea09f02f.system.entry.js} +2 -1
  157. package/dist/calcite/p-eaf8f62d.entry.js +6 -0
  158. package/dist/calcite/{p-edf1e815.system.entry.js → p-ec6942a8.system.entry.js} +2 -1
  159. package/dist/calcite/{p-1d6404b5.system.js → p-ed535fb3.system.js} +1 -0
  160. package/dist/calcite/{p-426f011a.entry.js → p-ef8bcab3.entry.js} +2 -1
  161. package/dist/calcite/p-f3ba8a0a.entry.js +6 -0
  162. package/dist/calcite/{p-cbc6fee6.entry.js → p-f5a00782.entry.js} +2 -1
  163. package/dist/calcite/{p-54c49493.entry.js → p-f753e964.entry.js} +2 -1
  164. package/dist/calcite/{p-c51699d3.system.js → p-f839293b.system.js} +3 -2
  165. package/dist/calcite/{p-7247b667.system.entry.js → p-f89876d3.system.entry.js} +2 -1
  166. package/dist/calcite/{p-b06207bb.js → p-f8d2efa3.js} +1 -0
  167. package/dist/calcite/{p-ac4aec20.system.js → p-fb726bdd.system.js} +1 -0
  168. package/dist/calcite/p-fc2aa57a.system.entry.js +6 -0
  169. package/dist/calcite/{p-9ac86d6a.entry.js → p-ffc13e2d.entry.js} +2 -1
  170. package/dist/calcite/{p-aaa21a84.system.entry.js → p-ffeda3eb.system.entry.js} +2 -1
  171. package/dist/cjs/{ExpandToggle-f7682a15.js → ExpandToggle-e3bd3e9d.js} +5 -4
  172. package/dist/cjs/{Heading-ec707493.js → Heading-b864aca1.js} +2 -1
  173. package/dist/cjs/{array-a5dedf5a.js → array-00db7b4e.js} +1 -0
  174. package/dist/cjs/calcite-accordion_2.cjs.entry.js +4 -3
  175. package/dist/cjs/calcite-action-bar.cjs.entry.js +10 -9
  176. package/dist/cjs/calcite-action-group.cjs.entry.js +8 -7
  177. package/dist/cjs/calcite-action-menu.cjs.entry.js +8 -7
  178. package/dist/cjs/calcite-action-pad.cjs.entry.js +9 -8
  179. package/dist/cjs/calcite-action.cjs.entry.js +4 -3
  180. package/dist/cjs/calcite-alert.cjs.entry.js +5 -4
  181. package/dist/cjs/calcite-avatar.cjs.entry.js +5 -4
  182. package/dist/cjs/calcite-block_2.cjs.entry.js +8 -7
  183. package/dist/cjs/calcite-button.cjs.entry.js +17 -16
  184. package/dist/cjs/calcite-card.cjs.entry.js +6 -5
  185. package/dist/cjs/calcite-checkbox.cjs.entry.js +7 -6
  186. package/dist/cjs/calcite-chip.cjs.entry.js +6 -5
  187. package/dist/cjs/calcite-color-picker_3.cjs.entry.js +96 -103
  188. package/dist/cjs/calcite-combobox_3.cjs.entry.js +86 -48
  189. package/dist/cjs/calcite-date-picker_4.cjs.entry.js +36 -27
  190. package/dist/cjs/calcite-dropdown_3.cjs.entry.js +19 -12
  191. package/dist/cjs/calcite-fab.cjs.entry.js +5 -4
  192. package/dist/cjs/calcite-filter.cjs.entry.js +18 -13
  193. package/dist/cjs/calcite-flow.cjs.entry.js +3 -2
  194. package/dist/cjs/calcite-graph_2.cjs.entry.js +76 -46
  195. package/dist/cjs/calcite-handle.cjs.entry.js +2 -1
  196. package/dist/cjs/calcite-icon.cjs.entry.js +5 -4
  197. package/dist/cjs/calcite-inline-editable.cjs.entry.js +7 -6
  198. package/dist/cjs/calcite-input-date-picker.cjs.entry.js +37 -20
  199. package/dist/cjs/calcite-input-message.cjs.entry.js +4 -3
  200. package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +15 -15
  201. package/dist/cjs/calcite-input.cjs.entry.js +12 -11
  202. package/dist/cjs/calcite-label.cjs.entry.js +5 -4
  203. package/dist/cjs/calcite-link.cjs.entry.js +5 -4
  204. package/dist/cjs/calcite-list_3.cjs.entry.js +18 -11
  205. package/dist/cjs/calcite-loader.cjs.entry.js +3 -2
  206. package/dist/cjs/calcite-modal.cjs.entry.js +7 -6
  207. package/dist/cjs/calcite-notice.cjs.entry.js +7 -6
  208. package/dist/cjs/calcite-option_3.cjs.entry.js +8 -7
  209. package/dist/cjs/calcite-pagination.cjs.entry.js +2 -1
  210. package/dist/cjs/calcite-panel.cjs.entry.js +10 -9
  211. package/dist/cjs/calcite-pick-list_3.cjs.entry.js +11 -10
  212. package/dist/cjs/calcite-popover_2.cjs.entry.js +22 -8
  213. package/dist/cjs/calcite-progress.cjs.entry.js +2 -1
  214. package/dist/cjs/calcite-radio-button-group.cjs.entry.js +3 -2
  215. package/dist/cjs/calcite-radio-button.cjs.entry.js +8 -7
  216. package/dist/cjs/calcite-radio-group_2.cjs.entry.js +7 -6
  217. package/dist/cjs/calcite-rating.cjs.entry.js +7 -6
  218. package/dist/cjs/calcite-scrim.cjs.entry.js +2 -1
  219. package/dist/cjs/calcite-shell_3.cjs.entry.js +7 -6
  220. package/dist/cjs/calcite-sortable-list.cjs.entry.js +5 -4
  221. package/dist/cjs/calcite-split-button.cjs.entry.js +3 -2
  222. package/dist/cjs/calcite-stepper_2.cjs.entry.js +7 -5
  223. package/dist/cjs/calcite-switch.cjs.entry.js +9 -7
  224. package/dist/cjs/calcite-tab_4.cjs.entry.js +76 -59
  225. package/dist/cjs/calcite-tile-select_2.cjs.entry.js +4 -3
  226. package/dist/cjs/calcite-tile.cjs.entry.js +8 -7
  227. package/dist/cjs/calcite-tip_3.cjs.entry.js +8 -7
  228. package/dist/cjs/calcite-tooltip_2.cjs.entry.js +6 -9
  229. package/dist/cjs/calcite-tree_2.cjs.entry.js +6 -5
  230. package/dist/cjs/calcite-value-list_2.cjs.entry.js +11 -10
  231. package/dist/cjs/calcite.cjs.js +4 -3
  232. package/dist/cjs/{conditionalSlot-64f9bfd3.js → conditionalSlot-8468d1b6.js} +3 -2
  233. package/dist/cjs/{debounce-95979061.js → debounce-a29e2f71.js} +1 -0
  234. package/dist/cjs/{dom-f3df220d.js → dom-66c5cb56.js} +9 -2
  235. package/dist/cjs/{forIn-a5d553af.js → forIn-d4941a7b.js} +2 -1
  236. package/dist/cjs/{form-0ef859c8.js → form-cfcc3b12.js} +3 -2
  237. package/dist/cjs/{guid-b270f0db.js → guid-364777e6.js} +1 -0
  238. package/dist/cjs/{index-1af0efd3.js → index-ab066772.js} +1 -0
  239. package/dist/cjs/index.cjs.js +1 -0
  240. package/dist/cjs/{interactive-87406231.js → interactive-3808ad50.js} +1 -0
  241. package/dist/cjs/{interfaces-7216af30.js → interfaces-597482d7.js} +1 -0
  242. package/dist/cjs/{label-980508de.js → label-e53e11ab.js} +2 -1
  243. package/dist/cjs/loader.cjs.js +4 -3
  244. package/dist/cjs/{locale-02462821.js → locale-2f9c939d.js} +11 -2
  245. package/dist/cjs/{math-145c80e2.js → math-b81c3249.js} +1 -0
  246. package/dist/cjs/{number-e813e801.js → number-99949cb0.js} +2 -1
  247. package/dist/cjs/{observers-79bfb8bc.js → observers-2dc895e1.js} +1 -0
  248. package/dist/cjs/{popper-64d89ef7.js → popper-5aeab272.js} +29 -3
  249. package/dist/cjs/{resources-7d5449fb.js → resources-39df6d9b.js} +1 -0
  250. package/dist/cjs/{resources-7811eb2c.js → resources-7b0c6b5a.js} +3 -2
  251. package/dist/cjs/{resources-e43fc9f3.js → resources-9baed1da.js} +5 -4
  252. package/dist/cjs/{resources-ac80e82c.js → resources-ff2cae6a.js} +1 -0
  253. package/dist/cjs/{sortable.esm-d7a4560b.js → sortable.esm-6d0d59e8.js} +63 -54
  254. package/dist/cjs/{utils-6579522f.js → utils-9f674b6a.js} +1 -0
  255. package/dist/collection/collection-manifest.json +1 -1
  256. package/dist/collection/components/accordion/accordion.js +1 -0
  257. package/dist/collection/components/accordion/interfaces.js +1 -0
  258. package/dist/collection/components/accordion-item/accordion-item.js +1 -0
  259. package/dist/collection/components/action/action.js +1 -0
  260. package/dist/collection/components/action/resources.js +1 -0
  261. package/dist/collection/components/action-bar/action-bar.js +1 -0
  262. package/dist/collection/components/action-bar/resources.js +1 -0
  263. package/dist/collection/components/action-bar/utils.js +1 -0
  264. package/dist/collection/components/action-group/action-group.js +1 -0
  265. package/dist/collection/components/action-group/resources.js +1 -0
  266. package/dist/collection/components/action-menu/action-menu.js +1 -0
  267. package/dist/collection/components/action-menu/resources.js +1 -0
  268. package/dist/collection/components/action-pad/action-pad.js +1 -0
  269. package/dist/collection/components/action-pad/resources.js +1 -0
  270. package/dist/collection/components/alert/alert.js +1 -0
  271. package/dist/collection/components/alert/interfaces.js +1 -0
  272. package/dist/collection/components/alert/resources.js +1 -0
  273. package/dist/collection/components/avatar/avatar.js +1 -0
  274. package/dist/collection/components/avatar/utils.js +1 -0
  275. package/dist/collection/components/block/block.js +1 -0
  276. package/dist/collection/components/block/resources.js +1 -0
  277. package/dist/collection/components/block-section/block-section.js +1 -0
  278. package/dist/collection/components/block-section/interfaces.js +1 -0
  279. package/dist/collection/components/block-section/resources.js +1 -0
  280. package/dist/collection/components/button/button.js +14 -12
  281. package/dist/collection/components/button/interfaces.js +1 -0
  282. package/dist/collection/components/button/resources.js +1 -0
  283. package/dist/collection/components/card/card.js +1 -0
  284. package/dist/collection/components/card/resources.js +1 -0
  285. package/dist/collection/components/checkbox/checkbox.js +1 -0
  286. package/dist/collection/components/chip/chip.js +1 -0
  287. package/dist/collection/components/chip/interfaces.js +1 -0
  288. package/dist/collection/components/chip/resources.js +1 -0
  289. package/dist/collection/components/color-picker/color-picker.js +14 -18
  290. package/dist/collection/components/color-picker/interfaces.js +1 -0
  291. package/dist/collection/components/color-picker/resources.js +1 -0
  292. package/dist/collection/components/color-picker/utils.js +1 -0
  293. package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.js +39 -48
  294. package/dist/collection/components/color-picker-hex-input/resources.js +1 -0
  295. package/dist/collection/components/color-picker-swatch/color-picker-swatch.js +1 -0
  296. package/dist/collection/components/color-picker-swatch/resources.js +1 -0
  297. package/dist/collection/components/combobox/combobox.js +77 -37
  298. package/dist/collection/components/combobox/interfaces.js +1 -0
  299. package/dist/collection/components/combobox/resources.js +1 -0
  300. package/dist/collection/components/combobox/utils.js +1 -0
  301. package/dist/collection/components/combobox-item/combobox-item.css +1 -1
  302. package/dist/collection/components/combobox-item/combobox-item.js +1 -0
  303. package/dist/collection/components/combobox-item/resources.js +1 -0
  304. package/dist/collection/components/combobox-item-group/combobox-item-group.js +1 -0
  305. package/dist/collection/components/combobox-item-group/resources.js +1 -0
  306. package/dist/collection/components/date-picker/date-picker.js +1 -0
  307. package/dist/collection/components/date-picker/interfaces.js +1 -0
  308. package/dist/collection/components/date-picker/resources.js +1 -0
  309. package/dist/collection/components/date-picker/utils.js +1 -0
  310. package/dist/collection/components/date-picker-day/date-picker-day.js +1 -0
  311. package/dist/collection/components/date-picker-month/date-picker-month.js +1 -0
  312. package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +28 -19
  313. package/dist/collection/components/dropdown/dropdown.js +16 -7
  314. package/dist/collection/components/dropdown/interfaces.js +1 -0
  315. package/dist/collection/components/dropdown/resources.js +1 -0
  316. package/dist/collection/components/dropdown-group/dropdown-group.js +1 -0
  317. package/dist/collection/components/dropdown-group/interfaces.js +1 -0
  318. package/dist/collection/components/dropdown-group/resources.js +1 -0
  319. package/dist/collection/components/dropdown-item/dropdown-item.js +1 -0
  320. package/dist/collection/components/dropdown-item/resources.js +1 -0
  321. package/dist/collection/components/fab/fab.js +1 -0
  322. package/dist/collection/components/fab/resources.js +1 -0
  323. package/dist/collection/components/filter/filter.js +12 -8
  324. package/dist/collection/components/filter/resources.js +2 -0
  325. package/dist/collection/components/flow/flow.js +1 -0
  326. package/dist/collection/components/flow/interfaces.js +1 -0
  327. package/dist/collection/components/flow/resources.js +1 -0
  328. package/dist/collection/components/functional/ExpandToggle.js +1 -0
  329. package/dist/collection/components/functional/Heading.js +1 -0
  330. package/dist/collection/components/graph/graph.js +1 -0
  331. package/dist/collection/components/graph/interfaces.js +1 -0
  332. package/dist/collection/components/graph/util.js +1 -0
  333. package/dist/collection/components/handle/handle.js +1 -0
  334. package/dist/collection/components/handle/resources.js +1 -0
  335. package/dist/collection/components/icon/assets/icon/fileEcd16.json +1 -0
  336. package/dist/collection/components/icon/assets/icon/fileEcd24.json +1 -0
  337. package/dist/collection/components/icon/assets/icon/fileEcd32.json +1 -0
  338. package/dist/collection/components/icon/icon.js +1 -0
  339. package/dist/collection/components/icon/resources.js +1 -0
  340. package/dist/collection/components/icon/utils.js +1 -0
  341. package/dist/collection/components/inline-editable/inline-editable.js +1 -0
  342. package/dist/collection/components/inline-editable/resources.js +1 -0
  343. package/dist/collection/components/input/input.js +2 -1
  344. package/dist/collection/components/input/interfaces.js +1 -0
  345. package/dist/collection/components/input/resources.js +1 -0
  346. package/dist/collection/components/input-date-picker/input-date-picker.js +56 -11
  347. package/dist/collection/components/input-message/input-message.js +1 -0
  348. package/dist/collection/components/input-message/interfaces.js +1 -0
  349. package/dist/collection/components/input-time-picker/input-time-picker.js +33 -1
  350. package/dist/collection/components/interfaces.js +1 -0
  351. package/dist/collection/components/label/label.js +1 -0
  352. package/dist/collection/components/label/resources.js +1 -0
  353. package/dist/collection/components/link/link.js +1 -0
  354. package/dist/collection/components/list/list.js +1 -0
  355. package/dist/collection/components/list/resources.js +1 -0
  356. package/dist/collection/components/list-item/list-item.css +17 -1
  357. package/dist/collection/components/list-item/list-item.js +8 -2
  358. package/dist/collection/components/list-item/resources.js +3 -1
  359. package/dist/collection/components/list-item-group/list-item-group.js +1 -0
  360. package/dist/collection/components/list-item-group/resources.js +1 -0
  361. package/dist/collection/components/loader/loader.js +1 -0
  362. package/dist/collection/components/modal/interfaces.js +1 -0
  363. package/dist/collection/components/modal/modal.js +2 -1
  364. package/dist/collection/components/modal/resources.js +1 -0
  365. package/dist/collection/components/notice/notice.js +1 -0
  366. package/dist/collection/components/notice/resources.js +1 -0
  367. package/dist/collection/components/option/option.js +1 -0
  368. package/dist/collection/components/option-group/option-group.js +1 -0
  369. package/dist/collection/components/pagination/pagination.js +1 -0
  370. package/dist/collection/components/pagination/resources.js +1 -0
  371. package/dist/collection/components/panel/panel.css +0 -3
  372. package/dist/collection/components/panel/panel.js +1 -0
  373. package/dist/collection/components/panel/resources.js +1 -0
  374. package/dist/collection/components/pick-list/pick-list.js +1 -0
  375. package/dist/collection/components/pick-list/resources.js +1 -0
  376. package/dist/collection/components/pick-list/shared-list-logic.js +1 -0
  377. package/dist/collection/components/pick-list/shared-list-render.js +1 -0
  378. package/dist/collection/components/pick-list-group/pick-list-group.js +1 -0
  379. package/dist/collection/components/pick-list-group/resources.js +1 -0
  380. package/dist/collection/components/pick-list-item/pick-list-item.js +1 -0
  381. package/dist/collection/components/pick-list-item/resources.js +1 -0
  382. package/dist/collection/components/popover/popover.js +20 -4
  383. package/dist/collection/components/popover/resources.js +1 -0
  384. package/dist/collection/components/popover-manager/popover-manager.js +1 -0
  385. package/dist/collection/components/progress/progress.js +1 -0
  386. package/dist/collection/components/radio-button/radio-button.js +1 -0
  387. package/dist/collection/components/radio-button/resources.js +1 -0
  388. package/dist/collection/components/radio-button-group/radio-button-group.js +1 -0
  389. package/dist/collection/components/radio-group/interfaces.js +1 -0
  390. package/dist/collection/components/radio-group/radio-group.js +1 -0
  391. package/dist/collection/components/radio-group-item/radio-group-item.js +1 -0
  392. package/dist/collection/components/radio-group-item/resources.js +1 -0
  393. package/dist/collection/components/rating/rating.js +1 -0
  394. package/dist/collection/components/rating/resources.js +1 -0
  395. package/dist/collection/components/scrim/resources.js +1 -0
  396. package/dist/collection/components/scrim/scrim.js +1 -0
  397. package/dist/collection/components/select/resources.js +1 -0
  398. package/dist/collection/components/select/select.js +1 -0
  399. package/dist/collection/components/shell/resources.js +1 -0
  400. package/dist/collection/components/shell/shell.js +1 -0
  401. package/dist/collection/components/shell-center-row/resources.js +1 -0
  402. package/dist/collection/components/shell-center-row/shell-center-row.js +1 -0
  403. package/dist/collection/components/shell-panel/resources.js +1 -0
  404. package/dist/collection/components/shell-panel/shell-panel.js +1 -0
  405. package/dist/collection/components/slider/slider.js +77 -41
  406. package/dist/collection/components/sortable-list/resources.js +1 -0
  407. package/dist/collection/components/sortable-list/sortable-list.js +1 -0
  408. package/dist/collection/components/split-button/resources.js +1 -0
  409. package/dist/collection/components/split-button/split-button.js +1 -0
  410. package/dist/collection/components/stepper/stepper.js +1 -0
  411. package/dist/collection/components/stepper-item/stepper-item.js +3 -1
  412. package/dist/collection/components/switch/switch.js +4 -2
  413. package/dist/collection/components/tab/interfaces.js +1 -0
  414. package/dist/collection/components/tab/tab.js +14 -15
  415. package/dist/collection/components/tab-nav/tab-nav.js +65 -26
  416. package/dist/collection/components/tab-title/tab-title.js +56 -24
  417. package/dist/collection/components/tabs/interfaces.js +1 -0
  418. package/dist/collection/components/tabs/resources.js +1 -0
  419. package/dist/collection/components/tabs/tabs.js +1 -3
  420. package/dist/collection/components/tile/resources.js +1 -0
  421. package/dist/collection/components/tile/tile.css +2 -2
  422. package/dist/collection/components/tile/tile.js +1 -0
  423. package/dist/collection/components/tile-select/interfaces.js +1 -0
  424. package/dist/collection/components/tile-select/resources.js +1 -0
  425. package/dist/collection/components/tile-select/tile-select.js +1 -0
  426. package/dist/collection/components/tile-select-group/interfaces.js +1 -0
  427. package/dist/collection/components/tile-select-group/tile-select-group.js +1 -0
  428. package/dist/collection/components/time-picker/resources.js +1 -0
  429. package/dist/collection/components/time-picker/time-picker.js +1 -8
  430. package/dist/collection/components/tip/resources.js +1 -0
  431. package/dist/collection/components/tip/tip.js +1 -0
  432. package/dist/collection/components/tip-group/tip-group.js +1 -0
  433. package/dist/collection/components/tip-manager/resources.js +1 -0
  434. package/dist/collection/components/tip-manager/tip-manager.js +3 -2
  435. package/dist/collection/components/tooltip/resources.js +1 -0
  436. package/dist/collection/components/tooltip/tooltip.js +1 -0
  437. package/dist/collection/components/tooltip-manager/tooltip-manager.js +2 -5
  438. package/dist/collection/components/tree/interfaces.js +1 -0
  439. package/dist/collection/components/tree/tree.js +1 -0
  440. package/dist/collection/components/tree-item/interfaces.js +1 -0
  441. package/dist/collection/components/tree-item/resources.js +1 -0
  442. package/dist/collection/components/tree-item/tree-item.js +1 -0
  443. package/dist/collection/components/value-list/resources.js +1 -0
  444. package/dist/collection/components/value-list/value-list.js +1 -0
  445. package/dist/collection/components/value-list-item/resources.js +1 -0
  446. package/dist/collection/components/value-list-item/value-list-item.js +1 -0
  447. package/dist/collection/utils/array.js +1 -0
  448. package/dist/collection/utils/conditionalSlot.js +1 -0
  449. package/dist/collection/utils/date.js +1 -0
  450. package/dist/collection/utils/dom.js +8 -1
  451. package/dist/collection/utils/filter.js +1 -0
  452. package/dist/collection/utils/form.js +1 -0
  453. package/dist/collection/utils/globalAttributes.js +1 -0
  454. package/dist/collection/utils/guid.js +1 -0
  455. package/dist/collection/utils/interactive.js +1 -0
  456. package/dist/collection/utils/key.js +1 -0
  457. package/dist/collection/utils/label.js +1 -0
  458. package/dist/collection/utils/locale.js +10 -1
  459. package/dist/collection/utils/math.js +1 -0
  460. package/dist/collection/utils/number.js +2 -1
  461. package/dist/collection/utils/observers.js +1 -0
  462. package/dist/collection/utils/popper.js +17 -2
  463. package/dist/collection/utils/resources.js +1 -0
  464. package/dist/collection/utils/time.js +1 -0
  465. package/dist/components/ExpandToggle.js +1 -0
  466. package/dist/components/Heading.js +1 -0
  467. package/dist/components/action-group.js +1 -0
  468. package/dist/components/action-menu.js +1 -0
  469. package/dist/components/action.js +1 -0
  470. package/dist/components/array.js +1 -0
  471. package/dist/components/button.js +11 -10
  472. package/dist/components/calcite-accordion-item.js +1 -0
  473. package/dist/components/calcite-accordion.js +1 -0
  474. package/dist/components/calcite-action-bar.js +1 -0
  475. package/dist/components/calcite-action-group.js +1 -0
  476. package/dist/components/calcite-action-menu.js +1 -0
  477. package/dist/components/calcite-action-pad.js +1 -0
  478. package/dist/components/calcite-action.js +1 -0
  479. package/dist/components/calcite-alert.js +1 -0
  480. package/dist/components/calcite-avatar.js +1 -0
  481. package/dist/components/calcite-block-section.js +1 -0
  482. package/dist/components/calcite-block.js +1 -0
  483. package/dist/components/calcite-button.js +1 -0
  484. package/dist/components/calcite-card.js +1 -0
  485. package/dist/components/calcite-checkbox.js +1 -0
  486. package/dist/components/calcite-chip.js +1 -0
  487. package/dist/components/calcite-color-picker-hex-input.js +1 -0
  488. package/dist/components/calcite-color-picker-swatch.js +1 -0
  489. package/dist/components/calcite-color-picker.js +14 -18
  490. package/dist/components/calcite-combobox-item-group.js +1 -0
  491. package/dist/components/calcite-combobox-item.js +2 -1
  492. package/dist/components/calcite-combobox.js +75 -37
  493. package/dist/components/calcite-date-picker-day.js +1 -0
  494. package/dist/components/calcite-date-picker-month-header.js +1 -0
  495. package/dist/components/calcite-date-picker-month.js +1 -0
  496. package/dist/components/calcite-date-picker.js +1 -0
  497. package/dist/components/calcite-dropdown-group.js +1 -0
  498. package/dist/components/calcite-dropdown-item.js +1 -0
  499. package/dist/components/calcite-dropdown.js +1 -0
  500. package/dist/components/calcite-fab.js +1 -0
  501. package/dist/components/calcite-filter.js +1 -0
  502. package/dist/components/calcite-flow.js +1 -0
  503. package/dist/components/calcite-graph.js +1 -0
  504. package/dist/components/calcite-handle.js +1 -0
  505. package/dist/components/calcite-icon.js +1 -0
  506. package/dist/components/calcite-inline-editable.js +1 -0
  507. package/dist/components/calcite-input-date-picker.js +29 -11
  508. package/dist/components/calcite-input-message.js +1 -0
  509. package/dist/components/calcite-input-time-picker.js +8 -1
  510. package/dist/components/calcite-input.js +1 -0
  511. package/dist/components/calcite-label.js +1 -0
  512. package/dist/components/calcite-link.js +1 -0
  513. package/dist/components/calcite-list-item-group.js +1 -0
  514. package/dist/components/calcite-list-item.js +11 -4
  515. package/dist/components/calcite-list.js +1 -0
  516. package/dist/components/calcite-loader.js +1 -0
  517. package/dist/components/calcite-modal.js +2 -1
  518. package/dist/components/calcite-notice.js +1 -0
  519. package/dist/components/calcite-option-group.js +1 -0
  520. package/dist/components/calcite-option.js +1 -0
  521. package/dist/components/calcite-pagination.js +1 -0
  522. package/dist/components/calcite-panel.js +2 -1
  523. package/dist/components/calcite-pick-list-group.js +1 -0
  524. package/dist/components/calcite-pick-list-item.js +1 -0
  525. package/dist/components/calcite-pick-list.js +1 -0
  526. package/dist/components/calcite-popover-manager.js +1 -0
  527. package/dist/components/calcite-popover.js +1 -0
  528. package/dist/components/calcite-progress.js +1 -0
  529. package/dist/components/calcite-radio-button-group.js +1 -0
  530. package/dist/components/calcite-radio-button.js +1 -0
  531. package/dist/components/calcite-radio-group-item.js +1 -0
  532. package/dist/components/calcite-radio-group.js +1 -0
  533. package/dist/components/calcite-rating.js +1 -0
  534. package/dist/components/calcite-scrim.js +1 -0
  535. package/dist/components/calcite-select.js +1 -0
  536. package/dist/components/calcite-shell-center-row.js +1 -0
  537. package/dist/components/calcite-shell-panel.js +1 -0
  538. package/dist/components/calcite-shell.js +1 -0
  539. package/dist/components/calcite-slider.js +68 -38
  540. package/dist/components/calcite-sortable-list.js +1 -0
  541. package/dist/components/calcite-split-button.js +1 -0
  542. package/dist/components/calcite-stepper-item.js +3 -1
  543. package/dist/components/calcite-stepper.js +1 -0
  544. package/dist/components/calcite-switch.js +1 -0
  545. package/dist/components/calcite-tab-nav.js +1 -0
  546. package/dist/components/calcite-tab-title.js +1 -0
  547. package/dist/components/calcite-tab.js +1 -0
  548. package/dist/components/calcite-tabs.js +1 -0
  549. package/dist/components/calcite-tile-select-group.js +1 -0
  550. package/dist/components/calcite-tile-select.js +1 -0
  551. package/dist/components/calcite-tile.js +1 -0
  552. package/dist/components/calcite-time-picker.js +1 -0
  553. package/dist/components/calcite-tip-group.js +1 -0
  554. package/dist/components/calcite-tip-manager.js +2 -1
  555. package/dist/components/calcite-tip.js +1 -0
  556. package/dist/components/calcite-tooltip-manager.js +1 -0
  557. package/dist/components/calcite-tooltip.js +1 -0
  558. package/dist/components/calcite-tree-item.js +1 -0
  559. package/dist/components/calcite-tree.js +1 -0
  560. package/dist/components/calcite-value-list-item.js +1 -0
  561. package/dist/components/calcite-value-list.js +1 -0
  562. package/dist/components/checkbox.js +1 -0
  563. package/dist/components/chip.js +1 -0
  564. package/dist/components/color-picker-hex-input.js +39 -48
  565. package/dist/components/color-picker-swatch.js +40 -32
  566. package/dist/components/conditionalSlot.js +1 -0
  567. package/dist/components/date-picker-day.js +1 -0
  568. package/dist/components/date-picker-month-header.js +28 -19
  569. package/dist/components/date-picker-month.js +1 -0
  570. package/dist/components/date-picker.js +1 -0
  571. package/dist/components/date.js +1 -0
  572. package/dist/components/debounce.js +1 -0
  573. package/dist/components/dom.js +8 -1
  574. package/dist/components/dropdown.js +14 -7
  575. package/dist/components/filter.js +12 -7
  576. package/dist/components/forIn.js +1 -0
  577. package/dist/components/form.js +1 -0
  578. package/dist/components/graph.js +1 -0
  579. package/dist/components/guid.js +1 -0
  580. package/dist/components/handle.js +1 -0
  581. package/dist/components/icon.js +1 -0
  582. package/dist/components/index.d.ts +1 -1
  583. package/dist/components/index.js +1 -0
  584. package/dist/components/input.js +2 -1
  585. package/dist/components/interactive.js +1 -0
  586. package/dist/components/interfaces.js +1 -0
  587. package/dist/components/interfaces2.js +1 -0
  588. package/dist/components/label.js +1 -0
  589. package/dist/components/label2.js +1 -0
  590. package/dist/components/link.js +1 -0
  591. package/dist/components/loader.js +1 -0
  592. package/dist/components/locale.js +10 -1
  593. package/dist/components/math.js +1 -0
  594. package/dist/components/number.js +2 -1
  595. package/dist/components/observers.js +1 -0
  596. package/dist/components/pick-list-item.js +1 -0
  597. package/dist/components/popover.js +18 -4
  598. package/dist/components/popper.js +27 -2
  599. package/dist/components/progress.js +1 -0
  600. package/dist/components/resources.js +1 -0
  601. package/dist/components/resources2.js +1 -0
  602. package/dist/components/resources3.js +1 -0
  603. package/dist/components/resources4.js +1 -0
  604. package/dist/components/resources5.js +1 -0
  605. package/dist/components/scrim.js +1 -0
  606. package/dist/components/shared-list-render.js +1 -0
  607. package/dist/components/sortable.esm.js +63 -54
  608. package/dist/components/switch.js +3 -1
  609. package/dist/components/tab-nav.js +36 -19
  610. package/dist/components/tab-title.js +28 -21
  611. package/dist/components/tab.js +13 -14
  612. package/dist/components/tabs.js +1 -3
  613. package/dist/components/tile.js +2 -1
  614. package/dist/components/time-picker.js +2 -7
  615. package/dist/components/tooltip-manager.js +2 -5
  616. package/dist/components/utils.js +1 -0
  617. package/dist/components/utils2.js +1 -0
  618. package/dist/custom-elements/index.js +538 -367
  619. package/dist/esm/{ExpandToggle-af224c1e.js → ExpandToggle-847b61ba.js} +5 -4
  620. package/dist/esm/{Heading-d5f1710a.js → Heading-f4ee0499.js} +2 -1
  621. package/dist/esm/{array-91a648e2.js → array-328a8961.js} +1 -0
  622. package/dist/esm/calcite-accordion_2.entry.js +4 -3
  623. package/dist/esm/calcite-action-bar.entry.js +10 -9
  624. package/dist/esm/calcite-action-group.entry.js +8 -7
  625. package/dist/esm/calcite-action-menu.entry.js +8 -7
  626. package/dist/esm/calcite-action-pad.entry.js +9 -8
  627. package/dist/esm/calcite-action.entry.js +4 -3
  628. package/dist/esm/calcite-alert.entry.js +5 -4
  629. package/dist/esm/calcite-avatar.entry.js +5 -4
  630. package/dist/esm/calcite-block_2.entry.js +8 -7
  631. package/dist/esm/calcite-button.entry.js +17 -16
  632. package/dist/esm/calcite-card.entry.js +6 -5
  633. package/dist/esm/calcite-checkbox.entry.js +7 -6
  634. package/dist/esm/calcite-chip.entry.js +6 -5
  635. package/dist/esm/calcite-color-picker_3.entry.js +96 -103
  636. package/dist/esm/calcite-combobox_3.entry.js +86 -48
  637. package/dist/esm/calcite-date-picker_4.entry.js +36 -27
  638. package/dist/esm/calcite-dropdown_3.entry.js +19 -12
  639. package/dist/esm/calcite-fab.entry.js +5 -4
  640. package/dist/esm/calcite-filter.entry.js +18 -13
  641. package/dist/esm/calcite-flow.entry.js +3 -2
  642. package/dist/esm/calcite-graph_2.entry.js +76 -46
  643. package/dist/esm/calcite-handle.entry.js +2 -1
  644. package/dist/esm/calcite-icon.entry.js +5 -4
  645. package/dist/esm/calcite-inline-editable.entry.js +7 -6
  646. package/dist/esm/calcite-input-date-picker.entry.js +37 -20
  647. package/dist/esm/calcite-input-message.entry.js +4 -3
  648. package/dist/esm/calcite-input-time-picker_2.entry.js +15 -15
  649. package/dist/esm/calcite-input.entry.js +12 -11
  650. package/dist/esm/calcite-label.entry.js +5 -4
  651. package/dist/esm/calcite-link.entry.js +5 -4
  652. package/dist/esm/calcite-list_3.entry.js +18 -11
  653. package/dist/esm/calcite-loader.entry.js +3 -2
  654. package/dist/esm/calcite-modal.entry.js +7 -6
  655. package/dist/esm/calcite-notice.entry.js +7 -6
  656. package/dist/esm/calcite-option_3.entry.js +8 -7
  657. package/dist/esm/calcite-pagination.entry.js +2 -1
  658. package/dist/esm/calcite-panel.entry.js +10 -9
  659. package/dist/esm/calcite-pick-list_3.entry.js +11 -10
  660. package/dist/esm/calcite-popover_2.entry.js +22 -8
  661. package/dist/esm/calcite-progress.entry.js +2 -1
  662. package/dist/esm/calcite-radio-button-group.entry.js +3 -2
  663. package/dist/esm/calcite-radio-button.entry.js +8 -7
  664. package/dist/esm/calcite-radio-group_2.entry.js +7 -6
  665. package/dist/esm/calcite-rating.entry.js +7 -6
  666. package/dist/esm/calcite-scrim.entry.js +2 -1
  667. package/dist/esm/calcite-shell_3.entry.js +7 -6
  668. package/dist/esm/calcite-sortable-list.entry.js +5 -4
  669. package/dist/esm/calcite-split-button.entry.js +3 -2
  670. package/dist/esm/calcite-stepper_2.entry.js +7 -5
  671. package/dist/esm/calcite-switch.entry.js +9 -7
  672. package/dist/esm/calcite-tab_4.entry.js +76 -59
  673. package/dist/esm/calcite-tile-select_2.entry.js +4 -3
  674. package/dist/esm/calcite-tile.entry.js +8 -7
  675. package/dist/esm/calcite-tip_3.entry.js +8 -7
  676. package/dist/esm/calcite-tooltip_2.entry.js +6 -9
  677. package/dist/esm/calcite-tree_2.entry.js +6 -5
  678. package/dist/esm/calcite-value-list_2.entry.js +11 -10
  679. package/dist/esm/calcite.js +4 -3
  680. package/dist/esm/{conditionalSlot-67f579ff.js → conditionalSlot-a8a2c2f8.js} +3 -2
  681. package/dist/esm/{debounce-79648d42.js → debounce-f689f579.js} +1 -0
  682. package/dist/esm/{dom-e7fa77b9.js → dom-0dcd3a1e.js} +9 -2
  683. package/dist/esm/{forIn-48d8fb84.js → forIn-8f588c7b.js} +2 -1
  684. package/dist/esm/{form-5e4609eb.js → form-2b88b33a.js} +3 -2
  685. package/dist/esm/{guid-196bd5ea.js → guid-174508ff.js} +1 -0
  686. package/dist/esm/{index-bd94948c.js → index-221092de.js} +1 -0
  687. package/dist/esm/index.js +1 -0
  688. package/dist/esm/{interactive-48b5cc0f.js → interactive-b11a6c05.js} +1 -0
  689. package/dist/esm/{interfaces-0e5b954c.js → interfaces-2bc002ac.js} +1 -0
  690. package/dist/esm/{label-68f22660.js → label-2dac3c62.js} +2 -1
  691. package/dist/esm/loader.js +4 -3
  692. package/dist/esm/{locale-fc850b7c.js → locale-9c18bf7f.js} +11 -2
  693. package/dist/esm/{math-456207f5.js → math-4cd9449e.js} +1 -0
  694. package/dist/esm/{number-8779395f.js → number-a39356c7.js} +2 -1
  695. package/dist/esm/{observers-46118290.js → observers-232c6ed6.js} +1 -0
  696. package/dist/esm/{popper-da45ec93.js → popper-66bcddc6.js} +28 -3
  697. package/dist/esm/{resources-b5c3d9a7.js → resources-762aa55a.js} +5 -4
  698. package/dist/esm/{resources-73dac782.js → resources-886efb7e.js} +3 -2
  699. package/dist/esm/{resources-027bd8f9.js → resources-8ade5fae.js} +1 -0
  700. package/dist/esm/{resources-34334875.js → resources-df870d40.js} +1 -0
  701. package/dist/esm/{sortable.esm-04824d33.js → sortable.esm-0891f88f.js} +63 -54
  702. package/dist/esm/{utils-e84055a3.js → utils-79203b5b.js} +1 -0
  703. package/dist/esm-es5/{ExpandToggle-af224c1e.js → ExpandToggle-847b61ba.js} +2 -1
  704. package/dist/esm-es5/{Heading-d5f1710a.js → Heading-f4ee0499.js} +2 -1
  705. package/dist/esm-es5/{array-91a648e2.js → array-328a8961.js} +1 -0
  706. package/dist/esm-es5/calcite-accordion_2.entry.js +2 -1
  707. package/dist/esm-es5/calcite-action-bar.entry.js +2 -1
  708. package/dist/esm-es5/calcite-action-group.entry.js +2 -1
  709. package/dist/esm-es5/calcite-action-menu.entry.js +3 -2
  710. package/dist/esm-es5/calcite-action-pad.entry.js +2 -1
  711. package/dist/esm-es5/calcite-action.entry.js +2 -1
  712. package/dist/esm-es5/calcite-alert.entry.js +2 -1
  713. package/dist/esm-es5/calcite-avatar.entry.js +2 -1
  714. package/dist/esm-es5/calcite-block_2.entry.js +2 -1
  715. package/dist/esm-es5/calcite-button.entry.js +2 -1
  716. package/dist/esm-es5/calcite-card.entry.js +2 -1
  717. package/dist/esm-es5/calcite-checkbox.entry.js +2 -1
  718. package/dist/esm-es5/calcite-chip.entry.js +2 -1
  719. package/dist/esm-es5/calcite-color-picker_3.entry.js +2 -1
  720. package/dist/esm-es5/calcite-combobox_3.entry.js +2 -1
  721. package/dist/esm-es5/calcite-date-picker_4.entry.js +2 -1
  722. package/dist/esm-es5/calcite-dropdown_3.entry.js +2 -1
  723. package/dist/esm-es5/calcite-fab.entry.js +2 -1
  724. package/dist/esm-es5/calcite-filter.entry.js +2 -1
  725. package/dist/esm-es5/calcite-flow.entry.js +2 -1
  726. package/dist/esm-es5/calcite-graph_2.entry.js +2 -1
  727. package/dist/esm-es5/calcite-handle.entry.js +2 -1
  728. package/dist/esm-es5/calcite-icon.entry.js +2 -1
  729. package/dist/esm-es5/calcite-inline-editable.entry.js +2 -1
  730. package/dist/esm-es5/calcite-input-date-picker.entry.js +2 -1
  731. package/dist/esm-es5/calcite-input-message.entry.js +2 -1
  732. package/dist/esm-es5/calcite-input-time-picker_2.entry.js +2 -1
  733. package/dist/esm-es5/calcite-input.entry.js +2 -1
  734. package/dist/esm-es5/calcite-label.entry.js +2 -1
  735. package/dist/esm-es5/calcite-link.entry.js +2 -1
  736. package/dist/esm-es5/calcite-list_3.entry.js +3 -2
  737. package/dist/esm-es5/calcite-loader.entry.js +2 -1
  738. package/dist/esm-es5/calcite-modal.entry.js +2 -1
  739. package/dist/esm-es5/calcite-notice.entry.js +3 -2
  740. package/dist/esm-es5/calcite-option_3.entry.js +2 -1
  741. package/dist/esm-es5/calcite-pagination.entry.js +2 -1
  742. package/dist/esm-es5/calcite-panel.entry.js +2 -1
  743. package/dist/esm-es5/calcite-pick-list_3.entry.js +2 -1
  744. package/dist/esm-es5/calcite-popover_2.entry.js +3 -2
  745. package/dist/esm-es5/calcite-progress.entry.js +2 -1
  746. package/dist/esm-es5/calcite-radio-button-group.entry.js +2 -1
  747. package/dist/esm-es5/calcite-radio-button.entry.js +2 -1
  748. package/dist/esm-es5/calcite-radio-group_2.entry.js +2 -1
  749. package/dist/esm-es5/calcite-rating.entry.js +2 -1
  750. package/dist/esm-es5/calcite-scrim.entry.js +2 -1
  751. package/dist/esm-es5/calcite-shell_3.entry.js +2 -1
  752. package/dist/esm-es5/calcite-sortable-list.entry.js +2 -1
  753. package/dist/esm-es5/calcite-split-button.entry.js +2 -1
  754. package/dist/esm-es5/calcite-stepper_2.entry.js +2 -1
  755. package/dist/esm-es5/calcite-switch.entry.js +2 -1
  756. package/dist/esm-es5/calcite-tab_4.entry.js +2 -1
  757. package/dist/esm-es5/calcite-tile-select_2.entry.js +2 -1
  758. package/dist/esm-es5/calcite-tile.entry.js +2 -1
  759. package/dist/esm-es5/calcite-tip_3.entry.js +2 -1
  760. package/dist/esm-es5/calcite-tooltip_2.entry.js +2 -1
  761. package/dist/esm-es5/calcite-tree_2.entry.js +2 -1
  762. package/dist/esm-es5/calcite-value-list_2.entry.js +2 -1
  763. package/dist/esm-es5/calcite.js +2 -1
  764. package/dist/esm-es5/{conditionalSlot-67f579ff.js → conditionalSlot-a8a2c2f8.js} +2 -1
  765. package/dist/esm-es5/{debounce-79648d42.js → debounce-f689f579.js} +1 -0
  766. package/dist/esm-es5/{dom-e7fa77b9.js → dom-0dcd3a1e.js} +2 -1
  767. package/dist/esm-es5/{forIn-48d8fb84.js → forIn-8f588c7b.js} +2 -1
  768. package/dist/esm-es5/{form-5e4609eb.js → form-2b88b33a.js} +2 -1
  769. package/dist/esm-es5/{guid-196bd5ea.js → guid-174508ff.js} +1 -0
  770. package/dist/esm-es5/{index-bd94948c.js → index-221092de.js} +1 -0
  771. package/dist/esm-es5/index.js +1 -0
  772. package/dist/esm-es5/{interactive-48b5cc0f.js → interactive-b11a6c05.js} +1 -0
  773. package/dist/esm-es5/{interfaces-0e5b954c.js → interfaces-2bc002ac.js} +1 -0
  774. package/dist/esm-es5/{label-68f22660.js → label-2dac3c62.js} +2 -1
  775. package/dist/esm-es5/loader.js +2 -1
  776. package/dist/esm-es5/locale-9c18bf7f.js +6 -0
  777. package/dist/esm-es5/{math-456207f5.js → math-4cd9449e.js} +1 -0
  778. package/dist/esm-es5/number-a39356c7.js +6 -0
  779. package/dist/esm-es5/{observers-46118290.js → observers-232c6ed6.js} +1 -0
  780. package/dist/esm-es5/{popper-da45ec93.js → popper-66bcddc6.js} +2 -1
  781. package/dist/esm-es5/{resources-b5c3d9a7.js → resources-762aa55a.js} +2 -1
  782. package/dist/esm-es5/{resources-73dac782.js → resources-886efb7e.js} +3 -2
  783. package/dist/esm-es5/{resources-027bd8f9.js → resources-8ade5fae.js} +1 -0
  784. package/dist/esm-es5/{resources-34334875.js → resources-df870d40.js} +1 -0
  785. package/dist/esm-es5/sortable.esm-0891f88f.js +12 -0
  786. package/dist/esm-es5/{utils-e84055a3.js → utils-79203b5b.js} +1 -0
  787. package/dist/extras/docs-json.json +104 -14
  788. package/dist/loader/cdn.js +1 -0
  789. package/dist/loader/index.cjs.js +1 -0
  790. package/dist/loader/index.es2017.js +1 -0
  791. package/dist/loader/index.js +1 -0
  792. package/dist/types/components/button/button.d.ts +1 -1
  793. package/dist/types/components/color-picker-hex-input/color-picker-hex-input.d.ts +1 -0
  794. package/dist/types/components/combobox/combobox.d.ts +6 -1
  795. package/dist/types/components/date-picker-month-header/date-picker-month-header.d.ts +3 -1
  796. package/dist/types/components/dropdown/dropdown.d.ts +3 -0
  797. package/dist/types/components/filter/filter.d.ts +2 -2
  798. package/dist/types/components/filter/resources.d.ts +1 -0
  799. package/dist/types/components/input-date-picker/input-date-picker.d.ts +9 -1
  800. package/dist/types/components/input-time-picker/input-time-picker.d.ts +6 -0
  801. package/dist/types/components/list-item/resources.d.ts +1 -0
  802. package/dist/types/components/popover/popover.d.ts +4 -0
  803. package/dist/types/components/slider/slider.d.ts +5 -2
  804. package/dist/types/components/tab/tab.d.ts +5 -6
  805. package/dist/types/components/tab-nav/tab-nav.d.ts +23 -21
  806. package/dist/types/components/tab-title/tab-title.d.ts +16 -19
  807. package/dist/types/components/tabs/tabs.d.ts +1 -4
  808. package/dist/types/components/time-picker/time-picker.d.ts +0 -1
  809. package/dist/types/components/tip-manager/tip-manager.d.ts +1 -1
  810. package/dist/types/components.d.ts +25 -5
  811. package/dist/types/preact.d.ts +4 -2
  812. package/dist/types/utils/dom.d.ts +2 -2
  813. package/dist/types/utils/locale.d.ts +1 -0
  814. package/dist/types/utils/popper.d.ts +3 -2
  815. package/hydrate/index.d.ts +1 -1
  816. package/hydrate/index.js +536 -365
  817. package/package.json +36 -36
  818. package/readme.md +2 -3
  819. package/dist/calcite/p-193749c1.entry.js +0 -5
  820. package/dist/calcite/p-1aeca42a.system.entry.js +0 -5
  821. package/dist/calcite/p-23145377.entry.js +0 -5
  822. package/dist/calcite/p-2bcaed33.entry.js +0 -5
  823. package/dist/calcite/p-364f0abe.system.entry.js +0 -5
  824. package/dist/calcite/p-3915705c.entry.js +0 -5
  825. package/dist/calcite/p-4905189e.system.entry.js +0 -5
  826. package/dist/calcite/p-4aecbaef.entry.js +0 -5
  827. package/dist/calcite/p-5c637131.entry.js +0 -5
  828. package/dist/calcite/p-5f6e35f3.entry.js +0 -5
  829. package/dist/calcite/p-6261469d.entry.js +0 -5
  830. package/dist/calcite/p-653bd7bf.entry.js +0 -5
  831. package/dist/calcite/p-7c88d545.js +0 -5
  832. package/dist/calcite/p-867f7b7a.system.entry.js +0 -5
  833. package/dist/calcite/p-872e82a6.system.entry.js +0 -5
  834. package/dist/calcite/p-87888359.entry.js +0 -5
  835. package/dist/calcite/p-895d22f3.entry.js +0 -5
  836. package/dist/calcite/p-8b982f91.entry.js +0 -5
  837. package/dist/calcite/p-8f3a3e4e.js +0 -5
  838. package/dist/calcite/p-9e61d89d.entry.js +0 -5
  839. package/dist/calcite/p-ac9607f2.system.js +0 -11
  840. package/dist/calcite/p-b10af2b4.entry.js +0 -5
  841. package/dist/calcite/p-b3c5247b.system.entry.js +0 -5
  842. package/dist/calcite/p-bb401f25.system.js +0 -5
  843. package/dist/calcite/p-bccbf58a.entry.js +0 -5
  844. package/dist/calcite/p-bffb4da3.system.entry.js +0 -5
  845. package/dist/calcite/p-c4cb35ba.system.entry.js +0 -5
  846. package/dist/calcite/p-c5ec8d74.js +0 -11
  847. package/dist/calcite/p-cb847074.entry.js +0 -5
  848. package/dist/calcite/p-dd9f2e61.js +0 -5
  849. package/dist/calcite/p-e22ab8fa.entry.js +0 -5
  850. package/dist/calcite/p-e4d1651b.system.entry.js +0 -5
  851. package/dist/calcite/p-ec9bab33.system.js +0 -5
  852. package/dist/calcite/p-ecc31b40.system.entry.js +0 -5
  853. package/dist/calcite/p-ef6b4184.js +0 -5
  854. package/dist/calcite/p-f09e27b0.system.js +0 -5
  855. package/dist/calcite/p-fe9380a0.system.js +0 -5
  856. package/dist/esm-es5/locale-fc850b7c.js +0 -5
  857. package/dist/esm-es5/number-8779395f.js +0 -5
  858. package/dist/esm-es5/sortable.esm-04824d33.js +0 -11
@@ -1,5 +0,0 @@
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,f as i,h as a,g as e,c as s,H as n}from"./p-6b7b23d0.js";import{g as l}from"./p-8a63221d.js";import{c as r}from"./p-0a5d059d.js";import{j as h}from"./p-8f3a3e4e.js";import{d as o,c}from"./p-2d09cc25.js";import{c as d,d as m}from"./p-614d8925.js";import{c as u,d as b,a as p,H as f}from"./p-7c88d545.js";import{u as v}from"./p-bd38ff21.js";function g(t,i,a){const e=i[0]-t[0];return e?(3*(i[1]-t[1])/e-a)/2:a}function x(t,i,a,e,s){const[n,l]=t,[r,h]=i,o=(r-n)/3;return`C ${s([n+o,l+o*a]).join(",")} ${s([r-o,h-o*e]).join(",")} ${s([r,h]).join(",")}`}const _=class{constructor(a){t(this,a),this.data=[],this.graphId=`calcite-graph-${l()}`,this.resizeObserver=r("resize",(()=>i(this)))}connectedCallback(){var t;null===(t=this.resizeObserver)||void 0===t||t.observe(this.el)}disconnectedCallback(){var t;null===(t=this.resizeObserver)||void 0===t||t.disconnect()}render(){const{data:t,colorStops:i,el:e,highlightMax:s,highlightMin:n,min:l,max:r}=this,h=this.graphId,{clientHeight:o,clientWidth:c}=e;if(!t||0===t.length)return a("svg",{class:"svg",height:o,preserveAspectRatio:"none",viewBox:`0 0 ${c} ${o}`,width:c});const{min:d,max:m}=function(t){const[i,a]=t[0];return t.reduce((({min:t,max:i},[a,e])=>({min:[Math.min(t[0],a),Math.min(t[1],e)],max:[Math.max(i[0],a),Math.max(i[1],e)]})),{min:[i,a],max:[i,a]})}(t);let u=d,b=m;(l<d[0]||l>d[0])&&(u=[l,0]),(r>m[0]||r<m[0])&&(b=[r,m[1]]);const p=function({width:t,height:i,min:a,max:e}){const s=e[0]-a[0],n=e[1]-a[1];return e=>[(e[0]-a[0])/s*t,i-e[1]/n*i]}({min:u,max:b,width:c,height:o}),[f]=p([n,b[1]]),[v]=p([s,b[1]]),_=function({data:t,min:i,max:a,t:e}){if(0===t.length)return"";const[s,n]=e(t[0]),[l,r]=e(i),[h]=e(a);let o,c,d;const m=t.reduce(((i,a,s)=>{if(c=t[s-2],d=t[s-1],s>1){const t=function(t,i,a){const e=i[0]-t[0],s=a[0]-i[0],n=(i[1]-t[1])/(e||s<0&&0),l=(a[1]-i[1])/(s||e<0&&0),r=(n*s+l*e)/(e+s);return(Math.sign(n)+Math.sign(l))*Math.min(Math.abs(n),Math.abs(l),.5*Math.abs(r))||0}(c,d,a),s=void 0===o?g(c,d,t):o,n=x(c,d,s,t,e);return o=t,`${i} ${n}`}return i}),`M ${l},${r} L ${l},${n} L ${s},${n}`),u=t[t.length-1];return`${m} ${x(d,u,o,g(d,u,o),e)} L ${h},${r} Z`}({data:t,min:d,max:m,t:p}),w=i?`url(#linear-gradient-${h})`:void 0;return a("svg",{class:"svg",height:o,preserveAspectRatio:"none",viewBox:`0 0 ${c} ${o}`,width:c},i?a("defs",null,a("linearGradient",{id:`linear-gradient-${h}`,x1:"0",x2:"1",y1:"0",y2:"0"},i.map((({offset:t,color:i,opacity:e})=>a("stop",{offset:100*t+"%","stop-color":i,"stop-opacity":e}))))):null,void 0!==n?[a("mask",{height:"100%",id:`${h}1`,width:"100%",x:"0%",y:"0%"},a("path",{d:`\n M 0,0\n L ${f-1},0\n L ${f-1},${o}\n L 0,${o}\n Z\n `,fill:"white"})),a("mask",{height:"100%",id:`${h}2`,width:"100%",x:"0%",y:"0%"},a("path",{d:`\n M ${f+1},0\n L ${v-1},0\n L ${v-1},${o}\n L ${f+1}, ${o}\n Z\n `,fill:"white"})),a("mask",{height:"100%",id:`${h}3`,width:"100%",x:"0%",y:"0%"},a("path",{d:`\n M ${v+1},0\n L ${c},0\n L ${c},${o}\n L ${v+1}, ${o}\n Z\n `,fill:"white"})),a("path",{class:"graph-path",d:_,fill:w,mask:`url(#${h}1)`}),a("path",{class:"graph-path--highlight",d:_,fill:w,mask:`url(#${h}2)`}),a("path",{class:"graph-path",d:_,fill:w,mask:`url(#${h}3)`})]:a("path",{class:"graph-path",d:_,fill:w}))}get el(){return e(this)}};_.style="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:block}.svg{fill:currentColor;stroke:transparent;margin:0px;display:block;height:100%;width:100%;padding:0px}.svg .graph-path--highlight{fill:var(--calcite-ui-brand);opacity:0.5}";const w=class{constructor(i){t(this,i),this.calciteSliderInput=s(this,"calciteSliderInput",7),this.calciteSliderChange=s(this,"calciteSliderChange",7),this.calciteSliderUpdate=s(this,"calciteSliderUpdate",7),this.disabled=!1,this.hasHistogram=!1,this.labelHandles=!1,this.labelTicks=!1,this.max=100,this.min=0,this.mirrored=!1,this.precise=!1,this.required=!1,this.snap=!1,this.step=1,this.value=null,this.scale="m",this.guid=`calcite-slider-${l()}`,this.isRange=!1,this.activeProp="value",this.minMaxValueRange=null,this.minValueDragRange=null,this.maxValueDragRange=null,this.tickValues=[],this.dragUpdate=t=>{if(t.preventDefault(),this.dragProp){const i=this.translate(t.clientX||t.pageX);if(this.isRange&&"minMaxValue"===this.dragProp)if(this.minValueDragRange&&this.maxValueDragRange&&this.minMaxValueRange){const t=i-this.minValueDragRange,a=i+this.maxValueDragRange;a<=this.max&&t>=this.min&&a-t===this.minMaxValueRange&&(this.minValue=this.clamp(t,"minValue"),this.maxValue=this.clamp(a,"maxValue"))}else this.minValueDragRange=i-this.minValue,this.maxValueDragRange=this.maxValue-i,this.minMaxValueRange=this.maxValue-this.minValue;else this.setValue(this.dragProp,this.clamp(i,this.dragProp))}},this.dragEnd=t=>{this.removeDragListeners(),this.focusActiveHandle(t.clientX),this.lastDragPropValue!=this[this.dragProp]&&this.emitChange(),this.dragProp=null,this.lastDragPropValue=null,this.minValueDragRange=null,this.maxValueDragRange=null,this.minMaxValueRange=null},this.storeTrackRef=t=>{this.trackEl=t}}histogramWatcher(t){this.hasHistogram=!!t}connectedCallback(){d(this),u(this)}disconnectedCallback(){m(this),b(this),this.removeDragListeners()}componentWillLoad(){this.isRange=!(!this.maxValue&&0!==this.maxValue),this.tickValues=this.generateTickValues(),this.value=this.clamp(this.value),p(this,this.value),this.snap&&(this.value=this.getClosestStep(this.value)),this.histogram&&(this.hasHistogram=!0)}componentDidRender(){this.labelHandles&&(this.adjustHostObscuredHandleLabel("value"),this.isRange&&(this.adjustHostObscuredHandleLabel("minValue"),this.precise&&this.isRange&&!this.hasHistogram||this.hyphenateCollidingRangeHandleLabels())),this.hideObscuredBoundingTickLabels(),v(this)}render(){const t=this.el.id||this.guid,i=this.minValue||this.min,e=this.maxValue||this.value,s=this.isRange?"maxValue":"value",l=this[s],r=this.shouldUseMinValue(),h=100*this.getUnitInterval(r?this.minValue:i),o=100*this.getUnitInterval(e),c=this.shouldMirror(),d=`${c?100-h:h}%`,m=`${c?o:100-o}%`,u=a("div",{"aria-disabled":this.disabled,"aria-label":this.isRange?this.maxLabel:this.minLabel,"aria-orientation":"horizontal","aria-valuemax":this.max,"aria-valuemin":this.min,"aria-valuenow":l,class:{thumb:!0,"thumb--value":!0,"thumb--active":"minMaxValue"!==this.lastDragProp&&this.dragProp===s},onBlur:()=>this.activeProp=null,onFocus:()=>this.activeProp=s,onPointerDown:()=>this.dragStart(s),ref:t=>this.maxHandle=t,role:"slider",style:{right:m},tabIndex:0},a("div",{class:"handle"})),b=a("div",{"aria-disabled":this.disabled,"aria-label":this.isRange?this.maxLabel:this.minLabel,"aria-orientation":"horizontal","aria-valuemax":this.max,"aria-valuemin":this.min,"aria-valuenow":l,class:{thumb:!0,"thumb--value":!0,"thumb--active":"minMaxValue"!==this.lastDragProp&&this.dragProp===s},onBlur:()=>this.activeProp=null,onFocus:()=>this.activeProp=s,onPointerDown:()=>this.dragStart(s),ref:t=>this.maxHandle=t,role:"slider",style:{right:m},tabIndex:0},a("span",{"aria-hidden":"true",class:"handle__label handle__label--value"},l?l.toLocaleString():l),a("span",{"aria-hidden":"true",class:"handle__label handle__label--value static"},l?l.toLocaleString():l),a("span",{"aria-hidden":"true",class:"handle__label handle__label--value transformed"},l?l.toLocaleString():l),a("div",{class:"handle"})),p=a("div",{"aria-disabled":this.disabled,"aria-label":this.isRange?this.maxLabel:this.minLabel,"aria-orientation":"horizontal","aria-valuemax":this.max,"aria-valuemin":this.min,"aria-valuenow":l,class:{thumb:!0,"thumb--value":!0,"thumb--active":"minMaxValue"!==this.lastDragProp&&this.dragProp===s},onBlur:()=>this.activeProp=null,onFocus:()=>this.activeProp=s,onPointerDown:()=>this.dragStart(s),ref:t=>this.maxHandle=t,role:"slider",style:{right:m},tabIndex:0},a("div",{class:"handle"}),a("span",{"aria-hidden":"true",class:"handle__label handle__label--value"},l?l.toLocaleString():l),a("span",{"aria-hidden":"true",class:"handle__label handle__label--value static"},l?l.toLocaleString():l),a("span",{"aria-hidden":"true",class:"handle__label handle__label--value transformed"},l?l.toLocaleString():l)),v=a("div",{"aria-disabled":this.disabled,"aria-label":this.isRange?this.maxLabel:this.minLabel,"aria-orientation":"horizontal","aria-valuemax":this.max,"aria-valuemin":this.min,"aria-valuenow":l,class:{thumb:!0,"thumb--value":!0,"thumb--active":"minMaxValue"!==this.lastDragProp&&this.dragProp===s,"thumb--precise":!0},onBlur:()=>this.activeProp=null,onFocus:()=>this.activeProp=s,onPointerDown:()=>this.dragStart(s),ref:t=>this.maxHandle=t,role:"slider",style:{right:m},tabIndex:0},a("div",{class:"handle"}),a("div",{class:"handle-extension"})),g=a("div",{"aria-disabled":this.disabled,"aria-label":this.isRange?this.maxLabel:this.minLabel,"aria-orientation":"horizontal","aria-valuemax":this.max,"aria-valuemin":this.min,"aria-valuenow":l,class:{thumb:!0,"thumb--value":!0,"thumb--active":"minMaxValue"!==this.lastDragProp&&this.dragProp===s,"thumb--precise":!0},onBlur:()=>this.activeProp=null,onFocus:()=>this.activeProp=s,onPointerDown:()=>this.dragStart(s),ref:t=>this.maxHandle=t,role:"slider",style:{right:m},tabIndex:0},a("div",{class:"handle-extension"}),a("div",{class:"handle"})),x=a("div",{"aria-disabled":this.disabled,"aria-label":this.isRange?this.maxLabel:this.minLabel,"aria-orientation":"horizontal","aria-valuemax":this.max,"aria-valuemin":this.min,"aria-valuenow":l,class:{thumb:!0,"thumb--value":!0,"thumb--active":"minMaxValue"!==this.lastDragProp&&this.dragProp===s,"thumb--precise":!0},onBlur:()=>this.activeProp=null,onFocus:()=>this.activeProp=s,onPointerDown:()=>this.dragStart(s),ref:t=>this.maxHandle=t,role:"slider",style:{right:m},tabIndex:0},a("span",{"aria-hidden":"true",class:"handle__label handle__label--value"},l?l.toLocaleString():l),a("span",{"aria-hidden":"true",class:"handle__label handle__label--value static"},l?l.toLocaleString():l),a("span",{"aria-hidden":"true",class:"handle__label handle__label--value transformed"},l?l.toLocaleString():l),a("div",{class:"handle"}),a("div",{class:"handle-extension"})),_=a("div",{"aria-disabled":this.disabled,"aria-label":this.isRange?this.maxLabel:this.minLabel,"aria-orientation":"horizontal","aria-valuemax":this.max,"aria-valuemin":this.min,"aria-valuenow":l,class:{thumb:!0,"thumb--value":!0,"thumb--active":"minMaxValue"!==this.lastDragProp&&this.dragProp===s,"thumb--precise":!0},onBlur:()=>this.activeProp=null,onFocus:()=>this.activeProp=s,onPointerDown:()=>this.dragStart(s),ref:t=>this.maxHandle=t,role:"slider",style:{right:m},tabIndex:0},a("div",{class:"handle-extension"}),a("div",{class:"handle"}),a("span",{"aria-hidden":"true",class:"handle__label handle__label--value"},l?l.toLocaleString():l),a("span",{"aria-hidden":"true",class:"handle__label handle__label--value static"},l?l.toLocaleString():l),a("span",{"aria-hidden":"true",class:"handle__label handle__label--value transformed"},l?l.toLocaleString():l)),w=a("div",{"aria-disabled":this.disabled,"aria-label":this.minLabel,"aria-orientation":"horizontal","aria-valuemax":this.max,"aria-valuemin":this.min,"aria-valuenow":this.minValue,class:{thumb:!0,"thumb--minValue":!0,"thumb--active":"minValue"===this.dragProp},onBlur:()=>this.activeProp=null,onFocus:()=>this.activeProp="minValue",onPointerDown:()=>this.dragStart("minValue"),ref:t=>this.minHandle=t,role:"slider",style:{left:d},tabIndex:0},a("div",{class:"handle"})),k=a("div",{"aria-disabled":this.disabled,"aria-label":this.minLabel,"aria-orientation":"horizontal","aria-valuemax":this.max,"aria-valuemin":this.min,"aria-valuenow":this.minValue,class:{thumb:!0,"thumb--minValue":!0,"thumb--active":"minValue"===this.dragProp},onBlur:()=>this.activeProp=null,onFocus:()=>this.activeProp="minValue",onPointerDown:()=>this.dragStart("minValue"),ref:t=>this.minHandle=t,role:"slider",style:{left:d},tabIndex:0},a("span",{"aria-hidden":"true",class:"handle__label handle__label--minValue"},this.minValue&&this.minValue.toLocaleString()),a("span",{"aria-hidden":"true",class:"handle__label handle__label--minValue static"},this.minValue&&this.minValue.toLocaleString()),a("span",{"aria-hidden":"true",class:"handle__label handle__label--minValue transformed"},this.minValue&&this.minValue.toLocaleString()),a("div",{class:"handle"})),y=a("div",{"aria-disabled":this.disabled,"aria-label":this.minLabel,"aria-orientation":"horizontal","aria-valuemax":this.max,"aria-valuemin":this.min,"aria-valuenow":this.minValue,class:{thumb:!0,"thumb--minValue":!0,"thumb--active":"minValue"===this.dragProp},onBlur:()=>this.activeProp=null,onFocus:()=>this.activeProp="minValue",onPointerDown:()=>this.dragStart("minValue"),ref:t=>this.minHandle=t,role:"slider",style:{left:d},tabIndex:0},a("div",{class:"handle"}),a("span",{"aria-hidden":"true",class:"handle__label handle__label--minValue"},this.minValue&&this.minValue.toLocaleString()),a("span",{"aria-hidden":"true",class:"handle__label handle__label--minValue static"},this.minValue&&this.minValue.toLocaleString()),a("span",{"aria-hidden":"true",class:"handle__label handle__label--minValue transformed"},this.minValue&&this.minValue.toLocaleString())),$=a("div",{"aria-disabled":this.disabled,"aria-label":this.minLabel,"aria-orientation":"horizontal","aria-valuemax":this.max,"aria-valuemin":this.min,"aria-valuenow":this.minValue,class:{thumb:!0,"thumb--minValue":!0,"thumb--active":"minValue"===this.dragProp,"thumb--precise":!0},onBlur:()=>this.activeProp=null,onFocus:()=>this.activeProp="minValue",onPointerDown:()=>this.dragStart("minValue"),ref:t=>this.minHandle=t,role:"slider",style:{left:d},tabIndex:0},a("div",{class:"handle-extension"}),a("div",{class:"handle"})),D=a("div",{"aria-disabled":this.disabled,"aria-label":this.minLabel,"aria-orientation":"horizontal","aria-valuemax":this.max,"aria-valuemin":this.min,"aria-valuenow":this.minValue,class:{thumb:!0,"thumb--minValue":!0,"thumb--active":"minValue"===this.dragProp,"thumb--precise":!0},onBlur:()=>this.activeProp=null,onFocus:()=>this.activeProp="minValue",onPointerDown:()=>this.dragStart("minValue"),ref:t=>this.minHandle=t,role:"slider",style:{left:d},tabIndex:0},a("div",{class:"handle-extension"}),a("div",{class:"handle"}),a("span",{"aria-hidden":"true",class:"handle__label handle__label--minValue"},this.minValue&&this.minValue.toLocaleString()),a("span",{"aria-hidden":"true",class:"handle__label handle__label--minValue static"},this.minValue&&this.minValue.toLocaleString()),a("span",{"aria-hidden":"true",class:"handle__label handle__label--minValue transformed"},this.minValue&&this.minValue.toLocaleString()));return a(n,{id:t,onTouchStart:this.handleTouchStart},a("div",{class:{container:!0,"container--range":this.isRange,[`scale--${this.scale}`]:!0}},this.renderGraph(),a("div",{class:"track",ref:this.storeTrackRef},a("div",{class:"track__range",onPointerDown:()=>this.dragStart("minMaxValue"),style:{left:`${c?100-o:h}%`,right:`${c?h:100-o}%`}}),a("div",{class:"ticks"},this.tickValues.map((t=>{const s=100*this.getUnitInterval(t)+"%";let n=t>=i&&t<=e;return r&&(n=t>=this.minValue&&t<=this.maxValue),a("span",{class:{tick:!0,"tick--active":n},style:{left:c?"":s,right:c?s:""}},this.renderTickLabel(t))})))),a("div",{class:"thumb-container"},!this.precise&&!this.labelHandles&&this.isRange&&w,!this.hasHistogram&&!this.precise&&this.labelHandles&&this.isRange&&k,this.precise&&!this.labelHandles&&this.isRange&&$,this.precise&&this.labelHandles&&this.isRange&&D,this.hasHistogram&&!this.precise&&this.labelHandles&&this.isRange&&y,!this.precise&&!this.labelHandles&&u,!this.hasHistogram&&!this.precise&&this.labelHandles&&b,!this.hasHistogram&&this.precise&&!this.labelHandles&&v,this.hasHistogram&&this.precise&&!this.labelHandles&&g,!this.hasHistogram&&this.precise&&this.labelHandles&&x,this.hasHistogram&&!this.precise&&this.labelHandles&&p,this.hasHistogram&&this.precise&&this.labelHandles&&_,a(f,{component:this}))))}renderGraph(){return this.histogram?a("calcite-graph",{class:"graph",colorStops:this.histogramStops,data:this.histogram,highlightMax:this.isRange?this.maxValue:this.value,highlightMin:this.isRange?this.minValue:this.min,max:this.max,min:this.min}):null}renderTickLabel(t){const i=t===this.min,e=t===this.max,s=a("span",{class:{tick__label:!0,"tick__label--min":i,"tick__label--max":e}},t.toLocaleString());return this.labelTicks&&!this.hasHistogram&&!this.isRange||this.labelTicks&&!this.hasHistogram&&this.isRange&&!this.precise&&!this.labelHandles||this.labelTicks&&!this.hasHistogram&&this.isRange&&!this.precise&&this.labelHandles||this.labelTicks&&!this.hasHistogram&&this.isRange&&this.precise&&(i||e)||this.labelTicks&&this.hasHistogram&&!this.precise&&!this.labelHandles||this.labelTicks&&this.hasHistogram&&this.precise&&!this.labelHandles&&(i||e)||this.labelTicks&&this.hasHistogram&&!this.precise&&this.labelHandles&&(i||e)||this.labelTicks&&this.hasHistogram&&this.precise&&this.labelHandles&&(i||e)?s:null}keyDownHandler(t){const i=this.shouldMirror(),{activeProp:a,max:e,min:s,pageStep:n,step:l}=this,r=this[a],h=t.key;if("Enter"===h||" "===h)return void t.preventDefault();let c;if("ArrowUp"===h||"ArrowRight"===h?c=r+l*(i&&"ArrowRight"===h?-1:1):"ArrowDown"===h||"ArrowLeft"===h?c=r-l*(i&&"ArrowLeft"===h?-1:1):"PageUp"===h?n&&(c=r+n):"PageDown"===h?n&&(c=r-n):"Home"===h?c=s:"End"===h&&(c=e),isNaN(c))return;t.preventDefault();const d=Number(c.toFixed(o(l)));this.setValue(a,this.clamp(d,a))}clickHandler(t){this.focusActiveHandle(t.clientX)}pointerDownHandler(t){const i=this.translate(t.clientX||t.pageX);let a="value";this.isRange&&(a=i>=this.minValue&&i<=this.maxValue&&"minMaxValue"===this.lastDragProp?"minMaxValue":Math.abs(this.maxValue-i)<Math.abs(this.minValue-i)||i>this.maxValue?"maxValue":"minValue"),this.lastDragPropValue=this[a],this.dragStart(a),this.el.shadowRoot.querySelector(".thumb:active")||this.setValue(a,this.clamp(i,a))}handleTouchStart(t){t.preventDefault()}async setFocus(){(this.minHandle?this.minHandle:this.maxHandle).focus()}onLabelClick(){this.setFocus()}shouldMirror(){return this.mirrored&&!this.hasHistogram}shouldUseMinValue(){return!!this.isRange&&(this.hasHistogram&&0===this.maxValue||!this.hasHistogram&&0===this.minValue)}generateTickValues(){const t=[];let i=this.min;for(;this.ticks&&i<this.max+this.ticks;)t.push(Math.min(i,this.max)),i+=this.ticks;return t}dragStart(t){this.dragProp=t,this.lastDragProp=this.dragProp,this.activeProp=t,document.addEventListener("pointermove",this.dragUpdate),document.addEventListener("pointerup",this.dragEnd),document.addEventListener("pointercancel",this.dragEnd)}focusActiveHandle(t){switch(this.dragProp){case"minValue":this.minHandle.focus();break;case"maxValue":this.maxHandle.focus();break;case"minMaxValue":this.getClosestHandle(t).focus()}}emitInput(){this.calciteSliderInput.emit(),this.calciteSliderUpdate.emit()}emitChange(){this.calciteSliderChange.emit()}removeDragListeners(){document.removeEventListener("pointermove",this.dragUpdate),document.removeEventListener("pointerup",this.dragEnd),document.removeEventListener("pointercancel",this.dragEnd)}setValue(t,i){this[t]!==i&&(this[t]=i,this.dragProp||this.emitChange(),this.emitInput())}clamp(t,i){return t=c(t,this.min,this.max),"maxValue"===i&&(t=Math.max(t,this.minValue)),"minValue"===i&&(t=Math.min(t,this.maxValue)),t}translate(t){const i=this.max-this.min,{left:a,width:e}=this.trackEl.getBoundingClientRect(),s=(t-a)/e,n=this.shouldMirror(),l=this.clamp(this.min+i*(n?1-s:s));let r=Number(l.toFixed(o(this.step)));return this.snap&&this.step&&(r=this.getClosestStep(r)),r}getClosestStep(t){if(t=Number(this.clamp(t).toFixed(o(this.step))),this.step){const i=Math.round(t/this.step)*this.step;t=Number(this.clamp(i).toFixed(o(this.step)))}return t}getClosestHandle(t){return this.getDistanceX(this.maxHandle,t)>this.getDistanceX(this.minHandle,t)?this.minHandle:this.maxHandle}getDistanceX(t,i){return Math.abs(t.getBoundingClientRect().left-i)}getFontSizeForElement(t){return Number(window.getComputedStyle(t).getPropertyValue("font-size").match(/\d+/)[0])}getUnitInterval(t){return((t=this.clamp(t))-this.min)/(this.max-this.min)}adjustHostObscuredHandleLabel(t){const i=this.el.shadowRoot.querySelector(`.handle__label--${t}`),a=this.el.shadowRoot.querySelector(`.handle__label--${t}.static`),e=this.el.shadowRoot.querySelector(`.handle__label--${t}.transformed`),s=a.getBoundingClientRect(),n=this.getHostOffset(s.left,s.right);i.style.transform=`translateX(${n}px)`,e.style.transform=`translateX(${n}px)`}hyphenateCollidingRangeHandleLabels(){const{shadowRoot:t}=this.el,i=this.shouldMirror(),a=i?"value":"minValue",e=i?"minValue":"value",s=t.querySelector(`.handle__label--${a}`),n=t.querySelector(`.handle__label--${a}.static`),l=t.querySelector(`.handle__label--${a}.transformed`),r=this.getHostOffset(n.getBoundingClientRect().left,n.getBoundingClientRect().right),h=t.querySelector(`.handle__label--${e}`),o=t.querySelector(`.handle__label--${e}.static`),c=t.querySelector(`.handle__label--${e}.transformed`),d=this.getHostOffset(o.getBoundingClientRect().left,o.getBoundingClientRect().right),m=this.getFontSizeForElement(s),u=this.getRangeLabelOverlap(l,c),b=s,p=m/2;if(u>0){if(b.classList.add("hyphen","hyphen--wrap"),0===d&&0===r){let t=u/2-p;t=-1===Math.sign(t)?Math.abs(t):-t;const i=this.getHostOffset(l.getBoundingClientRect().left+t-p,l.getBoundingClientRect().right+t-p);let a=u/2;const e=this.getHostOffset(c.getBoundingClientRect().left+a,c.getBoundingClientRect().right+a);0!==i&&(t+=i,a+=i),0!==e&&(t+=e,a+=e),s.style.transform=`translateX(${t}px)`,l.style.transform=`translateX(${t-p}px)`,h.style.transform=`translateX(${a}px)`,c.style.transform=`translateX(${a}px)`}else if(r>0||d>0)s.style.transform=`translateX(${r+p}px)`,h.style.transform=`translateX(${u+d}px)`,c.style.transform=`translateX(${u+d}px)`;else if(r<0||d<0){let t=Math.abs(r)+u-p;t=-1===Math.sign(t)?Math.abs(t):-t,s.style.transform=`translateX(${t}px)`,l.style.transform=`translateX(${t-p}px)`}}else b.classList.remove("hyphen","hyphen--wrap"),s.style.transform=`translateX(${r}px)`,l.style.transform=`translateX(${r}px)`,h.style.transform=`translateX(${d}px)`,c.style.transform=`translateX(${d}px)`}hideObscuredBoundingTickLabels(){if(!(this.hasHistogram||this.isRange||this.labelHandles||this.precise))return;if(!this.hasHistogram&&!this.isRange&&this.labelHandles&&!this.precise)return;if(!this.hasHistogram&&!this.isRange&&!this.labelHandles&&this.precise)return;if(!this.hasHistogram&&!this.isRange&&this.labelHandles&&this.precise)return;if(!this.hasHistogram&&this.isRange&&!this.precise)return;if(this.hasHistogram&&!this.precise&&!this.labelHandles)return;const t=this.el.shadowRoot.querySelector(".thumb--minValue"),i=this.el.shadowRoot.querySelector(".thumb--value"),a=this.el.shadowRoot.querySelector(".tick__label--min"),e=this.el.shadowRoot.querySelector(".tick__label--max");!t&&i&&a&&e&&(a.style.opacity=this.isMinTickLabelObscured(a,i)?"0":"1",e.style.opacity=this.isMaxTickLabelObscured(e,i)?"0":"1"),t&&i&&a&&e&&(a.style.opacity=this.isMinTickLabelObscured(a,t)||this.isMinTickLabelObscured(a,i)?"0":"1",e.style.opacity=this.isMaxTickLabelObscured(e,t)||this.isMaxTickLabelObscured(e,i)&&this.hasHistogram?"0":"1")}getHostOffset(t,i){const a=this.el.getBoundingClientRect();return t+7<a.left?a.left-t-7:i-7>a.right?7-(i-a.right):0}getRangeLabelOverlap(t,i){const a=t.getBoundingClientRect(),e=i.getBoundingClientRect(),s=this.getFontSizeForElement(t);return Math.max(a.right+s-e.left,0)}isMinTickLabelObscured(t,i){const a=t.getBoundingClientRect(),e=i.getBoundingClientRect();return h(a,e)}isMaxTickLabelObscured(t,i){const a=t.getBoundingClientRect(),e=i.getBoundingClientRect();return h(a,e)}get el(){return e(this)}static get watchers(){return{histogram:["histogramWatcher"]}}};w.style='@charset "UTF-8";@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}.scale--s{--calcite-slider-handle-size:10px;--calcite-slider-handle-extension-height:6.5px;--calcite-slider-container-font-size:var(--calcite-font-size--3)}.scale--s .handle__label,.scale--s .tick__label{line-height:.75rem}.scale--m{--calcite-slider-handle-size:14px;--calcite-slider-handle-extension-height:8px;--calcite-slider-container-font-size:var(--calcite-font-size--2)}.scale--m .handle__label,.scale--m .tick__label{line-height:1rem}.scale--l{--calcite-slider-handle-size:16px;--calcite-slider-handle-extension-height:10.5px;--calcite-slider-container-font-size:var(--calcite-font-size--1)}.scale--l .handle__label,.scale--l .tick__label{line-height:1rem}.handle__label,.tick__label{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-2);font-size:var(--calcite-slider-container-font-size)}:host{display:block}.container{position:relative;display:block;padding:calc(var(--calcite-slider-handle-size) * 0.5);margin:calc(var(--calcite-slider-handle-size) * 0.5) 0;--calcite-slider-full-handle-height:calc(\n var(--calcite-slider-handle-size) + var(--calcite-slider-handle-extension-height)\n )}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) .track__range,:host([disabled]) .tick--active{background-color:var(--calcite-ui-text-3)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.scale--s .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset:-6px}.scale--m .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset:-8px}.scale--l .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset:-9px}:host([precise]:not([has-histogram])) .container .thumb--value{--calcite-slider-thumb-y-offset:calc(var(--calcite-slider-full-handle-height) * -1)}.thumb-container{position:relative;max-width:100%}.thumb{--calcite-slider-thumb-x-offset:calc(var(--calcite-slider-handle-size) * 0.5);position:absolute;margin:0px;display:-ms-flexbox;display:flex;cursor:pointer;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;border-style:none;background-color:transparent;padding:0px;font-family:inherit;outline:2px solid transparent;outline-offset:2px;-webkit-transform:translate(var(--calcite-slider-thumb-x-offset), var(--calcite-slider-thumb-y-offset));transform:translate(var(--calcite-slider-thumb-x-offset), var(--calcite-slider-thumb-y-offset))}.thumb .handle__label.static,.thumb .handle__label.transformed{position:absolute;top:0px;bottom:0px;opacity:0}.thumb .handle__label.hyphen::after{content:"—";display:inline-block;width:1em}.thumb .handle__label.hyphen--wrap{display:-ms-flexbox;display:flex}.thumb .handle{-webkit-box-sizing:border-box;box-sizing:border-box;border-radius:9999px;background-color:var(--calcite-ui-foreground-1);outline-offset:0;outline-color:transparent;-webkit-transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;height:var(--calcite-slider-handle-size);width:var(--calcite-slider-handle-size);-webkit-box-shadow:0 0 0 2px var(--calcite-ui-text-3) inset;box-shadow:0 0 0 2px var(--calcite-ui-text-3) inset;-webkit-transition:border var(--calcite-internal-animation-timing-medium) ease, background-color var(--calcite-internal-animation-timing-medium) ease, -webkit-box-shadow var(--calcite-animation-timing) ease;transition:border var(--calcite-internal-animation-timing-medium) ease, background-color var(--calcite-internal-animation-timing-medium) ease, -webkit-box-shadow var(--calcite-animation-timing) ease;transition:border var(--calcite-internal-animation-timing-medium) ease, background-color var(--calcite-internal-animation-timing-medium) ease, box-shadow var(--calcite-animation-timing) ease;transition:border var(--calcite-internal-animation-timing-medium) ease, background-color var(--calcite-internal-animation-timing-medium) ease, box-shadow var(--calcite-animation-timing) ease, -webkit-box-shadow var(--calcite-animation-timing) ease}.thumb .handle-extension{width:0.125rem;height:var(--calcite-slider-handle-extension-height);background-color:var(--calcite-ui-text-3)}.thumb:hover .handle{-webkit-box-shadow:0 0 0 3px var(--calcite-ui-brand) inset;box-shadow:0 0 0 3px var(--calcite-ui-brand) inset}.thumb:hover .handle-extension{background-color:var(--calcite-ui-brand)}.thumb:focus .handle{outline:2px solid var(--calcite-ui-brand);outline-offset:2px}.thumb:focus .handle-extension{background-color:var(--calcite-ui-brand)}.thumb.thumb--minValue{-webkit-transform:translate(calc(var(--calcite-slider-thumb-x-offset) * -1), var(--calcite-slider-thumb-y-offset));transform:translate(calc(var(--calcite-slider-thumb-x-offset) * -1), var(--calcite-slider-thumb-y-offset))}.thumb.thumb--precise{--calcite-slider-thumb-y-offset:-2px}:host([label-handles]) .thumb{--calcite-slider-thumb-x-offset:50%}:host([label-handles]):host(:not([has-histogram])) .scale--s .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset:-23px}:host([label-handles]):host(:not([has-histogram])) .scale--m .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset:-30px}:host([label-handles]):host(:not([has-histogram])) .scale--l .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset:-32px}:host([has-histogram][label-handles]) .handle__label,:host([label-handles]:not([has-histogram])) .thumb--minValue.thumb--precise .handle__label{margin-top:0.5em}:host(:not([has-histogram]):not([precise])) .handle__label,:host([label-handles]:not([has-histogram])) .thumb--value .handle__label{margin-bottom:0.5em}:host([label-handles][precise]):host(:not([has-histogram])) .scale--s .thumb--value{--calcite-slider-thumb-y-offset:-33px}:host([label-handles][precise]):host(:not([has-histogram])) .scale--m .thumb--value{--calcite-slider-thumb-y-offset:-44px}:host([label-handles][precise]):host(:not([has-histogram])) .scale--l .thumb--value{--calcite-slider-thumb-y-offset:-49px}.thumb:focus .handle,.thumb--active .handle{background-color:var(--calcite-ui-brand);-webkit-box-shadow:0 0 8px 0 rgba(0, 0, 0, 0.16);box-shadow:0 0 8px 0 rgba(0, 0, 0, 0.16)}.thumb:hover.thumb--precise:after,.thumb:focus.thumb--precise:after,.thumb--active.thumb--precise:after{background-color:var(--calcite-ui-brand)}.track{position:relative;height:0.125rem;border-radius:0px;background-color:var(--calcite-ui-border-2);-webkit-transition:all var(--calcite-internal-animation-timing-medium) ease-in;transition:all var(--calcite-internal-animation-timing-medium) ease-in}.track__range{position:absolute;top:0px;height:0.125rem;background-color:var(--calcite-ui-brand)}.container--range .track__range:hover{cursor:ew-resize}.container--range .track__range:after{position:absolute;width:100%;content:"";top:calc(var(--calcite-slider-full-handle-height) * 0.5 * -1);height:calc(var(--calcite-slider-handle-size) + var(--calcite-slider-handle-extension-height))}.tick{position:absolute;height:0.25rem;width:0.125rem;border-width:1px;border-style:solid;background-color:var(--calcite-ui-border-input);border-color:var(--calcite-ui-foreground-1);top:-2px;pointer-events:none;-webkit-margin-start:calc(-1 * 0.125rem);margin-inline-start:calc(-1 * 0.125rem)}.tick--active{background-color:var(--calcite-ui-brand)}.tick__label{pointer-events:none;margin-top:0.875rem;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center}.tick__label--min{-webkit-transition:opacity var(--calcite-animation-timing);transition:opacity var(--calcite-animation-timing)}.tick__label--max{-webkit-transition:opacity var(--calcite-internal-animation-timing-fast);transition:opacity var(--calcite-internal-animation-timing-fast)}:host([has-histogram][label-handles]) .tick__label--min,:host([has-histogram][label-handles]) .tick__label--max,:host([has-histogram][precise]) .tick__label--min,:host([has-histogram][precise]) .tick__label--max{font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-3)}.graph{color:var(--calcite-ui-foreground-3);height:48px}:host([label-ticks][ticks]) .container{padding-bottom:calc(0.875rem + var(--calcite-slider-container-font-size))}:host([has-histogram]):host([precise][label-handles]) .container{padding-bottom:calc(var(--calcite-slider-full-handle-height) + 1em)}:host([has-histogram]):host([label-handles]:not([precise])) .container{padding-bottom:calc(var(--calcite-slider-handle-size) * 0.5 + 1em)}:host([has-histogram]):host([precise]:not([label-handles])) .container{padding-bottom:var(--calcite-slider-full-handle-height)}:host(:not([has-histogram])):host([precise]:not([label-handles])) .container{padding-top:var(--calcite-slider-full-handle-height)}:host(:not([has-histogram])):host([precise]:not([label-handles])) .container--range{padding-bottom:var(--calcite-slider-full-handle-height)}:host(:not([has-histogram])):host([label-handles]:not([precise])) .container{padding-top:calc(var(--calcite-slider-full-handle-height) + 4px)}:host(:not([has-histogram])):host([label-handles][precise]) .container{padding-top:calc(var(--calcite-slider-full-handle-height) + var(--calcite-slider-container-font-size) + 4px)}:host(:not([has-histogram])):host([label-handles][precise]) .container--range{padding-bottom:calc(var(--calcite-slider-full-handle-height) + var(--calcite-slider-container-font-size) + 4px)}::slotted(input[slot=hidden-form-input]){bottom:0 !important;left:0 !important;margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;right:0 !important;top:0 !important;-webkit-transform:none !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}';export{_ as calcite_graph,w as calcite_slider}
@@ -1,5 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(t,n,a,e){function i(t){return t instanceof a?t:new a((function(n){n(t)}))}return new(a||(a=Promise))((function(a,o){function r(t){try{s(e.next(t))}catch(t){o(t)}}function c(t){try{s(e["throw"](t))}catch(t){o(t)}}function s(t){t.done?a(t.value):i(t.value).then(r,c)}s((e=e.apply(t,n||[])).next())}))};var __generator=this&&this.__generator||function(t,n){var a={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},e,i,o,r;return r={next:c(0),throw:c(1),return:c(2)},typeof Symbol==="function"&&(r[Symbol.iterator]=function(){return this}),r;function c(t){return function(n){return s([t,n])}}function s(r){if(e)throw new TypeError("Generator is already executing.");while(a)try{if(e=1,i&&(o=r[0]&2?i["return"]:r[0]?i["throw"]||((o=i["return"])&&o.call(i),0):i.next)&&!(o=o.call(i,r[1])).done)return o;if(i=0,o)r=[r[0]&2,o.value];switch(r[0]){case 0:case 1:o=r;break;case 4:a.label++;return{value:r[1],done:false};case 5:a.label++;i=r[1];r=[0];continue;case 7:r=a.ops.pop();a.trys.pop();continue;default:if(!(o=a.trys,o=o.length>0&&o[o.length-1])&&(r[0]===6||r[0]===2)){a=0;continue}if(r[0]===3&&(!o||r[1]>o[0]&&r[1]<o[3])){a.label=r[1];break}if(r[0]===6&&a.label<o[1]){a.label=o[1];o=r;break}if(o&&a.label<o[2]){a.label=o[2];a.ops.push(r);break}if(o[2])a.ops.pop();a.trys.pop();continue}r=n.call(t,a)}catch(t){r=[6,t];i=0}finally{e=o=0}if(r[0]&5)throw r[1];return{value:r[0]?r[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-65dbbfb5.system.js","./p-3119ffce.system.js","./p-ec9bab33.system.js","./p-588bfa74.system.js","./p-cb57638c.system.js","./p-e020662f.system.js","./p-ac4aec20.system.js"],(function(t){"use strict";var n,a,e,i,o,r,c,s,l,m;return{setters:[function(t){n=t.r;a=t.h;e=t.H;i=t.g},function(t){o=t.u},function(t){r=t.g},function(t){c=t.c;s=t.d},function(t){l=t.H;m=t.c},function(){},function(){}],execute:function(){var d={container:"container"};var f="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:block}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.container{-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;width:100%;-ms-flex-direction:column;flex-direction:column;background-color:transparent}.container *{-webkit-box-sizing:border-box;box-sizing:border-box}::slotted(calcite-list-item){margin-bottom:1px;--tw-shadow:0 1px 0 var(--calcite-ui-border-3);--tw-shadow-colored:0 1px 0 var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}::slotted(calcite-list-item:last-child){--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}";var u=t("calcite_list",function(){function t(t){n(this,t);this.disabled=false}t.prototype.componentDidRender=function(){o(this)};t.prototype.setFocus=function(){return __awaiter(this,void 0,void 0,(function(){var t;return __generator(this,(function(n){t=this.el.querySelector("calcite-list-item:not([non-interactive])");t===null||t===void 0?void 0:t.setFocus();return[2]}))}))};t.prototype.render=function(){return a(e,{role:"list"},a("div",{class:d.container},a("slot",null)))};Object.defineProperty(t.prototype,"el",{get:function(){return i(this)},enumerable:false,configurable:true});return t}());u.style=f;var p={container:"container",contentContainer:"content-container",nestedContainer:"nested-container",contentContainerButton:"content-container--button",content:"content",actionsStart:"actions-start",contentStart:"content-start",label:"label",description:"description",contentEnd:"content-end",actionsEnd:"actions-end"};var b={actionsStart:"actions-start",contentStart:"content-start",contentEnd:"content-end",actionsEnd:"actions-end"};var y="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.container{-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex:1 1 0%;flex:1 1 0%;background-color:var(--calcite-ui-foreground-1);font-family:var(--calcite-sans-family)}.container *{-webkit-box-sizing:border-box;box-sizing:border-box}.nested-container{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;background-color:var(--calcite-ui-foreground-1)}.content-container{display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-align:stretch;align-items:stretch;padding:0px;color:var(--calcite-ui-text-2);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}.content-container--button{cursor:pointer;border-style:none;background-color:var(--calcite-ui-foreground-1);outline-offset:0;outline-color:transparent;-webkit-transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;text-align:initial}.content-container--button:hover{background-color:var(--calcite-ui-foreground-2)}.content-container--button:hover .label,.content-container--button:hover .description{color:var(--calcite-ui-text-1)}.content-container--button:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}.content{display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;padding-left:0.75rem;padding-right:0.75rem;padding-top:0.5rem;padding-bottom:0.5rem;font-size:var(--calcite-font-size--2);line-height:1.375}.label,.description{font-family:var(--calcite-sans-family);font-size:var(--calcite-font-size--2);font-weight:var(--calcite-font-weight-normal);word-wrap:break-word;word-break:break-word}.label:only-child,.description:only-child{margin:0px;padding-top:0.25rem;padding-bottom:0.25rem}.label{color:var(--calcite-ui-text-1)}.description{margin-top:0.125rem;color:var(--calcite-ui-text-3)}.content-start,.content-end{pointer-events:none;-ms-flex:0 1 auto;flex:0 1 auto}.actions-start,.actions-end,.content-start,.content-end{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.content-start ::slotted(calcite-icon),.content-end ::slotted(calcite-icon){-ms-flex-item-align:center;align-self:center;padding-left:0.75rem;padding-right:0.75rem}.actions-start ::slotted(calcite-action),.actions-end ::slotted(calcite-action){-ms-flex-item-align:stretch;align-self:stretch;color:inherit}::slotted(calcite-list-item-group),::slotted(calcite-list-item){padding-left:0.5rem}";var w=t("calcite_list_item",function(){function t(t){n(this,t);this.nonInteractive=false;this.disabled=false}t.prototype.componentDidRender=function(){o(this)};t.prototype.connectedCallback=function(){c(this)};t.prototype.disconnectedCallback=function(){s(this)};t.prototype.setFocus=function(){return __awaiter(this,void 0,void 0,(function(){var t;return __generator(this,(function(n){(t=this.focusEl)===null||t===void 0?void 0:t.focus();return[2]}))}))};t.prototype.renderActionsStart=function(){var t=this.el;return r(t,b.actionsStart)?a("div",{class:p.actionsStart},a("slot",{name:b.actionsStart})):null};t.prototype.renderActionsEnd=function(){var t=this.el;return r(t,b.actionsEnd)?a("div",{class:p.actionsEnd},a("slot",{name:b.actionsEnd})):null};t.prototype.renderContentStart=function(){var t=this.el;return r(t,b.contentStart)?a("div",{class:p.contentStart},a("slot",{name:b.contentStart})):null};t.prototype.renderContentEnd=function(){var t=this.el;return r(t,b.contentEnd)?a("div",{class:p.contentEnd},a("slot",{name:b.contentEnd})):null};t.prototype.renderContent=function(){var t=this,n=t.label,e=t.description;return!!n||!!e?a("div",{class:p.content},n?a("div",{class:p.label},n):null,e?a("div",{class:p.description},e):null):null};t.prototype.renderContentContainer=function(){var t;var n=this;var e=this,i=e.disabled,o=e.nonInteractive;var r=[this.renderContentStart(),this.renderContent(),this.renderContentEnd()];return!o?a("button",{class:(t={},t[p.contentContainer]=true,t[p.contentContainerButton]=true,t),disabled:i,ref:function(t){return n.focusEl=t}},r):a("div",{class:p.contentContainer,ref:function(){return n.focusEl=null}},r)};t.prototype.render=function(){return a(e,{role:"listitem"},a("div",{class:p.container},this.renderActionsStart(),this.renderContentContainer(),this.renderActionsEnd()),a("div",{class:p.nestedContainer},a("slot",null)))};Object.defineProperty(t.prototype,"el",{get:function(){return i(this)},enumerable:false,configurable:true});return t}());w.style=y;var v={heading:"heading",container:"container"};var h=3;var x="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}.heading{margin:0px;display:-ms-flexbox;display:flex;-ms-flex:1 1 0%;flex:1 1 0%;background-color:var(--calcite-ui-foreground-2);padding:0.75rem;font-family:var(--calcite-sans-family);font-size:var(--calcite-font-size--1);font-weight:var(--calcite-font-weight-bold);color:var(--calcite-ui-text-2)}.container{display:-ms-flexbox;display:flex;width:100%;-ms-flex-direction:column;flex-direction:column;background-color:var(--calcite-ui-foreground-1)}::slotted(calcite-list-item-group){padding-left:0.5rem}";var k=t("calcite_list_item_group",function(){function t(t){n(this,t)}t.prototype.render=function(){var t;var n=this,i=n.el,o=n.heading,r=n.headingLevel;var c=(t=i.closest("calcite-list, calcite-list-item-group"))===null||t===void 0?void 0:t.headingLevel;var s=c?m(c+1):null;var d=r||s||h;return a(e,null,o?a(l,{class:v.heading,level:d},o):null,a("div",{class:v.container,role:"group"},a("slot",null)))};Object.defineProperty(t.prototype,"el",{get:function(){return i(this)},enumerable:false,configurable:true});return t}());k.style=x}}}));
@@ -1,5 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(r,t,e,n){function o(r){return r instanceof e?r:new e((function(t){t(r)}))}return new(e||(e=Promise))((function(e,i){function u(r){try{l(n.next(r))}catch(r){i(r)}}function a(r){try{l(n["throw"](r))}catch(r){i(r)}}function l(r){r.done?e(r.value):o(r.value).then(u,a)}l((n=n.apply(r,t||[])).next())}))};var __generator=this&&this.__generator||function(r,t){var e={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},n,o,i,u;return u={next:a(0),throw:a(1),return:a(2)},typeof Symbol==="function"&&(u[Symbol.iterator]=function(){return this}),u;function a(r){return function(t){return l([r,t])}}function l(u){if(n)throw new TypeError("Generator is already executing.");while(e)try{if(n=1,o&&(i=u[0]&2?o["return"]:u[0]?o["throw"]||((i=o["return"])&&i.call(o),0):o.next)&&!(i=i.call(o,u[1])).done)return i;if(o=0,i)u=[u[0]&2,i.value];switch(u[0]){case 0:case 1:i=u;break;case 4:e.label++;return{value:u[1],done:false};case 5:e.label++;o=u[1];u=[0];continue;case 7:u=e.ops.pop();e.trys.pop();continue;default:if(!(i=e.trys,i=i.length>0&&i[i.length-1])&&(u[0]===6||u[0]===2)){e=0;continue}if(u[0]===3&&(!i||u[1]>i[0]&&u[1]<i[3])){e.label=u[1];break}if(u[0]===6&&e.label<i[1]){e.label=i[1];i=u;break}if(i&&e.label<i[2]){e.label=i[2];e.ops.push(u);break}if(i[2])e.ops.pop();e.trys.pop();continue}u=t.call(r,e)}catch(r){u=[6,r];o=0}finally{n=i=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(r,t,e){if(e||arguments.length===2)for(var n=0,o=t.length,i;n<o;n++){if(i||!(n in t)){if(!i)i=Array.prototype.slice.call(t,0,n);i[n]=t[n]}}return r.concat(i||Array.prototype.slice.call(t))};
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-e020662f.system.js"],(function(r){"use strict";var t;return{setters:[function(r){t=r.g}],execute:function(){r({a:f,b:c,c:p,d:s,e:a,f:g,g:_,h:h,i:m,j:T,k:k,n:l,q:y,s:q});var e="calcite-theme-auto";var n="calcite-theme-dark";var o="calcite-theme-light";var i=r("C",{autoTheme:e,darkTheme:n,lightTheme:o,rtl:"calcite--rtl"});var u=r("T",{loading:"Loading"});function a(r){if(!r){return""}return r.id=r.id||"".concat(r.tagName.toLowerCase(),"-").concat(t())}function l(r){return Array.isArray(r)?r:Array.from(r)}function c(r){var t=p(r,".".concat(i.darkTheme,", .").concat(i.lightTheme));return(t===null||t===void 0?void 0:t.classList.contains("calcite-theme-dark"))?"dark":"light"}function f(r){var t="dir";var e="[".concat(t,"]");var n=p(r,e);return n?n.getAttribute(t):"ltr"}function s(r,t,e){var n="[".concat(t,"]");var o=r.closest(n);return o?o.getAttribute(t):e}function d(r){return r.getRootNode()}function v(r){return r.host||null}function h(r,t){function e(r,n){if(!r){return n}if(r.assignedSlot){r=r.assignedSlot}var o=d(r);var i=Array.from(o.querySelectorAll(t));var u=i.filter((function(r){return!n.includes(r)}));n=__spreadArray(__spreadArray([],n,true),u,true);var a=v(o);return a?e(a,n):n}return e(r,[])}function y(r,t){var e=t.selector,n=t.id;function o(r){if(!r){return null}if(r.assignedSlot){r=r.assignedSlot}var t=d(r);var i=n?t.getElementById(n):e?t.querySelector(e):null;var u=v(t);return i?i:u?o(u):null}return o(r)}function p(r,t){function e(r){return r?r.closest(t)||e(v(d(r))):null}return e(r)}function m(r){return typeof(r===null||r===void 0?void 0:r.setFocus)==="function"}function g(r){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){if(!r){return[2]}return[2,m(r)?r.setFocus():r.focus()]}))}))}var A=":not([slot])";function _(r,t,e){if(t&&!Array.isArray(t)&&typeof t!=="string"){e=t;t=null}var n=t?Array.isArray(t)?t.map((function(r){return'[slot="'.concat(r,'"]')})).join(","):'[slot="'.concat(t,'"]'):A;if(e===null||e===void 0?void 0:e.all){return w(r,n,e)}return S(r,n,e)}function b(r,t){return r?Array.from(r.children||[]).filter((function(r){return r===null||r===void 0?void 0:r.matches(t)})):[]}function w(r,t,e){var n=t===A?b(r,A):Array.from(r.querySelectorAll(t));n=e&&e.direct===false?n:n.filter((function(t){return t.parentElement===r}));n=(e===null||e===void 0?void 0:e.matches)?n.filter((function(r){return r===null||r===void 0?void 0:r.matches(e.matches)})):n;var o=e===null||e===void 0?void 0:e.selector;return o?n.map((function(r){return Array.from(r.querySelectorAll(o))})).reduce((function(r,t){return __spreadArray(__spreadArray([],r,true),t,true)}),[]).filter((function(r){return!!r})):n}function S(r,t,e){var n=t===A?b(r,A)[0]||null:r.querySelector(t);n=e&&e.direct===false?n:(n===null||n===void 0?void 0:n.parentElement)===r?n:null;n=(e===null||e===void 0?void 0:e.matches)?(n===null||n===void 0?void 0:n.matches(e.matches))?n:null:n;var o=e===null||e===void 0?void 0:e.selector;return o?n===null||n===void 0?void 0:n.querySelector(o):n}function k(r,t){return Array.from(r.children).filter((function(r){return r.matches(t)}))}function q(r,t,e){if(typeof t==="string"&&t!==""){return t}else if(t===""){return r[e]}}function T(r,t){return!(t.left>r.right||t.right<r.left||t.top>r.bottom||t.bottom<r.top)}}}}));
@@ -1,5 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(t,e,i,n){function a(t){return t instanceof i?t:new i((function(e){e(t)}))}return new(i||(i=Promise))((function(i,o){function r(t){try{c(n.next(t))}catch(t){o(t)}}function s(t){try{c(n["throw"](t))}catch(t){o(t)}}function c(t){t.done?i(t.value):a(t.value).then(r,s)}c((n=n.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var i={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},n,a,o,r;return r={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(r[Symbol.iterator]=function(){return this}),r;function s(t){return function(e){return c([t,e])}}function c(r){if(n)throw new TypeError("Generator is already executing.");while(i)try{if(n=1,a&&(o=r[0]&2?a["return"]:r[0]?a["throw"]||((o=a["return"])&&o.call(a),0):a.next)&&!(o=o.call(a,r[1])).done)return o;if(a=0,o)r=[r[0]&2,o.value];switch(r[0]){case 0:case 1:o=r;break;case 4:i.label++;return{value:r[1],done:false};case 5:i.label++;a=r[1];r=[0];continue;case 7:r=i.ops.pop();i.trys.pop();continue;default:if(!(o=i.trys,o=o.length>0&&o[o.length-1])&&(r[0]===6||r[0]===2)){i=0;continue}if(r[0]===3&&(!o||r[1]>o[0]&&r[1]<o[3])){i.label=r[1];break}if(r[0]===6&&i.label<o[1]){i.label=o[1];o=r;break}if(o&&i.label<o[2]){i.label=o[2];i.ops.push(r);break}if(o[2])i.ops.pop();i.trys.pop();continue}r=e.call(t,i)}catch(t){r=[6,t];a=0}finally{n=o=0}if(r[0]&5)throw r[1];return{value:r[0]?r[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-65dbbfb5.system.js","./p-ec9bab33.system.js","./p-f09e27b0.system.js","./p-ac4aec20.system.js","./p-3119ffce.system.js","./p-e020662f.system.js"],(function(t){"use strict";var e,i,n,a,o,r,s,c,l,p,d,m,f,u,h;return{setters:[function(t){e=t.r;i=t.c;n=t.h;a=t.H;o=t.g},function(t){r=t.g;s=t.f;c=t.d},function(t){l=t.d;p=t.C;d=t.u;m=t.c;f=t.p},function(t){u=t.c},function(t){h=t.u},function(){}],execute:function(){var w={dropdownTrigger:"dropdown-trigger"};var b="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:-ms-inline-flexbox;display:inline-flex;-ms-flex:0 1 auto;flex:0 1 auto}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host .calcite-dropdown-wrapper{display:block;position:absolute;z-index:900;-webkit-transform:scale(0);transform:scale(0);visibility:hidden;pointer-events:none}.calcite-dropdown-wrapper .calcite-popper-anim{position:relative;z-index:1;-webkit-transition:var(--calcite-popper-transition);transition:var(--calcite-popper-transition);visibility:hidden;-webkit-transition-property:visibility, opacity, -webkit-transform;transition-property:visibility, opacity, -webkit-transform;transition-property:transform, visibility, opacity;transition-property:transform, visibility, opacity, -webkit-transform;opacity:0;-webkit-box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);border-radius:0.25rem}.calcite-dropdown-wrapper[data-popper-placement^=bottom] .calcite-popper-anim{-webkit-transform:translateY(-5px);transform:translateY(-5px)}.calcite-dropdown-wrapper[data-popper-placement^=top] .calcite-popper-anim{-webkit-transform:translateY(5px);transform:translateY(5px)}.calcite-dropdown-wrapper[data-popper-placement^=left] .calcite-popper-anim{-webkit-transform:translateX(5px);transform:translateX(5px)}.calcite-dropdown-wrapper[data-popper-placement^=right] .calcite-popper-anim{-webkit-transform:translateX(-5px);transform:translateX(-5px)}.calcite-dropdown-wrapper[data-popper-placement] .calcite-popper-anim--active{opacity:1;visibility:visible;-webkit-transform:translate(0);transform:translate(0)}:host([active]) .calcite-dropdown-wrapper{pointer-events:initial;visibility:visible}:host .calcite-dropdown-content{width:auto;overflow-y:auto;overflow-x:hidden;background-color:var(--calcite-ui-foreground-1);max-height:90vh;width:var(--calcite-dropdown-width)}.calcite-dropdown-trigger-container{position:relative;display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto}:host([width=s]){--calcite-dropdown-width:12rem}:host([width=m]){--calcite-dropdown-width:14rem}:host([width=l]){--calcite-dropdown-width:16rem}";var v=t("calcite_dropdown",function(){function t(t){var n=this;e(this,t);this.calciteDropdownSelect=i(this,"calciteDropdownSelect",7);this.calciteDropdownOpen=i(this,"calciteDropdownOpen",7);this.calciteDropdownClose=i(this,"calciteDropdownClose",7);this.active=false;this.disableCloseOnSelect=false;this.disabled=false;this.maxItems=0;this.overlayPositioning="absolute";this.placement=l;this.scale="m";this.selectedItems=[];this.type="click";this.width="m";this.items=[];this.activeTransitionProp="visibility";this.mutationObserver=u("mutation",(function(){return n.updateItems()}));this.resizeObserver=u("resize",(function(){return n.setMaxScrollerHeight()}));this.updateItems=function(){n.updateSelectedItems();n.triggers=r(n.el,"dropdown-trigger",{all:true});n.items=Array.from(n.el.querySelectorAll("calcite-dropdown-item"));n.reposition()};this.setMaxScrollerHeight=function(){var t=n,e=t.active,i=t.scrollerEl;if(!i||!e){return}n.reposition();var a=n.getMaxScrollerHeight();i.style.maxHeight=a>0?"".concat(a,"px"):"";n.reposition()};this.setScrollerEl=function(t){n.resizeObserver.observe(t);n.scrollerEl=t};this.transitionEnd=function(t){if(t.propertyName===n.activeTransitionProp){n.active?n.calciteDropdownOpen.emit():n.calciteDropdownClose.emit()}};this.setReferenceEl=function(t){n.referenceEl=t};this.setMenuEl=function(t){n.menuEl=t};this.keyDownHandler=function(t){var e=t.target;if(e!==n.referenceEl){return}var i=t.key;if(n.active&&(i==="Escape"||t.shiftKey&&i==="Tab")){n.closeCalciteDropdown();return}switch(i){case" ":case"Enter":n.openCalciteDropdown();break;case"Escape":n.closeCalciteDropdown();break}};this.focusOnFirstActiveOrFirstItem=function(){n.getFocusableElement(n.items.find((function(t){return t.active}))||n.items[0])};this.toggleOpenEnd=function(){n.focusOnFirstActiveOrFirstItem();n.el.removeEventListener("calciteDropdownOpen",n.toggleOpenEnd)};this.openCalciteDropdown=function(){n.active=!n.active;if(n.active){n.el.addEventListener("calciteDropdownOpen",n.toggleOpenEnd)}}}t.prototype.activeHandler=function(){if(!this.disabled){this.reposition();return}this.active=false};t.prototype.handleDisabledChange=function(t){if(!t){this.active=false}};t.prototype.maxItemsHandler=function(){this.setMaxScrollerHeight()};t.prototype.placementHandler=function(){this.reposition()};t.prototype.connectedCallback=function(){var t;(t=this.mutationObserver)===null||t===void 0?void 0:t.observe(this.el,{childList:true,subtree:true});this.createPopper();this.updateItems()};t.prototype.componentDidLoad=function(){this.reposition()};t.prototype.componentDidRender=function(){h(this)};t.prototype.disconnectedCallback=function(){var t,e;(t=this.mutationObserver)===null||t===void 0?void 0:t.disconnect();(e=this.resizeObserver)===null||e===void 0?void 0:e.disconnect();this.destroyPopper()};t.prototype.render=function(){var t;var e=this.active;return n(a,null,n("div",{class:"calcite-dropdown-trigger-container",onClick:this.openCalciteDropdown,onKeyDown:this.keyDownHandler,ref:this.setReferenceEl},n("slot",{"aria-expanded":e.toString(),"aria-haspopup":"true",name:w.dropdownTrigger})),n("div",{"aria-hidden":(!e).toString(),class:"calcite-dropdown-wrapper",ref:this.setMenuEl},n("div",{class:(t={},t["calcite-dropdown-content"]=true,t[p.animation]=true,t[p.animationActive]=e,t),onTransitionEnd:this.transitionEnd,ref:this.setScrollerEl},n("div",{hidden:!this.active},n("slot",null)))))};t.prototype.reposition=function(){return __awaiter(this,void 0,void 0,(function(){var t,e,i,n,a,o;return __generator(this,(function(r){switch(r.label){case 0:t=this,e=t.popper,i=t.menuEl,n=t.placement;a=this.getModifiers();if(!e)return[3,2];return[4,d({el:i,modifiers:a,placement:n,popper:e})];case 1:o=r.sent();return[3,3];case 2:o=this.createPopper();r.label=3;case 3:o;return[2]}}))}))};t.prototype.closeCalciteDropdownOnClick=function(t){if(!this.active||t.composedPath().includes(this.el)){return}this.closeCalciteDropdown(false)};t.prototype.closeCalciteDropdownOnEvent=function(){this.closeCalciteDropdown()};t.prototype.closeCalciteDropdownOnOpenEvent=function(t){if(t.composedPath().includes(this.el)){return}this.active=false};t.prototype.mouseEnterHandler=function(){if(this.type==="hover"){this.openCalciteDropdown()}};t.prototype.mouseLeaveHandler=function(){if(this.type==="hover"){this.closeCalciteDropdown()}};t.prototype.calciteDropdownItemKeyEvent=function(t){var e=t.detail.keyboardEvent;var i=e.target;var n=i.nodeName!=="A"?i:i.parentNode;var a=this.itemIndex(n)===0;var o=this.itemIndex(n)===this.items.length-1;switch(e.key){case"Tab":if(o&&!e.shiftKey){this.closeCalciteDropdown()}else if(a&&e.shiftKey){this.closeCalciteDropdown()}else if(e.shiftKey){this.focusPrevItem(n)}else{this.focusNextItem(n)}break;case"ArrowDown":this.focusNextItem(n);break;case"ArrowUp":this.focusPrevItem(n);break;case"Home":this.focusFirstItem();break;case"End":this.focusLastItem();break}t.stopPropagation()};t.prototype.handleItemSelect=function(t){this.updateSelectedItems();t.stopPropagation();this.calciteDropdownSelect.emit();if(!this.disableCloseOnSelect||t.detail.requestedDropdownGroup.selectionMode==="none"){this.closeCalciteDropdown()}};t.prototype.getModifiers=function(){var t={name:"flip",enabled:true};t.options={fallbackPlacements:this.flipPlacements||f};var e={name:"eventListeners",enabled:this.active};return[t,e]};t.prototype.createPopper=function(){this.destroyPopper();var t=this,e=t.menuEl,i=t.referenceEl,n=t.placement,a=t.overlayPositioning;var o=this.getModifiers();this.popper=m({el:e,modifiers:o,overlayPositioning:a,placement:n,referenceEl:i})};t.prototype.destroyPopper=function(){var t=this.popper;if(t){t.destroy()}this.popper=null};t.prototype.updateSelectedItems=function(){var t=Array.from(this.el.querySelectorAll("calcite-dropdown-item"));this.selectedItems=t.filter((function(t){return t.active}))};t.prototype.getMaxScrollerHeight=function(){var t=Array.from(this.el.querySelectorAll("calcite-dropdown-group"));var e=this.maxItems;var i=0;var n=0;var a;t.forEach((function(t){if(e>0&&i<e){Array.from(t.children).forEach((function(t,o){if(o===0){if(isNaN(a)){a=t.offsetTop}n+=a}if(i<e){n+=t.offsetHeight;i+=1}}))}}));return n};t.prototype.closeCalciteDropdown=function(t){if(t===void 0){t=true}this.active=false;if(t){s(this.triggers[0])}};t.prototype.focusFirstItem=function(){var t=this.items[0];this.getFocusableElement(t)};t.prototype.focusLastItem=function(){var t=this.items[this.items.length-1];this.getFocusableElement(t)};t.prototype.focusNextItem=function(t){var e=this.itemIndex(t);var i=this.items[e+1]||this.items[0];this.getFocusableElement(i)};t.prototype.focusPrevItem=function(t){var e=this.itemIndex(t);var i=this.items[e-1]||this.items[this.items.length-1];this.getFocusableElement(i)};t.prototype.itemIndex=function(t){return this.items.indexOf(t)};t.prototype.getFocusableElement=function(t){if(!t){return}var e=t.attributes.isLink?t.shadowRoot.querySelector("a"):t;s(e)};Object.defineProperty(t.prototype,"el",{get:function(){return o(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{active:["activeHandler"],disabled:["handleDisabledChange"],maxItems:["maxItemsHandler"],placement:["placementHandler"]}},enumerable:false,configurable:true});return t}());v.style=b;var g={containerSmall:"container--s",containerMedium:"container--m",containerLarge:"container--l"};var y="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:block}.container--s{font-size:var(--calcite-font-size--2);line-height:1rem}.container--s .dropdown-title{padding:0.5rem}.container--m{font-size:var(--calcite-font-size--1);line-height:1rem}.container--m .dropdown-title{padding:0.75rem}.container--l{font-size:var(--calcite-font-size-0);line-height:1.25rem}.container--l .dropdown-title{padding:1rem}.dropdown-title{margin-bottom:-1px;display:block;cursor:default;overflow-wrap:break-word;border-width:0px;border-bottom-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);font-weight:var(--calcite-font-weight-bold);color:var(--calcite-ui-text-2)}.dropdown-separator{display:block;height:1px;background-color:var(--calcite-ui-border-3)}";var k=t("calcite_dropdown_group",function(){function t(t){e(this,t);this.calciteDropdownItemChange=i(this,"calciteDropdownItemChange",7);this.selectionMode="single"}t.prototype.componentWillLoad=function(){this.groupPosition=this.getGroupPosition()};t.prototype.render=function(){var t;var e=this.scale||c(this.el,"scale","m");var i=this.groupTitle?n("span",{"aria-hidden":"true",class:"dropdown-title"},this.groupTitle):null;var o=this.groupPosition>0?n("div",{class:"dropdown-separator",role:"separator"}):null;return n(a,{role:"menu"},n("div",{class:(t={container:true},t[g.containerSmall]=e==="s",t[g.containerMedium]=e==="m",t[g.containerLarge]=e==="l",t),title:this.groupTitle},o,i,n("slot",null)))};t.prototype.updateActiveItemOnChange=function(t){this.requestedDropdownGroup=t.detail.requestedDropdownGroup;this.requestedDropdownItem=t.detail.requestedDropdownItem;this.calciteDropdownItemChange.emit({requestedDropdownGroup:this.requestedDropdownGroup,requestedDropdownItem:this.requestedDropdownItem})};t.prototype.getGroupPosition=function(){return Array.prototype.indexOf.call(this.el.parentElement.querySelectorAll("calcite-dropdown-group"),this.el)};Object.defineProperty(t.prototype,"el",{get:function(){return o(this)},enumerable:false,configurable:true});return t}());k.style=y;var D={containerLink:"container--link",containerSmall:"container--s",containerMedium:"container--m",containerLarge:"container--l",containerMulti:"container--multi-selection",containerSingle:"container--single-selection",containerNone:"container--none-selection"};var x="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}.container--s{padding-top:0.25rem;padding-bottom:0.25rem;font-size:var(--calcite-font-size--2);line-height:1rem;-webkit-padding-end:0.5rem;padding-inline-end:0.5rem;-webkit-padding-start:1.5rem;padding-inline-start:1.5rem}.container--m{padding-top:0.5rem;padding-bottom:0.5rem;font-size:var(--calcite-font-size--1);line-height:1rem;-webkit-padding-end:0.75rem;padding-inline-end:0.75rem;-webkit-padding-start:2rem;padding-inline-start:2rem}.container--l{padding-top:0.75rem;padding-bottom:0.75rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;-webkit-padding-end:1rem;padding-inline-end:1rem;-webkit-padding-start:2.5rem;padding-inline-start:2.5rem}.container--s.container--none-selection{-webkit-padding-start:0.25rem;padding-inline-start:0.25rem}.container--s.container--none-selection .dropdown-link{-webkit-padding-start:0px;padding-inline-start:0px}.container--m.container--none-selection{-webkit-padding-start:0.5rem;padding-inline-start:0.5rem}.container--m.container--none-selection .dropdown-link{-webkit-padding-start:0px;padding-inline-start:0px}.container--l.container--none-selection{-webkit-padding-start:0.75rem;padding-inline-start:0.75rem}.container--l.container--none-selection .dropdown-link{-webkit-padding-start:0px;padding-inline-start:0px}:host{position:relative;display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center}.container{position:relative;display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;cursor:pointer;-ms-flex-align:center;align-items:center;color:var(--calcite-ui-text-3);-webkit-text-decoration-line:none;text-decoration-line:none;outline:2px solid transparent;outline-offset:2px;-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)}.dropdown-item-content{-ms-flex:1 1 auto;flex:1 1 auto;-webkit-padding-end:auto;padding-inline-end:auto;-webkit-padding-start:0.25rem;padding-inline-start:0.25rem}:host,.container--link a{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}:host(:focus){outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}.container--link{padding:0px}.container--link a{position:relative;display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;cursor:pointer;-ms-flex-align:center;align-items:center;color:var(--calcite-ui-text-3);-webkit-text-decoration-line:none;text-decoration-line:none;outline:2px solid transparent;outline-offset:2px;-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)}.container--s .dropdown-link{padding-top:0.25rem;padding-bottom:0.25rem;font-size:var(--calcite-font-size--2);line-height:1rem;-webkit-padding-end:0.5rem;padding-inline-end:0.5rem;-webkit-padding-start:1.5rem;padding-inline-start:1.5rem}.container--m .dropdown-link{padding-top:0.5rem;padding-bottom:0.5rem;font-size:var(--calcite-font-size--1);line-height:1rem;-webkit-padding-end:0.75rem;padding-inline-end:0.75rem;-webkit-padding-start:2rem;padding-inline-start:2rem}.container--l .dropdown-link{padding-top:0.75rem;padding-bottom:0.75rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;-webkit-padding-end:1rem;padding-inline-end:1rem;-webkit-padding-start:2.5rem;padding-inline-start:2.5rem}:host(:hover) .container,:host(:active) .container{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1);-webkit-text-decoration-line:none;text-decoration-line:none}:host(:hover) .container--link .dropdown-link,:host(:active) .container--link .dropdown-link{color:var(--calcite-ui-text-1)}:host(:focus) .container{color:var(--calcite-ui-text-1);-webkit-text-decoration-line:none;text-decoration-line:none}:host(:active) .container{background-color:var(--calcite-ui-foreground-3)}:host(:hover) .container:before,:host(:active) .container:before,:host(:focus) .container:before{opacity:1}:host([active]) .container:not(.container--none-selection),:host([active]) .container--link .dropdown-link{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1)}:host([active]) .container:not(.container--none-selection):before,:host([active]) .container--link .dropdown-link:before{opacity:1;color:var(--calcite-ui-brand)}:host([active]) .container:not(.container--none-selection) calcite-icon,:host([active]) .container--link .dropdown-link calcite-icon{color:var(--calcite-ui-brand)}.container--multi-selection:before,.container--none-selection:before{display:none}.container--s:before{inset-inline-start:0.5rem}.container--m:before{inset-inline-start:0.75rem}.container--l:before{inset-inline-start:1rem}.dropdown-item-icon{position:absolute;opacity:0;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transform:scale(0.9);transform:scale(0.9)}.container--s .dropdown-item-icon{inset-inline-start:0.25rem}.container--m .dropdown-item-icon{inset-inline-start:0.5rem}.container--l .dropdown-item-icon{inset-inline-start:0.75rem}:host(:hover) .dropdown-item-icon{color:var(--calcite-ui-border-1);opacity:1}:host([active]) .dropdown-item-icon{color:var(--calcite-ui-brand);opacity:1}.container--s .dropdown-item-icon-start{-webkit-margin-end:0.5rem;margin-inline-end:0.5rem;-webkit-margin-start:0.25rem;margin-inline-start:0.25rem}.container--s .dropdown-item-icon-end{-webkit-margin-start:0.5rem;margin-inline-start:0.5rem}.container--m .dropdown-item-icon-start{-webkit-margin-end:0.75rem;margin-inline-end:0.75rem;-webkit-margin-start:0.25rem;margin-inline-start:0.25rem}.container--m .dropdown-item-icon-end{-webkit-margin-start:0.75rem;margin-inline-start:0.75rem}.container--l .dropdown-item-icon-start{-webkit-margin-end:1rem;margin-inline-end:1rem;-webkit-margin-start:0.25rem;margin-inline-start:0.25rem}.container--l .dropdown-item-icon-end{-webkit-margin-start:1rem;margin-inline-start:1rem}";var I=t("calcite_dropdown_item",function(){function t(t){e(this,t);this.calciteDropdownItemSelect=i(this,"calciteDropdownItemSelect",7);this.calciteDropdownItemKeyEvent=i(this,"calciteDropdownItemKeyEvent",7);this.calciteDropdownCloseRequest=i(this,"calciteDropdownCloseRequest",7);this.active=false}t.prototype.setFocus=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.el.focus();return[2]}))}))};t.prototype.componentWillLoad=function(){this.initialize()};t.prototype.connectedCallback=function(){this.initialize()};t.prototype.render=function(){var t;var e=this;var i=c(this.el,"scale","m");var o=n("calcite-icon",{class:"dropdown-item-icon-start",flipRtl:this.iconFlipRtl==="start"||this.iconFlipRtl==="both",icon:this.iconStart,scale:"s"});var r=n("span",{class:"dropdown-item-content"},n("slot",null));var s=n("calcite-icon",{class:"dropdown-item-icon-end",flipRtl:this.iconFlipRtl==="end"||this.iconFlipRtl==="both",icon:this.iconEnd,scale:"s"});var l=this.iconStart&&this.iconEnd?[o,r,s]:this.iconStart?[o,n("slot",null)]:this.iconEnd?[r,s]:r;var p=!this.href?l:n("a",{"aria-label":this.label,class:"dropdown-link",href:this.href,ref:function(t){return e.childLink=t},rel:this.rel,target:this.target},l);var d=this.href?null:this.selectionMode==="single"?"menuitemradio":this.selectionMode==="multi"?"menuitemcheckbox":"menuitem";var m=this.selectionMode!=="none"?this.active.toString():null;return n(a,{"aria-checked":m,role:d,tabindex:"0"},n("div",{class:(t={container:true},t[D.containerLink]=!!this.href,t[D.containerSmall]=i==="s",t[D.containerMedium]=i==="m",t[D.containerLarge]=i==="l",t[D.containerMulti]=this.selectionMode==="multi",t[D.containerSingle]=this.selectionMode==="single",t[D.containerNone]=this.selectionMode==="none",t)},this.selectionMode!=="none"?n("calcite-icon",{class:"dropdown-item-icon",icon:this.selectionMode==="multi"?"check":"bullet-point",scale:"s"}):null,p))};t.prototype.onClick=function(){this.emitRequestedItem()};t.prototype.keyDownHandler=function(t){switch(t.key){case" ":this.emitRequestedItem();if(this.href){t.preventDefault();this.childLink.click()}break;case"Enter":this.emitRequestedItem();if(this.href){this.childLink.click()}break;case"Escape":this.calciteDropdownCloseRequest.emit();break;case"Tab":case"ArrowUp":case"ArrowDown":case"Home":case"End":this.calciteDropdownItemKeyEvent.emit({keyboardEvent:t});break}t.preventDefault()};t.prototype.updateActiveItemOnChange=function(t){var e=t.composedPath().includes(this.parentDropdownGroupEl);if(e){this.requestedDropdownGroup=t.detail.requestedDropdownGroup;this.requestedDropdownItem=t.detail.requestedDropdownItem;this.determineActiveItem()}};t.prototype.initialize=function(){this.selectionMode=c(this.el,"selection-mode","single");this.parentDropdownGroupEl=this.el.closest("calcite-dropdown-group");if(this.selectionMode==="none"){this.active=false}};t.prototype.determineActiveItem=function(){switch(this.selectionMode){case"multi":if(this.el===this.requestedDropdownItem){this.active=!this.active}break;case"single":if(this.el===this.requestedDropdownItem){this.active=true}else if(this.requestedDropdownGroup===this.parentDropdownGroupEl){this.active=false}break;case"none":this.active=false;break}};t.prototype.emitRequestedItem=function(){this.calciteDropdownItemSelect.emit({requestedDropdownItem:this.el,requestedDropdownGroup:this.parentDropdownGroupEl})};Object.defineProperty(t.prototype,"el",{get:function(){return o(this)},enumerable:false,configurable:true});return t}());I.style=x}}}));
@@ -1,5 +0,0 @@
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{a as r,b as t}from"./p-dd9f2e61.js";const n=["ar","bg","bs","ca","cs","da","de","de-CH","el","en","en-AU","en-CA","en-GB","es","es-MX","et","fi","fr","fr-CH","he","hi","hr","hu","id","it","it-CH","ja","ko","lt","lv","mk","nb","nl","pl","pt","pt-PT","ro","ru","sk","sl","sr","sv","th","tr","uk","vi","zh-CN","zh-HK","zh-TW"];function e(r){return new Intl.NumberFormat(r,{minimumFractionDigits:0,maximumFractionDigits:20})}function i(t,n){return r(t,(r=>{if(r){const t=s(n),e=u(n),i=r.split(""),a=i.lastIndexOf(e),c=i.map(((r,n)=>r===t||r===e&&n!==a?"":r)).reduce(((r,t)=>r+t)).replace(e,".");return isNaN(Number(c))?r:c}return r}))}function s(r){const t=e(r).formatToParts(1234567.8).find((r=>"group"===r.type)).value;return 0===t.trim().length?" ":t}function u(r){const t=e(r).formatToParts(1234567.8).find((r=>"decimal"===r.type)).value;return 0===t.trim().length?" ":t}function a(n,i,a=!1){return r(n,(r=>{if(r){const n=Number(t(r));return isNaN(n)?r:e(i).formatToParts(n).map((({type:r,value:t})=>{switch(r){case"group":return a?s(i):"";case"decimal":return u(i);default:return t}})).reduce(((r,t)=>r+t))}}))}export{n as a,i as d,u as g,a as l}
@@ -1,5 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(e,t,r,n){function a(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,i){function o(e){try{s(n.next(e))}catch(e){i(e)}}function f(e){try{s(n["throw"](e))}catch(e){i(e)}}function s(e){e.done?r(e.value):a(e.value).then(o,f)}s((n=n.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var r={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},n,a,i,o;return o={next:f(0),throw:f(1),return:f(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function f(e){return function(t){return s([e,t])}}function s(o){if(n)throw new TypeError("Generator is already executing.");while(r)try{if(n=1,a&&(i=o[0]&2?a["return"]:o[0]?a["throw"]||((i=a["return"])&&i.call(a),0):a.next)&&!(i=i.call(a,o[1])).done)return i;if(a=0,i)o=[o[0]&2,i.value];switch(o[0]){case 0:case 1:i=o;break;case 4:r.label++;return{value:o[1],done:false};case 5:r.label++;a=o[1];o=[0];continue;case 7:o=r.ops.pop();r.trys.pop();continue;default:if(!(i=r.trys,i=i.length>0&&i[i.length-1])&&(o[0]===6||o[0]===2)){r=0;continue}if(o[0]===3&&(!i||o[1]>i[0]&&o[1]<i[3])){r.label=o[1];break}if(o[0]===6&&r.label<i[1]){r.label=i[1];i=o;break}if(i&&r.label<i[2]){r.label=i[2];r.ops.push(o);break}if(i[2])r.ops.pop();r.trys.pop();continue}o=t.call(e,r)}catch(e){o=[6,e];a=0}finally{n=i=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-ec9bab33.system.js"],(function(e){"use strict";var t;return{setters:[function(e){t=e.a}],execute:function(){e({c:ct,u:vt});var r="top";var n="bottom";var a="right";var i="left";var o="auto";var f=[r,n,a,i];var s="start";var u="end";var c="clippingParents";var v="viewport";var l="popper";var p="reference";var d=f.reduce((function(e,t){return e.concat([t+"-"+s,t+"-"+u])}),[]);var h=[].concat(f,[o]).reduce((function(e,t){return e.concat([t,t+"-"+s,t+"-"+u])}),[]);var m="beforeRead";var g="read";var y="afterRead";var b="beforeMain";var w="main";var x="afterMain";var O="beforeWrite";var j="write";var E="afterWrite";var D=[m,g,y,b,w,x,O,j,E];function A(e){return e?(e.nodeName||"").toLowerCase():null}function k(e){if(e==null){return window}if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t?t.defaultView||window:window}return e}function M(e){var t=k(e).Element;return e instanceof t||e instanceof Element}function L(e){var t=k(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function P(e){if(typeof ShadowRoot==="undefined"){return false}var t=k(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function W(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var r=t.styles[e]||{};var n=t.attributes[e]||{};var a=t.elements[e];if(!L(a)||!A(a)){return}Object.assign(a.style,r);Object.keys(n).forEach((function(e){var t=n[e];if(t===false){a.removeAttribute(e)}else{a.setAttribute(e,t===true?"":t)}}))}))}function B(e){var t=e.state;var r={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};Object.assign(t.elements.popper.style,r.popper);t.styles=r;if(t.elements.arrow){Object.assign(t.elements.arrow.style,r.arrow)}return function(){Object.keys(t.elements).forEach((function(e){var n=t.elements[e];var a=t.attributes[e]||{};var i=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:r[e]);var o=i.reduce((function(e,t){e[t]="";return e}),{});if(!L(n)||!A(n)){return}Object.assign(n.style,o);Object.keys(a).forEach((function(e){n.removeAttribute(e)}))}))}}var H={name:"applyStyles",enabled:true,phase:"write",fn:W,effect:B,requires:["computeStyles"]};function R(e){return e.split("-")[0]}var S=Math.max;var T=Math.min;var _=Math.round;function C(e,t){if(t===void 0){t=false}var r=e.getBoundingClientRect();var n=1;var a=1;if(L(e)&&t){var i=e.offsetHeight;var o=e.offsetWidth;if(o>0){n=_(r.width)/o||1}if(i>0){a=_(r.height)/i||1}}return{width:r.width/n,height:r.height/a,top:r.top/a,right:r.right/n,bottom:r.bottom/a,left:r.left/n,x:r.left/n,y:r.top/a}}function q(e){var t=C(e);var r=e.offsetWidth;var n=e.offsetHeight;if(Math.abs(t.width-r)<=1){r=t.width}if(Math.abs(t.height-n)<=1){n=t.height}return{x:e.offsetLeft,y:e.offsetTop,width:r,height:n}}function V(e,t){var r=t.getRootNode&&t.getRootNode();if(e.contains(t)){return true}else if(r&&P(r)){var n=t;do{if(n&&e.isSameNode(n)){return true}n=n.parentNode||n.host}while(n)}return false}function N(e){return k(e).getComputedStyle(e)}function I(e){return["table","td","th"].indexOf(A(e))>=0}function F(e){return((M(e)?e.ownerDocument:e.document)||window.document).documentElement}function U(e){if(A(e)==="html"){return e}return e.assignedSlot||e.parentNode||(P(e)?e.host:null)||F(e)}function z(e){if(!L(e)||N(e).position==="fixed"){return null}return e.offsetParent}function X(e){var t=navigator.userAgent.toLowerCase().indexOf("firefox")!==-1;var r=navigator.userAgent.indexOf("Trident")!==-1;if(r&&L(e)){var n=N(e);if(n.position==="fixed"){return null}}var a=U(e);if(P(a)){a=a.host}while(L(a)&&["html","body"].indexOf(A(a))<0){var i=N(a);if(i.transform!=="none"||i.perspective!=="none"||i.contain==="paint"||["transform","perspective"].indexOf(i.willChange)!==-1||t&&i.willChange==="filter"||t&&i.filter&&i.filter!=="none"){return a}else{a=a.parentNode}}return null}function Y(e){var t=k(e);var r=z(e);while(r&&I(r)&&N(r).position==="static"){r=z(r)}if(r&&(A(r)==="html"||A(r)==="body"&&N(r).position==="static")){return t}return r||X(e)||t}function G(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function J(e,t,r){return S(e,T(t,r))}function K(e,t,r){var n=J(e,t,r);return n>r?r:n}function Q(){return{top:0,right:0,bottom:0,left:0}}function Z(e){return Object.assign({},Q(),e)}function $(e,t){return t.reduce((function(t,r){t[r]=e;return t}),{})}var ee=function e(t,r){t=typeof t==="function"?t(Object.assign({},r.rects,{placement:r.placement})):t;return Z(typeof t!=="number"?t:$(t,f))};function te(e){var t;var o=e.state,f=e.name,s=e.options;var u=o.elements.arrow;var c=o.modifiersData.popperOffsets;var v=R(o.placement);var l=G(v);var p=[i,a].indexOf(v)>=0;var d=p?"height":"width";if(!u||!c){return}var h=ee(s.padding,o);var m=q(u);var g=l==="y"?r:i;var y=l==="y"?n:a;var b=o.rects.reference[d]+o.rects.reference[l]-c[l]-o.rects.popper[d];var w=c[l]-o.rects.reference[l];var x=Y(u);var O=x?l==="y"?x.clientHeight||0:x.clientWidth||0:0;var j=b/2-w/2;var E=h[g];var D=O-m[d]-h[y];var A=O/2-m[d]/2+j;var k=J(E,A,D);var M=l;o.modifiersData[f]=(t={},t[M]=k,t.centerOffset=k-A,t)}function re(e){var t=e.state,r=e.options;var n=r.element,a=n===void 0?"[data-popper-arrow]":n;if(a==null){return}if(typeof a==="string"){a=t.elements.popper.querySelector(a);if(!a){return}}if(!V(t.elements.popper,a)){return}t.elements.arrow=a}var ne={name:"arrow",enabled:true,phase:"main",fn:te,effect:re,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function ae(e){return e.split("-")[1]}var ie={top:"auto",right:"auto",bottom:"auto",left:"auto"};function oe(e){var t=e.x,r=e.y;var n=window;var a=n.devicePixelRatio||1;return{x:_(t*a)/a||0,y:_(r*a)/a||0}}function fe(e){var t;var o=e.popper,f=e.popperRect,s=e.placement,c=e.variation,v=e.offsets,l=e.position,p=e.gpuAcceleration,d=e.adaptive,h=e.roundOffsets,m=e.isFixed;var g=v.x,y=g===void 0?0:g,b=v.y,w=b===void 0?0:b;var x=typeof h==="function"?h({x:y,y:w}):{x:y,y:w};y=x.x;w=x.y;var O=v.hasOwnProperty("x");var j=v.hasOwnProperty("y");var E=i;var D=r;var A=window;if(d){var M=Y(o);var L="clientHeight";var P="clientWidth";if(M===k(o)){M=F(o);if(N(M).position!=="static"&&l==="absolute"){L="scrollHeight";P="scrollWidth"}}M=M;if(s===r||(s===i||s===a)&&c===u){D=n;var W=m&&M===A&&A.visualViewport?A.visualViewport.height:M[L];w-=W-f.height;w*=p?1:-1}if(s===i||(s===r||s===n)&&c===u){E=a;var B=m&&M===A&&A.visualViewport?A.visualViewport.width:M[P];y-=B-f.width;y*=p?1:-1}}var H=Object.assign({position:l},d&&ie);var R=h===true?oe({x:y,y:w}):{x:y,y:w};y=R.x;w=R.y;if(p){var S;return Object.assign({},H,(S={},S[D]=j?"0":"",S[E]=O?"0":"",S.transform=(A.devicePixelRatio||1)<=1?"translate("+y+"px, "+w+"px)":"translate3d("+y+"px, "+w+"px, 0)",S))}return Object.assign({},H,(t={},t[D]=j?w+"px":"",t[E]=O?y+"px":"",t.transform="",t))}function se(e){var t=e.state,r=e.options;var n=r.gpuAcceleration,a=n===void 0?true:n,i=r.adaptive,o=i===void 0?true:i,f=r.roundOffsets,s=f===void 0?true:f;var u={placement:R(t.placement),variation:ae(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:a,isFixed:t.options.strategy==="fixed"};if(t.modifiersData.popperOffsets!=null){t.styles.popper=Object.assign({},t.styles.popper,fe(Object.assign({},u,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:o,roundOffsets:s})))}if(t.modifiersData.arrow!=null){t.styles.arrow=Object.assign({},t.styles.arrow,fe(Object.assign({},u,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:false,roundOffsets:s})))}t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}var ue={name:"computeStyles",enabled:true,phase:"beforeWrite",fn:se,data:{}};var ce={passive:true};function ve(e){var t=e.state,r=e.instance,n=e.options;var a=n.scroll,i=a===void 0?true:a,o=n.resize,f=o===void 0?true:o;var s=k(t.elements.popper);var u=[].concat(t.scrollParents.reference,t.scrollParents.popper);if(i){u.forEach((function(e){e.addEventListener("scroll",r.update,ce)}))}if(f){s.addEventListener("resize",r.update,ce)}return function(){if(i){u.forEach((function(e){e.removeEventListener("scroll",r.update,ce)}))}if(f){s.removeEventListener("resize",r.update,ce)}}}var le={name:"eventListeners",enabled:true,phase:"write",fn:function e(){},effect:ve,data:{}};var pe={left:"right",right:"left",bottom:"top",top:"bottom"};function de(e){return e.replace(/left|right|bottom|top/g,(function(e){return pe[e]}))}var he={start:"end",end:"start"};function me(e){return e.replace(/start|end/g,(function(e){return he[e]}))}function ge(e){var t=k(e);var r=t.pageXOffset;var n=t.pageYOffset;return{scrollLeft:r,scrollTop:n}}function ye(e){return C(F(e)).left+ge(e).scrollLeft}function be(e){var t=k(e);var r=F(e);var n=t.visualViewport;var a=r.clientWidth;var i=r.clientHeight;var o=0;var f=0;if(n){a=n.width;i=n.height;if(!/^((?!chrome|android).)*safari/i.test(navigator.userAgent)){o=n.offsetLeft;f=n.offsetTop}}return{width:a,height:i,x:o+ye(e),y:f}}function we(e){var t;var r=F(e);var n=ge(e);var a=(t=e.ownerDocument)==null?void 0:t.body;var i=S(r.scrollWidth,r.clientWidth,a?a.scrollWidth:0,a?a.clientWidth:0);var o=S(r.scrollHeight,r.clientHeight,a?a.scrollHeight:0,a?a.clientHeight:0);var f=-n.scrollLeft+ye(e);var s=-n.scrollTop;if(N(a||r).direction==="rtl"){f+=S(r.clientWidth,a?a.clientWidth:0)-i}return{width:i,height:o,x:f,y:s}}function xe(e){var t=N(e),r=t.overflow,n=t.overflowX,a=t.overflowY;return/auto|scroll|overlay|hidden/.test(r+a+n)}function Oe(e){if(["html","body","#document"].indexOf(A(e))>=0){return e.ownerDocument.body}if(L(e)&&xe(e)){return e}return Oe(U(e))}function je(e,t){var r;if(t===void 0){t=[]}var n=Oe(e);var a=n===((r=e.ownerDocument)==null?void 0:r.body);var i=k(n);var o=a?[i].concat(i.visualViewport||[],xe(n)?n:[]):n;var f=t.concat(o);return a?f:f.concat(je(U(o)))}function Ee(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function De(e){var t=C(e);t.top=t.top+e.clientTop;t.left=t.left+e.clientLeft;t.bottom=t.top+e.clientHeight;t.right=t.left+e.clientWidth;t.width=e.clientWidth;t.height=e.clientHeight;t.x=t.left;t.y=t.top;return t}function Ae(e,t){return t===v?Ee(be(e)):M(t)?De(t):Ee(we(F(e)))}function ke(e){var t=je(U(e));var r=["absolute","fixed"].indexOf(N(e).position)>=0;var n=r&&L(e)?Y(e):e;if(!M(n)){return[]}return t.filter((function(e){return M(e)&&V(e,n)&&A(e)!=="body"}))}function Me(e,t,r){var n=t==="clippingParents"?ke(e):[].concat(t);var a=[].concat(n,[r]);var i=a[0];var o=a.reduce((function(t,r){var n=Ae(e,r);t.top=S(n.top,t.top);t.right=T(n.right,t.right);t.bottom=T(n.bottom,t.bottom);t.left=S(n.left,t.left);return t}),Ae(e,i));o.width=o.right-o.left;o.height=o.bottom-o.top;o.x=o.left;o.y=o.top;return o}function Le(e){var t=e.reference,o=e.element,f=e.placement;var c=f?R(f):null;var v=f?ae(f):null;var l=t.x+t.width/2-o.width/2;var p=t.y+t.height/2-o.height/2;var d;switch(c){case r:d={x:l,y:t.y-o.height};break;case n:d={x:l,y:t.y+t.height};break;case a:d={x:t.x+t.width,y:p};break;case i:d={x:t.x-o.width,y:p};break;default:d={x:t.x,y:t.y}}var h=c?G(c):null;if(h!=null){var m=h==="y"?"height":"width";switch(v){case s:d[h]=d[h]-(t[m]/2-o[m]/2);break;case u:d[h]=d[h]+(t[m]/2-o[m]/2);break}}return d}function Pe(e,t){if(t===void 0){t={}}var i=t,o=i.placement,s=o===void 0?e.placement:o,u=i.boundary,d=u===void 0?c:u,h=i.rootBoundary,m=h===void 0?v:h,g=i.elementContext,y=g===void 0?l:g,b=i.altBoundary,w=b===void 0?false:b,x=i.padding,O=x===void 0?0:x;var j=Z(typeof O!=="number"?O:$(O,f));var E=y===l?p:l;var D=e.rects.popper;var A=e.elements[w?E:y];var k=Me(M(A)?A:A.contextElement||F(e.elements.popper),d,m);var L=C(e.elements.reference);var P=Le({reference:L,element:D,strategy:"absolute",placement:s});var W=Ee(Object.assign({},D,P));var B=y===l?W:L;var H={top:k.top-B.top+j.top,bottom:B.bottom-k.bottom+j.bottom,left:k.left-B.left+j.left,right:B.right-k.right+j.right};var R=e.modifiersData.offset;if(y===l&&R){var S=R[s];Object.keys(H).forEach((function(e){var t=[a,n].indexOf(e)>=0?1:-1;var i=[r,n].indexOf(e)>=0?"y":"x";H[e]+=S[i]*t}))}return H}function We(e,t){if(t===void 0){t={}}var r=t,n=r.placement,a=r.boundary,i=r.rootBoundary,o=r.padding,s=r.flipVariations,u=r.allowedAutoPlacements,c=u===void 0?h:u;var v=ae(n);var l=v?s?d:d.filter((function(e){return ae(e)===v})):f;var p=l.filter((function(e){return c.indexOf(e)>=0}));if(p.length===0){p=l}var m=p.reduce((function(t,r){t[r]=Pe(e,{placement:r,boundary:a,rootBoundary:i,padding:o})[R(r)];return t}),{});return Object.keys(m).sort((function(e,t){return m[e]-m[t]}))}function Be(e){if(R(e)===o){return[]}var t=de(e);return[me(e),t,me(t)]}function He(e){var t=e.state,f=e.options,u=e.name;if(t.modifiersData[u]._skip){return}var c=f.mainAxis,v=c===void 0?true:c,l=f.altAxis,p=l===void 0?true:l,d=f.fallbackPlacements,h=f.padding,m=f.boundary,g=f.rootBoundary,y=f.altBoundary,b=f.flipVariations,w=b===void 0?true:b,x=f.allowedAutoPlacements;var O=t.options.placement;var j=R(O);var E=j===O;var D=d||(E||!w?[de(O)]:Be(O));var A=[O].concat(D).reduce((function(e,r){return e.concat(R(r)===o?We(t,{placement:r,boundary:m,rootBoundary:g,padding:h,flipVariations:w,allowedAutoPlacements:x}):r)}),[]);var k=t.rects.reference;var M=t.rects.popper;var L=new Map;var P=true;var W=A[0];for(var B=0;B<A.length;B++){var H=A[B];var S=R(H);var T=ae(H)===s;var _=[r,n].indexOf(S)>=0;var C=_?"width":"height";var q=Pe(t,{placement:H,boundary:m,rootBoundary:g,altBoundary:y,padding:h});var V=_?T?a:i:T?n:r;if(k[C]>M[C]){V=de(V)}var N=de(V);var I=[];if(v){I.push(q[S]<=0)}if(p){I.push(q[V]<=0,q[N]<=0)}if(I.every((function(e){return e}))){W=H;P=false;break}L.set(H,I)}if(P){var F=w?3:1;var U=function e(t){var r=A.find((function(e){var r=L.get(e);if(r){return r.slice(0,t).every((function(e){return e}))}}));if(r){W=r;return"break"}};for(var z=F;z>0;z--){var X=U(z);if(X==="break")break}}if(t.placement!==W){t.modifiersData[u]._skip=true;t.placement=W;t.reset=true}}var Re={name:"flip",enabled:true,phase:"main",fn:He,requiresIfExists:["offset"],data:{_skip:false}};function Se(e,t,r){if(r===void 0){r={x:0,y:0}}return{top:e.top-t.height-r.y,right:e.right-t.width+r.x,bottom:e.bottom-t.height+r.y,left:e.left-t.width-r.x}}function Te(e){return[r,a,n,i].some((function(t){return e[t]>=0}))}function _e(e){var t=e.state,r=e.name;var n=t.rects.reference;var a=t.rects.popper;var i=t.modifiersData.preventOverflow;var o=Pe(t,{elementContext:"reference"});var f=Pe(t,{altBoundary:true});var s=Se(o,n);var u=Se(f,a,i);var c=Te(s);var v=Te(u);t.modifiersData[r]={referenceClippingOffsets:s,popperEscapeOffsets:u,isReferenceHidden:c,hasPopperEscaped:v};t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":c,"data-popper-escaped":v})}var Ce={name:"hide",enabled:true,phase:"main",requiresIfExists:["preventOverflow"],fn:_e};function qe(e,t,n){var o=R(e);var f=[i,r].indexOf(o)>=0?-1:1;var s=typeof n==="function"?n(Object.assign({},t,{placement:e})):n,u=s[0],c=s[1];u=u||0;c=(c||0)*f;return[i,a].indexOf(o)>=0?{x:c,y:u}:{x:u,y:c}}function Ve(e){var t=e.state,r=e.options,n=e.name;var a=r.offset,i=a===void 0?[0,0]:a;var o=h.reduce((function(e,r){e[r]=qe(r,t.rects,i);return e}),{});var f=o[t.placement],s=f.x,u=f.y;if(t.modifiersData.popperOffsets!=null){t.modifiersData.popperOffsets.x+=s;t.modifiersData.popperOffsets.y+=u}t.modifiersData[n]=o}var Ne={name:"offset",enabled:true,phase:"main",requires:["popperOffsets"],fn:Ve};function Ie(e){var t=e.state,r=e.name;t.modifiersData[r]=Le({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}var Fe={name:"popperOffsets",enabled:true,phase:"read",fn:Ie,data:{}};function Ue(e){return e==="x"?"y":"x"}function ze(e){var t=e.state,o=e.options,f=e.name;var u=o.mainAxis,c=u===void 0?true:u,v=o.altAxis,l=v===void 0?false:v,p=o.boundary,d=o.rootBoundary,h=o.altBoundary,m=o.padding,g=o.tether,y=g===void 0?true:g,b=o.tetherOffset,w=b===void 0?0:b;var x=Pe(t,{boundary:p,rootBoundary:d,padding:m,altBoundary:h});var O=R(t.placement);var j=ae(t.placement);var E=!j;var D=G(O);var A=Ue(D);var k=t.modifiersData.popperOffsets;var M=t.rects.reference;var L=t.rects.popper;var P=typeof w==="function"?w(Object.assign({},t.rects,{placement:t.placement})):w;var W=typeof P==="number"?{mainAxis:P,altAxis:P}:Object.assign({mainAxis:0,altAxis:0},P);var B=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null;var H={x:0,y:0};if(!k){return}if(c){var _;var C=D==="y"?r:i;var V=D==="y"?n:a;var N=D==="y"?"height":"width";var I=k[D];var F=I+x[C];var U=I-x[V];var z=y?-L[N]/2:0;var X=j===s?M[N]:L[N];var Z=j===s?-L[N]:-M[N];var $=t.elements.arrow;var ee=y&&$?q($):{width:0,height:0};var te=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:Q();var re=te[C];var ne=te[V];var ie=J(0,M[N],ee[N]);var oe=E?M[N]/2-z-ie-re-W.mainAxis:X-ie-re-W.mainAxis;var fe=E?-M[N]/2+z+ie+ne+W.mainAxis:Z+ie+ne+W.mainAxis;var se=t.elements.arrow&&Y(t.elements.arrow);var ue=se?D==="y"?se.clientTop||0:se.clientLeft||0:0;var ce=(_=B==null?void 0:B[D])!=null?_:0;var ve=I+oe-ce-ue;var le=I+fe-ce;var pe=J(y?T(F,ve):F,I,y?S(U,le):U);k[D]=pe;H[D]=pe-I}if(l){var de;var he=D==="x"?r:i;var me=D==="x"?n:a;var ge=k[A];var ye=A==="y"?"height":"width";var be=ge+x[he];var we=ge-x[me];var xe=[r,i].indexOf(O)!==-1;var Oe=(de=B==null?void 0:B[A])!=null?de:0;var je=xe?be:ge-M[ye]-L[ye]-Oe+W.altAxis;var Ee=xe?ge+M[ye]+L[ye]-Oe-W.altAxis:we;var De=y&&xe?K(je,ge,Ee):J(y?je:be,ge,y?Ee:we);k[A]=De;H[A]=De-ge}t.modifiersData[f]=H}var Xe={name:"preventOverflow",enabled:true,phase:"main",fn:ze,requiresIfExists:["offset"]};function Ye(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function Ge(e){if(e===k(e)||!L(e)){return ge(e)}else{return Ye(e)}}function Je(e){var t=e.getBoundingClientRect();var r=_(t.width)/e.offsetWidth||1;var n=_(t.height)/e.offsetHeight||1;return r!==1||n!==1}function Ke(e,t,r){if(r===void 0){r=false}var n=L(t);var a=L(t)&&Je(t);var i=F(t);var o=C(e,a);var f={scrollLeft:0,scrollTop:0};var s={x:0,y:0};if(n||!n&&!r){if(A(t)!=="body"||xe(i)){f=Ge(t)}if(L(t)){s=C(t,true);s.x+=t.clientLeft;s.y+=t.clientTop}else if(i){s.x=ye(i)}}return{x:o.left+f.scrollLeft-s.x,y:o.top+f.scrollTop-s.y,width:o.width,height:o.height}}function Qe(e){var t=new Map;var r=new Set;var n=[];e.forEach((function(e){t.set(e.name,e)}));function a(e){r.add(e.name);var i=[].concat(e.requires||[],e.requiresIfExists||[]);i.forEach((function(e){if(!r.has(e)){var n=t.get(e);if(n){a(n)}}}));n.push(e)}e.forEach((function(e){if(!r.has(e.name)){a(e)}}));return n}function Ze(e){var t=Qe(e);return D.reduce((function(e,r){return e.concat(t.filter((function(e){return e.phase===r})))}),[])}function $e(e){var t;return function(){if(!t){t=new Promise((function(r){Promise.resolve().then((function(){t=undefined;r(e())}))}))}return t}}function et(e){var t=e.reduce((function(e,t){var r=e[t.name];e[t.name]=r?Object.assign({},r,t,{options:Object.assign({},r.options,t.options),data:Object.assign({},r.data,t.data)}):t;return e}),{});return Object.keys(t).map((function(e){return t[e]}))}var tt={placement:"bottom",modifiers:[],strategy:"absolute"};function rt(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++){t[r]=arguments[r]}return!t.some((function(e){return!(e&&typeof e.getBoundingClientRect==="function")}))}function nt(e){if(e===void 0){e={}}var t=e,r=t.defaultModifiers,n=r===void 0?[]:r,a=t.defaultOptions,i=a===void 0?tt:a;return function e(t,r,a){if(a===void 0){a=i}var o={placement:"bottom",orderedModifiers:[],options:Object.assign({},tt,i),modifiersData:{},elements:{reference:t,popper:r},attributes:{},styles:{}};var f=[];var s=false;var u={state:o,setOptions:function e(a){var f=typeof a==="function"?a(o.options):a;v();o.options=Object.assign({},i,o.options,f);o.scrollParents={reference:M(t)?je(t):t.contextElement?je(t.contextElement):[],popper:je(r)};var s=Ze(et([].concat(n,o.options.modifiers)));o.orderedModifiers=s.filter((function(e){return e.enabled}));c();return u.update()},forceUpdate:function e(){if(s){return}var t=o.elements,r=t.reference,n=t.popper;if(!rt(r,n)){return}o.rects={reference:Ke(r,Y(n),o.options.strategy==="fixed"),popper:q(n)};o.reset=false;o.placement=o.options.placement;o.orderedModifiers.forEach((function(e){return o.modifiersData[e.name]=Object.assign({},e.data)}));for(var a=0;a<o.orderedModifiers.length;a++){if(o.reset===true){o.reset=false;a=-1;continue}var i=o.orderedModifiers[a],f=i.fn,c=i.options,v=c===void 0?{}:c,l=i.name;if(typeof f==="function"){o=f({state:o,options:v,name:l,instance:u})||o}}},update:$e((function(){return new Promise((function(e){u.forceUpdate();e(o)}))})),destroy:function e(){v();s=true}};if(!rt(t,r)){return u}u.setOptions(a).then((function(e){if(!s&&a.onFirstUpdate){a.onFirstUpdate(e)}}));function c(){o.orderedModifiers.forEach((function(e){var t=e.name,r=e.options,n=r===void 0?{}:r,a=e.effect;if(typeof a==="function"){var i=a({state:o,name:t,instance:u,options:n});var s=function e(){};f.push(i||s)}}))}function v(){f.forEach((function(e){return e()}));f=[]}return u}}var at=[le,Fe,ue,H,Ne,Re,Xe,ne,Ce];var it=nt({defaultModifiers:at});var ot=e("d","bottom-leading");var ft=e("p",["top-start","top","top-end","bottom-start","bottom","bottom-end"]);var st=e("C",{animation:"calcite-popper-anim",animationActive:"calcite-popper-anim--active"});function ut(e,r){var n=["left","right"];var a=["start","end"];if(t(e)==="rtl"){n.reverse();a.reverse()}return r.replace(/-leading/gi,"-".concat(a[0])).replace(/-trailing/gi,"-".concat(a[1])).replace(/leading/gi,n[0]).replace(/trailing/gi,n[1])}function ct(e){var t=e.referenceEl,r=e.el,n=e.placement,a=e.overlayPositioning,i=a===void 0?"absolute":a,o=e.modifiers;if(!t){return null}return it(t,r,{strategy:i,placement:ut(r,n),modifiers:o})}function vt(e){var t=e.el,r=e.modifiers,n=e.placement,a=e.popper;return __awaiter(this,void 0,void 0,(function(){var e;return __generator(this,(function(i){switch(i.label){case 0:e=ut(t,n);return[4,a.setOptions({modifiers:r,placement:e})];case 1:i.sent();return[2]}}))}))}function lt(e,t){return Math.sqrt(Math.pow(e,2)+Math.pow(t,2))}var pt=4;var dt=e("a",Math.ceil(lt(pt,pt)))}}}));
@@ -1,5 +0,0 @@
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
- System.register(["./p-65dbbfb5.system.js"],(function(e,t){"use strict";var l,i,a,n;return{setters:[function(e){l=e.d;i=e.N;a=e.p;n=e.b}],execute:function(){var e=function(){var e=Array.from(l.querySelectorAll("script")).find((function(e){return new RegExp("/".concat(i,"(\\.esm)?\\.js($|\\?|#)")).test(e.src)||e.getAttribute("data-stencil-namespace")===i}));var n=t.meta.url;var c=e["data-opts"]||{};if(n!==""){c.resourcesUrl=new URL(".",n).href}return a(c)};e().then((function(e){return n(JSON.parse('[["p-07f1f162.system",[[1,"calcite-action",{"active":[516],"alignment":[513],"appearance":[513],"compact":[516],"disabled":[516],"icon":[1],"indicator":[516],"intlLoading":[1,"intl-loading"],"label":[1],"loading":[516],"scale":[513],"text":[1],"textEnabled":[516,"text-enabled"],"setFocus":[64]}]]],["p-edf1e815.system",[[1,"calcite-action-menu",{"expanded":[516],"flipPlacements":[16],"label":[1],"open":[1540],"overlayPositioning":[1,"overlay-positioning"],"placement":[513],"scale":[513],"activeMenuItemIndex":[32],"setFocus":[64]},[[8,"click","closeCalciteActionMenuOnClick"]]]]],["p-7260c869.system",[[1,"calcite-block",{"collapsible":[4],"disabled":[516],"dragHandle":[516,"drag-handle"],"heading":[1],"headingLevel":[2,"heading-level"],"intlCollapse":[1,"intl-collapse"],"intlExpand":[1,"intl-expand"],"intlLoading":[1,"intl-loading"],"intlOptions":[1,"intl-options"],"loading":[516],"open":[1540],"status":[513],"summary":[1]}],[1,"calcite-block-section",{"intlCollapse":[1,"intl-collapse"],"intlExpand":[1,"intl-expand"],"open":[1540],"status":[513],"text":[1],"toggleDisplay":[513,"toggle-display"]}]]],["p-c2caeb2a.system",[[1,"calcite-value-list",{"disabled":[516],"dragEnabled":[516,"drag-enabled"],"filterEnabled":[516,"filter-enabled"],"filterPlaceholder":[513,"filter-placeholder"],"group":[1],"loading":[516],"multiple":[516],"selectionFollowsFocus":[4,"selection-follows-focus"],"selectedValues":[32],"dataForFilter":[32],"getSelectedItems":[64],"setFocus":[64]},[[0,"focusout","calciteListFocusOutHandler"],[0,"calciteListItemRemove","calciteListItemRemoveHandler"],[0,"calciteListItemChange","calciteListItemChangeHandler"],[0,"calciteListItemPropsChange","calciteListItemPropsChangeHandler"],[0,"calciteListItemValueChange","calciteListItemValueChangeHandler"]]],[1,"calcite-value-list-item",{"description":[513],"disabled":[516],"disableDeselect":[4,"disable-deselect"],"nonInteractive":[516,"non-interactive"],"handleActivated":[1028,"handle-activated"],"icon":[513],"label":[513],"metadata":[16],"removable":[516],"selected":[1540],"value":[8],"toggleSelected":[64],"setFocus":[64]},[[0,"calciteListItemChange","calciteListItemChangeHandler"]]]]],["p-eb3c084f.system",[[1,"calcite-action-bar",{"expandDisabled":[516,"expand-disabled"],"expanded":[1540],"intlExpand":[1,"intl-expand"],"intlCollapse":[1,"intl-collapse"],"overflowActionsDisabled":[4,"overflow-actions-disabled"],"position":[513],"scale":[513],"overflowActions":[64],"setFocus":[64]}]]],["p-b9a38a28.system",[[1,"calcite-action-pad",{"expandDisabled":[516,"expand-disabled"],"expanded":[1540],"layout":[513],"intlExpand":[1,"intl-expand"],"intlCollapse":[1,"intl-collapse"],"position":[513],"scale":[513],"setFocus":[64]}]]],["p-32efc4cd.system",[[1,"calcite-tip",{"dismissed":[1540],"nonDismissible":[516,"non-dismissible"],"heading":[1],"headingLevel":[2,"heading-level"],"selected":[516],"intlClose":[1,"intl-close"]}],[1,"calcite-tip-manager",{"closed":[1540],"headingLevel":[2,"heading-level"],"intlClose":[1,"intl-close"],"intlDefaultTitle":[1,"intl-default-title"],"intlNext":[1,"intl-next"],"intlPaginationLabel":[1,"intl-pagination-label"],"intlPrevious":[1,"intl-previous"],"selectedIndex":[32],"tips":[32],"total":[32],"direction":[32],"groupTitle":[32],"nextTip":[64],"previousTip":[64]}],[1,"calcite-tip-group",{"groupTitle":[1,"group-title"]}]]],["p-4afb5a1b.system",[[1,"calcite-checkbox",{"checked":[1540],"disabled":[516],"guid":[1537],"hovered":[1540],"indeterminate":[1540],"label":[1],"name":[520],"required":[516],"scale":[513],"value":[8],"setFocus":[64]}]]],["p-482885ae.system",[[1,"calcite-loader",{"active":[516],"inline":[516],"label":[1],"scale":[513],"type":[513],"value":[2],"text":[1],"noPadding":[4,"no-padding"]}]]],["p-7247b667.system",[[1,"calcite-card",{"loading":[516],"selected":[1540],"selectable":[516],"intlLoading":[1,"intl-loading"],"intlSelect":[1,"intl-select"],"intlDeselect":[1,"intl-deselect"]}]]],["p-cd9226a1.system",[[1,"calcite-icon",{"icon":[513],"flipRtl":[516,"flip-rtl"],"scale":[513],"textLabel":[1,"text-label"],"pathData":[32],"visible":[32]}]]],["p-364f0abe.system",[[1,"calcite-input-date-picker",{"disabled":[516],"value":[1025],"flipPlacements":[16],"headingLevel":[2,"heading-level"],"valueAsDate":[1040],"startAsDate":[1040],"endAsDate":[1040],"minAsDate":[1040],"maxAsDate":[1040],"min":[1025],"max":[1025],"active":[1540],"name":[1],"intlPrevMonth":[1,"intl-prev-month"],"intlNextMonth":[1,"intl-next-month"],"intlYear":[1,"intl-year"],"locale":[1],"scale":[513],"range":[516],"required":[516],"start":[1025],"end":[1025],"overlayPositioning":[1,"overlay-positioning"],"proximitySelectionDisabled":[4,"proximity-selection-disabled"],"layout":[513],"focusedInput":[32],"localeData":[32],"setFocus":[64],"reposition":[64]},[[0,"calciteDatePickerChange","handleDateOrRangeChange"],[0,"calciteDatePickerRangeChange","handleDateOrRangeChange"],[0,"calciteDaySelect","calciteDaySelectHandler"]]]]],["p-aad14a5d.system",[[1,"calcite-panel",{"dismissed":[1540],"beforeBack":[16],"disabled":[516],"dismissible":[516],"headingLevel":[2,"heading-level"],"showBackButton":[516,"show-back-button"],"intlBack":[1,"intl-back"],"heightScale":[513,"height-scale"],"widthScale":[513,"width-scale"],"loading":[516],"intlClose":[1,"intl-close"],"intlOptions":[1,"intl-options"],"heading":[1],"summary":[1],"menuOpen":[516,"menu-open"],"setFocus":[64],"scrollContentTo":[64]}]]],["p-3e9d96c6.system",[[1,"calcite-split-button",{"appearance":[513],"color":[513],"disabled":[516],"active":[1540],"dropdownIconType":[513,"dropdown-icon-type"],"dropdownLabel":[513,"dropdown-label"],"loading":[516],"overlayPositioning":[1,"overlay-positioning"],"primaryIconEnd":[513,"primary-icon-end"],"primaryIconFlipRtl":[513,"primary-icon-flip-rtl"],"primaryIconStart":[513,"primary-icon-start"],"primaryLabel":[513,"primary-label"],"primaryText":[513,"primary-text"],"scale":[513],"width":[513]}]]],["p-867f7b7a.system",[[1,"calcite-combobox",{"active":[1540],"disabled":[516],"label":[1],"placeholder":[1],"maxItems":[2,"max-items"],"name":[513],"allowCustomValues":[4,"allow-custom-values"],"overlayPositioning":[1,"overlay-positioning"],"required":[4],"selectionMode":[513,"selection-mode"],"scale":[513],"value":[1025],"intlRemoveTag":[1,"intl-remove-tag"],"flipPlacements":[16],"items":[32],"groupItems":[32],"selectedItems":[32],"visibleItems":[32],"needsIcon":[32],"activeItemIndex":[32],"activeChipIndex":[32],"activeDescendant":[32],"text":[32],"reposition":[64],"setFocus":[64]},[[4,"click","documentClickHandler"],[0,"calciteComboboxItemChange","calciteComboboxItemChangeHandler"]]],[1,"calcite-combobox-item",{"disabled":[516],"selected":[1540],"active":[4],"ancestors":[1040],"guid":[1],"icon":[1],"textLabel":[513,"text-label"],"value":[8],"constant":[516],"toggleSelected":[64]}],[1,"calcite-combobox-item-group",{"ancestors":[1040],"label":[1]}]]],["p-963e9aec.system",[[1,"calcite-tile-select",{"checked":[1540],"description":[513],"disabled":[516],"heading":[513],"hidden":[516],"icon":[513],"name":[520],"inputEnabled":[516,"input-enabled"],"inputAlignment":[513,"input-alignment"],"type":[513],"value":[8],"width":[513],"focused":[32],"setFocus":[64]},[[0,"calciteCheckboxChange","checkboxChangeHandler"],[0,"calciteInternalCheckboxFocus","checkboxFocusBlurHandler"],[0,"calciteInternalCheckboxBlur","checkboxFocusBlurHandler"],[0,"calciteRadioButtonChange","radioButtonChangeHandler"],[0,"calciteInternalRadioButtonCheckedChange","radioButtonCheckedChangeHandler"],[0,"calciteInternalRadioButtonFocus","radioButtonFocusBlurHandler"],[0,"calciteInternalRadioButtonBlur","radioButtonFocusBlurHandler"],[0,"click","click"],[1,"mouseenter","mouseenter"],[1,"mouseleave","mouseleave"]]],[1,"calcite-tile-select-group",{"disabled":[516],"layout":[513]}]]],["p-e66a8ca1.system",[[1,"calcite-fab",{"appearance":[513],"color":[513],"disabled":[516],"icon":[1],"label":[1],"loading":[516],"scale":[513],"text":[1],"textEnabled":[516,"text-enabled"],"setFocus":[64]}]]],["p-aaa21a84.system",[[1,"calcite-inline-editable",{"disabled":[516],"editingEnabled":[1540,"editing-enabled"],"loading":[1540],"controls":[516],"intlEnableEditing":[513,"intl-enable-editing"],"intlCancelEditing":[513,"intl-cancel-editing"],"intlConfirmChanges":[513,"intl-confirm-changes"],"scale":[1537],"afterConfirm":[16],"setFocus":[64]},[[0,"calciteInputBlur","blurHandler"]]]]],["p-8e0dd0af.system",[[1,"calcite-modal",{"active":[1540],"beforeClose":[16],"disableCloseButton":[4,"disable-close-button"],"disableOutsideClose":[4,"disable-outside-close"],"intlClose":[1,"intl-close"],"docked":[516],"firstFocus":[16],"disableEscape":[4,"disable-escape"],"scale":[513],"width":[520],"fullscreen":[516],"color":[513],"backgroundColor":[513,"background-color"],"noPadding":[4,"no-padding"],"hasFooter":[32],"focusElement":[64],"setFocus":[64],"scrollContent":[64]},[[8,"keyup","handleEscape"]]]]],["p-6c4a7041.system",[[1,"calcite-tree-item",{"selected":[1540],"expanded":[1540],"parentExpanded":[4,"parent-expanded"],"depth":[1538],"hasChildren":[1540,"has-children"],"lines":[1540],"inputEnabled":[4,"input-enabled"],"scale":[1537],"indeterminate":[516],"selectionMode":[1025,"selection-mode"]},[[0,"click","onClick"],[0,"keydown","keyDownHandler"]]],[1,"calcite-tree",{"lines":[1540],"inputEnabled":[4,"input-enabled"],"child":[1540],"scale":[1537],"selectionMode":[1537,"selection-mode"]},[[0,"focus","onFocus"],[0,"focusin","onFocusIn"],[0,"focusout","onFocusOut"],[0,"calciteTreeItemSelect","onClick"],[0,"keydown","keyDownHandler"]]]]],["p-55e1a3a0.system",[[1,"calcite-alert",{"active":[1540],"autoDismiss":[4,"auto-dismiss"],"autoDismissDuration":[513,"auto-dismiss-duration"],"color":[513],"icon":[520],"intlClose":[1,"intl-close"],"label":[1],"placement":[1],"scale":[513],"queue":[32],"queueLength":[32],"queued":[32],"requestedIcon":[32],"setFocus":[64]},[[8,"calciteAlertSync","alertSync"],[8,"calciteAlertRegister","alertRegister"]]]]],["p-ea4119b1.system",[[1,"calcite-rating",{"scale":[513],"value":[1538],"readOnly":[516,"read-only"],"disabled":[516],"showChip":[516,"show-chip"],"count":[514],"average":[514],"name":[513],"intlRating":[1,"intl-rating"],"intlStars":[1,"intl-stars"],"required":[516],"hoverValue":[32],"focusValue":[32],"hasFocus":[32],"setFocus":[64]},[[0,"blur","blurHandler"]]]]],["p-2fae8516.system",[[1,"calcite-select",{"disabled":[516],"label":[1],"name":[1],"required":[516],"scale":[513],"value":[1025],"selectedOption":[1040],"width":[513],"setFocus":[64]},[[0,"calciteOptionChange","handleOptionOrGroupChange"],[0,"calciteOptionGroupChange","handleOptionOrGroupChange"]]],[1,"calcite-option",{"disabled":[516],"label":[1025],"selected":[516],"value":[1032]}],[1,"calcite-option-group",{"disabled":[516],"label":[1]}]]],["p-3e149640.system",[[1,"calcite-accordion-item",{"active":[1540],"itemTitle":[1,"item-title"],"itemSubtitle":[1,"item-subtitle"],"icon":[513]},[[0,"keydown","keyDownHandler"],[16,"calciteAccordionChange","updateActiveItemOnChange"]]],[1,"calcite-accordion",{"appearance":[513],"iconPosition":[513,"icon-position"],"iconType":[513,"icon-type"],"scale":[513],"selectionMode":[513,"selection-mode"]},[[0,"calciteAccordionItemKeyEvent","calciteAccordionItemKeyEvent"],[0,"calciteAccordionItemRegister","registerCalciteAccordionItem"],[0,"calciteAccordionItemSelect","updateActiveItemOnChange"]]]]],["p-e3280a36.system",[[1,"calcite-radio-group-item",{"checked":[1540],"icon":[513],"iconFlipRtl":[516,"icon-flip-rtl"],"iconPosition":[513,"icon-position"],"value":[1032]}],[1,"calcite-radio-group",{"appearance":[513],"disabled":[516],"required":[516],"layout":[513],"name":[1],"scale":[513],"value":[1025],"selectedItem":[1040],"width":[513],"setFocus":[64]},[[0,"calciteRadioGroupItemChange","handleSelected"],[0,"keydown","handleKeyDown"]]]]],["p-6e0103f5.system",[[1,"calcite-stepper-item",{"active":[1540],"complete":[516],"error":[4],"disabled":[516],"itemTitle":[1,"item-title"],"itemSubtitle":[1,"item-subtitle"],"layout":[1537],"icon":[1028],"numbered":[1028],"scale":[1537]},[[0,"keydown","keyDownHandler"],[16,"calciteStepperItemChange","updateActiveItemOnChange"]]],[1,"calcite-stepper",{"icon":[516],"layout":[513],"numbered":[516],"scale":[513],"requestedContent":[1040],"nextStep":[64],"prevStep":[64],"goToStep":[64],"startStep":[64],"endStep":[64]},[[0,"calciteStepperItemKeyEvent","calciteStepperItemKeyEvent"],[0,"calciteStepperItemRegister","registerItem"],[0,"calciteStepperItemSelect","updateItem"]]]]],["p-1fc943d5.system",[[1,"calcite-avatar",{"scale":[513],"thumbnail":[1],"fullName":[1,"full-name"],"username":[1],"userId":[1,"user-id"],"error":[32]}]]],["p-569150ab.system",[[1,"calcite-input-message",{"active":[516],"icon":[520],"scale":[1537],"status":[1537],"type":[513]}]]],["p-6ed27595.system",[[1,"calcite-notice",{"active":[1540],"color":[513],"dismissible":[516],"icon":[520],"intlClose":[1,"intl-close"],"scale":[513],"width":[513],"setFocus":[64]}]]],["p-48637359.system",[[1,"calcite-pagination",{"num":[2],"start":[1026],"total":[2],"textLabelNext":[1,"text-label-next"],"textLabelPrevious":[1,"text-label-previous"],"scale":[513],"nextPage":[64],"previousPage":[64]}]]],["p-e4d1651b.system",[[1,"calcite-list",{"disabled":[516],"headingLevel":[2,"heading-level"],"setFocus":[64]}],[1,"calcite-list-item",{"nonInteractive":[516,"non-interactive"],"description":[1],"disabled":[516],"label":[1],"setFocus":[64]}],[1,"calcite-list-item-group",{"heading":[513],"headingLevel":[2,"heading-level"]}]]],["p-a11ee541.system",[[1,"calcite-shell",{"contentBehind":[516,"content-behind"]}],[1,"calcite-shell-center-row",{"detached":[516],"heightScale":[513,"height-scale"],"position":[513]}],[1,"calcite-shell-panel",{"collapsed":[516],"detached":[516],"detachedHeightScale":[513,"detached-height-scale"],"widthScale":[513,"width-scale"],"position":[513],"intlResize":[1,"intl-resize"],"resizable":[516],"contentWidth":[32]}]]],["p-bdcb43b1.system",[[1,"calcite-flow",{"panelCount":[32],"flowDirection":[32],"panels":[32],"back":[64]},[[0,"calcitePanelBackClick","handleCalcitePanelBackClick"]]]]],["p-6fba3e1b.system",[[1,"calcite-radio-button",{"checked":[1540],"disabled":[516],"focused":[1540],"guid":[1537],"hidden":[516],"hovered":[1540],"label":[1],"name":[513],"required":[516],"scale":[513],"value":[1032],"setFocus":[64],"emitCheckedChange":[64]},[[1,"mouseenter","mouseenter"],[1,"mouseleave","mouseleave"]]]]],["p-02d7cf64.system",[[1,"calcite-radio-button-group",{"disabled":[516],"hidden":[516],"layout":[513],"name":[513],"required":[516],"scale":[513]},[[0,"calciteRadioButtonChange","radioButtonChangeHandler"]]]]],["p-7432e5ef.system",[[1,"calcite-sortable-list",{"dragSelector":[1,"drag-selector"],"group":[1],"handleSelector":[1,"handle-selector"],"layout":[1],"disabled":[516],"loading":[516],"handleActivated":[32]},[[0,"calciteHandleNudge","calciteHandleNudgeHandler"]]]]],["p-b0827b8c.system",[[1,"calcite-pick-list",{"disabled":[516],"filterEnabled":[516,"filter-enabled"],"filterPlaceholder":[513,"filter-placeholder"],"headingLevel":[2,"heading-level"],"loading":[516],"multiple":[516],"selectionFollowsFocus":[4,"selection-follows-focus"],"selectedValues":[32],"dataForFilter":[32],"getSelectedItems":[64],"setFocus":[64]},[[0,"calciteListItemRemove","calciteListItemRemoveHandler"],[0,"calciteListItemChange","calciteListItemChangeHandler"],[0,"calciteListItemPropsChange","calciteListItemPropsChangeHandler"],[0,"calciteListItemValueChange","calciteListItemValueChangeHandler"],[0,"focusout","calciteListFocusOutHandler"]]],[1,"calcite-pick-list-group",{"groupTitle":[513,"group-title"],"headingLevel":[2,"heading-level"]}],[1,"calcite-pick-list-item",{"description":[513],"disabled":[516],"disableDeselect":[4,"disable-deselect"],"nonInteractive":[516,"non-interactive"],"icon":[513],"label":[513],"metadata":[16],"removable":[516],"selected":[1540],"intlRemove":[513,"intl-remove"],"value":[8],"toggleSelected":[64],"setFocus":[64]}]]],["p-c4cb35ba.system",[[1,"calcite-input-time-picker",{"active":[1540],"disabled":[516],"intlHour":[1,"intl-hour"],"intlHourDown":[1,"intl-hour-down"],"intlHourUp":[1,"intl-hour-up"],"intlMeridiem":[1,"intl-meridiem"],"intlMeridiemDown":[1,"intl-meridiem-down"],"intlMeridiemUp":[1,"intl-meridiem-up"],"intlMinute":[1,"intl-minute"],"intlMinuteDown":[1,"intl-minute-down"],"intlMinuteUp":[1,"intl-minute-up"],"intlSecond":[1,"intl-second"],"intlSecondDown":[1,"intl-second-down"],"intlSecondUp":[1,"intl-second-up"],"locale":[1025,"lang"],"name":[1],"required":[516],"scale":[513],"step":[2],"value":[1025],"localizedValue":[32],"setFocus":[64]},[[0,"click","clickHandler"],[0,"keyup","keyUpHandler"],[0,"calciteTimePickerBlur","timePickerBlurHandler"],[0,"calciteTimePickerFocus","timePickerFocusHandler"]]],[1,"calcite-time-picker",{"intlHour":[1,"intl-hour"],"intlHourDown":[1,"intl-hour-down"],"intlHourUp":[1,"intl-hour-up"],"intlMeridiem":[1,"intl-meridiem"],"intlMeridiemDown":[1,"intl-meridiem-down"],"intlMeridiemUp":[1,"intl-meridiem-up"],"intlMinute":[1,"intl-minute"],"intlMinuteDown":[1,"intl-minute-down"],"intlMinuteUp":[1,"intl-minute-up"],"intlSecond":[1,"intl-second"],"intlSecondDown":[1,"intl-second-down"],"intlSecondUp":[1,"intl-second-up"],"locale":[1025,"lang"],"scale":[1],"step":[2],"value":[1025],"hour":[32],"hourCycle":[32],"localizedHour":[32],"localizedHourSuffix":[32],"localizedMeridiem":[32],"localizedMinute":[32],"localizedMinuteSuffix":[32],"localizedSecond":[32],"localizedSecondSuffix":[32],"meridiem":[32],"minute":[32],"second":[32],"showSecond":[32],"setFocus":[64]},[[0,"blur","hostBlurHandler"],[0,"focus","hostFocusHandler"],[0,"keydown","keyDownHandler"]]]]],["p-69d2d9cf.system",[[1,"calcite-tile",{"active":[516],"description":[513],"disabled":[516],"embed":[516],"focused":[516],"heading":[513],"hidden":[516],"href":[513],"icon":[513]}]]],["p-ecc31b40.system",[[1,"calcite-dropdown-item",{"active":[1540],"iconFlipRtl":[513,"icon-flip-rtl"],"iconStart":[513,"icon-start"],"iconEnd":[513,"icon-end"],"href":[513],"label":[1],"rel":[1],"target":[1],"setFocus":[64]},[[0,"click","onClick"],[0,"keydown","keyDownHandler"],[16,"calciteDropdownItemChange","updateActiveItemOnChange"]]],[1,"calcite-dropdown-group",{"groupTitle":[513,"group-title"],"selectionMode":[513,"selection-mode"],"scale":[513]},[[0,"calciteDropdownItemSelect","updateActiveItemOnChange"]]],[1,"calcite-dropdown",{"active":[1540],"disableCloseOnSelect":[516,"disable-close-on-select"],"disabled":[516],"flipPlacements":[16],"maxItems":[2,"max-items"],"overlayPositioning":[1,"overlay-positioning"],"placement":[513],"scale":[513],"selectedItems":[1040],"type":[513],"width":[513],"reposition":[64]},[[8,"click","closeCalciteDropdownOnClick"],[0,"calciteDropdownCloseRequest","closeCalciteDropdownOnEvent"],[8,"calciteDropdownOpen","closeCalciteDropdownOnOpenEvent"],[1,"mouseenter","mouseEnterHandler"],[1,"mouseleave","mouseLeaveHandler"],[0,"calciteDropdownItemKeyEvent","calciteDropdownItemKeyEvent"],[0,"calciteDropdownItemSelect","handleItemSelect"]]]]],["p-872e82a6.system",[[1,"calcite-slider",{"disabled":[516],"hasHistogram":[1540,"has-histogram"],"histogram":[16],"histogramStops":[16],"labelHandles":[516,"label-handles"],"labelTicks":[516,"label-ticks"],"max":[514],"maxLabel":[1,"max-label"],"maxValue":[1026,"max-value"],"min":[514],"minLabel":[1,"min-label"],"minValue":[1026,"min-value"],"mirrored":[516],"name":[513],"pageStep":[2,"page-step"],"precise":[4],"required":[516],"snap":[4],"step":[2],"ticks":[2],"value":[1538],"scale":[1],"activeProp":[32],"minMaxValueRange":[32],"minValueDragRange":[32],"maxValueDragRange":[32],"tickValues":[32],"setFocus":[64]},[[0,"keydown","keyDownHandler"],[0,"click","clickHandler"],[1,"pointerdown","pointerDownHandler"]]],[1,"calcite-graph",{"data":[16],"colorStops":[16],"highlightMin":[2,"highlight-min"],"highlightMax":[2,"highlight-max"],"min":[2],"max":[2]}]]],["p-c9fc13b9.system",[[1,"calcite-handle",{"activated":[1540],"textTitle":[513,"text-title"],"setFocus":[64]}]]],["p-ef17447d.system",[[1,"calcite-label",{"alignment":[513],"status":[513],"for":[513],"scale":[513],"layout":[513],"disableSpacing":[4,"disable-spacing"],"disabled":[516]}]]],["p-9940b82a.system",[[1,"calcite-switch",{"disabled":[516],"label":[1],"name":[513],"scale":[513],"switched":[1028],"checked":[1540],"value":[8],"setFocus":[64]}]]],["p-7bee4942.system",[[1,"calcite-action-group",{"expanded":[516],"layout":[513],"columns":[514],"intlMore":[1,"intl-more"],"menuOpen":[1540,"menu-open"],"scale":[513]}]]],["p-bffb4da3.system",[[1,"calcite-filter",{"items":[1040],"disabled":[516],"filteredItems":[1040],"intlClear":[1,"intl-clear"],"intlLabel":[1,"intl-label"],"placeholder":[1],"scale":[513],"value":[1025],"setFocus":[64]}]]],["p-496e907a.system",[[1,"calcite-link",{"disabled":[516],"download":[520],"href":[513],"iconEnd":[513,"icon-end"],"iconFlipRtl":[513,"icon-flip-rtl"],"iconStart":[513,"icon-start"],"rel":[1],"target":[1],"setFocus":[64]}]]],["p-c228a1da.system",[[1,"calcite-chip",{"appearance":[513],"color":[513],"dismissible":[516],"dismissLabel":[1,"dismiss-label"],"icon":[513],"iconFlipRtl":[516,"icon-flip-rtl"],"scale":[513],"value":[8],"setFocus":[64]}]]],["p-2dd22e8c.system",[[1,"calcite-button",{"alignment":[513],"appearance":[513],"label":[1],"color":[513],"disabled":[516],"href":[513],"iconEnd":[513,"icon-end"],"iconFlipRtl":[513,"icon-flip-rtl"],"iconStart":[513,"icon-start"],"intlLoading":[1,"intl-loading"],"loading":[516],"name":[1],"rel":[1],"form":[1],"round":[516],"scale":[513],"splitChild":[520,"split-child"],"target":[1],"type":[1025],"width":[513],"hasContent":[32],"hasLoader":[32],"setFocus":[64]}]]],["p-1aeca42a.system",[[1,"calcite-tab-title",{"active":[1540],"disabled":[516],"iconEnd":[513,"icon-end"],"iconFlipRtl":[513,"icon-flip-rtl"],"iconStart":[513,"icon-start"],"layout":[1537],"position":[1537],"scale":[1537],"bordered":[1540],"tab":[513],"controls":[32],"hasText":[32],"getTabIndex":[64],"getTabIdentifier":[64],"updateAriaInfo":[64]},[[16,"calciteTabChange","tabChangeHandler"],[0,"click","onClick"],[0,"keydown","keyDownHandler"]]],[1,"calcite-tab",{"tab":[513],"active":[1540],"scale":[1537],"labeledBy":[32],"getTabIndex":[64],"updateAriaInfo":[64]},[[16,"calciteTabChange","tabChangeHandler"]]],[1,"calcite-tab-nav",{"storageId":[1,"storage-id"],"syncId":[1,"sync-id"],"scale":[1537],"layout":[1537],"position":[1537],"bordered":[1540],"indicatorOffset":[1026,"indicator-offset"],"indicatorWidth":[1026,"indicator-width"],"selectedTab":[32],"selectedTabEl":[32]},[[9,"resize","resizeHandler"],[0,"calciteTabsFocusPrevious","focusPreviousTabHandler"],[0,"calciteTabsFocusNext","focusNextTabHandler"],[0,"calciteTabsActivate","activateTabHandler"],[0,"calciteTabTitleRegister","updateTabTitles"],[16,"calciteTabChange","globalTabChangeHandler"]]],[1,"calcite-tabs",{"layout":[513],"position":[513],"scale":[513],"bordered":[1540],"titles":[32],"tabs":[32]},[[0,"calciteTabTitleRegister","calciteTabTitleRegister"],[16,"calciteTabTitleUnregister","calciteTabTitleUnregister"],[0,"calciteTabRegister","calciteTabRegister"],[16,"calciteTabUnregister","calciteTabUnregister"]]]]],["p-b3c5247b.system",[[1,"calcite-color-picker",{"allowEmpty":[4,"allow-empty"],"appearance":[513],"color":[1040],"disabled":[516],"format":[1],"hideHex":[4,"hide-hex"],"hideChannels":[4,"hide-channels"],"hideSaved":[4,"hide-saved"],"intlB":[1,"intl-b"],"intlBlue":[1,"intl-blue"],"intlDeleteColor":[1,"intl-delete-color"],"intlG":[1,"intl-g"],"intlGreen":[1,"intl-green"],"intlH":[1,"intl-h"],"intlHsv":[1,"intl-hsv"],"intlHex":[1,"intl-hex"],"intlHue":[1,"intl-hue"],"intlNoColor":[1,"intl-no-color"],"intlR":[1,"intl-r"],"intlRed":[1,"intl-red"],"intlRgb":[1,"intl-rgb"],"intlS":[1,"intl-s"],"intlSaturation":[1,"intl-saturation"],"intlSaveColor":[1,"intl-save-color"],"intlSaved":[1,"intl-saved"],"intlV":[1,"intl-v"],"intlValue":[1,"intl-value"],"scale":[513],"storageId":[1,"storage-id"],"value":[1025],"colorFieldAndSliderInteractive":[32],"channelMode":[32],"channels":[32],"dimensions":[32],"savedColors":[32],"colorFieldScopeTop":[32],"colorFieldScopeLeft":[32],"scopeOrientation":[32],"hueScopeLeft":[32],"hueScopeTop":[32],"setFocus":[64]},[[2,"keydown","handleChannelKeyUpOrDown"],[2,"keyup","handleChannelKeyUpOrDown"]]],[1,"calcite-color-picker-hex-input",{"allowEmpty":[4,"allow-empty"],"intlHex":[1,"intl-hex"],"intlNoColor":[1,"intl-no-color"],"scale":[513],"value":[1537],"internalColor":[32],"setFocus":[64]},[[2,"keydown","onInputKeyDown"]]],[1,"calcite-color-picker-swatch",{"active":[516],"color":[1],"scale":[513]}]]],["p-052ba882.system",[[1,"calcite-scrim",{"intlLoading":[1,"intl-loading"],"loading":[516]}]]],["p-ee522afa.system",[[1,"calcite-tooltip",{"label":[1],"offsetDistance":[514,"offset-distance"],"offsetSkidding":[514,"offset-skidding"],"open":[516],"overlayPositioning":[1,"overlay-positioning"],"placement":[513],"referenceElement":[1,"reference-element"],"effectiveReferenceElement":[32],"reposition":[64]}],[1,"calcite-tooltip-manager",{"selector":[1]},[[4,"keyup","keyUpHandler"],[3,"mouseover","mouseEnterShow"],[3,"mouseout","mouseLeaveHide"],[2,"click","clickHandler"],[2,"focus","focusShow"],[2,"blur","blurHide"]]]]],["p-4905189e.system",[[1,"calcite-popover-manager",{"selector":[1],"autoClose":[516,"auto-close"]},[[10,"click","closeOpenPopovers"]]],[1,"calcite-popover",{"closeButton":[516,"close-button"],"dismissible":[516],"disableFlip":[516,"disable-flip"],"disablePointer":[516,"disable-pointer"],"flipPlacements":[16],"heading":[1],"headingLevel":[2,"heading-level"],"label":[1],"offsetDistance":[514,"offset-distance"],"offsetSkidding":[514,"offset-skidding"],"open":[1540],"overlayPositioning":[1,"overlay-positioning"],"placement":[513],"referenceElement":[1,"reference-element"],"intlClose":[1,"intl-close"],"effectiveReferenceElement":[32],"reposition":[64],"setFocus":[64],"toggle":[64]}]]],["p-1aded388.system",[[1,"calcite-progress",{"type":[1],"value":[2],"label":[1],"text":[1],"reversed":[4]}]]],["p-b47dc903.system",[[1,"calcite-input",{"alignment":[513],"autofocus":[4],"clearable":[516],"disabled":[516],"groupSeparator":[4,"group-separator"],"hidden":[4],"icon":[520],"intlLoading":[1,"intl-loading"],"iconFlipRtl":[516,"icon-flip-rtl"],"label":[1],"loading":[516],"locale":[1],"localeFormat":[4,"locale-format"],"max":[514],"min":[514],"maxlength":[514],"maxLength":[514,"max-length"],"minLength":[514,"min-length"],"name":[513],"numberButtonType":[513,"number-button-type"],"placeholder":[1],"prefixText":[1,"prefix-text"],"readOnly":[4,"read-only"],"required":[4],"scale":[1537],"status":[1537],"step":[520],"suffixText":[1,"suffix-text"],"editingEnabled":[1540,"editing-enabled"],"type":[513],"value":[1025],"localizedValue":[32],"setFocus":[64]}]]],["p-9ad8c7c5.system",[[1,"calcite-date-picker",{"activeRange":[1,"active-range"],"value":[1025],"headingLevel":[2,"heading-level"],"valueAsDate":[1040],"startAsDate":[1040],"endAsDate":[1040],"minAsDate":[1040],"maxAsDate":[1040],"min":[1025],"max":[1025],"intlPrevMonth":[1,"intl-prev-month"],"intlNextMonth":[1,"intl-next-month"],"intlYear":[1,"intl-year"],"locale":[1],"scale":[513],"range":[516],"start":[1025],"end":[1025],"proximitySelectionDisabled":[4,"proximity-selection-disabled"],"activeDate":[32],"activeStartDate":[32],"activeEndDate":[32],"localeData":[32],"hoverRange":[32]}],[1,"calcite-date-picker-month",{"selectedDate":[16],"activeDate":[16],"startDate":[16],"endDate":[16],"min":[16],"max":[16],"scale":[513],"localeData":[16],"hoverRange":[16]},[[1,"mouseout","mouseoutHandler"]]],[1,"calcite-date-picker-month-header",{"selectedDate":[16],"activeDate":[16],"headingLevel":[2,"heading-level"],"min":[16],"max":[16],"locale":[1],"intlPrevMonth":[1,"intl-prev-month"],"intlNextMonth":[1,"intl-next-month"],"intlYear":[1,"intl-year"],"scale":[513],"localeData":[16],"nextMonthDate":[32],"prevMonthDate":[32]}],[1,"calcite-date-picker-day",{"day":[2],"disabled":[516],"currentMonth":[516,"current-month"],"selected":[516],"highlighted":[516],"range":[516],"startOfRange":[516,"start-of-range"],"endOfRange":[516,"end-of-range"],"rangeHover":[516,"range-hover"],"active":[516],"localeData":[16],"scale":[513],"value":[16]},[[1,"mouseover","mouseoverHandler"]]]]]]'),e)}))}}}));
@@ -1,5 +0,0 @@
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{a as sanitizeExponentialNumberString,b as sanitizeDecimalString}from"./number-8779395f.js";var locales=["ar","bg","bs","ca","cs","da","de","de-CH","el","en","en-AU","en-CA","en-GB","es","es-MX","et","fi","fr","fr-CH","he","hi","hr","hu","id","it","it-CH","ja","ko","lt","lv","mk","nb","nl","pl","pt","pt-PT","ro","ru","sk","sl","sr","sv","th","tr","uk","vi","zh-CN","zh-HK","zh-TW"];function createLocaleNumberFormatter(r){return new Intl.NumberFormat(r,{minimumFractionDigits:0,maximumFractionDigits:20})}function delocalizeNumberString(r,e){return sanitizeExponentialNumberString(r,(function(r){if(r){var t=getGroupSeparator(e);var a=getDecimalSeparator(e);var n=r.split("");var i=n.lastIndexOf(a);var u=n.map((function(r,e){if(r===t||r===a&&e!==i){return""}return r})).reduce((function(r,e){return r+e})).replace(a,".");return isNaN(Number(u))?r:u}return r}))}function getGroupSeparator(r){var e=createLocaleNumberFormatter(r);var t=e.formatToParts(1234567.8);var a=t.find((function(r){return r.type==="group"})).value;return a.trim().length===0?" ":a}function getDecimalSeparator(r){var e=createLocaleNumberFormatter(r);var t=e.formatToParts(1234567.8);var a=t.find((function(r){return r.type==="decimal"})).value;return a.trim().length===0?" ":a}function localizeNumberString(r,e,t){if(t===void 0){t=false}return sanitizeExponentialNumberString(r,(function(r){if(r){var a=Number(sanitizeDecimalString(r));if(!isNaN(a)){var n=createLocaleNumberFormatter(e);var i=n.formatToParts(a);var u=i.map((function(r){var a=r.type,n=r.value;switch(a){case"group":return t?getGroupSeparator(e):"";case"decimal":return getDecimalSeparator(e);default:return n}})).reduce((function(r,e){return r+e}));return u}return r}}))}export{locales as a,delocalizeNumberString as d,getDecimalSeparator as g,localizeNumberString as l};
@@ -1,5 +0,0 @@
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
- function isActivationKey(e){return e==="Enter"||e===" "}var numberKeys=["0","1","2","3","4","5","6","7","8","9"];function isValidNumber(e){return!(!e||isNaN(Number(e)))}function parseNumberString(e){if(!e||!stringContainsNumbers(e)){return""}return sanitizeExponentialNumberString(e,(function(e){var n=false;var r=e.split("").filter((function(e,r){if(e.match(/\./g)&&!n){n=true;return true}if(e.match(/\-/g)&&r===0){return true}return numberKeys.includes(e)})).reduce((function(e,n){return e+n}));return isValidNumber(r)?Number(r).toString():null}))}function sanitizeDecimalString(e){var n=/(?!^\.)\.$/;return e.replace(n,"")}function sanitizeNegativeString(e){var n=/(?!^-)-/g;return e.replace(n,"")}function sanitizeLeadingZeroString(e){var n=/^([-0])0+(?=\d)/;return e.replace(n,"$1")}function sanitizeNumberString(e){return sanitizeExponentialNumberString(e,(function(e){var n=sanitizeNegativeString(sanitizeDecimalString(sanitizeLeadingZeroString(e)));var r=/^-\b0\b\.?0*$/;return isValidNumber(n)?r.test(n)?n:Number(n).toString():e}))}function sanitizeExponentialNumberString(e,n){if(!e){return e}var r=e.toLowerCase().indexOf("e")+1;return e.replace(/[eE]*$/g,"").substring(0,r).concat(e.slice(r).replace(/[eE]/g,"")).split(/[eE]/).map((function(e,r){return r===1?n(e.replace(/\./g,"")):n(e)})).join("e").replace(/^e/,"1e")}function stringContainsNumbers(e){return numberKeys.some((function(n){return e.includes(n)}))}export{sanitizeExponentialNumberString as a,sanitizeDecimalString as b,isActivationKey as c,isValidNumber as i,numberKeys as n,parseNumberString as p,sanitizeNumberString as s};
@@ -1,11 +0,0 @@
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
- /**!
6
- * Sortable 1.14.0
7
- * @author RubaXa <trash@rubaxa.org>
8
- * @author owenm <owen23355@gmail.com>
9
- * @license MIT
10
- */
11
- function ownKeys(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);if(t){n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))}o.push.apply(o,n)}return o}function _objectSpread2(e){for(var t=1;t<arguments.length;t++){var o=arguments[t]!=null?arguments[t]:{};if(t%2){ownKeys(Object(o),true).forEach((function(t){_defineProperty(e,t,o[t])}))}else if(Object.getOwnPropertyDescriptors){Object.defineProperties(e,Object.getOwnPropertyDescriptors(o))}else{ownKeys(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}}return e}function _typeof(e){"@babel/helpers - typeof";if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"){_typeof=function(e){return typeof e}}else{_typeof=function(e){return e&&typeof Symbol==="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e}}return _typeof(e)}function _defineProperty(e,t,o){if(t in e){Object.defineProperty(e,t,{value:o,enumerable:true,configurable:true,writable:true})}else{e[t]=o}return e}function _extends(){_extends=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var n in o){if(Object.prototype.hasOwnProperty.call(o,n)){e[n]=o[n]}}}return e};return _extends.apply(this,arguments)}function _objectWithoutPropertiesLoose(e,t){if(e==null)return{};var o={};var n=Object.keys(e);var r,l;for(l=0;l<n.length;l++){r=n[l];if(t.indexOf(r)>=0)continue;o[r]=e[r]}return o}function _objectWithoutProperties(e,t){if(e==null)return{};var o=_objectWithoutPropertiesLoose(e,t);var n,r;if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(r=0;r<l.length;r++){n=l[r];if(t.indexOf(n)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(e,n))continue;o[n]=e[n]}}return o}var version="1.14.0";function userAgent(e){if(typeof window!=="undefined"&&window.navigator){return!!navigator.userAgent.match(e)}}var IE11OrLess=userAgent(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i);var Edge=userAgent(/Edge/i);var FireFox=userAgent(/firefox/i);var Safari=userAgent(/safari/i)&&!userAgent(/chrome/i)&&!userAgent(/android/i);var IOS=userAgent(/iP(ad|od|hone)/i);var ChromeForAndroid=userAgent(/chrome/i)&&userAgent(/android/i);var captureMode={capture:false,passive:false};function on(e,t,o){e.addEventListener(t,o,!IE11OrLess&&captureMode)}function off(e,t,o){e.removeEventListener(t,o,!IE11OrLess&&captureMode)}function matches(e,t){if(!t)return;t[0]===">"&&(t=t.substring(1));if(e){try{if(e.matches){return e.matches(t)}else if(e.msMatchesSelector){return e.msMatchesSelector(t)}else if(e.webkitMatchesSelector){return e.webkitMatchesSelector(t)}}catch(e){return false}}return false}function getParentOrHost(e){return e.host&&e!==document&&e.host.nodeType?e.host:e.parentNode}function closest(e,t,o,n){if(e){o=o||document;do{if(t!=null&&(t[0]===">"?e.parentNode===o&&matches(e,t):matches(e,t))||n&&e===o){return e}if(e===o)break}while(e=getParentOrHost(e))}return null}var R_SPACE=/\s+/g;function toggleClass(e,t,o){if(e&&t){if(e.classList){e.classList[o?"add":"remove"](t)}else{var n=(" "+e.className+" ").replace(R_SPACE," ").replace(" "+t+" "," ");e.className=(n+(o?" "+t:"")).replace(R_SPACE," ")}}}function css(e,t,o){var n=e&&e.style;if(n){if(o===void 0){if(document.defaultView&&document.defaultView.getComputedStyle){o=document.defaultView.getComputedStyle(e,"")}else if(e.currentStyle){o=e.currentStyle}return t===void 0?o:o[t]}else{if(!(t in n)&&t.indexOf("webkit")===-1){t="-webkit-"+t}n[t]=o+(typeof o==="string"?"":"px")}}}function matrix(e,t){var o="";if(typeof e==="string"){o=e}else{do{var n=css(e,"transform");if(n&&n!=="none"){o=n+" "+o}}while(!t&&(e=e.parentNode))}var r=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return r&&new r(o)}function find(e,t,o){if(e){var n=e.getElementsByTagName(t),r=0,l=n.length;if(o){for(;r<l;r++){o(n[r],r)}}return n}return[]}function getWindowScrollingElement(){var e=document.scrollingElement;if(e){return e}else{return document.documentElement}}function getRect(e,t,o,n,r){if(!e.getBoundingClientRect&&e!==window)return;var l,a,i,s,c,u,d;if(e!==window&&e.parentNode&&e!==getWindowScrollingElement()){l=e.getBoundingClientRect();a=l.top;i=l.left;s=l.bottom;c=l.right;u=l.height;d=l.width}else{a=0;i=0;s=window.innerHeight;c=window.innerWidth;u=window.innerHeight;d=window.innerWidth}if((t||o)&&e!==window){r=r||e.parentNode;if(!IE11OrLess){do{if(r&&r.getBoundingClientRect&&(css(r,"transform")!=="none"||o&&css(r,"position")!=="static")){var f=r.getBoundingClientRect();a-=f.top+parseInt(css(r,"border-top-width"));i-=f.left+parseInt(css(r,"border-left-width"));s=a+l.height;c=i+l.width;break}}while(r=r.parentNode)}}if(n&&e!==window){var g=matrix(r||e),h=g&&g.a,p=g&&g.d;if(g){a/=p;i/=h;d/=h;u/=p;s=a+u;c=i+d}}return{top:a,left:i,bottom:s,right:c,width:d,height:u}}function isScrolledPast(e,t,o){var n=getParentAutoScrollElement(e,true),r=getRect(e)[t];while(n){var l=getRect(n)[o],a=void 0;if(o==="top"||o==="left"){a=r>=l}else{a=r<=l}if(!a)return n;if(n===getWindowScrollingElement())break;n=getParentAutoScrollElement(n,false)}return false}function getChild(e,t,o,n){var r=0,l=0,a=e.children;while(l<a.length){if(a[l].style.display!=="none"&&a[l]!==Sortable.ghost&&(n||a[l]!==Sortable.dragged)&&closest(a[l],o.draggable,e,false)){if(r===t){return a[l]}r++}l++}return null}function lastChild(e,t){var o=e.lastElementChild;while(o&&(o===Sortable.ghost||css(o,"display")==="none"||t&&!matches(o,t))){o=o.previousElementSibling}return o||null}function index(e,t){var o=0;if(!e||!e.parentNode){return-1}while(e=e.previousElementSibling){if(e.nodeName.toUpperCase()!=="TEMPLATE"&&e!==Sortable.clone&&(!t||matches(e,t))){o++}}return o}function getRelativeScrollOffset(e){var t=0,o=0,n=getWindowScrollingElement();if(e){do{var r=matrix(e),l=r.a,a=r.d;t+=e.scrollLeft*l;o+=e.scrollTop*a}while(e!==n&&(e=e.parentNode))}return[t,o]}function indexOfObject(e,t){for(var o in e){if(!e.hasOwnProperty(o))continue;for(var n in t){if(t.hasOwnProperty(n)&&t[n]===e[o][n])return Number(o)}}return-1}function getParentAutoScrollElement(e,t){if(!e||!e.getBoundingClientRect)return getWindowScrollingElement();var o=e;var n=false;do{if(o.clientWidth<o.scrollWidth||o.clientHeight<o.scrollHeight){var r=css(o);if(o.clientWidth<o.scrollWidth&&(r.overflowX=="auto"||r.overflowX=="scroll")||o.clientHeight<o.scrollHeight&&(r.overflowY=="auto"||r.overflowY=="scroll")){if(!o.getBoundingClientRect||o===document.body)return getWindowScrollingElement();if(n||t)return o;n=true}}}while(o=o.parentNode);return getWindowScrollingElement()}function extend(e,t){if(e&&t){for(var o in t){if(t.hasOwnProperty(o)){e[o]=t[o]}}}return e}function isRectEqual(e,t){return Math.round(e.top)===Math.round(t.top)&&Math.round(e.left)===Math.round(t.left)&&Math.round(e.height)===Math.round(t.height)&&Math.round(e.width)===Math.round(t.width)}var _throttleTimeout;function throttle(e,t){return function(){if(!_throttleTimeout){var o=arguments,n=this;if(o.length===1){e.call(n,o[0])}else{e.apply(n,o)}_throttleTimeout=setTimeout((function(){_throttleTimeout=void 0}),t)}}}function cancelThrottle(){clearTimeout(_throttleTimeout);_throttleTimeout=void 0}function scrollBy(e,t,o){e.scrollLeft+=t;e.scrollTop+=o}function clone(e){var t=window.Polymer;var o=window.jQuery||window.Zepto;if(t&&t.dom){return t.dom(e).cloneNode(true)}else if(o){return o(e).clone(true)[0]}else{return e.cloneNode(true)}}var expando="Sortable"+(new Date).getTime();function AnimationStateManager(){var e=[],t;return{captureAnimationState:function t(){e=[];if(!this.options.animation)return;var o=[].slice.call(this.el.children);o.forEach((function(t){if(css(t,"display")==="none"||t===Sortable.ghost)return;e.push({target:t,rect:getRect(t)});var o=_objectSpread2({},e[e.length-1].rect);if(t.thisAnimationDuration){var n=matrix(t,true);if(n){o.top-=n.f;o.left-=n.e}}t.fromRect=o}))},addAnimationState:function t(o){e.push(o)},removeAnimationState:function t(o){e.splice(indexOfObject(e,{target:o}),1)},animateAll:function o(n){var r=this;if(!this.options.animation){clearTimeout(t);if(typeof n==="function")n();return}var l=false,a=0;e.forEach((function(e){var t=0,o=e.target,n=o.fromRect,i=getRect(o),s=o.prevFromRect,c=o.prevToRect,u=e.rect,d=matrix(o,true);if(d){i.top-=d.f;i.left-=d.e}o.toRect=i;if(o.thisAnimationDuration){if(isRectEqual(s,i)&&!isRectEqual(n,i)&&(u.top-i.top)/(u.left-i.left)===(n.top-i.top)/(n.left-i.left)){t=calculateRealTime(u,s,c,r.options)}}if(!isRectEqual(i,n)){o.prevFromRect=n;o.prevToRect=i;if(!t){t=r.options.animation}r.animate(o,u,i,t)}if(t){l=true;a=Math.max(a,t);clearTimeout(o.animationResetTimer);o.animationResetTimer=setTimeout((function(){o.animationTime=0;o.prevFromRect=null;o.fromRect=null;o.prevToRect=null;o.thisAnimationDuration=null}),t);o.thisAnimationDuration=t}}));clearTimeout(t);if(!l){if(typeof n==="function")n()}else{t=setTimeout((function(){if(typeof n==="function")n()}),a)}e=[]},animate:function e(t,o,n,r){if(r){css(t,"transition","");css(t,"transform","");var l=matrix(this.el),a=l&&l.a,i=l&&l.d,s=(o.left-n.left)/(a||1),c=(o.top-n.top)/(i||1);t.animatingX=!!s;t.animatingY=!!c;css(t,"transform","translate3d("+s+"px,"+c+"px,0)");this.forRepaintDummy=repaint(t);css(t,"transition","transform "+r+"ms"+(this.options.easing?" "+this.options.easing:""));css(t,"transform","translate3d(0,0,0)");typeof t.animated==="number"&&clearTimeout(t.animated);t.animated=setTimeout((function(){css(t,"transition","");css(t,"transform","");t.animated=false;t.animatingX=false;t.animatingY=false}),r)}}}}function repaint(e){return e.offsetWidth}function calculateRealTime(e,t,o,n){return Math.sqrt(Math.pow(t.top-e.top,2)+Math.pow(t.left-e.left,2))/Math.sqrt(Math.pow(t.top-o.top,2)+Math.pow(t.left-o.left,2))*n.animation}var plugins=[];var defaults={initializeByDefault:true};var PluginManager={mount:function e(t){for(var o in defaults){if(defaults.hasOwnProperty(o)&&!(o in t)){t[o]=defaults[o]}}plugins.forEach((function(e){if(e.pluginName===t.pluginName){throw"Sortable: Cannot mount plugin ".concat(t.pluginName," more than once")}}));plugins.push(t)},pluginEvent:function e(t,o,n){var r=this;this.eventCanceled=false;n.cancel=function(){r.eventCanceled=true};var l=t+"Global";plugins.forEach((function(e){if(!o[e.pluginName])return;if(o[e.pluginName][l]){o[e.pluginName][l](_objectSpread2({sortable:o},n))}if(o.options[e.pluginName]&&o[e.pluginName][t]){o[e.pluginName][t](_objectSpread2({sortable:o},n))}}))},initializePlugins:function e(t,o,n,r){plugins.forEach((function(e){var r=e.pluginName;if(!t.options[r]&&!e.initializeByDefault)return;var l=new e(t,o,t.options);l.sortable=t;l.options=t.options;t[r]=l;_extends(n,l.defaults)}));for(var l in t.options){if(!t.options.hasOwnProperty(l))continue;var a=this.modifyOption(t,l,t.options[l]);if(typeof a!=="undefined"){t.options[l]=a}}},getEventProperties:function e(t,o){var n={};plugins.forEach((function(e){if(typeof e.eventProperties!=="function")return;_extends(n,e.eventProperties.call(o[e.pluginName],t))}));return n},modifyOption:function e(t,o,n){var r;plugins.forEach((function(e){if(!t[e.pluginName])return;if(e.optionListeners&&typeof e.optionListeners[o]==="function"){r=e.optionListeners[o].call(t[e.pluginName],n)}}));return r}};function dispatchEvent(e){var t=e.sortable,o=e.rootEl,n=e.name,r=e.targetEl,l=e.cloneEl,a=e.toEl,i=e.fromEl,s=e.oldIndex,c=e.newIndex,u=e.oldDraggableIndex,d=e.newDraggableIndex,f=e.originalEvent,g=e.putSortable,h=e.extraEventProperties;t=t||o&&o[expando];if(!t)return;var p,v=t.options,E="on"+n.charAt(0).toUpperCase()+n.substr(1);if(window.CustomEvent&&!IE11OrLess&&!Edge){p=new CustomEvent(n,{bubbles:true,cancelable:true})}else{p=document.createEvent("Event");p.initEvent(n,true,true)}p.to=a||o;p.from=i||o;p.item=r||o;p.clone=l;p.oldIndex=s;p.newIndex=c;p.oldDraggableIndex=u;p.newDraggableIndex=d;p.originalEvent=f;p.pullMode=g?g.lastPutMode:undefined;var m=_objectSpread2(_objectSpread2({},h),PluginManager.getEventProperties(n,t));for(var b in m){p[b]=m[b]}if(o){o.dispatchEvent(p)}if(v[E]){v[E].call(t,p)}}var _excluded=["evt"];var pluginEvent=function e(t,o){var n=arguments.length>2&&arguments[2]!==undefined?arguments[2]:{},r=n.evt,l=_objectWithoutProperties(n,_excluded);PluginManager.pluginEvent.bind(Sortable)(t,o,_objectSpread2({dragEl:dragEl,parentEl:parentEl,ghostEl:ghostEl,rootEl:rootEl,nextEl:nextEl,lastDownEl:lastDownEl,cloneEl:cloneEl,cloneHidden:cloneHidden,dragStarted:moved,putSortable:putSortable,activeSortable:Sortable.active,originalEvent:r,oldIndex:oldIndex,oldDraggableIndex:oldDraggableIndex,newIndex:newIndex,newDraggableIndex:newDraggableIndex,hideGhostForTarget:_hideGhostForTarget,unhideGhostForTarget:_unhideGhostForTarget,cloneNowHidden:function e(){cloneHidden=true},cloneNowShown:function e(){cloneHidden=false},dispatchSortableEvent:function e(t){_dispatchEvent({sortable:o,name:t,originalEvent:r})}},l))};function _dispatchEvent(e){dispatchEvent(_objectSpread2({putSortable:putSortable,cloneEl:cloneEl,targetEl:dragEl,rootEl:rootEl,oldIndex:oldIndex,oldDraggableIndex:oldDraggableIndex,newIndex:newIndex,newDraggableIndex:newDraggableIndex},e))}var dragEl,parentEl,ghostEl,rootEl,nextEl,lastDownEl,cloneEl,cloneHidden,oldIndex,newIndex,oldDraggableIndex,newDraggableIndex,activeGroup,putSortable,awaitingDragStarted=false,ignoreNextClick=false,sortables=[],tapEvt,touchEvt,lastDx,lastDy,tapDistanceLeft,tapDistanceTop,moved,lastTarget,lastDirection,pastFirstInvertThresh=false,isCircumstantialInvert=false,targetMoveDistance,ghostRelativeParent,ghostRelativeParentInitialScroll=[],_silent=false,savedInputChecked=[];var documentExists=typeof document!=="undefined",PositionGhostAbsolutely=IOS,CSSFloatProperty=Edge||IE11OrLess?"cssFloat":"float",supportDraggable=documentExists&&!ChromeForAndroid&&!IOS&&"draggable"in document.createElement("div"),supportCssPointerEvents=function(){if(!documentExists)return;if(IE11OrLess){return false}var e=document.createElement("x");e.style.cssText="pointer-events:auto";return e.style.pointerEvents==="auto"}(),_detectDirection=function e(t,o){var n=css(t),r=parseInt(n.width)-parseInt(n.paddingLeft)-parseInt(n.paddingRight)-parseInt(n.borderLeftWidth)-parseInt(n.borderRightWidth),l=getChild(t,0,o),a=getChild(t,1,o),i=l&&css(l),s=a&&css(a),c=i&&parseInt(i.marginLeft)+parseInt(i.marginRight)+getRect(l).width,u=s&&parseInt(s.marginLeft)+parseInt(s.marginRight)+getRect(a).width;if(n.display==="flex"){return n.flexDirection==="column"||n.flexDirection==="column-reverse"?"vertical":"horizontal"}if(n.display==="grid"){return n.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal"}if(l&&i["float"]&&i["float"]!=="none"){var d=i["float"]==="left"?"left":"right";return a&&(s.clear==="both"||s.clear===d)?"vertical":"horizontal"}return l&&(i.display==="block"||i.display==="flex"||i.display==="table"||i.display==="grid"||c>=r&&n[CSSFloatProperty]==="none"||a&&n[CSSFloatProperty]==="none"&&c+u>r)?"vertical":"horizontal"},_dragElInRowColumn=function e(t,o,n){var r=n?t.left:t.top,l=n?t.right:t.bottom,a=n?t.width:t.height,i=n?o.left:o.top,s=n?o.right:o.bottom,c=n?o.width:o.height;return r===i||l===s||r+a/2===i+c/2},_detectNearestEmptySortable=function e(t,o){var n;sortables.some((function(e){var r=e[expando].options.emptyInsertThreshold;if(!r||lastChild(e))return;var l=getRect(e),a=t>=l.left-r&&t<=l.right+r,i=o>=l.top-r&&o<=l.bottom+r;if(a&&i){return n=e}}));return n},_prepareGroup=function e(t){function o(e,t){return function(n,r,l,a){var i=n.options.group.name&&r.options.group.name&&n.options.group.name===r.options.group.name;if(e==null&&(t||i)){return true}else if(e==null||e===false){return false}else if(t&&e==="clone"){return e}else if(typeof e==="function"){return o(e(n,r,l,a),t)(n,r,l,a)}else{var s=(t?n:r).options.group.name;return e===true||typeof e==="string"&&e===s||e.join&&e.indexOf(s)>-1}}}var n={};var r=t.group;if(!r||_typeof(r)!="object"){r={name:r}}n.name=r.name;n.checkPull=o(r.pull,true);n.checkPut=o(r.put);n.revertClone=r.revertClone;t.group=n},_hideGhostForTarget=function e(){if(!supportCssPointerEvents&&ghostEl){css(ghostEl,"display","none")}},_unhideGhostForTarget=function e(){if(!supportCssPointerEvents&&ghostEl){css(ghostEl,"display","")}};if(documentExists){document.addEventListener("click",(function(e){if(ignoreNextClick){e.preventDefault();e.stopPropagation&&e.stopPropagation();e.stopImmediatePropagation&&e.stopImmediatePropagation();ignoreNextClick=false;return false}}),true)}var nearestEmptyInsertDetectEvent=function e(t){if(dragEl){t=t.touches?t.touches[0]:t;var o=_detectNearestEmptySortable(t.clientX,t.clientY);if(o){var n={};for(var r in t){if(t.hasOwnProperty(r)){n[r]=t[r]}}n.target=n.rootEl=o;n.preventDefault=void 0;n.stopPropagation=void 0;o[expando]._onDragOver(n)}}};var _checkOutsideTargetEl=function e(t){if(dragEl){dragEl.parentNode[expando]._isOutsideThisEl(t.target)}};function Sortable(e,t){if(!(e&&e.nodeType&&e.nodeType===1)){throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(e))}this.el=e;this.options=t=_extends({},t);e[expando]=this;var o={group:null,sort:true,disabled:false,store:null,handle:null,draggable:/^[uo]l$/i.test(e.nodeName)?">li":">*",swapThreshold:1,invertSwap:false,invertedSwapThreshold:null,removeCloneOnHide:true,direction:function t(){return _detectDirection(e,this.options)},ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:true,animation:0,easing:null,setData:function e(t,o){t.setData("Text",o.textContent)},dropBubble:false,dragoverBubble:false,dataIdAttr:"data-id",delay:0,delayOnTouchOnly:false,touchStartThreshold:(Number.parseInt?Number:window).parseInt(window.devicePixelRatio,10)||1,forceFallback:false,fallbackClass:"sortable-fallback",fallbackOnBody:false,fallbackTolerance:0,fallbackOffset:{x:0,y:0},supportPointer:Sortable.supportPointer!==false&&"PointerEvent"in window&&!Safari,emptyInsertThreshold:5};PluginManager.initializePlugins(this,e,o);for(var n in o){!(n in t)&&(t[n]=o[n])}_prepareGroup(t);for(var r in this){if(r.charAt(0)==="_"&&typeof this[r]==="function"){this[r]=this[r].bind(this)}}this.nativeDraggable=t.forceFallback?false:supportDraggable;if(this.nativeDraggable){this.options.touchStartThreshold=1}if(t.supportPointer){on(e,"pointerdown",this._onTapStart)}else{on(e,"mousedown",this._onTapStart);on(e,"touchstart",this._onTapStart)}if(this.nativeDraggable){on(e,"dragover",this);on(e,"dragenter",this)}sortables.push(this.el);t.store&&t.store.get&&this.sort(t.store.get(this)||[]);_extends(this,AnimationStateManager())}Sortable.prototype={constructor:Sortable,_isOutsideThisEl:function e(t){if(!this.el.contains(t)&&t!==this.el){lastTarget=null}},_getDirection:function e(t,o){return typeof this.options.direction==="function"?this.options.direction.call(this,t,o,dragEl):this.options.direction},_onTapStart:function e(t){if(!t.cancelable)return;var o=this,n=this.el,r=this.options,l=r.preventOnFilter,a=t.type,i=t.touches&&t.touches[0]||t.pointerType&&t.pointerType==="touch"&&t,s=(i||t).target,c=t.target.shadowRoot&&(t.path&&t.path[0]||t.composedPath&&t.composedPath()[0])||s,u=r.filter;_saveInputCheckedState(n);if(dragEl){return}if(/mousedown|pointerdown/.test(a)&&t.button!==0||r.disabled){return}if(c.isContentEditable){return}if(!this.nativeDraggable&&Safari&&s&&s.tagName.toUpperCase()==="SELECT"){return}s=closest(s,r.draggable,n,false);if(s&&s.animated){return}if(lastDownEl===s){return}oldIndex=index(s);oldDraggableIndex=index(s,r.draggable);if(typeof u==="function"){if(u.call(this,t,s,this)){_dispatchEvent({sortable:o,rootEl:c,name:"filter",targetEl:s,toEl:n,fromEl:n});pluginEvent("filter",o,{evt:t});l&&t.cancelable&&t.preventDefault();return}}else if(u){u=u.split(",").some((function(e){e=closest(c,e.trim(),n,false);if(e){_dispatchEvent({sortable:o,rootEl:e,name:"filter",targetEl:s,fromEl:n,toEl:n});pluginEvent("filter",o,{evt:t});return true}}));if(u){l&&t.cancelable&&t.preventDefault();return}}if(r.handle&&!closest(c,r.handle,n,false)){return}this._prepareDragStart(t,i,s)},_prepareDragStart:function e(t,o,n){var r=this,l=r.el,a=r.options,i=l.ownerDocument,s;if(n&&!dragEl&&n.parentNode===l){var c=getRect(n);rootEl=l;dragEl=n;parentEl=dragEl.parentNode;nextEl=dragEl.nextSibling;lastDownEl=n;activeGroup=a.group;Sortable.dragged=dragEl;tapEvt={target:dragEl,clientX:(o||t).clientX,clientY:(o||t).clientY};tapDistanceLeft=tapEvt.clientX-c.left;tapDistanceTop=tapEvt.clientY-c.top;this._lastX=(o||t).clientX;this._lastY=(o||t).clientY;dragEl.style["will-change"]="all";s=function e(){pluginEvent("delayEnded",r,{evt:t});if(Sortable.eventCanceled){r._onDrop();return}r._disableDelayedDragEvents();if(!FireFox&&r.nativeDraggable){dragEl.draggable=true}r._triggerDragStart(t,o);_dispatchEvent({sortable:r,name:"choose",originalEvent:t});toggleClass(dragEl,a.chosenClass,true)};a.ignore.split(",").forEach((function(e){find(dragEl,e.trim(),_disableDraggable)}));on(i,"dragover",nearestEmptyInsertDetectEvent);on(i,"mousemove",nearestEmptyInsertDetectEvent);on(i,"touchmove",nearestEmptyInsertDetectEvent);on(i,"mouseup",r._onDrop);on(i,"touchend",r._onDrop);on(i,"touchcancel",r._onDrop);if(FireFox&&this.nativeDraggable){this.options.touchStartThreshold=4;dragEl.draggable=true}pluginEvent("delayStart",this,{evt:t});if(a.delay&&(!a.delayOnTouchOnly||o)&&(!this.nativeDraggable||!(Edge||IE11OrLess))){if(Sortable.eventCanceled){this._onDrop();return}on(i,"mouseup",r._disableDelayedDrag);on(i,"touchend",r._disableDelayedDrag);on(i,"touchcancel",r._disableDelayedDrag);on(i,"mousemove",r._delayedDragTouchMoveHandler);on(i,"touchmove",r._delayedDragTouchMoveHandler);a.supportPointer&&on(i,"pointermove",r._delayedDragTouchMoveHandler);r._dragStartTimer=setTimeout(s,a.delay)}else{s()}}},_delayedDragTouchMoveHandler:function e(t){var o=t.touches?t.touches[0]:t;if(Math.max(Math.abs(o.clientX-this._lastX),Math.abs(o.clientY-this._lastY))>=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))){this._disableDelayedDrag()}},_disableDelayedDrag:function e(){dragEl&&_disableDraggable(dragEl);clearTimeout(this._dragStartTimer);this._disableDelayedDragEvents()},_disableDelayedDragEvents:function e(){var t=this.el.ownerDocument;off(t,"mouseup",this._disableDelayedDrag);off(t,"touchend",this._disableDelayedDrag);off(t,"touchcancel",this._disableDelayedDrag);off(t,"mousemove",this._delayedDragTouchMoveHandler);off(t,"touchmove",this._delayedDragTouchMoveHandler);off(t,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function e(t,o){o=o||t.pointerType=="touch"&&t;if(!this.nativeDraggable||o){if(this.options.supportPointer){on(document,"pointermove",this._onTouchMove)}else if(o){on(document,"touchmove",this._onTouchMove)}else{on(document,"mousemove",this._onTouchMove)}}else{on(dragEl,"dragend",this);on(rootEl,"dragstart",this._onDragStart)}try{if(document.selection){_nextTick((function(){document.selection.empty()}))}else{window.getSelection().removeAllRanges()}}catch(e){}},_dragStarted:function e(t,o){awaitingDragStarted=false;if(rootEl&&dragEl){pluginEvent("dragStarted",this,{evt:o});if(this.nativeDraggable){on(document,"dragover",_checkOutsideTargetEl)}var n=this.options;!t&&toggleClass(dragEl,n.dragClass,false);toggleClass(dragEl,n.ghostClass,true);Sortable.active=this;t&&this._appendGhost();_dispatchEvent({sortable:this,name:"start",originalEvent:o})}else{this._nulling()}},_emulateDragOver:function e(){if(touchEvt){this._lastX=touchEvt.clientX;this._lastY=touchEvt.clientY;_hideGhostForTarget();var t=document.elementFromPoint(touchEvt.clientX,touchEvt.clientY);var o=t;while(t&&t.shadowRoot){t=t.shadowRoot.elementFromPoint(touchEvt.clientX,touchEvt.clientY);if(t===o)break;o=t}dragEl.parentNode[expando]._isOutsideThisEl(t);if(o){do{if(o[expando]){var n=void 0;n=o[expando]._onDragOver({clientX:touchEvt.clientX,clientY:touchEvt.clientY,target:t,rootEl:o});if(n&&!this.options.dragoverBubble){break}}t=o}while(o=o.parentNode)}_unhideGhostForTarget()}},_onTouchMove:function e(t){if(tapEvt){var o=this.options,n=o.fallbackTolerance,r=o.fallbackOffset,l=t.touches?t.touches[0]:t,a=ghostEl&&matrix(ghostEl,true),i=ghostEl&&a&&a.a,s=ghostEl&&a&&a.d,c=PositionGhostAbsolutely&&ghostRelativeParent&&getRelativeScrollOffset(ghostRelativeParent),u=(l.clientX-tapEvt.clientX+r.x)/(i||1)+(c?c[0]-ghostRelativeParentInitialScroll[0]:0)/(i||1),d=(l.clientY-tapEvt.clientY+r.y)/(s||1)+(c?c[1]-ghostRelativeParentInitialScroll[1]:0)/(s||1);if(!Sortable.active&&!awaitingDragStarted){if(n&&Math.max(Math.abs(l.clientX-this._lastX),Math.abs(l.clientY-this._lastY))<n){return}this._onDragStart(t,true)}if(ghostEl){if(a){a.e+=u-(lastDx||0);a.f+=d-(lastDy||0)}else{a={a:1,b:0,c:0,d:1,e:u,f:d}}var f="matrix(".concat(a.a,",").concat(a.b,",").concat(a.c,",").concat(a.d,",").concat(a.e,",").concat(a.f,")");css(ghostEl,"webkitTransform",f);css(ghostEl,"mozTransform",f);css(ghostEl,"msTransform",f);css(ghostEl,"transform",f);lastDx=u;lastDy=d;touchEvt=l}t.cancelable&&t.preventDefault()}},_appendGhost:function e(){if(!ghostEl){var t=this.options.fallbackOnBody?document.body:rootEl,o=getRect(dragEl,true,PositionGhostAbsolutely,true,t),n=this.options;if(PositionGhostAbsolutely){ghostRelativeParent=t;while(css(ghostRelativeParent,"position")==="static"&&css(ghostRelativeParent,"transform")==="none"&&ghostRelativeParent!==document){ghostRelativeParent=ghostRelativeParent.parentNode}if(ghostRelativeParent!==document.body&&ghostRelativeParent!==document.documentElement){if(ghostRelativeParent===document)ghostRelativeParent=getWindowScrollingElement();o.top+=ghostRelativeParent.scrollTop;o.left+=ghostRelativeParent.scrollLeft}else{ghostRelativeParent=getWindowScrollingElement()}ghostRelativeParentInitialScroll=getRelativeScrollOffset(ghostRelativeParent)}ghostEl=dragEl.cloneNode(true);toggleClass(ghostEl,n.ghostClass,false);toggleClass(ghostEl,n.fallbackClass,true);toggleClass(ghostEl,n.dragClass,true);css(ghostEl,"transition","");css(ghostEl,"transform","");css(ghostEl,"box-sizing","border-box");css(ghostEl,"margin",0);css(ghostEl,"top",o.top);css(ghostEl,"left",o.left);css(ghostEl,"width",o.width);css(ghostEl,"height",o.height);css(ghostEl,"opacity","0.8");css(ghostEl,"position",PositionGhostAbsolutely?"absolute":"fixed");css(ghostEl,"zIndex","100000");css(ghostEl,"pointerEvents","none");Sortable.ghost=ghostEl;t.appendChild(ghostEl);css(ghostEl,"transform-origin",tapDistanceLeft/parseInt(ghostEl.style.width)*100+"% "+tapDistanceTop/parseInt(ghostEl.style.height)*100+"%")}},_onDragStart:function e(t,o){var n=this;var r=t.dataTransfer;var l=n.options;pluginEvent("dragStart",this,{evt:t});if(Sortable.eventCanceled){this._onDrop();return}pluginEvent("setupClone",this);if(!Sortable.eventCanceled){cloneEl=clone(dragEl);cloneEl.draggable=false;cloneEl.style["will-change"]="";this._hideClone();toggleClass(cloneEl,this.options.chosenClass,false);Sortable.clone=cloneEl}n.cloneId=_nextTick((function(){pluginEvent("clone",n);if(Sortable.eventCanceled)return;if(!n.options.removeCloneOnHide){rootEl.insertBefore(cloneEl,dragEl)}n._hideClone();_dispatchEvent({sortable:n,name:"clone"})}));!o&&toggleClass(dragEl,l.dragClass,true);if(o){ignoreNextClick=true;n._loopId=setInterval(n._emulateDragOver,50)}else{off(document,"mouseup",n._onDrop);off(document,"touchend",n._onDrop);off(document,"touchcancel",n._onDrop);if(r){r.effectAllowed="move";l.setData&&l.setData.call(n,r,dragEl)}on(document,"drop",n);css(dragEl,"transform","translateZ(0)")}awaitingDragStarted=true;n._dragStartId=_nextTick(n._dragStarted.bind(n,o,t));on(document,"selectstart",n);moved=true;if(Safari){css(document.body,"user-select","none")}},_onDragOver:function e(t){var o=this.el,n=t.target,r,l,a,i=this.options,s=i.group,c=Sortable.active,u=activeGroup===s,d=i.sort,f=putSortable||c,g,h=this,p=false;if(_silent)return;function v(e,i){pluginEvent(e,h,_objectSpread2({evt:t,isOwner:u,axis:g?"vertical":"horizontal",revert:a,dragRect:r,targetRect:l,canSort:d,fromSortable:f,target:n,completed:m,onMove:function e(n,l){return _onMove(rootEl,o,dragEl,r,n,getRect(n),t,l)},changed:b},i))}function E(){v("dragOverAnimationCapture");h.captureAnimationState();if(h!==f){f.captureAnimationState()}}function m(e){v("dragOverCompleted",{insertion:e});if(e){if(u){c._hideClone()}else{c._showClone(h)}if(h!==f){toggleClass(dragEl,putSortable?putSortable.options.ghostClass:c.options.ghostClass,false);toggleClass(dragEl,i.ghostClass,true)}if(putSortable!==h&&h!==Sortable.active){putSortable=h}else if(h===Sortable.active&&putSortable){putSortable=null}if(f===h){h._ignoreWhileAnimating=n}h.animateAll((function(){v("dragOverAnimationComplete");h._ignoreWhileAnimating=null}));if(h!==f){f.animateAll();f._ignoreWhileAnimating=null}}if(n===dragEl&&!dragEl.animated||n===o&&!n.animated){lastTarget=null}if(!i.dragoverBubble&&!t.rootEl&&n!==document){dragEl.parentNode[expando]._isOutsideThisEl(t.target);!e&&nearestEmptyInsertDetectEvent(t)}!i.dragoverBubble&&t.stopPropagation&&t.stopPropagation();return p=true}function b(){newIndex=index(dragEl);newDraggableIndex=index(dragEl,i.draggable);_dispatchEvent({sortable:h,name:"change",toEl:o,newIndex:newIndex,newDraggableIndex:newDraggableIndex,originalEvent:t})}if(t.preventDefault!==void 0){t.cancelable&&t.preventDefault()}n=closest(n,i.draggable,o,true);v("dragOver");if(Sortable.eventCanceled)return p;if(dragEl.contains(t.target)||n.animated&&n.animatingX&&n.animatingY||h._ignoreWhileAnimating===n){return m(false)}ignoreNextClick=false;if(c&&!i.disabled&&(u?d||(a=parentEl!==rootEl):putSortable===this||(this.lastPutMode=activeGroup.checkPull(this,c,dragEl,t))&&s.checkPut(this,c,dragEl,t))){g=this._getDirection(t,n)==="vertical";r=getRect(dragEl);v("dragOverValid");if(Sortable.eventCanceled)return p;if(a){parentEl=rootEl;E();this._hideClone();v("revert");if(!Sortable.eventCanceled){if(nextEl){rootEl.insertBefore(dragEl,nextEl)}else{rootEl.appendChild(dragEl)}}return m(true)}var S=lastChild(o,i.draggable);if(!S||_ghostIsLast(t,g,this)&&!S.animated){if(S===dragEl){return m(false)}if(S&&o===t.target){n=S}if(n){l=getRect(n)}if(_onMove(rootEl,o,dragEl,r,n,l,t,!!n)!==false){E();o.appendChild(dragEl);parentEl=o;b();return m(true)}}else if(S&&_ghostIsFirst(t,g,this)){var _=getChild(o,0,i,true);if(_===dragEl){return m(false)}n=_;l=getRect(n);if(_onMove(rootEl,o,dragEl,r,n,l,t,false)!==false){E();o.insertBefore(dragEl,_);parentEl=o;b();return m(true)}}else if(n.parentNode===o){l=getRect(n);var w=0,y,D=dragEl.parentNode!==o,x=!_dragElInRowColumn(dragEl.animated&&dragEl.toRect||r,n.animated&&n.toRect||l,g),I=g?"top":"left",C=isScrolledPast(n,"top","top")||isScrolledPast(dragEl,"top","top"),T=C?C.scrollTop:void 0;if(lastTarget!==n){y=l[I];pastFirstInvertThresh=false;isCircumstantialInvert=!x&&i.invertSwap||D}w=_getSwapDirection(t,n,l,g,x?1:i.swapThreshold,i.invertedSwapThreshold==null?i.swapThreshold:i.invertedSwapThreshold,isCircumstantialInvert,lastTarget===n);var P;if(w!==0){var A=index(dragEl);do{A-=w;P=parentEl.children[A]}while(P&&(css(P,"display")==="none"||P===ghostEl))}if(w===0||P===n){return m(false)}lastTarget=n;lastDirection=w;var R=n.nextElementSibling,O=false;O=w===1;var M=_onMove(rootEl,o,dragEl,r,n,l,t,O);if(M!==false){if(M===1||M===-1){O=M===1}_silent=true;setTimeout(_unsilent,30);E();if(O&&!R){o.appendChild(dragEl)}else{n.parentNode.insertBefore(dragEl,O?R:n)}if(C){scrollBy(C,0,T-C.scrollTop)}parentEl=dragEl.parentNode;if(y!==undefined&&!isCircumstantialInvert){targetMoveDistance=Math.abs(y-getRect(n)[I])}b();return m(true)}}if(o.contains(dragEl)){return m(false)}}return false},_ignoreWhileAnimating:null,_offMoveEvents:function e(){off(document,"mousemove",this._onTouchMove);off(document,"touchmove",this._onTouchMove);off(document,"pointermove",this._onTouchMove);off(document,"dragover",nearestEmptyInsertDetectEvent);off(document,"mousemove",nearestEmptyInsertDetectEvent);off(document,"touchmove",nearestEmptyInsertDetectEvent)},_offUpEvents:function e(){var t=this.el.ownerDocument;off(t,"mouseup",this._onDrop);off(t,"touchend",this._onDrop);off(t,"pointerup",this._onDrop);off(t,"touchcancel",this._onDrop);off(document,"selectstart",this)},_onDrop:function e(t){var o=this.el,n=this.options;newIndex=index(dragEl);newDraggableIndex=index(dragEl,n.draggable);pluginEvent("drop",this,{evt:t});parentEl=dragEl&&dragEl.parentNode;newIndex=index(dragEl);newDraggableIndex=index(dragEl,n.draggable);if(Sortable.eventCanceled){this._nulling();return}awaitingDragStarted=false;isCircumstantialInvert=false;pastFirstInvertThresh=false;clearInterval(this._loopId);clearTimeout(this._dragStartTimer);_cancelNextTick(this.cloneId);_cancelNextTick(this._dragStartId);if(this.nativeDraggable){off(document,"drop",this);off(o,"dragstart",this._onDragStart)}this._offMoveEvents();this._offUpEvents();if(Safari){css(document.body,"user-select","")}css(dragEl,"transform","");if(t){if(moved){t.cancelable&&t.preventDefault();!n.dropBubble&&t.stopPropagation()}ghostEl&&ghostEl.parentNode&&ghostEl.parentNode.removeChild(ghostEl);if(rootEl===parentEl||putSortable&&putSortable.lastPutMode!=="clone"){cloneEl&&cloneEl.parentNode&&cloneEl.parentNode.removeChild(cloneEl)}if(dragEl){if(this.nativeDraggable){off(dragEl,"dragend",this)}_disableDraggable(dragEl);dragEl.style["will-change"]="";if(moved&&!awaitingDragStarted){toggleClass(dragEl,putSortable?putSortable.options.ghostClass:this.options.ghostClass,false)}toggleClass(dragEl,this.options.chosenClass,false);_dispatchEvent({sortable:this,name:"unchoose",toEl:parentEl,newIndex:null,newDraggableIndex:null,originalEvent:t});if(rootEl!==parentEl){if(newIndex>=0){_dispatchEvent({rootEl:parentEl,name:"add",toEl:parentEl,fromEl:rootEl,originalEvent:t});_dispatchEvent({sortable:this,name:"remove",toEl:parentEl,originalEvent:t});_dispatchEvent({rootEl:parentEl,name:"sort",toEl:parentEl,fromEl:rootEl,originalEvent:t});_dispatchEvent({sortable:this,name:"sort",toEl:parentEl,originalEvent:t})}putSortable&&putSortable.save()}else{if(newIndex!==oldIndex){if(newIndex>=0){_dispatchEvent({sortable:this,name:"update",toEl:parentEl,originalEvent:t});_dispatchEvent({sortable:this,name:"sort",toEl:parentEl,originalEvent:t})}}}if(Sortable.active){if(newIndex==null||newIndex===-1){newIndex=oldIndex;newDraggableIndex=oldDraggableIndex}_dispatchEvent({sortable:this,name:"end",toEl:parentEl,originalEvent:t});this.save()}}}this._nulling()},_nulling:function e(){pluginEvent("nulling",this);rootEl=dragEl=parentEl=ghostEl=nextEl=cloneEl=lastDownEl=cloneHidden=tapEvt=touchEvt=moved=newIndex=newDraggableIndex=oldIndex=oldDraggableIndex=lastTarget=lastDirection=putSortable=activeGroup=Sortable.dragged=Sortable.ghost=Sortable.clone=Sortable.active=null;savedInputChecked.forEach((function(e){e.checked=true}));savedInputChecked.length=lastDx=lastDy=0},handleEvent:function e(t){switch(t.type){case"drop":case"dragend":this._onDrop(t);break;case"dragenter":case"dragover":if(dragEl){this._onDragOver(t);_globalDragOver(t)}break;case"selectstart":t.preventDefault();break}},toArray:function e(){var t=[],o,n=this.el.children,r=0,l=n.length,a=this.options;for(;r<l;r++){o=n[r];if(closest(o,a.draggable,this.el,false)){t.push(o.getAttribute(a.dataIdAttr)||_generateId(o))}}return t},sort:function e(t,o){var n={},r=this.el;this.toArray().forEach((function(e,t){var o=r.children[t];if(closest(o,this.options.draggable,r,false)){n[e]=o}}),this);o&&this.captureAnimationState();t.forEach((function(e){if(n[e]){r.removeChild(n[e]);r.appendChild(n[e])}}));o&&this.animateAll()},save:function e(){var t=this.options.store;t&&t.set&&t.set(this)},closest:function e(t,o){return closest(t,o||this.options.draggable,this.el,false)},option:function e(t,o){var n=this.options;if(o===void 0){return n[t]}else{var r=PluginManager.modifyOption(this,t,o);if(typeof r!=="undefined"){n[t]=r}else{n[t]=o}if(t==="group"){_prepareGroup(n)}}},destroy:function e(){pluginEvent("destroy",this);var t=this.el;t[expando]=null;off(t,"mousedown",this._onTapStart);off(t,"touchstart",this._onTapStart);off(t,"pointerdown",this._onTapStart);if(this.nativeDraggable){off(t,"dragover",this);off(t,"dragenter",this)}Array.prototype.forEach.call(t.querySelectorAll("[draggable]"),(function(e){e.removeAttribute("draggable")}));this._onDrop();this._disableDelayedDragEvents();sortables.splice(sortables.indexOf(this.el),1);this.el=t=null},_hideClone:function e(){if(!cloneHidden){pluginEvent("hideClone",this);if(Sortable.eventCanceled)return;css(cloneEl,"display","none");if(this.options.removeCloneOnHide&&cloneEl.parentNode){cloneEl.parentNode.removeChild(cloneEl)}cloneHidden=true}},_showClone:function e(t){if(t.lastPutMode!=="clone"){this._hideClone();return}if(cloneHidden){pluginEvent("showClone",this);if(Sortable.eventCanceled)return;if(dragEl.parentNode==rootEl&&!this.options.group.revertClone){rootEl.insertBefore(cloneEl,dragEl)}else if(nextEl){rootEl.insertBefore(cloneEl,nextEl)}else{rootEl.appendChild(cloneEl)}if(this.options.group.revertClone){this.animate(dragEl,cloneEl)}css(cloneEl,"display","");cloneHidden=false}}};function _globalDragOver(e){if(e.dataTransfer){e.dataTransfer.dropEffect="move"}e.cancelable&&e.preventDefault()}function _onMove(e,t,o,n,r,l,a,i){var s,c=e[expando],u=c.options.onMove,d;if(window.CustomEvent&&!IE11OrLess&&!Edge){s=new CustomEvent("move",{bubbles:true,cancelable:true})}else{s=document.createEvent("Event");s.initEvent("move",true,true)}s.to=t;s.from=e;s.dragged=o;s.draggedRect=n;s.related=r||t;s.relatedRect=l||getRect(t);s.willInsertAfter=i;s.originalEvent=a;e.dispatchEvent(s);if(u){d=u.call(c,s,a)}return d}function _disableDraggable(e){e.draggable=false}function _unsilent(){_silent=false}function _ghostIsFirst(e,t,o){var n=getRect(getChild(o.el,0,o.options,true));var r=10;return t?e.clientX<n.left-r||e.clientY<n.top&&e.clientX<n.right:e.clientY<n.top-r||e.clientY<n.bottom&&e.clientX<n.left}function _ghostIsLast(e,t,o){var n=getRect(lastChild(o.el,o.options.draggable));var r=10;return t?e.clientX>n.right+r||e.clientX<=n.right&&e.clientY>n.bottom&&e.clientX>=n.left:e.clientX>n.right&&e.clientY>n.top||e.clientX<=n.right&&e.clientY>n.bottom+r}function _getSwapDirection(e,t,o,n,r,l,a,i){var s=n?e.clientY:e.clientX,c=n?o.height:o.width,u=n?o.top:o.left,d=n?o.bottom:o.right,f=false;if(!a){if(i&&targetMoveDistance<c*r){if(!pastFirstInvertThresh&&(lastDirection===1?s>u+c*l/2:s<d-c*l/2)){pastFirstInvertThresh=true}if(!pastFirstInvertThresh){if(lastDirection===1?s<u+targetMoveDistance:s>d-targetMoveDistance){return-lastDirection}}else{f=true}}else{if(s>u+c*(1-r)/2&&s<d-c*(1-r)/2){return _getInsertDirection(t)}}}f=f||a;if(f){if(s<u+c*l/2||s>d-c*l/2){return s>u+c/2?1:-1}}return 0}function _getInsertDirection(e){if(index(dragEl)<index(e)){return 1}else{return-1}}function _generateId(e){var t=e.tagName+e.className+e.src+e.href+e.textContent,o=t.length,n=0;while(o--){n+=t.charCodeAt(o)}return n.toString(36)}function _saveInputCheckedState(e){savedInputChecked.length=0;var t=e.getElementsByTagName("input");var o=t.length;while(o--){var n=t[o];n.checked&&savedInputChecked.push(n)}}function _nextTick(e){return setTimeout(e,0)}function _cancelNextTick(e){return clearTimeout(e)}if(documentExists){on(document,"touchmove",(function(e){if((Sortable.active||awaitingDragStarted)&&e.cancelable){e.preventDefault()}}))}Sortable.utils={on:on,off:off,css:css,find:find,is:function e(t,o){return!!closest(t,o,t,false)},extend:extend,throttle:throttle,closest:closest,toggleClass:toggleClass,clone:clone,index:index,nextTick:_nextTick,cancelNextTick:_cancelNextTick,detectDirection:_detectDirection,getChild:getChild};Sortable.get=function(e){return e[expando]};Sortable.mount=function(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++){t[o]=arguments[o]}if(t[0].constructor===Array)t=t[0];t.forEach((function(e){if(!e.prototype||!e.prototype.constructor){throw"Sortable: Mounted plugin must be a constructor function, not ".concat({}.toString.call(e))}if(e.utils)Sortable.utils=_objectSpread2(_objectSpread2({},Sortable.utils),e.utils);PluginManager.mount(e)}))};Sortable.create=function(e,t){return new Sortable(e,t)};Sortable.version=version;var autoScrolls=[],scrollEl,scrollRootEl,scrolling=false,lastAutoScrollX,lastAutoScrollY,touchEvt$1,pointerElemChangedInterval;function AutoScrollPlugin(){function e(){this.defaults={scroll:true,forceAutoScrollFallback:false,scrollSensitivity:30,scrollSpeed:10,bubbleScroll:true};for(var e in this){if(e.charAt(0)==="_"&&typeof this[e]==="function"){this[e]=this[e].bind(this)}}}e.prototype={dragStarted:function e(t){var o=t.originalEvent;if(this.sortable.nativeDraggable){on(document,"dragover",this._handleAutoScroll)}else{if(this.options.supportPointer){on(document,"pointermove",this._handleFallbackAutoScroll)}else if(o.touches){on(document,"touchmove",this._handleFallbackAutoScroll)}else{on(document,"mousemove",this._handleFallbackAutoScroll)}}},dragOverCompleted:function e(t){var o=t.originalEvent;if(!this.options.dragOverBubble&&!o.rootEl){this._handleAutoScroll(o)}},drop:function e(){if(this.sortable.nativeDraggable){off(document,"dragover",this._handleAutoScroll)}else{off(document,"pointermove",this._handleFallbackAutoScroll);off(document,"touchmove",this._handleFallbackAutoScroll);off(document,"mousemove",this._handleFallbackAutoScroll)}clearPointerElemChangedInterval();clearAutoScrolls();cancelThrottle()},nulling:function e(){touchEvt$1=scrollRootEl=scrollEl=scrolling=pointerElemChangedInterval=lastAutoScrollX=lastAutoScrollY=null;autoScrolls.length=0},_handleFallbackAutoScroll:function e(t){this._handleAutoScroll(t,true)},_handleAutoScroll:function e(t,o){var n=this;var r=(t.touches?t.touches[0]:t).clientX,l=(t.touches?t.touches[0]:t).clientY,a=document.elementFromPoint(r,l);touchEvt$1=t;if(o||this.options.forceAutoScrollFallback||Edge||IE11OrLess||Safari){autoScroll(t,this.options,a,o);var i=getParentAutoScrollElement(a,true);if(scrolling&&(!pointerElemChangedInterval||r!==lastAutoScrollX||l!==lastAutoScrollY)){pointerElemChangedInterval&&clearPointerElemChangedInterval();pointerElemChangedInterval=setInterval((function(){var e=getParentAutoScrollElement(document.elementFromPoint(r,l),true);if(e!==i){i=e;clearAutoScrolls()}autoScroll(t,n.options,e,o)}),10);lastAutoScrollX=r;lastAutoScrollY=l}}else{if(!this.options.bubbleScroll||getParentAutoScrollElement(a,true)===getWindowScrollingElement()){clearAutoScrolls();return}autoScroll(t,this.options,getParentAutoScrollElement(a,false),false)}}};return _extends(e,{pluginName:"scroll",initializeByDefault:true})}function clearAutoScrolls(){autoScrolls.forEach((function(e){clearInterval(e.pid)}));autoScrolls=[]}function clearPointerElemChangedInterval(){clearInterval(pointerElemChangedInterval)}var autoScroll=throttle((function(e,t,o,n){if(!t.scroll)return;var r=(e.touches?e.touches[0]:e).clientX,l=(e.touches?e.touches[0]:e).clientY,a=t.scrollSensitivity,i=t.scrollSpeed,s=getWindowScrollingElement();var c=false,u;if(scrollRootEl!==o){scrollRootEl=o;clearAutoScrolls();scrollEl=t.scroll;u=t.scrollFn;if(scrollEl===true){scrollEl=getParentAutoScrollElement(o,true)}}var d=0;var f=scrollEl;do{var g=f,h=getRect(g),p=h.top,v=h.bottom,E=h.left,m=h.right,b=h.width,S=h.height,_=void 0,w=void 0,y=g.scrollWidth,D=g.scrollHeight,x=css(g),I=g.scrollLeft,C=g.scrollTop;if(g===s){_=b<y&&(x.overflowX==="auto"||x.overflowX==="scroll"||x.overflowX==="visible");w=S<D&&(x.overflowY==="auto"||x.overflowY==="scroll"||x.overflowY==="visible")}else{_=b<y&&(x.overflowX==="auto"||x.overflowX==="scroll");w=S<D&&(x.overflowY==="auto"||x.overflowY==="scroll")}var T=_&&(Math.abs(m-r)<=a&&I+b<y)-(Math.abs(E-r)<=a&&!!I);var P=w&&(Math.abs(v-l)<=a&&C+S<D)-(Math.abs(p-l)<=a&&!!C);if(!autoScrolls[d]){for(var A=0;A<=d;A++){if(!autoScrolls[A]){autoScrolls[A]={}}}}if(autoScrolls[d].vx!=T||autoScrolls[d].vy!=P||autoScrolls[d].el!==g){autoScrolls[d].el=g;autoScrolls[d].vx=T;autoScrolls[d].vy=P;clearInterval(autoScrolls[d].pid);if(T!=0||P!=0){c=true;autoScrolls[d].pid=setInterval(function(){if(n&&this.layer===0){Sortable.active._onTouchMove(touchEvt$1)}var t=autoScrolls[this.layer].vy?autoScrolls[this.layer].vy*i:0;var o=autoScrolls[this.layer].vx?autoScrolls[this.layer].vx*i:0;if(typeof u==="function"){if(u.call(Sortable.dragged.parentNode[expando],o,t,e,touchEvt$1,autoScrolls[this.layer].el)!=="continue"){return}}scrollBy(autoScrolls[this.layer].el,o,t)}.bind({layer:d}),24)}}d++}while(t.bubbleScroll&&f!==s&&(f=getParentAutoScrollElement(f,false)));scrolling=c}),30);var drop=function e(t){var o=t.originalEvent,n=t.putSortable,r=t.dragEl,l=t.activeSortable,a=t.dispatchSortableEvent,i=t.hideGhostForTarget,s=t.unhideGhostForTarget;if(!o)return;var c=n||l;i();var u=o.changedTouches&&o.changedTouches.length?o.changedTouches[0]:o;var d=document.elementFromPoint(u.clientX,u.clientY);s();if(c&&!c.el.contains(d)){a("spill");this.onSpill({dragEl:r,putSortable:n})}};function Revert(){}Revert.prototype={startIndex:null,dragStart:function e(t){var o=t.oldDraggableIndex;this.startIndex=o},onSpill:function e(t){var o=t.dragEl,n=t.putSortable;this.sortable.captureAnimationState();if(n){n.captureAnimationState()}var r=getChild(this.sortable.el,this.startIndex,this.options);if(r){this.sortable.el.insertBefore(o,r)}else{this.sortable.el.appendChild(o)}this.sortable.animateAll();if(n){n.animateAll()}},drop:drop};_extends(Revert,{pluginName:"revertOnSpill"});function Remove(){}Remove.prototype={onSpill:function e(t){var o=t.dragEl,n=t.putSortable;var r=n||this.sortable;r.captureAnimationState();o.parentNode&&o.parentNode.removeChild(o);r.animateAll()},drop:drop};_extends(Remove,{pluginName:"removeOnSpill"});Sortable.mount(new AutoScrollPlugin);Sortable.mount(Remove,Revert);export{Sortable as S};