@esri/solutions-components 0.10.18 → 0.10.20

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1579) hide show
  1. package/dist/cjs/ExpandToggle-54ca6b91.js +115 -0
  2. package/dist/cjs/FloatingArrow-28f6bb91.js +48 -0
  3. package/dist/cjs/Heading-63b5c82c.js +25 -0
  4. package/dist/cjs/Validation-9bab9a69.js +20 -0
  5. package/dist/cjs/app-globals-d2085e28.js +67 -0
  6. package/dist/cjs/ar-ce94723b.js +106 -0
  7. package/dist/cjs/array-708fd433.js +17 -0
  8. package/dist/cjs/basemap-gallery_7.cjs.entry.js +15 -7
  9. package/dist/cjs/bg-8ab5661c.js +84 -0
  10. package/dist/cjs/browser-2893460e.js +35 -0
  11. package/dist/cjs/bs-f15b7a3d.js +53 -0
  12. package/dist/cjs/buffer-tools_3.cjs.entry.js +5 -5
  13. package/dist/cjs/ca-321e7e4f.js +73 -0
  14. package/dist/cjs/calcite-accordion-item.cjs.entry.js +9 -9
  15. package/dist/cjs/calcite-accordion.cjs.entry.js +3 -3
  16. package/dist/cjs/calcite-action-bar.cjs.entry.js +14 -14
  17. package/dist/cjs/calcite-action-group.cjs.entry.js +12 -12
  18. package/dist/cjs/calcite-action-menu_2.cjs.entry.js +15 -15
  19. package/dist/cjs/calcite-action-pad_2.cjs.entry.js +14 -14
  20. package/dist/cjs/calcite-action_2.cjs.entry.js +20 -20
  21. package/dist/cjs/calcite-alert_5.cjs.entry.js +55 -27
  22. package/dist/cjs/calcite-avatar.cjs.entry.js +6 -6
  23. package/dist/cjs/calcite-block-section.cjs.entry.js +10 -10
  24. package/dist/cjs/calcite-block_5.cjs.entry.js +27 -27
  25. package/dist/cjs/calcite-button.cjs.entry.js +14 -14
  26. package/dist/cjs/calcite-card-group.cjs.entry.js +6 -6
  27. package/dist/cjs/calcite-card.cjs.entry.js +11 -11
  28. package/dist/cjs/calcite-carousel-item.cjs.entry.js +2 -2
  29. package/dist/cjs/calcite-carousel.cjs.entry.js +12 -12
  30. package/dist/cjs/calcite-checkbox.cjs.entry.js +11 -11
  31. package/dist/cjs/calcite-chip-group.cjs.entry.js +6 -6
  32. package/dist/cjs/calcite-chip_2.cjs.entry.js +15 -15
  33. package/dist/cjs/calcite-color-picker-hex-input_2.cjs.entry.js +8 -8
  34. package/dist/cjs/calcite-color-picker.cjs.entry.js +12 -12
  35. package/dist/cjs/calcite-combobox-item-group.cjs.entry.js +6 -6
  36. package/dist/cjs/calcite-combobox_3.cjs.entry.js +21 -21
  37. package/dist/cjs/calcite-date-picker-day_3.cjs.entry.js +13 -13
  38. package/dist/cjs/calcite-dialog.cjs.entry.js +15 -15
  39. package/dist/cjs/calcite-dropdown_2.cjs.entry.js +13 -13
  40. package/dist/cjs/calcite-fab.cjs.entry.js +7 -7
  41. package/dist/cjs/calcite-filter_5.cjs.entry.js +18 -18
  42. package/dist/cjs/calcite-flow_4.cjs.entry.js +49 -17
  43. package/dist/cjs/calcite-graph_2.cjs.entry.js +15 -15
  44. package/dist/cjs/calcite-icon_2.cjs.entry.js +10 -10
  45. package/dist/cjs/calcite-inline-editable.cjs.entry.js +13 -13
  46. package/dist/cjs/calcite-input-number.cjs.entry.js +16 -16
  47. package/dist/cjs/calcite-input-text.cjs.entry.js +16 -16
  48. package/dist/cjs/calcite-input-time-picker-d63d914b.js +1861 -0
  49. package/dist/cjs/calcite-input-time-picker.cjs.entry.js +20 -20
  50. package/dist/cjs/calcite-input-time-zone.cjs.entry.js +23 -17
  51. package/dist/cjs/calcite-input_2.cjs.entry.js +16 -16
  52. package/dist/cjs/calcite-label.cjs.entry.js +6 -6
  53. package/dist/cjs/calcite-link.cjs.entry.js +6 -6
  54. package/dist/cjs/calcite-list-item-group.cjs.entry.js +4 -4
  55. package/dist/cjs/calcite-menu-item.cjs.entry.js +10 -10
  56. package/dist/cjs/calcite-menu.cjs.entry.js +9 -9
  57. package/dist/cjs/calcite-meter.cjs.entry.js +10 -10
  58. package/dist/cjs/calcite-modal_3.cjs.entry.js +19 -19
  59. package/dist/cjs/calcite-navigation-logo.cjs.entry.js +4 -4
  60. package/dist/cjs/calcite-navigation-user.cjs.entry.js +3 -3
  61. package/dist/cjs/calcite-navigation.cjs.entry.js +6 -6
  62. package/dist/cjs/calcite-notice.cjs.entry.js +14 -14
  63. package/dist/cjs/calcite-option_2.cjs.entry.js +12 -12
  64. package/dist/cjs/calcite-pagination.cjs.entry.js +12 -12
  65. package/dist/cjs/calcite-pick-list-group.cjs.entry.js +10 -10
  66. package/dist/cjs/calcite-pick-list-item.cjs.entry.js +15 -15
  67. package/dist/cjs/calcite-pick-list.cjs.entry.js +13 -13
  68. package/dist/cjs/calcite-radio-button-group.cjs.entry.js +8 -8
  69. package/dist/cjs/calcite-radio-button.cjs.entry.js +11 -11
  70. package/dist/cjs/calcite-rating.cjs.entry.js +14 -14
  71. package/dist/cjs/calcite-scrim.cjs.entry.js +9 -9
  72. package/dist/cjs/calcite-segmented-control_2.cjs.entry.js +13 -13
  73. package/dist/cjs/calcite-sheet.cjs.entry.js +10 -10
  74. package/dist/cjs/calcite-shell-center-row.cjs.entry.js +7 -7
  75. package/dist/cjs/calcite-shell-panel_14.cjs.entry.js +40 -39
  76. package/dist/cjs/calcite-sortable-list.cjs.entry.js +8 -8
  77. package/dist/cjs/calcite-split-button.cjs.entry.js +4 -4
  78. package/dist/cjs/calcite-stepper-item.cjs.entry.js +11 -11
  79. package/dist/cjs/calcite-stepper.cjs.entry.js +10 -10
  80. package/dist/cjs/calcite-switch.cjs.entry.js +11 -11
  81. package/dist/cjs/calcite-table-cell_2.cjs.entry.js +13 -13
  82. package/dist/cjs/calcite-table-row.cjs.entry.js +8 -8
  83. package/dist/cjs/calcite-table.cjs.entry.js +10 -10
  84. package/dist/cjs/calcite-text-area.cjs.entry.js +16 -16
  85. package/dist/cjs/calcite-tile-group.cjs.entry.js +7 -7
  86. package/dist/cjs/calcite-tile-select-group.cjs.entry.js +4 -4
  87. package/dist/cjs/calcite-tile-select.cjs.entry.js +7 -7
  88. package/dist/cjs/calcite-tile.cjs.entry.js +7 -7
  89. package/dist/cjs/calcite-time-picker.cjs.entry.js +13 -13
  90. package/dist/cjs/calcite-tip-group.cjs.entry.js +2 -2
  91. package/dist/cjs/calcite-tip-manager.cjs.entry.js +12 -12
  92. package/dist/cjs/calcite-tip.cjs.entry.js +13 -13
  93. package/dist/cjs/calcite-tooltip.cjs.entry.js +10 -10
  94. package/dist/cjs/calcite-tree_3.cjs.entry.js +11 -11
  95. package/dist/cjs/card-manager_3.cjs.entry.js +8 -7
  96. package/dist/cjs/common-eee0c33f.js +38 -0
  97. package/dist/cjs/component-7f2bd646.js +33 -0
  98. package/dist/cjs/conditionalSlot-2d2541f4.js +54 -0
  99. package/dist/cjs/config-7c16c710.js +40 -0
  100. package/dist/cjs/crowdsource-manager.cjs.entry.js +1 -1
  101. package/dist/cjs/crowdsource-reporter.cjs.entry.js +71 -32
  102. package/dist/cjs/cs-66742e3a.js +149 -0
  103. package/dist/cjs/da-933e7031.js +69 -0
  104. package/dist/cjs/date-e01a99aa.js +264 -0
  105. package/dist/cjs/de-87706bda.js +93 -0
  106. package/dist/cjs/de-at-752f7be1.js +92 -0
  107. package/dist/cjs/de-ch-41dc3fef.js +92 -0
  108. package/dist/cjs/deduct-calculator.cjs.entry.js +1 -1
  109. package/dist/cjs/dom-3d3a8f25.js +1215 -0
  110. package/dist/cjs/downloadUtils-470f6a27.js +3164 -0
  111. package/dist/cjs/el-23b7e02b.js +68 -0
  112. package/dist/cjs/en-au-4f9fe083.js +68 -0
  113. package/dist/cjs/en-ca-afba9508.js +67 -0
  114. package/dist/cjs/en-gb-78a49c6a.js +71 -0
  115. package/dist/cjs/es-ea5faae0.js +68 -0
  116. package/dist/cjs/es-mx-47a5667a.js +67 -0
  117. package/dist/cjs/et-72505ea1.js +94 -0
  118. package/dist/cjs/feature-comments.cjs.entry.js +1 -1
  119. package/dist/cjs/feature-form-flow-item.cjs.entry.js +1 -1
  120. package/dist/cjs/feature-list.cjs.entry.js +25 -12
  121. package/dist/cjs/features-flow-item.cjs.entry.js +1 -1
  122. package/dist/cjs/fi-7b4ac88c.js +117 -0
  123. package/dist/cjs/filter-a9429bde.js +778 -0
  124. package/dist/cjs/floating-ui-9ff03df8.js +2373 -0
  125. package/dist/cjs/focusTrapComponent-86ebd41d.js +1018 -0
  126. package/dist/cjs/form-8132060d.js +381 -0
  127. package/dist/cjs/fr-8077e2e8.js +70 -0
  128. package/dist/cjs/fr-ch-04f427a0.js +68 -0
  129. package/dist/cjs/guid-42cda8c9.js +26 -0
  130. package/dist/cjs/he-93b37a58.js +107 -0
  131. package/dist/cjs/hi-cb320ba3.js +67 -0
  132. package/dist/cjs/hr-15e455d9.js +82 -0
  133. package/dist/cjs/hu-10c42dd5.js +90 -0
  134. package/dist/cjs/id-813844ef.js +68 -0
  135. package/dist/cjs/index.es-6387d8fb.js +11318 -0
  136. package/dist/cjs/input-3efc5a5e.js +60 -0
  137. package/dist/cjs/instant-apps-header.cjs.entry.js +1 -1
  138. package/dist/cjs/instant-apps-splash.cjs.entry.js +1 -1
  139. package/dist/cjs/instant-apps-time-filter.cjs.entry.js +9 -9
  140. package/dist/cjs/interactive-3b85d8df.js +167 -0
  141. package/dist/cjs/it-090375c5.js +68 -0
  142. package/dist/cjs/it-ch-6cc91215.js +68 -0
  143. package/dist/cjs/ja-e6697420.js +74 -0
  144. package/dist/cjs/key-82084ef6.js +19 -0
  145. package/dist/cjs/ko-522250be.js +74 -0
  146. package/dist/cjs/label-e7d3c371.js +186 -0
  147. package/dist/cjs/layout-manager.cjs.entry.js +1 -1
  148. package/dist/cjs/list-flow-item.cjs.entry.js +1 -1
  149. package/dist/cjs/loadable-0e357195.js +98 -0
  150. package/dist/cjs/loader.cjs.js +5 -5
  151. package/dist/cjs/locale-351282c5.js +605 -0
  152. package/dist/cjs/location-flow-item.cjs.entry.js +1 -1
  153. package/dist/cjs/logger-309df5d9.js +61 -0
  154. package/dist/cjs/lt-c2f9fd21.js +99 -0
  155. package/dist/cjs/lv-a1930986.js +68 -0
  156. package/dist/cjs/map-select-tools_3.cjs.entry.js +7 -6
  157. package/dist/cjs/math-14740338.js +60 -0
  158. package/dist/cjs/mk-deb11706.js +68 -0
  159. package/dist/cjs/nb-3859b631.js +69 -0
  160. package/dist/cjs/nl-6c2c838d.js +69 -0
  161. package/dist/cjs/observers-5f9f67ee.js +58 -0
  162. package/dist/cjs/openCloseComponent-b66f10f5.js +65 -0
  163. package/dist/cjs/pci-calculator.cjs.entry.js +1 -1
  164. package/dist/cjs/pl-fcb7899e.js +116 -0
  165. package/dist/cjs/popupUtils-c38f840d.js +121 -0
  166. package/dist/cjs/pt-416d2cf8.js +69 -0
  167. package/dist/cjs/pt-br-bae3d576.js +67 -0
  168. package/dist/cjs/public-notification.cjs.entry.js +6 -5
  169. package/dist/cjs/purify-0805e9f8.js +1562 -0
  170. package/dist/cjs/refine-results-flow-item.cjs.entry.js +1 -1
  171. package/dist/cjs/resources-4446499e.js +39 -0
  172. package/dist/cjs/resources-4c3e1c50.js +68 -0
  173. package/dist/cjs/resources-6f65a67f.js +29 -0
  174. package/dist/cjs/resources-87ed79dd.js +23 -0
  175. package/dist/cjs/resources-9b04cd8c.js +23 -0
  176. package/dist/cjs/resources-a1ca0958.js +27 -0
  177. package/dist/cjs/resources-c5f09989.js +68 -0
  178. package/dist/cjs/resources-dbc687b5.js +26 -0
  179. package/dist/cjs/resources-f11e9bd6.js +39 -0
  180. package/dist/cjs/resources-f8785f51.js +21 -0
  181. package/dist/cjs/restHelpersGet-5c2245a3.js +991 -0
  182. package/dist/cjs/ro-bda94f37.js +68 -0
  183. package/dist/cjs/ru-7258ce51.js +128 -0
  184. package/dist/cjs/share-item.cjs.entry.js +1 -1
  185. package/dist/cjs/shared-list-render-d4b7311f.js +361 -0
  186. package/dist/cjs/sk-3a398547.js +150 -0
  187. package/dist/cjs/sl-bfb5a728.js +170 -0
  188. package/dist/cjs/solution-configuration.cjs.entry.js +31 -30
  189. package/dist/cjs/solution-contents_3.cjs.entry.js +8 -7
  190. package/dist/cjs/solution-resource-40e70253.js +145 -0
  191. package/dist/cjs/solution-store-2cd6a8c3.js +1354 -0
  192. package/dist/cjs/solutions-components.cjs.js +5 -5
  193. package/dist/cjs/sortableComponent-8684e273.js +2748 -0
  194. package/dist/cjs/spatial-ref.cjs.entry.js +4 -3
  195. package/dist/cjs/sr-58554054.js +103 -0
  196. package/dist/cjs/store-manager.cjs.entry.js +5 -4
  197. package/dist/cjs/sv-335a4402.js +73 -0
  198. package/dist/cjs/t9n-e41672d2.js +108 -0
  199. package/dist/cjs/templates-0b7f886f.js +408 -0
  200. package/dist/cjs/th-14ebad2e.js +67 -0
  201. package/dist/cjs/time-9a5e2f2d.js +301 -0
  202. package/dist/cjs/tr-36bcc20f.js +68 -0
  203. package/dist/cjs/uk-dcff92bd.js +106 -0
  204. package/dist/cjs/utils-29c97686.js +2304 -0
  205. package/dist/cjs/utils-edb4e372.js +78 -0
  206. package/dist/cjs/vi-284fec96.js +72 -0
  207. package/dist/cjs/zh-cn-1f4ab46b.js +96 -0
  208. package/dist/cjs/zh-hk-39cf1fdd.js +94 -0
  209. package/dist/cjs/zh-tw-e0b3117d.js +94 -0
  210. package/dist/collection/assets/t9n/card-manager/resources_ar.json +4 -1
  211. package/dist/collection/assets/t9n/card-manager/resources_bg.json +4 -1
  212. package/dist/collection/assets/t9n/card-manager/resources_bs.json +4 -1
  213. package/dist/collection/assets/t9n/card-manager/resources_ca.json +4 -1
  214. package/dist/collection/assets/t9n/card-manager/resources_cs.json +4 -1
  215. package/dist/collection/assets/t9n/card-manager/resources_da.json +4 -1
  216. package/dist/collection/assets/t9n/card-manager/resources_de.json +4 -1
  217. package/dist/collection/assets/t9n/card-manager/resources_el.json +4 -1
  218. package/dist/collection/assets/t9n/card-manager/resources_es.json +4 -1
  219. package/dist/collection/assets/t9n/card-manager/resources_et.json +4 -1
  220. package/dist/collection/assets/t9n/card-manager/resources_fi.json +4 -1
  221. package/dist/collection/assets/t9n/card-manager/resources_fr.json +4 -1
  222. package/dist/collection/assets/t9n/card-manager/resources_he.json +4 -1
  223. package/dist/collection/assets/t9n/card-manager/resources_hr.json +4 -1
  224. package/dist/collection/assets/t9n/card-manager/resources_hu.json +4 -1
  225. package/dist/collection/assets/t9n/card-manager/resources_id.json +4 -1
  226. package/dist/collection/assets/t9n/card-manager/resources_it.json +4 -1
  227. package/dist/collection/assets/t9n/card-manager/resources_ja.json +4 -1
  228. package/dist/collection/assets/t9n/card-manager/resources_ko.json +4 -1
  229. package/dist/collection/assets/t9n/card-manager/resources_lt.json +4 -1
  230. package/dist/collection/assets/t9n/card-manager/resources_lv.json +4 -1
  231. package/dist/collection/assets/t9n/card-manager/resources_nb.json +4 -1
  232. package/dist/collection/assets/t9n/card-manager/resources_nl.json +4 -1
  233. package/dist/collection/assets/t9n/card-manager/resources_pl.json +4 -1
  234. package/dist/collection/assets/t9n/card-manager/resources_pt-BR.json +4 -1
  235. package/dist/collection/assets/t9n/card-manager/resources_pt-PT.json +4 -1
  236. package/dist/collection/assets/t9n/card-manager/resources_ro.json +4 -1
  237. package/dist/collection/assets/t9n/card-manager/resources_ru.json +4 -1
  238. package/dist/collection/assets/t9n/card-manager/resources_sk.json +4 -1
  239. package/dist/collection/assets/t9n/card-manager/resources_sl.json +4 -1
  240. package/dist/collection/assets/t9n/card-manager/resources_sr.json +4 -1
  241. package/dist/collection/assets/t9n/card-manager/resources_sv.json +4 -1
  242. package/dist/collection/assets/t9n/card-manager/resources_th.json +4 -1
  243. package/dist/collection/assets/t9n/card-manager/resources_tr.json +4 -1
  244. package/dist/collection/assets/t9n/card-manager/resources_uk.json +4 -1
  245. package/dist/collection/assets/t9n/card-manager/resources_vi.json +4 -1
  246. package/dist/collection/assets/t9n/card-manager/resources_zh-CN.json +4 -1
  247. package/dist/collection/assets/t9n/card-manager/resources_zh-HK.json +4 -1
  248. package/dist/collection/assets/t9n/card-manager/resources_zh-TW.json +4 -1
  249. package/dist/collection/assets/t9n/create-feature/resources.json +5 -0
  250. package/dist/collection/assets/t9n/create-feature/resources_en.json +5 -0
  251. package/dist/collection/assets/t9n/create-related-feature/resources.json +3 -0
  252. package/dist/collection/assets/t9n/create-related-feature/resources_en.json +3 -0
  253. package/dist/collection/assets/t9n/crowdsource-reporter/resources.json +0 -1
  254. package/dist/collection/assets/t9n/crowdsource-reporter/resources_en.json +0 -1
  255. package/dist/collection/assets/t9n/layer-table/resources_ar.json +2 -1
  256. package/dist/collection/assets/t9n/layer-table/resources_bg.json +2 -1
  257. package/dist/collection/assets/t9n/layer-table/resources_bs.json +2 -1
  258. package/dist/collection/assets/t9n/layer-table/resources_ca.json +2 -1
  259. package/dist/collection/assets/t9n/layer-table/resources_cs.json +2 -1
  260. package/dist/collection/assets/t9n/layer-table/resources_da.json +2 -1
  261. package/dist/collection/assets/t9n/layer-table/resources_de.json +2 -1
  262. package/dist/collection/assets/t9n/layer-table/resources_el.json +2 -1
  263. package/dist/collection/assets/t9n/layer-table/resources_es.json +2 -1
  264. package/dist/collection/assets/t9n/layer-table/resources_et.json +2 -1
  265. package/dist/collection/assets/t9n/layer-table/resources_fi.json +2 -1
  266. package/dist/collection/assets/t9n/layer-table/resources_fr.json +2 -1
  267. package/dist/collection/assets/t9n/layer-table/resources_he.json +2 -1
  268. package/dist/collection/assets/t9n/layer-table/resources_hr.json +2 -1
  269. package/dist/collection/assets/t9n/layer-table/resources_hu.json +2 -1
  270. package/dist/collection/assets/t9n/layer-table/resources_id.json +2 -1
  271. package/dist/collection/assets/t9n/layer-table/resources_it.json +2 -1
  272. package/dist/collection/assets/t9n/layer-table/resources_ja.json +2 -1
  273. package/dist/collection/assets/t9n/layer-table/resources_ko.json +2 -1
  274. package/dist/collection/assets/t9n/layer-table/resources_lt.json +2 -1
  275. package/dist/collection/assets/t9n/layer-table/resources_lv.json +2 -1
  276. package/dist/collection/assets/t9n/layer-table/resources_nb.json +2 -1
  277. package/dist/collection/assets/t9n/layer-table/resources_nl.json +2 -1
  278. package/dist/collection/assets/t9n/layer-table/resources_pl.json +2 -1
  279. package/dist/collection/assets/t9n/layer-table/resources_pt-BR.json +2 -1
  280. package/dist/collection/assets/t9n/layer-table/resources_pt-PT.json +2 -1
  281. package/dist/collection/assets/t9n/layer-table/resources_ro.json +2 -1
  282. package/dist/collection/assets/t9n/layer-table/resources_ru.json +2 -1
  283. package/dist/collection/assets/t9n/layer-table/resources_sk.json +2 -1
  284. package/dist/collection/assets/t9n/layer-table/resources_sl.json +2 -1
  285. package/dist/collection/assets/t9n/layer-table/resources_sr.json +2 -1
  286. package/dist/collection/assets/t9n/layer-table/resources_sv.json +2 -1
  287. package/dist/collection/assets/t9n/layer-table/resources_th.json +2 -1
  288. package/dist/collection/assets/t9n/layer-table/resources_tr.json +2 -1
  289. package/dist/collection/assets/t9n/layer-table/resources_uk.json +2 -1
  290. package/dist/collection/assets/t9n/layer-table/resources_vi.json +2 -1
  291. package/dist/collection/assets/t9n/layer-table/resources_zh-CN.json +2 -1
  292. package/dist/collection/assets/t9n/layer-table/resources_zh-HK.json +2 -1
  293. package/dist/collection/assets/t9n/layer-table/resources_zh-TW.json +2 -1
  294. package/dist/collection/components/basemap-gallery/basemap-gallery.js +11 -1
  295. package/dist/collection/components/create-feature/create-feature.css +6 -1
  296. package/dist/collection/components/create-feature/create-feature.js +50 -3
  297. package/dist/collection/components/create-related-feature/create-related-feature.css +10 -0
  298. package/dist/collection/components/create-related-feature/create-related-feature.js +35 -3
  299. package/dist/collection/components/crowdsource-manager/crowdsource-manager.js +1 -1
  300. package/dist/collection/components/crowdsource-reporter/crowdsource-reporter.js +72 -31
  301. package/dist/collection/components/deduct-calculator/deduct-calculator.js +1 -1
  302. package/dist/collection/components/delete-button/delete-button.js +1 -1
  303. package/dist/collection/components/edit-card/edit-card.js +1 -1
  304. package/dist/collection/components/feature-comments/feature-comments.js +1 -1
  305. package/dist/collection/components/feature-details/feature-details.css +0 -8
  306. package/dist/collection/components/feature-details/feature-details.js +58 -10
  307. package/dist/collection/components/feature-form-flow-item/feature-form-flow-item.js +1 -1
  308. package/dist/collection/components/feature-list/feature-list.js +29 -10
  309. package/dist/collection/components/features-flow-item/features-flow-item.js +1 -1
  310. package/dist/collection/components/floor-filter/floor-filter.js +1 -1
  311. package/dist/collection/components/info-card/info-card.js +2 -2
  312. package/dist/collection/components/json-editor/json-editor.js +1 -1
  313. package/dist/collection/components/layer-table/layer-table.js +3 -3
  314. package/dist/collection/components/layout-manager/layout-manager.js +1 -1
  315. package/dist/collection/components/list-flow-item/list-flow-item.js +1 -1
  316. package/dist/collection/components/location-flow-item/location-flow-item.js +1 -1
  317. package/dist/collection/components/map-card/map-card.js +1 -1
  318. package/dist/collection/components/map-draw-tools/map-draw-tools.js +1 -1
  319. package/dist/collection/components/map-fullscreen/map-fullscreen.js +1 -1
  320. package/dist/collection/components/map-layer-picker/map-layer-picker.js +1 -1
  321. package/dist/collection/components/map-legend/map-legend.js +1 -1
  322. package/dist/collection/components/map-picker/map-picker.js +1 -1
  323. package/dist/collection/components/map-search/map-search.js +1 -1
  324. package/dist/collection/components/map-select-tools/map-select-tools.js +1 -1
  325. package/dist/collection/components/map-tools/map-tools.js +1 -1
  326. package/dist/collection/components/pci-calculator/pci-calculator.js +1 -1
  327. package/dist/collection/components/pdf-download/pdf-download.js +1 -1
  328. package/dist/collection/components/public-notification/public-notification.js +2 -2
  329. package/dist/collection/components/refine-results-flow-item/refine-results-flow-item.js +1 -1
  330. package/dist/collection/components/refine-selection/refine-selection.js +1 -1
  331. package/dist/collection/components/share-item/share-item.js +1 -1
  332. package/dist/collection/components/solution-configuration/solution-configuration.js +3 -3
  333. package/dist/collection/components/solution-contents/solution-contents.js +1 -1
  334. package/dist/collection/components/solution-item/solution-item.js +1 -1
  335. package/dist/collection/components/solution-item-details/solution-item-details.js +1 -1
  336. package/dist/collection/components/solution-item-icon/solution-item-icon.js +1 -1
  337. package/dist/collection/components/solution-item-sharing/solution-item-sharing.js +1 -1
  338. package/dist/collection/components/solution-organization-variables/solution-organization-variables.js +1 -1
  339. package/dist/collection/components/solution-resource-item/solution-resource-item.js +1 -1
  340. package/dist/collection/components/solution-spatial-ref/solution-spatial-ref.js +1 -1
  341. package/dist/collection/components/solution-template-data/solution-template-data.js +1 -1
  342. package/dist/collection/components/solution-variables/solution-variables.js +1 -1
  343. package/dist/collection/components/spatial-ref/spatial-ref.js +1 -1
  344. package/dist/collection/demos/crowdsource-reporter.html +24 -25
  345. package/dist/collection/utils/pdfUtils.js +1 -1
  346. package/dist/collection/utils/pdfUtils.ts +1 -1
  347. package/dist/components/ExpandToggle.js +2 -2
  348. package/dist/components/FloatingArrow.js +1 -1
  349. package/dist/components/Heading.js +1 -1
  350. package/dist/components/Validation.js +1 -1
  351. package/dist/components/action-bar.js +1 -1
  352. package/dist/components/action-group.js +1 -1
  353. package/dist/components/action-menu.js +1 -1
  354. package/dist/components/action-pad.js +1 -1
  355. package/dist/components/action.js +1 -1
  356. package/dist/components/alert.js +2 -2
  357. package/dist/components/array.js +1 -1
  358. package/dist/components/avatar.js +2 -2
  359. package/dist/components/basemap-gallery2.js +10 -1
  360. package/dist/components/block.js +1 -1
  361. package/dist/components/browser.js +1 -1
  362. package/dist/components/button.js +1 -1
  363. package/dist/components/calcite-accordion-item.js +1 -1
  364. package/dist/components/calcite-accordion.js +1 -1
  365. package/dist/components/calcite-block-section.js +1 -1
  366. package/dist/components/calcite-card.js +1 -1
  367. package/dist/components/calcite-carousel-item.js +1 -1
  368. package/dist/components/calcite-carousel.js +1 -1
  369. package/dist/components/calcite-dialog.js +1 -1
  370. package/dist/components/calcite-fab.js +1 -1
  371. package/dist/components/calcite-inline-editable.js +1 -1
  372. package/dist/components/calcite-input-time-picker.js +1 -1
  373. package/dist/components/calcite-input-time-zone.js +11 -4
  374. package/dist/components/calcite-list-item-group.js +1 -1
  375. package/dist/components/calcite-menu-item.js +1 -1
  376. package/dist/components/calcite-meter.js +1 -1
  377. package/dist/components/calcite-navigation-logo.js +1 -1
  378. package/dist/components/calcite-navigation.js +1 -1
  379. package/dist/components/calcite-radio-button-group.js +1 -1
  380. package/dist/components/calcite-rating.js +1 -1
  381. package/dist/components/calcite-sheet.js +1 -1
  382. package/dist/components/calcite-shell-center-row.js +1 -1
  383. package/dist/components/calcite-sortable-list.js +1 -1
  384. package/dist/components/calcite-split-button.js +1 -1
  385. package/dist/components/calcite-stepper-item.js +1 -1
  386. package/dist/components/calcite-stepper.js +2 -2
  387. package/dist/components/calcite-table-row.js +1 -1
  388. package/dist/components/calcite-table.js +1 -1
  389. package/dist/components/calcite-text-area.js +1 -1
  390. package/dist/components/calcite-tile-group.js +1 -1
  391. package/dist/components/calcite-tile-select.js +1 -1
  392. package/dist/components/calcite-tile.js +1 -1
  393. package/dist/components/calcite-tip-manager.js +1 -1
  394. package/dist/components/calcite-tip.js +1 -1
  395. package/dist/components/checkbox.js +1 -1
  396. package/dist/components/chip.js +1 -1
  397. package/dist/components/color-picker-hex-input.js +1 -1
  398. package/dist/components/color-picker-swatch.js +1 -1
  399. package/dist/components/combobox-item-group.js +1 -1
  400. package/dist/components/combobox-item.js +1 -1
  401. package/dist/components/combobox.js +1 -1
  402. package/dist/components/common.js +1 -0
  403. package/dist/components/component.js +1 -1
  404. package/dist/components/conditionalSlot.js +1 -1
  405. package/dist/components/config.js +1 -1
  406. package/dist/components/create-feature2.js +47 -5
  407. package/dist/components/create-related-feature2.js +32 -5
  408. package/dist/components/crowdsource-manager.js +1 -1
  409. package/dist/components/crowdsource-reporter.js +73 -33
  410. package/dist/components/date-picker-month-header.js +1 -1
  411. package/dist/components/date-picker.js +2 -2
  412. package/dist/components/date.js +1 -1
  413. package/dist/components/deduct-calculator2.js +1 -1
  414. package/dist/components/delete-button2.js +1 -1
  415. package/dist/components/dom.js +1 -1
  416. package/dist/components/downloadUtils.js +28 -27
  417. package/dist/components/dropdown.js +1 -1
  418. package/dist/components/edit-card2.js +1 -1
  419. package/dist/components/feature-comments.js +1 -1
  420. package/dist/components/feature-details2.js +31 -11
  421. package/dist/components/feature-form-flow-item.js +1 -1
  422. package/dist/components/feature-list2.js +20 -8
  423. package/dist/components/features-flow-item.js +1 -1
  424. package/dist/components/filter.js +1 -1
  425. package/dist/components/filter2.js +1 -1
  426. package/dist/components/floating-ui.js +1 -1
  427. package/dist/components/floor-filter2.js +1 -1
  428. package/dist/components/flow-item.js +1 -1
  429. package/dist/components/flow.js +1 -1
  430. package/dist/components/focusTrapComponent.js +1 -1
  431. package/dist/components/form.js +1 -1
  432. package/dist/components/graph.js +1 -1
  433. package/dist/components/guid.js +1 -1
  434. package/dist/components/handle.js +1 -1
  435. package/dist/components/icon.js +2 -2
  436. package/dist/components/index.js +2 -2
  437. package/dist/components/index2.js +2117 -162
  438. package/dist/components/index3.js +162 -2117
  439. package/dist/components/info-card2.js +2 -2
  440. package/dist/components/input-date-picker.js +2 -2
  441. package/dist/components/input-message.js +1 -1
  442. package/dist/components/input-number.js +1 -1
  443. package/dist/components/input-text.js +1 -1
  444. package/dist/components/input.js +1 -1
  445. package/dist/components/input2.js +1 -1
  446. package/dist/components/instant-apps-header2.js +1 -1
  447. package/dist/components/instant-apps-splash.js +1 -1
  448. package/dist/components/instant-apps-time-filter.js +10 -10
  449. package/dist/components/interactive.js +1 -1
  450. package/dist/components/json-editor2.js +1 -1
  451. package/dist/components/key.js +1 -1
  452. package/dist/components/label.js +1 -1
  453. package/dist/components/label2.js +1 -1
  454. package/dist/components/layer-table2.js +3 -3
  455. package/dist/components/layout-manager.js +1 -1
  456. package/dist/components/list-flow-item.js +1 -1
  457. package/dist/components/list.js +1 -1
  458. package/dist/components/loadable.js +1 -1
  459. package/dist/components/loader.js +1 -1
  460. package/dist/components/locale2.js +2 -2
  461. package/dist/components/location-flow-item.js +1 -1
  462. package/dist/components/logger.js +1 -1
  463. package/dist/components/map-card2.js +1 -1
  464. package/dist/components/map-draw-tools2.js +1 -1
  465. package/dist/components/map-fullscreen2.js +1 -1
  466. package/dist/components/map-layer-picker2.js +1 -1
  467. package/dist/components/map-legend2.js +1 -1
  468. package/dist/components/map-picker2.js +1 -1
  469. package/dist/components/map-search2.js +1 -1
  470. package/dist/components/map-select-tools2.js +1 -1
  471. package/dist/components/map-tools2.js +1 -1
  472. package/dist/components/math.js +1 -1
  473. package/dist/components/modal.js +1 -1
  474. package/dist/components/navigation-user.js +1 -1
  475. package/dist/components/notice.js +1 -1
  476. package/dist/components/observers.js +1 -1
  477. package/dist/components/openCloseComponent.js +1 -1
  478. package/dist/components/pagination.js +2 -2
  479. package/dist/components/panel.js +2 -2
  480. package/dist/components/pci-calculator.js +1 -1
  481. package/dist/components/pdf-download2.js +1 -1
  482. package/dist/components/pick-list-item.js +1 -1
  483. package/dist/components/popover.js +2 -2
  484. package/dist/components/public-notification.js +2 -2
  485. package/dist/components/publicNotificationStore.js +1 -1
  486. package/dist/components/purify.js +275 -429
  487. package/dist/components/radio-button.js +1 -1
  488. package/dist/components/refine-results-flow-item.js +1 -1
  489. package/dist/components/refine-selection2.js +1 -1
  490. package/dist/components/resources.js +1 -1
  491. package/dist/components/resources2.js +1 -1
  492. package/dist/components/resources3.js +1 -1
  493. package/dist/components/resources4.js +1 -1
  494. package/dist/components/resources5.js +1 -1
  495. package/dist/components/resources6.js +1 -1
  496. package/dist/components/restHelpersGet.js +16 -0
  497. package/dist/components/scrim.js +1 -1
  498. package/dist/components/segmented-control-item.js +1 -1
  499. package/dist/components/segmented-control.js +1 -1
  500. package/dist/components/select.js +1 -1
  501. package/dist/components/share-item.js +1 -1
  502. package/dist/components/shared-list-render.js +2 -2
  503. package/dist/components/shell-panel.js +1 -1
  504. package/dist/components/shell.js +2 -2
  505. package/dist/components/slider.js +1 -1
  506. package/dist/components/solution-configuration.js +27 -26
  507. package/dist/components/solution-contents2.js +1 -1
  508. package/dist/components/solution-item-details2.js +1 -1
  509. package/dist/components/solution-item-icon2.js +1 -1
  510. package/dist/components/solution-item-sharing2.js +1 -1
  511. package/dist/components/solution-item2.js +1 -1
  512. package/dist/components/solution-organization-variables2.js +1 -1
  513. package/dist/components/solution-resource-item2.js +2 -1
  514. package/dist/components/solution-resource.js +1 -1699
  515. package/dist/components/solution-spatial-ref2.js +1 -1
  516. package/dist/components/solution-store.js +2 -1
  517. package/dist/components/solution-template-data2.js +1 -1
  518. package/dist/components/solution-variables2.js +1 -1
  519. package/dist/components/sortableComponent.js +1 -1
  520. package/dist/components/spatial-ref.js +1 -1
  521. package/dist/components/stack.js +1 -1
  522. package/dist/components/store.js +1 -1
  523. package/dist/components/switch.js +1 -1
  524. package/dist/components/t9n.js +1 -1
  525. package/dist/components/tab-nav.js +1 -1
  526. package/dist/components/tab-title.js +1 -1
  527. package/dist/components/tab.js +1 -1
  528. package/dist/components/table-cell.js +1 -1
  529. package/dist/components/table-header.js +1 -1
  530. package/dist/components/tabs.js +1 -1
  531. package/dist/components/templates.js +1 -0
  532. package/dist/components/time-picker.js +2 -2
  533. package/dist/components/tooltip.js +3 -3
  534. package/dist/components/tree-item.js +1 -1
  535. package/dist/components/tree.js +1 -1
  536. package/dist/components/utils.js +2 -2
  537. package/dist/components/utils2.js +2 -2
  538. package/dist/components/utils3.js +1 -1
  539. package/dist/components/utils4.js +1 -1
  540. package/dist/components/value-list-item.js +1 -1
  541. package/dist/components/value-list.js +2 -2
  542. package/dist/esm/ExpandToggle-b5147279.js +108 -0
  543. package/dist/esm/FloatingArrow-9a505e89.js +46 -0
  544. package/dist/esm/Heading-cae0b34c.js +22 -0
  545. package/dist/esm/Validation-bd0a53ec.js +18 -0
  546. package/dist/esm/app-globals-530c75ff.js +65 -0
  547. package/dist/esm/ar-e0e64e78.js +104 -0
  548. package/dist/esm/array-ddb2593b.js +15 -0
  549. package/dist/esm/basemap-gallery_7.entry.js +15 -7
  550. package/dist/esm/bg-d2d8dbe0.js +82 -0
  551. package/dist/esm/browser-a791205e.js +32 -0
  552. package/dist/esm/bs-d883901d.js +51 -0
  553. package/dist/esm/buffer-tools_3.entry.js +5 -5
  554. package/dist/esm/ca-064729ad.js +71 -0
  555. package/dist/esm/calcite-accordion-item.entry.js +9 -9
  556. package/dist/esm/calcite-accordion.entry.js +3 -3
  557. package/dist/esm/calcite-action-bar.entry.js +14 -14
  558. package/dist/esm/calcite-action-group.entry.js +12 -12
  559. package/dist/esm/calcite-action-menu_2.entry.js +15 -15
  560. package/dist/esm/calcite-action-pad_2.entry.js +14 -14
  561. package/dist/esm/calcite-action_2.entry.js +20 -20
  562. package/dist/esm/calcite-alert_5.entry.js +55 -27
  563. package/dist/esm/calcite-avatar.entry.js +6 -6
  564. package/dist/esm/calcite-block-section.entry.js +10 -10
  565. package/dist/esm/calcite-block_5.entry.js +27 -27
  566. package/dist/esm/calcite-button.entry.js +14 -14
  567. package/dist/esm/calcite-card-group.entry.js +6 -6
  568. package/dist/esm/calcite-card.entry.js +11 -11
  569. package/dist/esm/calcite-carousel-item.entry.js +2 -2
  570. package/dist/esm/calcite-carousel.entry.js +12 -12
  571. package/dist/esm/calcite-checkbox.entry.js +11 -11
  572. package/dist/esm/calcite-chip-group.entry.js +6 -6
  573. package/dist/esm/calcite-chip_2.entry.js +15 -15
  574. package/dist/esm/calcite-color-picker-hex-input_2.entry.js +8 -8
  575. package/dist/esm/calcite-color-picker.entry.js +12 -12
  576. package/dist/esm/calcite-combobox-item-group.entry.js +6 -6
  577. package/dist/esm/calcite-combobox_3.entry.js +21 -21
  578. package/dist/esm/calcite-date-picker-day_3.entry.js +13 -13
  579. package/dist/esm/calcite-dialog.entry.js +15 -15
  580. package/dist/esm/calcite-dropdown_2.entry.js +13 -13
  581. package/dist/esm/calcite-fab.entry.js +7 -7
  582. package/dist/esm/calcite-filter_5.entry.js +18 -18
  583. package/dist/esm/calcite-flow_4.entry.js +50 -18
  584. package/dist/esm/calcite-graph_2.entry.js +15 -15
  585. package/dist/esm/calcite-icon_2.entry.js +10 -10
  586. package/dist/esm/calcite-inline-editable.entry.js +13 -13
  587. package/dist/esm/calcite-input-number.entry.js +16 -16
  588. package/dist/esm/calcite-input-text.entry.js +16 -16
  589. package/dist/esm/calcite-input-time-picker-66e7a9f3.js +1858 -0
  590. package/dist/esm/calcite-input-time-picker.entry.js +20 -20
  591. package/dist/esm/calcite-input-time-zone.entry.js +23 -17
  592. package/dist/esm/calcite-input_2.entry.js +16 -16
  593. package/dist/esm/calcite-label.entry.js +6 -6
  594. package/dist/esm/calcite-link.entry.js +6 -6
  595. package/dist/esm/calcite-list-item-group.entry.js +4 -4
  596. package/dist/esm/calcite-menu-item.entry.js +10 -10
  597. package/dist/esm/calcite-menu.entry.js +9 -9
  598. package/dist/esm/calcite-meter.entry.js +10 -10
  599. package/dist/esm/calcite-modal_3.entry.js +19 -19
  600. package/dist/esm/calcite-navigation-logo.entry.js +4 -4
  601. package/dist/esm/calcite-navigation-user.entry.js +3 -3
  602. package/dist/esm/calcite-navigation.entry.js +6 -6
  603. package/dist/esm/calcite-notice.entry.js +14 -14
  604. package/dist/esm/calcite-option_2.entry.js +12 -12
  605. package/dist/esm/calcite-pagination.entry.js +12 -12
  606. package/dist/esm/calcite-pick-list-group.entry.js +10 -10
  607. package/dist/esm/calcite-pick-list-item.entry.js +15 -15
  608. package/dist/esm/calcite-pick-list.entry.js +13 -13
  609. package/dist/esm/calcite-radio-button-group.entry.js +8 -8
  610. package/dist/esm/calcite-radio-button.entry.js +11 -11
  611. package/dist/esm/calcite-rating.entry.js +14 -14
  612. package/dist/esm/calcite-scrim.entry.js +9 -9
  613. package/dist/esm/calcite-segmented-control_2.entry.js +13 -13
  614. package/dist/esm/calcite-sheet.entry.js +10 -10
  615. package/dist/esm/calcite-shell-center-row.entry.js +7 -7
  616. package/dist/esm/calcite-shell-panel_14.entry.js +40 -39
  617. package/dist/esm/calcite-sortable-list.entry.js +8 -8
  618. package/dist/esm/calcite-split-button.entry.js +4 -4
  619. package/dist/esm/calcite-stepper-item.entry.js +11 -11
  620. package/dist/esm/calcite-stepper.entry.js +10 -10
  621. package/dist/esm/calcite-switch.entry.js +11 -11
  622. package/dist/esm/calcite-table-cell_2.entry.js +13 -13
  623. package/dist/esm/calcite-table-row.entry.js +8 -8
  624. package/dist/esm/calcite-table.entry.js +10 -10
  625. package/dist/esm/calcite-text-area.entry.js +16 -16
  626. package/dist/esm/calcite-tile-group.entry.js +7 -7
  627. package/dist/esm/calcite-tile-select-group.entry.js +4 -4
  628. package/dist/esm/calcite-tile-select.entry.js +7 -7
  629. package/dist/esm/calcite-tile.entry.js +7 -7
  630. package/dist/esm/calcite-time-picker.entry.js +13 -13
  631. package/dist/esm/calcite-tip-group.entry.js +2 -2
  632. package/dist/esm/calcite-tip-manager.entry.js +12 -12
  633. package/dist/esm/calcite-tip.entry.js +13 -13
  634. package/dist/esm/calcite-tooltip.entry.js +10 -10
  635. package/dist/esm/calcite-tree_3.entry.js +11 -11
  636. package/dist/esm/card-manager_3.entry.js +8 -7
  637. package/dist/esm/common-c3bbba83.js +36 -0
  638. package/dist/esm/component-d35983a4.js +30 -0
  639. package/dist/esm/conditionalSlot-0cbc7172.js +51 -0
  640. package/dist/esm/config-8d1c3431.js +36 -0
  641. package/dist/esm/crowdsource-manager.entry.js +1 -1
  642. package/dist/esm/crowdsource-reporter.entry.js +71 -32
  643. package/dist/esm/cs-3751e560.js +147 -0
  644. package/dist/esm/da-227f8ad5.js +67 -0
  645. package/dist/esm/date-87a67cb4.js +248 -0
  646. package/dist/esm/de-a5d2b25b.js +91 -0
  647. package/dist/esm/de-at-66232b80.js +90 -0
  648. package/dist/esm/de-ch-1264ed4c.js +90 -0
  649. package/dist/esm/deduct-calculator.entry.js +1 -1
  650. package/dist/esm/dom-63d2d41c.js +1180 -0
  651. package/dist/esm/downloadUtils-d1f791c5.js +3157 -0
  652. package/dist/esm/el-f5bf7ca3.js +66 -0
  653. package/dist/esm/en-au-2ac8f62e.js +66 -0
  654. package/dist/esm/en-ca-a1602b49.js +65 -0
  655. package/dist/esm/en-gb-28354b2e.js +69 -0
  656. package/dist/esm/es-feb7aad2.js +66 -0
  657. package/dist/esm/es-mx-5d64f899.js +65 -0
  658. package/dist/esm/et-173d2f49.js +92 -0
  659. package/dist/esm/feature-comments.entry.js +1 -1
  660. package/dist/esm/feature-form-flow-item.entry.js +1 -1
  661. package/dist/esm/feature-list.entry.js +25 -12
  662. package/dist/esm/features-flow-item.entry.js +1 -1
  663. package/dist/esm/fi-ff9bb719.js +115 -0
  664. package/dist/esm/filter-6ee02739.js +775 -0
  665. package/dist/esm/floating-ui-c7ae81d9.js +2365 -0
  666. package/dist/esm/focusTrapComponent-833b1234.js +1013 -0
  667. package/dist/esm/form-08e1bcb7.js +372 -0
  668. package/dist/esm/fr-ch-491f1abe.js +66 -0
  669. package/dist/esm/fr-e3af6835.js +68 -0
  670. package/dist/esm/guid-42656051.js +24 -0
  671. package/dist/esm/he-47aa8dde.js +105 -0
  672. package/dist/esm/hi-1700df3e.js +65 -0
  673. package/dist/esm/hr-68b828f5.js +80 -0
  674. package/dist/esm/hu-df6a8f29.js +88 -0
  675. package/dist/esm/id-8091582d.js +66 -0
  676. package/dist/esm/index.es-decad494.js +11231 -0
  677. package/dist/esm/input-7f3fc18b.js +58 -0
  678. package/dist/esm/instant-apps-header.entry.js +1 -1
  679. package/dist/esm/instant-apps-splash.entry.js +1 -1
  680. package/dist/esm/instant-apps-time-filter.entry.js +9 -9
  681. package/dist/esm/interactive-b2a41b8b.js +162 -0
  682. package/dist/esm/it-1f5e149d.js +66 -0
  683. package/dist/esm/it-ch-bf7fcac6.js +66 -0
  684. package/dist/esm/ja-a5117166.js +72 -0
  685. package/dist/esm/key-d6dfb50e.js +16 -0
  686. package/dist/esm/ko-9d7a9e79.js +72 -0
  687. package/dist/esm/label-4c4e06d6.js +179 -0
  688. package/dist/esm/layout-manager.entry.js +1 -1
  689. package/dist/esm/list-flow-item.entry.js +1 -1
  690. package/dist/esm/loadable-1a9b14b8.js +93 -0
  691. package/dist/esm/loader.js +5 -5
  692. package/dist/esm/locale-4441c976.js +591 -0
  693. package/dist/esm/location-flow-item.entry.js +1 -1
  694. package/dist/esm/logger-3188b9c3.js +59 -0
  695. package/dist/esm/lt-2e1c53de.js +97 -0
  696. package/dist/esm/lv-ca1ba866.js +66 -0
  697. package/dist/esm/map-select-tools_3.entry.js +7 -6
  698. package/dist/esm/math-9afe1f6d.js +54 -0
  699. package/dist/esm/mk-421d0d41.js +66 -0
  700. package/dist/esm/nb-5b103e32.js +67 -0
  701. package/dist/esm/nl-eac33461.js +67 -0
  702. package/dist/esm/observers-6cac5525.js +56 -0
  703. package/dist/esm/openCloseComponent-c8c8645b.js +63 -0
  704. package/dist/esm/pci-calculator.entry.js +1 -1
  705. package/dist/esm/pl-03531ccb.js +114 -0
  706. package/dist/esm/popupUtils-4e0a103f.js +119 -0
  707. package/dist/esm/pt-b5d8bffc.js +67 -0
  708. package/dist/esm/pt-br-dee45728.js +65 -0
  709. package/dist/esm/public-notification.entry.js +6 -5
  710. package/dist/esm/purify-cb56797a.js +1560 -0
  711. package/dist/esm/refine-results-flow-item.entry.js +1 -1
  712. package/dist/esm/resources-119ae117.js +23 -0
  713. package/dist/esm/resources-244d70ca.js +22 -0
  714. package/dist/esm/resources-3f56d4e7.js +19 -0
  715. package/dist/esm/resources-57625076.js +63 -0
  716. package/dist/esm/resources-5b213c89.js +35 -0
  717. package/dist/esm/resources-61eab899.js +20 -0
  718. package/dist/esm/resources-745dec87.js +34 -0
  719. package/dist/esm/resources-9494c015.js +21 -0
  720. package/dist/esm/resources-d6566b8a.js +62 -0
  721. package/dist/esm/resources-d7e0fbbf.js +24 -0
  722. package/dist/esm/restHelpersGet-48113381.js +976 -0
  723. package/dist/esm/ro-df6cb584.js +66 -0
  724. package/dist/esm/ru-e7c02faa.js +126 -0
  725. package/dist/esm/share-item.entry.js +1 -1
  726. package/dist/esm/shared-list-render-cadae2eb.js +339 -0
  727. package/dist/esm/sk-cae387d2.js +148 -0
  728. package/dist/esm/sl-2892ad87.js +168 -0
  729. package/dist/esm/solution-configuration.entry.js +31 -30
  730. package/dist/esm/solution-contents_3.entry.js +8 -7
  731. package/dist/esm/solution-resource-f5809979.js +142 -0
  732. package/dist/esm/solution-store-ca4d55de.js +1352 -0
  733. package/dist/esm/solutions-components.js +5 -5
  734. package/dist/esm/sortableComponent-52b99f0f.js +2745 -0
  735. package/dist/esm/spatial-ref.entry.js +4 -3
  736. package/dist/esm/sr-11e6839f.js +101 -0
  737. package/dist/esm/store-manager.entry.js +5 -4
  738. package/dist/esm/sv-fd5c6ca5.js +71 -0
  739. package/dist/esm/t9n-b7ea1a61.js +103 -0
  740. package/dist/esm/templates-0b442208.js +402 -0
  741. package/dist/esm/th-170cf6b1.js +65 -0
  742. package/dist/esm/time-a7f1020b.js +286 -0
  743. package/dist/esm/tr-1d6ca382.js +66 -0
  744. package/dist/esm/uk-35eec84e.js +104 -0
  745. package/dist/esm/utils-62514064.js +65 -0
  746. package/dist/esm/utils-d2524a35.js +2274 -0
  747. package/dist/esm/vi-2713ee26.js +70 -0
  748. package/dist/esm/zh-cn-ed066014.js +94 -0
  749. package/dist/esm/zh-hk-a118dced.js +92 -0
  750. package/dist/esm/zh-tw-c9bbf220.js +92 -0
  751. package/dist/node_modules/@esri/calcite-components/dist/collection/components/accordion/accordion.css +5 -5
  752. package/dist/node_modules/@esri/calcite-components/dist/collection/components/accordion-item/accordion-item.css +5 -5
  753. package/dist/node_modules/@esri/calcite-components/dist/collection/components/action/action.css +5 -5
  754. package/dist/node_modules/@esri/calcite-components/dist/collection/components/action-bar/action-bar.css +5 -5
  755. package/dist/node_modules/@esri/calcite-components/dist/collection/components/action-group/action-group.css +5 -5
  756. package/dist/node_modules/@esri/calcite-components/dist/collection/components/action-menu/action-menu.css +5 -5
  757. package/dist/node_modules/@esri/calcite-components/dist/collection/components/action-pad/action-pad.css +5 -5
  758. package/dist/node_modules/@esri/calcite-components/dist/collection/components/alert/alert.css +5 -5
  759. package/dist/node_modules/@esri/calcite-components/dist/collection/components/avatar/avatar.css +5 -5
  760. package/dist/node_modules/@esri/calcite-components/dist/collection/components/block/block.css +5 -5
  761. package/dist/node_modules/@esri/calcite-components/dist/collection/components/block-section/block-section.css +5 -5
  762. package/dist/node_modules/@esri/calcite-components/dist/collection/components/button/button.css +5 -5
  763. package/dist/node_modules/@esri/calcite-components/dist/collection/components/card/card.css +5 -5
  764. package/dist/node_modules/@esri/calcite-components/dist/collection/components/card-group/card-group.css +5 -5
  765. package/dist/node_modules/@esri/calcite-components/dist/collection/components/carousel/carousel.css +5 -5
  766. package/dist/node_modules/@esri/calcite-components/dist/collection/components/carousel-item/carousel-item.css +5 -5
  767. package/dist/node_modules/@esri/calcite-components/dist/collection/components/checkbox/checkbox.css +5 -5
  768. package/dist/node_modules/@esri/calcite-components/dist/collection/components/chip/chip.css +5 -5
  769. package/dist/node_modules/@esri/calcite-components/dist/collection/components/chip-group/chip-group.css +5 -5
  770. package/dist/node_modules/@esri/calcite-components/dist/collection/components/color-picker/color-picker.css +5 -5
  771. package/dist/node_modules/@esri/calcite-components/dist/collection/components/color-picker-hex-input/color-picker-hex-input.css +5 -5
  772. package/dist/node_modules/@esri/calcite-components/dist/collection/components/color-picker-swatch/color-picker-swatch.css +5 -5
  773. package/dist/node_modules/@esri/calcite-components/dist/collection/components/combobox/combobox.css +5 -5
  774. package/dist/node_modules/@esri/calcite-components/dist/collection/components/combobox-item/combobox-item.css +5 -5
  775. package/dist/node_modules/@esri/calcite-components/dist/collection/components/combobox-item-group/combobox-item-group.css +5 -5
  776. package/dist/node_modules/@esri/calcite-components/dist/collection/components/date-picker/date-picker.css +5 -5
  777. package/dist/node_modules/@esri/calcite-components/dist/collection/components/date-picker-day/date-picker-day.css +5 -5
  778. package/dist/node_modules/@esri/calcite-components/dist/collection/components/date-picker-month/date-picker-month.css +5 -5
  779. package/dist/node_modules/@esri/calcite-components/dist/collection/components/date-picker-month-header/date-picker-month-header.css +5 -5
  780. package/dist/node_modules/@esri/calcite-components/dist/collection/components/dialog/dialog.css +5 -5
  781. package/dist/node_modules/@esri/calcite-components/dist/collection/components/dropdown/dropdown.css +5 -5
  782. package/dist/node_modules/@esri/calcite-components/dist/collection/components/dropdown-group/dropdown-group.css +5 -5
  783. package/dist/node_modules/@esri/calcite-components/dist/collection/components/dropdown-item/dropdown-item.css +5 -5
  784. package/dist/node_modules/@esri/calcite-components/dist/collection/components/fab/fab.css +5 -5
  785. package/dist/node_modules/@esri/calcite-components/dist/collection/components/filter/filter.css +5 -5
  786. package/dist/node_modules/@esri/calcite-components/dist/collection/components/flow/flow.css +5 -5
  787. package/dist/node_modules/@esri/calcite-components/dist/collection/components/flow-item/flow-item.css +5 -5
  788. package/dist/node_modules/@esri/calcite-components/dist/collection/components/graph/graph.css +5 -5
  789. package/dist/node_modules/@esri/calcite-components/dist/collection/components/handle/handle.css +5 -5
  790. package/dist/node_modules/@esri/calcite-components/dist/collection/components/icon/icon.css +5 -5
  791. package/dist/node_modules/@esri/calcite-components/dist/collection/components/inline-editable/inline-editable.css +5 -5
  792. package/dist/node_modules/@esri/calcite-components/dist/collection/components/input/input.css +5 -5
  793. package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-date-picker/input-date-picker.css +5 -5
  794. package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-message/input-message.css +5 -5
  795. package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-number/input-number.css +5 -5
  796. package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-text/input-text.css +5 -5
  797. package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-time-picker/input-time-picker.css +5 -5
  798. package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-time-zone/input-time-zone.css +5 -5
  799. package/dist/node_modules/@esri/calcite-components/dist/collection/components/label/label.css +5 -5
  800. package/dist/node_modules/@esri/calcite-components/dist/collection/components/link/link.css +5 -5
  801. package/dist/node_modules/@esri/calcite-components/dist/collection/components/list/list.css +5 -5
  802. package/dist/node_modules/@esri/calcite-components/dist/collection/components/list-item/list-item.css +5 -5
  803. package/dist/node_modules/@esri/calcite-components/dist/collection/components/list-item-group/list-item-group.css +5 -5
  804. package/dist/node_modules/@esri/calcite-components/dist/collection/components/loader/loader.css +5 -5
  805. package/dist/node_modules/@esri/calcite-components/dist/collection/components/menu/menu.css +5 -5
  806. package/dist/node_modules/@esri/calcite-components/dist/collection/components/menu-item/menu-item.css +5 -5
  807. package/dist/node_modules/@esri/calcite-components/dist/collection/components/meter/meter.css +5 -5
  808. package/dist/node_modules/@esri/calcite-components/dist/collection/components/modal/modal.css +5 -5
  809. package/dist/node_modules/@esri/calcite-components/dist/collection/components/navigation/navigation.css +5 -5
  810. package/dist/node_modules/@esri/calcite-components/dist/collection/components/navigation-logo/navigation-logo.css +5 -5
  811. package/dist/node_modules/@esri/calcite-components/dist/collection/components/navigation-user/navigation-user.css +5 -5
  812. package/dist/node_modules/@esri/calcite-components/dist/collection/components/notice/notice.css +5 -5
  813. package/dist/node_modules/@esri/calcite-components/dist/collection/components/option/option.css +5 -5
  814. package/dist/node_modules/@esri/calcite-components/dist/collection/components/option-group/option-group.css +5 -5
  815. package/dist/node_modules/@esri/calcite-components/dist/collection/components/pagination/pagination.css +5 -5
  816. package/dist/node_modules/@esri/calcite-components/dist/collection/components/panel/panel.css +6 -22
  817. package/dist/node_modules/@esri/calcite-components/dist/collection/components/pick-list/pick-list.css +5 -5
  818. package/dist/node_modules/@esri/calcite-components/dist/collection/components/pick-list-group/pick-list-group.css +5 -5
  819. package/dist/node_modules/@esri/calcite-components/dist/collection/components/pick-list-item/pick-list-item.css +5 -5
  820. package/dist/node_modules/@esri/calcite-components/dist/collection/components/popover/popover.css +5 -5
  821. package/dist/node_modules/@esri/calcite-components/dist/collection/components/progress/progress.css +5 -5
  822. package/dist/node_modules/@esri/calcite-components/dist/collection/components/radio-button/radio-button.css +5 -5
  823. package/dist/node_modules/@esri/calcite-components/dist/collection/components/radio-button-group/radio-button-group.css +5 -5
  824. package/dist/node_modules/@esri/calcite-components/dist/collection/components/rating/rating.css +5 -5
  825. package/dist/node_modules/@esri/calcite-components/dist/collection/components/scrim/scrim.css +5 -5
  826. package/dist/node_modules/@esri/calcite-components/dist/collection/components/segmented-control/segmented-control.css +5 -5
  827. package/dist/node_modules/@esri/calcite-components/dist/collection/components/segmented-control-item/segmented-control-item.css +5 -5
  828. package/dist/node_modules/@esri/calcite-components/dist/collection/components/select/select.css +5 -5
  829. package/dist/node_modules/@esri/calcite-components/dist/collection/components/sheet/sheet.css +5 -5
  830. package/dist/node_modules/@esri/calcite-components/dist/collection/components/shell/shell.css +6 -6
  831. package/dist/node_modules/@esri/calcite-components/dist/collection/components/shell-center-row/shell-center-row.css +5 -5
  832. package/dist/node_modules/@esri/calcite-components/dist/collection/components/shell-panel/shell-panel.css +5 -5
  833. package/dist/node_modules/@esri/calcite-components/dist/collection/components/slider/slider.css +5 -5
  834. package/dist/node_modules/@esri/calcite-components/dist/collection/components/sortable-list/sortable-list.css +5 -5
  835. package/dist/node_modules/@esri/calcite-components/dist/collection/components/split-button/split-button.css +5 -5
  836. package/dist/node_modules/@esri/calcite-components/dist/collection/components/stack/stack.css +5 -5
  837. package/dist/node_modules/@esri/calcite-components/dist/collection/components/stepper/stepper.css +5 -5
  838. package/dist/node_modules/@esri/calcite-components/dist/collection/components/stepper-item/stepper-item.css +5 -5
  839. package/dist/node_modules/@esri/calcite-components/dist/collection/components/switch/switch.css +5 -5
  840. package/dist/node_modules/@esri/calcite-components/dist/collection/components/tab/tab.css +5 -5
  841. package/dist/node_modules/@esri/calcite-components/dist/collection/components/tab-nav/tab-nav.css +5 -5
  842. package/dist/node_modules/@esri/calcite-components/dist/collection/components/tab-title/tab-title.css +5 -5
  843. package/dist/node_modules/@esri/calcite-components/dist/collection/components/table/table.css +5 -5
  844. package/dist/node_modules/@esri/calcite-components/dist/collection/components/table-cell/table-cell.css +5 -5
  845. package/dist/node_modules/@esri/calcite-components/dist/collection/components/table-header/table-header.css +5 -5
  846. package/dist/node_modules/@esri/calcite-components/dist/collection/components/table-row/table-row.css +5 -5
  847. package/dist/node_modules/@esri/calcite-components/dist/collection/components/tabs/tabs.css +5 -5
  848. package/dist/node_modules/@esri/calcite-components/dist/collection/components/text-area/text-area.css +5 -5
  849. package/dist/node_modules/@esri/calcite-components/dist/collection/components/tile/tile.css +5 -5
  850. package/dist/node_modules/@esri/calcite-components/dist/collection/components/tile-group/tile-group.css +5 -5
  851. package/dist/node_modules/@esri/calcite-components/dist/collection/components/tile-select/tile-select.css +5 -5
  852. package/dist/node_modules/@esri/calcite-components/dist/collection/components/tile-select-group/tile-select-group.css +5 -5
  853. package/dist/node_modules/@esri/calcite-components/dist/collection/components/time-picker/time-picker.css +5 -5
  854. package/dist/node_modules/@esri/calcite-components/dist/collection/components/tip/tip.css +5 -5
  855. package/dist/node_modules/@esri/calcite-components/dist/collection/components/tip-group/tip-group.css +5 -5
  856. package/dist/node_modules/@esri/calcite-components/dist/collection/components/tip-manager/tip-manager.css +5 -5
  857. package/dist/node_modules/@esri/calcite-components/dist/collection/components/tooltip/tooltip.css +5 -5
  858. package/dist/node_modules/@esri/calcite-components/dist/collection/components/tree/tree.css +5 -5
  859. package/dist/node_modules/@esri/calcite-components/dist/collection/components/tree-item/tree-item.css +5 -5
  860. package/dist/node_modules/@esri/calcite-components/dist/collection/components/value-list/value-list.css +5 -5
  861. package/dist/node_modules/@esri/calcite-components/dist/collection/components/value-list-item/value-list-item.css +5 -5
  862. package/dist/solutions-components/assets/t9n/card-manager/resources_ar.json +4 -1
  863. package/dist/solutions-components/assets/t9n/card-manager/resources_bg.json +4 -1
  864. package/dist/solutions-components/assets/t9n/card-manager/resources_bs.json +4 -1
  865. package/dist/solutions-components/assets/t9n/card-manager/resources_ca.json +4 -1
  866. package/dist/solutions-components/assets/t9n/card-manager/resources_cs.json +4 -1
  867. package/dist/solutions-components/assets/t9n/card-manager/resources_da.json +4 -1
  868. package/dist/solutions-components/assets/t9n/card-manager/resources_de.json +4 -1
  869. package/dist/solutions-components/assets/t9n/card-manager/resources_el.json +4 -1
  870. package/dist/solutions-components/assets/t9n/card-manager/resources_es.json +4 -1
  871. package/dist/solutions-components/assets/t9n/card-manager/resources_et.json +4 -1
  872. package/dist/solutions-components/assets/t9n/card-manager/resources_fi.json +4 -1
  873. package/dist/solutions-components/assets/t9n/card-manager/resources_fr.json +4 -1
  874. package/dist/solutions-components/assets/t9n/card-manager/resources_he.json +4 -1
  875. package/dist/solutions-components/assets/t9n/card-manager/resources_hr.json +4 -1
  876. package/dist/solutions-components/assets/t9n/card-manager/resources_hu.json +4 -1
  877. package/dist/solutions-components/assets/t9n/card-manager/resources_id.json +4 -1
  878. package/dist/solutions-components/assets/t9n/card-manager/resources_it.json +4 -1
  879. package/dist/solutions-components/assets/t9n/card-manager/resources_ja.json +4 -1
  880. package/dist/solutions-components/assets/t9n/card-manager/resources_ko.json +4 -1
  881. package/dist/solutions-components/assets/t9n/card-manager/resources_lt.json +4 -1
  882. package/dist/solutions-components/assets/t9n/card-manager/resources_lv.json +4 -1
  883. package/dist/solutions-components/assets/t9n/card-manager/resources_nb.json +4 -1
  884. package/dist/solutions-components/assets/t9n/card-manager/resources_nl.json +4 -1
  885. package/dist/solutions-components/assets/t9n/card-manager/resources_pl.json +4 -1
  886. package/dist/solutions-components/assets/t9n/card-manager/resources_pt-BR.json +4 -1
  887. package/dist/solutions-components/assets/t9n/card-manager/resources_pt-PT.json +4 -1
  888. package/dist/solutions-components/assets/t9n/card-manager/resources_ro.json +4 -1
  889. package/dist/solutions-components/assets/t9n/card-manager/resources_ru.json +4 -1
  890. package/dist/solutions-components/assets/t9n/card-manager/resources_sk.json +4 -1
  891. package/dist/solutions-components/assets/t9n/card-manager/resources_sl.json +4 -1
  892. package/dist/solutions-components/assets/t9n/card-manager/resources_sr.json +4 -1
  893. package/dist/solutions-components/assets/t9n/card-manager/resources_sv.json +4 -1
  894. package/dist/solutions-components/assets/t9n/card-manager/resources_th.json +4 -1
  895. package/dist/solutions-components/assets/t9n/card-manager/resources_tr.json +4 -1
  896. package/dist/solutions-components/assets/t9n/card-manager/resources_uk.json +4 -1
  897. package/dist/solutions-components/assets/t9n/card-manager/resources_vi.json +4 -1
  898. package/dist/solutions-components/assets/t9n/card-manager/resources_zh-CN.json +4 -1
  899. package/dist/solutions-components/assets/t9n/card-manager/resources_zh-HK.json +4 -1
  900. package/dist/solutions-components/assets/t9n/card-manager/resources_zh-TW.json +4 -1
  901. package/dist/solutions-components/assets/t9n/create-feature/resources.json +5 -0
  902. package/dist/solutions-components/assets/t9n/create-feature/resources_en.json +5 -0
  903. package/dist/solutions-components/assets/t9n/create-related-feature/resources.json +3 -0
  904. package/dist/solutions-components/assets/t9n/create-related-feature/resources_en.json +3 -0
  905. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources.json +0 -1
  906. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_en.json +0 -1
  907. package/dist/solutions-components/assets/t9n/layer-table/resources_ar.json +2 -1
  908. package/dist/solutions-components/assets/t9n/layer-table/resources_bg.json +2 -1
  909. package/dist/solutions-components/assets/t9n/layer-table/resources_bs.json +2 -1
  910. package/dist/solutions-components/assets/t9n/layer-table/resources_ca.json +2 -1
  911. package/dist/solutions-components/assets/t9n/layer-table/resources_cs.json +2 -1
  912. package/dist/solutions-components/assets/t9n/layer-table/resources_da.json +2 -1
  913. package/dist/solutions-components/assets/t9n/layer-table/resources_de.json +2 -1
  914. package/dist/solutions-components/assets/t9n/layer-table/resources_el.json +2 -1
  915. package/dist/solutions-components/assets/t9n/layer-table/resources_es.json +2 -1
  916. package/dist/solutions-components/assets/t9n/layer-table/resources_et.json +2 -1
  917. package/dist/solutions-components/assets/t9n/layer-table/resources_fi.json +2 -1
  918. package/dist/solutions-components/assets/t9n/layer-table/resources_fr.json +2 -1
  919. package/dist/solutions-components/assets/t9n/layer-table/resources_he.json +2 -1
  920. package/dist/solutions-components/assets/t9n/layer-table/resources_hr.json +2 -1
  921. package/dist/solutions-components/assets/t9n/layer-table/resources_hu.json +2 -1
  922. package/dist/solutions-components/assets/t9n/layer-table/resources_id.json +2 -1
  923. package/dist/solutions-components/assets/t9n/layer-table/resources_it.json +2 -1
  924. package/dist/solutions-components/assets/t9n/layer-table/resources_ja.json +2 -1
  925. package/dist/solutions-components/assets/t9n/layer-table/resources_ko.json +2 -1
  926. package/dist/solutions-components/assets/t9n/layer-table/resources_lt.json +2 -1
  927. package/dist/solutions-components/assets/t9n/layer-table/resources_lv.json +2 -1
  928. package/dist/solutions-components/assets/t9n/layer-table/resources_nb.json +2 -1
  929. package/dist/solutions-components/assets/t9n/layer-table/resources_nl.json +2 -1
  930. package/dist/solutions-components/assets/t9n/layer-table/resources_pl.json +2 -1
  931. package/dist/solutions-components/assets/t9n/layer-table/resources_pt-BR.json +2 -1
  932. package/dist/solutions-components/assets/t9n/layer-table/resources_pt-PT.json +2 -1
  933. package/dist/solutions-components/assets/t9n/layer-table/resources_ro.json +2 -1
  934. package/dist/solutions-components/assets/t9n/layer-table/resources_ru.json +2 -1
  935. package/dist/solutions-components/assets/t9n/layer-table/resources_sk.json +2 -1
  936. package/dist/solutions-components/assets/t9n/layer-table/resources_sl.json +2 -1
  937. package/dist/solutions-components/assets/t9n/layer-table/resources_sr.json +2 -1
  938. package/dist/solutions-components/assets/t9n/layer-table/resources_sv.json +2 -1
  939. package/dist/solutions-components/assets/t9n/layer-table/resources_th.json +2 -1
  940. package/dist/solutions-components/assets/t9n/layer-table/resources_tr.json +2 -1
  941. package/dist/solutions-components/assets/t9n/layer-table/resources_uk.json +2 -1
  942. package/dist/solutions-components/assets/t9n/layer-table/resources_vi.json +2 -1
  943. package/dist/solutions-components/assets/t9n/layer-table/resources_zh-CN.json +2 -1
  944. package/dist/solutions-components/assets/t9n/layer-table/resources_zh-HK.json +2 -1
  945. package/dist/solutions-components/assets/t9n/layer-table/resources_zh-TW.json +2 -1
  946. package/dist/solutions-components/demos/crowdsource-reporter.html +24 -25
  947. package/dist/solutions-components/p-01dae909.js +6 -0
  948. package/dist/solutions-components/p-02ea30d1.entry.js +11 -0
  949. package/dist/solutions-components/p-040b6e44.entry.js +6 -0
  950. package/dist/solutions-components/p-04294b8e.js +6 -0
  951. package/dist/solutions-components/p-062e5705.entry.js +6 -0
  952. package/dist/solutions-components/p-062f4457.js +6 -0
  953. package/dist/solutions-components/p-07d30a6b.entry.js +11 -0
  954. package/dist/solutions-components/p-08d1cc1f.js +11 -0
  955. package/dist/solutions-components/p-0a165419.js +18 -0
  956. package/dist/solutions-components/p-0b6e5486.js +6 -0
  957. package/dist/solutions-components/p-0d6b3f44.js +6 -0
  958. package/dist/solutions-components/p-0dc73313.js +6 -0
  959. package/dist/solutions-components/p-0e851a4b.js +6 -0
  960. package/dist/solutions-components/p-0ef9d36b.js +11 -0
  961. package/dist/solutions-components/p-1017609e.js +11 -0
  962. package/dist/solutions-components/p-1490c752.js +61 -0
  963. package/dist/solutions-components/p-14f027b5.js +11 -0
  964. package/dist/solutions-components/p-150394be.js +11 -0
  965. package/dist/solutions-components/p-16a3f7ca.entry.js +6 -0
  966. package/dist/solutions-components/p-16b24981.entry.js +11 -0
  967. package/dist/solutions-components/p-19b466d0.js +6 -0
  968. package/dist/solutions-components/p-1a06bf01.js +6 -0
  969. package/dist/solutions-components/p-1b0fe5b1.entry.js +6 -0
  970. package/dist/solutions-components/p-1b229454.js +11 -0
  971. package/dist/solutions-components/p-1c249530.js +11 -0
  972. package/dist/solutions-components/p-1ce2608d.js +12 -0
  973. package/dist/solutions-components/p-1ef6a1c2.entry.js +6 -0
  974. package/dist/solutions-components/p-2007eaa4.entry.js +6 -0
  975. package/dist/solutions-components/p-222e0445.entry.js +11 -0
  976. package/dist/solutions-components/p-2230d4cc.js +11 -0
  977. package/dist/solutions-components/p-2264e8d5.entry.js +11 -0
  978. package/dist/solutions-components/p-23ce9afa.entry.js +11 -0
  979. package/dist/solutions-components/p-23dd68de.entry.js +17 -0
  980. package/dist/solutions-components/p-245c35ce.js +6 -0
  981. package/dist/solutions-components/p-24a813a4.entry.js +6 -0
  982. package/dist/solutions-components/p-25b5ffea.js +6 -0
  983. package/dist/solutions-components/p-267ef1b8.entry.js +11 -0
  984. package/dist/solutions-components/p-270ead49.js +16 -0
  985. package/dist/solutions-components/p-27d462c0.js +11 -0
  986. package/dist/solutions-components/p-2868a42b.js +11 -0
  987. package/dist/solutions-components/p-29a09798.js +17 -0
  988. package/dist/solutions-components/p-2aa44a02.entry.js +11 -0
  989. package/dist/solutions-components/p-2d17790c.js +6 -0
  990. package/dist/solutions-components/p-2e06ec97.js +6 -0
  991. package/dist/solutions-components/p-304cef31.js +16 -0
  992. package/dist/solutions-components/p-33db098c.js +6 -0
  993. package/dist/solutions-components/p-347d9ce0.js +6 -0
  994. package/dist/solutions-components/p-36e59391.js +143 -0
  995. package/dist/solutions-components/p-3792492a.js +11 -0
  996. package/dist/solutions-components/p-38a87c63.js +11 -0
  997. package/dist/solutions-components/p-3a47fde6.entry.js +11 -0
  998. package/dist/solutions-components/p-3c1ecf85.entry.js +29 -0
  999. package/dist/solutions-components/p-3c89bfe5.entry.js +6 -0
  1000. package/dist/solutions-components/p-3e828614.js +11 -0
  1001. package/dist/solutions-components/p-40175313.entry.js +11 -0
  1002. package/dist/solutions-components/p-40f5df15.entry.js +11 -0
  1003. package/dist/solutions-components/p-42cd083f.entry.js +20 -0
  1004. package/dist/solutions-components/p-47a0be20.js +11 -0
  1005. package/dist/solutions-components/p-4920ee12.js +11 -0
  1006. package/dist/solutions-components/p-49bbe45e.js +6 -0
  1007. package/dist/solutions-components/p-4b9b7778.js +11 -0
  1008. package/dist/solutions-components/p-4c179300.entry.js +11 -0
  1009. package/dist/solutions-components/p-4c88578a.entry.js +6 -0
  1010. package/dist/solutions-components/p-4e7aa926.js +6 -0
  1011. package/dist/solutions-components/p-4fe5e9c3.entry.js +22 -0
  1012. package/dist/solutions-components/p-508b2b7b.js +6 -0
  1013. package/dist/solutions-components/p-52f19286.entry.js +11 -0
  1014. package/dist/solutions-components/p-53b5a39e.js +6 -0
  1015. package/dist/solutions-components/p-5440c8dd.js +6 -0
  1016. package/dist/solutions-components/p-54a9017c.entry.js +11 -0
  1017. package/dist/solutions-components/p-54b7e680.js +6 -0
  1018. package/dist/solutions-components/p-550da58b.js +6 -0
  1019. package/dist/solutions-components/p-5612aa0c.entry.js +6 -0
  1020. package/dist/solutions-components/p-57025491.entry.js +6 -0
  1021. package/dist/solutions-components/p-5a3cab12.entry.js +17 -0
  1022. package/dist/solutions-components/p-5de67b86.js +11 -0
  1023. package/dist/solutions-components/p-5e71e72a.js +21 -0
  1024. package/dist/solutions-components/p-5f705984.js +6 -0
  1025. package/dist/solutions-components/p-5f7c1e49.js +6 -0
  1026. package/dist/solutions-components/p-6147cfb4.entry.js +6 -0
  1027. package/dist/solutions-components/p-6319ca20.js +6 -0
  1028. package/dist/solutions-components/p-64a34d92.js +11 -0
  1029. package/dist/solutions-components/p-64bf4d2e.entry.js +11 -0
  1030. package/dist/solutions-components/p-66afdfdd.entry.js +17 -0
  1031. package/dist/solutions-components/p-66b01781.js +11 -0
  1032. package/dist/solutions-components/p-67c34d05.entry.js +16 -0
  1033. package/dist/solutions-components/p-691cb5f4.js +21 -0
  1034. package/dist/solutions-components/p-6b0fa1eb.entry.js +17 -0
  1035. package/dist/solutions-components/p-6c080ac7.entry.js +11 -0
  1036. package/dist/solutions-components/p-707ee1d1.entry.js +11 -0
  1037. package/dist/solutions-components/p-712873f0.js +6 -0
  1038. package/dist/solutions-components/p-732bb88c.entry.js +6 -0
  1039. package/dist/solutions-components/p-744d9575.js +11 -0
  1040. package/dist/solutions-components/p-74fbad1c.js +489 -0
  1041. package/dist/solutions-components/p-7586e1de.entry.js +6 -0
  1042. package/dist/solutions-components/p-770a0e12.js +6 -0
  1043. package/dist/solutions-components/p-793f1b14.entry.js +11 -0
  1044. package/dist/solutions-components/p-798b9928.entry.js +11 -0
  1045. package/dist/solutions-components/p-79f5a8be.js +11 -0
  1046. package/dist/solutions-components/p-79f78acc.entry.js +11 -0
  1047. package/dist/solutions-components/p-7ae41cd8.js +6 -0
  1048. package/dist/solutions-components/p-7b2ef872.entry.js +11 -0
  1049. package/dist/solutions-components/p-7c854814.js +11 -0
  1050. package/dist/solutions-components/p-7fce703f.entry.js +12 -0
  1051. package/dist/solutions-components/p-80f49acc.js +6 -0
  1052. package/dist/solutions-components/p-8537518d.entry.js +11 -0
  1053. package/dist/solutions-components/p-8614d1a0.entry.js +11 -0
  1054. package/dist/solutions-components/p-87f928a5.entry.js +17 -0
  1055. package/dist/solutions-components/p-8bb2c169.js +11 -0
  1056. package/dist/solutions-components/p-8bce991a.js +11 -0
  1057. package/dist/solutions-components/p-8bfa18b7.js +11 -0
  1058. package/dist/solutions-components/p-8c6a301f.entry.js +47 -0
  1059. package/dist/solutions-components/p-8da5aeea.entry.js +11 -0
  1060. package/dist/solutions-components/p-8fb06a85.entry.js +11 -0
  1061. package/dist/solutions-components/p-919e9de7.entry.js +11 -0
  1062. package/dist/solutions-components/p-91b7a7dc.entry.js +11 -0
  1063. package/dist/solutions-components/p-924ec704.js +6 -0
  1064. package/dist/solutions-components/p-9277a339.entry.js +22 -0
  1065. package/dist/solutions-components/p-92ba99ff.js +6 -0
  1066. package/dist/solutions-components/p-936037e4.js +6 -0
  1067. package/dist/solutions-components/p-9384cc65.entry.js +11 -0
  1068. package/dist/solutions-components/p-94ae78d6.js +6 -0
  1069. package/dist/solutions-components/p-9524e5e4.js +6 -0
  1070. package/dist/solutions-components/p-9560a1fd.entry.js +6 -0
  1071. package/dist/solutions-components/p-95c3b305.entry.js +12 -0
  1072. package/dist/solutions-components/p-986ff43b.entry.js +17 -0
  1073. package/dist/solutions-components/p-990d8b4b.js +6 -0
  1074. package/dist/solutions-components/p-996daf05.entry.js +6 -0
  1075. package/dist/solutions-components/p-9bb44f57.js +65 -0
  1076. package/dist/solutions-components/p-9bc84681.js +6 -0
  1077. package/dist/solutions-components/p-9c5f4347.js +6 -0
  1078. package/dist/solutions-components/p-9db30b19.entry.js +6 -0
  1079. package/dist/solutions-components/p-9fa7a7ad.entry.js +6 -0
  1080. package/dist/solutions-components/p-9fed495d.entry.js +17 -0
  1081. package/dist/solutions-components/p-a37d1b17.entry.js +6 -0
  1082. package/dist/solutions-components/p-a471ceb6.js +11 -0
  1083. package/dist/solutions-components/p-a4e35c2d.entry.js +6 -0
  1084. package/dist/solutions-components/p-a5e64f6b.entry.js +6 -0
  1085. package/dist/solutions-components/p-a79f4c52.entry.js +12 -0
  1086. package/dist/solutions-components/p-a8b42e35.entry.js +6 -0
  1087. package/dist/solutions-components/p-aa341d46.entry.js +11 -0
  1088. package/dist/solutions-components/p-aa68a36e.entry.js +11 -0
  1089. package/dist/solutions-components/p-aa85b136.entry.js +6 -0
  1090. package/dist/solutions-components/p-aaa56cbf.js +11 -0
  1091. package/dist/solutions-components/p-ac11cf8f.entry.js +11 -0
  1092. package/dist/solutions-components/p-aef41a6d.entry.js +11 -0
  1093. package/dist/solutions-components/p-b3e8da19.entry.js +11 -0
  1094. package/dist/solutions-components/p-b5575639.js +11 -0
  1095. package/dist/solutions-components/p-b5b66530.js +11 -0
  1096. package/dist/solutions-components/p-b75c4db2.entry.js +6 -0
  1097. package/dist/solutions-components/p-b76ed1c7.entry.js +11 -0
  1098. package/dist/solutions-components/p-b8b78283.entry.js +29 -0
  1099. package/dist/solutions-components/p-b8ce880d.js +6 -0
  1100. package/dist/solutions-components/p-b8f33145.js +6 -0
  1101. package/dist/solutions-components/p-b96233e3.entry.js +6 -0
  1102. package/dist/solutions-components/p-bae65813.entry.js +6 -0
  1103. package/dist/solutions-components/p-bb0f549a.js +6 -0
  1104. package/dist/solutions-components/p-bc6cf10f.entry.js +11 -0
  1105. package/dist/solutions-components/p-bde2619f.entry.js +6 -0
  1106. package/dist/solutions-components/p-c0d25be5.entry.js +21 -0
  1107. package/dist/solutions-components/p-c151da98.entry.js +11 -0
  1108. package/dist/solutions-components/p-c163b67f.js +6 -0
  1109. package/dist/solutions-components/p-c1fa5dae.entry.js +11 -0
  1110. package/dist/solutions-components/p-c25e8c35.js +17 -0
  1111. package/dist/solutions-components/p-c40b0ec5.js +16 -0
  1112. package/dist/solutions-components/p-c4953b5e.entry.js +11 -0
  1113. package/dist/solutions-components/p-c5facecd.entry.js +6 -0
  1114. package/dist/solutions-components/p-c6255e3c.entry.js +6 -0
  1115. package/dist/solutions-components/p-c7eaade6.entry.js +11 -0
  1116. package/dist/solutions-components/p-ca6055a3.js +6 -0
  1117. package/dist/solutions-components/p-cadbe907.entry.js +11 -0
  1118. package/dist/solutions-components/p-cb07016a.entry.js +11 -0
  1119. package/dist/solutions-components/p-cd6eee11.js +6 -0
  1120. package/dist/solutions-components/p-cf9e6515.entry.js +11 -0
  1121. package/dist/solutions-components/p-d0d020a5.js +37 -0
  1122. package/dist/solutions-components/p-d1cc620f.entry.js +11 -0
  1123. package/dist/solutions-components/p-d36878db.js +11 -0
  1124. package/dist/solutions-components/p-d47abf9b.entry.js +16 -0
  1125. package/dist/solutions-components/p-d75ef009.entry.js +11 -0
  1126. package/dist/solutions-components/p-d784f756.entry.js +23 -0
  1127. package/dist/solutions-components/p-d9e930c8.js +11 -0
  1128. package/dist/solutions-components/p-da80cfbc.entry.js +11 -0
  1129. package/dist/solutions-components/p-de3ee7a6.entry.js +17 -0
  1130. package/dist/solutions-components/p-de8121a4.js +6 -0
  1131. package/dist/solutions-components/p-dfeb6a2e.entry.js +11 -0
  1132. package/dist/solutions-components/p-e0ee0556.entry.js +11 -0
  1133. package/dist/solutions-components/p-e378184f.entry.js +6 -0
  1134. package/dist/solutions-components/p-e3fe81ae.js +7 -0
  1135. package/dist/solutions-components/p-e4ef6f49.js +6 -0
  1136. package/dist/solutions-components/p-e74bc7b3.js +6 -0
  1137. package/dist/solutions-components/p-e9d3365f.js +22 -0
  1138. package/dist/solutions-components/p-eb2859d6.js +6 -0
  1139. package/dist/solutions-components/p-ee9b7fab.js +6 -0
  1140. package/dist/solutions-components/p-ef67c743.js +11 -0
  1141. package/dist/solutions-components/p-f3166d51.entry.js +6 -0
  1142. package/dist/solutions-components/p-f550ebc1.entry.js +6 -0
  1143. package/dist/solutions-components/p-f6c3501c.js +16 -0
  1144. package/dist/solutions-components/p-f6f2018a.js +11 -0
  1145. package/dist/solutions-components/p-f7bc99fb.entry.js +17 -0
  1146. package/dist/solutions-components/p-f88c3477.entry.js +6 -0
  1147. package/dist/solutions-components/p-f8d23498.js +11 -0
  1148. package/dist/solutions-components/p-fa56b7c2.js +11 -0
  1149. package/dist/solutions-components/p-fa68f43a.entry.js +6 -0
  1150. package/dist/solutions-components/p-fb3e0eae.js +6 -0
  1151. package/dist/solutions-components/p-fcd33b4f.js +6 -0
  1152. package/dist/solutions-components/p-fd79adec.entry.js +6 -0
  1153. package/dist/solutions-components/p-fedbf657.entry.js +11 -0
  1154. package/dist/solutions-components/solutions-components.esm.js +1 -1
  1155. package/dist/solutions-components/utils/pdfUtils.ts +1 -1
  1156. package/dist/types/components/basemap-gallery/basemap-gallery.d.ts +1 -0
  1157. package/dist/types/components/create-feature/create-feature.d.ts +20 -0
  1158. package/dist/types/components/create-related-feature/create-related-feature.d.ts +16 -0
  1159. package/dist/types/components/crowdsource-reporter/crowdsource-reporter.d.ts +19 -3
  1160. package/dist/types/components/feature-details/feature-details.d.ts +8 -0
  1161. package/dist/types/components/feature-list/feature-list.d.ts +3 -1
  1162. package/dist/types/components/layer-table/layer-table.d.ts +1 -1
  1163. package/dist/types/components.d.ts +28 -1
  1164. package/dist/types/preact.d.ts +3 -1
  1165. package/package.json +8 -7
  1166. package/dist/cjs/ExpandToggle-63855ea7.js +0 -115
  1167. package/dist/cjs/FloatingArrow-4afc0a27.js +0 -48
  1168. package/dist/cjs/Heading-f01dc40c.js +0 -25
  1169. package/dist/cjs/Validation-c52e0b30.js +0 -20
  1170. package/dist/cjs/app-globals-587d5fc5.js +0 -67
  1171. package/dist/cjs/ar-406e323c.js +0 -106
  1172. package/dist/cjs/array-7ee883b3.js +0 -17
  1173. package/dist/cjs/bg-56abe1a2.js +0 -84
  1174. package/dist/cjs/browser-e9eb8b2e.js +0 -35
  1175. package/dist/cjs/bs-43ed4dcb.js +0 -53
  1176. package/dist/cjs/ca-ad58f302.js +0 -73
  1177. package/dist/cjs/calcite-input-time-picker-83bcd60f.js +0 -1861
  1178. package/dist/cjs/common-4d4cf291.js +0 -37
  1179. package/dist/cjs/component-ab59efe0.js +0 -33
  1180. package/dist/cjs/conditionalSlot-e7b1e80b.js +0 -54
  1181. package/dist/cjs/config-90915d7e.js +0 -40
  1182. package/dist/cjs/cs-eef992e9.js +0 -149
  1183. package/dist/cjs/da-4957191f.js +0 -69
  1184. package/dist/cjs/date-09eabd7c.js +0 -264
  1185. package/dist/cjs/de-64947d33.js +0 -93
  1186. package/dist/cjs/de-at-976bd625.js +0 -92
  1187. package/dist/cjs/de-ch-9c2f85be.js +0 -92
  1188. package/dist/cjs/dom-5fd0c11a.js +0 -1215
  1189. package/dist/cjs/downloadUtils-b1bc6031.js +0 -3163
  1190. package/dist/cjs/el-17064e96.js +0 -68
  1191. package/dist/cjs/en-au-bf34aa99.js +0 -68
  1192. package/dist/cjs/en-ca-20b7aeab.js +0 -67
  1193. package/dist/cjs/en-gb-72ebc333.js +0 -71
  1194. package/dist/cjs/es-996df974.js +0 -68
  1195. package/dist/cjs/es-mx-cf34d408.js +0 -67
  1196. package/dist/cjs/et-fe1aba97.js +0 -94
  1197. package/dist/cjs/fi-154d8730.js +0 -117
  1198. package/dist/cjs/filter-1906ce7b.js +0 -778
  1199. package/dist/cjs/floating-ui-b477f602.js +0 -2373
  1200. package/dist/cjs/focusTrapComponent-01de8e72.js +0 -1018
  1201. package/dist/cjs/form-fba99326.js +0 -381
  1202. package/dist/cjs/fr-21a56733.js +0 -70
  1203. package/dist/cjs/fr-ch-66f7a5c9.js +0 -68
  1204. package/dist/cjs/guid-81a8c49f.js +0 -26
  1205. package/dist/cjs/he-249d58b9.js +0 -107
  1206. package/dist/cjs/hi-7015dbc4.js +0 -67
  1207. package/dist/cjs/hr-e57553fd.js +0 -82
  1208. package/dist/cjs/hu-e0a32fbd.js +0 -90
  1209. package/dist/cjs/id-6eeb6f33.js +0 -68
  1210. package/dist/cjs/index.es-5ad1b7be.js +0 -11317
  1211. package/dist/cjs/input-cb7565cc.js +0 -60
  1212. package/dist/cjs/interactive-d349d0f0.js +0 -167
  1213. package/dist/cjs/it-21b9179c.js +0 -68
  1214. package/dist/cjs/it-ch-ed862b1c.js +0 -68
  1215. package/dist/cjs/ja-a5d93dac.js +0 -74
  1216. package/dist/cjs/key-a0f7c4f3.js +0 -19
  1217. package/dist/cjs/ko-1913cf25.js +0 -74
  1218. package/dist/cjs/label-dc906a73.js +0 -186
  1219. package/dist/cjs/loadable-d9a2a731.js +0 -98
  1220. package/dist/cjs/locale-4d172288.js +0 -605
  1221. package/dist/cjs/logger-dc99f85b.js +0 -61
  1222. package/dist/cjs/lt-aeec2286.js +0 -99
  1223. package/dist/cjs/lv-9055202a.js +0 -68
  1224. package/dist/cjs/math-8d9588b6.js +0 -60
  1225. package/dist/cjs/mk-98948b48.js +0 -68
  1226. package/dist/cjs/nb-d88ea8dc.js +0 -69
  1227. package/dist/cjs/nl-a8df29cd.js +0 -69
  1228. package/dist/cjs/observers-b83abbfc.js +0 -58
  1229. package/dist/cjs/openCloseComponent-a2a2a773.js +0 -65
  1230. package/dist/cjs/pl-0c9cc2cf.js +0 -116
  1231. package/dist/cjs/popupUtils-948e8990.js +0 -121
  1232. package/dist/cjs/pt-5d70043e.js +0 -69
  1233. package/dist/cjs/pt-br-fed6323a.js +0 -67
  1234. package/dist/cjs/purify-17c0fc4a.js +0 -1716
  1235. package/dist/cjs/resources-03698411.js +0 -39
  1236. package/dist/cjs/resources-085b5a9c.js +0 -23
  1237. package/dist/cjs/resources-08ceff44.js +0 -21
  1238. package/dist/cjs/resources-32b7c652.js +0 -23
  1239. package/dist/cjs/resources-3e7e7fb7.js +0 -26
  1240. package/dist/cjs/resources-44438f5c.js +0 -68
  1241. package/dist/cjs/resources-b4193681.js +0 -27
  1242. package/dist/cjs/resources-bcc3f2b2.js +0 -68
  1243. package/dist/cjs/resources-e3a7e2f5.js +0 -29
  1244. package/dist/cjs/resources-e5bab826.js +0 -39
  1245. package/dist/cjs/restHelpersGet-88ba0e25.js +0 -975
  1246. package/dist/cjs/ro-021065c9.js +0 -68
  1247. package/dist/cjs/ru-9ec3c8de.js +0 -128
  1248. package/dist/cjs/shared-list-render-79567fc0.js +0 -361
  1249. package/dist/cjs/sk-09cbe5ba.js +0 -150
  1250. package/dist/cjs/sl-3a4381a4.js +0 -170
  1251. package/dist/cjs/solution-resource-16c7510c.js +0 -1843
  1252. package/dist/cjs/solution-store-1218246d.js +0 -1353
  1253. package/dist/cjs/sortableComponent-abdb9e28.js +0 -2748
  1254. package/dist/cjs/sr-c18bc63a.js +0 -103
  1255. package/dist/cjs/sv-e721be29.js +0 -73
  1256. package/dist/cjs/t9n-c8d7a2ec.js +0 -108
  1257. package/dist/cjs/templates-2f44c01b.js +0 -407
  1258. package/dist/cjs/th-baa740bc.js +0 -67
  1259. package/dist/cjs/time-087f0346.js +0 -301
  1260. package/dist/cjs/tr-c0b17a53.js +0 -68
  1261. package/dist/cjs/uk-68a75a5a.js +0 -106
  1262. package/dist/cjs/utils-8f400dfd.js +0 -78
  1263. package/dist/cjs/utils-9a063f23.js +0 -2304
  1264. package/dist/cjs/vi-bf3bf360.js +0 -72
  1265. package/dist/cjs/zh-cn-f36908e8.js +0 -96
  1266. package/dist/cjs/zh-hk-79863fdd.js +0 -94
  1267. package/dist/cjs/zh-tw-eb1f3b17.js +0 -94
  1268. package/dist/esm/ExpandToggle-f909e195.js +0 -108
  1269. package/dist/esm/FloatingArrow-4dbed45e.js +0 -46
  1270. package/dist/esm/Heading-19e46a14.js +0 -22
  1271. package/dist/esm/Validation-0b8675a8.js +0 -18
  1272. package/dist/esm/app-globals-0fc0d343.js +0 -65
  1273. package/dist/esm/ar-2b7701c9.js +0 -104
  1274. package/dist/esm/array-0d5d845c.js +0 -15
  1275. package/dist/esm/bg-cfd918d6.js +0 -82
  1276. package/dist/esm/browser-d0009bfe.js +0 -32
  1277. package/dist/esm/bs-6e26541f.js +0 -51
  1278. package/dist/esm/ca-3edf7b06.js +0 -71
  1279. package/dist/esm/calcite-input-time-picker-c5ee10a4.js +0 -1858
  1280. package/dist/esm/common-3b99e350.js +0 -35
  1281. package/dist/esm/component-0f26d27a.js +0 -30
  1282. package/dist/esm/conditionalSlot-56fa9723.js +0 -51
  1283. package/dist/esm/config-e0237f7c.js +0 -36
  1284. package/dist/esm/cs-93a3355b.js +0 -147
  1285. package/dist/esm/da-f4d05bf2.js +0 -67
  1286. package/dist/esm/date-dd3d9d2f.js +0 -248
  1287. package/dist/esm/de-04f477b6.js +0 -91
  1288. package/dist/esm/de-at-1b4e56b9.js +0 -90
  1289. package/dist/esm/de-ch-59c96703.js +0 -90
  1290. package/dist/esm/dom-9e8610a2.js +0 -1180
  1291. package/dist/esm/downloadUtils-ee2d6a99.js +0 -3156
  1292. package/dist/esm/el-134dd039.js +0 -66
  1293. package/dist/esm/en-au-ec33ef70.js +0 -66
  1294. package/dist/esm/en-ca-ab1fbea4.js +0 -65
  1295. package/dist/esm/en-gb-ceb65f79.js +0 -69
  1296. package/dist/esm/es-e023cfc8.js +0 -66
  1297. package/dist/esm/es-mx-e0a5ee8c.js +0 -65
  1298. package/dist/esm/et-572b1e56.js +0 -92
  1299. package/dist/esm/fi-f13fae4c.js +0 -115
  1300. package/dist/esm/filter-3c649b00.js +0 -775
  1301. package/dist/esm/floating-ui-9d9558a6.js +0 -2365
  1302. package/dist/esm/focusTrapComponent-a9be9a5f.js +0 -1013
  1303. package/dist/esm/form-a992bc7e.js +0 -372
  1304. package/dist/esm/fr-ch-a1f8ebbf.js +0 -66
  1305. package/dist/esm/fr-e9b456c3.js +0 -68
  1306. package/dist/esm/guid-52aae62c.js +0 -24
  1307. package/dist/esm/he-dfaa7ea1.js +0 -105
  1308. package/dist/esm/hi-efa0d8e7.js +0 -65
  1309. package/dist/esm/hr-7c04c969.js +0 -80
  1310. package/dist/esm/hu-fc6efaba.js +0 -88
  1311. package/dist/esm/id-2d884294.js +0 -66
  1312. package/dist/esm/index.es-6d52a4cf.js +0 -11230
  1313. package/dist/esm/input-b18c3393.js +0 -58
  1314. package/dist/esm/interactive-353bf495.js +0 -162
  1315. package/dist/esm/it-913dabbb.js +0 -66
  1316. package/dist/esm/it-ch-d4c2b23e.js +0 -66
  1317. package/dist/esm/ja-b6c332b1.js +0 -72
  1318. package/dist/esm/key-a9ffa61d.js +0 -16
  1319. package/dist/esm/ko-b220c903.js +0 -72
  1320. package/dist/esm/label-026b99b7.js +0 -179
  1321. package/dist/esm/loadable-4841127f.js +0 -93
  1322. package/dist/esm/locale-8a2aae09.js +0 -591
  1323. package/dist/esm/logger-29d1dc0e.js +0 -59
  1324. package/dist/esm/lt-e97a19a7.js +0 -97
  1325. package/dist/esm/lv-c4e1d066.js +0 -66
  1326. package/dist/esm/math-dd484f87.js +0 -54
  1327. package/dist/esm/mk-fec9b21d.js +0 -66
  1328. package/dist/esm/nb-28189f31.js +0 -67
  1329. package/dist/esm/nl-194a064e.js +0 -67
  1330. package/dist/esm/observers-3af27a40.js +0 -56
  1331. package/dist/esm/openCloseComponent-00e6186d.js +0 -63
  1332. package/dist/esm/pl-c0a7eacf.js +0 -114
  1333. package/dist/esm/popupUtils-75294be5.js +0 -119
  1334. package/dist/esm/pt-48180eaa.js +0 -67
  1335. package/dist/esm/pt-br-e378640f.js +0 -65
  1336. package/dist/esm/purify-72515357.js +0 -1714
  1337. package/dist/esm/resources-0b9430f0.js +0 -21
  1338. package/dist/esm/resources-2117aee0.js +0 -63
  1339. package/dist/esm/resources-29504413.js +0 -34
  1340. package/dist/esm/resources-37d6b520.js +0 -35
  1341. package/dist/esm/resources-75518fcf.js +0 -23
  1342. package/dist/esm/resources-8e7f2865.js +0 -22
  1343. package/dist/esm/resources-8fe9ef4a.js +0 -20
  1344. package/dist/esm/resources-966e32ad.js +0 -62
  1345. package/dist/esm/resources-a1cc283e.js +0 -24
  1346. package/dist/esm/resources-f4406546.js +0 -19
  1347. package/dist/esm/restHelpersGet-788d7f7b.js +0 -960
  1348. package/dist/esm/ro-a116f43c.js +0 -66
  1349. package/dist/esm/ru-53b48473.js +0 -126
  1350. package/dist/esm/shared-list-render-7df95a79.js +0 -339
  1351. package/dist/esm/sk-6e16e781.js +0 -148
  1352. package/dist/esm/sl-0b5a108a.js +0 -168
  1353. package/dist/esm/solution-resource-966f8511.js +0 -1840
  1354. package/dist/esm/solution-store-61fd39ea.js +0 -1351
  1355. package/dist/esm/sortableComponent-fc3d2fcf.js +0 -2745
  1356. package/dist/esm/sr-c91ad375.js +0 -101
  1357. package/dist/esm/sv-99a8436f.js +0 -71
  1358. package/dist/esm/t9n-d5539b3a.js +0 -103
  1359. package/dist/esm/templates-9330d7b8.js +0 -401
  1360. package/dist/esm/th-f448c101.js +0 -65
  1361. package/dist/esm/time-8f4af53a.js +0 -286
  1362. package/dist/esm/tr-1c4d126e.js +0 -66
  1363. package/dist/esm/uk-afcd7307.js +0 -104
  1364. package/dist/esm/utils-057404c5.js +0 -2274
  1365. package/dist/esm/utils-6391b35c.js +0 -65
  1366. package/dist/esm/vi-13e0626d.js +0 -70
  1367. package/dist/esm/zh-cn-80512388.js +0 -94
  1368. package/dist/esm/zh-hk-220c6f50.js +0 -92
  1369. package/dist/esm/zh-tw-f9a73c0d.js +0 -92
  1370. package/dist/solutions-components/p-0129abe8.entry.js +0 -11
  1371. package/dist/solutions-components/p-0238f68c.js +0 -6
  1372. package/dist/solutions-components/p-034291c9.entry.js +0 -11
  1373. package/dist/solutions-components/p-042c0134.entry.js +0 -11
  1374. package/dist/solutions-components/p-052d1165.js +0 -11
  1375. package/dist/solutions-components/p-0558fbc7.js +0 -143
  1376. package/dist/solutions-components/p-06c581b3.js +0 -6
  1377. package/dist/solutions-components/p-071a80fb.js +0 -11
  1378. package/dist/solutions-components/p-0ac3d6fb.js +0 -6
  1379. package/dist/solutions-components/p-0afbf455.js +0 -11
  1380. package/dist/solutions-components/p-0b0d30a9.entry.js +0 -11
  1381. package/dist/solutions-components/p-0c8cf779.js +0 -6
  1382. package/dist/solutions-components/p-0cdda3a9.js +0 -6
  1383. package/dist/solutions-components/p-10a4512a.entry.js +0 -6
  1384. package/dist/solutions-components/p-11149179.js +0 -6
  1385. package/dist/solutions-components/p-111ff298.entry.js +0 -29
  1386. package/dist/solutions-components/p-131ca2b1.js +0 -11
  1387. package/dist/solutions-components/p-13ac2814.js +0 -6
  1388. package/dist/solutions-components/p-14ac7f32.js +0 -17
  1389. package/dist/solutions-components/p-15105f4c.js +0 -6
  1390. package/dist/solutions-components/p-15cbdc2c.entry.js +0 -6
  1391. package/dist/solutions-components/p-16af273f.entry.js +0 -6
  1392. package/dist/solutions-components/p-17f35552.entry.js +0 -6
  1393. package/dist/solutions-components/p-1803e66b.entry.js +0 -21
  1394. package/dist/solutions-components/p-18103eee.entry.js +0 -11
  1395. package/dist/solutions-components/p-190de825.js +0 -6
  1396. package/dist/solutions-components/p-19879c48.entry.js +0 -6
  1397. package/dist/solutions-components/p-1b147794.js +0 -11
  1398. package/dist/solutions-components/p-1c45b737.entry.js +0 -6
  1399. package/dist/solutions-components/p-1fcd444d.entry.js +0 -6
  1400. package/dist/solutions-components/p-23c70a46.entry.js +0 -17
  1401. package/dist/solutions-components/p-2483d087.entry.js +0 -11
  1402. package/dist/solutions-components/p-26ccfcc6.entry.js +0 -6
  1403. package/dist/solutions-components/p-27bc7520.js +0 -6
  1404. package/dist/solutions-components/p-27eca753.js +0 -6
  1405. package/dist/solutions-components/p-2866ef30.js +0 -11
  1406. package/dist/solutions-components/p-288599db.entry.js +0 -16
  1407. package/dist/solutions-components/p-28b4de12.js +0 -6
  1408. package/dist/solutions-components/p-29a24832.entry.js +0 -6
  1409. package/dist/solutions-components/p-2c7a600b.js +0 -6
  1410. package/dist/solutions-components/p-2cff27c5.js +0 -22
  1411. package/dist/solutions-components/p-2df01fbd.js +0 -6
  1412. package/dist/solutions-components/p-30448906.entry.js +0 -6
  1413. package/dist/solutions-components/p-32539121.js +0 -16
  1414. package/dist/solutions-components/p-32b1bb0a.entry.js +0 -11
  1415. package/dist/solutions-components/p-33601437.js +0 -6
  1416. package/dist/solutions-components/p-351b4ea6.js +0 -61
  1417. package/dist/solutions-components/p-363c89e1.js +0 -6
  1418. package/dist/solutions-components/p-3795ce25.js +0 -18
  1419. package/dist/solutions-components/p-3832f6b0.js +0 -11
  1420. package/dist/solutions-components/p-38346d75.js +0 -6
  1421. package/dist/solutions-components/p-39bc5b60.js +0 -6
  1422. package/dist/solutions-components/p-3a4f0ef6.js +0 -6
  1423. package/dist/solutions-components/p-3a839252.entry.js +0 -6
  1424. package/dist/solutions-components/p-3ab1d999.js +0 -6
  1425. package/dist/solutions-components/p-3ae3fb2d.entry.js +0 -6
  1426. package/dist/solutions-components/p-3edf491f.js +0 -11
  1427. package/dist/solutions-components/p-3f23fa58.js +0 -6
  1428. package/dist/solutions-components/p-4115fcd2.entry.js +0 -6
  1429. package/dist/solutions-components/p-416c0818.js +0 -11
  1430. package/dist/solutions-components/p-42903dc4.entry.js +0 -11
  1431. package/dist/solutions-components/p-432d7aac.entry.js +0 -11
  1432. package/dist/solutions-components/p-443bb48a.js +0 -6
  1433. package/dist/solutions-components/p-44b455ac.js +0 -21
  1434. package/dist/solutions-components/p-461d72a9.entry.js +0 -11
  1435. package/dist/solutions-components/p-4a5f4c12.js +0 -6
  1436. package/dist/solutions-components/p-4a8da1a3.entry.js +0 -6
  1437. package/dist/solutions-components/p-4dd4e1f5.js +0 -11
  1438. package/dist/solutions-components/p-4e44d681.entry.js +0 -6
  1439. package/dist/solutions-components/p-4ebde78c.entry.js +0 -6
  1440. package/dist/solutions-components/p-517bc39b.entry.js +0 -6
  1441. package/dist/solutions-components/p-51b004f6.js +0 -11
  1442. package/dist/solutions-components/p-51eb6427.entry.js +0 -11
  1443. package/dist/solutions-components/p-51f2cd4b.entry.js +0 -6
  1444. package/dist/solutions-components/p-53e0faf4.js +0 -12
  1445. package/dist/solutions-components/p-54713c54.js +0 -11
  1446. package/dist/solutions-components/p-5501cb25.entry.js +0 -17
  1447. package/dist/solutions-components/p-57729067.entry.js +0 -11
  1448. package/dist/solutions-components/p-58d0a9e8.js +0 -11
  1449. package/dist/solutions-components/p-5ae7ca10.js +0 -6
  1450. package/dist/solutions-components/p-5cd51ba9.js +0 -6
  1451. package/dist/solutions-components/p-5e901f4d.js +0 -6
  1452. package/dist/solutions-components/p-5ea0c09b.js +0 -6
  1453. package/dist/solutions-components/p-5fcdc5af.entry.js +0 -12
  1454. package/dist/solutions-components/p-632a3328.js +0 -6
  1455. package/dist/solutions-components/p-64e8c883.js +0 -11
  1456. package/dist/solutions-components/p-659678f1.js +0 -43
  1457. package/dist/solutions-components/p-667f4b68.js +0 -6
  1458. package/dist/solutions-components/p-6b2ea220.entry.js +0 -11
  1459. package/dist/solutions-components/p-6c44ba5f.js +0 -16
  1460. package/dist/solutions-components/p-6d369f32.entry.js +0 -22
  1461. package/dist/solutions-components/p-6d4f59df.js +0 -6
  1462. package/dist/solutions-components/p-6def4549.js +0 -11
  1463. package/dist/solutions-components/p-6df7b770.js +0 -11
  1464. package/dist/solutions-components/p-6eaba85e.js +0 -11
  1465. package/dist/solutions-components/p-6eba7557.entry.js +0 -11
  1466. package/dist/solutions-components/p-6ef00d3c.js +0 -6
  1467. package/dist/solutions-components/p-6f98db75.entry.js +0 -11
  1468. package/dist/solutions-components/p-7090b8bc.entry.js +0 -11
  1469. package/dist/solutions-components/p-72b4bf7a.entry.js +0 -23
  1470. package/dist/solutions-components/p-74bd8ced.entry.js +0 -11
  1471. package/dist/solutions-components/p-76c08334.js +0 -16
  1472. package/dist/solutions-components/p-792a8e91.entry.js +0 -17
  1473. package/dist/solutions-components/p-7b0448b1.js +0 -6
  1474. package/dist/solutions-components/p-7c19f274.js +0 -6
  1475. package/dist/solutions-components/p-7c583516.js +0 -50
  1476. package/dist/solutions-components/p-7fa53f88.entry.js +0 -6
  1477. package/dist/solutions-components/p-81012aaa.entry.js +0 -6
  1478. package/dist/solutions-components/p-8145011e.entry.js +0 -11
  1479. package/dist/solutions-components/p-8343f841.entry.js +0 -17
  1480. package/dist/solutions-components/p-85002390.js +0 -11
  1481. package/dist/solutions-components/p-860452b5.entry.js +0 -11
  1482. package/dist/solutions-components/p-8704c6df.entry.js +0 -11
  1483. package/dist/solutions-components/p-871b9b39.entry.js +0 -6
  1484. package/dist/solutions-components/p-873a5fd1.entry.js +0 -29
  1485. package/dist/solutions-components/p-8817162f.js +0 -17
  1486. package/dist/solutions-components/p-88934d2b.js +0 -11
  1487. package/dist/solutions-components/p-88e391ab.entry.js +0 -6
  1488. package/dist/solutions-components/p-89bd8016.entry.js +0 -22
  1489. package/dist/solutions-components/p-8ad16e95.js +0 -16
  1490. package/dist/solutions-components/p-8b54465a.js +0 -11
  1491. package/dist/solutions-components/p-8e85d818.js +0 -6
  1492. package/dist/solutions-components/p-8feb21be.entry.js +0 -17
  1493. package/dist/solutions-components/p-9099acb6.js +0 -6
  1494. package/dist/solutions-components/p-93c9be09.entry.js +0 -17
  1495. package/dist/solutions-components/p-941ec574.entry.js +0 -6
  1496. package/dist/solutions-components/p-949a8cb7.entry.js +0 -11
  1497. package/dist/solutions-components/p-952a4ed2.js +0 -6
  1498. package/dist/solutions-components/p-960baebc.entry.js +0 -6
  1499. package/dist/solutions-components/p-96a7e73d.js +0 -11
  1500. package/dist/solutions-components/p-9905a2cd.js +0 -6
  1501. package/dist/solutions-components/p-9a4f0ae3.entry.js +0 -11
  1502. package/dist/solutions-components/p-9ab5fbed.entry.js +0 -17
  1503. package/dist/solutions-components/p-9bfb0a88.entry.js +0 -17
  1504. package/dist/solutions-components/p-9edd6de9.entry.js +0 -16
  1505. package/dist/solutions-components/p-9f943f1a.js +0 -6
  1506. package/dist/solutions-components/p-a2613102.entry.js +0 -11
  1507. package/dist/solutions-components/p-a2c467d7.js +0 -6
  1508. package/dist/solutions-components/p-a6aba7d4.entry.js +0 -6
  1509. package/dist/solutions-components/p-a704be29.js +0 -6
  1510. package/dist/solutions-components/p-a7ca67b9.js +0 -11
  1511. package/dist/solutions-components/p-a8638d44.entry.js +0 -11
  1512. package/dist/solutions-components/p-abafd987.entry.js +0 -47
  1513. package/dist/solutions-components/p-abd443e4.entry.js +0 -11
  1514. package/dist/solutions-components/p-abd99f2b.entry.js +0 -11
  1515. package/dist/solutions-components/p-ac40d2a6.entry.js +0 -11
  1516. package/dist/solutions-components/p-ade4a0c0.entry.js +0 -6
  1517. package/dist/solutions-components/p-ae53daf0.js +0 -11
  1518. package/dist/solutions-components/p-b134cc53.entry.js +0 -11
  1519. package/dist/solutions-components/p-b1a053c7.entry.js +0 -6
  1520. package/dist/solutions-components/p-b1b88bb9.entry.js +0 -11
  1521. package/dist/solutions-components/p-b24985b0.entry.js +0 -11
  1522. package/dist/solutions-components/p-b4f15b86.entry.js +0 -11
  1523. package/dist/solutions-components/p-b51111e1.js +0 -11
  1524. package/dist/solutions-components/p-b6ac459a.entry.js +0 -11
  1525. package/dist/solutions-components/p-b715fe7e.entry.js +0 -11
  1526. package/dist/solutions-components/p-bd989e41.js +0 -11
  1527. package/dist/solutions-components/p-c58a3ade.entry.js +0 -11
  1528. package/dist/solutions-components/p-c6296ee6.js +0 -11
  1529. package/dist/solutions-components/p-c62bd2a0.entry.js +0 -17
  1530. package/dist/solutions-components/p-c6fe3b6c.js +0 -6
  1531. package/dist/solutions-components/p-c897ea6a.entry.js +0 -11
  1532. package/dist/solutions-components/p-c9193d36.entry.js +0 -6
  1533. package/dist/solutions-components/p-caa665a4.js +0 -11
  1534. package/dist/solutions-components/p-cb860e39.js +0 -11
  1535. package/dist/solutions-components/p-cc5e8fec.entry.js +0 -11
  1536. package/dist/solutions-components/p-ccc3f0c4.entry.js +0 -6
  1537. package/dist/solutions-components/p-cde4f891.entry.js +0 -11
  1538. package/dist/solutions-components/p-cefb0487.js +0 -489
  1539. package/dist/solutions-components/p-d29843c1.js +0 -6
  1540. package/dist/solutions-components/p-d34db378.entry.js +0 -21
  1541. package/dist/solutions-components/p-d3b61974.entry.js +0 -11
  1542. package/dist/solutions-components/p-d7f00451.entry.js +0 -11
  1543. package/dist/solutions-components/p-d81f19b5.js +0 -6
  1544. package/dist/solutions-components/p-d9110df1.entry.js +0 -11
  1545. package/dist/solutions-components/p-e060bbf4.entry.js +0 -6
  1546. package/dist/solutions-components/p-e191b864.entry.js +0 -11
  1547. package/dist/solutions-components/p-e2263afa.entry.js +0 -11
  1548. package/dist/solutions-components/p-e2d9c1e4.entry.js +0 -12
  1549. package/dist/solutions-components/p-e46f6b68.js +0 -11
  1550. package/dist/solutions-components/p-e683e142.js +0 -6
  1551. package/dist/solutions-components/p-e6ac93e5.entry.js +0 -11
  1552. package/dist/solutions-components/p-e7ce7ab5.entry.js +0 -11
  1553. package/dist/solutions-components/p-e85ca9f5.entry.js +0 -11
  1554. package/dist/solutions-components/p-e9488a2a.js +0 -6
  1555. package/dist/solutions-components/p-eacb5b05.js +0 -11
  1556. package/dist/solutions-components/p-ed000576.js +0 -6
  1557. package/dist/solutions-components/p-eec49294.entry.js +0 -11
  1558. package/dist/solutions-components/p-f067a46c.js +0 -21
  1559. package/dist/solutions-components/p-f123e913.entry.js +0 -6
  1560. package/dist/solutions-components/p-f2139e1f.js +0 -11
  1561. package/dist/solutions-components/p-f2e30760.entry.js +0 -11
  1562. package/dist/solutions-components/p-f3cd6339.entry.js +0 -11
  1563. package/dist/solutions-components/p-f42cdeb6.entry.js +0 -6
  1564. package/dist/solutions-components/p-f44c8764.js +0 -6
  1565. package/dist/solutions-components/p-f6a94b55.js +0 -11
  1566. package/dist/solutions-components/p-f6c2f78c.js +0 -6
  1567. package/dist/solutions-components/p-f97b2291.js +0 -6
  1568. package/dist/solutions-components/p-fbd8a250.entry.js +0 -12
  1569. package/dist/solutions-components/p-fc62c04b.entry.js +0 -6
  1570. package/dist/solutions-components/p-fc68aaf4.js +0 -6
  1571. package/dist/solutions-components/p-fc8d6dcf.js +0 -11
  1572. package/dist/solutions-components/p-fc9301a3.entry.js +0 -6
  1573. package/dist/solutions-components/p-fde2ea30.entry.js +0 -6
  1574. package/dist/solutions-components/p-fe82bd8a.js +0 -11
  1575. package/dist/solutions-components/p-ff87b9de.js +0 -7
  1576. package/dist/solutions-components/p-ffbe2075.js +0 -11
  1577. /package/dist/cjs/{index-5f864f65.js → index-f052f656.js} +0 -0
  1578. /package/dist/esm/{index-dc62418d.js → index-e14fade9.js} +0 -0
  1579. /package/dist/solutions-components/{p-36c1c370.js → p-7530a02f.js} +0 -0
@@ -1,6 +0,0 @@
1
- /*!
2
- * Copyright 2022 Esri
3
- * Licensed under the Apache License, Version 2.0
4
- * http://www.apache.org/licenses/LICENSE-2.0
5
- */
6
- import{r as t,c as s,h as i,g as e}from"./p-6eb37ed2.js";import{C as a,n,h as o,a as l,o as h,b as r,c,D as d,d as p,e as u,g as f,p as b,f as m,i as g,R as v,H as w,O as C,t as x,j as y,k,S as A,l as S,m as D}from"./p-88934d2b.js";import{i as j,a as $,f as z}from"./p-8817162f.js";import{c as F,d as O,u as I,I as L}from"./p-53e0faf4.js";import{i as N}from"./p-b51111e1.js";import{c as M,s as P,a as K}from"./p-1b147794.js";import{c as U,d as E}from"./p-32539121.js";import{r as H,c as R,a as T}from"./p-fc8d6dcf.js";import{u as q,s as B,c as V,d as J}from"./p-2866ef30.js";import{t as W}from"./p-29edb87c.js";import"./p-c6296ee6.js";import"./p-3edf491f.js";import"./p-416c0818.js";import"./p-3832f6b0.js";import"./p-c8d3207e.js";const X=class{constructor(e){t(this,e),this.calciteColorPickerChange=s(this,"calciteColorPickerChange",6),this.calciteColorPickerInput=s(this,"calciteColorPickerInput",6),this.internalColorUpdateContext=null,this.isActiveChannelInputEmpty=!1,this.mode=a.HEX,this.shiftKeyChannelAdjustment=0,this.upOrDownArrowKeyTracker=null,this.handleTabActivate=t=>{this.channelMode=t.currentTarget.getAttribute("data-color-mode"),this.updateChannelsFromColor(this.color)},this.handleColorFieldScopeKeyDown=t=>{const{key:s}=t,i={ArrowUp:{x:0,y:-10},ArrowRight:{x:10,y:0},ArrowDown:{x:0,y:10},ArrowLeft:{x:-10,y:0}};i[s]&&(t.preventDefault(),this.scopeOrientation="ArrowDown"===s||"ArrowUp"===s?"vertical":"horizontal",this.captureColorFieldColor(this.colorFieldScopeLeft+i[s].x||0,this.colorFieldScopeTop+i[s].y||0,!1))},this.handleHueScopeKeyDown=t=>{const s=t.shiftKey?10:1,{key:i}=t,e={ArrowUp:1,ArrowRight:1,ArrowDown:-1,ArrowLeft:-1};if(e[i]){t.preventDefault();const a=e[i]*s,n=this.baseColorFieldColor.hue(),o=this.baseColorFieldColor.hue(n+a);this.internalColorSet(o,!1)}},this.handleHexInputChange=t=>{t.stopPropagation();const{isClearable:s,color:i}=this,e=t.target.value;!s||e?e!==(i&&n(o(i,u(this.mode))))&&this.internalColorSet(l(e)):this.internalColorSet(null)},this.handleSavedColorSelect=t=>{this.internalColorSet(l(t.currentTarget.color))},this.handleChannelInput=t=>{const s=t.currentTarget,i=Number(s.getAttribute("data-channel-index")),e=3===i?C.max:"rgb"===this.channelMode?v[Object.keys(v)[i]]:w[Object.keys(w)[i]];let a;if(s.value){const t=Number(s.value);a=R(t+this.shiftKeyChannelAdjustment,0,e).toString()}else a="",this.isActiveChannelInputEmpty=!0,this.upOrDownArrowKeyTracker=null;s.value=a,(""!==a&&0!==this.shiftKeyChannelAdjustment||""!==a)&&this.handleChannelChange(t)},this.handleChannelBlur=t=>{const s=t.currentTarget,i=Number(s.getAttribute("data-channel-index")),e=[...this.channels];!s.value&&!this.isClearable&&(s.value=e[i]?.toString())},this.handleChannelFocus=t=>{t.currentTarget.selectText()},this.handleChannelChange=t=>{const s=t.currentTarget,i=Number(s.getAttribute("data-channel-index")),e=[...this.channels];if(this.isClearable&&!s.value)return this.channels=[null,null,null,null],void this.internalColorSet(null);const a=3===i;this.isActiveChannelInputEmpty&&this.upOrDownArrowKeyTracker&&(s.value="up"===this.upOrDownArrowKeyTracker?(e[i]+1<=this.getChannelInputLimit(i)?e[i]+1:this.getChannelInputLimit(i)).toString():(e[i]-1>=0?e[i]-1:0).toString(),this.isActiveChannelInputEmpty=!1,this.upOrDownArrowKeyTracker=null);const n=s.value?Number(s.value):e[i];e[i]=a?h(n):n,this.updateColorFromChannels(e)},this.handleSavedColorKeyDown=t=>{N(t.key)&&(t.preventDefault(),this.handleSavedColorSelect(t))},this.handleColorFieldPointerDown=t=>{this.handleCanvasControlPointerDown(t,this.colorFieldRenderingContext,this.captureColorFieldColor,this.colorFieldScopeNode)},this.handleHueSliderPointerDown=t=>{this.handleCanvasControlPointerDown(t,this.hueSliderRenderingContext,this.captureHueSliderColor,this.hueScopeNode)},this.handleOpacitySliderPointerDown=t=>{this.handleCanvasControlPointerDown(t,this.opacitySliderRenderingContext,this.captureOpacitySliderValue,this.opacityScopeNode)},this.globalPointerUpHandler=t=>{if(!j(t))return;const s=this.activeCanvasInfo;this.activeCanvasInfo=null,this.drawColorControls(),s&&this.calciteColorPickerChange.emit()},this.globalPointerMoveHandler=t=>{const{activeCanvasInfo:s,el:i}=this;if(!i.isConnected||!s)return;const{context:e,bounds:a}=s;let n,o;const{clientX:l,clientY:h}=t;e.canvas.matches(":hover")?(n=l-a.x,o=h-a.y):(n=l<a.x+a.width&&l>a.x?l-a.x:l<a.x?0:a.width,o=h<a.y+a.height&&h>a.y?h-a.y:h<a.y?0:a.height),e===this.colorFieldRenderingContext?this.captureColorFieldColor(n,o,!1):e===this.hueSliderRenderingContext?this.captureHueSliderColor(n):e===this.opacitySliderRenderingContext&&this.captureOpacitySliderValue(n)},this.storeColorFieldScope=t=>{this.colorFieldScopeNode=t},this.storeHueScope=t=>{this.hueScopeNode=t},this.renderChannelsTabTitle=t=>{const{channelMode:s,messages:e}=this;return i("calcite-tab-title",{class:r.colorMode,"data-color-mode":t,key:t,onCalciteTabsActivate:this.handleTabActivate,selected:t===s},"rgb"===t?e.rgb:e.hsv)},this.renderChannelsTab=t=>{const{isClearable:s,channelMode:e,channels:a,messages:n,alphaChannel:o}=this,l=t===e,h="rgb"===t?[n.red,n.green,n.blue]:[n.hue,n.saturation,n.value],d=$(this.el),p=o?a:a.slice(0,3);return i("calcite-tab",{class:r.control,key:t,selected:l},i("div",{class:r.channels,dir:"ltr"},p.map(((t,i)=>{const e=3===i;return e&&(t=s&&!t?t:c(t)),this.renderChannel(t,i,h[i],d,e?"%":"")}))))},this.renderChannel=(t,s,e,a,n)=>i("calcite-input-number",{class:r.channel,"data-channel-index":s,dir:a,key:s,label:e,lang:this.effectiveLocale,numberButtonType:"none",numberingSystem:this.numberingSystem,onCalciteInputNumberChange:this.handleChannelChange,onCalciteInputNumberInput:this.handleChannelInput,onCalciteInternalInputNumberBlur:this.handleChannelBlur,onCalciteInternalInputNumberFocus:this.handleChannelFocus,onKeyDown:this.handleKeyDown,scale:"l"===this.scale?"m":"s",style:{marginLeft:s>0&&("s"!==this.scale||!this.alphaChannel||3!==s)?"-1px":""},suffixText:n,value:t?.toString()}),this.deleteColor=()=>{const t=o(this.color,this.alphaChannel);if(!(this.savedColors.indexOf(t)>-1))return;const s=this.savedColors.filter((s=>s!==t));this.savedColors=s,this.storageId&&localStorage.setItem(`${S}${this.storageId}`,JSON.stringify(s))},this.saveColor=()=>{const t=o(this.color,this.alphaChannel);if(this.savedColors.indexOf(t)>-1)return;const s=[...this.savedColors,t];this.savedColors=s,this.storageId&&localStorage.setItem(`${S}${this.storageId}`,JSON.stringify(s))},this.drawColorControls=W(((t="all")=>{"all"!==t&&"color-field"!==t||!this.colorFieldRenderingContext||this.drawColorField(),"all"!==t&&"hue-slider"!==t||!this.hueSliderRenderingContext||this.drawHueSlider(),this.alphaChannel&&("all"===t||"opacity-slider"===t)&&this.opacitySliderRenderingContext&&this.drawOpacitySlider()}),16),this.captureColorFieldColor=(t,s,i=!0)=>{const{dimensions:{colorField:{height:e,width:a}}}=this,n=Math.round(w.s/a*t),o=Math.round(w.v/e*(e-s));this.internalColorSet(this.baseColorFieldColor.hsv().saturationv(n).value(o),i)},this.initColorField=t=>{this.colorFieldRenderingContext=t.getContext("2d"),this.updateCanvasSize("color-field"),this.drawColorControls()},this.initHueSlider=t=>{this.hueSliderRenderingContext=t.getContext("2d"),this.updateCanvasSize("hue-slider"),this.drawHueSlider()},this.initOpacitySlider=t=>{t&&(this.opacitySliderRenderingContext=t.getContext("2d"),this.updateCanvasSize("opacity-slider"),this.drawOpacitySlider())},this.storeOpacityScope=t=>{this.opacityScopeNode=t},this.handleOpacityScopeKeyDown=t=>{const s=t.shiftKey?10:1,{key:i}=t,e={ArrowUp:.01,ArrowRight:.01,ArrowDown:-.01,ArrowLeft:-.01};if(e[i]){t.preventDefault();const a=e[i]*s,n=this.baseColorFieldColor.alpha(),o=this.baseColorFieldColor.alpha(n+a);this.internalColorSet(o,!1)}},this.allowEmpty=!1,this.alphaChannel=!1,this.channelsDisabled=!1,this.clearable=!1,this.color=d,this.disabled=!1,this.format="auto",this.hideChannels=!1,this.hexDisabled=!1,this.hideHex=!1,this.hideSaved=!1,this.savedDisabled=!1,this.scale="m",this.storageId=void 0,this.messageOverrides=void 0,this.numberingSystem=void 0,this.value=n(o(d,this.alphaChannel)),this.channelMode="rgb",this.channels=this.toChannels(d),this.defaultMessages=void 0,this.dimensions=p.m,this.effectiveLocale="",this.messages=void 0,this.savedColors=[],this.colorFieldScopeTop=void 0,this.colorFieldScopeLeft=void 0,this.hueScopeLeft=void 0,this.opacityScopeLeft=void 0,this.scopeOrientation=void 0}handleAllowEmptyOrClearableChange(){this.isClearable=this.clearable||this.allowEmpty}handleAlphaChannelChange(t){const{format:s}=this;t&&"auto"!==s&&!u(s)&&(console.warn(`ignoring alphaChannel as the current format (${s}) does not support alpha`),this.alphaChannel=!1)}handleAlphaChannelDimensionsChange(){this.effectiveSliderWidth=f(this.dimensions,this.alphaChannel),this.drawColorControls()}handleColorChange(t,s){this.drawColorControls(),this.updateChannelsFromColor(t),this.previousColor=s}handleFormatOrAlphaChannelChange(){this.setMode(this.format),this.internalColorSet(this.color,!1,"internal")}handleScaleChange(t="m"){this.updateDimensions(t),this.updateCanvasSize("all"),this.drawColorControls()}onMessagesChange(){}handleValueChange(t,s){const{isClearable:i,format:e}=this;let a=!1;if(!i||t){const i=b(t);if(!i||"auto"!==e&&i!==e)return this.showIncompatibleColorWarning(t,e),void(this.value=s);a=this.mode!==i,this.setMode(i,null===this.internalColorUpdateContext)}const n=this.activeCanvasInfo;if("initial"===this.internalColorUpdateContext)return;if("user-interaction"===this.internalColorUpdateContext)return this.calciteColorPickerInput.emit(),void(n||this.calciteColorPickerChange.emit());const o=i&&!t?null:l(null!=t&&"object"==typeof t&&u(this.mode)?m(t):t),h=!g(o,this.color);(a||h)&&this.internalColorSet(o,this.alphaChannel&&!(this.mode.endsWith("a")||this.mode.endsWith("a-css")),"internal")}get baseColorFieldColor(){return this.color||this.previousColor||d}effectiveLocaleChange(){q(this,this.effectiveLocale)}handleChannelKeyUpOrDown(t){this.shiftKeyChannelAdjustment=0;const{key:s}=t;if("ArrowUp"!==s&&"ArrowDown"!==s||!t.composedPath().some((t=>t.classList?.contains(r.channel))))return;const{shiftKey:i}=t;if(t.preventDefault(),!this.color)return this.internalColorSet(this.previousColor),void t.stopPropagation();this.shiftKeyChannelAdjustment="ArrowUp"===s&&i?9:"ArrowDown"===s&&i?-9:0,"ArrowUp"===s&&(this.upOrDownArrowKeyTracker="up"),"ArrowDown"===s&&(this.upOrDownArrowKeyTracker="down")}getChannelInputLimit(t){return"rgb"===this.channelMode?v[Object.keys(v)[t]]:w[Object.keys(w)[t]]}focusScope(t){requestAnimationFrame((()=>{t.focus()}))}handleCanvasControlPointerDown(t,s,i,e){j(t)&&(window.addEventListener("pointermove",this.globalPointerMoveHandler),window.addEventListener("pointerup",this.globalPointerUpHandler,{once:!0}),this.activeCanvasInfo={context:s,bounds:s.canvas.getBoundingClientRect()},i.call(this,t.offsetX,t.offsetY),this.focusScope(e))}async setFocus(){await M(this),z(this.el)}async componentWillLoad(){P(this),this.handleAllowEmptyOrClearableChange(),this.handleAlphaChannelDimensionsChange();const{isClearable:t,color:s,format:i,value:e}=this,a=t&&!e,n=b(e),o=a||"auto"===i&&n||i===n,h=a?null:o?l(e):s;o||this.showIncompatibleColorWarning(e,i),this.setMode(i,!1),this.internalColorSet(h,!1,"initial"),this.updateDimensions(this.scale);const r=`${S}${this.storageId}`;this.storageId&&localStorage.getItem(r)&&(this.savedColors=JSON.parse(localStorage.getItem(r))),await B(this)}connectedCallback(){F(this),U(this),V(this)}componentDidLoad(){K(this)}disconnectedCallback(){window.removeEventListener("pointermove",this.globalPointerMoveHandler),window.removeEventListener("pointerup",this.globalPointerUpHandler),O(this),E(this),J(this)}componentDidRender(){I(this)}render(){const{channelsDisabled:t,color:s,colorFieldScopeLeft:e,colorFieldScopeTop:a,dimensions:{thumb:{radius:n}},hexDisabled:l,hideChannels:h,hideHex:p,hideSaved:u,hueScopeLeft:f,messages:b,alphaChannel:m,opacityScopeLeft:g,savedColors:v,savedDisabled:x,scale:y,scopeOrientation:k}=this,A=this.effectiveSliderWidth,S=s?o(s,m):null,D=n,j=f??A*d.hue()/w.h,$=n,z=g??A*c(d.alpha())/C.max,F=null===s,O="vertical"===k,I=l||p,N=t||h,M=x||u,[P,K]=this.getAdjustedScopePosition(e,a),[U,E]=this.getAdjustedScopePosition(j,D),[H,R]=this.getAdjustedScopePosition(z,$);return i(L,{key:"cd7c2469429382b1adee89c87c4774160795203c",disabled:this.disabled},i("div",{key:"dd6809c82d3ffe64b8eaebd0669e7f61c0ea87d1",class:r.container},i("div",{key:"888c08c46fec112861b076c3cf24b9be7b4a66cd",class:r.controlAndScope},i("canvas",{key:"23631c824c61abb2a3ca74e35bffc8be0364a052",class:r.colorField,onPointerDown:this.handleColorFieldPointerDown,ref:this.initColorField}),i("div",{key:"a5271bbe3c4f45e3cf7736dd8f4201f54420bfb7","aria-label":O?b.value:b.saturation,"aria-valuemax":O?w.v:w.s,"aria-valuemin":"0","aria-valuenow":(O?s?.saturationv():s?.value())||"0",class:{[r.scope]:!0,[r.colorFieldScope]:!0},onKeyDown:this.handleColorFieldScopeKeyDown,ref:this.storeColorFieldScope,role:"slider",style:{top:`${K||0}px`,left:`${P||0}px`},tabindex:"0"})),i("div",{key:"eee6c10107513fd46316d2ba7510977b72771cd2",class:r.previewAndSliders},i("calcite-color-picker-swatch",{key:"964481e1c6c6c050df076e8cdc9d7e5b2cbeec79",class:r.preview,color:S,scale:this.alphaChannel?"l":this.scale}),i("div",{key:"f915032fe532e140005b0ff1253b0a971a17b079",class:r.sliders},i("div",{key:"2bcb609ce36df2d0f75abb767ee6dc88c0c9ea3b",class:r.controlAndScope},i("canvas",{key:"99e268a194b785a8ec97fed67a523c602def2a94",class:{[r.slider]:!0,[r.hueSlider]:!0},onPointerDown:this.handleHueSliderPointerDown,ref:this.initHueSlider}),i("div",{key:"4cdc0f98048a48e070430bf4f1f817571534f31b","aria-label":b.hue,"aria-valuemax":w.h,"aria-valuemin":"0","aria-valuenow":s?.round().hue()||d.round().hue(),class:{[r.scope]:!0,[r.hueScope]:!0},onKeyDown:this.handleHueScopeKeyDown,ref:this.storeHueScope,role:"slider",style:{top:`${E}px`,left:`${U}px`},tabindex:"0"})),m?i("div",{class:r.controlAndScope},i("canvas",{class:{[r.slider]:!0,[r.opacitySlider]:!0},onPointerDown:this.handleOpacitySliderPointerDown,ref:this.initOpacitySlider}),i("div",{"aria-label":b.opacity,"aria-valuemax":C.max,"aria-valuemin":C.min,"aria-valuenow":(s||d).round().alpha(),class:{[r.scope]:!0,[r.opacityScope]:!0},onKeyDown:this.handleOpacityScopeKeyDown,ref:this.storeOpacityScope,role:"slider",style:{top:`${R}px`,left:`${H}px`},tabindex:"0"})):null)),I&&N?null:i("div",{class:{[r.controlSection]:!0,[r.section]:!0}},i("div",{class:r.hexAndChannelsGroup},I?null:i("div",{class:r.hexOptions},i("calcite-color-picker-hex-input",{allowEmpty:this.isClearable,alphaChannel:m,class:r.control,messages:b,numberingSystem:this.numberingSystem,onCalciteColorPickerHexInputChange:this.handleHexInputChange,scale:y,value:S})),N?null:i("calcite-tabs",{class:{[r.colorModeContainer]:!0,[r.splitSection]:!0},scale:"l"===y?"m":"s"},i("calcite-tab-nav",{slot:"title-group"},this.renderChannelsTabTitle("rgb"),this.renderChannelsTabTitle("hsv")),this.renderChannelsTab("rgb"),this.renderChannelsTab("hsv")))),M?null:i("div",{class:{[r.savedColorsSection]:!0,[r.section]:!0}},i("div",{class:r.header},i("label",null,b.saved),i("div",{class:r.savedColorsButtons},i("calcite-button",{appearance:"transparent",class:r.deleteColor,disabled:F,iconStart:"minus",kind:"neutral",label:b.deleteColor,onClick:this.deleteColor,scale:y,type:"button"}),i("calcite-button",{appearance:"transparent",class:r.saveColor,disabled:F,iconStart:"plus",kind:"neutral",label:b.saveColor,onClick:this.saveColor,scale:y,type:"button"}))),v.length>0?i("div",{class:r.savedColors},[...v.map((t=>i("calcite-color-picker-swatch",{class:r.savedColor,color:t,key:t,onClick:this.handleSavedColorSelect,onKeyDown:this.handleSavedColorKeyDown,scale:y,tabIndex:0})))]):null)))}handleKeyDown(t){"Enter"===t.key&&t.preventDefault()}showIncompatibleColorWarning(t,s){console.warn(`ignoring color value (${t}) as it is not compatible with the current format (${s})`)}setMode(t,s=!0){this.mode=this.ensureCompatibleMode("auto"===t?this.mode:t,s)}ensureCompatibleMode(t,s){const{alphaChannel:i}=this,e=u(t);if(i&&!e){const i=D(t);return s&&console.warn(`setting format to (${i}) as the provided one (${t}) does not support alpha`),i}if(!i&&e){const i=x(t);return s&&console.warn(`setting format to (${i}) as the provided one (${t}) does not support alpha`),i}return t}captureHueSliderColor(t){this.internalColorSet(this.baseColorFieldColor.hue(k/this.effectiveSliderWidth*t),!1)}captureOpacitySliderValue(t){const s=h(C.max/this.effectiveSliderWidth*t);this.internalColorSet(this.baseColorFieldColor.alpha(s),!1)}internalColorSet(t,s=!0,i="user-interaction"){s&&g(t,this.color)||(this.internalColorUpdateContext=i,this.color=t,this.value=this.toValue(t),this.internalColorUpdateContext=null)}toValue(t,s=this.mode){if(!t)return null;if(s.includes("hex")){const i=s===a.HEXA;return n(o(t.round(),i),i)}if(s.includes("-css")){const i=t[s.replace("-css","").replace("a","")]().round().string();return(s.endsWith("a")||s.endsWith("a-css"))&&1===t.alpha()?`${i.slice(0,3)}a(${i.slice(4,-1)}, ${t.alpha()})`:i}const i=t[x(s)]().round().object();return s.endsWith("a")?y(i):i}getSliderCapSpacing(){const{dimensions:{slider:{height:t},thumb:{radius:s}}}=this;return 2*s-t}updateDimensions(t="m"){this.dimensions=p[t]}drawColorField(){const t=this.colorFieldRenderingContext,{dimensions:{colorField:{height:s,width:i}}}=this;t.fillStyle=this.baseColorFieldColor.hsv().saturationv(100).value(100).alpha(1).string(),t.fillRect(0,0,i,s);const e=t.createLinearGradient(0,0,i,0);e.addColorStop(0,"rgba(255,255,255,1)"),e.addColorStop(1,"rgba(255,255,255,0)"),t.fillStyle=e,t.fillRect(0,0,i,s);const a=t.createLinearGradient(0,0,0,s);a.addColorStop(0,"rgba(0,0,0,0)"),a.addColorStop(1,"rgba(0,0,0,1)"),t.fillStyle=a,t.fillRect(0,0,i,s),this.drawActiveColorFieldColor()}setCanvasContextSize(t,{height:s,width:i}){if(!t)return;const e=window.devicePixelRatio||1;t.width=i*e,t.height=s*e,t.style.height=`${s}px`,t.style.width=`${i}px`,t.getContext("2d").scale(e,e)}updateCanvasSize(t="all"){const{dimensions:s}=this;"all"!==t&&"color-field"!==t||this.setCanvasContextSize(this.colorFieldRenderingContext?.canvas,s.colorField);const i={width:this.effectiveSliderWidth,height:s.slider.height+2*(s.thumb.radius-s.slider.height/2)};"all"!==t&&"hue-slider"!==t||this.setCanvasContextSize(this.hueSliderRenderingContext?.canvas,i),"all"!==t&&"opacity-slider"!==t||this.setCanvasContextSize(this.opacitySliderRenderingContext?.canvas,i)}drawActiveColorFieldColor(){const{color:t}=this;if(!t)return;const s=t.hsv(),{dimensions:{colorField:{height:i,width:e},thumb:{radius:a}}}=this,n=s.saturationv()/(w.s/e),o=i-s.value()/(w.v/i);requestAnimationFrame((()=>{this.colorFieldScopeLeft=n,this.colorFieldScopeTop=o})),this.drawThumb(this.colorFieldRenderingContext,a,n,o,s,!1)}drawThumb(t,s,i,e,a,n){const o=2*Math.PI;if(t.beginPath(),t.arc(i,e,s,0,o),t.fillStyle="#fff",t.fill(),t.strokeStyle="rgba(0,0,0,0.3)",t.lineWidth=1,t.stroke(),n&&a.alpha()<1){const a=t.createPattern(this.getCheckeredBackgroundPattern(),"repeat");t.beginPath(),t.arc(i,e,s-3,0,o),t.fillStyle=a,t.fill()}t.globalCompositeOperation="source-atop",t.beginPath(),t.arc(i,e,s-3,0,o);const l=n?a.alpha():1;t.fillStyle=a.rgb().alpha(l).string(),t.fill(),t.globalCompositeOperation="source-over"}drawActiveHueSliderColor(){const{color:t}=this;if(!t)return;const s=t.hsv().saturationv(100).value(100),{dimensions:{thumb:{radius:i}}}=this,e=this.effectiveSliderWidth,a=s.hue()/(k/e),n=i,o=this.getSliderBoundX(a,e,i);requestAnimationFrame((()=>{this.hueScopeLeft=o})),this.drawThumb(this.hueSliderRenderingContext,i,o,n,s,!1)}drawHueSlider(){const t=this.hueSliderRenderingContext,{dimensions:{slider:{height:s},thumb:{radius:i}}}=this,e=i-s/2,a=this.effectiveSliderWidth,n=t.createLinearGradient(0,0,a,0),o=["red","yellow","lime","cyan","blue","magenta","#ff0004"],h=1/(o.length-1);let r=0;o.forEach((t=>{n.addColorStop(r,l(t).string()),r+=h})),t.clearRect(0,0,a,s+2*this.getSliderCapSpacing()),this.drawSliderPath(t,s,a,0,e),t.fillStyle=n,t.fill(),t.strokeStyle="rgba(0,0,0,0.3)",t.lineWidth=1,t.stroke(),this.drawActiveHueSliderColor()}drawOpacitySlider(){const t=this.opacitySliderRenderingContext,{baseColorFieldColor:s,dimensions:{slider:{height:i},thumb:{radius:e}}}=this,a=e-i/2,n=this.effectiveSliderWidth;t.clearRect(0,0,n,i+2*this.getSliderCapSpacing());const o=t.createLinearGradient(0,a,n,0),l=s.rgb().alpha(0),h=s.rgb().alpha(.5),r=s.rgb().alpha(1);o.addColorStop(0,l.string()),o.addColorStop(.5,h.string()),o.addColorStop(1,r.string()),this.drawSliderPath(t,i,n,0,a);const c=t.createPattern(this.getCheckeredBackgroundPattern(),"repeat");t.fillStyle=c,t.fill(),t.fillStyle=o,t.fill(),t.strokeStyle="rgba(0,0,0,0.3)",t.lineWidth=1,t.stroke(),this.drawActiveOpacitySliderColor()}drawSliderPath(t,s,i,e,a){const n=s/2+1;t.beginPath(),t.moveTo(e+n,a),t.lineTo(e+i-n,a),t.quadraticCurveTo(e+i,a,e+i,a+n),t.lineTo(e+i,a+s-n),t.quadraticCurveTo(e+i,a+s,e+i-n,a+s),t.lineTo(e+n,a+s),t.quadraticCurveTo(e,a+s,e,a+s-n),t.lineTo(e,a+n),t.quadraticCurveTo(e,a,e+n,a),t.closePath()}getCheckeredBackgroundPattern(){if(this.checkerPattern)return this.checkerPattern;const t=document.createElement("canvas");t.width=10,t.height=10;const s=t.getContext("2d");return s.fillStyle="#ccc",s.fillRect(0,0,10,10),s.fillStyle="#fff",s.fillRect(0,0,5,5),s.fillRect(5,5,5,5),this.checkerPattern=t,t}drawActiveOpacitySliderColor(){const{color:t}=this;if(!t)return;const s=t,{dimensions:{thumb:{radius:i}}}=this,e=this.effectiveSliderWidth,a=c(s.alpha())/(C.max/e),n=i,o=this.getSliderBoundX(a,e,i);requestAnimationFrame((()=>{this.opacityScopeLeft=o})),this.drawThumb(this.opacitySliderRenderingContext,i,o,n,s,!0)}getSliderBoundX(t,s,i){const e=T(t,s,i);return 0===e?t:-1===e?H(t,0,s,i,2*i):H(t,0,s,s-2*i,s-i)}updateColorFromChannels(t){this.internalColorSet(l(t,this.channelMode))}updateChannelsFromColor(t){this.channels=t?this.toChannels(t):[null,null,null,null]}toChannels(t){const{channelMode:s}=this,i=t[s]().array().map(((t,s)=>3===s?t:Math.floor(t)));return 3===i.length&&i.push(1),i}getAdjustedScopePosition(t,s){return[t-A/2,s-A/2]}static get assetsDirs(){return["assets"]}get el(){return e(this)}static get watchers(){return{allowEmpty:["handleAllowEmptyOrClearableChange"],clearable:["handleAllowEmptyOrClearableChange"],alphaChannel:["handleAlphaChannelChange","handleAlphaChannelDimensionsChange","handleFormatOrAlphaChannelChange"],dimensions:["handleAlphaChannelDimensionsChange"],color:["handleColorChange"],format:["handleFormatOrAlphaChannelChange"],scale:["handleScaleChange"],messageOverrides:["onMessagesChange"],value:["handleValueChange"],effectiveLocale:["effectiveLocaleChange"]}}};X.style=':host([disabled]){cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:inline-block;font-size:var(--calcite-font-size--2);line-height:1rem;font-weight:var(--calcite-font-weight-normal)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([scale=s]){--calcite-color-picker-spacing:8px}:host([scale=s]) .container{inline-size:160px}:host([scale=s]) .saved-colors{gap:0.25rem;grid-template-columns:repeat(auto-fill, 20px)}:host([scale=m]){--calcite-color-picker-spacing:12px}:host([scale=m]) .container{inline-size:272px}:host([scale=l]){--calcite-color-picker-spacing:16px;font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=l]) .container{inline-size:464px}:host([scale=l]) .section:first-of-type{padding-block-start:var(--calcite-color-picker-spacing)}:host([scale=l]) .saved-colors{grid-template-columns:repeat(auto-fill, 32px)}:host([scale=l]) .control-section{flex-wrap:nowrap;align-items:baseline;flex-wrap:wrap}:host([scale=l]) .color-hex-options{display:flex;flex-shrink:1;flex-direction:column;justify-content:space-around}:host([scale=l]) .color-mode-container{flex-shrink:3}.container{background-color:var(--calcite-color-foreground-1);display:inline-block;border:1px solid var(--calcite-color-border-1)}.control-and-scope{position:relative;display:flex;cursor:pointer;touch-action:none}.color-field,.control-and-scope{-webkit-user-select:none;-moz-user-select:none;user-select:none}.scope{pointer-events:none;position:absolute;z-index:var(--calcite-z-index);block-size:1px;inline-size:1px;border-radius:9999px;background-color:transparent;font-size:var(--calcite-font-size--1);outline-color:transparent}.scope:focus{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-color-brand));outline-offset:calc(\n 2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-offset-invert-focus),\n 1\n )\n )\n );outline-offset:6px}.hex-and-channels-group{inline-size:100%}.hex-and-channels-group,.control-section{display:flex;flex-direction:row;flex-wrap:wrap}.section{padding-block:0 var(--calcite-color-picker-spacing);padding-inline:var(--calcite-color-picker-spacing)}.section:first-of-type{padding-block-start:var(--calcite-color-picker-spacing)}.sliders{display:flex;flex-direction:column;justify-content:space-between;margin-inline-start:var(--calcite-color-picker-spacing);gap:var(--calcite-spacing-xxs)}.preview-and-sliders{display:flex;align-items:center;padding:var(--calcite-color-picker-spacing)}.color-hex-options,.section--split{flex-grow:1}.header{display:flex;align-items:center;justify-content:space-between;color:var(--calcite-color-text-1)}.color-mode-container{padding-block-start:var(--calcite-color-picker-spacing)}.channels{display:flex;row-gap:0.125rem}.channel[data-channel-index="3"]{inline-size:159px}:host([scale=s]) .channels{flex-wrap:wrap}:host([scale=s]) .channel{flex-basis:30%;flex-grow:1}:host([scale=s]) .channel[data-channel-index="3"]{inline-size:unset;margin-inline-start:unset}:host([scale=l]) .channel[data-channel-index="3"]{inline-size:131px}.saved-colors{display:grid;gap:0.5rem;padding-block-start:var(--calcite-color-picker-spacing);grid-template-columns:repeat(auto-fill, 24px)}.saved-colors-buttons{display:flex}.saved-color{outline-offset:0;outline-color:transparent;cursor:pointer}.saved-color:focus{outline:2px solid var(--calcite-color-brand);outline-offset:2px}.saved-color:hover{transition:outline-color var(--calcite-internal-animation-timing-fast) ease-in-out;outline:2px solid var(--calcite-color-border-2);outline-offset:2px}:host([hidden]){display:none}[hidden]{display:none}';export{X as calcite_color_picker}
@@ -1,29 +0,0 @@
1
- /*!
2
- * Copyright 2022 Esri
3
- * Licensed under the Apache License, Version 2.0
4
- * http://www.apache.org/licenses/LICENSE-2.0
5
- */
6
- import{r as t,c as i,h as e,H as s,g as a,a as n}from"./p-6eb37ed2.js";import{c as o,d as l}from"./p-131ca2b1.js";import{s as r,f as c,g as h,t as d}from"./p-8817162f.js";import{c as p,d as u,u as v,I as m}from"./p-53e0faf4.js";import{c as f,d as g,g as b,n as x,a as y,f as w,b as _}from"./p-32539121.js";import{u as k,c as $,d as C,s as D}from"./p-2866ef30.js";import{H as z}from"./p-54713c54.js";import{c as E,s as I,a as L}from"./p-1b147794.js";import{o as F}from"./p-071a80fb.js";import{d as P,g as S,a as R,b as A,s as j,c as O,e as M,f as T,i as B}from"./p-6def4549.js";import{i as N}from"./p-416c0818.js";import{f as H,c as W,d as U,r as V,a as q,F as K}from"./p-e46f6b68.js";import{s as Z,c as G,d as Q,H as Y}from"./p-eacb5b05.js";import{n as J}from"./p-b51111e1.js";import{c as X,d as tt}from"./p-cb860e39.js";import{c as it,d as et,a as st}from"./p-6c44ba5f.js";import{g as at}from"./p-c6296ee6.js";import{g as nt}from"./p-0afbf455.js";import{V as ot}from"./p-96a7e73d.js";import{s as lt}from"./p-fe82bd8a.js";import{l as rt}from"./p-4cd4cb85.js";import{g as ct}from"./p-3d0e9be4.js";import{g as ht}from"./p-a9a72626.js";import"./p-3832f6b0.js";import"./p-3edf491f.js";import"./p-c8d3207e.js";import"./p-a7ca67b9.js";import"./p-0a24ad5f.js";import"./p-d4056c1c.js";import"./p-ac122d9e.js";
7
- /*!
8
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
9
- * See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
10
- * v2.12.1
11
- */const dt="content",pt="toggle",ut="header",vt="container",mt="header",ft="header--has-text",gt="icon",bt="icon-end-container",xt="invalid",yt="status-icon",wt="valid",_t="control",kt="header-menu-actions",$t="icon",Ct={opened:"chevron-up",closed:"chevron-down",valid:"check-circle",invalid:"exclamation-mark-triangle"},Dt=class{constructor(e){t(this,e),this.calciteBlockBeforeClose=i(this,"calciteBlockBeforeClose",6),this.calciteBlockBeforeOpen=i(this,"calciteBlockBeforeOpen",6),this.calciteBlockClose=i(this,"calciteBlockClose",6),this.calciteBlockOpen=i(this,"calciteBlockOpen",6),this.calciteBlockToggle=i(this,"calciteBlockToggle",6),this.openTransitionProp="margin-top",this.onHeaderClick=()=>{this.open=!this.open,this.calciteBlockToggle.emit()},this.actionsEndSlotChangeHandler=t=>{this.hasEndActions=r(t)},this.handleContentStartSlotChange=t=>{this.hasContentStart=r(t)},this.collapsible=!1,this.disabled=!1,this.dragHandle=!1,this.heading=void 0,this.headingLevel=void 0,this.iconEnd=void 0,this.iconFlipRtl=void 0,this.iconStart=void 0,this.loading=!1,this.open=!1,this.status=void 0,this.description=void 0,this.messages=void 0,this.messageOverrides=void 0,this.overlayPositioning="absolute",this.defaultMessages=void 0,this.effectiveLocale=void 0,this.hasContentStart=!1,this.hasEndActions=!1}openHandler(){F(this)}onMessagesChange(){}async setFocus(){await E(this),c(this.el)}onBeforeOpen(){this.calciteBlockBeforeOpen.emit()}onOpen(){this.calciteBlockOpen.emit()}onBeforeClose(){this.calciteBlockBeforeClose.emit()}onClose(){this.calciteBlockClose.emit()}effectiveLocaleChange(){k(this,this.effectiveLocale)}connectedCallback(){o(this),p(this),f(this),$(this),this.transitionEl=this.el}disconnectedCallback(){u(this),g(this),C(this),l(this)}async componentWillLoad(){await D(this),I(this),this.open&&F(this)}componentDidLoad(){L(this)}componentDidRender(){v(this)}renderScrim(){const{loading:t}=this,i=e("slot",null);return[t?e("calcite-scrim",{loading:t}):null,i]}renderLoaderStatusIcon(){const{loading:t,messages:i,status:s}=this,a=!!h(this.el,$t);return t?e("div",{class:gt,key:"loader"},e("calcite-loader",{inline:!0,label:i.loading})):s?e("div",{class:gt,key:"status-icon"},e("calcite-icon",{class:{[yt]:!0,[wt]:"valid"==s,[xt]:"invalid"==s},icon:Ct[s],scale:"s"})):a?e("div",{class:gt,key:"icon-slot"},e("slot",{key:"icon-slot",name:$t})):null}renderActionsEnd(){return e("div",{class:"actions-end"},e("slot",{name:"actions-end",onSlotchange:this.actionsEndSlotChangeHandler}))}renderContentStart(){const{hasContentStart:t}=this;return e("div",{class:"content-start",hidden:!t},e("slot",{name:"content-start",onSlotchange:this.handleContentStartSlotChange}))}renderTitle(){const{heading:t,headingLevel:i,description:s}=this;return t||s?e("div",{class:"title"},e(z,{class:"heading",level:i},t),s?e("div",{class:"description"},s):null):null}renderIcon(t){const{iconFlipRtl:i}=this,s="start"===t?this.iconStart:this.iconEnd;if(s)return e("calcite-icon",{class:"start"===t?"icon--start":"icon--end",flipRtl:"both"===i||"start"===t?"start"===i:"end"===i,icon:s,key:s,scale:"s"})}render(){const{collapsible:t,el:i,loading:a,open:n,heading:o,messages:l,description:r}=this,c=n?l.collapse:l.expand,p=e("header",{key:"91deb640f5a591cd70dbb6328cdc588a40b600d5",class:{[mt]:!0,[ft]:!(!o&&!r)},id:ut},this.renderIcon("start"),this.renderContentStart(),this.renderLoaderStatusIcon(),this.renderTitle()),u=!!h(i,_t),v=!!h(i,kt),f=n?Ct.opened:Ct.closed,g=e("div",{key:"ebba82b4e065978eaa9ed1e59f05ad80843cc9ab",class:"header-container"},this.dragHandle?e("calcite-handle",{label:o}):null,t?e("button",{"aria-controls":dt,"aria-describedby":ut,"aria-expanded":t?d(n):null,class:"toggle",id:pt,onClick:this.onHeaderClick,title:c},p,e("div",{class:bt},this.renderIcon("end"),e("calcite-icon",{class:"toggle-icon",icon:f,scale:"s"}))):this.iconEnd?e("div",null,p,e("div",{class:bt},this.renderIcon("end"))):p,u?e("div",{"aria-labelledby":ut,class:"control-container"},e("slot",{name:_t})):null,v?e("calcite-action-menu",{label:l.options,overlayPositioning:this.overlayPositioning},e("slot",{name:kt})):null,this.renderActionsEnd());return e(s,{key:"b5c12059b36785bf45ce61e7309a35278b928088"},e(m,{key:"90a5013ca2e30dadbd76c146700a53391f3aea62",disabled:this.disabled},e("article",{key:"825f15336afb992c7ea8c718b5ffad7c4bf2507e","aria-busy":d(a),class:{[vt]:!0}},g,e("section",{key:"4f690563d78615b68a225456aaae593af6adb826","aria-labelledby":pt,class:"content",hidden:!n,id:dt},this.renderScrim()))))}static get assetsDirs(){return["assets"]}get el(){return a(this)}static get watchers(){return{open:["openHandler"],messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};Dt.style=':host{box-sizing:border-box;background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-2);font-size:var(--calcite-font-size--1)}:host *{box-sizing:border-box}:host{--calcite-icon-size:1rem;--calcite-spacing-eighth:0.125rem;--calcite-spacing-quarter:0.25rem;--calcite-spacing-half:0.5rem;--calcite-spacing-three-quarters:0.75rem;--calcite-spacing:1rem;--calcite-spacing-plus-quarter:1.25rem;--calcite-spacing-plus-half:1.5rem;--calcite-spacing-double:2rem;--calcite-menu-min-width:10rem;--calcite-header-min-height:3rem;--calcite-footer-min-height:3rem}:host([disabled]){cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:flex;flex-shrink:0;flex-grow:0;flex-direction:column;border-width:0px;border-block-end-width:1px;border-style:solid;border-color:var(--calcite-color-border-3);padding:0px;transition-property:margin;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms;transition-timing-function:cubic-bezier(0.215, 0.440, 0.420, 0.880);flex-basis:auto;transition-duration:var(--calcite-animation-timing)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}.header{margin:0px;display:flex;align-content:space-between;align-items:center;fill:var(--calcite-color-text-2);color:var(--calcite-color-text-2)}.heading{margin:0px;padding:0px;font-weight:var(--calcite-font-weight-medium)}.header .heading{flex:1 1 auto;padding:0.5rem}.header{justify-content:flex-start}.header--has-text{padding:var(--calcite-spacing-md)}.header,.toggle{grid-area:header}.header-container{display:grid;align-items:stretch;grid-template:auto/auto 1fr auto auto;grid-template-areas:"handle header control menu actions-end";grid-column:header-start/actions-end;grid-row:1/2}.content-start,.icon,.icon--start,.icon--end{margin-inline-end:var(--calcite-spacing-md)}.icon calcite-loader{margin-inline-end:var(--calcite-spacing-xxxs)}.icon--start,.icon--end{color:var(--calcite-color-text-3)}.actions-end{grid-area:actions-end}.toggle{margin:0px;display:flex;cursor:pointer;flex-wrap:nowrap;align-items:center;justify-content:space-between;border-style:none;padding:0px;font-family:var(--calcite-font-family);outline-color:transparent;text-align:initial;background-color:transparent}.toggle:hover{background-color:var(--calcite-color-foreground-2)}.toggle:focus{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-color-brand));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-offset-invert-focus),\n 1\n )\n )\n )}calcite-loader[inline]{grid-area:control;align-self:center}calcite-handle{grid-area:handle}.title{margin:0px}.header .title .heading{padding:0px;font-size:var(--calcite-font-size--1);font-weight:var(--calcite-font-weight-medium);line-height:1.25;color:var(--calcite-color-text-2);transition-property:color;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);word-wrap:break-word;word-break:break-word}.description{margin-block-start:0.125rem;padding:0px;font-size:var(--calcite-font-size--2);line-height:1.375;color:var(--calcite-color-text-3);word-wrap:break-word;word-break:break-word}.icon{display:flex}.status-icon.valid{color:var(--calcite-color-status-success)}.status-icon.invalid{color:var(--calcite-color-status-danger)}@keyframes spin{0%{transform:rotate(0deg)}50%{transform:rotate(180deg)}100%{transform:rotate(360deg)}}.icon-end-container{display:flex;align-items:center;margin-inline-start:auto}.toggle-icon{align-self:center;justify-self:end;color:var(--calcite-color-text-3);transition-property:color;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);margin-inline-end:var(--calcite-spacing-md)}.toggle:hover .toggle-icon{color:var(--calcite-color-text-1)}.container{position:relative;display:flex;block-size:100%;flex-direction:column}.content{position:relative;min-block-size:0px;flex:1 1 0%}@keyframes in{0%{opacity:0}100%{opacity:1}}.content{animation:in var(--calcite-internal-animation-timing-slow) ease-in-out;padding-block:var(--calcite-block-padding, var(--calcite-spacing-sm));padding-inline:var(--calcite-block-padding, var(--calcite-spacing-md))}.content-start{display:flex;align-items:center;color:var(--calcite-color-text-3)}.control-container{margin:0px;display:flex;grid-area:control}calcite-action-menu{grid-area:menu}.actions-end{display:flex;align-items:stretch}:host([open]){margin-block:0.5rem}:host([open]) .header .title .heading{color:var(--calcite-color-text-1)}:host([hidden]){display:none}[hidden]{display:none}';
12
- /*!
13
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
14
- * See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
15
- * v2.12.1
16
- */
17
- const zt={dateStyle:"full"},Et={},It={};async function Lt(t){const i=b(t);if(Et[i])return Et[i];It[i]||(It[i]=fetch(n(`./assets/date-picker/nls/${i}.json`)).then((t=>t.json())).catch((()=>(console.error(`Translations for "${i}" not found or invalid, falling back to english`),Lt("en")))));const e=await It[i];return Et[i]=e,e}function Ft(t){return t.map(((t,i)=>P(t,1===i)))}const Pt=class{constructor(e){t(this,e),this.calciteDatePickerChange=i(this,"calciteDatePickerChange",6),this.calciteDatePickerRangeChange=i(this,"calciteDatePickerRangeChange",6),this.keyDownHandler=t=>{"Escape"===t.key&&this.resetActiveDates()},this.monthHeaderSelectChange=t=>{const i=new Date(t.detail);this.range?("end"===this.activeRange?this.activeEndDate=i:this.activeStartDate=i,this.mostRecentRangeValue=i):this.activeDate=i},this.monthActiveDateChange=t=>{const i=new Date(t.detail);this.range?("end"===this.activeRange?this.activeEndDate=i:this.activeStartDate=i,this.mostRecentRangeValue=i):this.activeDate=i},this.monthHoverChange=t=>{if(!this.range)return void(this.hoverRange=void 0);const{valueAsDate:i}=this,e=Array.isArray(i)&&i[0],s=Array.isArray(i)&&i[1],a=new Date(t.detail);if(this.hoverRange={focused:this.activeRange||"start",start:e,end:s},this.proximitySelectionDisabled)s&&e||!s&&a>=e?(this.hoverRange.focused="end",this.hoverRange.end=a):this.hoverRange=!s&&a<e?{focused:"start",start:a,end:e}:void 0;else if(e&&s){const t=S(a,e),i=S(a,s);i>0?(this.hoverRange.end=a,this.hoverRange.focused="end"):t<0||t>i?(this.hoverRange.start=a,this.hoverRange.focused="start"):(this.hoverRange.end=a,this.hoverRange.focused="end")}else e&&(a<e?this.hoverRange={focused:"start",start:a,end:e}:(this.hoverRange.end=a,this.hoverRange.focused="end"));t.stopPropagation()},this.monthMouseOutChange=()=>{this.hoverRange&&(this.hoverRange=void 0)},this.resetActiveDates=()=>{const{valueAsDate:t}=this;!Array.isArray(t)&&t&&t!==this.activeDate&&(this.activeDate=new Date(t)),Array.isArray(t)&&(t[0]&&t[0]!==this.activeStartDate&&(this.activeStartDate=new Date(t[0])),t[1]&&t[1]!==this.activeEndDate&&(this.activeEndDate=new Date(t[1])))},this.monthDateChange=t=>{const i=new Date(t.detail),e=R(i);if(!this.range&&e===R(this.valueAsDate))return;if(!this.range)return this.value=e||"",this.valueAsDate=i||null,this.activeDate=i||null,void this.calciteDatePickerChange.emit();const s=this.getStartDate(),a=this.getEndDate();if(!s||!a&&i<s)s&&this.setEndDate(new Date(s)),"end"==this.activeRange?this.setEndDate(i):this.setStartDate(i);else if(a)if(this.proximitySelectionDisabled)this.setStartDate(i),this.setEndDate(null);else if(this.activeRange)"end"==this.activeRange?this.setEndDate(i):this.setStartDate(i);else{const t=S(i,s),e=S(i,a);0===e||t<0?this.setStartDate(i):0===t||e<0?this.setEndDate(i):t<e?this.setStartDate(i):this.setEndDate(i)}else this.setEndDate(i);this.calciteDatePickerChange.emit()},this.activeDate=void 0,this.activeRange=void 0,this.value=void 0,this.headingLevel=void 0,this.valueAsDate=void 0,this.minAsDate=void 0,this.maxAsDate=void 0,this.min=void 0,this.max=void 0,this.numberingSystem=void 0,this.scale="m",this.range=!1,this.proximitySelectionDisabled=!1,this.messageOverrides=void 0,this.messages=void 0,this.activeEndDate=void 0,this.activeStartDate=void 0,this.dateTimeFormat=void 0,this.defaultMessages=void 0,this.effectiveLocale="",this.endAsDate=void 0,this.hoverRange=void 0,this.localeData=void 0,this.mostRecentRangeValue=void 0,this.startAsDate=void 0}activeDateWatcher(t){"end"===this.activeRange&&(this.activeEndDate=t)}valueAsDateWatcher(t){if(this.range&&Array.isArray(t)){const{activeStartDate:i,activeEndDate:e}=this,s=t[0],a=t[1];this.activeStartDate=i!==s&&s,this.activeEndDate=e!==a&&a}else t&&t!==this.activeDate&&(this.activeDate=t)}onMinChanged(t){this.minAsDate=P(t)}onMaxChanged(t){this.maxAsDate=P(t)}onMessagesChange(){}async setFocus(){await E(this),this.el.focus()}async reset(){this.resetActiveDates(),this.mostRecentRangeValue=void 0}connectedCallback(){f(this),$(this),Array.isArray(this.value)?this.valueAsDate=Ft(this.value):this.value&&(this.valueAsDate=P(this.value)),this.min&&(this.minAsDate=P(this.min)),this.max&&(this.maxAsDate=P(this.max))}disconnectedCallback(){g(this),C(this)}async componentWillLoad(){I(this),await this.loadLocaleData(),this.onMinChanged(this.min),this.onMaxChanged(this.max),await D(this)}componentDidLoad(){L(this)}render(){const t=A(this.range&&Array.isArray(this.valueAsDate)?this.valueAsDate[0]:this.valueAsDate,this.minAsDate,this.maxAsDate);let i=this.getActiveDate(t,this.minAsDate,this.maxAsDate);const a=this.range&&Array.isArray(this.valueAsDate)?A(this.valueAsDate[1],this.minAsDate,this.maxAsDate):null,n=this.getActiveEndDate(a,this.minAsDate,this.maxAsDate);return"end"!==this.activeRange&&("end"!==this.hoverRange?.focused||this.proximitySelectionDisabled&&!a)||!n||(i=n),this.range&&this.mostRecentRangeValue&&(i=this.mostRecentRangeValue),e(s,{key:"52087d405fc20cd885910944004caef0e4b4e33b",onBlur:this.resetActiveDates,onKeyDown:this.keyDownHandler},this.renderCalendar(i,this.range&&this.activeRange&&"start"===this.activeRange&&a||this.maxAsDate,this.range&&this.activeRange?"start"===this.activeRange?this.minAsDate:t||this.minAsDate:this.minAsDate,t,a))}effectiveLocaleChange(){k(this,this.effectiveLocale)}valueHandler(t){Array.isArray(t)?this.valueAsDate=Ft(t):t&&(this.valueAsDate=P(t))}async loadLocaleData(){N()&&(x.numberFormatOptions={numberingSystem:this.numberingSystem,locale:this.effectiveLocale,useGrouping:!1},this.localeData=await Lt(this.effectiveLocale),this.dateTimeFormat=y(this.effectiveLocale,zt))}renderCalendar(t,i,s,a,n){return this.localeData&&[e("calcite-date-picker-month-header",{activeDate:t,headingLevel:this.headingLevel||2,localeData:this.localeData,max:i,messages:this.messages,min:s,onCalciteInternalDatePickerSelect:this.monthHeaderSelectChange,scale:this.scale,selectedDate:"end"===this.activeRange?n:a||new Date}),e("calcite-date-picker-month",{activeDate:t,dateTimeFormat:this.dateTimeFormat,endDate:this.range?n:void 0,hoverRange:this.hoverRange,localeData:this.localeData,max:i,min:s,onCalciteInternalDatePickerActiveDateChange:this.monthActiveDateChange,onCalciteInternalDatePickerHover:this.monthHoverChange,onCalciteInternalDatePickerMouseOut:this.monthMouseOutChange,onCalciteInternalDatePickerSelect:this.monthDateChange,scale:this.scale,selectedDate:"end"===this.activeRange?n:a,startDate:this.range?a:void 0})]}getEndDate(){return Array.isArray(this.valueAsDate)&&this.valueAsDate[1]||void 0}setEndDate(t){const i=this.getStartDate(),e=t?j(t):t;this.value=[R(i),R(t)],this.valueAsDate=[i,t],this.mostRecentRangeValue=e,this.calciteDatePickerRangeChange.emit(),this.activeEndDate=t||null}getStartDate(){return Array.isArray(this.valueAsDate)&&this.valueAsDate[0]}setStartDate(t){const i=this.getEndDate();this.value=[R(t),R(i)],this.valueAsDate=[t,i],this.mostRecentRangeValue=t,this.calciteDatePickerRangeChange.emit(),this.activeStartDate=t||null}getActiveDate(t,i,e){return A(this.activeDate,i,e)||t||A(new Date,i,e)}getActiveEndDate(t,i,e){return A(this.activeEndDate,i,e)||t||A(new Date,i,e)}static get delegatesFocus(){return!0}static get assetsDirs(){return["assets"]}get el(){return a(this)}static get watchers(){return{activeDate:["activeDateWatcher"],valueAsDate:["valueAsDateWatcher"],min:["onMinChanged"],max:["onMaxChanged"],messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange","loadLocaleData"],value:["valueHandler"]}}};Pt.style=":host{box-sizing:border-box;background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-2);font-size:var(--calcite-font-size--1)}:host *{box-sizing:border-box}:host{display:inline-block;inline-size:auto;overflow:visible;border-radius:0px;border-width:1px;border-style:solid;border-color:var(--calcite-color-border-1);vertical-align:top}:host([scale=s]){inline-size:234px;min-inline-size:216px;max-inline-size:380px}:host([scale=m]){inline-size:304px;min-inline-size:272px;max-inline-size:480px}:host([scale=l]){inline-size:370px;min-inline-size:320px;max-inline-size:600px}:host([hidden]){display:none}[hidden]{display:none}";
18
- /*!
19
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
20
- * See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
21
- * v2.12.1
22
- */
23
- const St="calendar-wrapper",Rt="calendar-wrapper--end",At="border-top-color-one",jt="no-bottom-border",Ot="input-wrapper",Mt="input",Tt="menu-container",Bt="menu-container--active",Nt="toggle-icon",Ht="inputDatePickerValidationMessage",Wt=class{constructor(e){t(this,e),this.calciteInputDatePickerChange=i(this,"calciteInputDatePickerChange",6),this.calciteInputDatePickerBeforeClose=i(this,"calciteInputDatePickerBeforeClose",6),this.calciteInputDatePickerClose=i(this,"calciteInputDatePickerClose",6),this.calciteInputDatePickerBeforeOpen=i(this,"calciteInputDatePickerBeforeOpen",6),this.calciteInputDatePickerOpen=i(this,"calciteInputDatePickerOpen",6),this.calciteInternalInputInputHandler=t=>{const i=t.target,e=i.value,s=this.parseNumerals(e),a=this.formatNumerals(s);i.value=a;const{year:n}=M(e,this.localeData);if(n&&n.length<4)return;const o=T(e,this.localeData);B(o,this.min,this.max)&&(this.datePickerActiveDate=o)},this.calciteInternalInputBlurHandler=()=>{this.commitValue()},this.dialogId=`date-picker-dialog--${at()}`,this.focusOnOpen=!1,this.userChangedValue=!1,this.openTransitionProp="opacity",this.valueAsDateChangedExternally=!1,this.placeholderTextId=`calcite-input-date-picker-placeholder-${at()}`,this.onInputWrapperPointerDown=()=>{this.currentOpenInput=this.focusedInput},this.onInputWrapperClick=t=>{const{range:i,endInput:e,startInput:s,currentOpenInput:a}=this,n=t.currentTarget.getAttribute("data-position");t.composedPath().find((t=>t.classList?.contains(Nt)))&&("start"===n?s:e).setFocus(),i&&this.open&&a!==n||(this.open=!this.open)},this.setFilteredPlacements=()=>{const{el:t,flipPlacements:i}=this;this.filteredFlipPlacements=i?H(i,t):null},this.setTransitionEl=t=>{this.transitionEl=t},this.setStartInput=t=>{this.startInput=t},this.setEndInput=t=>{this.endInput=t},this.blurHandler=()=>{this.open=!1},this.keyDownHandler=t=>{const{defaultPrevented:i,key:e}=t;i||("Enter"===e?(t.preventDefault(),this.commitValue(),this.shouldFocusRangeEnd()?this.endInput?.setFocus():this.shouldFocusRangeStart()&&this.startInput?.setFocus(),Z(this)&&this.restoreInputFocus()):"ArrowDown"===e?(this.open=!0,this.focusOnOpen=!0,t.preventDefault()):"Escape"===e&&(this.open=!1,t.preventDefault(),this.restoreInputFocus()))},this.startInputFocus=()=>{this.focusedInput="start"},this.endInputFocus=()=>{this.focusedInput="end"},this.setFloatingEl=t=>{this.floatingEl=t,W(this,this.referenceEl,this.floatingEl)},this.setStartWrapper=t=>{this.startWrapper=t,this.setReferenceEl()},this.setEndWrapper=t=>{this.endWrapper=t,this.setReferenceEl()},this.setDatePickerRef=t=>{this.datePickerEl=t,it(this,{focusTrapEl:t,focusTrapOptions:{initialFocus:!1,setReturnFocus:!1}})},this.handleDateChange=t=>{this.range||(t.stopPropagation(),this.setValue(t.target.valueAsDate),this.localizeInputValues(),this.restoreInputFocus())},this.handleDateRangeChange=t=>{this.range&&(t.stopPropagation(),this.setRangeValue(t.target.valueAsDate),this.localizeInputValues(),this.restoreInputFocus())},this.setInputValue=(t,i="start")=>{const e=this[`${i}Input`];e&&(e.value=t)},this.setRangeValue=t=>{if(!this.range)return;const{value:i}=this,e=Array.isArray(i),s=Array.isArray(t);let a=s?R(s?t[0]:null):"";a&&(a=this.getNormalizedDate(a));let n=s?R(s?t[1]:null):"";n&&(n=this.getNormalizedDate(n));const o=a||n?[a,n]:"";if(o===i)return;this.userChangedValue=!0,this.value=o,this.valueAsDate=o?Ft(o):void 0;const l=this.calciteInputDatePickerChange.emit();l&&l.defaultPrevented&&(this.value=i,e?(this.setInputValue(i[0],"start"),this.setInputValue(i[1],"end")):(this.value=i,this.setInputValue(i)))},this.setValue=t=>{if(this.range)return;const i=this.value;let e=R(t);e=this.getNormalizedDate(e),e!==i&&(this.userChangedValue=!0,this.valueAsDate=e?P(e):void 0,this.value=e||"",this.calciteInputDatePickerChange.emit().defaultPrevented&&(this.value=i,this.setInputValue(i)))},this.commonDateSeparators=[".","-","/"],this.formatNumerals=t=>t?t.split("").map((t=>this.commonDateSeparators?.includes(t)?this.localeData?.separator:J?.includes(t)?x?.numberFormatter?.format(Number(t)):t)).join(""):"",this.parseNumerals=t=>t?t.split("").map((t=>J.includes(t)?x.delocalize(t):t)).join(""):"",this.disabled=!1,this.focusTrapDisabled=!1,this.form=void 0,this.readOnly=!1,this.value="",this.flipPlacements=void 0,this.headingLevel=void 0,this.valueAsDate=void 0,this.messageOverrides=void 0,this.messages=void 0,this.minAsDate=void 0,this.maxAsDate=void 0,this.min=void 0,this.max=void 0,this.open=!1,this.validationMessage=void 0,this.validationIcon=void 0,this.validity={valid:!1,badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valueMissing:!1},this.name=void 0,this.numberingSystem=void 0,this.scale="m",this.status="idle",this.placement=U,this.range=!1,this.required=!1,this.overlayPositioning="absolute",this.proximitySelectionDisabled=!1,this.layout="horizontal",this.datePickerActiveDate=void 0,this.defaultMessages=void 0,this.effectiveLocale="",this.focusedInput="start",this.localeData=void 0}handleFocusTrapDisabled(t){this.open&&(t?et(this):st(this))}handleDisabledAndReadOnlyChange(t){t||(this.open=!1)}valueWatcher(t){if(!this.userChangedValue){let i;i=Array.isArray(t)?Ft(t):t?P(t):void 0,this.valueAsDateChangedExternally||i===this.valueAsDate||(this.valueAsDate=i),this.localizeInputValues()}this.userChangedValue=!1}valueAsDateWatcher(t){this.datePickerActiveDate=t;const i=this.range&&Array.isArray(t)?[R(t[0]),R(t[1])]:R(t);this.value!==i&&(this.valueAsDateChangedExternally=!0,this.value=i,this.valueAsDateChangedExternally=!1)}flipPlacementsHandler(){this.setFilteredPlacements(),this.reposition(!0)}onMessagesChange(){}onMinChanged(t){this.minAsDate=P(t)}onMaxChanged(t){this.maxAsDate=P(t)}openHandler(){F(this),this.disabled||this.readOnly?this.open=!1:this.reposition(!0)}overlayPositioningHandler(){this.reposition(!0)}calciteDaySelectHandler(){this.shouldFocusRangeStart()||this.shouldFocusRangeEnd()||(this.open=!1)}async setFocus(){await E(this),c(this.el)}async reposition(t=!1){const{floatingEl:i,referenceEl:e,placement:s,overlayPositioning:a,filteredFlipPlacements:n}=this;return V(this,{floatingEl:i,referenceEl:e,overlayPositioning:a,placement:s,flipPlacements:n,type:"menu"},t)}connectedCallback(){p(this),f(this),this.handleDateTimeFormatChange();const{open:t}=this;if(t&&this.openHandler(),this.min&&(this.minAsDate=P(this.min)),this.max&&(this.maxAsDate=P(this.max)),Array.isArray(this.value))this.valueAsDate=Ft(this.value);else if(this.value)try{const t=P(this.value),i=A(t,this.minAsDate,this.maxAsDate);this.valueAsDate=i}catch(t){this.warnAboutInvalidValue(this.value),this.value=""}else this.valueAsDate&&(this.range?this.setRangeValue(this.valueAsDate):Array.isArray(this.valueAsDate)||(this.value=R(this.valueAsDate)));X(this),G(this),$(this),this.setFilteredPlacements(),x.numberFormatOptions={numberingSystem:this.numberingSystem,locale:this.effectiveLocale,useGrouping:!1},this.open&&F(this),W(this,this.referenceEl,this.floatingEl)}async componentWillLoad(){I(this),await Promise.all([this.loadLocaleData(),D(this)]),this.onMinChanged(this.min),this.onMaxChanged(this.max)}componentDidLoad(){L(this),this.localizeInputValues(),W(this,this.referenceEl,this.floatingEl)}disconnectedCallback(){et(this),u(this),tt(this),Q(this),q(this,this.referenceEl,this.floatingEl),g(this),C(this)}componentDidRender(){v(this)}render(){const{disabled:t,effectiveLocale:i,messages:a,numberingSystem:n,readOnly:o}=this;return x.numberFormatOptions={numberingSystem:n,locale:i,useGrouping:!1},e(s,{key:"38f3ea7b3206b0b5d404c6691d54811ce9e09753",onBlur:this.blurHandler,onKeyDown:this.keyDownHandler},e(m,{key:"64296d7cf55e492e041eee729d969733f0aeeede",disabled:this.disabled},this.localeData&&e("div",{key:"bb1244e8a1ac6e32bc71f08a98d8007b17a3332d",class:"input-container"},e("div",{key:"fcb3e2430616bae57d9e09ea1f631bdb6c9810f0",class:Ot,"data-position":"start",onClick:this.onInputWrapperClick,onPointerDown:this.onInputWrapperPointerDown,ref:this.setStartWrapper},e("calcite-input-text",{key:"4c1e9dea4f553f206251bafefd05993b5c897b41","aria-autocomplete":"none","aria-controls":this.dialogId,"aria-describedby":this.placeholderTextId,"aria-errormessage":Ht,"aria-expanded":d(this.open),"aria-haspopup":"dialog","aria-invalid":d("invalid"===this.status),class:{[Mt]:!0,[jt]:"vertical"===this.layout&&this.range},disabled:t,icon:"calendar",onCalciteInputTextInput:this.calciteInternalInputInputHandler,onCalciteInternalInputTextBlur:this.calciteInternalInputBlurHandler,onCalciteInternalInputTextFocus:this.startInputFocus,placeholder:this.localeData?.placeholder,readOnly:o,ref:this.setStartInput,role:"combobox",scale:this.scale,status:this.status}),!this.readOnly&&this.renderToggleIcon(this.open&&"start"===this.focusedInput),e("span",{key:"705abe452a2f49cc167f1051ca193b397d6cef9f","aria-hidden":"true",class:"assistive-text",id:this.placeholderTextId},"Date Format: ",this.localeData?.placeholder)),e("div",{key:"bf71124065fdfefa0a6024e245aee31eee3a5b5e","aria-hidden":d(!this.open),"aria-label":a.chooseDate,"aria-live":"polite","aria-modal":"true",class:{[Tt]:!0,[Bt]:this.open},id:this.dialogId,ref:this.setFloatingEl,role:"dialog"},e("div",{key:"9803f72d5454230914a2604cceb3b1d30fd32083",class:{[St]:!0,[Rt]:"end"===this.focusedInput,[K.animation]:!0,[K.animationActive]:this.open},ref:this.setTransitionEl},e("calcite-date-picker",{key:"667c3488db40269e60d79f28f374a6cf9ff610da",activeDate:this.datePickerActiveDate,activeRange:this.focusedInput,headingLevel:this.headingLevel,max:this.max,maxAsDate:this.maxAsDate,messageOverrides:this.messageOverrides,min:this.min,minAsDate:this.minAsDate,numberingSystem:n,onCalciteDatePickerChange:this.handleDateChange,onCalciteDatePickerRangeChange:this.handleDateRangeChange,proximitySelectionDisabled:this.proximitySelectionDisabled,range:this.range,ref:this.setDatePickerRef,scale:this.scale,tabIndex:this.open?void 0:-1,valueAsDate:this.valueAsDate}))),this.range&&"horizontal"===this.layout&&e("div",{key:"1c657ea9c4b667035d58a13bffb784489586bbdd",class:"horizontal-arrow-container"},e("calcite-icon",{key:"970d61e19c5372d503ef070fcbd30817b2231c86",flipRtl:!0,icon:"arrow-right",scale:nt(this.scale)})),this.range&&"vertical"===this.layout&&"s"!==this.scale&&e("div",{key:"b5c83aafbddb396900c44b97d642b0c1c7b2a27b",class:"vertical-arrow-container"},e("calcite-icon",{key:"b00438be61ed6f73b1c0b074ff1a8b26ce32e7e2",icon:"arrow-down",scale:nt(this.scale)})),this.range&&e("div",{key:"38a7533192d085470cef7e59d091cebe8088980d",class:Ot,"data-position":"end",onClick:this.onInputWrapperClick,onPointerDown:this.onInputWrapperPointerDown,ref:this.setEndWrapper},e("calcite-input-text",{key:"03fbeddd6785ce5e6abb29d9c40ee34842376e31","aria-autocomplete":"none","aria-controls":this.dialogId,"aria-errormessage":Ht,"aria-expanded":d(this.open),"aria-haspopup":"dialog","aria-invalid":d("invalid"===this.status),class:{[Mt]:!0,[At]:"vertical"===this.layout&&this.range},disabled:t,icon:"calendar",onCalciteInputTextInput:this.calciteInternalInputInputHandler,onCalciteInternalInputTextBlur:this.calciteInternalInputBlurHandler,onCalciteInternalInputTextFocus:this.endInputFocus,placeholder:this.localeData?.placeholder,readOnly:o,ref:this.setEndInput,role:"combobox",scale:this.scale,status:this.status}),!this.readOnly&&this.renderToggleIcon(this.open&&"end"===this.focusedInput))),e(Y,{key:"9086e6f1f425cb7c583bf8f195b877e42c6a6aa6",component:this}),this.validationMessage&&"invalid"===this.status?e(ot,{icon:this.validationIcon,id:Ht,message:this.validationMessage,scale:this.scale,status:this.status}):null))}renderToggleIcon(t){return e("span",{class:Nt,tabIndex:-1},e("calcite-icon",{class:"chevron-icon",icon:t?"chevron-up":"chevron-down",scale:nt(this.scale)}))}effectiveLocaleChange(){k(this,this.effectiveLocale),this.loadLocaleData()}handleDateTimeFormatChange(){const t={numberingSystem:_(this.numberingSystem)};this.dateTimeFormat=new Intl.DateTimeFormat(w(this.effectiveLocale),t)}setReferenceEl(){const{focusedInput:t,layout:i,endWrapper:e,startWrapper:s}=this;this.referenceEl="end"===t||"vertical"===i?e||s:s||e,requestAnimationFrame((()=>W(this,this.referenceEl,this.floatingEl)))}onLabelClick(){this.setFocus()}onBeforeOpen(){this.calciteInputDatePickerBeforeOpen.emit()}onOpen(){st(this,{onActivate:()=>{this.focusOnOpen&&(this.datePickerEl.setFocus(),this.focusOnOpen=!1)}}),this.calciteInputDatePickerOpen.emit()}onBeforeClose(){this.calciteInputDatePickerBeforeClose.emit()}onClose(){this.calciteInputDatePickerClose.emit(),et(this),this.restoreInputFocus(),this.focusOnOpen=!1,this.datePickerEl.reset()}syncHiddenFormInput(t){lt("date",this,t)}commitValue(){const{focusedInput:t,value:i}=this,e=T(this[`${t}Input`].value,this.localeData),s=R(e),a=Array.isArray(i);if(this.range)if(a){if(s===i["start"===t?0:1])return;e?(this.setRangeValue(["start"===t?e:P(i[0]),"end"===t?e:P(i[1])]),this.localizeInputValues()):this.setRangeValue(["end"===t&&P(i[0]),"start"===t&&P(i[1])])}else e&&(this.setRangeValue(["start"===t?e:P(i[0]),"end"===t?e:P(i[1])]),this.localizeInputValues());else{if(s===i)return;this.setValue(e),this.localizeInputValues()}}async loadLocaleData(){N()&&(x.numberFormatOptions={numberingSystem:this.numberingSystem,locale:this.effectiveLocale,useGrouping:!1},this.localeData=await Lt(this.effectiveLocale),this.localizeInputValues())}shouldFocusRangeStart(){return!(!this.value[1]||this.value[0]||"end"!==this.focusedInput||!this.startInput)}shouldFocusRangeEnd(){return!(!this.value[0]||this.value[1]||"start"!==this.focusedInput||!this.endInput)}restoreInputFocus(){this.range?("start"===this.focusedInput?this.startInput:this.endInput).setFocus():this.startInput.setFocus()}localizeInputValues(){const t=A(this.range?Array.isArray(this.valueAsDate)&&this.valueAsDate[0]||void 0:this.valueAsDate,this.minAsDate,this.maxAsDate),i=this.range?A(Array.isArray(this.valueAsDate)&&this.valueAsDate[1]||void 0,this.minAsDate,this.maxAsDate):null;this.setInputValue((t&&this.dateTimeFormat.format(t))??"","start"),this.setInputValue((this.range&&i&&this.dateTimeFormat.format(i))??"","end")}warnAboutInvalidValue(t){console.warn(`The specified value "${t}" does not conform to the required format, "YYYY-MM-DD".`)}getNormalizedDate(t){if(!t)return"";if(!
24
- /*!
25
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
26
- * See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
27
- * v2.12.1
28
- */
29
- function(t){if(!t)return!1;const{year:i}=O(t);return Number(i)<100}(t))return t;const{day:i,month:e,year:s}=O(t);return`${function(t){const i=(new Date).getFullYear();return 100*Math.floor(i/100)+t}(Number(s))}-${e}-${i}`}static get delegatesFocus(){return!0}static get assetsDirs(){return["assets"]}get el(){return a(this)}static get watchers(){return{focusTrapDisabled:["handleFocusTrapDisabled"],disabled:["handleDisabledAndReadOnlyChange"],readOnly:["handleDisabledAndReadOnlyChange"],value:["valueWatcher"],valueAsDate:["valueAsDateWatcher"],flipPlacements:["flipPlacementsHandler"],messageOverrides:["onMessagesChange"],min:["onMinChanged"],max:["onMaxChanged"],open:["openHandler"],overlayPositioning:["overlayPositioningHandler"],effectiveLocale:["effectiveLocaleChange","handleDateTimeFormatChange"],numberingSystem:["handleDateTimeFormatChange"],layout:["setReferenceEl"],focusedInput:["setReferenceEl"]}}};Wt.style=":host{--calcite-icon-size:1rem;--calcite-spacing-eighth:0.125rem;--calcite-spacing-quarter:0.25rem;--calcite-spacing-half:0.5rem;--calcite-spacing-three-quarters:0.75rem;--calcite-spacing:1rem;--calcite-spacing-plus-quarter:1.25rem;--calcite-spacing-plus-half:1.5rem;--calcite-spacing-double:2rem;--calcite-menu-min-width:10rem;--calcite-header-min-height:3rem;--calcite-footer-min-height:3rem}:host([disabled]){cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{position:relative;display:inline-block;inline-size:100%;overflow:visible;vertical-align:top;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host .menu-container .calcite-floating-ui-anim{position:relative;transition:var(--calcite-floating-ui-transition);transition-property:inset, left, opacity;opacity:0;box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);z-index:var(--calcite-z-index);border-radius:0.25rem}:host .menu-container[data-placement^=bottom] .calcite-floating-ui-anim{inset-block-start:-5px}:host .menu-container[data-placement^=top] .calcite-floating-ui-anim{inset-block-start:5px}:host .menu-container[data-placement^=left] .calcite-floating-ui-anim{left:5px}:host .menu-container[data-placement^=right] .calcite-floating-ui-anim{left:-5px}:host .menu-container[data-placement] .calcite-floating-ui-anim--active{opacity:1;inset-block:0;left:0}:host([scale=s]){--calcite-toggle-spacing:0.5rem;--calcite-internal-input-text-input-padding-inline-end:calc(var(--calcite-toggle-spacing) + 1rem)}:host([scale=m]){--calcite-toggle-spacing:0.75rem;--calcite-internal-input-text-input-padding-inline-end:calc(var(--calcite-toggle-spacing) + 1.5rem)}:host([scale=l]){--calcite-toggle-spacing:1rem;--calcite-internal-input-text-input-padding-inline-end:calc(var(--calcite-toggle-spacing) + 2rem)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}.calendar-wrapper{--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);transform:translate3d(0, 0, 0)}.input-wrapper{position:relative}.input-wrapper .chevron-icon{color:var(--calcite-color-text-3)}.input-wrapper:focus-within .chevron-icon,.input-wrapper:active .chevron-icon,.input-wrapper:hover .chevron-icon{color:var(--calcite-color-text-1)}.toggle-icon{position:absolute;display:flex;cursor:pointer;align-items:center;inset-inline-end:0;inset-block:0;padding-inline:var(--calcite-toggle-spacing)}:host([range]) .input-container{display:flex}:host([range]) .input-wrapper{flex:1 1 auto}:host([range]) .horizontal-arrow-container{display:flex;align-items:center;border-width:1px;border-inline-start-width:0px;border-inline-end-width:0px;border-style:solid;border-color:var(--calcite-color-border-input);background-color:var(--calcite-color-background);padding-block:0px;padding-inline:0.25rem}:host([range][layout=vertical]) .input-wrapper{inline-size:100%}:host([range][layout=vertical]) .input-container{flex-direction:column;align-items:flex-start}:host([range][layout=vertical]) .calendar-wrapper--end{transform:translate3d(0, 0, 0)}:host([range][layout=vertical]) .vertical-arrow-container{inset-block-start:1.5rem;position:absolute;z-index:var(--calcite-z-index);margin-inline:1px;background-color:var(--calcite-color-foreground-1);padding-inline:0.625rem;inset-inline-start:0}.menu-container{--calcite-floating-ui-z-index:var(--calcite-z-index-dropdown);display:block;position:absolute;z-index:var(--calcite-floating-ui-z-index);visibility:hidden}.menu-container .calcite-floating-ui-anim{position:relative;transition:var(--calcite-floating-ui-transition);transition-property:inset, left, opacity;opacity:0;box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);z-index:var(--calcite-z-index);border-radius:0.25rem}.menu-container[data-placement^=bottom] .calcite-floating-ui-anim{inset-block-start:-5px}.menu-container[data-placement^=top] .calcite-floating-ui-anim{inset-block-start:5px}.menu-container[data-placement^=left] .calcite-floating-ui-anim{left:5px}.menu-container[data-placement^=right] .calcite-floating-ui-anim{left:-5px}.menu-container[data-placement] .calcite-floating-ui-anim--active{opacity:1;inset-block:0;left:0}:host([open]) .menu-container{visibility:visible}.menu-container--active{visibility:visible}.input .calcite-input__wrapper{margin-block-start:0px}:host([range][layout=vertical][scale=m]) .vertical-arrow-container{inset-block-start:1.5rem;padding-inline-start:0.75rem}:host([range][layout=vertical][scale=m]) .vertical-arrow-container calcite-icon{block-size:0.75rem;inline-size:0.75rem;min-inline-size:0px}:host([range][layout=vertical][scale=l]) .vertical-arrow-container{inset-block-start:2.25rem;padding-inline:0.875rem}:host([range][layout=vertical][open]) .vertical-arrow-container{display:none}.validation-container{display:flex;flex-direction:column;align-items:flex-start;align-self:stretch}:host([scale=m]) .validation-container,:host([scale=l]) .validation-container{padding-block-start:0.5rem}:host([scale=s]) .validation-container{padding-block-start:0.25rem}::slotted(input[slot=hidden-form-input]){margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;inset:0 !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}.assistive-text{position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}:host([hidden]){display:none}[hidden]{display:none}";const Ut="instant-apps-filter-list calcite-mode-light",Vt=["feature","geojson","wfs","csv","scene","subtype-group","point-cloud","map-image","sublayer"];function qt(t){return t.replaceAll("'","''")}function Kt(t,i=!1){if(t){const e=new Date(t),s=`${e.getFullYear()}-${e.getMonth()+1}-${e.getDate()}`;return i?`${s} ${e.getHours()}:${e.getMinutes()}:${e.getSeconds()}`:s}}function Zt(t){var i;if(null!=t){t.value=["",""];const e=null===(i=t.shadowRoot)||void 0===i?void 0:i.querySelectorAll("calcite-input");if(null!=e)for(const t of e)t.value=""}}const Gt="instant-apps-filter-list__item-container--user-input",Qt=class{constructor(e){t(this,e),this.filterListReset=i(this,"filterListReset",7),this.filterUpdate=i(this,"filterUpdate",7),this.layerExpressions=void 0,this.autoUpdateUrl=!1,this.closeBtn=!1,this.closeBtnOnClick=void 0,this.comboboxOverlayPositioning="absolute",this.closeBtnText=void 0,this.openFilters=!1,this.extentSelector=!1,this.extentSelectorConfig=void 0,this.urlParams=void 0,this.filterCount=0,this.view=void 0,this.zoomBtn=!0,this.resetBtn=!0,this.resetFiltersOnDisconnect=!0,this.loading=void 0,this.filterLayerExpressions=void 0,this.messages=void 0,this.baseClass=Ut,this.disabled=!0,this.hasLayerExpression=!1,this.initDefExpressions=void 0,this.initMapImageExpressions=void 0,this.initPointCloudFilters=void 0}watchViewHandler(){this.handleWhenView()}watchLayerExpressions(){this.hasLayerExpression||(this.filterLayerExpressions=structuredClone(this.layerExpressions),this.handleLayerExpressionsUpdate(),this.hasLayerExpression=!0)}getFilterInitState(){return Promise.resolve({initDefExpressions:this.initDefExpressions,initMapImageExpressions:this.initMapImageExpressions,initPointCloudFilters:this.initPointCloudFilters})}forceReset(){return this.filterLayerExpressions=structuredClone(this.layerExpressions),this.resetAllFilters(),this.generateURLParams(),this.filterListReset.emit(),Promise.resolve()}restoreFilters(t,i){this.filterLayerExpressions=structuredClone(this.layerExpressions),this.initDefExpressions=i.initDefExpressions,this.initMapImageExpressions=i.initMapImageExpressions,this.initPointCloudFilters=i.initPointCloudFilters;const e=null==t?void 0:t.split(";").map((t=>JSON.parse(t)));return e&&(this.filterCount=this.applyFilters(e)),this.initExpressions()}async componentWillLoad(){var t;this.baseClass="dark"===ht(this.el)?"instant-apps-filter-list calcite-mode-dark":Ut,await this.initializeModules(),ct(this),this.hasLayerExpression=null!=this.layerExpressions,this.filterLayerExpressions=null!=this.layerExpressions?structuredClone(this.layerExpressions):[],this.disabled=!(null===(t=this.filterLayerExpressions)||void 0===t?void 0:t.length)||void 0,this.reactiveUtils.whenOnce((()=>this.view)).then((()=>this.handleLayerExpressionsUpdate()))}componentShouldUpdate(t,i,e){"view"===e&&null!=t?this.handleWhenView():"layerExpressions"===e&&(this.hasLayerExpression&&this.resetAllFilters(),this.filterLayerExpressions=structuredClone(this.layerExpressions),this.handleLayerExpressionsUpdate(),this.hasLayerExpression=!0)}componentWillRender(){var t;this.disabled=!((null===(t=this.filterLayerExpressions)||void 0===t?void 0:t.length)>0)||void 0}disconnectedCallback(){this.resetFiltersOnDisconnect&&(this.filterLayerExpressions=structuredClone(this.layerExpressions),this.resetAllFilters())}async initializeModules(){const[t,i,e]=await rt(["esri/intl","esri/geometry/support/jsonUtils","esri/core/reactiveUtils"]);this.geometryJsonUtils=i,this.reactiveUtils=e,this.locale=t.getLocale(),this.intl=t}render(){const t=this.loading?this.renderLoading():this.initFilterConfig(),i=this.renderFooter(this.closeBtn,this.resetBtn);return e(s,{key:"1cc3609c3ba5760b5e4e83fe9d86e391b7126fa2"},e("calcite-panel",{key:"a88f98d7650a53faf227e8cb0aeabfb59981932e",class:this.baseClass,ref:t=>this.panelEl=t},e("slot",{key:"094a5c5eb771ee7cdb140c505eb9ca825607ddc7",slot:"header-content",name:"filter-header-content"}),e("slot",{key:"5850fabcfe9826db945b2f8e8d43d9aa9d6b9aed",slot:"header-actions-end",name:"filter-header-actions-end"}),e("div",{key:"filter-container",class:"instant-apps-filter-list__container"},t,i)))}renderLoading(){return e("calcite-loader",{label:"Loading filters..."})}renderFilter(t){const{id:i}=t;return t.expressions.map(((s,a)=>"checkbox"==s.type||null==s.type?e("div",{key:`${i}-${a}`,class:"instant-apps-filter-list__item-container"},e("div",{class:"instant-apps-filter-list__title"},e("p",null,s.name)),e("div",{class:"instant-apps-filter-list__checkbox-container"},e("calcite-checkbox",{id:s.id.toString(),scale:"l",checked:null==s?void 0:s.active,onCalciteCheckboxChange:this.handleCheckboxChange.bind(this,t,s)}))):this.initInput(t,s)))}renderLayerBlock(){return this.filterLayerExpressions.map((t=>this.renderFilterBlocks(t)))}renderFilterBlocks(t){var i;const s=this.renderFilter(t),{operator:a}=t,n="OR"===(null==a?void 0:a.trim())?"orOperator":"andOperator",o=this.renderZoomTo(t);return e("calcite-block",{key:t.id,heading:t.title,description:null===(i=this.messages)||void 0===i?void 0:i[n],open:!!this.openFilters||void 0,collapsible:!0},o,s)}renderCombobox(t,i){var s;return e("label",{key:"combo-select",class:Gt},e("span",null,i.name),e("calcite-combobox",{id:i.id.toString(),onCalciteComboboxChange:this.handleComboSelect.bind(this,i,t),label:i.name,placeholder:i.placeholder,selectionMode:"multiple","max-items":"6",scale:"s",overlayPositioning:this.comboboxOverlayPositioning},null===(s=i.fields)||void 0===s?void 0:s.map(((t,e)=>this.renderComboboxItem(i,t,e)))))}renderComboboxItem(t,i,s){var a;const n=this.createLabel(t,i),o=null==t?void 0:t.selectedFields,l=null!==(a=null==o?void 0:o.includes(i))&&void 0!==a&&a;return e("calcite-combobox-item",{key:`${n}-${s}`,value:i,textLabel:`${n}`,selected:l})}initFilterConfig(){var t,i;if((null===(t=this.filterLayerExpressions)||void 0===t?void 0:t.length)>0){if(1===this.filterLayerExpressions.length){const{operator:t}=this.filterLayerExpressions[0],s="OR"===(null==t?void 0:t.trim())?"orOperator":"andOperator",a=this.renderZoomTo(this.filterLayerExpressions[0]);return e("calcite-block",{class:"instant-apps-filter-list__operator-description",heading:null===(i=this.messages)||void 0===i?void 0:i[s],open:!0},a,this.renderFilter(this.filterLayerExpressions[0]))}if(this.filterLayerExpressions.length>1)return this.renderLayerBlock()}}renderNumberSlider(t,i){var s,a,n,o,l,r,c,h;const d=null==i?void 0:i.min,p=null==i?void 0:i.max,u=(null==i?void 0:i.step)?i.step:1,v=null!==(s=null==i?void 0:i.field)&&void 0!==s?s:"",m=[null!=(null===(a=null==i?void 0:i.range)||void 0===a?void 0:a.min)?i.range.min:d,null!=(null===(n=null==i?void 0:i.range)||void 0===n?void 0:n.max)?i.range.max:p];return null!=d&&null!=p?e("label",{key:null==i?void 0:i.id.toString(),class:Gt},e("span",null,null==i?void 0:i.name),e("div",{class:"instant-apps-filter-list__number-input-container"},e("calcite-slider",{id:null==i?void 0:i.id.toString(),onCalciteSliderChange:this.handleSliderChange.bind(this,i,t),min:d,max:p,minValue:d,maxValue:p,"min-label":null===(l=null===(o=this.messages)||void 0===o?void 0:o.minSlider)||void 0===l?void 0:l.replace("{field}",v),"max-label":null===(c=null===(r=this.messages)||void 0===r?void 0:r.maxSlider)||void 0===c?void 0:c.replace("{field}",v),step:u,labelHandles:!0,snap:!0,value:m,"group-separator":null===(h=null==i?void 0:i.format)||void 0===h?void 0:h.digitSeparator}))):void 0}renderDatePicker(t,i){var s,a,n,o;const{min:l,max:r}=i,c=[null===(s=null==i?void 0:i.range)||void 0===s?void 0:s.min,null===(a=null==i?void 0:i.range)||void 0===a?void 0:a.max];return null!=l&&null!=r?e("label",{class:Gt},e("span",null,null==i?void 0:i.name),e("div",{class:"instant-apps-filter-list__date-picker-input-container"},e("calcite-input-date-picker",{id:null==i?void 0:i.id.toString(),onCalciteInputDatePickerChange:this.handleDatePickerRangeChange.bind(this,i,t),min:l,max:r,"overlay-positioning":"fixed",lang:null!==(n=this.locale)&&void 0!==n?n:"en",layout:"vertical",value:c,range:!0}),e("calcite-action",{onClick:this.handleResetDatePicker.bind(this,i,t),icon:"reset",text:null===(o=this.messages)||void 0===o?void 0:o.resetDatePicker,scale:"s"}))):null}renderFooter(t,i){var s,a,n;const o=null!=this.closeBtnText?this.closeBtnText:null===(s=this.messages)||void 0===s?void 0:s.close;return e("div",{class:"instant-apps-filter-list__footer",slot:"footer"},i?e("calcite-button",{appearance:"outline",width:"half",disabled:this.disabled,onClick:this.handleResetFilter.bind(this)},null===(a=this.messages)||void 0===a?void 0:a.resetFilter):void 0,t?e("calcite-button",{appearance:"solid",width:"half",kind:"brand",onClick:null===(n=this.closeBtnOnClick)||void 0===n?void 0:n.bind(this)},o):void 0)}renderZoomTo(t){var i;return this.zoomBtn?e("div",{class:"instant-apps-filter-list__zoom-to"},e("calcite-button",{id:(null==t?void 0:t.sublayerId)?`zoom-to-${t.id}-${t.sublayerId}`:`zoom-to-${t.id}`,appearance:"transparent",kind:"neutral",scale:"s",iconStart:"magnifying-glass-plus",onClick:this.handleZoomTo.bind(this,t)},null===(i=this.messages)||void 0===i?void 0:i.zoomTo)):void 0}handleResetDatePicker(t,i){Zt(this.panelEl.querySelector(`[id='${t.id}']`)),t.active=!1,t.definitionExpression=void 0,t.range=void 0,this.generateOutput(i)}initInput(t,i){const{type:e,numDisplayOption:s,displayOption:a}=i;return"string"!==e&&"coded-value"!==e&&("number"!==e&&"range"!==e&&"date"!==e||"drop-down"!==s&&"drop-down"!==a)?"number"===e||"range"===e?this.renderNumberSlider(t,i):"date"===e?this.renderDatePicker(t,i):void 0:this.renderCombobox(t,i)}async initExpressions(){if(this.loading=!0,null==this.filterLayerExpressions)return;const t=await this.processExpressions();this.loading=!1,this.filterLayerExpressions=[...t]}async processExpressions(){var t;if(!this.filterLayerExpressions)return[];for(const i of this.filterLayerExpressions)for(const e of i.expressions||[])e.active=null!==(t=e.active)&&void 0!==t?t:null!=e.definitionExpression,await this.setInitExpression(i,e);return this.filterLayerExpressions}handleResetFilter(){var t;null===(t=this.filterLayerExpressions)||void 0===t||t.forEach((t=>{var i;null===(i=t.expressions)||void 0===i||i.forEach((t=>{const{type:i,numDisplayOption:e,displayOption:s}=t;let a="";"string"!==i&&"coded-value"!==i&&("date"!==i||"drop-down"!==e&&"drop-down"!==s)&&("number"!==i&&"range"!==i||"drop-down"!==e&&"drop-down"!==s)?"date"===i?a="datePicker":"number"!==i&&"range"!==i||(a="numberRange"):a="combobox",a?this.resetExpressionUI(a,t):this.resetCheckbox(t),t.active=!1}))})),this.resetAllFilters(),this.generateURLParams(),this.filterListReset.emit()}resetExpressionUI(t,i){const{id:e}=i;switch(t){case"combobox":i.selectedFields=void 0;const t=this.panelEl.querySelector(`[id='${e}']`);t&&Array.from(t.children).forEach((t=>{t.selected=!1}));break;case"datePicker":i.range=void 0,Zt(this.panelEl.querySelector(`[id='${e}']`));break;case"numberRange":i.range=void 0;const s=this.panelEl.querySelector(`[id='${e}']`);s&&(s.minValue=i.min,s.maxValue=i.max)}}resetCheckbox(t){const{id:i}=t,e=this.panelEl.querySelector(`[id='${i}']`);null!=e&&(e.checked=!1)}resetAllFilters(){var t,i,e,s,a;const n=null===(e=null===(i=null===(t=this.view)||void 0===t?void 0:t.map)||void 0===i?void 0:i.allLayers)||void 0===e?void 0:e.concat(null===(a=null===(s=this.view)||void 0===s?void 0:s.map)||void 0===a?void 0:a.allTables);null==n||n.forEach((t=>{var i,e;if(!Vt.includes(t.type))return;const s=t;"point-cloud"===s.type?s.filters=null===(i=this.initPointCloudFilters)||void 0===i?void 0:i[s.id]:"map-image"===s.type?s.allSublayers.forEach((t=>{var i,e;t.definitionExpression=null===(e=null===(i=this.initMapImageExpressions)||void 0===i?void 0:i[s.id])||void 0===e?void 0:e[t.id]})):s.definitionExpression=null===(e=this.initDefExpressions)||void 0===e?void 0:e[s.id]}))}async updateStringExpression(t,i){const e=this.findFilterLayer(t);return await this.getFeatureAttributes(e,i),this.handleDateField(e,i),!!(null==i?void 0:i.selectedFields)&&(i.definitionExpression=this.createDefinitionExpression(i),!0)}handleDateField(t,i){if("date"===i.type){const e=t.fields.find((({name:t})=>t===i.field));"date-only"===(null==e?void 0:e.type)&&(i.dateOnly=!0)}}createDefinitionExpression(t){var i;if(!(null===(i=t.selectedFields)||void 0===i?void 0:i.length))return"";const e=t.selectedFields.map((t=>"number"==typeof t?t:`'${qt(t)}'`));return`${t.field} IN (${e.join(",")})`}async updateNumberExpression(t,i){var e,s;if(!(null==i?void 0:i.min)&&0!==(null==i?void 0:i.min)||!(null==i?void 0:i.max)&&0!==(null==i?void 0:i.max)){const a=this.findFilterLayer(t),{field:n}=i;if(null!=n)if(this.setExpressionFormat(a,i,n),"drop-down"===(null==i?void 0:i.numDisplayOption)||"drop-down"===(null==i?void 0:i.displayOption))await this.getFeatureAttributes(a,i);else{const t=await this.calculateMinMaxStatistics(a,n),o=null===(e=null==t?void 0:t[0])||void 0===e?void 0:e.attributes;if(null!=(null===(s=i.format)||void 0===s?void 0:s.places)?(i.min=this.roundMinNumberDown(o[`min${n}`],i.format.places),i.max=this.roundMaxNumberUp(o[`max${n}`],i.format.places)):(i.min=o[`min${n}`],i.max=o[`max${n}`]),(null==i?void 0:i.range)&&Object.keys(i.range).length){const{min:t,max:e}=i.range;return i.definitionExpression=`${i.field} BETWEEN ${t} AND ${e}`,!0}}}return!1}async updateDateExpression(t,i){var e;const{field:s,range:a}=i,n=this.findFilterLayer(t),o=await this.calculateMinMaxStatistics(n,s),l=null===(e=null==o?void 0:o[0])||void 0===e?void 0:e.attributes;if(i.min=Kt(l[`min${s}`]),i.max=Kt(l[`max${s}`]),null!=a&&(null!=(null==a?void 0:a.max)||null!=(null==a?void 0:a.min))){let{min:t,max:e}=a;if(t=null==t?void 0:t.replace("+"," "),e=null==e?void 0:e.replace("+"," "),t||e){const a=e&&!t?"<":!e&&t?">":null;return i.definitionExpression=a?`${s} ${a} '${null!=t?t:e}'`:`${s} BETWEEN '${t}' AND '${e}'`,!0}}return!1}updateCodedValueExpression(t,i){var e,s;if(!(null==i?void 0:i.domain)||"coded-value"!==(null===(e=null==i?void 0:i.domain)||void 0===e?void 0:e.type))return!1;const a=i.domain.codedValues.reduce(((t,{code:i,name:e})=>(t[i]=e,t)),{});if(t.codedValues=a,t.fields=Object.keys(a),null===(s=t.selectedFields)||void 0===s?void 0:s.length){const i=t.selectedFields.map((t=>"number"==typeof t?t:`'${qt(t)}'`)).join(",");return t.definitionExpression=`${t.field} IN (${i})`,!0}return!1}updateRangeExpression(t,i){var e;if(!(null==i?void 0:i.domain)||"range"!==(null===(e=null==i?void 0:i.domain)||void 0===e?void 0:e.type))return!1;const{field:s,range:a}=t;return t.min=i.domain.minValue,t.max=i.domain.maxValue,!(!a||!Object.keys(a).length||(t.definitionExpression=`${s} BETWEEN ${a.min} AND ${a.max}`,0))}async getFeatureAttributes(t,i){if(!this.isLayerSupported(t))return void(i.fields=[]);const e=await this.getQueryLayer(t),{maxRecordCount:s,supportsMaxRecordCountFactor:a}=this.extractQueryCapabilities(t),n=await e.queryFeatureCount(),o=this.createQuery(e,i);await this.queryDistinctFeatures(e,o,i),this.shouldPaginate(s,n,a)&&this.handlePagination(e,o,s,a,n,i)}isLayerSupported(t){return t&&Vt.includes(t.type)}extractQueryCapabilities(t){var i,e,s,a,n,o;return{maxRecordCount:null!==(s=null===(e=null===(i=t.capabilities)||void 0===i?void 0:i.query)||void 0===e?void 0:e.maxRecordCount)&&void 0!==s?s:null===(a=t.sourceJSON)||void 0===a?void 0:a.maxRecordCount,supportsMaxRecordCountFactor:null===(o=null===(n=t.capabilities)||void 0===n?void 0:n.query)||void 0===o?void 0:o.supportsMaxRecordCountFactor}}createQuery(t,i){const e=t.createQuery();this.applyCacheHint(t,e);const s=null==i?void 0:i.field;if(s){const i=this.getInitDefExprFromLayer(t);e.where=i||"1=1",e.outFields=[s],e.orderByFields=[`${s} ASC`],e.returnDistinctValues=!0,e.returnGeometry=!1,e.maxRecordCountFactor=5,this.applyQueryGeometryFromExtentSelector(e)}return e}async queryDistinctFeatures(t,i,e){if(!i.outFields)return;const s=await this.queryForFeatures(t,i,i.outFields[0]);(null==s?void 0:s.length)&&(e.fields=[...new Set(s)],"string"===e.type?e.fields=e.fields.sort():"number"===e.type&&(e.fields=e.fields.sort(((t,i)=>t-i))))}getQueryCount(t,i){return i?5*t:t}shouldPaginate(t,i,e){const s=this.getQueryCount(t,e);return null!=t&&i>s}async handlePagination(t,i,e,s,a,n){const o=this.getQueryCount(e,s),l=[];for(let s=o;s<a;s+=o){const a=i.clone();a.num=e,a.start=s,l.push(this.queryForFeatures(t,a,i.outFields[0]))}Promise.all(l).then((t=>{t.forEach((t=>{(null==t?void 0:t.length)&&n.fields&&n.fields.push(...t)})),n.fields=[...new Set(n.fields)].sort(),this.filterLayerExpressions=[...this.filterLayerExpressions]}))}async queryForFeatures(t,i,e){const s=await t.queryFeatures(i),a=null==s?void 0:s.features.filter((t=>{var i;return null===(i=t.attributes)||void 0===i?void 0:i[e]}));return null==a?void 0:a.map((t=>{var i;return null===(i=t.attributes)||void 0===i?void 0:i[e]}))}async calculateMinMaxStatistics(t,i){if(!t||!Vt.includes(t.type)||!i)return[];const e=this.createStatisticsQuery(t,i),s=await t.queryFeatures(e);return(null==s?void 0:s.features)||[]}createStatisticsQuery(t,i){const e=t.createQuery();return e.where=this.getInitDefExprFromLayer(t)||"1=1",this.applyCacheHint(t,e),e.outStatistics=[{onStatisticField:i,outStatisticFieldName:`max${i}`,statisticType:"max"},{onStatisticField:i,outStatisticFieldName:`min${i}`,statisticType:"min"}],this.applyQueryGeometryFromExtentSelector(e),e}getExtent(t,i){if(t&&i){const{constraints:t}=i;let e=Object.assign({},t);const s=null==e?void 0:e.geometry;if(s){const t="extent"in s?s:this.geometryJsonUtils.fromJSON(s);if("extent"===(null==t?void 0:t.type)||"polygon"===(null==t?void 0:t.type))return t}}}async setInitExpression(t,i){if(!i.field||!i.type)return void await this.updateExpression(t,i,void 0);const e=this.findFilterLayer(t);e&&("not-loaded"!==e.loadStatus&&"failed"!==e.loadStatus||await e.load(),await e.when((async()=>{var s,a;const n=null===(s=e.fields)||void 0===s?void 0:s.find((({name:t})=>t===i.field)),o=null===(a=null==n?void 0:n.domain)||void 0===a?void 0:a.type;i.type="coded-value"===o||"range"===o?o:i.type,await this.updateExpression(t,i,n)})))}async updateExpression(t,i,e){await this.handleExpressionType(t,i,e)&&this.generateOutput(t)}async handleExpressionType(t,i,e){var s;switch(i.type){case"string":return await this.updateStringExpression(t,i);case"number":return await this.updateNumberExpression(t,i);case"date":return this.updateDateExpressionBasedOnDisplayOption(t,i);case"coded-value":return this.updateCodedValueExpression(i,e);case"range":return this.updateRangeExpressionBasedOnDisplayOption(t,i,e);case"checkbox":case null:return null!==(s=i.active)&&void 0!==s&&s;default:return!1}}async updateDateExpressionBasedOnDisplayOption(t,i){return"drop-down"===i.displayOption?await this.updateStringExpression(t,i):await this.updateDateExpression(t,i)}async updateRangeExpressionBasedOnDisplayOption(t,i,e){return"drop-down"===i.displayOption?await this.updateStringExpression(t,i):this.updateRangeExpression(i,e)}updateRangeExpressions(t,i,e,s){const a=this.getInitDefExprFromLayerExpression(i);!s&&0!==s||!e&&0!==e||(s===(null==t?void 0:t.min)&&e===(null==t?void 0:t.max)?(t.definitionExpression=void 0,t.active=!1):(t.definitionExpression=a?`(${a}) AND ${null==t?void 0:t.field} BETWEEN ${s} AND ${e}`:`${null==t?void 0:t.field} BETWEEN ${s} AND ${e}`,t.active=!0)),t.range={min:s,max:e}}handleCheckboxChange(t,i,e){i.active=e.target.checked,this.generateOutput(t)}handleSliderChange(t,i,e){const{maxValue:s,minValue:a}=e.target;this.updateRangeExpressions(t,i,s,a),this.generateOutput(i)}handleComboSelect(t,i,e){const s=e.target.selectedItems,{field:a,type:n}=t;if(t.selectedFields=s.map((({value:t})=>t)),s.length){const i=s.map((({value:t})=>"number"==typeof t?t:`'${qt(t)}'`));t.definitionExpression="date"===n?i.map((t=>this.buildDateExpression(t,a))).join(" OR "):`${a} IN (${i.join(",")})`,t.active=!0}else t.definitionExpression=void 0,t.active=!1;this.generateOutput(i)}handleDatePickerRangeChange(t,i,e){const s=e.target,[a,n]=s.valueAsDate,o=a?Kt(Math.floor(a.getTime()),!0):void 0,l=n?Kt(Math.floor(n.getTime()),!0):void 0;(o||l)&&(t.definitionExpression=this.constructDefinitionExpression(t.field,o,l),t.range={min:o,max:l},t.active=!0,this.generateOutput(i))}constructDefinitionExpression(t,i,e){return i?e?`${t} BETWEEN '${i}' AND '${e}'`:`${t} > '${i}'`:`${t} < '${e}'`}handleURLParams(){if(!("URLSearchParams"in window))return;const t=new URLSearchParams(document.location.search).get("filter");if(!t)return void(this.filterCount=0);const i=t.split(";").map((t=>JSON.parse(t)));this.filterCount=this.applyFilters(i)}applyFilters(t){let i=0;return t.forEach((t=>{var e,s;const a=null===(e=this.filterLayerExpressions)||void 0===e?void 0:e.find((i=>i.id===t.layerId));a&&(null===(s=a.expressions)||void 0===s||s.forEach((e=>{var s,a;(null===(s=e.id)||void 0===s?void 0:s.toString())===(null===(a=t.expressionId)||void 0===a?void 0:a.toString())&&(this.activateExpression(e,t),i++)})))})),i}activateExpression(t,i){t.active=!0,"range"===i.type?t.range=i.range:"select"===i.type&&(t.selectedFields=i.selectedFields)}createURLParamExpression(t,i){const{id:e,range:s,selectedFields:a,type:n}=i;return"string"===n||"coded-value"===n||"drop-down"===(null==i?void 0:i.numDisplayOption)||"drop-down"===(null==i?void 0:i.displayOption)?{type:"select",layerId:t.id,expressionId:e.toString(),selectedFields:a}:"number"===n||"range"===n||"date"===n?{type:"range",layerId:t.id,expressionId:e.toString(),range:s}:{layerId:t.id,expressionId:e.toString()}}autoUpdateURLCheck(t){if(this.autoUpdateUrl){const i=t.toString()?`${window.location.pathname}?${t}`.trim():window.location.pathname;window.history.replaceState({},"",i)}}generateURLParams(){var t;if(!("URLSearchParams"in window))return;const i=new URLSearchParams(window.location.search),e=(null===(t=this.filterLayerExpressions)||void 0===t?void 0:t.flatMap((t=>{var i;return(null===(i=null==t?void 0:t.expressions)||void 0===i?void 0:i.filter((t=>t.active)).map((i=>JSON.stringify(this.createURLParamExpression(t,i)))))||[]})))||[];this.filterCount=e.length,e.length>0?i.set("filter",e.join(";")):i.delete("filter"),this.autoUpdateURLCheck(i),this.urlParams=i}updateFilter(t,i,e){const{id:s}=t,a=this.view.map.findLayerById(s)||this.view.map.findTableById(s);if(null!=a)if("point-cloud"===a.type)this.updateFilterLayerPCLFilter(a,e);else if("map-image"===a.type){const e=a.findSublayerById(null==t?void 0:t.sublayerId);null!=e&&this.updateFilterLayerDefExpression(e,i,t)}else this.updateFilterLayerDefExpression(a,i,t)}updateFilterLayerDefExpression(t,i,e){const{operator:s}=e;let a=this.getInitDefExprFromLayer(t);const n=(null==i?void 0:i.length)>0&&null!=a?`(${i.join(s)}) AND (${a})`:i.length>0?i.join(s):a;t.definitionExpression=n}updateFilterLayerPCLFilter(t,i){t.filters=i}async handleWhenView(){if(null==this.view)return;const t=this.view.map;await t.loadAll(),this.handleLayerExpressionsUpdate()}async handleLayerExpressionsUpdate(){if(null==this.view)return;const t=this.view.map;this.initDefExpressions={},this.initPointCloudFilters={},this.initMapImageExpressions={},t.allLayers.concat(t.allTables).forEach((t=>{if(!Vt.includes(t.type))return;const i=t;"point-cloud"===i.type?this.initPointCloudFilters[i.id]=i.filters:"map-image"===i.type?this.initMapImageExpressions[i.id]=i.allSublayers.reduce(((t,i)=>(t[i.id]=i.definitionExpression,t)),{}):this.initDefExpressions[i.id]=i.definitionExpression})),this.initExpressions(),this.handleURLParams()}async handleZoomTo(t){const i=this.panelEl.querySelector((null==t?void 0:t.sublayerId)?`#zoom-to-${t.id}-${t.sublayerId}`:`#zoom-to-${t.id}`),e=(t,e)=>{i&&(i.loading=t,i.disabled=e)};e(!0,!0),await this.getZoomToExtent(t);const s="point"===this.zoomToExtent.type&&1===this.zoomToExtent.count?{target:this.zoomToExtent.extent,zoom:10}:this.zoomToExtent.extent;await this.view.goTo(s),e(!1,!1)}async getZoomToExtent(t){var i;const e=this.view.allLayerViews.find((({layer:i})=>i.id===t.id)),s=e.layer,a="map-image"===s.type?s.findSublayerById(t.sublayerId):s;if("point-cloud"!==a.type&&Vt.includes(null==a?void 0:a.type)){const t=await this.getQueryLayer(a),e=t.createQuery();e.where=null!==(i=t.definitionExpression)&&void 0!==i?i:"1=1";const s=await t.queryExtent(e);this.zoomToExtent=Object.assign(Object.assign({},s),{type:t.geometryType})}}applyFilterToQuery(t,i){var e,s;const a=this.view.allLayerViews.find((({layer:t})=>t.id===i.id)),n=null!==(s=null===(e=null==a?void 0:a.featureEffect)||void 0===e?void 0:e.filter)&&void 0!==s?s:a.filter;n&&["objectIds","distance","geometry","spatialRelationship","units","where","timeExtent"].forEach((i=>{null!=n[i]&&(t[i]=n[i])}))}generateOutput(t){if(null==this.view)return;const i=[];let e=[];if(t){for(const s of t.expressions){const{active:t,definitionExpression:a,pointCloudFilters:n}=s;t&&a&&i.push(`(${a})`),t&&null!=n&&n.length>0&&(e=e.concat(n))}this.updateFilter(t,i,e),this.generateURLParams(),this.filterUpdate.emit()}}numberWithCommas(t){return t.toLocaleString("en-US",{maximumFractionDigits:20})}scientificRounding(t,i,e){if(null==t)return;let s;if(String(t).includes("e")){const[a,n]=String(t).split("e").map((t=>Number(t)));s=Math[e](+`${a}e${n+i}`)*Math.pow(10,-i)}else s=Math[e](t*Math.pow(10,i))/Math.pow(10,i);return+s.toFixed(i)}roundMinNumberDown(t,i){return this.scientificRounding(t,i,"floor")}roundMaxNumberUp(t,i){return this.scientificRounding(t,i,"ceil")}roundNumber(t,i){var e;return null!==(e=this.scientificRounding(t,i,"round"))&&void 0!==e?e:t}setExpressionFormat(t,i,e){if(null!=(null==t?void 0:t.popupTemplate)){const s=t.popupTemplate.fieldInfos.find((({fieldName:t})=>t===e));i.format=null==s?void 0:s.format}}getInitDefExprFromLayer(t){var i,e,s;return"sublayer"===t.type?null===(e=null===(i=this.initMapImageExpressions)||void 0===i?void 0:i[t.layer.id])||void 0===e?void 0:e[t.id]:null===(s=this.initDefExpressions)||void 0===s?void 0:s[t.id]}getInitDefExprFromLayerExpression(t){var i,e,s;return null!=(null==t?void 0:t.sublayerId)?null===(e=null===(i=this.initMapImageExpressions)||void 0===i?void 0:i[t.id])||void 0===e?void 0:e[t.sublayerId]:null===(s=this.initDefExpressions)||void 0===s?void 0:s[t.id]}findFilterLayer(t){const i=this.view.map.allLayers.concat(this.view.map.allTables).find((({id:i})=>i===t.id));return"map-image"===i.type?null==i?void 0:i.findSublayerById(t.sublayerId):i}createLabel(t,i){var e,s,a;if("coded-value"===t.type)return null===(e=t.codedValues)||void 0===e?void 0:e[i];if("number"===t.type&&"number"==typeof i){let e=i;return null!=(null===(s=t.format)||void 0===s?void 0:s.places)&&(e=this.roundNumber(i,t.format.places)),(null===(a=t.format)||void 0===a?void 0:a.digitSeparator)?this.numberWithCommas(e):e}if("date"===t.type&&!t.dateOnly){const t=this.intl.convertDateFormatToIntlOptions("short-date-long-time");return this.intl.formatDate(i,t)}return i}buildDateExpression(t,i){if(t){const e=new Date(t),s=new Date(t),a=new Date(s.setDate(e.getDate()+1)),n=`${e.getFullYear()}-${e.getMonth()+1}-${e.getDate()}`,o=`${e.getHours()}:${e.getMinutes()}:${e.getSeconds()}`,l=`${a.getHours()}:${a.getMinutes()}:${a.getSeconds()}`;return`${i} BETWEEN '${n} ${o}' AND '${a.getFullYear()}-${a.getMonth()+1}-${a.getDate()} ${l}'`}}async getQueryLayer(t){return"sublayer"===t.type?await t.createFeatureLayer():t}applyCacheHint(t,i){var e,s;(null===(s=null===(e=null==t?void 0:t.capabilities)||void 0===e?void 0:e.query)||void 0===s?void 0:s.supportsCacheHint)&&(i.cacheHint=!0)}applyQueryGeometryFromExtentSelector(t){if(!this.extentSelector||!this.extentSelectorConfig)return;const i=this.getExtent(this.extentSelector,this.extentSelectorConfig);i&&(t.geometry=i,t.spatialRelationship="intersects")}get el(){return a(this)}static get watchers(){return{view:["watchViewHandler"],layerExpressions:["watchLayerExpressions"]}}};Qt.style=":host{display:block}.instant-apps-filter-list *{box-sizing:border-box}.instant-apps-filter-list__container{height:100%}.instant-apps-filter-list__container calcite-block:last-of-type{margin-bottom:0}.instant-apps-filter-list__footer{padding:12px;display:flex}.instant-apps-filter-list__footer calcite-button:nth-child(2){margin-left:6px}.instant-apps-filter-list__item-container,.instant-apps-filter-list__item-container--user-input{display:flex;justify-content:space-between;align-items:center}.instant-apps-filter-list__item-container:not(:last-child),.instant-apps-filter-list__item-container--user-input:not(:last-child){padding-bottom:20px}.instant-apps-filter-list__item-container--user-input{margin:0;display:flex;flex-direction:column;align-items:flex-start}.instant-apps-filter-list__item-container--user-input>span{margin:0 0 6px;font-size:14px;font-weight:normal}.instant-apps-filter-list__item-container--user-input calcite-combobox{width:100%;font-size:16px;--calcite-combobox-input-height:24px}.instant-apps-filter-list__number-input-container{width:100%;display:flex;justify-content:center}.instant-apps-filter-list__number-input-container calcite-slider{width:90%}.instant-apps-filter-list__date-picker-input-container{display:flex;align-items:center;justify-content:unset;width:100%}.instant-apps-filter-list__date-picker-input-container calcite-action{height:64px;border-top:1px solid var(--calcite-color-border-input);border-right:1px solid var(--calcite-color-border-input);border-bottom:1px solid var(--calcite-color-border-input)}.instant-apps-filter-list__title{margin-right:20px}.instant-apps-filter-list__title>p{font-size:14px;font-weight:normal;margin:0}.instant-apps-filter-list__checkbox-container{display:flex}.instant-apps-filter-list__checkbox-container calcite-checkbox{height:18px}.instant-apps-filter-list__operator-description{margin:0;--calcite-font-size--1:12px}.instant-apps-filter-list__zoom-to{display:flex;justify-content:flex-end;margin:8px 0 20px}.instant-apps-filter-list__zoom-to calcite-action{width:-moz-min-content;width:min-content}.instant-apps-filter-list calcite-input-date-picker{--calcite-font-size--1:16px}@media (prefers-reduced-motion){.instant-apps-filter-list calcite-loader{--calcite-internal-duration-factor:2;--calcite-internal-animation-timing-slow:calc(300ms * 2)}}.instant-apps-filter-list.calcite-mode-dark .instant-apps-filter-list__header-container{background:#2b2b2b;color:#fff}.instant-apps-filter-list.calcite-mode-dark .instant-apps-filter-list__operator-description{background:#353535}";const Yt="instant-apps-social-share",Jt=".calcite-mode-dark",Xt={base:Yt,dialog:`${Yt}__dialog`,dialogEmbed:`${Yt}__dialog-embed`,dialogContent:`${Yt}__dialog-content`,options:`${Yt}__options`,tipContainer:`${Yt}__tip`,tipHeader:`${Yt}__tip-header`,tipContent:`${Yt}__tip-content`,icon:`${Yt}__icon`,iconContainer:`${Yt}__icon-container`,optionText:`${Yt}__option-text`,popoverButton:`${Yt}__popover-button`,layout:{vertical:`${Yt}__layout--vertical`,horizontal:`${Yt}__layout--horizontal`},xLogo:{light:`${Yt}__x-logo--light`,dark:`${Yt}__x-logo--dark`},success:{container:`${Yt}__success`,header:`${Yt}__success-header`,message:`${Yt}__success-message`,icon:`${Yt}__success-icon`},embed:{container:`${Yt}__embed`,header:`${Yt}__embed-header`,embedCode:{container:`${Yt}__embed-code`,textArea:`${Yt}__embed-code-text-area`,copyButton:`${Yt}__embed-code-copy-button`},textAreaText:`${Yt}__embed-text-area-text`,dimensions:{container:`${Yt}__embed-dimensions`,input:`${Yt}__embed-dimensions-input`}},rtl:{optionText:`${Yt}__option-text--rtl`,textArea:`${Yt}__text-area--rtl`}},ti={facebook:"https://www.facebook.com/sharer/sharer.php?u={url}",x:"https://x.com/intent/post?url={url}",linkedIn:"https://www.linkedin.com/sharing/share-offsite/?url={url}"},ii=class{constructor(i){t(this,i),this.mode="popover",this.shareUrl=window.location.href,this.autoUpdateShareUrl=!0,this.shareText="",this.embed=!1,this.shareButtonColor="neutral",this.shareButtonType="button",this.shareButtonScale=void 0,this.iframeInnerText="",this.popoverButtonIconScale="m",this.view=void 0,this.displayTipText=!0,this.shortenShareUrl=!0,this.socialMedia=!0,this.shareIconsLayout="vertical",this.scale="m",this.successMessage="",this.defaultUrlParams=null,this.inlineSuccessPopoverPlacement="trailing",this.popoverPositioning="absolute",this.removePopoverOffset=!1,this.messages=void 0,this.opened=!1,this.copied=!1,this.inlineCopyLinkOpened=!1,this.inlineCopyEmbedOpened=!1,this.embedWidth=400,this.embedHeight=600}componentDidLoad(){var t,i;ct(this),this.setupAutoCloseListeners(),"popover"===this.mode&&(this.opened&&(this.popoverRef.open=!0),this.popoverRef.addEventListener("calcitePopoverOpen",(()=>{this.shareListRef&&this.shareListRef.children[0].focus()})),this.popoverRef.addEventListener("keydown",this.handlePopoverRefKeyDown.bind(this))),this.embed&&(null===(t=this.embedWidthRef)||void 0===t||t.addEventListener("change",this.updateDimensions.bind(this,"width")),null===(i=this.embedHeightRef)||void 0===i||i.addEventListener("change",this.updateDimensions.bind(this,"height")))}disconnectedCallback(){var t,i,e;document.documentElement.removeEventListener("click",this.autoCloseCallback.bind(this)),"popover"===this.mode?null!=this.popoverRef&&(this.popoverRef.removeEventListener("click",this.stopPropagationCallback.bind(this)),this.popoverRef.removeEventListener("calcitePopoverClose",this.resetPopoverCopyState.bind(this)),this.popoverRef.removeEventListener("keydown",this.handlePopoverRefKeyDown.bind(this))):(null===(t=this.embedWidthRef)||void 0===t||t.removeEventListener("change",this.updateDimensions.bind(this)),null===(i=this.embedHeightRef)||void 0===i||i.removeEventListener("change",this.updateDimensions.bind(this)),null===(e=this.dialogContentRef)||void 0===e||e.removeEventListener("click",this.stopPropagationCallback.bind(this)))}setupAutoCloseListeners(){var t,i,e;document.documentElement.addEventListener("click",this.autoCloseCallback.bind(this)),"popover"===this.mode?(null===(t=this.popoverRef)||void 0===t||t.addEventListener("click",this.stopPropagationCallback.bind(this)),null===(i=this.popoverRef)||void 0===i||i.addEventListener("calcitePopoverClose",this.resetPopoverCopyState.bind(this))):null===(e=this.dialogContentRef)||void 0===e||e.addEventListener("click",this.stopPropagationCallback.bind(this))}handlePopoverRefKeyDown(t){var i,e;if("Tab"===t.code){if(!this.shareListRef)return;const e=t.target,s=this.shareListRef.children[0],a=this.shareListRef.children[(null===(i=this.shareListRef)||void 0===i?void 0:i.children.length)-1];t.shiftKey&&e===s?(t.preventDefault(),a.focus()):t.shiftKey||e!==a||(t.preventDefault(),s.focus())}else"Escape"===t.code&&(this.closePopover(),null===(e=this.popoverButtonRef)||void 0===e||e.setFocus())}autoCloseCallback(){"popover"===this.mode?(this.opened=!1,this.popoverRef.open=this.opened):(this.copyLinkPopoverRef&&(this.copyLinkPopoverRef.open=!1),this.inlineCopyLinkOpened=!1,this.copyEmbedPopoverRef&&(this.copyEmbedPopoverRef.open=!1),this.inlineCopyEmbedOpened=!1)}stopPropagationCallback(t){t.stopPropagation()}resetPopoverCopyState(){var t;null===(t=this.popoverButtonRef)||void 0===t||t.setFocus(),setTimeout((()=>{this.copied=!1}),200)}updateDimensions(t){var i,e;if("width"===t){const t=null===(i=this.embedWidthRef)||void 0===i?void 0:i.value;this.embedWidth=parseInt(t)}else{const t=null===(e=this.embedHeightRef)||void 0===e?void 0:e.value;this.embedHeight=parseInt(t)}}render(){var t,i,a,n,o,l;const r=this.copied&&"popover"===this.mode?this.renderSuccess():e("div",{class:Xt.dialogContent},this.renderOptions(),this.displayTipText?this.renderTip():null,this.embed?this.renderEmbed():null),c="vertical"===this.shareIconsLayout?` ${Xt.layout.vertical}`:` ${Xt.layout.horizontal}`,h=" calcite-mode-"+(this.el.closest(Jt)?"dark":"light"),d=e("div",{key:"1d10b5a2fb75584357c9c0f4fbd75e4904ad20ef",ref:t=>this.dialogContentRef=t,class:`${Xt.dialog}${c}${h}`},r);return e(s,{key:"75f577c38604ff752062434134a04d6d85263c16"},"popover"===this.mode?[e("calcite-popover",{ref:t=>this.popoverRef=t,label:null===(i=null===(t=this.messages)||void 0===t?void 0:t.share)||void 0===i?void 0:i.label,referenceElement:"shareButton",placement:"bottom-start",scale:this.scale,"overlay-positioning":this.popoverPositioning,"offset-distance":this.removePopoverOffset?0:6,"pointer-disabled":this.removePopoverOffset},d),this.renderButton()]:[d,e("calcite-popover",{ref:t=>this.copyLinkPopoverRef=t,label:null===(n=null===(a=this.messages)||void 0===a?void 0:a.share)||void 0===n?void 0:n.label,referenceElement:"copyToClipboard",placement:this.inlineSuccessPopoverPlacement,scale:this.scale},this.renderSuccess()),e("calcite-popover",{ref:t=>this.copyEmbedPopoverRef=t,label:null===(l=null===(o=this.messages)||void 0===o?void 0:o.share)||void 0===l?void 0:l.label,referenceElement:"copyEmbedToClipboard",placement:this.inlineSuccessPopoverPlacement,scale:this.scale},this.renderEmbedSuccess())])}renderButton(){var t,i,s,a,n,o,l,r;const c=null!=this.shareButtonScale?this.shareButtonScale:this.scale;return"button"===this.shareButtonType?e("calcite-button",{ref:t=>this.popoverButtonRef=t,onClick:this.togglePopover.bind(this),id:"shareButton",class:Xt.popoverButton,kind:this.shareButtonColor,appearance:"transparent",label:null===(i=null===(t=this.messages)||void 0===t?void 0:t.share)||void 0===i?void 0:i.label,title:null===(a=null===(s=this.messages)||void 0===s?void 0:s.share)||void 0===a?void 0:a.label,scale:c},e("div",{class:Xt.iconContainer},e("calcite-icon",{icon:"share",scale:this.popoverButtonIconScale}))):e("calcite-action",{ref:t=>this.popoverButtonRef=t,onClick:this.togglePopover.bind(this),id:"shareButton",class:Xt.popoverButton,appearance:"transparent",label:null===(o=null===(n=this.messages)||void 0===n?void 0:n.share)||void 0===o?void 0:o.label,title:null===(r=null===(l=this.messages)||void 0===l?void 0:l.share)||void 0===r?void 0:r.label,scale:c,text:"",alignment:"center"},e("div",{class:Xt.iconContainer},e("calcite-icon",{icon:"share",scale:this.popoverButtonIconScale})))}renderSuccess(){var t;const i=null===(t=this.messages)||void 0===t?void 0:t.success;return e("div",{class:Xt.success.container},e("span",{class:Xt.success.header},e("span",{class:Xt.success.icon},e("calcite-icon",{icon:"check-circle-f",scale:this.scale})),null==i?void 0:i.label),e("span",{class:Xt.success.message},this.successMessage||(null==i?void 0:i.url)))}renderEmbedSuccess(){var t;const i=null===(t=this.messages)||void 0===t?void 0:t.success;return e("div",{class:Xt.success.container},e("span",{class:Xt.success.header},e("span",{class:Xt.success.icon},e("calcite-icon",{icon:"check-circle-f",scale:this.scale})),null==i?void 0:i.label),e("span",{class:Xt.success.message},null==i?void 0:i.embed))}renderOptions(){var t,i,s,a;const n=null===(t=this.messages)||void 0===t?void 0:t.options,o="rtl"===document.dir?` ${Xt.rtl.optionText}`:"";return e("ul",{ref:t=>this.shareListRef=t,class:Xt.options,role:"menu"},e("li",{id:"copyToClipboard",onClick:this.handleShareItem.bind(this,"link"),onKeyDown:this.handleOptionKeyDown("link"),role:"menuitem",tabindex:"0"},e("span",{class:Xt.icon},e("calcite-icon",{icon:"link",scale:this.scale})),e("span",{class:`${Xt.optionText}${o}`},null===(i=null==n?void 0:n.link)||void 0===i?void 0:i.label)),this.socialMedia?[e("li",{onClick:this.handleShareItem.bind(this,"facebook"),onKeyDown:this.handleOptionKeyDown("facebook"),role:"menuitem",tabindex:"0"},e("span",{class:Xt.icon},this.renderFacebookIcon()),e("span",{class:`${Xt.optionText}${o}`},null===(s=null==n?void 0:n.facebook)||void 0===s?void 0:s.label)),e("li",{onClick:this.handleShareItem.bind(this,"x"),onKeyDown:this.handleOptionKeyDown("x"),role:"menuitem",tabindex:"0"},e("span",{class:Xt.icon},this.renderXIcon()),e("span",{class:`${Xt.optionText}${o}`},"X")),e("li",{onClick:this.handleShareItem.bind(this,"linkedIn"),onKeyDown:this.handleOptionKeyDown("linkedIn"),role:"menuitem",tabindex:"0"},e("span",{class:Xt.icon},this.renderLinkedInIcon()),e("span",{class:`${Xt.optionText}${o}`},null===(a=null==n?void 0:n.linkedIn)||void 0===a?void 0:a.label))]:null)}handleOptionKeyDown(t){return i=>{const e=i.code;("Space"===e||"Enter"===e)&&this.handleShareItem(t)}}renderFacebookIcon(){return e("svg",{height:"100%",style:{fillRule:"evenodd",clipRule:"evenodd",strokeLinejoin:"round",strokeMiterlimit:"2"},version:"1.1",viewBox:"0 0 512 512",width:"100%",xmlns:"http://www.w3.org/2000/svg"},e("g",null,e("path",{d:"M512,256c0,-141.385 -114.615,-256 -256,-256c-141.385,0 -256,114.615 -256,256c0,127.777 93.616,233.685 216,252.89l0,-178.89l-65,0l0,-74l65,0l0,-56.4c0,-64.16 38.219,-99.6 96.695,-99.6c28.009,0 57.305,5 57.305,5l0,63l-32.281,0c-31.801,0 -41.719,19.733 -41.719,39.978l0,48.022l71,0l-11.35,74l-59.65,0l0,178.89c122.385,-19.205 216,-125.113 216,-252.89Z",style:{fill:"#1877f2",fillRule:"nonzero"}}),e("path",{d:"M355.65,330l11.35,-74l-71,0l0,-48.022c0,-20.245 9.917,-39.978 41.719,-39.978l32.281,0l0,-63c0,0 -29.297,-5 -57.305,-5c-58.476,0 -96.695,35.44 -96.695,99.6l0,56.4l-65,0l0,74l65,0l0,178.89c13.033,2.045 26.392,3.11 40,3.11c13.608,0 26.966,-1.065 40,-3.11l0,-178.89l59.65,0Z",style:{fill:"#fff",fillRule:"nonzero"}})))}renderXIcon(){const t=!!this.el.closest(Jt);return e("svg",{class:t?Xt.xLogo.dark:Xt.xLogo.light,viewBox:"0 0 1200 1227",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e("rect",{height:"400",style:{fill:"none"},width:"400",x:"56",y:"56"}),e("path",{d:"M714.163 519.284L1160.89 0H1055.03L667.137 450.887L357.328 0H0L468.492 681.821L0 1226.37H105.866L515.491 750.218L842.672 1226.37H1200L714.137 519.284H714.163ZM569.165 687.828L521.697 619.934L144.011 79.6944H306.615L611.412 515.685L658.88 583.579L1055.08 1150.3H892.476L569.165 687.854V687.828Z",fill:t?"white":"black"}))}renderLinkedInIcon(){return e("svg",{height:"100%",style:{fillRule:"evenodd",clipRule:"evenodd",strokeLinejoin:"round",strokeMiterlimit:"2"},version:"1.1",viewBox:"0 0 512 512",width:"100%",xmlns:"http://www.w3.org/2000/svg"},e("g",{id:"g5891"},e("path",{d:"M512,64c0,-35.323 -28.677,-64 -64,-64l-384,0c-35.323,0 -64,28.677 -64,64l0,384c0,35.323 28.677,64 64,64l384,0c35.323,0 64,-28.677 64,-64l0,-384Z",id:"background",style:{fill:"#2867b2"}}),e("g",{id:"shapes"},e("rect",{height:"257.962",id:"rect11",style:{fill:"#fff"},width:"85.76",x:"61.053",y:"178.667"}),e("path",{d:"M104.512,54.28c-29.341,0 -48.512,19.29 -48.512,44.573c0,24.752 18.588,44.574 47.377,44.574l0.554,0c29.903,0 48.516,-19.822 48.516,-44.574c-0.555,-25.283 -18.611,-44.573 -47.935,-44.573Z",id:"path13-0",style:{fill:"#fff",fillRule:"nonzero"}}),e("path",{d:"M357.278,172.601c-45.49,0 -65.866,25.017 -77.276,42.589l0,-36.523l-85.738,0c1.137,24.197 0,257.961 0,257.961l85.737,0l0,-144.064c0,-7.711 0.554,-15.42 2.827,-20.931c6.188,-15.4 20.305,-31.352 43.993,-31.352c31.012,0 43.436,23.664 43.436,58.327l0,138.02l85.741,0l0,-147.93c0,-79.237 -42.305,-116.097 -98.72,-116.097Z",id:"path15",style:{fill:"#fff",fillRule:"nonzero"}}))))}renderTip(){var t;const i=null===(t=this.messages)||void 0===t?void 0:t.info;return e("div",{class:Xt.tipContainer},e("span",{class:Xt.tipHeader},e("calcite-icon",{icon:"lightbulb",scale:this.scale}),e("span",null,null==i?void 0:i.label)),e("p",{class:Xt.tipContent},null==i?void 0:i.tooltip))}renderEmbed(){var t,i,s;const a=null===(t=this.messages)||void 0===t?void 0:t.embed,n="rtl"===document.dir?` ${Xt.rtl.textArea}`:"";return e("div",{class:Xt.embed.container},e("span",{class:Xt.embed.header},e("calcite-icon",{icon:"code",scale:this.scale}),e("span",null,null===(s=null===(i=this.messages)||void 0===i?void 0:i.embed)||void 0===s?void 0:s.label)),e("div",{class:Xt.embed.embedCode.container},e("div",{class:Xt.embed.embedCode.textArea},e("textarea",{ref:t=>this.embedCodeRef=t,cols:30,rows:5,readonly:!0,class:n,value:this.getEmbedCode()}),e("button",{id:"copyEmbedToClipboard",onClick:this.copyEmbedCode.bind(this),class:Xt.embed.embedCode.copyButton},e("calcite-icon",{icon:"copy",scale:this.scale}),e("span",null,null==a?void 0:a.copy))),e("span",{class:Xt.embed.textAreaText},e("slot",{name:"text-area-text"})),e("div",{class:Xt.embed.dimensions.container},e("label",{class:Xt.embed.dimensions.input},e("span",null,null==a?void 0:a.width),e("input",{ref:t=>this.embedWidthRef=t,type:"number",onKeyDown:t=>["e","E","+","-"].includes(t.key)&&t.preventDefault(),onChange:this.handleNumberInputOnChange("width"),value:this.embedWidth,min:"1"})),e("label",{class:Xt.embed.dimensions.input},e("span",null,null==a?void 0:a.height),e("input",{ref:t=>this.embedHeightRef=t,type:"number",onKeyDown:t=>["e","E","+","-"].includes(t.key)&&t.preventDefault(),onChange:this.handleNumberInputOnChange("height"),value:this.embedHeight,min:"1"})))))}handleNumberInputOnChange(t){const i="width"===t?this.embedWidthRef:this.embedHeightRef,e="width"===t?"embedWidth":"embedHeight";return()=>{i&&parseFloat(i.value)<=0&&(this[e]=parseInt("1"),i.value="1")}}togglePopover(t){t.stopPropagation(),this.opened=!this.opened,this.popoverRef.open=this.opened}closePopover(){this.opened=!1,this.popoverRef.open=this.opened}async handleShareItem(t){var i,e,s,a;this.shareUrl=await this.generateShareUrl();let n=null;const o=null!==(e=null===(i=null===navigator||void 0===navigator?void 0:navigator.userAgent)||void 0===i?void 0:i.includes("Chrome"))&&void 0!==e&&e,l=null!==(a=null===(s=null===navigator||void 0===navigator?void 0:navigator.userAgent)||void 0===s?void 0:s.includes("Safari"))&&void 0!==a&&a&&!o;!l&&this.shortenShareUrl&&(n=await this.shortenUrl(this.shareUrl));let r=n||this.shareUrl;switch(t){case"link":return navigator.clipboard.writeText(r),this.embed&&(this.copyEmbedPopoverRef.open=!1,this.inlineCopyEmbedOpened=!1),"inline"===this.mode&&(this.copyLinkPopoverRef.open=!0,setTimeout((()=>this.copyLinkPopoverRef.open=!1),3e3)),this.inlineCopyLinkOpened=!0,this.copied=!0,void("popover"===this.mode&&setTimeout((()=>this.closePopover()),2e3));case"facebook":case"x":case"linkedIn":let i;l&&(i=window.open("","_blank"),this.shortenShareUrl&&(r=await this.shortenUrl(this.shareUrl)||r));const e={url:encodeURI(r)},s="x"===t?Object.assign(Object.assign({},e),{text:this.shareText}):e,[a]=await rt(["esri/intl"]),n=a.substitute(ti[t],s);return"popover"===this.mode&&this.closePopover(),void(l&&i?(i.location=n,i.focus()):window.open(encodeURI(n),"_blank"))}}async shortenUrl(t){var i,e;const[s]=await rt(["esri/request"]),a=await s("https://arcg.is/prod/shorten",{query:{longUrl:t,f:"json"}}),n=null===(e=null===(i=null==a?void 0:a.data)||void 0===i?void 0:i.data)||void 0===e?void 0:e.url;if(n)return n.replace("http://","https://")}getEmbedCode(){return`<iframe src="${this.shareUrl}" width="${this.embedWidth}" height="${this.embedHeight}" frameborder="0" style="border:0" allowfullscreen>${this.iframeInnerText}</iframe>`}copyEmbedCode(){navigator.clipboard.writeText(this.getEmbedCode()),this.copyLinkPopoverRef.open=!1,this.inlineCopyLinkOpened=!1,this.copyEmbedPopoverRef.open=!0,setTimeout((()=>this.copyEmbedPopoverRef.open=!1),3e3),this.inlineCopyEmbedOpened=!0}async generateShareUrl(){var t;if(this.autoUpdateShareUrl&&(this.shareUrl=window.location.href),!this.view||!(null===(t=this.view)||void 0===t?void 0:t.ready))return this.shareUrl;const{x:i,y:e}=this.view.center,{spatialReference:s}=this.view,[a,n]=await rt(["esri/geometry/Point","esri/geometry/SpatialReference"]),o=new a({x:i,y:e,spatialReference:new n(Object.assign({},s.toJSON()))}),l=await this.processPoint(o),{isWGS84:r,isWebMercator:c}=l.spatialReference;return this.generateShareUrlParams(l,r||c)}async processPoint(t){const{isWGS84:i,isWebMercator:e}=t.spatialReference;if(i||e)return t;const[s,a]=await rt(["esri/geometry/SpatialReference","esri/geometry/projection"]),n=new s({wkid:4326});try{await a.load();const i=a.project(t,n);return Promise.resolve(i)}catch(t){return console.error("Failed to project point",t),Promise.reject(null)}}generateShareUrlParams(t,i){var e,s,a,n,o;const{longitude:l,latitude:r,x:c,y:h}=t;if(void 0===l||void 0===r)return this.shareUrl;const d=this.roundValue(i?l:c),p=this.roundValue(i?r:h),{zoom:u}=this.view,v=this.roundValue(u),m=null===(s=null===(e=this.view)||void 0===e?void 0:e.popup)||void 0===s?void 0:s.selectedFeature,f=null===(n=null===(a=this.view)||void 0===a?void 0:a.popup)||void 0===n?void 0:n.visible;let g,b,x;if(m&&f&&"feature"===(null===(o=null==m?void 0:m.layer)||void 0===o?void 0:o.type)){const t=null==m?void 0:m.layer;g=null==t?void 0:t.id,b=m.attributes[t.objectIdField]}x=this.view.map.allLayers.filter((t=>!t.visible)).toArray().map((t=>t.id)).toString().replaceAll(",",";");const{type:y}=this.view,{defaultUrlParams:w}=this,_=new URL(this.shareUrl),{searchParams:k}=_;if(k.get("center")&&k.delete("center"),k.get("level")&&k.delete("level"),k.get("selectedFeature")&&k.delete("selectedFeature"),k.get("hiddenLayers")&&k.delete("hiddenLayers"),k.get("viewpoint")&&k.delete("viewpoint"),"3d"===y){const{camera:t}=this.view,{heading:i,position:e,tilt:s}=t,{longitude:a,latitude:n,z:o}=e,l={longitude:this.roundValue(a,8),latitude:this.roundValue(n,8),z:this.roundValue(o,3),heading:this.roundValue(i,3),tilt:this.roundValue(s,3)};return!1!==(null==w?void 0:w.viewpoint)&&_.searchParams.set("viewpoint",`cam:${l.longitude},${l.latitude},${l.z};${l.heading},${l.tilt}`),g&&b&&!1!==(null==w?void 0:w.selectedFeature)&&_.searchParams.set("selectedFeature",`${g};${b}`),x&&!1!==(null==w?void 0:w.hiddenLayers)&&_.searchParams.set("hiddenLayers",x),_.search=decodeURIComponent(_.search),_.href}return!1!==(null==w?void 0:w.center)&&_.searchParams.set("center",`${d};${p}`),!1!==(null==w?void 0:w.level)&&_.searchParams.set("level",`${v}`),g&&b&&!1!==(null==w?void 0:w.selectedFeature)&&_.searchParams.set("selectedFeature",`${g};${b}`),x&&!1!==(null==w?void 0:w.hiddenLayers)&&_.searchParams.set("hiddenLayers",x),_.search=decodeURIComponent(_.search),_.href}roundValue(t,i=4){return parseFloat(t.toFixed(i))}get el(){return a(this)}};ii.style=":host{display:block;--instant-apps-social-share-action-width:initial;--instant-apps-social-share-width--s:200px;--instant-apps-social-share-width--m:280px;--instant-apps-social-share-width--l:320px;--instant-apps-social-share-width-horizontal--s:300px;--instant-apps-social-share-width-horizontal--m:380px;--instant-apps-social-share-width-horizontal--l:420px;--instant-apps-social-share-background-color:var(--calcite-color-foreground-1);--instant-apps-social-share-popover-button-background-color:transparent;--instant-apps-social-share-popover-button-icon-color:var(--calcite-ui-icon-color);--instant-apps-social-share-embed-border:1px solid $border;--instant-apps-social-share-embed-text-area-text:#468540}:host .instant-apps-social-share__popover-button{background-color:var(--instant-apps-social-share-popover-button-background-color)}:host .instant-apps-social-share__popover-button calcite-icon{color:var(--instant-apps-social-share-popover-button-icon-color)}:host .instant-apps-social-share__dialog,:host .instant-apps-social-share__dialog-embed{background-color:var(--instant-apps-social-share-background-color);border:var(--instant-apps-social-share-embed-border)}:host .instant-apps-social-share__dialog{box-sizing:border-box;height:auto;padding:10px 0;border-radius:5px;color:var(--calcite-color-text-1)}:host .instant-apps-social-share__options{margin:0;padding:1% 0 0 0;list-style-type:none}:host .instant-apps-social-share__options li{box-sizing:border-box;display:flex;align-items:center;width:100%;padding:5%;transition:background-color 0.15s ease-out 0s}:host .instant-apps-social-share__options li .instant-apps-social-share__icon,:host .instant-apps-social-share__options li .instant-apps-social-share__option-text{display:inline-block}:host .instant-apps-social-share__options li .instant-apps-social-share__icon{display:flex;align-items:center}:host .instant-apps-social-share__options li .instant-apps-social-share__option-text{width:85%;margin-left:10px;word-break:break-word}:host .instant-apps-social-share__options li .instant-apps-social-share__option-text--rtl{margin-left:0;margin-right:10px}:host .instant-apps-social-share__options li:hover{cursor:pointer;background-color:var(--calcite-color-foreground-2)}:host .instant-apps-social-share__options__x-logo--light path{fill:#000000}:host .instant-apps-social-share__options__x-logo--dark path{fill:#ffffff}:host .instant-apps-social-share__tip{box-sizing:border-box;padding:0 5% 1% 5%}:host .instant-apps-social-share__tip-header{display:flex;align-items:center;color:#007ac2;margin:8px 0 5px 0}:host .instant-apps-social-share__tip-header calcite-icon{margin-right:5px}:host .instant-apps-social-share__tip-content{line-height:17px;margin:0;padding-top:2%}:host .instant-apps-social-share__success{display:flex;flex-direction:column;padding:15px}:host .instant-apps-social-share__success-header{display:flex;align-items:center;font-weight:bold;margin-bottom:10px}:host .instant-apps-social-share__success-icon{display:flex;align-items:center;margin-right:5px}:host .instant-apps-social-share__success-icon calcite-icon{color:var(--calcite-color-status-success)}:host .instant-apps-social-share__success-message{line-height:16px}:host .instant-apps-social-share__embed{box-sizing:border-box;width:100%;padding:5%;margin-bottom:10px;border-top:1px solid #d3d3d3}:host .instant-apps-social-share__embed-header{display:flex;align-items:center;margin-bottom:5px}:host .instant-apps-social-share__embed-header calcite-icon{margin-right:5px}:host .instant-apps-social-share__embed-code-text-area{border:1px solid #d3d3d3}:host .instant-apps-social-share__embed-code-text-area textarea{box-sizing:border-box;padding:4%;border:none;resize:none;background:transparent;width:100%;font-family:var(--calcite-sans-family);color:var(--calcite-color-text-1)}:host .instant-apps-social-share__embed-code-text-area button{display:flex;align-items:center;text-align:start;width:100%;border:none;border-top:1px solid #d3d3d3;background-color:transparent;line-height:16px;font-weight:400;padding:3%;color:var(--calcite-color-text-1)}:host .instant-apps-social-share__embed-code-text-area button calcite-icon{color:#007ac2;margin-right:3px}:host .instant-apps-social-share__embed-code-text-area button:hover{cursor:pointer;background-color:var(--calcite-color-foreground-2);transition:background-color 0.15s ease-out 0s}:host .instant-apps-social-share__embed-text-area-text{font-weight:600;color:var(--instant-apps-social-share-embed-text-area-text)}:host .instant-apps-social-share__embed .instant-apps-social-share__text-area--rtl{text-align:left;direction:ltr}:host .instant-apps-social-share__embed-dimensions{display:flex;justify-content:space-between;margin-top:10px}:host .instant-apps-social-share__embed-dimensions-input{width:47%;box-sizing:border-box}:host .instant-apps-social-share__embed-dimensions-input input{border:1px solid #d3d3d3;width:100%;height:25px;font-family:var(--calcite-sans-family)}:host .instant-apps-social-share__layout--horizontal .instant-apps-social-share__options{display:flex;justify-content:space-around;margin-bottom:8%}:host .instant-apps-social-share__layout--horizontal .instant-apps-social-share__options li{flex-direction:column;padding:0}:host .instant-apps-social-share__layout--horizontal .instant-apps-social-share__options li .instant-apps-social-share__option-text{word-break:break-word;margin-left:0;margin-top:10px;text-align:center}:host .instant-apps-social-share__layout--horizontal .instant-apps-social-share__options li:hover{background-color:unset}:host .instant-apps-social-share__icon-container{display:flex;align-items:center}:host calcite-action{width:var(--instant-apps-social-share-action-width)}:host([scale=s]) .instant-apps-social-share__dialog{width:var(--instant-apps-social-share-width--s)}:host([scale=s]) .instant-apps-social-share__icon{width:16px;height:16px}:host([scale=s]) .instant-apps-social-share__option-text{font-size:var(--calcite-font-size--1)}:host([scale=s]) .instant-apps-social-share__dialog.instant-apps-social-share__layout--horizontal{width:var(--instant-apps-social-share-width-horizontal--s)}:host([scale=s]) .instant-apps-social-share__tip-header,:host([scale=s]) .instant-apps-social-share__tip-content,:host([scale=s]) .instant-apps-social-share__embed-header,:host([scale=s]) .instant-apps-social-share__embed-dimensions-input{font-size:var(--calcite-font-size--2)}:host([scale=m]) .instant-apps-social-share__dialog{width:var(--instant-apps-social-share-width--m)}:host([scale=m]) .instant-apps-social-share__icon{width:24px;height:24px}:host([scale=m]) .instant-apps-social-share__option-text{font-size:var(--calcite-font-size-0)}:host([scale=m]) .instant-apps-social-share__dialog.instant-apps-social-share__layout--horizontal{width:var(--instant-apps-social-share-width-horizontal--m)}:host([scale=m]) .instant-apps-social-share__tip-header,:host([scale=m]) .instant-apps-social-share__tip-content,:host([scale=m]) .instant-apps-social-share__embed-header,:host([scale=m]) .instant-apps-social-share__embed-dimensions-input{font-size:var(--calcite-font-size--1)}:host([scale=l]) .instant-apps-social-share__dialog{width:var(--instant-apps-social-share-width--l)}:host([scale=l]) .instant-apps-social-share__icon{width:32px;height:32px}:host([scale=l]) .instant-apps-social-share__option-text{font-size:var(--calcite-font-size-1)}:host([scale=l]) .instant-apps-social-share__dialog.instant-apps-social-share__layout--horizontal{width:var(--instant-apps-social-share-width-horizontal--l)}:host([scale=l]) .instant-apps-social-share__tip-header,:host([scale=l]) .instant-apps-social-share__tip-content,:host([scale=l]) .instant-apps-social-share__embed-header,:host([scale=l]) .instant-apps-social-share__embed-dimensions-input{font-size:var(--calcite-font-size-0)}";export{Dt as calcite_block,Pt as calcite_date_picker,Wt as calcite_input_date_picker,Qt as instant_apps_filter_list,ii as instant_apps_social_share}
@@ -1,17 +0,0 @@
1
- /*!
2
- * Copyright 2022 Esri
3
- * Licensed under the Apache License, Version 2.0
4
- * http://www.apache.org/licenses/LICENSE-2.0
5
- */
6
- import{g as n}from"./p-c6296ee6.js";import{C as t}from"./p-3edf491f.js";
7
- /*!
8
- * tabbable 6.2.0
9
- * @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
10
- */
11
- var r=["input:not([inert])","select:not([inert])","textarea:not([inert])","a[href]:not([inert])","button:not([inert])","[tabindex]:not(slot):not([inert])","audio[controls]:not([inert])","video[controls]:not([inert])",'[contenteditable]:not([contenteditable="false"]):not([inert])',"details>summary:first-of-type:not([inert])","details:not([inert])"],e=r.join(","),o="undefined"==typeof Element,i=o?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,u=!o&&Element.prototype.getRootNode?function(n){var t;return null==n||null===(t=n.getRootNode)||void 0===t?void 0:t.call(n)}:function(n){return null==n?void 0:n.ownerDocument},a=function n(t,r){var e;void 0===r&&(r=!0);var o=null==t||null===(e=t.getAttribute)||void 0===e?void 0:e.call(t,"inert");return""===o||"true"===o||r&&t&&n(t.parentNode)},f=function(n,t,r){if(a(n))return[];var o=Array.prototype.slice.apply(n.querySelectorAll(e));return t&&i.call(n,e)&&o.unshift(n),o.filter(r)},c=function n(t,r,o){for(var u=[],f=Array.from(t);f.length;){var c=f.shift();if(!a(c,!1))if("SLOT"===c.tagName){var s=c.assignedElements(),l=n(s.length?s:c.children,!0,o);o.flatten?u.push.apply(u,l):u.push({scopeParent:c,candidates:l})}else{i.call(c,e)&&o.filter(c)&&(r||!t.includes(c))&&u.push(c);var d=c.shadowRoot||"function"==typeof o.getShadowRoot&&o.getShadowRoot(c),v=!a(d,!1)&&(!o.shadowRootFilter||o.shadowRootFilter(c));if(d&&v){var p=n(!0===d?c.children:d.children,!0,o);o.flatten?u.push.apply(u,p):u.push({scopeParent:c,candidates:p})}else f.unshift.apply(f,c.children)}}return u},s=function(n){return!isNaN(parseInt(n.getAttribute("tabindex"),10))},l=function(n){if(!n)throw new Error("No node provided");return n.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(n.tagName)||function(n){var t,r=null==n||null===(t=n.getAttribute)||void 0===t?void 0:t.call(n,"contenteditable");return""===r||"true"===r}(n))&&!s(n)?0:n.tabIndex},d=function(n,t){return n.tabIndex===t.tabIndex?n.documentOrder-t.documentOrder:n.tabIndex-t.tabIndex},v=function(n){return"INPUT"===n.tagName},p=function(n){var t=n.getBoundingClientRect();return 0===t.width&&0===t.height},y=function(n,t){return!(t.disabled||a(t)||function(n){return v(n)&&"hidden"===n.type}(t)||function(n,t){var r=t.displayCheck,e=t.getShadowRoot;if("hidden"===getComputedStyle(n).visibility)return!0;var o=i.call(n,"details>summary:first-of-type");if(i.call(o?n.parentElement:n,"details:not([open]) *"))return!0;if(r&&"full"!==r&&"legacy-full"!==r){if("non-zero-area"===r)return p(n)}else{if("function"==typeof e){for(var a=n;n;){var f=n.parentElement,c=u(n);if(f&&!f.shadowRoot&&!0===e(f))return p(n);n=n.assignedSlot?n.assignedSlot:f||c===n.ownerDocument?f:c.host}n=a}if(function(n){var t,r,e,o,i=n&&u(n),a=null===(t=i)||void 0===t?void 0:t.host,f=!1;if(i&&i!==n)for(f=!!(null!==(r=a)&&void 0!==r&&null!==(e=r.ownerDocument)&&void 0!==e&&e.contains(a)||null!=n&&null!==(o=n.ownerDocument)&&void 0!==o&&o.contains(n));!f&&a;){var c,s,l;f=!(null===(s=a=null===(c=i=u(a))||void 0===c?void 0:c.host)||void 0===s||null===(l=s.ownerDocument)||void 0===l||!l.contains(a))}return f}(n))return!n.getClientRects().length;if("legacy-full"!==r)return!0}return!1}(t,n)||function(n){return"DETAILS"===n.tagName&&Array.prototype.slice.apply(n.children).some((function(n){return"SUMMARY"===n.tagName}))}(t)||function(n){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(n.tagName))for(var t=n.parentElement;t;){if("FIELDSET"===t.tagName&&t.disabled){for(var r=0;r<t.children.length;r++){var e=t.children.item(r);if("LEGEND"===e.tagName)return!!i.call(t,"fieldset[disabled] *")||!e.contains(n)}return!0}t=t.parentElement}return!1}(t))},m=function(n,t){return!(function(n){return function(n){return v(n)&&"radio"===n.type}(n)&&!function(n){if(!n.name)return!0;var t,r=n.form||u(n),e=function(n){return r.querySelectorAll('input[type="radio"][name="'+n+'"]')};if("undefined"!=typeof window&&void 0!==window.CSS&&"function"==typeof window.CSS.escape)t=e(window.CSS.escape(n.name));else try{t=e(n.name)}catch(n){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",n.message),!1}var o=function(n,t){for(var r=0;r<n.length;r++)if(n[r].checked&&n[r].form===t)return n[r]}(t,n.form);return!o||o===n}(n)}(t)||l(t)<0||!y(n,t))},w=function(n){var t=parseInt(n.getAttribute("tabindex"),10);return!!(isNaN(t)||t>=0)},A=function n(t){var r=[],e=[];return t.forEach((function(t,o){var i=!!t.scopeParent,u=i?t.scopeParent:t,a=function(n,t){var r=l(n);return r<0&&t&&!s(n)?0:r}(u,i),f=i?n(t.candidates):u;0===a?i?r.push.apply(r,f):r.push(u):e.push({documentOrder:o,tabIndex:a,item:t,isScope:i,content:f})})),e.sort(d).reduce((function(n,t){return t.isScope?n.push.apply(n,t.content):n.push(t.content),n}),[]).concat(r)},E=function(n,t){var r;return r=(t=t||{}).getShadowRoot?c([n],t.includeContainer,{filter:m.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:w}):f(n,t.includeContainer,m.bind(null,t)),A(r)},h=function(n,t){return(t=t||{}).getShadowRoot?c([n],t.includeContainer,{filter:y.bind(null,t),flatten:!0,getShadowRoot:t.getShadowRoot}):f(n,t.includeContainer,y.bind(null,t))},S=function(n,t){if(t=t||{},!n)throw new Error("No node provided");return!1!==i.call(n,e)&&m(t,n)},g=r.concat("iframe").join(","),N=function(n,t){if(t=t||{},!n)throw new Error("No node provided");return!1!==i.call(n,g)&&y(t,n)};
12
- /*!
13
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
14
- * See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
15
- * v2.12.1
16
- */
17
- const b={getShadowRoot:!0};function I(t){return t?t.id=t.id||`${t.tagName.toLowerCase()}-${n()}`:""}function T(n){return Array.isArray(n)?n:Array.from(n)}function x(n){const r=O(n,`.${t.darkMode}, .${t.lightMode}`);return r?.classList.contains("calcite-mode-dark")?"dark":"light"}function $(n){const t=O(n,"[dir]");return t?t.getAttribute("dir"):"ltr"}function C(n){return n?parseFloat(getComputedStyle(n).inlineSize):0}function D(n){return n.getRootNode()}function F(n){const t=D(n);return"host"in t?t:null}function L(n,t){if(!n)return 0;const r=document.createElement("canvas").getContext("2d");return r.font=t,r.measureText(n).width}function R(n){return n.host||null}function k(n,{selector:t,id:r}){return function n(e){if(!e)return null;e.assignedSlot&&(e=e.assignedSlot);const o=D(e),i=r?"getElementById"in o?o.getElementById(r):null:t?o.querySelector(t):null,u=R(o);return i||(u?n(u):null)}(n)}function O(n,t){return function n(r){return r?r.closest(t)||n(R(D(r))):null}(n)}function P(n,t){return U(n,t)}function U(n,t){if(!n)return;const r=t(n);if(void 0!==r)return r;const{parentNode:e}=n;return U(e instanceof ShadowRoot?e.host:e,t)}function B(n,t){return!!P(t,(t=>t===n||void 0))}async function j(n){if(n)return function(n){return"function"==typeof n?.setFocus}(n)?n.setFocus():n.focus()}function q(n){if(n)return E(n,b)[0]??n}function z(n){q(n)?.focus()}const G=":not([slot])";function M(n,t,r){t&&!Array.isArray(t)&&"string"!=typeof t&&(r=t,t=null);const e=t?Array.isArray(t)?t.map((n=>`[slot="${n}"]`)).join(","):`[slot="${t}"]`:G;return r?.all?function(n,t,r){let e=t===G?H(n,G):Array.from(n.querySelectorAll(t));e=r&&!1===r.direct?e:e.filter((t=>t.parentElement===n)),e=r?.matches?e.filter((n=>n?.matches(r.matches))):e;const o=r?.selector;return o?e.map((n=>Array.from(n.querySelectorAll(o)))).reduce(((n,t)=>[...n,...t]),[]).filter((n=>!!n)):e}(n,e,r):function(n,t,r){let e=t===G?H(n,G)[0]||null:n.querySelector(t);e=r&&!1===r.direct||e?.parentElement===n?e:null,e=r?.matches?e?.matches(r.matches)?e:null:e;const o=r?.selector;return o?e?.querySelector(o):e}(n,e,r)}function H(n,t){return n?Array.from(n.children||[]).filter((n=>n?.matches(t))):[]}function V(n,t){return Array.from(n.children).filter((n=>n.matches(t)))}function X(n,t,r){return"string"==typeof t&&""!==t?t:""===t?n[r]:void 0}function Y(n,t){return!(t.left>n.right||t.right<n.left||t.top>n.bottom||t.bottom<n.top)}function J(n){return Boolean(n).toString()}function K(n){return Q(n)||function(n){return!!function(n){return function(n){return n.currentTarget.assignedNodes({flatten:!0})}(n).filter((n=>n.nodeType===Node.TEXT_NODE)).map((n=>n.textContent)).join("").trim()}(n)}(n)}function Q(n){return!!W(n).length}function W(n,t){return Z(n.target,t)}function Z(n,t){const r=n.assignedElements({flatten:!0});return t?function(n,t){return n.filter((n=>n.matches(t)))}(r,t):r}function _(n){return!(!n.isPrimary||0!==n.button)}function nn(n){return 0===n.detail}const tn=(n,t,r,e=!0)=>{const o=n.indexOf(t);let i;return e&&(r="previous"===r&&0===o?"last":"next"===r&&o===n.length-1?"first":r),i="previous"===r?n[o-1]||n[e?n.length-1:o]:"next"===r?n[o+1]||n[e?0:o]:"last"===r?n[n.length-1]:n[0],j(i),i};function rn(n,t){if(n.parentNode!==t.parentNode)return!1;const r=Array.from(n.parentNode.children);return r.indexOf(n)<r.indexOf(t)}async function en(n,t,r,e){return un(n,t,"animation",r,e)}async function on(n,t,r,e){return un(n,t,"transition",r,e)}async function un(n,t,r,e,o){const i=window.getComputedStyle(n),u="transition"===r?i.transitionProperty:i.animationName,a=("transition"===r?i.transitionDuration:i.animationDuration).split(","),f=a[u.split(",").map((n=>n.trim())).indexOf(t)]??a[0];function c(){requestAnimationFrame((()=>{e?.(),requestAnimationFrame((()=>o?.()))}))}if("0s"===f)return void c();const s="transition"===r?"transitionstart":"animationstart",l="transition"===r?"transitionend":"animationend",d="transition"===r?"transitioncancel":"animationcancel";return new Promise((r=>{const i=window.setTimeout((()=>{n.removeEventListener(s,u),n.removeEventListener(l,a),n.removeEventListener(d,a),c(),r()}),1e3*parseFloat(f));function u(r){r.target===n&&an(r)===t&&(window.clearTimeout(i),n.removeEventListener(s,u),e?.())}function a(e){e.target===n&&an(e)===t&&(n.removeEventListener(l,a),n.removeEventListener(d,a),o?.(),r())}n.addEventListener(s,u),n.addEventListener(l,a),n.addEventListener(d,a)}))}function an(n){return function(n){return"propertyName"in n}(n)?n.propertyName:n.animationName}export{K as A,V as B,Z as C,C as D,L as E,q as F,F as G,nn as H,$ as a,B as b,O as c,tn as d,j as e,z as f,M as g,W as h,_ as i,N as j,E as k,h as l,S as m,l as n,b as o,on as p,rn as q,k as r,Q as s,J as t,Y as u,I as v,en as w,x,T as y,X as z}
@@ -1,11 +0,0 @@
1
- /*!
2
- * Copyright 2022 Esri
3
- * Licensed under the Apache License, Version 2.0
4
- * http://www.apache.org/licenses/LICENSE-2.0
5
- */
6
- var t={exports:{}},e={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},n={exports:{}},r=Array.prototype.concat,s=Array.prototype.slice,o=n.exports=function(t){for(var e=[],n=0,o=t.length;n<o;n++){var a=t[n];(i=a)&&"string"!=typeof i&&(i instanceof Array||Array.isArray(i)||i.length>=0&&(i.splice instanceof Function||Object.getOwnPropertyDescriptor(i,i.length-1)&&"String"!==i.constructor.name))?e=r.call(e,s.call(a)):e.push(a)}var i;return e};o.wrap=function(t){return function(){return t(o(arguments))}};var a=e,i=n.exports,l=Object.hasOwnProperty,c=Object.create(null);for(var u in a)l.call(a,u)&&(c[a[u]]=u);var h=t.exports={to:{},get:{}};function f(t,e,n){return Math.min(Math.max(e,t),n)}function d(t){var e=Math.round(t).toString(16).toUpperCase();return e.length<2?"0"+e:e}h.get=function(t){var e,n;switch(t.substring(0,3).toLowerCase()){case"hsl":e=h.get.hsl(t),n="hsl";break;case"hwb":e=h.get.hwb(t),n="hwb";break;default:e=h.get.rgb(t),n="rgb"}return e?{model:n,value:e}:null},h.get.rgb=function(t){if(!t)return null;var e,n,r,s=[0,0,0,1];if(e=t.match(/^#([a-f0-9]{6})([a-f0-9]{2})?$/i)){for(r=e[2],e=e[1],n=0;n<3;n++){var o=2*n;s[n]=parseInt(e.slice(o,o+2),16)}r&&(s[3]=parseInt(r,16)/255)}else if(e=t.match(/^#([a-f0-9]{3,4})$/i)){for(r=(e=e[1])[3],n=0;n<3;n++)s[n]=parseInt(e[n]+e[n],16);r&&(s[3]=parseInt(r+r,16)/255)}else if(e=t.match(/^rgba?\(\s*([+-]?\d+)(?=[\s,])\s*(?:,\s*)?([+-]?\d+)(?=[\s,])\s*(?:,\s*)?([+-]?\d+)\s*(?:[,|\/]\s*([+-]?[\d\.]+)(%?)\s*)?\)$/)){for(n=0;n<3;n++)s[n]=parseInt(e[n+1],0);e[4]&&(s[3]=e[5]?.01*parseFloat(e[4]):parseFloat(e[4]))}else{if(!(e=t.match(/^rgba?\(\s*([+-]?[\d\.]+)\%\s*,?\s*([+-]?[\d\.]+)\%\s*,?\s*([+-]?[\d\.]+)\%\s*(?:[,|\/]\s*([+-]?[\d\.]+)(%?)\s*)?\)$/)))return(e=t.match(/^(\w+)$/))?"transparent"===e[1]?[0,0,0,0]:l.call(a,e[1])?((s=a[e[1]])[3]=1,s):null:null;for(n=0;n<3;n++)s[n]=Math.round(2.55*parseFloat(e[n+1]));e[4]&&(s[3]=e[5]?.01*parseFloat(e[4]):parseFloat(e[4]))}for(n=0;n<3;n++)s[n]=f(s[n],0,255);return s[3]=f(s[3],0,1),s},h.get.hsl=function(t){if(!t)return null;var e=t.match(/^hsla?\(\s*([+-]?(?:\d{0,3}\.)?\d+)(?:deg)?\s*,?\s*([+-]?[\d\.]+)%\s*,?\s*([+-]?[\d\.]+)%\s*(?:[,|\/]\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:[eE][+-]?\d+)?)\s*)?\)$/);if(e){var n=parseFloat(e[4]);return[(parseFloat(e[1])%360+360)%360,f(parseFloat(e[2]),0,100),f(parseFloat(e[3]),0,100),f(isNaN(n)?1:n,0,1)]}return null},h.get.hwb=function(t){if(!t)return null;var e=t.match(/^hwb\(\s*([+-]?\d{0,3}(?:\.\d+)?)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:[eE][+-]?\d+)?)\s*)?\)$/);if(e){var n=parseFloat(e[4]);return[(parseFloat(e[1])%360+360)%360,f(parseFloat(e[2]),0,100),f(parseFloat(e[3]),0,100),f(isNaN(n)?1:n,0,1)]}return null},h.to.hex=function(){var t=i(arguments);return"#"+d(t[0])+d(t[1])+d(t[2])+(t[3]<1?d(Math.round(255*t[3])):"")},h.to.rgb=function(){var t=i(arguments);return t.length<4||1===t[3]?"rgb("+Math.round(t[0])+", "+Math.round(t[1])+", "+Math.round(t[2])+")":"rgba("+Math.round(t[0])+", "+Math.round(t[1])+", "+Math.round(t[2])+", "+t[3]+")"},h.to.rgb.percent=function(){var t=i(arguments),e=Math.round(t[0]/255*100),n=Math.round(t[1]/255*100),r=Math.round(t[2]/255*100);return t.length<4||1===t[3]?"rgb("+e+"%, "+n+"%, "+r+"%)":"rgba("+e+"%, "+n+"%, "+r+"%, "+t[3]+")"},h.to.hsl=function(){var t=i(arguments);return t.length<4||1===t[3]?"hsl("+t[0]+", "+t[1]+"%, "+t[2]+"%)":"hsla("+t[0]+", "+t[1]+"%, "+t[2]+"%, "+t[3]+")"},h.to.hwb=function(){var t=i(arguments),e="";return t.length>=4&&1!==t[3]&&(e=", "+t[3]),"hwb("+t[0]+", "+t[1]+"%, "+t[2]+"%"+e+")"},h.to.keyword=function(t){return c[t.slice(0,3)]};const b=e,g={};for(const t of Object.keys(b))g[b[t]]=t;const p={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};var y=p;for(const t of Object.keys(p)){if(!("channels"in p[t]))throw new Error("missing channels property: "+t);if(!("labels"in p[t]))throw new Error("missing channel labels property: "+t);if(p[t].labels.length!==p[t].channels)throw new Error("channel and label counts mismatch: "+t);const{channels:e,labels:n}=p[t];delete p[t].channels,delete p[t].labels,Object.defineProperty(p[t],"channels",{value:e}),Object.defineProperty(p[t],"labels",{value:n})}p.rgb.hsl=function(t){const e=t[0]/255,n=t[1]/255,r=t[2]/255,s=Math.min(e,n,r),o=Math.max(e,n,r),a=o-s;let i,l;o===s?i=0:e===o?i=(n-r)/a:n===o?i=2+(r-e)/a:r===o&&(i=4+(e-n)/a),i=Math.min(60*i,360),i<0&&(i+=360);const c=(s+o)/2;return l=o===s?0:c<=.5?a/(o+s):a/(2-o-s),[i,100*l,100*c]},p.rgb.hsv=function(t){let e,n,r,s,o;const a=t[0]/255,i=t[1]/255,l=t[2]/255,c=Math.max(a,i,l),u=c-Math.min(a,i,l),h=function(t){return(c-t)/6/u+.5};return 0===u?(s=0,o=0):(o=u/c,e=h(a),n=h(i),r=h(l),a===c?s=r-n:i===c?s=1/3+e-r:l===c&&(s=2/3+n-e),s<0?s+=1:s>1&&(s-=1)),[360*s,100*o,100*c]},p.rgb.hwb=function(t){const e=t[0],n=t[1];let r=t[2];const s=p.rgb.hsl(t)[0],o=1/255*Math.min(e,Math.min(n,r));return r=1-1/255*Math.max(e,Math.max(n,r)),[s,100*o,100*r]},p.rgb.cmyk=function(t){const e=t[0]/255,n=t[1]/255,r=t[2]/255,s=Math.min(1-e,1-n,1-r);return[100*((1-e-s)/(1-s)||0),100*((1-n-s)/(1-s)||0),100*((1-r-s)/(1-s)||0),100*s]},p.rgb.keyword=function(t){const e=g[t];if(e)return e;let n,r=1/0;for(const e of Object.keys(b)){const a=((s=t)[0]-(o=b[e])[0])**2+(s[1]-o[1])**2+(s[2]-o[2])**2;a<r&&(r=a,n=e)}var s,o;return n},p.keyword.rgb=function(t){return b[t]},p.rgb.xyz=function(t){let e=t[0]/255,n=t[1]/255,r=t[2]/255;return e=e>.04045?((e+.055)/1.055)**2.4:e/12.92,n=n>.04045?((n+.055)/1.055)**2.4:n/12.92,r=r>.04045?((r+.055)/1.055)**2.4:r/12.92,[100*(.4124*e+.3576*n+.1805*r),100*(.2126*e+.7152*n+.0722*r),100*(.0193*e+.1192*n+.9505*r)]},p.rgb.lab=function(t){const e=p.rgb.xyz(t);let n=e[0],r=e[1],s=e[2];return n/=95.047,r/=100,s/=108.883,n=n>.008856?n**(1/3):7.787*n+16/116,r=r>.008856?r**(1/3):7.787*r+16/116,s=s>.008856?s**(1/3):7.787*s+16/116,[116*r-16,500*(n-r),200*(r-s)]},p.hsl.rgb=function(t){const e=t[0]/360,n=t[1]/100,r=t[2]/100;let s,o,a;if(0===n)return a=255*r,[a,a,a];s=r<.5?r*(1+n):r+n-r*n;const i=2*r-s,l=[0,0,0];for(let t=0;t<3;t++)o=e+1/3*-(t-1),o<0&&o++,o>1&&o--,a=6*o<1?i+6*(s-i)*o:2*o<1?s:3*o<2?i+(s-i)*(2/3-o)*6:i,l[t]=255*a;return l},p.hsl.hsv=function(t){const e=t[0];let n=t[1]/100,r=t[2]/100,s=n;const o=Math.max(r,.01);return r*=2,n*=r<=1?r:2-r,s*=o<=1?o:2-o,[e,100*(0===r?2*s/(o+s):2*n/(r+n)),(r+n)/2*100]},p.hsv.rgb=function(t){const e=t[0]/60,n=t[1]/100;let r=t[2]/100;const s=Math.floor(e)%6,o=e-Math.floor(e),a=255*r*(1-n),i=255*r*(1-n*o),l=255*r*(1-n*(1-o));switch(r*=255,s){case 0:return[r,l,a];case 1:return[i,r,a];case 2:return[a,r,l];case 3:return[a,i,r];case 4:return[l,a,r];case 5:return[r,a,i]}},p.hsv.hsl=function(t){const e=t[0],n=t[1]/100,r=t[2]/100,s=Math.max(r,.01);let o,a;a=(2-n)*r;const i=(2-n)*s;return o=n*s,o/=i<=1?i:2-i,o=o||0,a/=2,[e,100*o,100*a]},p.hwb.rgb=function(t){const e=t[0]/360;let n=t[1]/100,r=t[2]/100;const s=n+r;let o;s>1&&(n/=s,r/=s);const a=Math.floor(6*e),i=1-r;o=6*e-a,1&a&&(o=1-o);const l=n+o*(i-n);let c,u,h;switch(a){default:case 6:case 0:c=i,u=l,h=n;break;case 1:c=l,u=i,h=n;break;case 2:c=n,u=i,h=l;break;case 3:c=n,u=l,h=i;break;case 4:c=l,u=n,h=i;break;case 5:c=i,u=n,h=l}return[255*c,255*u,255*h]},p.cmyk.rgb=function(t){const e=t[1]/100,n=t[2]/100,r=t[3]/100;return[255*(1-Math.min(1,t[0]/100*(1-r)+r)),255*(1-Math.min(1,e*(1-r)+r)),255*(1-Math.min(1,n*(1-r)+r))]},p.xyz.rgb=function(t){const e=t[0]/100,n=t[1]/100,r=t[2]/100;let s,o,a;return s=3.2406*e+-1.5372*n+-.4986*r,o=-.9689*e+1.8758*n+.0415*r,a=.0557*e+-.204*n+1.057*r,s=s>.0031308?1.055*s**(1/2.4)-.055:12.92*s,o=o>.0031308?1.055*o**(1/2.4)-.055:12.92*o,a=a>.0031308?1.055*a**(1/2.4)-.055:12.92*a,s=Math.min(Math.max(0,s),1),o=Math.min(Math.max(0,o),1),a=Math.min(Math.max(0,a),1),[255*s,255*o,255*a]},p.xyz.lab=function(t){let e=t[0],n=t[1],r=t[2];return e/=95.047,n/=100,r/=108.883,e=e>.008856?e**(1/3):7.787*e+16/116,n=n>.008856?n**(1/3):7.787*n+16/116,r=r>.008856?r**(1/3):7.787*r+16/116,[116*n-16,500*(e-n),200*(n-r)]},p.lab.xyz=function(t){let e,n,r;n=(t[0]+16)/116,e=t[1]/500+n,r=n-t[2]/200;const s=n**3,o=e**3,a=r**3;return n=s>.008856?s:(n-16/116)/7.787,e=o>.008856?o:(e-16/116)/7.787,r=a>.008856?a:(r-16/116)/7.787,e*=95.047,n*=100,r*=108.883,[e,n,r]},p.lab.lch=function(t){const e=t[0],n=t[1],r=t[2];let s;return s=360*Math.atan2(r,n)/2/Math.PI,s<0&&(s+=360),[e,Math.sqrt(n*n+r*r),s]},p.lch.lab=function(t){const e=t[1],n=t[2]/360*2*Math.PI;return[t[0],e*Math.cos(n),e*Math.sin(n)]},p.rgb.ansi16=function(t,e=null){const[n,r,s]=t;let o=null===e?p.rgb.hsv(t)[2]:e;if(o=Math.round(o/50),0===o)return 30;let a=30+(Math.round(s/255)<<2|Math.round(r/255)<<1|Math.round(n/255));return 2===o&&(a+=60),a},p.hsv.ansi16=function(t){return p.rgb.ansi16(p.hsv.rgb(t),t[2])},p.rgb.ansi256=function(t){const e=t[0],n=t[1],r=t[2];return e===n&&n===r?e<8?16:e>248?231:Math.round((e-8)/247*24)+232:16+36*Math.round(e/255*5)+6*Math.round(n/255*5)+Math.round(r/255*5)},p.ansi16.rgb=function(t){let e=t%10;if(0===e||7===e)return t>50&&(e+=3.5),e=e/10.5*255,[e,e,e];const n=.5*(1+~~(t>50));return[(1&e)*n*255,(e>>1&1)*n*255,(e>>2&1)*n*255]},p.ansi256.rgb=function(t){if(t>=232){const e=10*(t-232)+8;return[e,e,e]}let e;return t-=16,[Math.floor(t/36)/5*255,Math.floor((e=t%36)/6)/5*255,e%6/5*255]},p.rgb.hex=function(t){const e=(((255&Math.round(t[0]))<<16)+((255&Math.round(t[1]))<<8)+(255&Math.round(t[2]))).toString(16).toUpperCase();return"000000".substring(e.length)+e},p.hex.rgb=function(t){const e=t.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!e)return[0,0,0];let n=e[0];3===e[0].length&&(n=n.split("").map((t=>t+t)).join(""));const r=parseInt(n,16);return[r>>16&255,r>>8&255,255&r]},p.rgb.hcg=function(t){const e=t[0]/255,n=t[1]/255,r=t[2]/255,s=Math.max(Math.max(e,n),r),o=Math.min(Math.min(e,n),r),a=s-o;let i,l;return i=a<1?o/(1-a):0,l=a<=0?0:s===e?(n-r)/a%6:s===n?2+(r-e)/a:4+(e-n)/a,l/=6,l%=1,[360*l,100*a,100*i]},p.hsl.hcg=function(t){const e=t[1]/100,n=t[2]/100,r=n<.5?2*e*n:2*e*(1-n);let s=0;return r<1&&(s=(n-.5*r)/(1-r)),[t[0],100*r,100*s]},p.hsv.hcg=function(t){const e=t[2]/100,n=t[1]/100*e;let r=0;return n<1&&(r=(e-n)/(1-n)),[t[0],100*n,100*r]},p.hcg.rgb=function(t){const e=t[1]/100,n=t[2]/100;if(0===e)return[255*n,255*n,255*n];const r=[0,0,0],s=t[0]/360%1*6,o=s%1,a=1-o;let i=0;switch(Math.floor(s)){case 0:r[0]=1,r[1]=o,r[2]=0;break;case 1:r[0]=a,r[1]=1,r[2]=0;break;case 2:r[0]=0,r[1]=1,r[2]=o;break;case 3:r[0]=0,r[1]=a,r[2]=1;break;case 4:r[0]=o,r[1]=0,r[2]=1;break;default:r[0]=1,r[1]=0,r[2]=a}return i=(1-e)*n,[255*(e*r[0]+i),255*(e*r[1]+i),255*(e*r[2]+i)]},p.hcg.hsv=function(t){const e=t[1]/100,n=e+t[2]/100*(1-e);let r=0;return n>0&&(r=e/n),[t[0],100*r,100*n]},p.hcg.hsl=function(t){const e=t[1]/100,n=t[2]/100*(1-e)+.5*e;let r=0;return n>0&&n<.5?r=e/(2*n):n>=.5&&n<1&&(r=e/(2*(1-n))),[t[0],100*r,100*n]},p.hcg.hwb=function(t){const e=t[1]/100,n=e+t[2]/100*(1-e);return[t[0],100*(n-e),100*(1-n)]},p.hwb.hcg=function(t){const e=1-t[2]/100,n=e-t[1]/100;let r=0;return n<1&&(r=(e-n)/(1-n)),[t[0],100*n,100*r]},p.apple.rgb=function(t){return[t[0]/65535*255,t[1]/65535*255,t[2]/65535*255]},p.rgb.apple=function(t){return[t[0]/255*65535,t[1]/255*65535,t[2]/255*65535]},p.gray.rgb=function(t){return[t[0]/100*255,t[0]/100*255,t[0]/100*255]},p.gray.hsl=function(t){return[0,0,t[0]]},p.gray.hsv=p.gray.hsl,p.gray.hwb=function(t){return[0,100,t[0]]},p.gray.cmyk=function(t){return[0,0,0,t[0]]},p.gray.lab=function(t){return[t[0],0,0]},p.gray.hex=function(t){const e=255&Math.round(t[0]/100*255),n=((e<<16)+(e<<8)+e).toString(16).toUpperCase();return"000000".substring(n.length)+n},p.rgb.gray=function(t){return[(t[0]+t[1]+t[2])/3/255*100]};const w=y;function m(t,e){return function(n){return e(t(n))}}function v(t,e){const n=[e[t].parent,t];let r=w[e[t].parent][t],s=e[t].parent;for(;e[s].parent;)n.unshift(e[s].parent),r=m(w[e[s].parent][s],r),s=e[s].parent;return r.conversion=n,r}const M=y,k=function(t){const e=function(t){const e=function(){const t={},e=Object.keys(w);for(let n=e.length,r=0;r<n;r++)t[e[r]]={distance:-1,parent:null};return t}(),n=[t];for(e[t].distance=0;n.length;){const t=n.pop(),r=Object.keys(w[t]);for(let s=r.length,o=0;o<s;o++){const s=r[o],a=e[s];-1===a.distance&&(a.distance=e[t].distance+1,a.parent=t,n.unshift(s))}}return e}(t),n={},r=Object.keys(e);for(let t=r.length,s=0;s<t;s++){const t=r[s];null!==e[t].parent&&(n[t]=v(t,e))}return n},$={};Object.keys(M).forEach((t=>{$[t]={},Object.defineProperty($[t],"channels",{value:M[t].channels}),Object.defineProperty($[t],"labels",{value:M[t].labels});const e=k(t);Object.keys(e).forEach((n=>{const r=e[n];$[t][n]=function(t){const e=function(...e){const n=e[0];if(null==n)return n;n.length>1&&(e=n);const r=t(e);if("object"==typeof r)for(let t=r.length,e=0;e<t;e++)r[e]=Math.round(r[e]);return r};return"conversion"in t&&(e.conversion=t.conversion),e}(r),$[t][n].raw=function(t){const e=function(...e){const n=e[0];return null==n?n:(n.length>1&&(e=n),t(e))};return"conversion"in t&&(e.conversion=t.conversion),e}(r)}))}));const j=t.exports,A=$,S=["keyword","gray","hex"],O={};for(const t of Object.keys(A))O[[...A[t].labels].sort().join("")]=t;const F={};function x(t,e){if(!(this instanceof x))return new x(t,e);if(e&&e in S&&(e=null),e&&!(e in A))throw new Error("Unknown model: "+e);let n,r;if(null==t)this.model="rgb",this.color=[0,0,0],this.valpha=1;else if(t instanceof x)this.model=t.model,this.color=[...t.color],this.valpha=t.valpha;else if("string"==typeof t){const e=j.get(t);if(null===e)throw new Error("Unable to parse color from string: "+t);this.model=e.model,r=A[this.model].channels,this.color=e.value.slice(0,r),this.valpha="number"==typeof e.value[r]?e.value[r]:1}else if(t.length>0){this.model=e||"rgb",r=A[this.model].channels;const n=Array.prototype.slice.call(t,0,r);this.color=q(n,r),this.valpha="number"==typeof t[r]?t[r]:1}else if("number"==typeof t)this.model="rgb",this.color=[t>>16&255,t>>8&255,255&t],this.valpha=1;else{this.valpha=1;const e=Object.keys(t);"alpha"in t&&(e.splice(e.indexOf("alpha"),1),this.valpha="number"==typeof t.alpha?t.alpha:0);const r=e.sort().join("");if(!(r in O))throw new Error("Unable to parse color from object: "+JSON.stringify(t));this.model=O[r];const{labels:s}=A[this.model],o=[];for(n=0;n<s.length;n++)o.push(t[s[n]]);this.color=q(o)}if(F[this.model])for(r=A[this.model].channels,n=0;n<r;n++){const t=F[this.model][n];t&&(this.color[n]=t(this.color[n]))}this.valpha=Math.max(0,Math.min(1,this.valpha)),Object.freeze&&Object.freeze(this)}x.prototype={toString(){return this.string()},toJSON(){return this[this.model]()},string(t){let e=this.model in j.to?this:this.rgb();e=e.round("number"==typeof t?t:1);const n=1===e.valpha?e.color:[...e.color,this.valpha];return j.to[e.model](n)},percentString(t){const e=this.rgb().round("number"==typeof t?t:1),n=1===e.valpha?e.color:[...e.color,this.valpha];return j.to.rgb.percent(n)},array(){return 1===this.valpha?[...this.color]:[...this.color,this.valpha]},object(){const t={},{channels:e}=A[this.model],{labels:n}=A[this.model];for(let r=0;r<e;r++)t[n[r]]=this.color[r];return 1!==this.valpha&&(t.alpha=this.valpha),t},unitArray(){const t=this.rgb().color;return t[0]/=255,t[1]/=255,t[2]/=255,1!==this.valpha&&t.push(this.valpha),t},unitObject(){const t=this.rgb().object();return t.r/=255,t.g/=255,t.b/=255,1!==this.valpha&&(t.alpha=this.valpha),t},round(t){return t=Math.max(t||0,0),new x([...this.color.map(C(t)),this.valpha],this.model)},alpha(t){return void 0!==t?new x([...this.color,Math.max(0,Math.min(1,t))],this.model):this.valpha},red:I("rgb",0,N(255)),green:I("rgb",1,N(255)),blue:I("rgb",2,N(255)),hue:I(["hsl","hsv","hsl","hwb","hcg"],0,(t=>(t%360+360)%360)),saturationl:I("hsl",1,N(100)),lightness:I("hsl",2,N(100)),saturationv:I("hsv",1,N(100)),value:I("hsv",2,N(100)),chroma:I("hcg",1,N(100)),gray:I("hcg",2,N(100)),white:I("hwb",1,N(100)),wblack:I("hwb",2,N(100)),cyan:I("cmyk",0,N(100)),magenta:I("cmyk",1,N(100)),yellow:I("cmyk",2,N(100)),black:I("cmyk",3,N(100)),x:I("xyz",0,N(95.047)),y:I("xyz",1,N(100)),z:I("xyz",2,N(108.833)),l:I("lab",0,N(100)),a:I("lab",1),b:I("lab",2),keyword(t){return void 0!==t?new x(t):A[this.model].keyword(this.color)},hex(t){return void 0!==t?new x(t):j.to.hex(this.rgb().round().color)},hexa(t){if(void 0!==t)return new x(t);const e=this.rgb().round().color;let n=Math.round(255*this.valpha).toString(16).toUpperCase();return 1===n.length&&(n="0"+n),j.to.hex(e)+n},rgbNumber(){const t=this.rgb().color;return(255&t[0])<<16|(255&t[1])<<8|255&t[2]},luminosity(){const t=this.rgb().color,e=[];for(const[n,r]of t.entries()){const t=r/255;e[n]=t<=.04045?t/12.92:((t+.055)/1.055)**2.4}return.2126*e[0]+.7152*e[1]+.0722*e[2]},contrast(t){const e=this.luminosity(),n=t.luminosity();return e>n?(e+.05)/(n+.05):(n+.05)/(e+.05)},level(t){const e=this.contrast(t);return e>=7?"AAA":e>=4.5?"AA":""},isDark(){const t=this.rgb().color;return(2126*t[0]+7152*t[1]+722*t[2])/1e4<128},isLight(){return!this.isDark()},negate(){const t=this.rgb();for(let e=0;e<3;e++)t.color[e]=255-t.color[e];return t},lighten(t){const e=this.hsl();return e.color[2]+=e.color[2]*t,e},darken(t){const e=this.hsl();return e.color[2]-=e.color[2]*t,e},saturate(t){const e=this.hsl();return e.color[1]+=e.color[1]*t,e},desaturate(t){const e=this.hsl();return e.color[1]-=e.color[1]*t,e},whiten(t){const e=this.hwb();return e.color[1]+=e.color[1]*t,e},blacken(t){const e=this.hwb();return e.color[2]+=e.color[2]*t,e},grayscale(){const t=this.rgb().color,e=.3*t[0]+.59*t[1]+.11*t[2];return x.rgb(e,e,e)},fade(t){return this.alpha(this.valpha-this.valpha*t)},opaquer(t){return this.alpha(this.valpha+this.valpha*t)},rotate(t){const e=this.hsl();let n=e.color[0];return n=(n+t)%360,n=n<0?360+n:n,e.color[0]=n,e},mix(t,e){if(!t||!t.rgb)throw new Error('Argument to "mix" was not a Color instance, but rather an instance of '+typeof t);const n=t.rgb(),r=this.rgb(),s=void 0===e?.5:e,o=2*s-1,a=n.alpha()-r.alpha(),i=((o*a==-1?o:(o+a)/(1+o*a))+1)/2,l=1-i;return x.rgb(i*n.red()+l*r.red(),i*n.green()+l*r.green(),i*n.blue()+l*r.blue(),n.alpha()*s+r.alpha()*(1-s))}};for(const t of Object.keys(A)){if(S.includes(t))continue;const{channels:e}=A[t];x.prototype[t]=function(...e){return this.model===t?new x(this):new x(e.length>0?e:[...(n=A[this.model][t].raw(this.color),Array.isArray(n)?n:[n]),this.valpha],t);var n},x[t]=function(...n){let r=n[0];return"number"==typeof r&&(r=q(n,e)),new x(r,t)}}function C(t){return function(e){return function(t,e){return Number(t.toFixed(e))}(e,t)}}function I(t,e,n){t=Array.isArray(t)?t:[t];for(const r of t)(F[r]||(F[r]=[]))[e]=n;return t=t[0],function(r){let s;return void 0!==r?(n&&(r=n(r)),s=this[t](),s.color[e]=r,s):(s=this[t]().color[e],n&&(s=n(s)),s)}}function N(t){return function(e){return Math.max(0,Math.min(t,e))}}function q(t,e){for(let n=0;n<e;n++)"number"!=typeof t[n]&&(t[n]=0);return t}const E=x,z={channel:"channel",channels:"channels",colorField:"color-field",colorFieldScope:"scope--color-field",colorMode:"color-mode",colorModeContainer:"color-mode-container",container:"container",control:"control",controlAndScope:"control-and-scope",controlSection:"control-section",deleteColor:"delete-color",header:"header",hexAndChannelsGroup:"hex-and-channels-group",hexOptions:"color-hex-options",hueScope:"scope--hue",hueSlider:"hue-slider",opacityScope:"scope--opacity",opacitySlider:"opacity-slider",preview:"preview",previewAndSliders:"preview-and-sliders",saveColor:"save-color",savedColor:"saved-color",savedColors:"saved-colors",savedColorsButtons:"saved-colors-buttons",savedColorsSection:"saved-colors-section",scope:"scope",section:"section",slider:"slider",sliders:"sliders",splitSection:"section--split"},H=E("#007AC2"),_="calcite-color-",B={r:255,g:255,b:255},G={h:360,s:100,v:100},L=G.h-1,R={min:0,max:100},U={s:{slider:{height:12,width:104},colorField:{height:80,width:160},thumb:{radius:7},preview:{size:20}},m:{slider:{height:12,width:204},colorField:{height:150,width:272},thumb:{radius:7},preview:{size:24}},l:{slider:{height:12,width:384},colorField:{height:200,width:464},thumb:{radius:7},preview:{size:32}}},D=1,J=/^[0-9A-F]$/i,X=/^#[0-9A-F]{3}$/i,K=/^#[0-9A-F]{6}$/i,P=/^#[0-9A-F]{4}$/i,Q=/^#[0-9A-F]{8}$/i,T=t=>Number((100*t).toFixed()),V=t=>Number((t/100).toFixed(2));
7
- /*!
8
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
9
- * See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
10
- * v2.12.1
11
- */function W(t,e=!1){return Z(t,e)||tt(t,e)}function Y(t,e,n){return!!t&&t.length===e&&n.test(t)}function Z(t,e=!1){return Y(t,e?5:4,e?P:X)}function tt(t,e=!1){return Y(t,e?9:7,e?Q:K)}function et(t,e=!1,n=!1){return(t=t.toLowerCase()).startsWith("#")||(t=`#${t}`),Z(t,e)?rt(it(t,e)):e&&n&&W(t,!1)?rt(it(`${t}${Z(t,!1)?"f":"ff"}`,!0)):t}function nt(t,e=!1){return e?t.hexa():t.hex()}function rt(t){const{r:e,g:n,b:r}=t;return`#${st(e)}${st(n)}${st(r)}${"a"in t?st(255*t.a):""}`.toLowerCase()}function st(t){return t.toString(16).padStart(2,"0")}function ot(t){const e={...t,a:t.alpha??1};return delete e.alpha,e}function at(t){const e={...t,alpha:t.a??1};return delete e.a,e}function it(t,e=!1){if(!W(t,e))return null;let n,r,s,o;if(3===(t=t.replace("#","")).length||4===t.length){const[e,a,i,l]=t.split("");n=parseInt(`${e}${e}`,16),r=parseInt(`${a}${a}`,16),s=parseInt(`${i}${i}`,16),o=parseInt(`${l}${l}`,16)/255}else n=parseInt(t.slice(0,2),16),r=parseInt(t.slice(2,4),16),s=parseInt(t.slice(4,6),16),o=parseInt(t.slice(6,8),16)/255;return isNaN(o)?{r:n,g:r,b:s}:{r:n,g:r,b:s,a:o}}const lt={HEX:"hex",HEXA:"hexa",RGB_CSS:"rgb-css",RGBA_CSS:"rgba-css",HSL_CSS:"hsl-css",HSLA_CSS:"hsla-css"},ct="rgb",ut="rgba",ht="hsl",ft="hsla",dt="hsv",bt="hsva";function gt(t){if("string"==typeof t){if(t.startsWith("#")){const{length:e}=t;if(4===e||7===e)return lt.HEX;if(5===e||9===e)return lt.HEXA}if(t.startsWith("rgba("))return lt.RGBA_CSS;if(t.startsWith("rgb("))return lt.RGB_CSS;if(t.startsWith("hsl("))return lt.HSL_CSS;if(t.startsWith("hsla("))return lt.HSLA_CSS}if("object"==typeof t){if(pt(t,"r","g","b"))return pt(t,"a")?ut:ct;if(pt(t,"h","s","l"))return pt(t,"a")?ft:ht;if(pt(t,"h","s","v"))return pt(t,"a")?bt:dt}return null}function pt(t,...e){return e.every((e=>e&&t&&`${e}`in t))}function yt(t,e){return t?.rgb().array().toString()===e?.rgb().array().toString()}function wt(t){return t===lt.HEXA||t===lt.RGBA_CSS||t===lt.HSLA_CSS||t===ut||t===ft||t===bt}function mt(t){return t===lt.HEX?lt.HEXA:t===lt.RGB_CSS?lt.RGBA_CSS:t===lt.HSL_CSS?lt.HSLA_CSS:t===ct?ut:t===ht?ft:t===dt?bt:t}function vt(t){return t===lt.HEXA?lt.HEX:t===lt.RGBA_CSS?lt.RGB_CSS:t===lt.HSLA_CSS?lt.HSL_CSS:t===ut?ct:t===ft?ht:t===bt?dt:t}function Mt(t,e){const{slider:{width:n},preview:r}=t;return e?n:n+(U.l.preview.size-r.size)}export{lt as C,H as D,G as H,R as O,B as R,D as S,E as a,z as b,T as c,U as d,wt as e,at as f,Mt as g,nt as h,yt as i,ot as j,L as k,_ as l,mt as m,et as n,V as o,gt as p,tt as q,Z as r,W as s,vt as t,rt as u,J as v,it as w}
@@ -1,6 +0,0 @@
1
- /*!
2
- * Copyright 2022 Esri
3
- * Licensed under the Apache License, Version 2.0
4
- * http://www.apache.org/licenses/LICENSE-2.0
5
- */
6
- import{r as i,h as e,H as t,g as n}from"./p-6eb37ed2.js";import{a as o,e as s}from"./p-8817162f.js";import{c as a,u as c,d as l,I as r}from"./p-53e0faf4.js";import{s as d,a as h,c as p}from"./p-1b147794.js";import{C as b}from"./p-3edf491f.js";import"./p-c6296ee6.js";import"./p-416c0818.js";const u=class{constructor(e){i(this,e),this.childElClickHandler=i=>{i.isTrusted||i.stopPropagation()},this.storeTagRef=i=>{this.childEl=i},this.disabled=!1,this.download=!1,this.href=void 0,this.iconEnd=void 0,this.iconFlipRtl=void 0,this.iconStart=void 0,this.rel=void 0,this.target=void 0}connectedCallback(){a(this)}componentWillLoad(){d(this)}componentDidLoad(){h(this)}componentDidRender(){c(this)}disconnectedCallback(){l(this)}render(){const{download:i,el:n}=this,s=o(n),a=this.href?"a":"span",c=e("calcite-icon",{key:"98cdfc979033eb5e339557d4d1a2143c9db9481d",class:"calcite-link--icon icon-start",flipRtl:"start"===this.iconFlipRtl||"both"===this.iconFlipRtl,icon:this.iconStart,scale:"s"}),l=e("calcite-icon",{key:"df0cfff6b187899330ec32a74132ca9d6ccb71f6",class:"calcite-link--icon icon-end",flipRtl:"end"===this.iconFlipRtl||"both"===this.iconFlipRtl,icon:this.iconEnd,scale:"s"}),d=a,h="span"===a?"link":null,p="span"===a?0:null;return e(t,{key:"e0db07bcdf54a1558d2ee5f7d72dc6b3c9b7b4fc",role:"presentation"},e(r,{key:"84e1d20ffe03e7776560fa3f3bcc51a0e17c39ca",disabled:this.disabled},e(d,{key:"3d37687afd90675d8aab80bce396e765d81b580e",class:{[b.rtl]:"rtl"===s},download:"a"!==d||""!==i&&!i?null:i,href:"a"===d&&this.href,onClick:this.childElClickHandler,ref:this.storeTagRef,rel:"a"===d&&this.rel,role:h,tabIndex:p,target:"a"===d&&this.target},this.iconStart?c:null,e("slot",{key:"14a04fe0a03318cfa130744530bff8d68450c317"}),this.iconEnd?l:null)))}clickHandler(i){this.disabled||i.isTrusted||this.childEl.click()}async setFocus(){await p(this),s(this.childEl)}get el(){return n(this)}};u.style=":host([disabled]){cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:inline}:host a,:host span{position:relative;display:flex;cursor:pointer;align-items:center;justify-content:center;border-radius:0px;border-style:none;font-family:inherit;transition:background-color, block-size, border-color, box-shadow, color, inset-block-end, inset-block-start, inset-inline-end, inset-inline-start inset-size, opacity, outline-color, transform var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;text-decoration:none;line-height:inherit;font-size:inherit;-webkit-appearance:none}:host a:hover,:host span:hover{text-decoration:none}:host a,:host span{outline-color:transparent}:host a:focus,:host span:focus{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-color-brand));outline-offset:calc(\n 2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-offset-invert-focus),\n 1\n )\n )\n )}calcite-icon{inline-size:1em;block-size:1em;min-inline-size:unset;min-block-size:unset}.calcite-link--icon{vertical-align:middle;transition:background-color, block-size, border-color, box-shadow, color, inset-block-end, inset-block-start, inset-inline-end, inset-inline-start inset-size, opacity, outline-color, transform var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;margin-block-start:-0.25em}:host .calcite-link--icon.icon-start{margin-inline-end:0.5rem}:host .calcite-link--icon.icon-end{margin-inline-start:0.5rem}:host span,:host a{position:relative;display:inline;border-style:none;background-color:transparent;padding:0px;color:var(--calcite-color-text-link);transition:background-color, block-size, border-color, box-shadow, color, inset-block-end, inset-block-start, inset-inline-end, inset-inline-start inset-size, opacity, outline-color, transform var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;line-height:inherit;white-space:initial;background-image:linear-gradient(currentColor, currentColor), linear-gradient(var(--calcite-color-brand-underline), var(--calcite-color-brand-underline));background-position-x:0%, 100%;background-position-y:min(1.5em, 100%);background-repeat:no-repeat, no-repeat;background-size:0% 1px, 100% 1px}:host span:hover,:host span:focus,:host a:hover,:host a:focus{background-size:100% 1px, 100% 1px}:host span:active,:host a:active{background-size:100% 2px, 100% 2px}:host span.calcite--rtl,:host a.calcite--rtl{background-position:100% 100%, 100% 100%}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([hidden]){display:none}[hidden]{display:none}";export{u as calcite_link}
@@ -1,22 +0,0 @@
1
- /*!
2
- * Copyright 2022 Esri
3
- * Licensed under the Apache License, Version 2.0
4
- * http://www.apache.org/licenses/LICENSE-2.0
5
- */
6
- import{a as e,r as a,h as i,H as t,g as r}from"./p-6eb37ed2.js";import{a as n,t as o}from"./p-8817162f.js";import{c as l}from"./p-3832f6b0.js";import{i as s}from"./p-416c0818.js";import{g as c}from"./p-c6296ee6.js";import{c as d,d as m}from"./p-32539121.js";import"./p-3edf491f.js";import"./p-b51111e1.js";
7
- /*!
8
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
9
- * See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
10
- * v2.12.1
11
- */const h="flip-rtl",f={},v={},p={s:16,m:24,l:32};
12
- /*!
13
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
14
- * See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
15
- * v2.12.1
16
- */function g({icon:e,scale:a}){const i=p[a],t=function(e){const a=!isNaN(Number(e.charAt(0))),i=e.split("-");if(i.length>0){const a=/[a-z]/i;e=i.map(((e,i)=>e.replace(a,(function(e,a){return 0===i&&0===a?e:e.toUpperCase()})))).join("")}return a?`i${e}`:e}(e),r="F"===t.charAt(t.length-1);return`${r?t.substring(0,t.length-1):t}${i}${r?"F":""}`}function u(e){return f[e]}const k=class{constructor(e){a(this,e),this.icon=null,this.flipRtl=!1,this.scale="m",this.textLabel=void 0,this.pathData=void 0,this.visible=!1}connectedCallback(){this.visible||this.waitUntilVisible((()=>{this.visible=!0,this.loadIconPathData()}))}disconnectedCallback(){this.intersectionObserver?.disconnect(),this.intersectionObserver=null}render(){const{el:e,flipRtl:a,pathData:r,scale:l,textLabel:s}=this,c=n(e),d=p[l],m=!!s,f=[].concat(r||"");return i(t,{key:"41c9d3006a5887061fdb2144102447b2f490eb72","aria-hidden":o(!m),"aria-label":m?s:null,role:m?"img":null},i("svg",{key:"9fc84ba4eac40fc822babbfe276b2add5ee1c952","aria-hidden":"true",class:{[h]:"rtl"===c&&a,svg:!0},fill:"currentColor",height:"100%",viewBox:`0 0 ${d} ${d}`,width:"100%",xmlns:"http://www.w3.org/2000/svg"},f.map((e=>i("path","string"==typeof e?{d:e}:{d:e.d,opacity:"opacity"in e?e.opacity:1})))))}async loadIconPathData(){const{icon:a,scale:i,visible:t}=this;if(!s()||!a||!t)return;const r={icon:a,scale:i},n=u(g(r))||await async function(a){const i=g(a),t=u(i);if(t)return t;v[i]||(v[i]=fetch(e(`./assets/icon/${i}.json`)).then((e=>e.json())).catch((()=>(console.error(`"${i}" is not a valid calcite-ui-icon name`),""))));const r=await v[i];return f[i]=r,r}(r);a===this.icon&&(this.pathData=n)}waitUntilVisible(e){this.intersectionObserver=l("intersection",(a=>{a.forEach((a=>{a.isIntersecting&&(this.intersectionObserver.disconnect(),this.intersectionObserver=null,e())}))}),{rootMargin:"50px"}),this.intersectionObserver?this.intersectionObserver.observe(this.el):e()}static get assetsDirs(){return["assets"]}get el(){return r(this)}static get watchers(){return{icon:["loadIconPathData"],scale:["loadIconPathData"]}}};k.style=":host{display:inline-flex;color:var(--calcite-icon-color, var(--calcite-ui-icon-color, currentColor))}:host([scale=s]){inline-size:16px;block-size:16px;min-inline-size:16px;min-block-size:16px}:host([scale=m]){inline-size:24px;block-size:24px;min-inline-size:24px;min-block-size:24px}:host([scale=l]){inline-size:32px;block-size:32px;min-inline-size:32px;min-block-size:32px}.flip-rtl{transform:scaleX(-1)}.svg{display:block}:host([hidden]){display:none}[hidden]{display:none}";
17
- /*!
18
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
19
- * See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
20
- * v2.12.1
21
- */
22
- const b={loader:"loader",loaderParts:"loader__svgs",loaderPart:"loader__svg",loaderPartId:e=>`${b.loaderPart}--${e}`,loaderText:"loader__text",loaderPercentage:"loader__percentage"},z=class{constructor(e){a(this,e),this.formatValue=()=>"determinate-value"!==this.type?`${this.value}`:this.formatter.format(this.value/100),this.inline=!1,this.label=void 0,this.scale="m",this.type=void 0,this.value=0,this.text="",this.effectiveLocale=""}connectedCallback(){d(this),this.updateFormatter()}disconnectedCallback(){m(this)}render(){const{el:e,inline:a,label:r,scale:n,text:o,type:l,value:s}=this,d=e.id||c(),m=a?this.getInlineSize(n):this.getSize(n),h=.45*m,f=`0 0 ${m} ${m}`,v=l?.startsWith("determinate"),p=2*h*Math.PI,g=s/100*p,u=p-g,k=Math.floor(s),z={r:h,cx:m/2,cy:m/2},y={"stroke-dasharray":`${g} ${u}`};return i(t,{key:"b84a28c551e2484735b2cb7bad89a7a1d608fe13","aria-label":r,id:d,role:"progressbar",...v?{"aria-valuenow":k,"aria-valuemin":0,"aria-valuemax":100,complete:100===k}:{}},i("div",{key:"7ea0d6f2a742c8950cff2196bc454cc8ec3be037",class:b.loaderParts},[1,2,3].map((e=>i("svg",{"aria-hidden":"true",class:{[b.loaderPart]:!0,[b.loaderPartId(e)]:!0},key:e,viewBox:f,...3===e&&v?{style:y}:{}},i("circle",{...z})))),v&&i("div",{key:"2732fc9cbbaade638eb6241776b2aecea6177ed5",class:b.loaderPercentage},this.formatValue())),o&&i("div",{key:"5050af5bb4d979e4f83ac997f0f98aa69be86f52",class:b.loaderText},o))}formatterPropsChange(){this.updateFormatter()}getSize(e){return{s:32,m:56,l:80}[e]}getInlineSize(e){return{s:12,m:16,l:20}[e]}updateFormatter(){"determinate-value"===this.type&&this.formatter?.resolvedOptions().locale!==this.effectiveLocale&&(this.formatter=new Intl.NumberFormat(this.effectiveLocale,{style:"percent"}))}get el(){return r(this)}static get watchers(){return{effectiveLocale:["formatterPropsChange"],type:["formatterPropsChange"]}}};z.style='@charset "UTF-8";@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0}}:host{position:relative;margin-inline:auto;display:none;align-items:center;justify-content:center;opacity:1;min-block-size:var(--calcite-loader-size);font-size:var(--calcite-loader-font-size);stroke:var(--calcite-color-brand);stroke-width:3;fill:none;transform:scale(1, 1);animation:loader-color-shift calc(var(--calcite-internal-animation-timing-slow) / var(--calcite-internal-duration-factor) * 2 / var(--calcite-internal-duration-factor)) alternate-reverse infinite linear;padding-block:var(--calcite-loader-padding, 4rem);will-change:contents}:host([scale=s]){--calcite-loader-font-size:var(--calcite-font-size--3);--calcite-loader-size:2rem;--calcite-loader-size-inline:0.75rem;--calcite-internal-loader-value-line-height:0.625rem}:host([scale=m]){--calcite-loader-font-size:var(--calcite-font-size-0);--calcite-loader-size:4rem;--calcite-loader-size-inline:1rem;--calcite-internal-loader-value-line-height:1.375rem}:host([scale=l]){--calcite-loader-font-size:var(--calcite-font-size-2);--calcite-loader-size:6rem;--calcite-loader-size-inline:1.5rem;--calcite-internal-loader-value-line-height:1.71875rem}:host([no-padding]){padding-block:0px}:host{display:flex}.loader__text{display:block;text-align:center;font-size:var(--calcite-font-size--2);line-height:1rem;color:var(--calcite-color-text-1);margin-block-start:calc(var(--calcite-loader-size) + 1.5rem)}.loader__percentage{display:block;text-align:center;color:var(--calcite-color-text-1);font-size:var(--calcite-loader-font-size);inline-size:var(--calcite-loader-size);line-height:var(--calcite-internal-loader-value-line-height);align-self:center}.loader__svgs{position:absolute;overflow:visible;opacity:1;inline-size:var(--calcite-loader-size);block-size:var(--calcite-loader-size);inset-inline-start:50%;margin-inline-start:calc(var(--calcite-loader-size) / 2 * -1);animation-iteration-count:infinite;animation-timing-function:linear;animation-duration:calc(var(--calcite-internal-animation-timing-slow) / var(--calcite-internal-duration-factor) * 6.66 / var(--calcite-internal-duration-factor));animation-name:loader-clockwise;display:flex}.loader__svg{position:absolute;inset-block-start:0px;transform-origin:center;overflow:visible;inset-inline-start:0;inline-size:var(--calcite-loader-size);block-size:var(--calcite-loader-size);animation-iteration-count:infinite;animation-timing-function:linear}.loader__svg--1{animation-name:loader-offset-1}.loader__svg--2{animation-name:loader-offset-2}.loader__svg--3{animation-name:loader-offset-3}:host([type=determinate]),:host([type=determinate-value]){animation:none;stroke:var(--calcite-color-border-3)}:host([type=determinate]) .loader__svgs,:host([type=determinate-value]) .loader__svgs{animation:none}:host([type=determinate]) .loader__svg--3,:host([type=determinate-value]) .loader__svg--3{animation:none;stroke:var(--calcite-color-brand);stroke-dasharray:150.79632;transform:rotate(-90deg);transition:all var(--calcite-internal-animation-timing-fast) linear}:host([inline]){position:relative;margin:0px;animation:none;stroke:currentColor;stroke-width:2;padding-block:0px;block-size:var(--calcite-loader-size-inline);min-block-size:var(--calcite-loader-size-inline);inline-size:var(--calcite-loader-size-inline);margin-inline-end:calc(var(--calcite-loader-size-inline) * 0.5);vertical-align:calc(var(--calcite-loader-size-inline) * -1 * 0.2)}:host([inline]) .loader__svgs{inset-block-start:0px;margin:0px;inset-inline-start:0;inline-size:var(--calcite-loader-size-inline);block-size:var(--calcite-loader-size-inline)}:host([inline]) .loader__svg{inline-size:var(--calcite-loader-size-inline);block-size:var(--calcite-loader-size-inline)}:host([complete]){opacity:0;transform:scale(0.75, 0.75);transform-origin:center;transition:opacity var(--calcite-internal-animation-timing-medium) linear 1000ms, transform var(--calcite-internal-animation-timing-medium) linear 1000ms}:host([complete]) .loader__svgs{opacity:0;transform:scale(0.75, 0.75);transform-origin:center;transition:opacity calc(180ms * var(--calcite-internal-duration-factor)) linear 800ms, transform calc(180ms * var(--calcite-internal-duration-factor)) linear 800ms}:host([complete]) .loader__percentage{color:var(--calcite-color-brand);transform:scale(1.05, 1.05);transform-origin:center;transition:color var(--calcite-internal-animation-timing-medium) linear, transform var(--calcite-internal-animation-timing-medium) linear}.loader__svg--1{stroke-dasharray:27.9252444444 139.6262222222;animation-duration:calc(var(--calcite-internal-animation-timing-slow) / var(--calcite-internal-duration-factor) * 4.8 / var(--calcite-internal-duration-factor))}@keyframes loader-offset-1{0%{stroke-dasharray:27.9252444444 251.3272;stroke-dashoffset:0}50%{stroke-dasharray:139.6262222222 139.6262222222;stroke-dashoffset:-83.7757333333}100%{stroke-dasharray:27.9252444444 251.3272;stroke-dashoffset:-279.2524444444}}.loader__svg--2{stroke-dasharray:55.8504888889 139.6262222222;animation-duration:calc(var(--calcite-internal-animation-timing-slow) / var(--calcite-internal-duration-factor) * 6.4 / var(--calcite-internal-duration-factor))}@keyframes loader-offset-2{0%{stroke-dasharray:55.8504888889 223.4019555556;stroke-dashoffset:0}50%{stroke-dasharray:139.6262222222 139.6262222222;stroke-dashoffset:-97.7383555556}100%{stroke-dasharray:55.8504888889 223.4019555556;stroke-dashoffset:-279.2524444444}}.loader__svg--3{stroke-dasharray:13.9626222222 139.6262222222;animation-duration:calc(var(--calcite-internal-animation-timing-slow) / var(--calcite-internal-duration-factor) * 7.734 / var(--calcite-internal-duration-factor))}@keyframes loader-offset-3{0%{stroke-dasharray:13.9626222222 265.2898222222;stroke-dashoffset:0}50%{stroke-dasharray:139.6262222222 139.6262222222;stroke-dashoffset:-76.7944222222}100%{stroke-dasharray:13.9626222222 265.2898222222;stroke-dashoffset:-279.2524444444}}@keyframes loader-color-shift{0%{stroke:var(--calcite-color-brand)}33%{stroke:var(--calcite-color-brand-press)}66%{stroke:var(--calcite-color-brand-hover)}100%{stroke:var(--calcite-color-brand)}}@keyframes loader-clockwise{100%{transform:rotate(360deg)}}:host([hidden]){display:none}[hidden]{display:none}';export{k as calcite_icon,z as calcite_loader}
@@ -1,16 +0,0 @@
1
- /*!
2
- * Copyright 2022 Esri
3
- * Licensed under the Apache License, Version 2.0
4
- * http://www.apache.org/licenses/LICENSE-2.0
5
- */
6
- import{g as t}from"./p-f6a94b55.js";import{e as s,g as i,t as e}from"./p-8817162f.js";import{S as n}from"./p-58d0a9e8.js";import{d as o}from"./p-c8d3207e.js";import{h as a,H as r}from"./p-6eb37ed2.js";import{I as l}from"./p-53e0faf4.js";import{C as c,S as h}from"./p-caa665a4.js";
7
- /*!
8
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
9
- * See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
10
- * v2.12.1
11
- */function u(){this.setUpItems(),this.setUpFilter(),this.deselectRemovedItems()}const f=["ArrowUp","ArrowDown"];function d(){this.setUpItems(),this.setUpFilter(),this.emitCalciteListChange=o(y.bind(this),0),this.emitCalciteListFilter=o(x.bind(this),0)}function m(){this.mutationObserver?.observe(this.el,{childList:!0,subtree:!0})}function p(){this.mutationObserver?.disconnect()}function b(t){const{selectedValues:i}=this,{item:e,value:n,selected:o,shiftPressed:a}=t.detail;o?(this.multiple&&a&&this.selectSiblings(e),this.multiple||this.deselectSiblingItems(e),i.set(n,e)):(i.delete(n),this.multiple&&a&&this.selectSiblings(e,!0)),this.multiple||(E(e,o),o&&s(e)),this.lastSelectedItem=e,this.emitCalciteListChange()}function g(t){const s=t.detail.oldValue,i=this.selectedValues;if(i.has(s)){const e=i.get(s);i.delete(s),i.set(t.detail.newValue,e)}t.stopPropagation()}function v(t){const{el:s,items:i,multiple:e,selectedValues:n}=this;e||s.contains(t.relatedTarget)||A(i).forEach((s=>{E(s,0===n.size?s.contains(t.target)||t.target===s:s.selected)}))}function w(t){const{key:i,target:e}=t;if(!function(t){return!!f.find((s=>s===t))}(i))return;const{items:n,multiple:o,selectionFollowsFocus:a}=this,{length:r}=n,l=n.indexOf(e);if(!r||-1===l)return;t.preventDefault();const c=n[F(this,e,"ArrowUp"===i?"up":"down")];n.forEach((t=>E(t,t===c))),!o&&a&&(c.selected=!0),s(c)}function F(s,i,e){const{items:n}=s,{length:o}=n,a=n.indexOf(i),r="up"===e?-1:1;let l=1,c=t(a+r*l++,o);const h=c;for(;n[c].disabled&&(c=t(a+r*l++,o),c!==h););return c}function j(t,s){const{items:i}=t;return i.indexOf(s)}function A(t){return t.filter((t=>!t.disabled))}function x(){this.calciteListFilter.emit()}function y(){this.calciteListChange.emit(this.selectedValues)}function C(t){if(t.defaultPrevented)return;const s=t.target,i=this.selectedValues;"CALCITE-PICK-LIST-GROUP"===s.parentElement.tagName&&s.slot===n.parentItem?(s.parentElement.remove(),Array.from(s.parentElement.children).forEach((t=>i.delete(t.value)))):(s.remove(),i.delete(s.value)),this.emitCalciteListChange()}function E(t,s){t.disabled||(s?t.removeAttribute("tabindex"):t.setAttribute("tabindex","-1"))}async function I(t){if(this.filterEnabled&&"filter"===t)return void await s(this.filterEl);const{items:i,multiple:e,selectionFollowsFocus:n}=this;if(0===i.length)return;if(e)return A(i)[0]?.setFocus();const o=A(i),a=o.find((t=>t.selected))||o[0];return n&&a&&(a.selected=!0),a.setFocus()}function L(t){this.items=Array.from(this.el.querySelectorAll(t));let s=!1;const{items:i}=this;i.forEach((t=>{t.icon=this.getIconType(),this.multiple||(t.deselectDisabled=!0,E(t,!1)),t.selected&&(s=!0,E(t,!0),this.selectedValues.set(t.value,t))}));const[e]=i;s||!e||e.disabled||E(e,!0)}function P(){const t=this.selectedValues,s=this.items.map((({value:t})=>t));t.forEach((t=>{s.includes(t.value)||this.selectedValues.delete(t.value)}))}function S(t){this.items.forEach((s=>{s.value!==t.value&&(s.toggleSelected(!1),this.selectedValues.has(s.value)&&this.selectedValues.delete(s.value))}))}function T(t,s=!1){if(!this.lastSelectedItem)return;const{items:i}=this,e=i.findIndex((t=>t.value===this.lastSelectedItem.value)),n=i.findIndex((s=>s.value===t.value));i.slice(Math.min(e,n),Math.max(e,n)).forEach((t=>{t.toggleSelected(!s),s?this.selectedValues.delete(t.value):this.selectedValues.set(t.value,t)}))}let k;function U(t=!1){const{filteredData:s,filterText:e}=this,n=s.map((t=>t.value));let o=!1;k||(k=new Set);const a=this.items?.filter((t=>{const s=t.parentElement;s.matches("calcite-pick-list-group")&&k.add(s);const i=!e||n.includes(t.value);return t.hidden=!i,o||(o=i&&t.selected),i}))||[];k.forEach((t=>{const s=a.some((s=>t.contains(s)));if(t.hidden=!s,!s)return;const e=i(t,"parent-item");e&&(e.hidden=!1,a.includes(e)&&Array.from(t.children).forEach((t=>t.hidden=!1)))})),k.clear(),a.length>0&&!o&&!this.multiple&&E(a[0],!0),this.setFilteredItems(a),t&&this.emitCalciteListFilter()}function D(){const t=this.filterEl?.filteredItems;t&&(this.filteredData=t),this.handleFilter()}function M(t){t.stopPropagation();const{filteredItems:s,value:i}=t.currentTarget;this.filterText=i,this.filteredData=s,this.handleFilter(!0)}function V(){return this.items.map((t=>({label:t.label,description:t.description,metadata:t.metadata,value:t.value})))}
12
- /*!
13
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
14
- * See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
15
- * v2.12.1
16
- */const q=({props:{disabled:t,loading:s,filterEnabled:i,dataForFilter:n,handleFilterEvent:o,filterPlaceholder:u,filterText:f,setFilterEl:d,dragEnabled:m,storeAssistiveEl:p},...b})=>{const g=a("slot",null);return a(r,{"aria-busy":e(s),role:"menu",...b},a(l,{disabled:t},a("section",null,m?a("span",{"aria-live":"assertive",class:"assistive-text",ref:p}):null,a("header",{class:{[c.sticky]:!0}},i?a("calcite-filter",{"aria-label":u,disabled:t,items:n,onCalciteFilterChange:o,placeholder:u,ref:d,value:f}):null,a("slot",{name:h.menuActions})),s?a("calcite-scrim",{loading:s}):null,g)))};export{q as L,S as a,M as b,m as c,P as d,p as e,D as f,V as g,U as h,d as i,b as j,w as k,g as l,u as m,v as n,L as o,I as p,j as q,C as r,T as s,F as t}
@@ -1,11 +0,0 @@
1
- /*!
2
- * Copyright 2022 Esri
3
- * Licensed under the Apache License, Version 2.0
4
- * http://www.apache.org/licenses/LICENSE-2.0
5
- */
6
- /*!
7
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
8
- * See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
9
- * v2.12.1
10
- */
11
- const n={menuActions:"menu-actions",menuTooltip:"menu-tooltip"},o={menu:"ellipsis"},e={container:"container"};export{e as C,o as I,n as S}