@esri/solutions-components 0.11.19 → 0.11.21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1534) hide show
  1. package/dist/cjs/asyncToGenerator-c7fc3ee4.js +92 -0
  2. package/dist/cjs/basemap-gallery_7.cjs.entry.js +2 -2
  3. package/dist/cjs/buffer-tools_2.cjs.entry.js +4 -3
  4. package/dist/cjs/card-manager_3.cjs.entry.js +4 -4
  5. package/dist/cjs/consent-manager.cjs.entry.js +4 -4
  6. package/dist/cjs/create-feature_4.cjs.entry.js +51 -47
  7. package/dist/cjs/create-related-feature_3.cjs.entry.js +3 -2
  8. package/dist/cjs/crowdsource-manager.cjs.entry.js +4 -5
  9. package/dist/cjs/crowdsource-reporter.cjs.entry.js +5 -4
  10. package/dist/cjs/delete-dialog.cjs.entry.js +2 -2
  11. package/dist/cjs/downloadUtils-fcae8eb1.js +3223 -0
  12. package/dist/cjs/effects-3607d1ba.js +83 -0
  13. package/dist/cjs/feature-list.cjs.entry.js +5 -5
  14. package/dist/cjs/helpers-8d452256.js +867 -0
  15. package/dist/cjs/index.es-3c2404c3.js +11195 -0
  16. package/dist/cjs/instant-apps-app-guide.cjs.entry.js +4 -4
  17. package/dist/cjs/instant-apps-ckeditor-wrapper_3.cjs.entry.js +5 -5
  18. package/dist/cjs/instant-apps-control-panel.cjs.entry.js +2 -2
  19. package/dist/cjs/instant-apps-create.cjs.entry.js +4 -4
  20. package/dist/cjs/instant-apps-export-views.cjs.entry.js +4 -4
  21. package/dist/cjs/instant-apps-export.cjs.entry.js +4 -4
  22. package/dist/cjs/instant-apps-filter-list_2.cjs.entry.js +4 -4
  23. package/dist/cjs/instant-apps-header.cjs.entry.js +2 -2
  24. package/dist/cjs/instant-apps-interactive-legend-classic.cjs.entry.js +4 -4
  25. package/dist/cjs/instant-apps-interactive-legend-count_2.cjs.entry.js +4 -4
  26. package/dist/cjs/instant-apps-interactive-legend-group-legend-element-caption.cjs.entry.js +4 -4
  27. package/dist/cjs/instant-apps-interactive-legend-group-legend-element_5.cjs.entry.js +4 -4
  28. package/dist/cjs/instant-apps-interactive-legend.cjs.entry.js +6 -6
  29. package/dist/cjs/instant-apps-keyboard-shortcuts.cjs.entry.js +4 -4
  30. package/dist/cjs/instant-apps-language-switcher.cjs.entry.js +6 -6
  31. package/dist/cjs/instant-apps-language-translator.cjs.entry.js +6 -6
  32. package/dist/cjs/instant-apps-measurement-tool.cjs.entry.js +2 -2
  33. package/dist/cjs/instant-apps-measurement.cjs.entry.js +4 -4
  34. package/dist/cjs/instant-apps-popover.cjs.entry.js +4 -4
  35. package/dist/cjs/instant-apps-scoreboard.cjs.entry.js +4 -4
  36. package/dist/cjs/instant-apps-sign-in.cjs.entry.js +4 -4
  37. package/dist/cjs/instant-apps-splash.cjs.entry.js +4 -4
  38. package/dist/cjs/instant-apps-time-filter.cjs.entry.js +5 -5
  39. package/dist/cjs/json-editor_7.cjs.entry.js +2 -2
  40. package/dist/cjs/languageSwitcher-19a22439.js +52 -0
  41. package/dist/cjs/languageUtil-a3e1eafd.js +69 -0
  42. package/dist/cjs/loadModules-e9d8977c.js +23 -0
  43. package/dist/cjs/loader.cjs.js +1 -1
  44. package/dist/cjs/locale-1c60be9c.js +160 -0
  45. package/dist/cjs/locale-da41a06f.js +943 -0
  46. package/dist/cjs/map-layer-picker.cjs.entry.js +2 -2
  47. package/dist/cjs/map-select-tools_3.cjs.entry.js +4 -4
  48. package/dist/cjs/popupUtils-87b006a6.js +121 -0
  49. package/dist/cjs/public-notification.cjs.entry.js +4 -4
  50. package/dist/cjs/solution-configuration.cjs.entry.js +2 -2
  51. package/dist/cjs/solution-contents_3.cjs.entry.js +2 -2
  52. package/dist/cjs/solution-item-accordion.cjs.entry.js +2 -2
  53. package/dist/cjs/solutions-components.cjs.js +1 -1
  54. package/dist/cjs/spatial-ref.cjs.entry.js +2 -2
  55. package/dist/cjs/utils-3e512114.js +153 -0
  56. package/dist/collection/assets/t9n/buffer-tools/resources_no.json +6 -0
  57. package/dist/collection/assets/t9n/card-manager/resources_no.json +7 -0
  58. package/dist/collection/assets/t9n/comment-card/resources_no.json +4 -0
  59. package/dist/collection/assets/t9n/consent-manager/resources_no.json +5 -0
  60. package/dist/collection/assets/t9n/create-feature/resources.json +1 -1
  61. package/dist/collection/assets/t9n/create-feature/resources_ar.json +1 -1
  62. package/dist/collection/assets/t9n/create-feature/resources_bg.json +1 -1
  63. package/dist/collection/assets/t9n/create-feature/resources_bs.json +1 -1
  64. package/dist/collection/assets/t9n/create-feature/resources_ca.json +1 -1
  65. package/dist/collection/assets/t9n/create-feature/resources_cs.json +1 -1
  66. package/dist/collection/assets/t9n/create-feature/resources_da.json +1 -1
  67. package/dist/collection/assets/t9n/create-feature/resources_de.json +1 -1
  68. package/dist/collection/assets/t9n/create-feature/resources_el.json +1 -1
  69. package/dist/collection/assets/t9n/create-feature/resources_en.json +1 -1
  70. package/dist/collection/assets/t9n/create-feature/resources_es.json +1 -1
  71. package/dist/collection/assets/t9n/create-feature/resources_et.json +1 -1
  72. package/dist/collection/assets/t9n/create-feature/resources_fi.json +1 -1
  73. package/dist/collection/assets/t9n/create-feature/resources_fr.json +1 -1
  74. package/dist/collection/assets/t9n/create-feature/resources_he.json +1 -1
  75. package/dist/collection/assets/t9n/create-feature/resources_hr.json +1 -1
  76. package/dist/collection/assets/t9n/create-feature/resources_hu.json +1 -1
  77. package/dist/collection/assets/t9n/create-feature/resources_id.json +1 -1
  78. package/dist/collection/assets/t9n/create-feature/resources_it.json +1 -1
  79. package/dist/collection/assets/t9n/create-feature/resources_ja.json +1 -1
  80. package/dist/collection/assets/t9n/create-feature/resources_ko.json +1 -1
  81. package/dist/collection/assets/t9n/create-feature/resources_lt.json +1 -1
  82. package/dist/collection/assets/t9n/create-feature/resources_lv.json +1 -1
  83. package/dist/collection/assets/t9n/create-feature/resources_nb.json +1 -1
  84. package/dist/collection/assets/t9n/create-feature/resources_nl.json +1 -1
  85. package/dist/collection/assets/t9n/create-feature/resources_no.json +5 -0
  86. package/dist/collection/assets/t9n/create-feature/resources_pl.json +1 -1
  87. package/dist/collection/assets/t9n/create-feature/resources_pt-BR.json +1 -1
  88. package/dist/collection/assets/t9n/create-feature/resources_pt-PT.json +1 -1
  89. package/dist/collection/assets/t9n/create-feature/resources_ro.json +1 -1
  90. package/dist/collection/assets/t9n/create-feature/resources_ru.json +1 -1
  91. package/dist/collection/assets/t9n/create-feature/resources_sk.json +1 -1
  92. package/dist/collection/assets/t9n/create-feature/resources_sl.json +1 -1
  93. package/dist/collection/assets/t9n/create-feature/resources_sr.json +1 -1
  94. package/dist/collection/assets/t9n/create-feature/resources_sv.json +1 -1
  95. package/dist/collection/assets/t9n/create-feature/resources_th.json +1 -1
  96. package/dist/collection/assets/t9n/create-feature/resources_tr.json +1 -1
  97. package/dist/collection/assets/t9n/create-feature/resources_uk.json +1 -1
  98. package/dist/collection/assets/t9n/create-feature/resources_vi.json +1 -1
  99. package/dist/collection/assets/t9n/create-feature/resources_zh-CN.json +1 -1
  100. package/dist/collection/assets/t9n/create-feature/resources_zh-HK.json +1 -1
  101. package/dist/collection/assets/t9n/create-feature/resources_zh-TW.json +1 -1
  102. package/dist/collection/assets/t9n/create-related-feature/resources_no.json +3 -0
  103. package/dist/collection/assets/t9n/crowdsource-manager/resources_ar.json +4 -1
  104. package/dist/collection/assets/t9n/crowdsource-manager/resources_bg.json +4 -1
  105. package/dist/collection/assets/t9n/crowdsource-manager/resources_bs.json +4 -1
  106. package/dist/collection/assets/t9n/crowdsource-manager/resources_ca.json +4 -1
  107. package/dist/collection/assets/t9n/crowdsource-manager/resources_cs.json +4 -1
  108. package/dist/collection/assets/t9n/crowdsource-manager/resources_da.json +4 -1
  109. package/dist/collection/assets/t9n/crowdsource-manager/resources_de.json +4 -1
  110. package/dist/collection/assets/t9n/crowdsource-manager/resources_el.json +4 -1
  111. package/dist/collection/assets/t9n/crowdsource-manager/resources_es.json +4 -1
  112. package/dist/collection/assets/t9n/crowdsource-manager/resources_et.json +4 -1
  113. package/dist/collection/assets/t9n/crowdsource-manager/resources_fi.json +4 -1
  114. package/dist/collection/assets/t9n/crowdsource-manager/resources_fr.json +4 -1
  115. package/dist/collection/assets/t9n/crowdsource-manager/resources_he.json +4 -1
  116. package/dist/collection/assets/t9n/crowdsource-manager/resources_hr.json +4 -1
  117. package/dist/collection/assets/t9n/crowdsource-manager/resources_hu.json +4 -1
  118. package/dist/collection/assets/t9n/crowdsource-manager/resources_id.json +4 -1
  119. package/dist/collection/assets/t9n/crowdsource-manager/resources_it.json +4 -1
  120. package/dist/collection/assets/t9n/crowdsource-manager/resources_ja.json +4 -1
  121. package/dist/collection/assets/t9n/crowdsource-manager/resources_ko.json +4 -1
  122. package/dist/collection/assets/t9n/crowdsource-manager/resources_lt.json +4 -1
  123. package/dist/collection/assets/t9n/crowdsource-manager/resources_lv.json +4 -1
  124. package/dist/collection/assets/t9n/crowdsource-manager/resources_nb.json +4 -1
  125. package/dist/collection/assets/t9n/crowdsource-manager/resources_nl.json +4 -1
  126. package/dist/collection/assets/t9n/crowdsource-manager/resources_no.json +15 -0
  127. package/dist/collection/assets/t9n/crowdsource-manager/resources_pl.json +4 -1
  128. package/dist/collection/assets/t9n/crowdsource-manager/resources_pt-BR.json +4 -1
  129. package/dist/collection/assets/t9n/crowdsource-manager/resources_pt-PT.json +4 -1
  130. package/dist/collection/assets/t9n/crowdsource-manager/resources_ro.json +4 -1
  131. package/dist/collection/assets/t9n/crowdsource-manager/resources_ru.json +4 -1
  132. package/dist/collection/assets/t9n/crowdsource-manager/resources_sk.json +4 -1
  133. package/dist/collection/assets/t9n/crowdsource-manager/resources_sl.json +4 -1
  134. package/dist/collection/assets/t9n/crowdsource-manager/resources_sr.json +4 -1
  135. package/dist/collection/assets/t9n/crowdsource-manager/resources_sv.json +4 -1
  136. package/dist/collection/assets/t9n/crowdsource-manager/resources_th.json +4 -1
  137. package/dist/collection/assets/t9n/crowdsource-manager/resources_tr.json +4 -1
  138. package/dist/collection/assets/t9n/crowdsource-manager/resources_uk.json +4 -1
  139. package/dist/collection/assets/t9n/crowdsource-manager/resources_vi.json +4 -1
  140. package/dist/collection/assets/t9n/crowdsource-manager/resources_zh-CN.json +4 -1
  141. package/dist/collection/assets/t9n/crowdsource-manager/resources_zh-HK.json +4 -1
  142. package/dist/collection/assets/t9n/crowdsource-manager/resources_zh-TW.json +4 -1
  143. package/dist/collection/assets/t9n/crowdsource-reporter/resources_ar.json +2 -1
  144. package/dist/collection/assets/t9n/crowdsource-reporter/resources_bg.json +2 -1
  145. package/dist/collection/assets/t9n/crowdsource-reporter/resources_bs.json +2 -1
  146. package/dist/collection/assets/t9n/crowdsource-reporter/resources_ca.json +2 -1
  147. package/dist/collection/assets/t9n/crowdsource-reporter/resources_cs.json +2 -1
  148. package/dist/collection/assets/t9n/crowdsource-reporter/resources_da.json +2 -1
  149. package/dist/collection/assets/t9n/crowdsource-reporter/resources_de.json +2 -1
  150. package/dist/collection/assets/t9n/crowdsource-reporter/resources_el.json +2 -1
  151. package/dist/collection/assets/t9n/crowdsource-reporter/resources_es.json +2 -1
  152. package/dist/collection/assets/t9n/crowdsource-reporter/resources_et.json +2 -1
  153. package/dist/collection/assets/t9n/crowdsource-reporter/resources_fi.json +2 -1
  154. package/dist/collection/assets/t9n/crowdsource-reporter/resources_fr.json +2 -1
  155. package/dist/collection/assets/t9n/crowdsource-reporter/resources_he.json +2 -1
  156. package/dist/collection/assets/t9n/crowdsource-reporter/resources_hr.json +2 -1
  157. package/dist/collection/assets/t9n/crowdsource-reporter/resources_hu.json +2 -1
  158. package/dist/collection/assets/t9n/crowdsource-reporter/resources_id.json +2 -1
  159. package/dist/collection/assets/t9n/crowdsource-reporter/resources_it.json +2 -1
  160. package/dist/collection/assets/t9n/crowdsource-reporter/resources_ja.json +2 -1
  161. package/dist/collection/assets/t9n/crowdsource-reporter/resources_ko.json +2 -1
  162. package/dist/collection/assets/t9n/crowdsource-reporter/resources_lt.json +2 -1
  163. package/dist/collection/assets/t9n/crowdsource-reporter/resources_lv.json +2 -1
  164. package/dist/collection/assets/t9n/crowdsource-reporter/resources_nb.json +2 -1
  165. package/dist/collection/assets/t9n/crowdsource-reporter/resources_nl.json +2 -1
  166. package/dist/collection/assets/t9n/crowdsource-reporter/resources_no.json +32 -0
  167. package/dist/collection/assets/t9n/crowdsource-reporter/resources_pl.json +2 -1
  168. package/dist/collection/assets/t9n/crowdsource-reporter/resources_pt-BR.json +2 -1
  169. package/dist/collection/assets/t9n/crowdsource-reporter/resources_pt-PT.json +2 -1
  170. package/dist/collection/assets/t9n/crowdsource-reporter/resources_ro.json +2 -1
  171. package/dist/collection/assets/t9n/crowdsource-reporter/resources_ru.json +2 -1
  172. package/dist/collection/assets/t9n/crowdsource-reporter/resources_sk.json +2 -1
  173. package/dist/collection/assets/t9n/crowdsource-reporter/resources_sl.json +2 -1
  174. package/dist/collection/assets/t9n/crowdsource-reporter/resources_sr.json +2 -1
  175. package/dist/collection/assets/t9n/crowdsource-reporter/resources_sv.json +2 -1
  176. package/dist/collection/assets/t9n/crowdsource-reporter/resources_th.json +2 -1
  177. package/dist/collection/assets/t9n/crowdsource-reporter/resources_tr.json +2 -1
  178. package/dist/collection/assets/t9n/crowdsource-reporter/resources_uk.json +2 -1
  179. package/dist/collection/assets/t9n/crowdsource-reporter/resources_vi.json +2 -1
  180. package/dist/collection/assets/t9n/crowdsource-reporter/resources_zh-CN.json +2 -1
  181. package/dist/collection/assets/t9n/crowdsource-reporter/resources_zh-HK.json +2 -1
  182. package/dist/collection/assets/t9n/crowdsource-reporter/resources_zh-TW.json +2 -1
  183. package/dist/collection/assets/t9n/delete-button/resources_no.json +8 -0
  184. package/dist/collection/assets/t9n/edit-card/resources_no.json +3 -0
  185. package/dist/collection/assets/t9n/feature-list/resources_no.json +8 -0
  186. package/dist/collection/assets/t9n/info-card/resources_no.json +10 -0
  187. package/dist/collection/assets/t9n/layer-list/resources_no.json +4 -0
  188. package/dist/collection/assets/t9n/layer-table/resources_no.json +22 -0
  189. package/dist/collection/assets/t9n/map-card/resources_no.json +10 -0
  190. package/dist/collection/assets/t9n/map-draw-tools/resources_no.json +5 -0
  191. package/dist/collection/assets/t9n/map-layer-picker/resources_no.json +5 -0
  192. package/dist/collection/assets/t9n/map-picker/resources_no.json +3 -0
  193. package/dist/collection/assets/t9n/map-search/resources_no.json +3 -0
  194. package/dist/collection/assets/t9n/map-select-tools/resources_no.json +16 -0
  195. package/dist/collection/assets/t9n/map-tools/resources_no.json +10 -0
  196. package/dist/collection/assets/t9n/pdf-download/resources_no.json +3 -0
  197. package/dist/collection/assets/t9n/public-notification/resources_no.json +44 -0
  198. package/dist/collection/assets/t9n/refine-selection/resources_no.json +9 -0
  199. package/dist/collection/assets/t9n/solution-item-accordion/resources_ar.json +1 -1
  200. package/dist/collection/assets/t9n/solution-item-accordion/resources_bg.json +1 -1
  201. package/dist/collection/assets/t9n/solution-item-accordion/resources_bs.json +1 -1
  202. package/dist/collection/assets/t9n/solution-item-accordion/resources_ca.json +1 -1
  203. package/dist/collection/assets/t9n/solution-item-accordion/resources_cs.json +1 -1
  204. package/dist/collection/assets/t9n/solution-item-accordion/resources_da.json +1 -1
  205. package/dist/collection/assets/t9n/solution-item-accordion/resources_de.json +1 -1
  206. package/dist/collection/assets/t9n/solution-item-accordion/resources_el.json +1 -1
  207. package/dist/collection/assets/t9n/solution-item-accordion/resources_es.json +1 -1
  208. package/dist/collection/assets/t9n/solution-item-accordion/resources_et.json +1 -1
  209. package/dist/collection/assets/t9n/solution-item-accordion/resources_fi.json +1 -1
  210. package/dist/collection/assets/t9n/solution-item-accordion/resources_fr.json +1 -1
  211. package/dist/collection/assets/t9n/solution-item-accordion/resources_he.json +1 -1
  212. package/dist/collection/assets/t9n/solution-item-accordion/resources_hr.json +1 -1
  213. package/dist/collection/assets/t9n/solution-item-accordion/resources_hu.json +1 -1
  214. package/dist/collection/assets/t9n/solution-item-accordion/resources_id.json +1 -1
  215. package/dist/collection/assets/t9n/solution-item-accordion/resources_it.json +1 -1
  216. package/dist/collection/assets/t9n/solution-item-accordion/resources_ja.json +1 -1
  217. package/dist/collection/assets/t9n/solution-item-accordion/resources_ko.json +1 -1
  218. package/dist/collection/assets/t9n/solution-item-accordion/resources_lt.json +1 -1
  219. package/dist/collection/assets/t9n/solution-item-accordion/resources_lv.json +1 -1
  220. package/dist/collection/assets/t9n/solution-item-accordion/resources_nb.json +1 -1
  221. package/dist/collection/assets/t9n/solution-item-accordion/resources_nl.json +1 -1
  222. package/dist/collection/assets/t9n/solution-item-accordion/resources_no.json +3 -0
  223. package/dist/collection/assets/t9n/solution-item-accordion/resources_pl.json +1 -1
  224. package/dist/collection/assets/t9n/solution-item-accordion/resources_pt-BR.json +1 -1
  225. package/dist/collection/assets/t9n/solution-item-accordion/resources_pt-PT.json +1 -1
  226. package/dist/collection/assets/t9n/solution-item-accordion/resources_ro.json +1 -1
  227. package/dist/collection/assets/t9n/solution-item-accordion/resources_ru.json +1 -1
  228. package/dist/collection/assets/t9n/solution-item-accordion/resources_sk.json +1 -1
  229. package/dist/collection/assets/t9n/solution-item-accordion/resources_sl.json +1 -1
  230. package/dist/collection/assets/t9n/solution-item-accordion/resources_sr.json +1 -1
  231. package/dist/collection/assets/t9n/solution-item-accordion/resources_sv.json +1 -1
  232. package/dist/collection/assets/t9n/solution-item-accordion/resources_th.json +1 -1
  233. package/dist/collection/assets/t9n/solution-item-accordion/resources_tr.json +1 -1
  234. package/dist/collection/assets/t9n/solution-item-accordion/resources_uk.json +1 -1
  235. package/dist/collection/assets/t9n/solution-item-accordion/resources_vi.json +1 -1
  236. package/dist/collection/assets/t9n/solution-item-accordion/resources_zh-CN.json +1 -1
  237. package/dist/collection/assets/t9n/solution-item-accordion/resources_zh-HK.json +1 -1
  238. package/dist/collection/assets/t9n/solution-item-accordion/resources_zh-TW.json +1 -1
  239. package/dist/collection/components/create-feature/create-feature.js +132 -111
  240. package/dist/collection/components/create-related-feature/create-related-feature.js +1 -0
  241. package/dist/collection/components/crowdsource-manager/crowdsource-manager.js +2 -3
  242. package/dist/collection/components/crowdsource-reporter/crowdsource-reporter.js +22 -2
  243. package/dist/collection/components/edit-card/edit-card.js +1 -0
  244. package/dist/collection/components/info-card/info-card.js +3 -2
  245. package/dist/collection/components/map-draw-tools/map-draw-tools.js +2 -1
  246. package/dist/collection/vendor/calcite-components/22LZVO5E.js +4 -0
  247. package/dist/collection/vendor/calcite-components/2A6QEASM.js +4 -0
  248. package/dist/collection/vendor/calcite-components/2BGT5TEK.js +4 -0
  249. package/dist/collection/vendor/calcite-components/2CPYXWOG.js +4 -0
  250. package/dist/collection/vendor/calcite-components/2GEBE6K3.js +4 -0
  251. package/dist/collection/vendor/calcite-components/2QA56E26.js +4 -0
  252. package/dist/collection/vendor/calcite-components/2YRZB4NM.js +4 -0
  253. package/dist/collection/vendor/calcite-components/36XHP2FJ.js +4 -0
  254. package/dist/collection/vendor/calcite-components/3COQK7PF.js +4 -0
  255. package/dist/collection/vendor/calcite-components/3DM4HAHW.js +4 -0
  256. package/dist/collection/vendor/calcite-components/3PTTJYHL.js +4 -0
  257. package/dist/collection/vendor/calcite-components/3QHDLMLZ.js +4 -0
  258. package/dist/collection/vendor/calcite-components/3QTJJQOU.js +4 -0
  259. package/dist/collection/vendor/calcite-components/42IFRZST.js +4 -0
  260. package/dist/collection/vendor/calcite-components/43WAE6RK.js +4 -0
  261. package/dist/collection/vendor/calcite-components/4657LRIL.js +4 -0
  262. package/dist/collection/vendor/calcite-components/4D34RBQ3.js +4 -0
  263. package/dist/collection/vendor/calcite-components/4EMDDOBJ.js +4 -0
  264. package/dist/collection/vendor/calcite-components/4IX3YHER.js +4 -0
  265. package/dist/collection/vendor/calcite-components/4JFCCMPV.js +4 -0
  266. package/dist/collection/vendor/calcite-components/4RVJ5ZT4.js +4 -0
  267. package/dist/collection/vendor/calcite-components/53I6TTJJ.js +4 -0
  268. package/dist/collection/vendor/calcite-components/54KMPSZ3.js +4 -0
  269. package/dist/collection/vendor/calcite-components/555IAPRW.js +4 -0
  270. package/dist/collection/vendor/calcite-components/5BBZL5AE.js +4 -0
  271. package/dist/collection/vendor/calcite-components/5G52FOTN.js +4 -0
  272. package/dist/collection/vendor/calcite-components/5GU33MPG.js +4 -0
  273. package/dist/collection/vendor/calcite-components/5SFTADR5.js +4 -0
  274. package/dist/collection/vendor/calcite-components/5WCCH3GL.js +4 -0
  275. package/dist/collection/vendor/calcite-components/662YEAMX.js +4 -0
  276. package/dist/collection/vendor/calcite-components/6FZUWDUT.js +4 -0
  277. package/dist/collection/vendor/calcite-components/6PFLQ26Z.js +4 -0
  278. package/dist/collection/vendor/calcite-components/6PJ43C67.js +4 -0
  279. package/dist/collection/vendor/calcite-components/6TRPZGJP.js +4 -0
  280. package/dist/collection/vendor/calcite-components/6TWWOPNX.js +4 -0
  281. package/dist/collection/vendor/calcite-components/727HQUFD.js +4 -0
  282. package/dist/collection/vendor/calcite-components/74RWJ4QY.js +4 -0
  283. package/dist/collection/vendor/calcite-components/7AMBDXFL.js +4 -0
  284. package/dist/collection/vendor/calcite-components/7BGF2YXV.js +5 -0
  285. package/dist/collection/vendor/calcite-components/7KCRDGKA.js +4 -0
  286. package/dist/collection/vendor/calcite-components/7LREBCFI.js +4 -0
  287. package/dist/collection/vendor/calcite-components/7MTWQHV5.js +4 -0
  288. package/dist/collection/vendor/calcite-components/7NELI6UD.js +4 -0
  289. package/dist/collection/vendor/calcite-components/7PXHM6EH.js +4 -0
  290. package/dist/collection/vendor/calcite-components/7R52MWAP.js +4 -0
  291. package/dist/collection/vendor/calcite-components/A4XKVBOI.js +4 -0
  292. package/dist/collection/vendor/calcite-components/A57QY65K.js +4 -0
  293. package/dist/collection/vendor/calcite-components/A6VQQWXZ.js +4 -0
  294. package/dist/collection/vendor/calcite-components/AIDMQYMU.js +4 -0
  295. package/dist/collection/vendor/calcite-components/ASXEEA2B.js +4 -0
  296. package/dist/collection/vendor/calcite-components/AWSMJMWQ.js +4 -0
  297. package/dist/collection/vendor/calcite-components/AZ54J6HD.js +4 -0
  298. package/dist/collection/vendor/calcite-components/B2ETPGYX.js +4 -0
  299. package/dist/collection/vendor/calcite-components/B2JBOZ4Z.js +4 -0
  300. package/dist/collection/vendor/calcite-components/B4FD6KD7.js +4 -0
  301. package/dist/collection/vendor/calcite-components/B7E6VYNK.js +4 -0
  302. package/dist/collection/vendor/calcite-components/BD6SDCR6.js +4 -0
  303. package/dist/collection/vendor/calcite-components/BFQ3IRQW.js +4 -0
  304. package/dist/collection/vendor/calcite-components/BW2NQ5TQ.js +4 -0
  305. package/dist/collection/vendor/calcite-components/BZOMVSAG.js +4 -0
  306. package/dist/collection/vendor/calcite-components/C3AZYUGU.js +4 -0
  307. package/dist/collection/vendor/calcite-components/CBX7R3DS.js +4 -0
  308. package/dist/collection/vendor/calcite-components/CCXXBM5B.js +4 -0
  309. package/dist/collection/vendor/calcite-components/CG5B4XKZ.js +4 -0
  310. package/dist/collection/vendor/calcite-components/CHGJHDWI.js +4 -0
  311. package/dist/collection/vendor/calcite-components/CNADH63F.js +4 -0
  312. package/dist/collection/vendor/calcite-components/CV3G4HMQ.js +4 -0
  313. package/dist/collection/vendor/calcite-components/CWSVXKFX.js +4 -0
  314. package/dist/collection/vendor/calcite-components/CY5O5AGQ.js +4 -0
  315. package/dist/collection/vendor/calcite-components/D23ZXMLS.js +4 -0
  316. package/dist/collection/vendor/calcite-components/D276FT6Z.js +4 -0
  317. package/dist/collection/vendor/calcite-components/DG2T33QN.js +4 -0
  318. package/dist/collection/vendor/calcite-components/DJQ34CXE.js +4 -0
  319. package/dist/collection/vendor/calcite-components/DJREGHLR.js +6 -0
  320. package/dist/collection/vendor/calcite-components/DMXUBDZW.js +4 -0
  321. package/dist/collection/vendor/calcite-components/DNQY4EKR.js +4 -0
  322. package/dist/collection/vendor/calcite-components/DPFVN4EN.js +4 -0
  323. package/dist/collection/vendor/calcite-components/DRXWIPMI.js +4 -0
  324. package/dist/collection/vendor/calcite-components/DRYFM2IO.js +4 -0
  325. package/dist/collection/vendor/calcite-components/DUL66KKH.js +4 -0
  326. package/dist/collection/vendor/calcite-components/DVC5KGLT.js +4 -0
  327. package/dist/collection/vendor/calcite-components/E6X3KIZL.js +4 -0
  328. package/dist/collection/vendor/calcite-components/EG6UCGFB.js +4 -0
  329. package/dist/collection/vendor/calcite-components/EHAHKKFL.js +4 -0
  330. package/dist/collection/vendor/calcite-components/EIMDRXSI.js +4 -0
  331. package/dist/collection/vendor/calcite-components/EM7TVLTF.js +4 -0
  332. package/dist/collection/vendor/calcite-components/EP7IEI22.js +4 -0
  333. package/dist/collection/vendor/calcite-components/EWJY2L2V.js +4 -0
  334. package/dist/collection/vendor/calcite-components/EYQQPU2W.js +4 -0
  335. package/dist/collection/vendor/calcite-components/FB7CD3CH.js +4 -0
  336. package/dist/collection/vendor/calcite-components/FDBZMO4P.js +4 -0
  337. package/dist/collection/vendor/calcite-components/FFPGVFSC.js +4 -0
  338. package/dist/collection/vendor/calcite-components/FGYULWTE.js +4 -0
  339. package/dist/collection/vendor/calcite-components/FMKUEBDG.js +4 -0
  340. package/dist/collection/vendor/calcite-components/FRM3YXTH.js +4 -0
  341. package/dist/collection/vendor/calcite-components/FW6R63UX.js +4 -0
  342. package/dist/collection/vendor/calcite-components/FXTXVVOM.js +4 -0
  343. package/dist/collection/vendor/calcite-components/FXXGJ3RT.js +4 -0
  344. package/dist/collection/vendor/calcite-components/FYHE5C5Q.js +4 -0
  345. package/dist/collection/vendor/calcite-components/G33CDSRC.js +4 -0
  346. package/dist/collection/vendor/calcite-components/G6XUWYVF.js +4 -0
  347. package/dist/collection/vendor/calcite-components/GCIH5FK5.js +4 -0
  348. package/dist/collection/vendor/calcite-components/GE5Y3RWM.js +4 -0
  349. package/dist/collection/vendor/calcite-components/GEZNDNDH.js +4 -0
  350. package/dist/collection/vendor/calcite-components/GNJWHQYO.js +4 -0
  351. package/dist/collection/vendor/calcite-components/GZ5TMSIR.js +4 -0
  352. package/dist/collection/vendor/calcite-components/GZJIMDTR.js +4 -0
  353. package/dist/collection/vendor/calcite-components/H23GHBD2.js +5 -0
  354. package/dist/collection/vendor/calcite-components/H2SIT2TB.js +4 -0
  355. package/dist/collection/vendor/calcite-components/HC7MYCXC.js +4 -0
  356. package/dist/collection/vendor/calcite-components/HD5QD64Q.js +4 -0
  357. package/dist/collection/vendor/calcite-components/HDELZP2B.js +4 -0
  358. package/dist/collection/vendor/calcite-components/HGDJL4SA.js +4 -0
  359. package/dist/collection/vendor/calcite-components/HHVWJ7MU.js +4 -0
  360. package/dist/collection/vendor/calcite-components/HJYTX5BK.js +4 -0
  361. package/dist/collection/vendor/calcite-components/HMFDWMJH.js +4 -0
  362. package/dist/collection/vendor/calcite-components/HXESYKZM.js +4 -0
  363. package/dist/collection/vendor/calcite-components/I4BAPULM.js +4 -0
  364. package/dist/collection/vendor/calcite-components/I6RIFD3V.js +5 -0
  365. package/dist/collection/vendor/calcite-components/IDZWSTZZ.js +4 -0
  366. package/dist/collection/vendor/calcite-components/IFAY5ZXB.js +4 -0
  367. package/dist/collection/vendor/calcite-components/IO5HOHW4.js +4 -0
  368. package/dist/collection/vendor/calcite-components/ISXEUIFH.js +4 -0
  369. package/dist/collection/vendor/calcite-components/IXUF77L2.js +4 -0
  370. package/dist/collection/vendor/calcite-components/J27B5CWI.js +4 -0
  371. package/dist/collection/vendor/calcite-components/JAKKKROM.js +4 -0
  372. package/dist/collection/vendor/calcite-components/JNDUGIK6.js +4 -0
  373. package/dist/collection/vendor/calcite-components/JNNP4QF3.js +4 -0
  374. package/dist/collection/vendor/calcite-components/JVSUOTAZ.js +4 -0
  375. package/dist/collection/vendor/calcite-components/JWEMBAET.js +4 -0
  376. package/dist/collection/vendor/calcite-components/JWKRGDRV.js +4 -0
  377. package/dist/collection/vendor/calcite-components/JZQ73NRM.js +4 -0
  378. package/dist/collection/vendor/calcite-components/K7OAUX24.js +4 -0
  379. package/dist/collection/vendor/calcite-components/KKM7CKQA.js +4 -0
  380. package/dist/collection/vendor/calcite-components/KMEUFDPK.js +4 -0
  381. package/dist/collection/vendor/calcite-components/KNH6FSL4.js +4 -0
  382. package/dist/collection/vendor/calcite-components/KPMQXN4M.js +4 -0
  383. package/dist/collection/vendor/calcite-components/KWU2E4JE.js +4 -0
  384. package/dist/collection/vendor/calcite-components/L4WAR5X4.js +4 -0
  385. package/dist/collection/vendor/calcite-components/LKJAWTVJ.js +4 -0
  386. package/dist/collection/vendor/calcite-components/LLS4XVIW.js +4 -0
  387. package/dist/collection/vendor/calcite-components/LNECFRUM.js +4 -0
  388. package/dist/collection/vendor/calcite-components/LYQ7FJT2.js +4 -0
  389. package/dist/collection/vendor/calcite-components/M2KTEEUG.js +4 -0
  390. package/dist/collection/vendor/calcite-components/M5OIZS7N.js +28 -0
  391. package/dist/collection/vendor/calcite-components/M64PHLHQ.js +4 -0
  392. package/dist/collection/vendor/calcite-components/MQ3MSMTP.js +4 -0
  393. package/dist/collection/vendor/calcite-components/MTNJMPLV.js +4 -0
  394. package/dist/collection/vendor/calcite-components/MXGPGCYC.js +4 -0
  395. package/dist/collection/vendor/calcite-components/MYNPH67G.js +4 -0
  396. package/dist/collection/vendor/calcite-components/N5OBZLJZ.js +4 -0
  397. package/dist/collection/vendor/calcite-components/NJYFPOKV.js +4 -0
  398. package/dist/collection/vendor/calcite-components/NJZE4A4X.js +4 -0
  399. package/dist/collection/vendor/calcite-components/NSHK3NTJ.js +4 -0
  400. package/dist/collection/vendor/calcite-components/NYER6YT7.js +4 -0
  401. package/dist/collection/vendor/calcite-components/NYZ4ODDA.js +4 -0
  402. package/dist/collection/vendor/calcite-components/O4AAP54K.js +4 -0
  403. package/dist/collection/vendor/calcite-components/OETUMACB.js +4 -0
  404. package/dist/collection/vendor/calcite-components/OFPYZZUF.js +4 -0
  405. package/dist/collection/vendor/calcite-components/OFXV3CF7.js +4 -0
  406. package/dist/collection/vendor/calcite-components/PAJGY3XV.js +4 -0
  407. package/dist/collection/vendor/calcite-components/PENB3O7H.js +4 -0
  408. package/dist/collection/vendor/calcite-components/PNCVHWAE.js +4 -0
  409. package/dist/collection/vendor/calcite-components/PYGWJ6OV.js +4 -0
  410. package/dist/collection/vendor/calcite-components/Q32GNFQO.js +22 -0
  411. package/dist/collection/vendor/calcite-components/Q6HTE6MQ.js +4 -0
  412. package/dist/collection/vendor/calcite-components/QAO6BQAD.js +4 -0
  413. package/dist/collection/vendor/calcite-components/QBMZKO4M.js +4 -0
  414. package/dist/collection/vendor/calcite-components/QCKKEDB2.js +4 -0
  415. package/dist/collection/vendor/calcite-components/QQEBBK2A.js +4 -0
  416. package/dist/collection/vendor/calcite-components/R4J2EZFU.js +4 -0
  417. package/dist/collection/vendor/calcite-components/R5EHQKMO.js +4 -0
  418. package/dist/collection/vendor/calcite-components/R7GOP347.js +4 -0
  419. package/dist/collection/vendor/calcite-components/RBMLFM2L.js +4 -0
  420. package/dist/collection/vendor/calcite-components/RBQ6BI6C.js +4 -0
  421. package/dist/collection/vendor/calcite-components/REF7SAQQ.js +4 -0
  422. package/dist/collection/vendor/calcite-components/REWMVFVL.js +4 -0
  423. package/dist/collection/vendor/calcite-components/RI3WTZXE.js +4 -0
  424. package/dist/collection/vendor/calcite-components/RL7IIXTZ.js +4 -0
  425. package/dist/collection/vendor/calcite-components/RM7LSSHL.js +4 -0
  426. package/dist/collection/vendor/calcite-components/RREZDRNN.js +4 -0
  427. package/dist/collection/vendor/calcite-components/SHERIRO4.js +4 -0
  428. package/dist/collection/vendor/calcite-components/SK7NKNHK.js +4 -0
  429. package/dist/collection/vendor/calcite-components/SODGHLU2.js +4 -0
  430. package/dist/collection/vendor/calcite-components/SP6U5EWI.js +4 -0
  431. package/dist/collection/vendor/calcite-components/SQKZ5EZF.js +4 -0
  432. package/dist/collection/vendor/calcite-components/SX4MCPF2.js +5 -0
  433. package/dist/collection/vendor/calcite-components/TIGHTLQD.js +4 -0
  434. package/dist/collection/vendor/calcite-components/TMKEB7G7.js +4 -0
  435. package/dist/collection/vendor/calcite-components/TURDT3VB.js +4 -0
  436. package/dist/collection/vendor/calcite-components/TX7QHHK5.js +4 -0
  437. package/dist/collection/vendor/calcite-components/TYMOPXYL.js +4 -0
  438. package/dist/collection/vendor/calcite-components/TZECTLA6.js +4 -0
  439. package/dist/collection/vendor/calcite-components/U3RO6UCM.js +4 -0
  440. package/dist/collection/vendor/calcite-components/U5FUMAFV.js +4 -0
  441. package/dist/collection/vendor/calcite-components/UM5EV3V4.js +4 -0
  442. package/dist/collection/vendor/calcite-components/UOX45Z7K.js +4 -0
  443. package/dist/collection/vendor/calcite-components/UXTWTW75.js +4 -0
  444. package/dist/collection/vendor/calcite-components/V5ZZKGAM.js +4 -0
  445. package/dist/collection/vendor/calcite-components/VTA2PRG5.js +4 -0
  446. package/dist/collection/vendor/calcite-components/VY37PIFG.js +4 -0
  447. package/dist/collection/vendor/calcite-components/W25AOEEB.js +4 -0
  448. package/dist/collection/vendor/calcite-components/W3TNJWVO.js +4 -0
  449. package/dist/collection/vendor/calcite-components/WQHOMJR2.js +4 -0
  450. package/dist/collection/vendor/calcite-components/WW65BUEL.js +4 -0
  451. package/dist/collection/vendor/calcite-components/WWZTCRUR.js +4 -0
  452. package/dist/collection/vendor/calcite-components/X6UMFXM3.js +4 -0
  453. package/dist/collection/vendor/calcite-components/XCTRH7IZ.js +4 -0
  454. package/dist/collection/vendor/calcite-components/XJTPF3VE.js +4 -0
  455. package/dist/collection/vendor/calcite-components/XNWWFGXG.js +4 -0
  456. package/dist/collection/vendor/calcite-components/YG6EDHOT.js +4 -0
  457. package/dist/collection/vendor/calcite-components/YHRT6LHF.js +4 -0
  458. package/dist/collection/vendor/calcite-components/YMNIMOT5.js +4 -0
  459. package/dist/collection/vendor/calcite-components/YQDDGBKI.js +4 -0
  460. package/dist/collection/vendor/calcite-components/YYWX5ACS.js +4 -0
  461. package/dist/collection/vendor/calcite-components/Z5J5AV2N.js +4 -0
  462. package/dist/collection/vendor/calcite-components/Z5POWLIV.js +4 -0
  463. package/dist/collection/vendor/calcite-components/ZCF5FXJ6.js +4 -0
  464. package/dist/collection/vendor/calcite-components/ZCPJODER.js +4 -0
  465. package/dist/collection/vendor/calcite-components/ZIIE4X52.js +4 -0
  466. package/dist/collection/vendor/calcite-components/ZQ4RAM3U.js +4 -0
  467. package/dist/collection/vendor/calcite-components/ZXDWFKG4.js +4 -0
  468. package/dist/collection/vendor/calcite-components/assets/icon/hammerCoin16.json +1 -0
  469. package/dist/collection/vendor/calcite-components/assets/icon/hammerCoin24.json +1 -0
  470. package/dist/collection/vendor/calcite-components/assets/icon/hammerCoin32.json +1 -0
  471. package/dist/collection/vendor/calcite-components/assets/icon/hammerLock16.json +1 -0
  472. package/dist/collection/vendor/calcite-components/assets/icon/hammerLock24.json +1 -0
  473. package/dist/collection/vendor/calcite-components/assets/icon/hammerLock32.json +1 -0
  474. package/dist/collection/vendor/calcite-components/calcite.esm.js +2 -2
  475. package/dist/components/create-feature2.js +50 -47
  476. package/dist/components/create-related-feature2.js +1 -0
  477. package/dist/components/crowdsource-manager.js +2 -3
  478. package/dist/components/crowdsource-reporter.js +4 -2
  479. package/dist/components/edit-card2.js +1 -0
  480. package/dist/components/info-card2.js +3 -2
  481. package/dist/components/map-draw-tools2.js +2 -1
  482. package/dist/esm/asyncToGenerator-96b2368d.js +88 -0
  483. package/dist/esm/basemap-gallery_7.entry.js +2 -2
  484. package/dist/esm/buffer-tools_2.entry.js +4 -3
  485. package/dist/esm/card-manager_3.entry.js +4 -4
  486. package/dist/esm/consent-manager.entry.js +4 -4
  487. package/dist/esm/create-feature_4.entry.js +51 -47
  488. package/dist/esm/create-related-feature_3.entry.js +3 -2
  489. package/dist/esm/crowdsource-manager.entry.js +4 -5
  490. package/dist/esm/crowdsource-reporter.entry.js +5 -4
  491. package/dist/esm/delete-dialog.entry.js +2 -2
  492. package/dist/esm/downloadUtils-078cd709.js +3217 -0
  493. package/dist/esm/effects-38bc1195.js +81 -0
  494. package/dist/esm/feature-list.entry.js +5 -5
  495. package/dist/esm/helpers-15d5cd56.js +841 -0
  496. package/dist/esm/index.es-87662946.js +11108 -0
  497. package/dist/esm/instant-apps-app-guide.entry.js +4 -4
  498. package/dist/esm/instant-apps-ckeditor-wrapper_3.entry.js +5 -5
  499. package/dist/esm/instant-apps-control-panel.entry.js +2 -2
  500. package/dist/esm/instant-apps-create.entry.js +4 -4
  501. package/dist/esm/instant-apps-export-views.entry.js +4 -4
  502. package/dist/esm/instant-apps-export.entry.js +4 -4
  503. package/dist/esm/instant-apps-filter-list_2.entry.js +4 -4
  504. package/dist/esm/instant-apps-header.entry.js +2 -2
  505. package/dist/esm/instant-apps-interactive-legend-classic.entry.js +4 -4
  506. package/dist/esm/instant-apps-interactive-legend-count_2.entry.js +4 -4
  507. package/dist/esm/instant-apps-interactive-legend-group-legend-element-caption.entry.js +4 -4
  508. package/dist/esm/instant-apps-interactive-legend-group-legend-element_5.entry.js +4 -4
  509. package/dist/esm/instant-apps-interactive-legend.entry.js +6 -6
  510. package/dist/esm/instant-apps-keyboard-shortcuts.entry.js +4 -4
  511. package/dist/esm/instant-apps-language-switcher.entry.js +6 -6
  512. package/dist/esm/instant-apps-language-translator.entry.js +6 -6
  513. package/dist/esm/instant-apps-measurement-tool.entry.js +2 -2
  514. package/dist/esm/instant-apps-measurement.entry.js +4 -4
  515. package/dist/esm/instant-apps-popover.entry.js +4 -4
  516. package/dist/esm/instant-apps-scoreboard.entry.js +4 -4
  517. package/dist/esm/instant-apps-sign-in.entry.js +4 -4
  518. package/dist/esm/instant-apps-splash.entry.js +4 -4
  519. package/dist/esm/instant-apps-time-filter.entry.js +5 -5
  520. package/dist/esm/json-editor_7.entry.js +2 -2
  521. package/dist/esm/languageSwitcher-49bad3f4.js +49 -0
  522. package/dist/esm/languageUtil-2b6e191a.js +66 -0
  523. package/dist/esm/loadModules-947ccfd4.js +21 -0
  524. package/dist/esm/loader.js +1 -1
  525. package/dist/esm/locale-7874c756.js +155 -0
  526. package/dist/esm/locale-e02b0e14.js +938 -0
  527. package/dist/esm/map-layer-picker.entry.js +2 -2
  528. package/dist/esm/map-select-tools_3.entry.js +4 -4
  529. package/dist/esm/popupUtils-6a965512.js +119 -0
  530. package/dist/esm/public-notification.entry.js +4 -4
  531. package/dist/esm/solution-configuration.entry.js +2 -2
  532. package/dist/esm/solution-contents_3.entry.js +2 -2
  533. package/dist/esm/solution-item-accordion.entry.js +2 -2
  534. package/dist/esm/solutions-components.js +1 -1
  535. package/dist/esm/spatial-ref.entry.js +2 -2
  536. package/dist/esm/utils-6fe5b5fa.js +142 -0
  537. package/dist/solutions-components/assets/t9n/buffer-tools/resources_no.json +6 -0
  538. package/dist/solutions-components/assets/t9n/card-manager/resources_no.json +7 -0
  539. package/dist/solutions-components/assets/t9n/comment-card/resources_no.json +4 -0
  540. package/dist/solutions-components/assets/t9n/consent-manager/resources_no.json +5 -0
  541. package/dist/solutions-components/assets/t9n/create-feature/resources.json +1 -1
  542. package/dist/solutions-components/assets/t9n/create-feature/resources_ar.json +1 -1
  543. package/dist/solutions-components/assets/t9n/create-feature/resources_bg.json +1 -1
  544. package/dist/solutions-components/assets/t9n/create-feature/resources_bs.json +1 -1
  545. package/dist/solutions-components/assets/t9n/create-feature/resources_ca.json +1 -1
  546. package/dist/solutions-components/assets/t9n/create-feature/resources_cs.json +1 -1
  547. package/dist/solutions-components/assets/t9n/create-feature/resources_da.json +1 -1
  548. package/dist/solutions-components/assets/t9n/create-feature/resources_de.json +1 -1
  549. package/dist/solutions-components/assets/t9n/create-feature/resources_el.json +1 -1
  550. package/dist/solutions-components/assets/t9n/create-feature/resources_en.json +1 -1
  551. package/dist/solutions-components/assets/t9n/create-feature/resources_es.json +1 -1
  552. package/dist/solutions-components/assets/t9n/create-feature/resources_et.json +1 -1
  553. package/dist/solutions-components/assets/t9n/create-feature/resources_fi.json +1 -1
  554. package/dist/solutions-components/assets/t9n/create-feature/resources_fr.json +1 -1
  555. package/dist/solutions-components/assets/t9n/create-feature/resources_he.json +1 -1
  556. package/dist/solutions-components/assets/t9n/create-feature/resources_hr.json +1 -1
  557. package/dist/solutions-components/assets/t9n/create-feature/resources_hu.json +1 -1
  558. package/dist/solutions-components/assets/t9n/create-feature/resources_id.json +1 -1
  559. package/dist/solutions-components/assets/t9n/create-feature/resources_it.json +1 -1
  560. package/dist/solutions-components/assets/t9n/create-feature/resources_ja.json +1 -1
  561. package/dist/solutions-components/assets/t9n/create-feature/resources_ko.json +1 -1
  562. package/dist/solutions-components/assets/t9n/create-feature/resources_lt.json +1 -1
  563. package/dist/solutions-components/assets/t9n/create-feature/resources_lv.json +1 -1
  564. package/dist/solutions-components/assets/t9n/create-feature/resources_nb.json +1 -1
  565. package/dist/solutions-components/assets/t9n/create-feature/resources_nl.json +1 -1
  566. package/dist/solutions-components/assets/t9n/create-feature/resources_no.json +5 -0
  567. package/dist/solutions-components/assets/t9n/create-feature/resources_pl.json +1 -1
  568. package/dist/solutions-components/assets/t9n/create-feature/resources_pt-BR.json +1 -1
  569. package/dist/solutions-components/assets/t9n/create-feature/resources_pt-PT.json +1 -1
  570. package/dist/solutions-components/assets/t9n/create-feature/resources_ro.json +1 -1
  571. package/dist/solutions-components/assets/t9n/create-feature/resources_ru.json +1 -1
  572. package/dist/solutions-components/assets/t9n/create-feature/resources_sk.json +1 -1
  573. package/dist/solutions-components/assets/t9n/create-feature/resources_sl.json +1 -1
  574. package/dist/solutions-components/assets/t9n/create-feature/resources_sr.json +1 -1
  575. package/dist/solutions-components/assets/t9n/create-feature/resources_sv.json +1 -1
  576. package/dist/solutions-components/assets/t9n/create-feature/resources_th.json +1 -1
  577. package/dist/solutions-components/assets/t9n/create-feature/resources_tr.json +1 -1
  578. package/dist/solutions-components/assets/t9n/create-feature/resources_uk.json +1 -1
  579. package/dist/solutions-components/assets/t9n/create-feature/resources_vi.json +1 -1
  580. package/dist/solutions-components/assets/t9n/create-feature/resources_zh-CN.json +1 -1
  581. package/dist/solutions-components/assets/t9n/create-feature/resources_zh-HK.json +1 -1
  582. package/dist/solutions-components/assets/t9n/create-feature/resources_zh-TW.json +1 -1
  583. package/dist/solutions-components/assets/t9n/create-related-feature/resources_no.json +3 -0
  584. package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_ar.json +4 -1
  585. package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_bg.json +4 -1
  586. package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_bs.json +4 -1
  587. package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_ca.json +4 -1
  588. package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_cs.json +4 -1
  589. package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_da.json +4 -1
  590. package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_de.json +4 -1
  591. package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_el.json +4 -1
  592. package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_es.json +4 -1
  593. package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_et.json +4 -1
  594. package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_fi.json +4 -1
  595. package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_fr.json +4 -1
  596. package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_he.json +4 -1
  597. package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_hr.json +4 -1
  598. package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_hu.json +4 -1
  599. package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_id.json +4 -1
  600. package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_it.json +4 -1
  601. package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_ja.json +4 -1
  602. package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_ko.json +4 -1
  603. package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_lt.json +4 -1
  604. package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_lv.json +4 -1
  605. package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_nb.json +4 -1
  606. package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_nl.json +4 -1
  607. package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_no.json +15 -0
  608. package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_pl.json +4 -1
  609. package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_pt-BR.json +4 -1
  610. package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_pt-PT.json +4 -1
  611. package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_ro.json +4 -1
  612. package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_ru.json +4 -1
  613. package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_sk.json +4 -1
  614. package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_sl.json +4 -1
  615. package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_sr.json +4 -1
  616. package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_sv.json +4 -1
  617. package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_th.json +4 -1
  618. package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_tr.json +4 -1
  619. package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_uk.json +4 -1
  620. package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_vi.json +4 -1
  621. package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_zh-CN.json +4 -1
  622. package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_zh-HK.json +4 -1
  623. package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_zh-TW.json +4 -1
  624. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_ar.json +2 -1
  625. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_bg.json +2 -1
  626. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_bs.json +2 -1
  627. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_ca.json +2 -1
  628. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_cs.json +2 -1
  629. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_da.json +2 -1
  630. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_de.json +2 -1
  631. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_el.json +2 -1
  632. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_es.json +2 -1
  633. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_et.json +2 -1
  634. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_fi.json +2 -1
  635. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_fr.json +2 -1
  636. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_he.json +2 -1
  637. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_hr.json +2 -1
  638. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_hu.json +2 -1
  639. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_id.json +2 -1
  640. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_it.json +2 -1
  641. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_ja.json +2 -1
  642. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_ko.json +2 -1
  643. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_lt.json +2 -1
  644. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_lv.json +2 -1
  645. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_nb.json +2 -1
  646. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_nl.json +2 -1
  647. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_no.json +32 -0
  648. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_pl.json +2 -1
  649. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_pt-BR.json +2 -1
  650. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_pt-PT.json +2 -1
  651. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_ro.json +2 -1
  652. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_ru.json +2 -1
  653. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_sk.json +2 -1
  654. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_sl.json +2 -1
  655. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_sr.json +2 -1
  656. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_sv.json +2 -1
  657. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_th.json +2 -1
  658. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_tr.json +2 -1
  659. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_uk.json +2 -1
  660. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_vi.json +2 -1
  661. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_zh-CN.json +2 -1
  662. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_zh-HK.json +2 -1
  663. package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_zh-TW.json +2 -1
  664. package/dist/solutions-components/assets/t9n/delete-button/resources_no.json +8 -0
  665. package/dist/solutions-components/assets/t9n/edit-card/resources_no.json +3 -0
  666. package/dist/solutions-components/assets/t9n/feature-list/resources_no.json +8 -0
  667. package/dist/solutions-components/assets/t9n/info-card/resources_no.json +10 -0
  668. package/dist/solutions-components/assets/t9n/layer-list/resources_no.json +4 -0
  669. package/dist/solutions-components/assets/t9n/layer-table/resources_no.json +22 -0
  670. package/dist/solutions-components/assets/t9n/map-card/resources_no.json +10 -0
  671. package/dist/solutions-components/assets/t9n/map-draw-tools/resources_no.json +5 -0
  672. package/dist/solutions-components/assets/t9n/map-layer-picker/resources_no.json +5 -0
  673. package/dist/solutions-components/assets/t9n/map-picker/resources_no.json +3 -0
  674. package/dist/solutions-components/assets/t9n/map-search/resources_no.json +3 -0
  675. package/dist/solutions-components/assets/t9n/map-select-tools/resources_no.json +16 -0
  676. package/dist/solutions-components/assets/t9n/map-tools/resources_no.json +10 -0
  677. package/dist/solutions-components/assets/t9n/pdf-download/resources_no.json +3 -0
  678. package/dist/solutions-components/assets/t9n/public-notification/resources_no.json +44 -0
  679. package/dist/solutions-components/assets/t9n/refine-selection/resources_no.json +9 -0
  680. package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_ar.json +1 -1
  681. package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_bg.json +1 -1
  682. package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_bs.json +1 -1
  683. package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_ca.json +1 -1
  684. package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_cs.json +1 -1
  685. package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_da.json +1 -1
  686. package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_de.json +1 -1
  687. package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_el.json +1 -1
  688. package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_es.json +1 -1
  689. package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_et.json +1 -1
  690. package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_fi.json +1 -1
  691. package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_fr.json +1 -1
  692. package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_he.json +1 -1
  693. package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_hr.json +1 -1
  694. package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_hu.json +1 -1
  695. package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_id.json +1 -1
  696. package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_it.json +1 -1
  697. package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_ja.json +1 -1
  698. package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_ko.json +1 -1
  699. package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_lt.json +1 -1
  700. package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_lv.json +1 -1
  701. package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_nb.json +1 -1
  702. package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_nl.json +1 -1
  703. package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_no.json +3 -0
  704. package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_pl.json +1 -1
  705. package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_pt-BR.json +1 -1
  706. package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_pt-PT.json +1 -1
  707. package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_ro.json +1 -1
  708. package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_ru.json +1 -1
  709. package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_sk.json +1 -1
  710. package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_sl.json +1 -1
  711. package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_sr.json +1 -1
  712. package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_sv.json +1 -1
  713. package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_th.json +1 -1
  714. package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_tr.json +1 -1
  715. package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_uk.json +1 -1
  716. package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_vi.json +1 -1
  717. package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_zh-CN.json +1 -1
  718. package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_zh-HK.json +1 -1
  719. package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_zh-TW.json +1 -1
  720. package/dist/solutions-components/p-00ec642f.entry.js +6 -0
  721. package/dist/solutions-components/p-02c4e6fc.entry.js +6 -0
  722. package/dist/solutions-components/p-0326f1f4.entry.js +21 -0
  723. package/dist/solutions-components/p-08ad0b7a.js +6 -0
  724. package/dist/solutions-components/p-174fa218.js +6 -0
  725. package/dist/solutions-components/p-1e1dfef6.js +6 -0
  726. package/dist/solutions-components/p-244316dd.entry.js +6 -0
  727. package/dist/solutions-components/p-2884ca49.js +6 -0
  728. package/dist/solutions-components/p-3ce5c7fd.entry.js +6 -0
  729. package/dist/solutions-components/p-404cbf48.js +36 -0
  730. package/dist/solutions-components/p-41a3b49a.entry.js +6 -0
  731. package/dist/solutions-components/p-443168f0.entry.js +6 -0
  732. package/dist/solutions-components/p-4ced7b11.entry.js +6 -0
  733. package/dist/solutions-components/p-4d5dd39e.entry.js +6 -0
  734. package/dist/solutions-components/p-4e7514a3.entry.js +6 -0
  735. package/dist/solutions-components/p-4f7fb338.entry.js +6 -0
  736. package/dist/solutions-components/p-5786b9da.entry.js +6 -0
  737. package/dist/solutions-components/p-5a202f3f.entry.js +6 -0
  738. package/dist/solutions-components/p-65105504.entry.js +6 -0
  739. package/dist/solutions-components/p-698656b8.entry.js +6 -0
  740. package/dist/solutions-components/p-72d04c7a.entry.js +11 -0
  741. package/dist/solutions-components/p-832707fd.entry.js +6 -0
  742. package/dist/solutions-components/p-837e0939.entry.js +21 -0
  743. package/dist/solutions-components/p-84bb6925.js +6 -0
  744. package/dist/solutions-components/p-8859b622.entry.js +6 -0
  745. package/dist/solutions-components/p-89fbc318.js +6 -0
  746. package/dist/solutions-components/p-8a010f9e.entry.js +6 -0
  747. package/dist/solutions-components/p-8dd677dd.entry.js +6 -0
  748. package/dist/solutions-components/p-9927342d.entry.js +6 -0
  749. package/dist/solutions-components/p-a277d08c.entry.js +6 -0
  750. package/dist/solutions-components/p-a5eaf7fe.entry.js +6 -0
  751. package/dist/solutions-components/p-a6e763aa.entry.js +6 -0
  752. package/dist/solutions-components/p-aad84d69.entry.js +6 -0
  753. package/dist/solutions-components/p-ac122d9e.js +6 -0
  754. package/dist/solutions-components/p-b394f504.entry.js +6 -0
  755. package/dist/solutions-components/p-ba4e219a.entry.js +6 -0
  756. package/dist/solutions-components/p-bf04c6f4.js +21 -0
  757. package/dist/solutions-components/p-c6c697e5.entry.js +6 -0
  758. package/dist/solutions-components/p-d324196d.entry.js +6 -0
  759. package/dist/solutions-components/p-d65f8b73.js +6 -0
  760. package/dist/solutions-components/p-db3391b9.js +488 -0
  761. package/dist/solutions-components/p-dc188d13.js +61 -0
  762. package/dist/solutions-components/p-de42e8b2.entry.js +6 -0
  763. package/dist/solutions-components/p-ea566af0.entry.js +6 -0
  764. package/dist/solutions-components/p-eb3c867f.entry.js +6 -0
  765. package/dist/solutions-components/p-ec867c21.entry.js +6 -0
  766. package/dist/solutions-components/p-ed1ecb5b.entry.js +6 -0
  767. package/dist/solutions-components/p-ee3bb943.entry.js +6 -0
  768. package/dist/solutions-components/p-f165921f.entry.js +6 -0
  769. package/dist/solutions-components/p-f75786a8.entry.js +6 -0
  770. package/dist/solutions-components/p-f956c598.entry.js +6 -0
  771. package/dist/solutions-components/p-fa663804.entry.js +6 -0
  772. package/dist/solutions-components/p-ff317687.entry.js +6 -0
  773. package/dist/solutions-components/solutions-components.esm.js +1 -1
  774. package/dist/solutions-components/vendor/calcite-components/22LZVO5E.js +4 -0
  775. package/dist/solutions-components/vendor/calcite-components/2A6QEASM.js +4 -0
  776. package/dist/solutions-components/vendor/calcite-components/2BGT5TEK.js +4 -0
  777. package/dist/solutions-components/vendor/calcite-components/2CPYXWOG.js +4 -0
  778. package/dist/solutions-components/vendor/calcite-components/2GEBE6K3.js +4 -0
  779. package/dist/solutions-components/vendor/calcite-components/2QA56E26.js +4 -0
  780. package/dist/solutions-components/vendor/calcite-components/2YRZB4NM.js +4 -0
  781. package/dist/solutions-components/vendor/calcite-components/36XHP2FJ.js +4 -0
  782. package/dist/solutions-components/vendor/calcite-components/3COQK7PF.js +4 -0
  783. package/dist/solutions-components/vendor/calcite-components/3DM4HAHW.js +4 -0
  784. package/dist/solutions-components/vendor/calcite-components/3PTTJYHL.js +4 -0
  785. package/dist/solutions-components/vendor/calcite-components/3QHDLMLZ.js +4 -0
  786. package/dist/solutions-components/vendor/calcite-components/3QTJJQOU.js +4 -0
  787. package/dist/solutions-components/vendor/calcite-components/42IFRZST.js +4 -0
  788. package/dist/solutions-components/vendor/calcite-components/43WAE6RK.js +4 -0
  789. package/dist/solutions-components/vendor/calcite-components/4657LRIL.js +4 -0
  790. package/dist/solutions-components/vendor/calcite-components/4D34RBQ3.js +4 -0
  791. package/dist/solutions-components/vendor/calcite-components/4EMDDOBJ.js +4 -0
  792. package/dist/solutions-components/vendor/calcite-components/4IX3YHER.js +4 -0
  793. package/dist/solutions-components/vendor/calcite-components/4JFCCMPV.js +4 -0
  794. package/dist/solutions-components/vendor/calcite-components/4RVJ5ZT4.js +4 -0
  795. package/dist/solutions-components/vendor/calcite-components/53I6TTJJ.js +4 -0
  796. package/dist/solutions-components/vendor/calcite-components/54KMPSZ3.js +4 -0
  797. package/dist/solutions-components/vendor/calcite-components/555IAPRW.js +4 -0
  798. package/dist/solutions-components/vendor/calcite-components/5BBZL5AE.js +4 -0
  799. package/dist/solutions-components/vendor/calcite-components/5G52FOTN.js +4 -0
  800. package/dist/solutions-components/vendor/calcite-components/5GU33MPG.js +4 -0
  801. package/dist/solutions-components/vendor/calcite-components/5SFTADR5.js +4 -0
  802. package/dist/solutions-components/vendor/calcite-components/5WCCH3GL.js +4 -0
  803. package/dist/solutions-components/vendor/calcite-components/662YEAMX.js +4 -0
  804. package/dist/solutions-components/vendor/calcite-components/6FZUWDUT.js +4 -0
  805. package/dist/solutions-components/vendor/calcite-components/6PFLQ26Z.js +4 -0
  806. package/dist/solutions-components/vendor/calcite-components/6PJ43C67.js +4 -0
  807. package/dist/solutions-components/vendor/calcite-components/6TRPZGJP.js +4 -0
  808. package/dist/solutions-components/vendor/calcite-components/6TWWOPNX.js +4 -0
  809. package/dist/solutions-components/vendor/calcite-components/727HQUFD.js +4 -0
  810. package/dist/solutions-components/vendor/calcite-components/74RWJ4QY.js +4 -0
  811. package/dist/solutions-components/vendor/calcite-components/7AMBDXFL.js +4 -0
  812. package/dist/solutions-components/vendor/calcite-components/7BGF2YXV.js +5 -0
  813. package/dist/solutions-components/vendor/calcite-components/7KCRDGKA.js +4 -0
  814. package/dist/solutions-components/vendor/calcite-components/7LREBCFI.js +4 -0
  815. package/dist/solutions-components/vendor/calcite-components/7MTWQHV5.js +4 -0
  816. package/dist/solutions-components/vendor/calcite-components/7NELI6UD.js +4 -0
  817. package/dist/solutions-components/vendor/calcite-components/7PXHM6EH.js +4 -0
  818. package/dist/solutions-components/vendor/calcite-components/7R52MWAP.js +4 -0
  819. package/dist/solutions-components/vendor/calcite-components/A4XKVBOI.js +4 -0
  820. package/dist/solutions-components/vendor/calcite-components/A57QY65K.js +4 -0
  821. package/dist/solutions-components/vendor/calcite-components/A6VQQWXZ.js +4 -0
  822. package/dist/solutions-components/vendor/calcite-components/AIDMQYMU.js +4 -0
  823. package/dist/solutions-components/vendor/calcite-components/ASXEEA2B.js +4 -0
  824. package/dist/solutions-components/vendor/calcite-components/AWSMJMWQ.js +4 -0
  825. package/dist/solutions-components/vendor/calcite-components/AZ54J6HD.js +4 -0
  826. package/dist/solutions-components/vendor/calcite-components/B2ETPGYX.js +4 -0
  827. package/dist/solutions-components/vendor/calcite-components/B2JBOZ4Z.js +4 -0
  828. package/dist/solutions-components/vendor/calcite-components/B4FD6KD7.js +4 -0
  829. package/dist/solutions-components/vendor/calcite-components/B7E6VYNK.js +4 -0
  830. package/dist/solutions-components/vendor/calcite-components/BD6SDCR6.js +4 -0
  831. package/dist/solutions-components/vendor/calcite-components/BFQ3IRQW.js +4 -0
  832. package/dist/solutions-components/vendor/calcite-components/BW2NQ5TQ.js +4 -0
  833. package/dist/solutions-components/vendor/calcite-components/BZOMVSAG.js +4 -0
  834. package/dist/solutions-components/vendor/calcite-components/C3AZYUGU.js +4 -0
  835. package/dist/solutions-components/vendor/calcite-components/CBX7R3DS.js +4 -0
  836. package/dist/solutions-components/vendor/calcite-components/CCXXBM5B.js +4 -0
  837. package/dist/solutions-components/vendor/calcite-components/CG5B4XKZ.js +4 -0
  838. package/dist/solutions-components/vendor/calcite-components/CHGJHDWI.js +4 -0
  839. package/dist/solutions-components/vendor/calcite-components/CNADH63F.js +4 -0
  840. package/dist/solutions-components/vendor/calcite-components/CV3G4HMQ.js +4 -0
  841. package/dist/solutions-components/vendor/calcite-components/CWSVXKFX.js +4 -0
  842. package/dist/solutions-components/vendor/calcite-components/CY5O5AGQ.js +4 -0
  843. package/dist/solutions-components/vendor/calcite-components/D23ZXMLS.js +4 -0
  844. package/dist/solutions-components/vendor/calcite-components/D276FT6Z.js +4 -0
  845. package/dist/solutions-components/vendor/calcite-components/DG2T33QN.js +4 -0
  846. package/dist/solutions-components/vendor/calcite-components/DJQ34CXE.js +4 -0
  847. package/dist/solutions-components/vendor/calcite-components/DJREGHLR.js +6 -0
  848. package/dist/solutions-components/vendor/calcite-components/DMXUBDZW.js +4 -0
  849. package/dist/solutions-components/vendor/calcite-components/DNQY4EKR.js +4 -0
  850. package/dist/solutions-components/vendor/calcite-components/DPFVN4EN.js +4 -0
  851. package/dist/solutions-components/vendor/calcite-components/DRXWIPMI.js +4 -0
  852. package/dist/solutions-components/vendor/calcite-components/DRYFM2IO.js +4 -0
  853. package/dist/solutions-components/vendor/calcite-components/DUL66KKH.js +4 -0
  854. package/dist/solutions-components/vendor/calcite-components/DVC5KGLT.js +4 -0
  855. package/dist/solutions-components/vendor/calcite-components/E6X3KIZL.js +4 -0
  856. package/dist/solutions-components/vendor/calcite-components/EG6UCGFB.js +4 -0
  857. package/dist/solutions-components/vendor/calcite-components/EHAHKKFL.js +4 -0
  858. package/dist/solutions-components/vendor/calcite-components/EIMDRXSI.js +4 -0
  859. package/dist/solutions-components/vendor/calcite-components/EM7TVLTF.js +4 -0
  860. package/dist/solutions-components/vendor/calcite-components/EP7IEI22.js +4 -0
  861. package/dist/solutions-components/vendor/calcite-components/EWJY2L2V.js +4 -0
  862. package/dist/solutions-components/vendor/calcite-components/EYQQPU2W.js +4 -0
  863. package/dist/solutions-components/vendor/calcite-components/FB7CD3CH.js +4 -0
  864. package/dist/solutions-components/vendor/calcite-components/FDBZMO4P.js +4 -0
  865. package/dist/solutions-components/vendor/calcite-components/FFPGVFSC.js +4 -0
  866. package/dist/solutions-components/vendor/calcite-components/FGYULWTE.js +4 -0
  867. package/dist/solutions-components/vendor/calcite-components/FMKUEBDG.js +4 -0
  868. package/dist/solutions-components/vendor/calcite-components/FRM3YXTH.js +4 -0
  869. package/dist/solutions-components/vendor/calcite-components/FW6R63UX.js +4 -0
  870. package/dist/solutions-components/vendor/calcite-components/FXTXVVOM.js +4 -0
  871. package/dist/solutions-components/vendor/calcite-components/FXXGJ3RT.js +4 -0
  872. package/dist/solutions-components/vendor/calcite-components/FYHE5C5Q.js +4 -0
  873. package/dist/solutions-components/vendor/calcite-components/G33CDSRC.js +4 -0
  874. package/dist/solutions-components/vendor/calcite-components/G6XUWYVF.js +4 -0
  875. package/dist/solutions-components/vendor/calcite-components/GCIH5FK5.js +4 -0
  876. package/dist/solutions-components/vendor/calcite-components/GE5Y3RWM.js +4 -0
  877. package/dist/solutions-components/vendor/calcite-components/GEZNDNDH.js +4 -0
  878. package/dist/solutions-components/vendor/calcite-components/GNJWHQYO.js +4 -0
  879. package/dist/solutions-components/vendor/calcite-components/GZ5TMSIR.js +4 -0
  880. package/dist/solutions-components/vendor/calcite-components/GZJIMDTR.js +4 -0
  881. package/dist/solutions-components/vendor/calcite-components/H23GHBD2.js +5 -0
  882. package/dist/solutions-components/vendor/calcite-components/H2SIT2TB.js +4 -0
  883. package/dist/solutions-components/vendor/calcite-components/HC7MYCXC.js +4 -0
  884. package/dist/solutions-components/vendor/calcite-components/HD5QD64Q.js +4 -0
  885. package/dist/solutions-components/vendor/calcite-components/HDELZP2B.js +4 -0
  886. package/dist/solutions-components/vendor/calcite-components/HGDJL4SA.js +4 -0
  887. package/dist/solutions-components/vendor/calcite-components/HHVWJ7MU.js +4 -0
  888. package/dist/solutions-components/vendor/calcite-components/HJYTX5BK.js +4 -0
  889. package/dist/solutions-components/vendor/calcite-components/HMFDWMJH.js +4 -0
  890. package/dist/solutions-components/vendor/calcite-components/HXESYKZM.js +4 -0
  891. package/dist/solutions-components/vendor/calcite-components/I4BAPULM.js +4 -0
  892. package/dist/solutions-components/vendor/calcite-components/I6RIFD3V.js +5 -0
  893. package/dist/solutions-components/vendor/calcite-components/IDZWSTZZ.js +4 -0
  894. package/dist/solutions-components/vendor/calcite-components/IFAY5ZXB.js +4 -0
  895. package/dist/solutions-components/vendor/calcite-components/IO5HOHW4.js +4 -0
  896. package/dist/solutions-components/vendor/calcite-components/ISXEUIFH.js +4 -0
  897. package/dist/solutions-components/vendor/calcite-components/IXUF77L2.js +4 -0
  898. package/dist/solutions-components/vendor/calcite-components/J27B5CWI.js +4 -0
  899. package/dist/solutions-components/vendor/calcite-components/JAKKKROM.js +4 -0
  900. package/dist/solutions-components/vendor/calcite-components/JNDUGIK6.js +4 -0
  901. package/dist/solutions-components/vendor/calcite-components/JNNP4QF3.js +4 -0
  902. package/dist/solutions-components/vendor/calcite-components/JVSUOTAZ.js +4 -0
  903. package/dist/solutions-components/vendor/calcite-components/JWEMBAET.js +4 -0
  904. package/dist/solutions-components/vendor/calcite-components/JWKRGDRV.js +4 -0
  905. package/dist/solutions-components/vendor/calcite-components/JZQ73NRM.js +4 -0
  906. package/dist/solutions-components/vendor/calcite-components/K7OAUX24.js +4 -0
  907. package/dist/solutions-components/vendor/calcite-components/KKM7CKQA.js +4 -0
  908. package/dist/solutions-components/vendor/calcite-components/KMEUFDPK.js +4 -0
  909. package/dist/solutions-components/vendor/calcite-components/KNH6FSL4.js +4 -0
  910. package/dist/solutions-components/vendor/calcite-components/KPMQXN4M.js +4 -0
  911. package/dist/solutions-components/vendor/calcite-components/KWU2E4JE.js +4 -0
  912. package/dist/solutions-components/vendor/calcite-components/L4WAR5X4.js +4 -0
  913. package/dist/solutions-components/vendor/calcite-components/LKJAWTVJ.js +4 -0
  914. package/dist/solutions-components/vendor/calcite-components/LLS4XVIW.js +4 -0
  915. package/dist/solutions-components/vendor/calcite-components/LNECFRUM.js +4 -0
  916. package/dist/solutions-components/vendor/calcite-components/LYQ7FJT2.js +4 -0
  917. package/dist/solutions-components/vendor/calcite-components/M2KTEEUG.js +4 -0
  918. package/dist/solutions-components/vendor/calcite-components/M5OIZS7N.js +28 -0
  919. package/dist/solutions-components/vendor/calcite-components/M64PHLHQ.js +4 -0
  920. package/dist/solutions-components/vendor/calcite-components/MQ3MSMTP.js +4 -0
  921. package/dist/solutions-components/vendor/calcite-components/MTNJMPLV.js +4 -0
  922. package/dist/solutions-components/vendor/calcite-components/MXGPGCYC.js +4 -0
  923. package/dist/solutions-components/vendor/calcite-components/MYNPH67G.js +4 -0
  924. package/dist/solutions-components/vendor/calcite-components/N5OBZLJZ.js +4 -0
  925. package/dist/solutions-components/vendor/calcite-components/NJYFPOKV.js +4 -0
  926. package/dist/solutions-components/vendor/calcite-components/NJZE4A4X.js +4 -0
  927. package/dist/solutions-components/vendor/calcite-components/NSHK3NTJ.js +4 -0
  928. package/dist/solutions-components/vendor/calcite-components/NYER6YT7.js +4 -0
  929. package/dist/solutions-components/vendor/calcite-components/NYZ4ODDA.js +4 -0
  930. package/dist/solutions-components/vendor/calcite-components/O4AAP54K.js +4 -0
  931. package/dist/solutions-components/vendor/calcite-components/OETUMACB.js +4 -0
  932. package/dist/solutions-components/vendor/calcite-components/OFPYZZUF.js +4 -0
  933. package/dist/solutions-components/vendor/calcite-components/OFXV3CF7.js +4 -0
  934. package/dist/solutions-components/vendor/calcite-components/PAJGY3XV.js +4 -0
  935. package/dist/solutions-components/vendor/calcite-components/PENB3O7H.js +4 -0
  936. package/dist/solutions-components/vendor/calcite-components/PNCVHWAE.js +4 -0
  937. package/dist/solutions-components/vendor/calcite-components/PYGWJ6OV.js +4 -0
  938. package/dist/solutions-components/vendor/calcite-components/Q32GNFQO.js +22 -0
  939. package/dist/solutions-components/vendor/calcite-components/Q6HTE6MQ.js +4 -0
  940. package/dist/solutions-components/vendor/calcite-components/QAO6BQAD.js +4 -0
  941. package/dist/solutions-components/vendor/calcite-components/QBMZKO4M.js +4 -0
  942. package/dist/solutions-components/vendor/calcite-components/QCKKEDB2.js +4 -0
  943. package/dist/solutions-components/vendor/calcite-components/QQEBBK2A.js +4 -0
  944. package/dist/solutions-components/vendor/calcite-components/R4J2EZFU.js +4 -0
  945. package/dist/solutions-components/vendor/calcite-components/R5EHQKMO.js +4 -0
  946. package/dist/solutions-components/vendor/calcite-components/R7GOP347.js +4 -0
  947. package/dist/solutions-components/vendor/calcite-components/RBMLFM2L.js +4 -0
  948. package/dist/solutions-components/vendor/calcite-components/RBQ6BI6C.js +4 -0
  949. package/dist/solutions-components/vendor/calcite-components/REF7SAQQ.js +4 -0
  950. package/dist/solutions-components/vendor/calcite-components/REWMVFVL.js +4 -0
  951. package/dist/solutions-components/vendor/calcite-components/RI3WTZXE.js +4 -0
  952. package/dist/solutions-components/vendor/calcite-components/RL7IIXTZ.js +4 -0
  953. package/dist/solutions-components/vendor/calcite-components/RM7LSSHL.js +4 -0
  954. package/dist/solutions-components/vendor/calcite-components/RREZDRNN.js +4 -0
  955. package/dist/solutions-components/vendor/calcite-components/SHERIRO4.js +4 -0
  956. package/dist/solutions-components/vendor/calcite-components/SK7NKNHK.js +4 -0
  957. package/dist/solutions-components/vendor/calcite-components/SODGHLU2.js +4 -0
  958. package/dist/solutions-components/vendor/calcite-components/SP6U5EWI.js +4 -0
  959. package/dist/solutions-components/vendor/calcite-components/SQKZ5EZF.js +4 -0
  960. package/dist/solutions-components/vendor/calcite-components/SX4MCPF2.js +5 -0
  961. package/dist/solutions-components/vendor/calcite-components/TIGHTLQD.js +4 -0
  962. package/dist/solutions-components/vendor/calcite-components/TMKEB7G7.js +4 -0
  963. package/dist/solutions-components/vendor/calcite-components/TURDT3VB.js +4 -0
  964. package/dist/solutions-components/vendor/calcite-components/TX7QHHK5.js +4 -0
  965. package/dist/solutions-components/vendor/calcite-components/TYMOPXYL.js +4 -0
  966. package/dist/solutions-components/vendor/calcite-components/TZECTLA6.js +4 -0
  967. package/dist/solutions-components/vendor/calcite-components/U3RO6UCM.js +4 -0
  968. package/dist/solutions-components/vendor/calcite-components/U5FUMAFV.js +4 -0
  969. package/dist/solutions-components/vendor/calcite-components/UM5EV3V4.js +4 -0
  970. package/dist/solutions-components/vendor/calcite-components/UOX45Z7K.js +4 -0
  971. package/dist/solutions-components/vendor/calcite-components/UXTWTW75.js +4 -0
  972. package/dist/solutions-components/vendor/calcite-components/V5ZZKGAM.js +4 -0
  973. package/dist/solutions-components/vendor/calcite-components/VTA2PRG5.js +4 -0
  974. package/dist/solutions-components/vendor/calcite-components/VY37PIFG.js +4 -0
  975. package/dist/solutions-components/vendor/calcite-components/W25AOEEB.js +4 -0
  976. package/dist/solutions-components/vendor/calcite-components/W3TNJWVO.js +4 -0
  977. package/dist/solutions-components/vendor/calcite-components/WQHOMJR2.js +4 -0
  978. package/dist/solutions-components/vendor/calcite-components/WW65BUEL.js +4 -0
  979. package/dist/solutions-components/vendor/calcite-components/WWZTCRUR.js +4 -0
  980. package/dist/solutions-components/vendor/calcite-components/X6UMFXM3.js +4 -0
  981. package/dist/solutions-components/vendor/calcite-components/XCTRH7IZ.js +4 -0
  982. package/dist/solutions-components/vendor/calcite-components/XJTPF3VE.js +4 -0
  983. package/dist/solutions-components/vendor/calcite-components/XNWWFGXG.js +4 -0
  984. package/dist/solutions-components/vendor/calcite-components/YG6EDHOT.js +4 -0
  985. package/dist/solutions-components/vendor/calcite-components/YHRT6LHF.js +4 -0
  986. package/dist/solutions-components/vendor/calcite-components/YMNIMOT5.js +4 -0
  987. package/dist/solutions-components/vendor/calcite-components/YQDDGBKI.js +4 -0
  988. package/dist/solutions-components/vendor/calcite-components/YYWX5ACS.js +4 -0
  989. package/dist/solutions-components/vendor/calcite-components/Z5J5AV2N.js +4 -0
  990. package/dist/solutions-components/vendor/calcite-components/Z5POWLIV.js +4 -0
  991. package/dist/solutions-components/vendor/calcite-components/ZCF5FXJ6.js +4 -0
  992. package/dist/solutions-components/vendor/calcite-components/ZCPJODER.js +4 -0
  993. package/dist/solutions-components/vendor/calcite-components/ZIIE4X52.js +4 -0
  994. package/dist/solutions-components/vendor/calcite-components/ZQ4RAM3U.js +4 -0
  995. package/dist/solutions-components/vendor/calcite-components/ZXDWFKG4.js +4 -0
  996. package/dist/solutions-components/vendor/calcite-components/assets/icon/hammerCoin16.json +1 -0
  997. package/dist/solutions-components/vendor/calcite-components/assets/icon/hammerCoin24.json +1 -0
  998. package/dist/solutions-components/vendor/calcite-components/assets/icon/hammerCoin32.json +1 -0
  999. package/dist/solutions-components/vendor/calcite-components/assets/icon/hammerLock16.json +1 -0
  1000. package/dist/solutions-components/vendor/calcite-components/assets/icon/hammerLock24.json +1 -0
  1001. package/dist/solutions-components/vendor/calcite-components/assets/icon/hammerLock32.json +1 -0
  1002. package/dist/solutions-components/vendor/calcite-components/calcite.esm.js +2 -2
  1003. package/dist/solutions-components_commit.txt +6 -6
  1004. package/dist/types/components/create-feature/create-feature.d.ts +54 -50
  1005. package/dist/types/components/crowdsource-reporter/crowdsource-reporter.d.ts +4 -0
  1006. package/dist/types/components.d.ts +16 -0
  1007. package/package.json +2 -2
  1008. package/dist/cjs/asyncToGenerator-f169429a.js +0 -92
  1009. package/dist/cjs/downloadUtils-b269c7a1.js +0 -3223
  1010. package/dist/cjs/effects-2f75069e.js +0 -83
  1011. package/dist/cjs/helpers-69e520bd.js +0 -867
  1012. package/dist/cjs/index.es-644259ff.js +0 -11195
  1013. package/dist/cjs/languageSwitcher-c8e62594.js +0 -52
  1014. package/dist/cjs/languageUtil-bd49af69.js +0 -69
  1015. package/dist/cjs/loadModules-3b29fa24.js +0 -23
  1016. package/dist/cjs/locale-905e6063.js +0 -160
  1017. package/dist/cjs/locale-c923d7b6.js +0 -943
  1018. package/dist/cjs/popupUtils-5378e04a.js +0 -121
  1019. package/dist/cjs/utils-3739960f.js +0 -153
  1020. package/dist/collection/vendor/calcite-components/2BGOXXHV.js +0 -4
  1021. package/dist/collection/vendor/calcite-components/2EBGD5ZQ.js +0 -4
  1022. package/dist/collection/vendor/calcite-components/2HEEVITF.js +0 -4
  1023. package/dist/collection/vendor/calcite-components/2QBRISAS.js +0 -4
  1024. package/dist/collection/vendor/calcite-components/2SKIGCTJ.js +0 -4
  1025. package/dist/collection/vendor/calcite-components/2ZPEMPPG.js +0 -4
  1026. package/dist/collection/vendor/calcite-components/36DTW2EC.js +0 -4
  1027. package/dist/collection/vendor/calcite-components/36E6CTNX.js +0 -4
  1028. package/dist/collection/vendor/calcite-components/36HITQ3A.js +0 -4
  1029. package/dist/collection/vendor/calcite-components/3FJPBCHI.js +0 -4
  1030. package/dist/collection/vendor/calcite-components/3TINKPLC.js +0 -4
  1031. package/dist/collection/vendor/calcite-components/3TXD2SW4.js +0 -4
  1032. package/dist/collection/vendor/calcite-components/43C4CZJO.js +0 -4
  1033. package/dist/collection/vendor/calcite-components/44DZGTF5.js +0 -4
  1034. package/dist/collection/vendor/calcite-components/4IWRJJPT.js +0 -4
  1035. package/dist/collection/vendor/calcite-components/4L6L5YMT.js +0 -4
  1036. package/dist/collection/vendor/calcite-components/4NZHY4FQ.js +0 -4
  1037. package/dist/collection/vendor/calcite-components/4OSJHPNQ.js +0 -4
  1038. package/dist/collection/vendor/calcite-components/4ZNEZOAP.js +0 -4
  1039. package/dist/collection/vendor/calcite-components/4ZTXEQT4.js +0 -4
  1040. package/dist/collection/vendor/calcite-components/57U74PDQ.js +0 -4
  1041. package/dist/collection/vendor/calcite-components/5BEKT6RT.js +0 -4
  1042. package/dist/collection/vendor/calcite-components/5JAMHCQS.js +0 -6
  1043. package/dist/collection/vendor/calcite-components/5UP5TQJN.js +0 -4
  1044. package/dist/collection/vendor/calcite-components/5VK77MGP.js +0 -4
  1045. package/dist/collection/vendor/calcite-components/5ZFIOILW.js +0 -4
  1046. package/dist/collection/vendor/calcite-components/62G23PKY.js +0 -4
  1047. package/dist/collection/vendor/calcite-components/6A464LBG.js +0 -4
  1048. package/dist/collection/vendor/calcite-components/6KXUZBIZ.js +0 -4
  1049. package/dist/collection/vendor/calcite-components/6OCJIDQZ.js +0 -4
  1050. package/dist/collection/vendor/calcite-components/6PBZNCIY.js +0 -4
  1051. package/dist/collection/vendor/calcite-components/6SREDGMN.js +0 -4
  1052. package/dist/collection/vendor/calcite-components/73K4GSAV.js +0 -4
  1053. package/dist/collection/vendor/calcite-components/757M5TSP.js +0 -5
  1054. package/dist/collection/vendor/calcite-components/7F6EUEAO.js +0 -4
  1055. package/dist/collection/vendor/calcite-components/7GOGBJPD.js +0 -4
  1056. package/dist/collection/vendor/calcite-components/7PLD33LH.js +0 -4
  1057. package/dist/collection/vendor/calcite-components/7TNMI44V.js +0 -4
  1058. package/dist/collection/vendor/calcite-components/7VZFYJY5.js +0 -4
  1059. package/dist/collection/vendor/calcite-components/7XZR3QPX.js +0 -4
  1060. package/dist/collection/vendor/calcite-components/A3M4FM7N.js +0 -4
  1061. package/dist/collection/vendor/calcite-components/A5WZ32T6.js +0 -4
  1062. package/dist/collection/vendor/calcite-components/A6H6UTO7.js +0 -4
  1063. package/dist/collection/vendor/calcite-components/AA6WUYLQ.js +0 -4
  1064. package/dist/collection/vendor/calcite-components/ADRZSXZD.js +0 -4
  1065. package/dist/collection/vendor/calcite-components/AKXBPGJ4.js +0 -4
  1066. package/dist/collection/vendor/calcite-components/ALGCYGFE.js +0 -4
  1067. package/dist/collection/vendor/calcite-components/B3YKMJGM.js +0 -4
  1068. package/dist/collection/vendor/calcite-components/B6DZ4O5H.js +0 -4
  1069. package/dist/collection/vendor/calcite-components/B747CT5Q.js +0 -5
  1070. package/dist/collection/vendor/calcite-components/BAHKYVUM.js +0 -4
  1071. package/dist/collection/vendor/calcite-components/BTHSKXWS.js +0 -4
  1072. package/dist/collection/vendor/calcite-components/BWCV737I.js +0 -4
  1073. package/dist/collection/vendor/calcite-components/BZV465ZG.js +0 -4
  1074. package/dist/collection/vendor/calcite-components/C4A2PCZ4.js +0 -4
  1075. package/dist/collection/vendor/calcite-components/C5MKAGNV.js +0 -4
  1076. package/dist/collection/vendor/calcite-components/CK3TASCY.js +0 -4
  1077. package/dist/collection/vendor/calcite-components/D2MINRBA.js +0 -4
  1078. package/dist/collection/vendor/calcite-components/DDOM5RYZ.js +0 -4
  1079. package/dist/collection/vendor/calcite-components/DJ4JGNMM.js +0 -4
  1080. package/dist/collection/vendor/calcite-components/DL75ZJBG.js +0 -4
  1081. package/dist/collection/vendor/calcite-components/DO4RITGJ.js +0 -4
  1082. package/dist/collection/vendor/calcite-components/DSL2FNLA.js +0 -4
  1083. package/dist/collection/vendor/calcite-components/DTEHSI7W.js +0 -4
  1084. package/dist/collection/vendor/calcite-components/DUTPXINY.js +0 -4
  1085. package/dist/collection/vendor/calcite-components/DY22I2GZ.js +0 -4
  1086. package/dist/collection/vendor/calcite-components/DYN74HSB.js +0 -4
  1087. package/dist/collection/vendor/calcite-components/E3CWAGXE.js +0 -4
  1088. package/dist/collection/vendor/calcite-components/E3QBKOQQ.js +0 -4
  1089. package/dist/collection/vendor/calcite-components/EBFZRB3A.js +0 -4
  1090. package/dist/collection/vendor/calcite-components/ECGXAEDQ.js +0 -4
  1091. package/dist/collection/vendor/calcite-components/EGC7NBN5.js +0 -4
  1092. package/dist/collection/vendor/calcite-components/EILXZAAH.js +0 -4
  1093. package/dist/collection/vendor/calcite-components/EISHHIYI.js +0 -4
  1094. package/dist/collection/vendor/calcite-components/EN6Y5YN5.js +0 -4
  1095. package/dist/collection/vendor/calcite-components/ERDL4UCD.js +0 -4
  1096. package/dist/collection/vendor/calcite-components/EYPFBUR7.js +0 -4
  1097. package/dist/collection/vendor/calcite-components/F6DYUGAJ.js +0 -4
  1098. package/dist/collection/vendor/calcite-components/FAQ7B73H.js +0 -4
  1099. package/dist/collection/vendor/calcite-components/FAULLEJY.js +0 -4
  1100. package/dist/collection/vendor/calcite-components/FH7G4JPL.js +0 -28
  1101. package/dist/collection/vendor/calcite-components/FHAH57CK.js +0 -4
  1102. package/dist/collection/vendor/calcite-components/FHGZNYTT.js +0 -4
  1103. package/dist/collection/vendor/calcite-components/FLXOWNYW.js +0 -4
  1104. package/dist/collection/vendor/calcite-components/FVABUFOH.js +0 -4
  1105. package/dist/collection/vendor/calcite-components/G2JF63JV.js +0 -4
  1106. package/dist/collection/vendor/calcite-components/G63OZT6W.js +0 -4
  1107. package/dist/collection/vendor/calcite-components/GESC7PRY.js +0 -4
  1108. package/dist/collection/vendor/calcite-components/GIAH7CPN.js +0 -4
  1109. package/dist/collection/vendor/calcite-components/GNZIY4A2.js +0 -4
  1110. package/dist/collection/vendor/calcite-components/GPNKRGK6.js +0 -4
  1111. package/dist/collection/vendor/calcite-components/GSUR5POR.js +0 -4
  1112. package/dist/collection/vendor/calcite-components/GY22257T.js +0 -4
  1113. package/dist/collection/vendor/calcite-components/H2PEX7CU.js +0 -4
  1114. package/dist/collection/vendor/calcite-components/H2UMFA24.js +0 -4
  1115. package/dist/collection/vendor/calcite-components/H7D6N2ZS.js +0 -4
  1116. package/dist/collection/vendor/calcite-components/HALAA7KD.js +0 -4
  1117. package/dist/collection/vendor/calcite-components/HHC7VSD3.js +0 -4
  1118. package/dist/collection/vendor/calcite-components/HNGJKPNS.js +0 -4
  1119. package/dist/collection/vendor/calcite-components/HQLH54Q4.js +0 -4
  1120. package/dist/collection/vendor/calcite-components/HZLG5SUR.js +0 -4
  1121. package/dist/collection/vendor/calcite-components/HZUKYZNP.js +0 -4
  1122. package/dist/collection/vendor/calcite-components/IHBCPOXF.js +0 -4
  1123. package/dist/collection/vendor/calcite-components/IIERNP6W.js +0 -4
  1124. package/dist/collection/vendor/calcite-components/ILJVRQHM.js +0 -4
  1125. package/dist/collection/vendor/calcite-components/IQTGVLQG.js +0 -4
  1126. package/dist/collection/vendor/calcite-components/IRW4MFB4.js +0 -4
  1127. package/dist/collection/vendor/calcite-components/J4KGM5S7.js +0 -5
  1128. package/dist/collection/vendor/calcite-components/JCQBVDTR.js +0 -4
  1129. package/dist/collection/vendor/calcite-components/JCZIZMKQ.js +0 -4
  1130. package/dist/collection/vendor/calcite-components/JE5DGAJR.js +0 -4
  1131. package/dist/collection/vendor/calcite-components/JL7OLH3T.js +0 -4
  1132. package/dist/collection/vendor/calcite-components/JTWLPIB2.js +0 -4
  1133. package/dist/collection/vendor/calcite-components/K53JENHF.js +0 -4
  1134. package/dist/collection/vendor/calcite-components/K5ODBKLP.js +0 -4
  1135. package/dist/collection/vendor/calcite-components/KC4IYMUL.js +0 -4
  1136. package/dist/collection/vendor/calcite-components/KE7WVOAV.js +0 -4
  1137. package/dist/collection/vendor/calcite-components/KGJ4OJVP.js +0 -4
  1138. package/dist/collection/vendor/calcite-components/KI2CJ7JL.js +0 -4
  1139. package/dist/collection/vendor/calcite-components/KNE7ABCR.js +0 -4
  1140. package/dist/collection/vendor/calcite-components/KOFGYSC5.js +0 -4
  1141. package/dist/collection/vendor/calcite-components/KOH6G4XV.js +0 -4
  1142. package/dist/collection/vendor/calcite-components/KRO7CG2Q.js +0 -4
  1143. package/dist/collection/vendor/calcite-components/KRZW2DWF.js +0 -4
  1144. package/dist/collection/vendor/calcite-components/KSFXKRML.js +0 -4
  1145. package/dist/collection/vendor/calcite-components/KTJZCONU.js +0 -4
  1146. package/dist/collection/vendor/calcite-components/KXJRCIPX.js +0 -4
  1147. package/dist/collection/vendor/calcite-components/L5DK3NJQ.js +0 -4
  1148. package/dist/collection/vendor/calcite-components/LEAJPPH4.js +0 -4
  1149. package/dist/collection/vendor/calcite-components/LKNGKUUT.js +0 -4
  1150. package/dist/collection/vendor/calcite-components/LLYFYC3S.js +0 -4
  1151. package/dist/collection/vendor/calcite-components/LLYVXFI4.js +0 -4
  1152. package/dist/collection/vendor/calcite-components/LMPMNF4U.js +0 -4
  1153. package/dist/collection/vendor/calcite-components/LNUDHR7T.js +0 -4
  1154. package/dist/collection/vendor/calcite-components/LRXQU7WR.js +0 -4
  1155. package/dist/collection/vendor/calcite-components/MDS5OEJ4.js +0 -4
  1156. package/dist/collection/vendor/calcite-components/MEXPAXRW.js +0 -4
  1157. package/dist/collection/vendor/calcite-components/MI3K57KT.js +0 -4
  1158. package/dist/collection/vendor/calcite-components/MIOMFK6B.js +0 -4
  1159. package/dist/collection/vendor/calcite-components/MJII73PP.js +0 -4
  1160. package/dist/collection/vendor/calcite-components/MJIKLRLZ.js +0 -4
  1161. package/dist/collection/vendor/calcite-components/MQSDYLGW.js +0 -4
  1162. package/dist/collection/vendor/calcite-components/MWJLXQ5U.js +0 -4
  1163. package/dist/collection/vendor/calcite-components/N2PDJVSE.js +0 -4
  1164. package/dist/collection/vendor/calcite-components/NERFG233.js +0 -4
  1165. package/dist/collection/vendor/calcite-components/NIUBMFXO.js +0 -4
  1166. package/dist/collection/vendor/calcite-components/NK25FAZ6.js +0 -4
  1167. package/dist/collection/vendor/calcite-components/NK4ED4IH.js +0 -5
  1168. package/dist/collection/vendor/calcite-components/NOJTDKA6.js +0 -4
  1169. package/dist/collection/vendor/calcite-components/NUY7EYNX.js +0 -4
  1170. package/dist/collection/vendor/calcite-components/NWA7UYBI.js +0 -4
  1171. package/dist/collection/vendor/calcite-components/NWNWCSUO.js +0 -4
  1172. package/dist/collection/vendor/calcite-components/NYJ2KJKN.js +0 -4
  1173. package/dist/collection/vendor/calcite-components/O6RKIBH2.js +0 -4
  1174. package/dist/collection/vendor/calcite-components/OP2QHRHR.js +0 -4
  1175. package/dist/collection/vendor/calcite-components/P5ZVYEQW.js +0 -4
  1176. package/dist/collection/vendor/calcite-components/P6BFNJVU.js +0 -4
  1177. package/dist/collection/vendor/calcite-components/P6VB45CQ.js +0 -4
  1178. package/dist/collection/vendor/calcite-components/PNTWJB75.js +0 -4
  1179. package/dist/collection/vendor/calcite-components/PTUZR2XV.js +0 -4
  1180. package/dist/collection/vendor/calcite-components/QBNHVQWS.js +0 -4
  1181. package/dist/collection/vendor/calcite-components/QD6WQCPN.js +0 -4
  1182. package/dist/collection/vendor/calcite-components/QEBXFL3K.js +0 -4
  1183. package/dist/collection/vendor/calcite-components/QNRLRRZZ.js +0 -4
  1184. package/dist/collection/vendor/calcite-components/QTGKBVAW.js +0 -4
  1185. package/dist/collection/vendor/calcite-components/QVLHSABE.js +0 -4
  1186. package/dist/collection/vendor/calcite-components/RATZT6K7.js +0 -4
  1187. package/dist/collection/vendor/calcite-components/RAWIO5CJ.js +0 -4
  1188. package/dist/collection/vendor/calcite-components/RC4M4Q6U.js +0 -4
  1189. package/dist/collection/vendor/calcite-components/ROTKUEC4.js +0 -4
  1190. package/dist/collection/vendor/calcite-components/RRR3UCDP.js +0 -4
  1191. package/dist/collection/vendor/calcite-components/RXJQR5VC.js +0 -4
  1192. package/dist/collection/vendor/calcite-components/RYBJ6HQX.js +0 -4
  1193. package/dist/collection/vendor/calcite-components/S2CHZ5WW.js +0 -4
  1194. package/dist/collection/vendor/calcite-components/S5QILLXK.js +0 -4
  1195. package/dist/collection/vendor/calcite-components/S5WUGWLI.js +0 -4
  1196. package/dist/collection/vendor/calcite-components/SLILJOTA.js +0 -4
  1197. package/dist/collection/vendor/calcite-components/SZIQPAWB.js +0 -4
  1198. package/dist/collection/vendor/calcite-components/T2EFD7MK.js +0 -4
  1199. package/dist/collection/vendor/calcite-components/TJ6U6Y2A.js +0 -4
  1200. package/dist/collection/vendor/calcite-components/TRXE64SN.js +0 -4
  1201. package/dist/collection/vendor/calcite-components/TVXUNVVJ.js +0 -4
  1202. package/dist/collection/vendor/calcite-components/TZPOTIWO.js +0 -4
  1203. package/dist/collection/vendor/calcite-components/UKOMGWYV.js +0 -4
  1204. package/dist/collection/vendor/calcite-components/ULI2WHN6.js +0 -4
  1205. package/dist/collection/vendor/calcite-components/UPO2OA2C.js +0 -4
  1206. package/dist/collection/vendor/calcite-components/V7QQRUYR.js +0 -4
  1207. package/dist/collection/vendor/calcite-components/VA6SEF3H.js +0 -4
  1208. package/dist/collection/vendor/calcite-components/VCGYS6AC.js +0 -4
  1209. package/dist/collection/vendor/calcite-components/VHIVTMYL.js +0 -22
  1210. package/dist/collection/vendor/calcite-components/VIFJTMJE.js +0 -4
  1211. package/dist/collection/vendor/calcite-components/VKUXTBMA.js +0 -4
  1212. package/dist/collection/vendor/calcite-components/VYBRMYZA.js +0 -4
  1213. package/dist/collection/vendor/calcite-components/VYSYUSUT.js +0 -4
  1214. package/dist/collection/vendor/calcite-components/WHQERKO3.js +0 -4
  1215. package/dist/collection/vendor/calcite-components/WLKZ6TCC.js +0 -4
  1216. package/dist/collection/vendor/calcite-components/WRRV2226.js +0 -4
  1217. package/dist/collection/vendor/calcite-components/X5OT5VWP.js +0 -4
  1218. package/dist/collection/vendor/calcite-components/X7WD2RXW.js +0 -4
  1219. package/dist/collection/vendor/calcite-components/XGGCYCLU.js +0 -4
  1220. package/dist/collection/vendor/calcite-components/XJUGTTYP.js +0 -4
  1221. package/dist/collection/vendor/calcite-components/XK6ESUWM.js +0 -4
  1222. package/dist/collection/vendor/calcite-components/XODNGXTR.js +0 -4
  1223. package/dist/collection/vendor/calcite-components/XP22SQKN.js +0 -4
  1224. package/dist/collection/vendor/calcite-components/XUCLKKAR.js +0 -4
  1225. package/dist/collection/vendor/calcite-components/XWO5T62V.js +0 -4
  1226. package/dist/collection/vendor/calcite-components/XY7DR573.js +0 -4
  1227. package/dist/collection/vendor/calcite-components/Y4WWNYQO.js +0 -4
  1228. package/dist/collection/vendor/calcite-components/YF3UCGCR.js +0 -4
  1229. package/dist/collection/vendor/calcite-components/YH3WSHXS.js +0 -4
  1230. package/dist/collection/vendor/calcite-components/YOI4NTGG.js +0 -4
  1231. package/dist/collection/vendor/calcite-components/YP2GEKXK.js +0 -4
  1232. package/dist/collection/vendor/calcite-components/YQDF2N5J.js +0 -4
  1233. package/dist/collection/vendor/calcite-components/YRCGG4BE.js +0 -4
  1234. package/dist/collection/vendor/calcite-components/YTSHEMU3.js +0 -4
  1235. package/dist/collection/vendor/calcite-components/YUQIXR5A.js +0 -4
  1236. package/dist/collection/vendor/calcite-components/ZAY3SU5H.js +0 -4
  1237. package/dist/collection/vendor/calcite-components/ZFGK5MNZ.js +0 -4
  1238. package/dist/collection/vendor/calcite-components/ZITAONDY.js +0 -4
  1239. package/dist/collection/vendor/calcite-components/ZLW5U3G6.js +0 -4
  1240. package/dist/collection/vendor/calcite-components/ZNMXPSOQ.js +0 -4
  1241. package/dist/collection/vendor/calcite-components/ZSLV2NNR.js +0 -4
  1242. package/dist/esm/asyncToGenerator-e51717ed.js +0 -88
  1243. package/dist/esm/downloadUtils-d04d4095.js +0 -3217
  1244. package/dist/esm/effects-602e7b51.js +0 -81
  1245. package/dist/esm/helpers-520f100c.js +0 -841
  1246. package/dist/esm/index.es-ca80d0c5.js +0 -11108
  1247. package/dist/esm/languageSwitcher-ccdf79d4.js +0 -49
  1248. package/dist/esm/languageUtil-2bac3910.js +0 -66
  1249. package/dist/esm/loadModules-1b0b108c.js +0 -21
  1250. package/dist/esm/locale-15e42305.js +0 -155
  1251. package/dist/esm/locale-29d08ded.js +0 -938
  1252. package/dist/esm/popupUtils-b71abb01.js +0 -119
  1253. package/dist/esm/utils-89be1743.js +0 -142
  1254. package/dist/solutions-components/p-0132213f.entry.js +0 -21
  1255. package/dist/solutions-components/p-039ab075.js +0 -61
  1256. package/dist/solutions-components/p-04277d48.entry.js +0 -6
  1257. package/dist/solutions-components/p-04546ef6.js +0 -6
  1258. package/dist/solutions-components/p-0607044f.js +0 -6
  1259. package/dist/solutions-components/p-099379e6.entry.js +0 -6
  1260. package/dist/solutions-components/p-0b1c830a.entry.js +0 -6
  1261. package/dist/solutions-components/p-0ea99464.entry.js +0 -6
  1262. package/dist/solutions-components/p-1054e10a.entry.js +0 -6
  1263. package/dist/solutions-components/p-1adc6874.entry.js +0 -6
  1264. package/dist/solutions-components/p-258aa58e.js +0 -21
  1265. package/dist/solutions-components/p-29baf8a2.entry.js +0 -6
  1266. package/dist/solutions-components/p-2a1ed83a.entry.js +0 -6
  1267. package/dist/solutions-components/p-2a7f23fc.entry.js +0 -6
  1268. package/dist/solutions-components/p-2cb8c175.entry.js +0 -6
  1269. package/dist/solutions-components/p-2d3b8412.entry.js +0 -6
  1270. package/dist/solutions-components/p-2d8300ba.entry.js +0 -6
  1271. package/dist/solutions-components/p-3423b5ef.js +0 -6
  1272. package/dist/solutions-components/p-34338938.entry.js +0 -6
  1273. package/dist/solutions-components/p-36e3b39c.js +0 -488
  1274. package/dist/solutions-components/p-37cc79c6.entry.js +0 -6
  1275. package/dist/solutions-components/p-3f8b1062.entry.js +0 -6
  1276. package/dist/solutions-components/p-436b869c.entry.js +0 -6
  1277. package/dist/solutions-components/p-438fdc33.js +0 -6
  1278. package/dist/solutions-components/p-4454af38.entry.js +0 -6
  1279. package/dist/solutions-components/p-532ed572.entry.js +0 -6
  1280. package/dist/solutions-components/p-59a1c5a9.entry.js +0 -6
  1281. package/dist/solutions-components/p-6ac03d17.entry.js +0 -6
  1282. package/dist/solutions-components/p-6e879de9.entry.js +0 -6
  1283. package/dist/solutions-components/p-7bf7d67b.js +0 -6
  1284. package/dist/solutions-components/p-86b6f918.entry.js +0 -6
  1285. package/dist/solutions-components/p-8db12ee9.entry.js +0 -21
  1286. package/dist/solutions-components/p-8f973b3d.js +0 -6
  1287. package/dist/solutions-components/p-97abbf8f.entry.js +0 -6
  1288. package/dist/solutions-components/p-a397e773.js +0 -36
  1289. package/dist/solutions-components/p-b6a6fdcf.entry.js +0 -11
  1290. package/dist/solutions-components/p-b8f29a99.entry.js +0 -6
  1291. package/dist/solutions-components/p-ba472e45.entry.js +0 -6
  1292. package/dist/solutions-components/p-c3aac15b.entry.js +0 -6
  1293. package/dist/solutions-components/p-cd38fc53.js +0 -6
  1294. package/dist/solutions-components/p-d45b0400.entry.js +0 -6
  1295. package/dist/solutions-components/p-d885880a.entry.js +0 -6
  1296. package/dist/solutions-components/p-da1e4ff1.entry.js +0 -6
  1297. package/dist/solutions-components/p-dbf2c455.entry.js +0 -6
  1298. package/dist/solutions-components/p-dda0aa41.entry.js +0 -6
  1299. package/dist/solutions-components/p-e79b69e6.entry.js +0 -6
  1300. package/dist/solutions-components/p-edfcce2c.entry.js +0 -6
  1301. package/dist/solutions-components/p-f292f56e.entry.js +0 -6
  1302. package/dist/solutions-components/p-f36b4778.entry.js +0 -6
  1303. package/dist/solutions-components/p-f457e8be.entry.js +0 -6
  1304. package/dist/solutions-components/p-f93a9d92.js +0 -6
  1305. package/dist/solutions-components/p-f99a78f1.entry.js +0 -6
  1306. package/dist/solutions-components/p-fdf0d66f.entry.js +0 -6
  1307. package/dist/solutions-components/vendor/calcite-components/2BGOXXHV.js +0 -4
  1308. package/dist/solutions-components/vendor/calcite-components/2EBGD5ZQ.js +0 -4
  1309. package/dist/solutions-components/vendor/calcite-components/2HEEVITF.js +0 -4
  1310. package/dist/solutions-components/vendor/calcite-components/2QBRISAS.js +0 -4
  1311. package/dist/solutions-components/vendor/calcite-components/2SKIGCTJ.js +0 -4
  1312. package/dist/solutions-components/vendor/calcite-components/2ZPEMPPG.js +0 -4
  1313. package/dist/solutions-components/vendor/calcite-components/36DTW2EC.js +0 -4
  1314. package/dist/solutions-components/vendor/calcite-components/36E6CTNX.js +0 -4
  1315. package/dist/solutions-components/vendor/calcite-components/36HITQ3A.js +0 -4
  1316. package/dist/solutions-components/vendor/calcite-components/3FJPBCHI.js +0 -4
  1317. package/dist/solutions-components/vendor/calcite-components/3TINKPLC.js +0 -4
  1318. package/dist/solutions-components/vendor/calcite-components/3TXD2SW4.js +0 -4
  1319. package/dist/solutions-components/vendor/calcite-components/43C4CZJO.js +0 -4
  1320. package/dist/solutions-components/vendor/calcite-components/44DZGTF5.js +0 -4
  1321. package/dist/solutions-components/vendor/calcite-components/4IWRJJPT.js +0 -4
  1322. package/dist/solutions-components/vendor/calcite-components/4L6L5YMT.js +0 -4
  1323. package/dist/solutions-components/vendor/calcite-components/4NZHY4FQ.js +0 -4
  1324. package/dist/solutions-components/vendor/calcite-components/4OSJHPNQ.js +0 -4
  1325. package/dist/solutions-components/vendor/calcite-components/4ZNEZOAP.js +0 -4
  1326. package/dist/solutions-components/vendor/calcite-components/4ZTXEQT4.js +0 -4
  1327. package/dist/solutions-components/vendor/calcite-components/57U74PDQ.js +0 -4
  1328. package/dist/solutions-components/vendor/calcite-components/5BEKT6RT.js +0 -4
  1329. package/dist/solutions-components/vendor/calcite-components/5JAMHCQS.js +0 -6
  1330. package/dist/solutions-components/vendor/calcite-components/5UP5TQJN.js +0 -4
  1331. package/dist/solutions-components/vendor/calcite-components/5VK77MGP.js +0 -4
  1332. package/dist/solutions-components/vendor/calcite-components/5ZFIOILW.js +0 -4
  1333. package/dist/solutions-components/vendor/calcite-components/62G23PKY.js +0 -4
  1334. package/dist/solutions-components/vendor/calcite-components/6A464LBG.js +0 -4
  1335. package/dist/solutions-components/vendor/calcite-components/6KXUZBIZ.js +0 -4
  1336. package/dist/solutions-components/vendor/calcite-components/6OCJIDQZ.js +0 -4
  1337. package/dist/solutions-components/vendor/calcite-components/6PBZNCIY.js +0 -4
  1338. package/dist/solutions-components/vendor/calcite-components/6SREDGMN.js +0 -4
  1339. package/dist/solutions-components/vendor/calcite-components/73K4GSAV.js +0 -4
  1340. package/dist/solutions-components/vendor/calcite-components/757M5TSP.js +0 -5
  1341. package/dist/solutions-components/vendor/calcite-components/7F6EUEAO.js +0 -4
  1342. package/dist/solutions-components/vendor/calcite-components/7GOGBJPD.js +0 -4
  1343. package/dist/solutions-components/vendor/calcite-components/7PLD33LH.js +0 -4
  1344. package/dist/solutions-components/vendor/calcite-components/7TNMI44V.js +0 -4
  1345. package/dist/solutions-components/vendor/calcite-components/7VZFYJY5.js +0 -4
  1346. package/dist/solutions-components/vendor/calcite-components/7XZR3QPX.js +0 -4
  1347. package/dist/solutions-components/vendor/calcite-components/A3M4FM7N.js +0 -4
  1348. package/dist/solutions-components/vendor/calcite-components/A5WZ32T6.js +0 -4
  1349. package/dist/solutions-components/vendor/calcite-components/A6H6UTO7.js +0 -4
  1350. package/dist/solutions-components/vendor/calcite-components/AA6WUYLQ.js +0 -4
  1351. package/dist/solutions-components/vendor/calcite-components/ADRZSXZD.js +0 -4
  1352. package/dist/solutions-components/vendor/calcite-components/AKXBPGJ4.js +0 -4
  1353. package/dist/solutions-components/vendor/calcite-components/ALGCYGFE.js +0 -4
  1354. package/dist/solutions-components/vendor/calcite-components/B3YKMJGM.js +0 -4
  1355. package/dist/solutions-components/vendor/calcite-components/B6DZ4O5H.js +0 -4
  1356. package/dist/solutions-components/vendor/calcite-components/B747CT5Q.js +0 -5
  1357. package/dist/solutions-components/vendor/calcite-components/BAHKYVUM.js +0 -4
  1358. package/dist/solutions-components/vendor/calcite-components/BTHSKXWS.js +0 -4
  1359. package/dist/solutions-components/vendor/calcite-components/BWCV737I.js +0 -4
  1360. package/dist/solutions-components/vendor/calcite-components/BZV465ZG.js +0 -4
  1361. package/dist/solutions-components/vendor/calcite-components/C4A2PCZ4.js +0 -4
  1362. package/dist/solutions-components/vendor/calcite-components/C5MKAGNV.js +0 -4
  1363. package/dist/solutions-components/vendor/calcite-components/CK3TASCY.js +0 -4
  1364. package/dist/solutions-components/vendor/calcite-components/D2MINRBA.js +0 -4
  1365. package/dist/solutions-components/vendor/calcite-components/DDOM5RYZ.js +0 -4
  1366. package/dist/solutions-components/vendor/calcite-components/DJ4JGNMM.js +0 -4
  1367. package/dist/solutions-components/vendor/calcite-components/DL75ZJBG.js +0 -4
  1368. package/dist/solutions-components/vendor/calcite-components/DO4RITGJ.js +0 -4
  1369. package/dist/solutions-components/vendor/calcite-components/DSL2FNLA.js +0 -4
  1370. package/dist/solutions-components/vendor/calcite-components/DTEHSI7W.js +0 -4
  1371. package/dist/solutions-components/vendor/calcite-components/DUTPXINY.js +0 -4
  1372. package/dist/solutions-components/vendor/calcite-components/DY22I2GZ.js +0 -4
  1373. package/dist/solutions-components/vendor/calcite-components/DYN74HSB.js +0 -4
  1374. package/dist/solutions-components/vendor/calcite-components/E3CWAGXE.js +0 -4
  1375. package/dist/solutions-components/vendor/calcite-components/E3QBKOQQ.js +0 -4
  1376. package/dist/solutions-components/vendor/calcite-components/EBFZRB3A.js +0 -4
  1377. package/dist/solutions-components/vendor/calcite-components/ECGXAEDQ.js +0 -4
  1378. package/dist/solutions-components/vendor/calcite-components/EGC7NBN5.js +0 -4
  1379. package/dist/solutions-components/vendor/calcite-components/EILXZAAH.js +0 -4
  1380. package/dist/solutions-components/vendor/calcite-components/EISHHIYI.js +0 -4
  1381. package/dist/solutions-components/vendor/calcite-components/EN6Y5YN5.js +0 -4
  1382. package/dist/solutions-components/vendor/calcite-components/ERDL4UCD.js +0 -4
  1383. package/dist/solutions-components/vendor/calcite-components/EYPFBUR7.js +0 -4
  1384. package/dist/solutions-components/vendor/calcite-components/F6DYUGAJ.js +0 -4
  1385. package/dist/solutions-components/vendor/calcite-components/FAQ7B73H.js +0 -4
  1386. package/dist/solutions-components/vendor/calcite-components/FAULLEJY.js +0 -4
  1387. package/dist/solutions-components/vendor/calcite-components/FH7G4JPL.js +0 -28
  1388. package/dist/solutions-components/vendor/calcite-components/FHAH57CK.js +0 -4
  1389. package/dist/solutions-components/vendor/calcite-components/FHGZNYTT.js +0 -4
  1390. package/dist/solutions-components/vendor/calcite-components/FLXOWNYW.js +0 -4
  1391. package/dist/solutions-components/vendor/calcite-components/FVABUFOH.js +0 -4
  1392. package/dist/solutions-components/vendor/calcite-components/G2JF63JV.js +0 -4
  1393. package/dist/solutions-components/vendor/calcite-components/G63OZT6W.js +0 -4
  1394. package/dist/solutions-components/vendor/calcite-components/GESC7PRY.js +0 -4
  1395. package/dist/solutions-components/vendor/calcite-components/GIAH7CPN.js +0 -4
  1396. package/dist/solutions-components/vendor/calcite-components/GNZIY4A2.js +0 -4
  1397. package/dist/solutions-components/vendor/calcite-components/GPNKRGK6.js +0 -4
  1398. package/dist/solutions-components/vendor/calcite-components/GSUR5POR.js +0 -4
  1399. package/dist/solutions-components/vendor/calcite-components/GY22257T.js +0 -4
  1400. package/dist/solutions-components/vendor/calcite-components/H2PEX7CU.js +0 -4
  1401. package/dist/solutions-components/vendor/calcite-components/H2UMFA24.js +0 -4
  1402. package/dist/solutions-components/vendor/calcite-components/H7D6N2ZS.js +0 -4
  1403. package/dist/solutions-components/vendor/calcite-components/HALAA7KD.js +0 -4
  1404. package/dist/solutions-components/vendor/calcite-components/HHC7VSD3.js +0 -4
  1405. package/dist/solutions-components/vendor/calcite-components/HNGJKPNS.js +0 -4
  1406. package/dist/solutions-components/vendor/calcite-components/HQLH54Q4.js +0 -4
  1407. package/dist/solutions-components/vendor/calcite-components/HZLG5SUR.js +0 -4
  1408. package/dist/solutions-components/vendor/calcite-components/HZUKYZNP.js +0 -4
  1409. package/dist/solutions-components/vendor/calcite-components/IHBCPOXF.js +0 -4
  1410. package/dist/solutions-components/vendor/calcite-components/IIERNP6W.js +0 -4
  1411. package/dist/solutions-components/vendor/calcite-components/ILJVRQHM.js +0 -4
  1412. package/dist/solutions-components/vendor/calcite-components/IQTGVLQG.js +0 -4
  1413. package/dist/solutions-components/vendor/calcite-components/IRW4MFB4.js +0 -4
  1414. package/dist/solutions-components/vendor/calcite-components/J4KGM5S7.js +0 -5
  1415. package/dist/solutions-components/vendor/calcite-components/JCQBVDTR.js +0 -4
  1416. package/dist/solutions-components/vendor/calcite-components/JCZIZMKQ.js +0 -4
  1417. package/dist/solutions-components/vendor/calcite-components/JE5DGAJR.js +0 -4
  1418. package/dist/solutions-components/vendor/calcite-components/JL7OLH3T.js +0 -4
  1419. package/dist/solutions-components/vendor/calcite-components/JTWLPIB2.js +0 -4
  1420. package/dist/solutions-components/vendor/calcite-components/K53JENHF.js +0 -4
  1421. package/dist/solutions-components/vendor/calcite-components/K5ODBKLP.js +0 -4
  1422. package/dist/solutions-components/vendor/calcite-components/KC4IYMUL.js +0 -4
  1423. package/dist/solutions-components/vendor/calcite-components/KE7WVOAV.js +0 -4
  1424. package/dist/solutions-components/vendor/calcite-components/KGJ4OJVP.js +0 -4
  1425. package/dist/solutions-components/vendor/calcite-components/KI2CJ7JL.js +0 -4
  1426. package/dist/solutions-components/vendor/calcite-components/KNE7ABCR.js +0 -4
  1427. package/dist/solutions-components/vendor/calcite-components/KOFGYSC5.js +0 -4
  1428. package/dist/solutions-components/vendor/calcite-components/KOH6G4XV.js +0 -4
  1429. package/dist/solutions-components/vendor/calcite-components/KRO7CG2Q.js +0 -4
  1430. package/dist/solutions-components/vendor/calcite-components/KRZW2DWF.js +0 -4
  1431. package/dist/solutions-components/vendor/calcite-components/KSFXKRML.js +0 -4
  1432. package/dist/solutions-components/vendor/calcite-components/KTJZCONU.js +0 -4
  1433. package/dist/solutions-components/vendor/calcite-components/KXJRCIPX.js +0 -4
  1434. package/dist/solutions-components/vendor/calcite-components/L5DK3NJQ.js +0 -4
  1435. package/dist/solutions-components/vendor/calcite-components/LEAJPPH4.js +0 -4
  1436. package/dist/solutions-components/vendor/calcite-components/LKNGKUUT.js +0 -4
  1437. package/dist/solutions-components/vendor/calcite-components/LLYFYC3S.js +0 -4
  1438. package/dist/solutions-components/vendor/calcite-components/LLYVXFI4.js +0 -4
  1439. package/dist/solutions-components/vendor/calcite-components/LMPMNF4U.js +0 -4
  1440. package/dist/solutions-components/vendor/calcite-components/LNUDHR7T.js +0 -4
  1441. package/dist/solutions-components/vendor/calcite-components/LRXQU7WR.js +0 -4
  1442. package/dist/solutions-components/vendor/calcite-components/MDS5OEJ4.js +0 -4
  1443. package/dist/solutions-components/vendor/calcite-components/MEXPAXRW.js +0 -4
  1444. package/dist/solutions-components/vendor/calcite-components/MI3K57KT.js +0 -4
  1445. package/dist/solutions-components/vendor/calcite-components/MIOMFK6B.js +0 -4
  1446. package/dist/solutions-components/vendor/calcite-components/MJII73PP.js +0 -4
  1447. package/dist/solutions-components/vendor/calcite-components/MJIKLRLZ.js +0 -4
  1448. package/dist/solutions-components/vendor/calcite-components/MQSDYLGW.js +0 -4
  1449. package/dist/solutions-components/vendor/calcite-components/MWJLXQ5U.js +0 -4
  1450. package/dist/solutions-components/vendor/calcite-components/N2PDJVSE.js +0 -4
  1451. package/dist/solutions-components/vendor/calcite-components/NERFG233.js +0 -4
  1452. package/dist/solutions-components/vendor/calcite-components/NIUBMFXO.js +0 -4
  1453. package/dist/solutions-components/vendor/calcite-components/NK25FAZ6.js +0 -4
  1454. package/dist/solutions-components/vendor/calcite-components/NK4ED4IH.js +0 -5
  1455. package/dist/solutions-components/vendor/calcite-components/NOJTDKA6.js +0 -4
  1456. package/dist/solutions-components/vendor/calcite-components/NUY7EYNX.js +0 -4
  1457. package/dist/solutions-components/vendor/calcite-components/NWA7UYBI.js +0 -4
  1458. package/dist/solutions-components/vendor/calcite-components/NWNWCSUO.js +0 -4
  1459. package/dist/solutions-components/vendor/calcite-components/NYJ2KJKN.js +0 -4
  1460. package/dist/solutions-components/vendor/calcite-components/O6RKIBH2.js +0 -4
  1461. package/dist/solutions-components/vendor/calcite-components/OP2QHRHR.js +0 -4
  1462. package/dist/solutions-components/vendor/calcite-components/P5ZVYEQW.js +0 -4
  1463. package/dist/solutions-components/vendor/calcite-components/P6BFNJVU.js +0 -4
  1464. package/dist/solutions-components/vendor/calcite-components/P6VB45CQ.js +0 -4
  1465. package/dist/solutions-components/vendor/calcite-components/PNTWJB75.js +0 -4
  1466. package/dist/solutions-components/vendor/calcite-components/PTUZR2XV.js +0 -4
  1467. package/dist/solutions-components/vendor/calcite-components/QBNHVQWS.js +0 -4
  1468. package/dist/solutions-components/vendor/calcite-components/QD6WQCPN.js +0 -4
  1469. package/dist/solutions-components/vendor/calcite-components/QEBXFL3K.js +0 -4
  1470. package/dist/solutions-components/vendor/calcite-components/QNRLRRZZ.js +0 -4
  1471. package/dist/solutions-components/vendor/calcite-components/QTGKBVAW.js +0 -4
  1472. package/dist/solutions-components/vendor/calcite-components/QVLHSABE.js +0 -4
  1473. package/dist/solutions-components/vendor/calcite-components/RATZT6K7.js +0 -4
  1474. package/dist/solutions-components/vendor/calcite-components/RAWIO5CJ.js +0 -4
  1475. package/dist/solutions-components/vendor/calcite-components/RC4M4Q6U.js +0 -4
  1476. package/dist/solutions-components/vendor/calcite-components/ROTKUEC4.js +0 -4
  1477. package/dist/solutions-components/vendor/calcite-components/RRR3UCDP.js +0 -4
  1478. package/dist/solutions-components/vendor/calcite-components/RXJQR5VC.js +0 -4
  1479. package/dist/solutions-components/vendor/calcite-components/RYBJ6HQX.js +0 -4
  1480. package/dist/solutions-components/vendor/calcite-components/S2CHZ5WW.js +0 -4
  1481. package/dist/solutions-components/vendor/calcite-components/S5QILLXK.js +0 -4
  1482. package/dist/solutions-components/vendor/calcite-components/S5WUGWLI.js +0 -4
  1483. package/dist/solutions-components/vendor/calcite-components/SLILJOTA.js +0 -4
  1484. package/dist/solutions-components/vendor/calcite-components/SZIQPAWB.js +0 -4
  1485. package/dist/solutions-components/vendor/calcite-components/T2EFD7MK.js +0 -4
  1486. package/dist/solutions-components/vendor/calcite-components/TJ6U6Y2A.js +0 -4
  1487. package/dist/solutions-components/vendor/calcite-components/TRXE64SN.js +0 -4
  1488. package/dist/solutions-components/vendor/calcite-components/TVXUNVVJ.js +0 -4
  1489. package/dist/solutions-components/vendor/calcite-components/TZPOTIWO.js +0 -4
  1490. package/dist/solutions-components/vendor/calcite-components/UKOMGWYV.js +0 -4
  1491. package/dist/solutions-components/vendor/calcite-components/ULI2WHN6.js +0 -4
  1492. package/dist/solutions-components/vendor/calcite-components/UPO2OA2C.js +0 -4
  1493. package/dist/solutions-components/vendor/calcite-components/V7QQRUYR.js +0 -4
  1494. package/dist/solutions-components/vendor/calcite-components/VA6SEF3H.js +0 -4
  1495. package/dist/solutions-components/vendor/calcite-components/VCGYS6AC.js +0 -4
  1496. package/dist/solutions-components/vendor/calcite-components/VHIVTMYL.js +0 -22
  1497. package/dist/solutions-components/vendor/calcite-components/VIFJTMJE.js +0 -4
  1498. package/dist/solutions-components/vendor/calcite-components/VKUXTBMA.js +0 -4
  1499. package/dist/solutions-components/vendor/calcite-components/VYBRMYZA.js +0 -4
  1500. package/dist/solutions-components/vendor/calcite-components/VYSYUSUT.js +0 -4
  1501. package/dist/solutions-components/vendor/calcite-components/WHQERKO3.js +0 -4
  1502. package/dist/solutions-components/vendor/calcite-components/WLKZ6TCC.js +0 -4
  1503. package/dist/solutions-components/vendor/calcite-components/WRRV2226.js +0 -4
  1504. package/dist/solutions-components/vendor/calcite-components/X5OT5VWP.js +0 -4
  1505. package/dist/solutions-components/vendor/calcite-components/X7WD2RXW.js +0 -4
  1506. package/dist/solutions-components/vendor/calcite-components/XGGCYCLU.js +0 -4
  1507. package/dist/solutions-components/vendor/calcite-components/XJUGTTYP.js +0 -4
  1508. package/dist/solutions-components/vendor/calcite-components/XK6ESUWM.js +0 -4
  1509. package/dist/solutions-components/vendor/calcite-components/XODNGXTR.js +0 -4
  1510. package/dist/solutions-components/vendor/calcite-components/XP22SQKN.js +0 -4
  1511. package/dist/solutions-components/vendor/calcite-components/XUCLKKAR.js +0 -4
  1512. package/dist/solutions-components/vendor/calcite-components/XWO5T62V.js +0 -4
  1513. package/dist/solutions-components/vendor/calcite-components/XY7DR573.js +0 -4
  1514. package/dist/solutions-components/vendor/calcite-components/Y4WWNYQO.js +0 -4
  1515. package/dist/solutions-components/vendor/calcite-components/YF3UCGCR.js +0 -4
  1516. package/dist/solutions-components/vendor/calcite-components/YH3WSHXS.js +0 -4
  1517. package/dist/solutions-components/vendor/calcite-components/YOI4NTGG.js +0 -4
  1518. package/dist/solutions-components/vendor/calcite-components/YP2GEKXK.js +0 -4
  1519. package/dist/solutions-components/vendor/calcite-components/YQDF2N5J.js +0 -4
  1520. package/dist/solutions-components/vendor/calcite-components/YRCGG4BE.js +0 -4
  1521. package/dist/solutions-components/vendor/calcite-components/YTSHEMU3.js +0 -4
  1522. package/dist/solutions-components/vendor/calcite-components/YUQIXR5A.js +0 -4
  1523. package/dist/solutions-components/vendor/calcite-components/ZAY3SU5H.js +0 -4
  1524. package/dist/solutions-components/vendor/calcite-components/ZFGK5MNZ.js +0 -4
  1525. package/dist/solutions-components/vendor/calcite-components/ZITAONDY.js +0 -4
  1526. package/dist/solutions-components/vendor/calcite-components/ZLW5U3G6.js +0 -4
  1527. package/dist/solutions-components/vendor/calcite-components/ZNMXPSOQ.js +0 -4
  1528. package/dist/solutions-components/vendor/calcite-components/ZSLV2NNR.js +0 -4
  1529. /package/dist/cjs/{esri-loader-1e8cc247.js → esri-loader-08dc41bd.js} +0 -0
  1530. /package/dist/cjs/{typeof-eba0a941.js → typeof-2a7e2dec.js} +0 -0
  1531. /package/dist/esm/{esri-loader-d10d860d.js → esri-loader-c6842c6b.js} +0 -0
  1532. /package/dist/esm/{typeof-a3e780e1.js → typeof-ef2a007d.js} +0 -0
  1533. /package/dist/solutions-components/{p-3b3f77bc.js → p-0a24ad5f.js} +0 -0
  1534. /package/dist/solutions-components/{p-19bce2cc.js → p-4fe489cf.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 i,h as s,H as o,g as e}from"./p-e996c38f.js";import{l as n}from"./p-438fdc33.js";import{b as a}from"./p-8f973b3d.js";import{w as r}from"./p-04674a1e.js";import"./p-3b3f77bc.js";import"./p-d4056c1c.js";import"./p-3423b5ef.js";const l="instant-apps-scoreboard",d=`${l}--`,c=`${l}__`,h=r.medium[1],p={BASE:l,itemsContainer:`${c}items-container`,items:`${c}items`,item:`${c}item`,label:`${c}item-label`,value:`${c}item-value`,valuePlaceholder:`${c}item-value-placeholder`,position:{bottom:`${c}position--bottom`,side:`${c}position--side`,left:`${c}position--left`,right:`${c}position--right`},mode:{floating:`${c}mode--floating`,pinned:`${c}mode--pinned`}},b=class{constructor(s){t(this,s),this.scoreboardItemsUpdated=i(this,"scoreboardItemsUpdated",7),this.view=void 0,this.items=void 0,this.position="bottom",this.mode="floating",this.itemLimit=6,this.autoDockEnabled=!0,this.geometry=null,this.queryType="layerView",this.state="loading",this.messages=void 0,this.itemIndex=0,this.layers=void 0,this.layerViews=void 0,this.isMobile=!1}scoreboardItemsUpdatedHandler(){this.scoreboardItemsUpdated.emit(this.items)}generateUIDs(){this.itemIndex=0,this.items.forEach(this.generateUID())}async storeLayers(){this.state="calculating",await this.view.map.loadAll();const t=this.items.map((t=>{var i;return null===(i=null==t?void 0:t.layer)||void 0===i?void 0:i.id}));this.layers=this.view.map.allLayers.filter((i=>(i=>(t=>!t.isTable)(i)&&(t=>"feature"===t.type||"scene"===t.type)(i)&&(i=>t.indexOf(i.id)>-1)(i))(i))),this.watchLayerVisibility()}async storeLayerViews(){if(this.layers&&this.layers.length>0){this.layers.forEach((t=>t.outFields=["*"]));const t=[];this.layers.forEach((i=>{const s=this.view.whenLayerView(i);t.push(s)}));const i=(await Promise.allSettled(t)).filter((t=>"fulfilled"==t.status&&t.value)).map((t=>t.value)),s=[];i.forEach((t=>{var i;return s.push(null===(i=this.reactiveUtils)||void 0===i?void 0:i.whenOnce((()=>!t.updating)))})),await Promise.all(s),this.layerViews=new this.Collection([...i])}}calculateScoreboardItemValuesFromGeometry(){this.calculateScoreboardItemValues()}async calculateScoreboardItemValues(){if(this.layers&&0===this.layers.length||this.layerViews&&0===this.layerViews.length)return;this.state="calculating";const t=[...this.items],i=[];this.queryStatDefinitions(t,i);const s=await Promise.all(i);this.handleQueryFeaturesResponses(s,t),this.items.length=0,t.forEach((t=>this.items.push(t))),this.state="complete",this.scoreboardItemsUpdatedHandler(),this.initStationaryWatcher()}async componentWillLoad(){var t;new ResizeObserver((()=>{this.itemIndex=0,this.autoDockEnabled&&(this.isMobile=!!this.checkMobile)})).observe(null===(t=this.el)||void 0===t?void 0:t.parentElement);try{this.state="loading",await this.initMessages()}catch(t){return this.state="disabled",Promise.reject()}finally{if(!this.view||!this.items)return this.state="disabled",Promise.reject();try{return await this.initModules(),Promise.resolve()}catch(t){return this.state="disabled",Promise.reject()}}}async componentDidLoad(){var t;if("disabled"!==this.state)try{await(null===(t=this.reactiveUtils)||void 0===t?void 0:t.whenOnce((()=>{var t;return null===(t=this.view)||void 0===t?void 0:t.ready}))),this.generateUIDs(),await this.loadMapResources(),this.storeLayers(),this.initViewUpdateWatcher()}catch(t){this.state="disabled",console.error(`${l}: FAILED TO LOAD MAP RESOURCES`)}}disconnectedCallback(){var t,i,s,o,e,n;this.state="disabled",this.itemIndex=0,null===(t=this.layers)||void 0===t||t.removeAll(),null===(i=this.layers)||void 0===i||i.destroy(),this.layers=null,null===(s=this.layerViews)||void 0===s||s.removeAll(),null===(o=this.layerViews)||void 0===o||o.destroy(),this.layerViews=null,null===(e=this.handles)||void 0===e||e.removeAll(),null===(n=this.handles)||void 0===n||n.destroy(),this.handles=null}async initMessages(){let t;try{return t=(await a(this.el))[0],this.messages=Object.assign(Object.assign({},this.messages),t),Promise.resolve()}catch(t){console.error("FAILED TO LOAD MESSAGES"),Promise.reject()}}async initModules(){try{const[t,i,s,o]=await n(["esri/core/Handles","esri/core/reactiveUtils","esri/core/Collection","esri/intl"]);return this.reactiveUtils=i,this.Collection=s,this.intl=o,this.handles=new t,this.layers=new s,this.layerViews=new s,Promise.resolve()}catch(t){return console.error(t),this.state="disabled",Promise.reject()}}async loadMapResources(){const{map:t}=this.view,i=t;try{return await i.loadAll(),Promise.resolve()}catch(t){return console.error(t),this.state="disabled",Promise.reject()}}generateUID(){return t=>{const i=Math.random(),s=Math.floor(10*Math.random())+11,o=i.toString(s).replace("0.","");t.uid=o}}render(){var t,i;const{state:e}=this,n="disabled"===e,a="loading"===e||"calculating"===e||"layerView"===this.queryType&&(null===(t=this.view)||void 0===t?void 0:t.updating)?this.renderProgress():null;return s(o,{key:"5a7e3fdc0753d3f951a71397519ebf07ecd68e03",class:`${this.getPositionClass} ${this.getStyleClass}`},n?null:[a,(null===(i=this.items)||void 0===i?void 0:i.length)>0?this.renderBase():null])}renderBase(){return s("div",{key:"instant-apps-scoreboard-base",class:l},this.renderContent())}renderContent(){const{state:t}=this;return"loading"===t?this.renderLoader():"calculating"===t||"complete"===t?this.renderItemsContainer():null}renderItemsContainer(){const[t,i]=this.renderPreviousNextButtons();return s("div",{class:p.itemsContainer},t,this.renderItems(),i)}renderPreviousNextButtons(){var t,i,o;const e=this.getItemLimit(),n=(null===(t=this.items.filter((t=>t.visible)))||void 0===t?void 0:t.length)<=e,a=0===this.itemIndex,r=this.isEnd,l=!!this.isMobile||"bottom"===this.position,d=l?"start":"center",c={previous:l?"chevron-left":"chevron-up",next:l?"chevron-right":"chevron-down"},h=a||n?"blank":c.previous,p=r||n?"blank":c.next,b={previous:a||n,next:r||n},u="transparent",m=this.isMobile?"s":"l",v={previous:null===(i=this.messages)||void 0===i?void 0:i.previous,next:null===(o=this.messages)||void 0===o?void 0:o.next};return[s("calcite-action",{onClick:this.previousItem.bind(this),icon:h,disabled:b.previous,alignment:d,scale:m,appearance:u,text:v.previous,label:v.previous}),s("calcite-action",{onClick:this.nextItem.bind(this),icon:p,disabled:b.next,alignment:d,scale:m,appearance:u,text:v.next,label:v.next})]}renderItems(){const{items:t}=p,i=this.getItemsToDisplay.map((t=>this.renderItem(t)));return s("ul",{class:t},i)}renderItem(t){const{label:i}=t;return s("li",{class:p.item},s("span",{class:p.label,title:i},i),this.renderValue(t))}renderValue(t){var i,o,e;const{displayValue:n}=t,a="disabled"===this.state,r=void 0===n&&"calculating"===this.state,l=n||(null===(i=this.messages)||void 0===i?void 0:i.NA),d=null===(o=this.layers)||void 0===o?void 0:o.find((i=>{var s;return(null===(s=null==t?void 0:t.layer)||void 0===s?void 0:s.id)===i.id})),c=!(null==d?void 0:d.visible),h=r?this.renderValuePlaceholder():a?"":c?s("calcite-icon",{icon:"view-hide",scale:"l",title:null===(e=this.messages)||void 0===e?void 0:e.layerVisibilityOff}):l;return s("span",{class:p.value},h)}renderValuePlaceholder(){return s("span",{class:p.valuePlaceholder})}renderProgress(){return s("calcite-progress",{key:`${d}calcite-progress`,type:"indeterminate"})}renderLoader(){var t;const i=null===(t=this.messages)||void 0===t?void 0:t.loading;return s("calcite-loader",{key:`${d}calcite-loader`,label:i,text:i,scale:"m"})}get getPositionClass(){const{bottom:t,left:i,right:s,side:o}=p.position;return this.isMobile||"bottom"===this.position?t:`${"left"===this.position?i:s} ${o}`}get getStyleClass(){const{floating:t,pinned:i}=p.mode;return this.isMobile?i:"floating"===this.mode?t:i}get checkMobile(){var t,i;const s=null===(i=null===(t=this.el)||void 0===t?void 0:t.parentElement)||void 0===i?void 0:i.offsetWidth;return!isNaN(s)&&s>0&&s<h}get getItemsToDisplay(){const t=this.getItemLimit();return this.items.filter((t=>t.visible)).slice(this.itemIndex,t+this.itemIndex)}get isEnd(){const t=this.getItemLimit(),i=this.items.slice(this.items.length-t).map((t=>t.uid)),s=this.items.slice(this.itemIndex,this.itemIndex+t).map((t=>t.uid));return i.every(((t,i)=>t===s[i]))}previousItem(){this.itemIndex=this.itemIndex-1}nextItem(){this.itemIndex=this.itemIndex+1}queryStatDefinitions(t,i){const s=(t,i)=>{var s,o,e,n,a;const r="layer"===this.queryType?t.layer.createQuery():t.createQuery(),l=this.geometry?this.geometry:this.view.extent;r.outStatistics=[i],r.geometry=l;const d=null!==(a=null!==(o=null===(s=null==t?void 0:t.filter)||void 0===s?void 0:s.timeExtent)&&void 0!==o?o:null===(n=null===(e=null==t?void 0:t.featureEffect)||void 0===e?void 0:e.filter)||void 0===n?void 0:n.timeExtent)&&void 0!==a?a:null;return d&&(r.timeExtent=d),r};t.forEach((()=>async t=>{var o;const e=null===(o=this.layerViews)||void 0===o?void 0:o.find((i=>{var s;return i.layer.id===(null===(s=null==t?void 0:t.layer)||void 0===s?void 0:s.id)}));if(!e)return;const n=(t=>{const{field:i,operation:s}=t;return{onStatisticField:i,outStatisticFieldName:`${i}_${s}`,statisticType:s}})(t),a=s(e,n),r="layer"===this.queryType?e.layer.queryFeatures(a):e.queryFeatures(a);i.push(r)})())}handleQueryFeaturesResponses(t,i){t.forEach((()=>(t,s)=>{const o=(t=>{const i=t.features[0],{attributes:s}=i;return Object.values(s)[0]})(t),e=null!==o,n=e?this.intl.formatNumber(o,{notation:"compact",compactDisplay:"short"}):null;i[s].displayValue=e?`${n}`:"",i[s].value=o})())}initStationaryWatcher(){var t,i;const s={once:!0,initial:!0},o=()=>{var t;return null===(t=this.reactiveUtils)||void 0===t?void 0:t.when((()=>{var t;return!(null===(t=this.view)||void 0===t?void 0:t.interacting)}),(()=>{"layerView"===this.queryType&&this.calculateScoreboardItemValues()}),s)},e="stationary-watcher-key";(null===(t=this.handles)||void 0===t?void 0:t.has(e))&&this.handles.remove(e),null===(i=this.handles)||void 0===i||i.add((()=>{var t;return null===(t=this.reactiveUtils)||void 0===t?void 0:t.when((()=>{var t;return null===(t=this.view)||void 0===t?void 0:t.stationary}),(()=>o()))})(),e)}initViewUpdateWatcher(){return this.reactiveUtils.watch((()=>{var t;return null===(t=this.view)||void 0===t?void 0:t.updating}),(()=>{this.reactiveUtils.when((()=>{var t;return!(null===(t=this.view)||void 0===t?void 0:t.updating)}),(()=>{"layerView"===this.queryType&&this.calculateScoreboardItemValues()}),{once:!0,initial:!0})}),{initial:!0})}watchLayerVisibility(){var t,i;if(!this.layers)return;const s="visbilityWatcherKey";null===(t=this.handles)||void 0===t||t.remove(s);const o=[];this.layers.forEach((t=>{const i=async()=>{const i=await this.view.whenLayerView(t);await this.reactiveUtils.whenOnce((()=>!1===(null==i?void 0:i.updating))),this.calculateScoreboardItemValues()},s=this.reactiveUtils.watch((()=>null==t?void 0:t.visible),(async()=>i()));o.push(s)})),null===(i=this.handles)||void 0===i||i.add([...o],s)}getItemLimit(){return this.itemLimit<2||this.itemLimit>6?6:this.itemLimit}get el(){return e(this)}static get watchers(){return{items:["generateUIDs","storeLayers"],layers:["storeLayerViews"],geometry:["calculateScoreboardItemValuesFromGeometry"],layerViews:["calculateScoreboardItemValues"]}}};b.style=":host{display:block;--instant-apps-scoreboard-background-color:var(--calcite-color-foreground-1);--instant-apps-scoreboard-text-color:var(--calcite-color-text-1);--instant-apps-scoreboard-mobile-position-bottom:0;background-color:var(--instant-apps-scoreboard-background-color);color:var(--instant-apps-scoreboard-text-color)}:host .instant-apps-scoreboard{box-sizing:border-box;border:1px solid var(--calcite-color-border-1);box-shadow:0px 3px 15px rgba(0, 0, 0, 0.2);border-radius:3px}:host .instant-apps-scoreboard calcite-loader{--calcite-loader-padding:1rem}:host .instant-apps-scoreboard__items-container{display:flex}:host .instant-apps-scoreboard__items-container calcite-action{height:100%}:host .instant-apps-scoreboard__items,:host .instant-apps-scoreboard__item{box-sizing:border-box;display:flex}:host .instant-apps-scoreboard__items{list-style-type:none;padding-left:0;margin:0;padding-top:1.75%;padding-bottom:1.75%;width:100%}:host .instant-apps-scoreboard__item{flex-direction:column;justify-content:flex-end;align-items:center;padding:1%}:host .instant-apps-scoreboard__item-label{box-sizing:border-box;line-height:24px;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;word-break:break-word;font-size:1rem;font-weight:400;text-align:center}:host .instant-apps-scoreboard__item-value{display:flex;justify-content:center;align-items:center;min-width:32px;min-height:32px;margin-top:5px;font-size:1.5rem;font-weight:900}:host .instant-apps-scoreboard__item-value-placeholder{display:inline-block;width:32px;height:32px;background-color:var(--calcite-color-foreground-3);border-radius:4px}:host(.instant-apps-scoreboard__position--bottom){bottom:0}:host(.instant-apps-scoreboard__position--bottom) .instant-apps-scoreboard{display:flex;justify-content:center}:host(.instant-apps-scoreboard__position--bottom) .instant-apps-scoreboard__items{display:flex;justify-content:center}:host(.instant-apps-scoreboard__position--bottom) .instant-apps-scoreboard__item{min-width:10vw;vertical-align:top}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--floating){left:50%;max-width:calc(100% - 30px);transform:translate(-50%, -15px)}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--floating) .instant-apps-scoreboard{min-width:25vw}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--pinned){left:unset;bottom:0;transform:unset;width:100%}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--pinned) .instant-apps-scoreboard{min-width:unset}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--pinned) .instant-apps-scoreboard__items-container{width:100%;justify-content:space-between}:host(.instant-apps-scoreboard__position--side) .instant-apps-scoreboard{display:flex;justify-content:center;align-items:center;width:10vw;overflow-y:auto}:host(.instant-apps-scoreboard__position--side) .instant-apps-scoreboard__items-container{flex-direction:column;height:100%;box-sizing:border-box}:host(.instant-apps-scoreboard__position--side) .instant-apps-scoreboard__items-container calcite-action{height:unset;width:100%}:host(.instant-apps-scoreboard__position--side) .instant-apps-scoreboard__items{flex-direction:column;padding:10px}:host(.instant-apps-scoreboard__position--side) .instant-apps-scoreboard__item{padding-top:0.5vh;padding-bottom:0.5vh}:host(.instant-apps-scoreboard__position--side.instant-apps-scoreboard__mode--floating){top:15px;left:15px;max-height:calc(100% - 30px)}:host(.instant-apps-scoreboard__position--side.instant-apps-scoreboard__mode--floating) .instant-apps-scoreboard{min-width:10vw;min-height:35vh}:host(.instant-apps-scoreboard__position--side.instant-apps-scoreboard__mode--pinned){top:unset;left:unset;transform:unset;height:100%}:host(.instant-apps-scoreboard__position--side.instant-apps-scoreboard__mode--pinned) .instant-apps-scoreboard{height:100%}:host(.instant-apps-scoreboard__position--side.instant-apps-scoreboard__mode--pinned) .instant-apps-scoreboard__items-container{justify-content:space-between}:host(.instant-apps-scoreboard__position--left.instant-apps-scoreboard__mode--floating){left:15px}:host(.instant-apps-scoreboard__position--right.instant-apps-scoreboard__mode--floating){left:unset;right:15px}:host(.instant-apps-scoreboard__position--left.instant-apps-scoreboard__mode--pinned){left:0}:host(.instant-apps-scoreboard__position--right.instant-apps-scoreboard__mode--pinned){left:unset;right:0}@media only screen and (min-width: 992px){:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--pinned){bottom:var(--instant-apps-scoreboard-mobile-position-bottom)}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--pinned) .instant-apps-scoreboard__item{justify-content:center;min-width:unset;flex-grow:1}}";export{b as instant_apps_scoreboard}
@@ -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 i,h as s,H as e,g as n}from"./p-e996c38f.js";import{l as o}from"./p-438fdc33.js";import{g as a}from"./p-8f973b3d.js";import{g as l}from"./p-a9a72626.js";import"./p-3b3f77bc.js";import"./p-d4056c1c.js";import"./p-3423b5ef.js";const r="instant-apps-filter-list calcite-mode-light",c=["feature","geojson","wfs","csv","scene","subtype-group","point-cloud","map-image","sublayer"];function d(t){return t.replaceAll("'","''")}function h(t,i=!1){if(t){const s=new Date(t),e=`${s.getFullYear()}-${s.getMonth()+1}-${s.getDate()}`;return i?`${e} ${s.getHours()}:${s.getMinutes()}:${s.getSeconds()}`:e}}function p(t){var i;if(null!=t){t.value=["",""];const s=null===(i=t.shadowRoot)||void 0===i?void 0:i.querySelectorAll("calcite-input");if(null!=s)for(const t of s)t.value=""}}const u="instant-apps-filter-list__item-container--user-input",v=class{constructor(s){t(this,s),this.filterListReset=i(this,"filterListReset",7),this.filterUpdate=i(this,"filterUpdate",7),this.isLayerExpUpdated=!1,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=r,this.initDefExpressions=void 0,this.initMapImageExpressions=void 0,this.initPointCloudFilters=void 0}watchViewHandler(){this.handleWhenView()}watchLayerExpressions(){this.resetAllFilters(),this.filterLayerExpressions=structuredClone(this.layerExpressions),this.handleLayerExpressionsUpdate()}getFilterInitState(){return Promise.resolve({initDefExpressions:this.initDefExpressions,initMapImageExpressions:this.initMapImageExpressions,initPointCloudFilters:this.initPointCloudFilters})}forceReset(){return this.resetExpressions(),Promise.resolve()}updateInitDefExpressions(t){return this.initDefExpressions=t.initDefExpressions,this.initMapImageExpressions=t.initMapImageExpressions,this.initPointCloudFilters=t.initPointCloudFilters,Promise.resolve()}getCurrentLayerExpressions(){const t=structuredClone(this.filterLayerExpressions);return Promise.resolve(t)}handleUpdatingT9nData(t){var i;return null==t||null===(i=this.filterLayerExpressions)||void 0===i||i.forEach((i=>{var s;const e=null==t?void 0:t.find((t=>t.id===i.id));null!=e&&(i.title=e.title,null===(s=i.expressions)||void 0===s||s.forEach((t=>{var i;const s=null===(i=e.expressions)||void 0===i?void 0:i.find((i=>i.id===t.id));null!=s&&(t.name=s.name)})))})),Promise.resolve()}connectedCallback(){null==this.layerExpressions&&null==this.view||(this.isLayerExpUpdated=!0,this.filterLayerExpressions=structuredClone(this.layerExpressions),this.handleLayerExpressionsUpdate())}async componentWillLoad(){this.baseClass="dark"===l(this.el)?"instant-apps-filter-list calcite-mode-dark":r,await this.initializeModules(),a(this),this.isLayerExpUpdated||(this.isLayerExpUpdated=!0,this.filterLayerExpressions=null!=this.layerExpressions?structuredClone(this.layerExpressions):[],null!=this.view&&this.handleLayerExpressionsUpdate())}componentDidRender(){var t;null!=this.resetBtnEl&&(this.resetBtnEl.disabled=!((null===(t=this.filterLayerExpressions)||void 0===t?void 0:t.length)>0))}disconnectedCallback(){this.resetFiltersOnDisconnect&&(this.isLayerExpUpdated=!1,this.filterLayerExpressions=structuredClone(this.layerExpressions),this.resetAllFilters())}async initializeModules(){const[t,i]=await o(["esri/intl","esri/geometry/support/jsonUtils"]);this.geometryJsonUtils=i,this.locale=t.getLocale(),this.intl=t}render(){const t=this.loading?this.renderLoading():this.initFilterConfig(),i=this.renderFooter();return s(e,{key:"b3949fb2efa7587520eee01619be306a936b2f05"},s("calcite-panel",{key:"2336ee3cd209346516ebb12780f7158fc88aa35c",class:this.baseClass,ref:t=>this.panelEl=t},s("slot",{key:"d7400f3192055b45d9f75d19fcac85138f2958f8",slot:"header-content",name:"filter-header-content"}),s("slot",{key:"fb684d06b51fd62fcc56129851444fad10beafc4",slot:"header-actions-end",name:"filter-header-actions-end"}),s("div",{key:"filter-container",class:"instant-apps-filter-list__container"},t,i)))}renderLoading(){return s("calcite-loader",{label:"Loading filters..."})}renderFilter(t){const{id:i}=t;return t.expressions.map(((e,n)=>"checkbox"==e.type||null==e.type?s("div",{key:`${i}-${n}`,class:"instant-apps-filter-list__item-container"},s("div",{class:"instant-apps-filter-list__title"},s("p",null,e.name)),s("div",{class:"instant-apps-filter-list__checkbox-container"},s("calcite-checkbox",{id:e.id.toString(),scale:"l",checked:null==e?void 0:e.active,onCalciteCheckboxChange:this.handleCheckboxChange.bind(this,t,e)}))):this.initInput(t,e)))}renderLayerBlock(){return this.filterLayerExpressions.map((t=>this.renderFilterBlocks(t)))}renderFilterBlocks(t){var i;const e=this.renderFilter(t),{operator:n}=t,o="OR"===(null==n?void 0:n.trim())?"orOperator":"andOperator",a=this.renderZoomTo(t);return s("calcite-block",{key:t.id,heading:t.title,description:null===(i=this.messages)||void 0===i?void 0:i[o],open:!!this.openFilters||void 0,collapsible:!0},a,e)}renderCombobox(t,i){var e;return s("label",{key:"combo-select",class:u},s("span",null,i.name),s("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===(e=i.fields)||void 0===e?void 0:e.map(((t,s)=>this.renderComboboxItem(i,t,s)))))}renderComboboxItem(t,i,e){var n;const o=this.createLabel(t,i),a=null==t?void 0:t.selectedFields,l=null!==(n=null==a?void 0:a.includes(i))&&void 0!==n&&n;return s("calcite-combobox-item",{key:`${o}-${e}`,value:i,heading:`${o}`,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],e="OR"===(null==t?void 0:t.trim())?"orOperator":"andOperator",n=this.renderZoomTo(this.filterLayerExpressions[0]);return s("calcite-block",{class:"instant-apps-filter-list__operator-description",heading:null===(i=this.messages)||void 0===i?void 0:i[e],open:!0},n,this.renderFilter(this.filterLayerExpressions[0]))}if(this.filterLayerExpressions.length>1)return this.renderLayerBlock()}}renderNumberSlider(t,i){var e,n,o,a,l,r,c,d;const h=null==i?void 0:i.min,p=null==i?void 0:i.max,v=(null==i?void 0:i.step)?i.step:1,m=null!==(e=null==i?void 0:i.field)&&void 0!==e?e:"",f=[null!=(null===(n=null==i?void 0:i.range)||void 0===n?void 0:n.min)?i.range.min:h,null!=(null===(o=null==i?void 0:i.range)||void 0===o?void 0:o.max)?i.range.max:p];return null!=h&&null!=p?s("label",{key:null==i?void 0:i.id.toString(),class:u},s("span",null,null==i?void 0:i.name),s("div",{class:"instant-apps-filter-list__number-input-container"},s("calcite-slider",{id:null==i?void 0:i.id.toString(),onCalciteSliderChange:this.handleSliderChange.bind(this,i,t),min:h,max:p,minValue:h,maxValue:p,"min-label":null===(l=null===(a=this.messages)||void 0===a?void 0:a.minSlider)||void 0===l?void 0:l.replace("{field}",m),"max-label":null===(c=null===(r=this.messages)||void 0===r?void 0:r.maxSlider)||void 0===c?void 0:c.replace("{field}",m),step:v,labelHandles:!0,snap:!0,value:f,"group-separator":null===(d=null==i?void 0:i.format)||void 0===d?void 0:d.digitSeparator}))):void 0}renderDatePicker(t,i){var e,n,o,a;const{min:l,max:r}=i,c=[null===(e=null==i?void 0:i.range)||void 0===e?void 0:e.min,null===(n=null==i?void 0:i.range)||void 0===n?void 0:n.max];return null!=l&&null!=r?s("label",{class:u},s("span",null,null==i?void 0:i.name),s("div",{class:"instant-apps-filter-list__date-picker-input-container"},s("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!==(o=this.locale)&&void 0!==o?o:"en",layout:"vertical",value:c,range:!0}),s("calcite-action",{onClick:this.handleResetDatePicker.bind(this,i,t),icon:"reset",text:null===(a=this.messages)||void 0===a?void 0:a.resetDatePicker,scale:"s"}))):null}renderFooter(){var t,i,e;const n=null!=this.closeBtnText?this.closeBtnText:null===(t=this.messages)||void 0===t?void 0:t.close,o=this.closeBtn&&this.resetBtn?"half":"full";return s("div",{class:"instant-apps-filter-list__footer",slot:"footer"},this.resetBtn?s("calcite-button",{appearance:"outline",width:o,ref:t=>this.resetBtnEl=t,onClick:this.handleResetFilter.bind(this)},null===(i=this.messages)||void 0===i?void 0:i.resetFilter):void 0,this.closeBtn?s("calcite-button",{appearance:"solid",width:o,kind:"brand",onClick:null===(e=this.closeBtnOnClick)||void 0===e?void 0:e.bind(this)},n):void 0)}renderZoomTo(t){var i;return this.zoomBtn?s("div",{class:"instant-apps-filter-list__zoom-to"},s("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){p(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:s,numDisplayOption:e,displayOption:n}=i;return"string"!==s&&"coded-value"!==s&&("number"!==s&&"range"!==s&&"date"!==s||"drop-down"!==e&&"drop-down"!==n)?"number"===s||"range"===s?this.renderNumberSlider(t,i):"date"===s?this.renderDatePicker(t,i):void 0:this.renderCombobox(t,i)}async initExpressions(){this.loading=!0,null!=this.filterLayerExpressions&&null!=this.view?(await this.processExpressions(),this.loading=!1):this.loading=!1}async processExpressions(){if(this.filterLayerExpressions)for(const t of this.filterLayerExpressions)for(const i of t.expressions||[])await this.setInitExpression(t,i)}handleResetFilter(){this.resetExpressions(),this.resetAllFilters(),this.generateURLParams(),this.filterListReset.emit()}resetExpressions(){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:s,displayOption:e}=t;let n="";"string"!==i&&"coded-value"!==i&&("date"!==i||"drop-down"!==s&&"drop-down"!==e)&&("number"!==i&&"range"!==i||"drop-down"!==s&&"drop-down"!==e)?"date"===i?n="datePicker":"number"!==i&&"range"!==i||(n="numberRange"):n="combobox",n?this.resetExpressionUI(n,t):this.resetCheckbox(t),t.active=!1}))}))}resetExpressionUI(t,i){const{id:s}=i;switch(t){case"combobox":i.selectedFields=void 0;const t=this.panelEl.querySelector(`[id='${s}']`);t&&Array.from(t.children).forEach((t=>{t.selected=!1}));break;case"datePicker":i.range=void 0,p(this.panelEl.querySelector(`[id='${s}']`));break;case"numberRange":i.range=void 0;const e=this.panelEl.querySelector(`[id='${s}']`);e&&(e.minValue=i.min,e.maxValue=i.max)}}resetCheckbox(t){const{id:i}=t,s=this.panelEl.querySelector(`[id='${i}']`);null!=s&&(s.checked=!1)}resetAllFilters(){var t,i,s,e,n;if(null==this.initDefExpressions)return;const o=null===(s=null===(i=null===(t=this.view)||void 0===t?void 0:t.map)||void 0===i?void 0:i.allLayers)||void 0===s?void 0:s.concat(null===(n=null===(e=this.view)||void 0===e?void 0:e.map)||void 0===n?void 0:n.allTables);null==o||o.forEach((t=>{var i,s;if(!c.includes(t.type))return;const e=t;"point-cloud"===e.type?e.filters=null===(i=this.initPointCloudFilters)||void 0===i?void 0:i[e.id]:"map-image"===e.type?e.allSublayers.forEach((t=>{var i,s;t.definitionExpression=null===(s=null===(i=this.initMapImageExpressions)||void 0===i?void 0:i[e.id])||void 0===s?void 0:s[t.id]})):e.definitionExpression=null===(s=this.initDefExpressions)||void 0===s?void 0:s[e.id]}))}async updateStringExpression(t,i){const s=this.findFilterLayer(t);return await this.getFeatureAttributes(s,i),this.handleDateField(s,i),!!(null==i?void 0:i.selectedFields)&&(i.definitionExpression=this.createDefinitionExpression(i),!0)}handleDateField(t,i){if("date"===i.type){const s=t.fields.find((({name:t})=>t===i.field));"date-only"===(null==s?void 0:s.type)&&(i.dateOnly=!0)}}createDefinitionExpression(t){var i;if(!(null===(i=t.selectedFields)||void 0===i?void 0:i.length))return"";const s=t.selectedFields.map((t=>"number"==typeof t?t:`'${d(t)}'`));return`${t.field} IN (${s.join(",")})`}async updateNumberExpression(t,i){var s,e;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 n=this.findFilterLayer(t),{field:o}=i;if(null!=o)if(this.setExpressionFormat(n,i,o),"drop-down"===(null==i?void 0:i.numDisplayOption)||"drop-down"===(null==i?void 0:i.displayOption))await this.getFeatureAttributes(n,i);else{const t=await this.calculateMinMaxStatistics(n,o),a=null===(s=null==t?void 0:t[0])||void 0===s?void 0:s.attributes;if(null!=(null===(e=i.format)||void 0===e?void 0:e.places)?(i.min=this.roundMinNumberDown(a[`min${o}`],i.format.places),i.max=this.roundMaxNumberUp(a[`max${o}`],i.format.places)):(i.min=a[`min${o}`],i.max=a[`max${o}`]),(null==i?void 0:i.range)&&Object.keys(i.range).length){const{min:t,max:s}=i.range;return i.definitionExpression=`${i.field} BETWEEN ${t} AND ${s}`,!0}}}return!1}async updateDateExpression(t,i){var s;const{field:e,range:n}=i,o=this.findFilterLayer(t),a=await this.calculateMinMaxStatistics(o,e),l=null===(s=null==a?void 0:a[0])||void 0===s?void 0:s.attributes;if(i.min=h(l[`min${e}`]),i.max=h(l[`max${e}`]),null!=n&&(null!=(null==n?void 0:n.max)||null!=(null==n?void 0:n.min))){let{min:t,max:s}=n;if(t=null==t?void 0:t.replace("+"," "),s=null==s?void 0:s.replace("+"," "),t||s){const n=s&&!t?"<":!s&&t?">":null;return i.definitionExpression=n?`${e} ${n} '${null!=t?t:s}'`:`${e} BETWEEN '${t}' AND '${s}'`,!0}}return!1}async updateCodedValueExpression(t,i,s){var e,n;if(!(null==s?void 0:s.domain)||"coded-value"!==(null===(e=null==s?void 0:s.domain)||void 0===e?void 0:e.type))return!1;const o=this.findFilterLayer(t);await this.getFeatureAttributes(o,i);const a=s.domain.codedValues.reduce(((t,{code:i,name:s})=>(t[i]=s,t)),{});if(i.codedValues=a,null===(n=i.selectedFields)||void 0===n?void 0:n.length){const t=i.selectedFields.map((t=>"number"==typeof t?t:`'${d(t)}'`)).join(",");return i.definitionExpression=`${i.field} IN (${t})`,!0}return!1}updateRangeExpression(t,i){var s;if(!(null==i?void 0:i.domain)||"range"!==(null===(s=null==i?void 0:i.domain)||void 0===s?void 0:s.type))return!1;const{field:e,range:n}=t;return t.min=i.domain.minValue,t.max=i.domain.maxValue,!(!n||!Object.keys(n).length||(t.definitionExpression=`${e} BETWEEN ${n.min} AND ${n.max}`,0))}async getFeatureAttributes(t,i){if(!this.isLayerSupported(t))return void(i.fields=[]);const s=await this.getQueryLayer(t),{maxRecordCount:e,supportsMaxRecordCountFactor:n}=this.extractQueryCapabilities(t),o=await s.queryFeatureCount(),a=this.createQuery(s,i);await this.queryDistinctFeatures(s,a,i),this.shouldPaginate(e,o,n)&&this.handlePagination(s,a,e,n,o,i)}isLayerSupported(t){return t&&c.includes(t.type)}extractQueryCapabilities(t){var i,s,e,n,o,a;return{maxRecordCount:null!==(e=null===(s=null===(i=t.capabilities)||void 0===i?void 0:i.query)||void 0===s?void 0:s.maxRecordCount)&&void 0!==e?e:null===(n=t.sourceJSON)||void 0===n?void 0:n.maxRecordCount,supportsMaxRecordCountFactor:null===(a=null===(o=t.capabilities)||void 0===o?void 0:o.query)||void 0===a?void 0:a.supportsMaxRecordCountFactor}}createQuery(t,i){const s=t.createQuery();this.applyCacheHint(t,s);const e=null==i?void 0:i.field;if(e){const i=this.getInitDefExprFromLayer(t);s.where=i||"1=1",s.outFields=[e],s.orderByFields=[`${e} ASC`],s.returnDistinctValues=!0,s.returnGeometry=!1,s.maxRecordCountFactor=5,this.applyQueryGeometryFromExtentSelector(s)}return s}async queryDistinctFeatures(t,i,s){if(!i.outFields)return;const e=await this.queryForFeatures(t,i,i.outFields[0]);(null==e?void 0:e.length)&&(s.fields=[...new Set(e)],"string"===s.type?s.fields=s.fields.sort(((t,i)=>t.localeCompare(i))):"number"===s.type&&(s.fields=s.fields.sort(((t,i)=>t-i))))}getQueryCount(t,i){return i?5*t:t}shouldPaginate(t,i,s){const e=this.getQueryCount(t,s);return null!=t&&i>e}async handlePagination(t,i,s,e,n,o){const a=this.getQueryCount(s,e),l=[];for(let e=a;e<n;e+=a){const n=i.clone();n.num=s,n.start=e,l.push(this.queryForFeatures(t,n,i.outFields[0]))}Promise.all(l).then((t=>{t.forEach((t=>{(null==t?void 0:t.length)&&o.fields&&o.fields.push(...t)})),o.fields="string"===o.type?[...new Set(o.fields)].sort(((t,i)=>t.localeCompare(i))):"number"===o.type?[...new Set(o.fields)].sort(((t,i)=>t-i)):[...new Set(o.fields)].sort()}))}async queryForFeatures(t,i,s){const e=await t.queryFeatures(i),n=null==e?void 0:e.features.filter((t=>{var i;return null===(i=t.attributes)||void 0===i?void 0:i[s]}));return null==n?void 0:n.map((t=>{var i;return null===(i=t.attributes)||void 0===i?void 0:i[s]}))}async calculateMinMaxStatistics(t,i){if(!t||!c.includes(t.type)||!i)return[];const s=this.createStatisticsQuery(t,i),e=await t.queryFeatures(s);return(null==e?void 0:e.features)||[]}createStatisticsQuery(t,i){const s=t.createQuery();return s.where=this.getInitDefExprFromLayer(t)||"1=1",this.applyCacheHint(t,s),s.outStatistics=[{onStatisticField:i,outStatisticFieldName:`max${i}`,statisticType:"max"},{onStatisticField:i,outStatisticFieldName:`min${i}`,statisticType:"min"}],this.applyQueryGeometryFromExtentSelector(s),s}getExtent(t,i){if(t&&i){const{constraints:t}=i;let s=Object.assign({},t);const e=null==s?void 0:s.geometry;if(e){const t="extent"in e?e:this.geometryJsonUtils.fromJSON(e);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 s=this.findFilterLayer(t);s&&("not-loaded"!==s.loadStatus&&"failed"!==s.loadStatus||await s.load(),await s.when((async()=>{var e,n;const o=null===(e=s.fields)||void 0===e?void 0:e.find((({name:t})=>t===i.field)),a=null===(n=null==o?void 0:o.domain)||void 0===n?void 0:n.type;i.type="coded-value"===a||"range"===a?a:i.type,await this.updateExpression(t,i,o)})))}async updateExpression(t,i,s){await this.handleExpressionType(t,i,s)&&this.generateOutput(t)}async handleExpressionType(t,i,s){var e;switch(i.type){case"string":return await this.updateStringExpression(t,i);case"number":return await this.updateNumberExpression(t,i);case"date":return await this.updateDateExpressionBasedOnDisplayOption(t,i);case"coded-value":return await this.updateCodedValueExpression(t,i,s);case"range":return await this.updateRangeExpressionBasedOnDisplayOption(t,i,s);case"checkbox":case null:case void 0:return null!==(e=i.active)&&void 0!==e&&e;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,s){return"drop-down"===i.displayOption?await this.updateStringExpression(t,i):this.updateRangeExpression(i,s)}updateRangeExpressions(t,i,s,e){const n=this.getInitDefExprFromLayerExpression(i);!e&&0!==e||!s&&0!==s||(e===(null==t?void 0:t.min)&&s===(null==t?void 0:t.max)?(t.definitionExpression=void 0,t.active=!1):(t.definitionExpression=n?`(${n}) AND ${null==t?void 0:t.field} BETWEEN ${e} AND ${s}`:`${null==t?void 0:t.field} BETWEEN ${e} AND ${s}`,t.active=!0)),t.range={min:e,max:s}}handleCheckboxChange(t,i,s){i.active=s.target.checked,this.generateOutput(t)}handleSliderChange(t,i,s){const{maxValue:e,minValue:n}=s.target;this.updateRangeExpressions(t,i,e,n),this.generateOutput(i)}handleComboSelect(t,i,s){const e=s.target.selectedItems,{field:n,type:o}=t;if(t.selectedFields=e.map((({value:t})=>t)),e.length){const i=e.map((({value:t})=>"number"==typeof t?t:`'${d(t)}'`));t.definitionExpression="date"===o?i.map((t=>this.buildDateExpression(t,n))).join(" OR "):`${n} IN (${i.join(",")})`,t.active=!0}else t.definitionExpression=void 0,t.active=!1;this.generateOutput(i)}handleDatePickerRangeChange(t,i,s){const e=s.target,[n,o]=e.valueAsDate,a=n?h(Math.floor(n.getTime()),!0):void 0,l=o?h(Math.floor(o.getTime()),!0):void 0;(a||l)&&(t.definitionExpression=this.constructDefinitionExpression(t.field,a,l),t.range={min:a,max:l},t.active=!0,this.generateOutput(i))}constructDefinitionExpression(t,i,s){return i?s?`${t} BETWEEN '${i}' AND '${s}'`:`${t} > '${i}'`:`${t} < '${s}'`}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 s,e;const n=null===(s=this.filterLayerExpressions)||void 0===s?void 0:s.find((i=>i.id===t.layerId));n&&(null===(e=n.expressions)||void 0===e||e.forEach((s=>{var e,n;(null===(e=s.id)||void 0===e?void 0:e.toString())===(null===(n=t.expressionId)||void 0===n?void 0:n.toString())&&(this.activateExpression(s,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:s,range:e,selectedFields:n,type:o}=i;return"string"===o||"coded-value"===o||"drop-down"===(null==i?void 0:i.numDisplayOption)||"drop-down"===(null==i?void 0:i.displayOption)?{type:"select",layerId:t.id,expressionId:s.toString(),selectedFields:n}:"number"===o||"range"===o||"date"===o?{type:"range",layerId:t.id,expressionId:s.toString(),range:e}:{layerId:t.id,expressionId:s.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),s=(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=s.length,s.length>0?i.set("filter",s.join(";")):i.delete("filter"),this.autoUpdateURLCheck(i),this.urlParams=i}updateFilter(t,i,s){const{id:e}=t,n=this.view.map.findLayerById(e)||this.view.map.findTableById(e);if(null!=n)if("point-cloud"===n.type)this.updateFilterLayerPCLFilter(n,s);else if("map-image"===n.type){const s=n.findSublayerById(null==t?void 0:t.sublayerId);null!=s&&this.updateFilterLayerDefExpression(s,i,t)}else this.updateFilterLayerDefExpression(n,i,t)}updateFilterLayerDefExpression(t,i,s){const{operator:e}=s;let n=this.getInitDefExprFromLayer(t);const o=(null==i?void 0:i.length)>0&&null!=n?`(${i.join(e)}) AND (${n})`:i.length>0?i.join(e):n;t.definitionExpression=o}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(){this.updateInitExpressions(),this.handleURLParams(),this.initExpressions()}async handleZoomTo(t){const i=this.panelEl.querySelector((null==t?void 0:t.sublayerId)?`#zoom-to-${t.id}-${t.sublayerId}`:`#zoom-to-${t.id}`),s=(t,s)=>{i&&(i.loading=t,i.disabled=s)};s(!0,!0),await this.getZoomToExtent(t);const e="point"===this.zoomToExtent.type&&1===this.zoomToExtent.count?{target:this.zoomToExtent.extent,zoom:10}:this.zoomToExtent.extent;await this.view.goTo(e),s(!1,!1)}async getZoomToExtent(t){var i;const s=this.view.allLayerViews.find((({layer:i})=>i.id===t.id)),e=s.layer,n="map-image"===e.type?e.findSublayerById(t.sublayerId):e;if("point-cloud"!==n.type&&c.includes(null==n?void 0:n.type)){const t=await this.getQueryLayer(n),s=t.createQuery();s.where=null!==(i=t.definitionExpression)&&void 0!==i?i:"1=1";const e=await t.queryExtent(s);this.zoomToExtent=Object.assign(Object.assign({},e),{type:t.geometryType})}}applyFilterToQuery(t,i){var s,e;const n=this.view.allLayerViews.find((({layer:t})=>t.id===i.id)),o=null!==(e=null===(s=null==n?void 0:n.featureEffect)||void 0===s?void 0:s.filter)&&void 0!==e?e:n.filter;o&&["objectIds","distance","geometry","spatialRelationship","units","where","timeExtent"].forEach((i=>{null!=o[i]&&(t[i]=o[i])}))}generateOutput(t){if(null==this.view)return;const i=[];let s=[];if(t){for(const e of t.expressions){const{active:t,definitionExpression:n,pointCloudFilters:o}=e;t&&n&&i.push(`(${n})`),t&&null!=o&&o.length>0&&(s=s.concat(o))}this.updateFilter(t,i,s),this.generateURLParams(),this.filterUpdate.emit()}}numberWithCommas(t){return t.toLocaleString("en-US",{maximumFractionDigits:20})}scientificRounding(t,i,s){if(null==t)return;let e;if(String(t).includes("e")){const[n,o]=String(t).split("e").map((t=>Number(t)));e=Math[s](+`${n}e${o+i}`)*Math.pow(10,-i)}else e=Math[s](t*Math.pow(10,i))/Math.pow(10,i);return+e.toFixed(i)}roundMinNumberDown(t,i){return this.scientificRounding(t,i,"floor")}roundMaxNumberUp(t,i){return this.scientificRounding(t,i,"ceil")}roundNumber(t,i){var s;return null!==(s=this.scientificRounding(t,i,"round"))&&void 0!==s?s:t}setExpressionFormat(t,i,s){if(null!=(null==t?void 0:t.popupTemplate)){const e=t.popupTemplate.fieldInfos.find((({fieldName:t})=>t===s));i.format=null==e?void 0:e.format}}getInitDefExprFromLayer(t){var i,s,e;return"sublayer"===t.type?null===(s=null===(i=this.initMapImageExpressions)||void 0===i?void 0:i[t.layer.id])||void 0===s?void 0:s[t.id]:null===(e=this.initDefExpressions)||void 0===e?void 0:e[t.id]}getInitDefExprFromLayerExpression(t){var i,s,e;return null!=(null==t?void 0:t.sublayerId)?null===(s=null===(i=this.initMapImageExpressions)||void 0===i?void 0:i[t.id])||void 0===s?void 0:s[t.sublayerId]:null===(e=this.initDefExpressions)||void 0===e?void 0:e[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 s,e,n;if("coded-value"===t.type)return null===(s=t.codedValues)||void 0===s?void 0:s[i];if("number"===t.type&&"number"==typeof i){let s=i;return null!=(null===(e=t.format)||void 0===e?void 0:e.places)&&(s=this.roundNumber(i,t.format.places)),(null===(n=t.format)||void 0===n?void 0:n.digitSeparator)?this.numberWithCommas(s):s}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 s=new Date(t),e=new Date(t),n=new Date(e.setDate(s.getDate()+1)),o=`${s.getFullYear()}-${s.getMonth()+1}-${s.getDate()}`,a=`${s.getHours()}:${s.getMinutes()}:${s.getSeconds()}`,l=`${n.getHours()}:${n.getMinutes()}:${n.getSeconds()}`;return`${i} BETWEEN '${o} ${a}' AND '${n.getFullYear()}-${n.getMonth()+1}-${n.getDate()} ${l}'`}}async getQueryLayer(t){return"sublayer"===t.type?await t.createFeatureLayer():t}applyCacheHint(t,i){var s,e;(null===(e=null===(s=null==t?void 0:t.capabilities)||void 0===s?void 0:s.query)||void 0===e?void 0:e.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")}updateInitExpressions(){if(null==this.view)return;const t=this.view.map;this.initDefExpressions={},this.initPointCloudFilters={},this.initMapImageExpressions={},t.allLayers.concat(t.allTables).forEach((t=>{if(!c.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}))}get el(){return n(this)}static get watchers(){return{view:["watchViewHandler"],layerExpressions:["watchLayerExpressions"]}}};v.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 m="instant-apps-social-share",f=".calcite-mode-dark",_={base:m,dialog:`${m}__dialog`,dialogEmbed:`${m}__dialog-embed`,dialogContent:`${m}__dialog-content`,options:`${m}__options`,tipContainer:`${m}__tip`,tipHeader:`${m}__tip-header`,tipContent:`${m}__tip-content`,icon:`${m}__icon`,iconContainer:`${m}__icon-container`,optionText:`${m}__option-text`,popoverButton:`${m}__popover-button`,layout:{vertical:`${m}__layout--vertical`,horizontal:`${m}__layout--horizontal`},xLogo:{light:`${m}__x-logo--light`,dark:`${m}__x-logo--dark`},success:{container:`${m}__success`,header:`${m}__success-header`,message:`${m}__success-message`,icon:`${m}__success-icon`},embed:{container:`${m}__embed`,header:`${m}__embed-header`,embedCode:{container:`${m}__embed-code`,textArea:`${m}__embed-code-text-area`,copyButton:`${m}__embed-code-copy-button`},textAreaText:`${m}__embed-text-area-text`,dimensions:{container:`${m}__embed-dimensions`,input:`${m}__embed-dimensions-input`}},rtl:{optionText:`${m}__option-text--rtl`,textArea:`${m}__text-area--rtl`}},b={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}"},g=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;a(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,s;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===(s=this.dialogContentRef)||void 0===s||s.removeEventListener("click",this.stopPropagationCallback.bind(this)))}setupAutoCloseListeners(){var t,i,s;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===(s=this.dialogContentRef)||void 0===s||s.addEventListener("click",this.stopPropagationCallback.bind(this))}handlePopoverRefKeyDown(t){var i,s;if("Tab"===t.code){if(!this.shareListRef)return;const s=t.target,e=this.shareListRef.children[0],n=this.shareListRef.children[(null===(i=this.shareListRef)||void 0===i?void 0:i.children.length)-1];t.shiftKey&&s===e?(t.preventDefault(),n.focus()):t.shiftKey||s!==n||(t.preventDefault(),e.focus())}else"Escape"===t.code&&(this.closePopover(),null===(s=this.popoverButtonRef)||void 0===s||s.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,s;if("width"===t){const t=null===(i=this.embedWidthRef)||void 0===i?void 0:i.value;this.embedWidth=parseInt(t)}else{const t=null===(s=this.embedHeightRef)||void 0===s?void 0:s.value;this.embedHeight=parseInt(t)}}render(){var t,i,n,o,a,l;const r=this.copied&&"popover"===this.mode?this.renderSuccess():s("div",{class:_.dialogContent},this.renderOptions(),this.displayTipText?this.renderTip():null,this.embed?this.renderEmbed():null),c="vertical"===this.shareIconsLayout?` ${_.layout.vertical}`:` ${_.layout.horizontal}`,d=" calcite-mode-"+(this.el.closest(f)?"dark":"light"),h=s("div",{key:"6fa27d9de3fff34dde6702cdbeac00b799355651",ref:t=>this.dialogContentRef=t,class:`${_.dialog}${c}${d}`},r);return s(e,{key:"d35d755dc0d1a827e7859a86366b4f03a6c02a28"},"popover"===this.mode?[s("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},h),this.renderButton()]:[h,s("calcite-popover",{ref:t=>this.copyLinkPopoverRef=t,label:null===(o=null===(n=this.messages)||void 0===n?void 0:n.share)||void 0===o?void 0:o.label,referenceElement:"copyToClipboard",placement:this.inlineSuccessPopoverPlacement,scale:this.scale},this.renderSuccess()),s("calcite-popover",{ref:t=>this.copyEmbedPopoverRef=t,label:null===(l=null===(a=this.messages)||void 0===a?void 0:a.share)||void 0===l?void 0:l.label,referenceElement:"copyEmbedToClipboard",placement:this.inlineSuccessPopoverPlacement,scale:this.scale},this.renderEmbedSuccess())])}renderButton(){var t,i,e,n,o,a,l,r;const c=null!=this.shareButtonScale?this.shareButtonScale:this.scale;return"button"===this.shareButtonType?s("calcite-button",{ref:t=>this.popoverButtonRef=t,onClick:this.togglePopover.bind(this),id:"shareButton",class:_.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===(n=null===(e=this.messages)||void 0===e?void 0:e.share)||void 0===n?void 0:n.label,scale:c},s("div",{class:_.iconContainer},s("calcite-icon",{icon:"share",scale:this.popoverButtonIconScale}))):s("calcite-action",{ref:t=>this.popoverButtonRef=t,onClick:this.togglePopover.bind(this),id:"shareButton",class:_.popoverButton,appearance:"transparent",label:null===(a=null===(o=this.messages)||void 0===o?void 0:o.share)||void 0===a?void 0:a.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"},s("div",{class:_.iconContainer},s("calcite-icon",{icon:"share",scale:this.popoverButtonIconScale})))}renderSuccess(){var t;const i=null===(t=this.messages)||void 0===t?void 0:t.success;return s("div",{class:_.success.container},s("span",{class:_.success.header},s("span",{class:_.success.icon},s("calcite-icon",{icon:"check-circle-f",scale:this.scale})),null==i?void 0:i.label),s("span",{class:_.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 s("div",{class:_.success.container},s("span",{class:_.success.header},s("span",{class:_.success.icon},s("calcite-icon",{icon:"check-circle-f",scale:this.scale})),null==i?void 0:i.label),s("span",{class:_.success.message},null==i?void 0:i.embed))}renderOptions(){var t,i,e,n;const o=null===(t=this.messages)||void 0===t?void 0:t.options,a="rtl"===document.dir?` ${_.rtl.optionText}`:"";return s("ul",{ref:t=>this.shareListRef=t,class:_.options,role:"menu"},s("li",{id:"copyToClipboard",onClick:this.handleShareItem.bind(this,"link"),onKeyDown:this.handleOptionKeyDown("link"),role:"menuitem",tabindex:"0"},s("span",{class:_.icon},s("calcite-icon",{icon:"link",scale:this.scale})),s("span",{class:`${_.optionText}${a}`},null===(i=null==o?void 0:o.link)||void 0===i?void 0:i.label)),this.socialMedia?[s("li",{onClick:this.handleShareItem.bind(this,"facebook"),onKeyDown:this.handleOptionKeyDown("facebook"),role:"menuitem",tabindex:"0"},s("span",{class:_.icon},this.renderFacebookIcon()),s("span",{class:`${_.optionText}${a}`},null===(e=null==o?void 0:o.facebook)||void 0===e?void 0:e.label)),s("li",{onClick:this.handleShareItem.bind(this,"x"),onKeyDown:this.handleOptionKeyDown("x"),role:"menuitem",tabindex:"0"},s("span",{class:_.icon},this.renderXIcon()),s("span",{class:`${_.optionText}${a}`},"X")),s("li",{onClick:this.handleShareItem.bind(this,"linkedIn"),onKeyDown:this.handleOptionKeyDown("linkedIn"),role:"menuitem",tabindex:"0"},s("span",{class:_.icon},this.renderLinkedInIcon()),s("span",{class:`${_.optionText}${a}`},null===(n=null==o?void 0:o.linkedIn)||void 0===n?void 0:n.label))]:null)}handleOptionKeyDown(t){return i=>{const s=i.code;("Space"===s||"Enter"===s)&&this.handleShareItem(t)}}renderFacebookIcon(){return s("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"},s("g",null,s("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"}}),s("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(f);return s("svg",{class:t?_.xLogo.dark:_.xLogo.light,viewBox:"0 0 1200 1227",fill:"none",xmlns:"http://www.w3.org/2000/svg"},s("rect",{height:"400",style:{fill:"none"},width:"400",x:"56",y:"56"}),s("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 s("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"},s("g",{id:"g5891"},s("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"}}),s("g",{id:"shapes"},s("rect",{height:"257.962",id:"rect11",style:{fill:"#fff"},width:"85.76",x:"61.053",y:"178.667"}),s("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"}}),s("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 s("div",{class:_.tipContainer},s("span",{class:_.tipHeader},s("calcite-icon",{icon:"lightbulb",scale:this.scale}),s("span",null,null==i?void 0:i.label)),s("p",{class:_.tipContent},null==i?void 0:i.tooltip))}renderEmbed(){var t,i,e;const n=null===(t=this.messages)||void 0===t?void 0:t.embed,o="rtl"===document.dir?` ${_.rtl.textArea}`:"";return s("div",{class:_.embed.container},s("span",{class:_.embed.header},s("calcite-icon",{icon:"code",scale:this.scale}),s("span",null,null===(e=null===(i=this.messages)||void 0===i?void 0:i.embed)||void 0===e?void 0:e.label)),s("div",{class:_.embed.embedCode.container},s("div",{class:_.embed.embedCode.textArea},s("textarea",{ref:t=>this.embedCodeRef=t,cols:30,rows:5,readonly:!0,class:o,value:this.getEmbedCode()}),s("button",{id:"copyEmbedToClipboard",onClick:this.copyEmbedCode.bind(this),class:_.embed.embedCode.copyButton},s("calcite-icon",{icon:"copy",scale:this.scale}),s("span",null,null==n?void 0:n.copy))),s("span",{class:_.embed.textAreaText},s("slot",{name:"text-area-text"})),s("div",{class:_.embed.dimensions.container},s("label",{class:_.embed.dimensions.input},s("span",null,null==n?void 0:n.width),s("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"})),s("label",{class:_.embed.dimensions.input},s("span",null,null==n?void 0:n.height),s("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,s="width"===t?"embedWidth":"embedHeight";return()=>{i&&parseFloat(i.value)<=0&&(this[s]=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,s,e,n;this.shareUrl=await this.generateShareUrl();let a=null;const l=null!==(s=null===(i=null===navigator||void 0===navigator?void 0:navigator.userAgent)||void 0===i?void 0:i.includes("Chrome"))&&void 0!==s&&s,r=null!==(n=null===(e=null===navigator||void 0===navigator?void 0:navigator.userAgent)||void 0===e?void 0:e.includes("Safari"))&&void 0!==n&&n&&!l;!r&&this.shortenShareUrl&&(a=await this.shortenUrl(this.shareUrl));let c=a||this.shareUrl;switch(t){case"link":return navigator.clipboard.writeText(c),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;r&&(i=window.open("","_blank"),this.shortenShareUrl&&(c=await this.shortenUrl(this.shareUrl)||c));const s={url:encodeURI(c)},e="x"===t?Object.assign(Object.assign({},s),{text:this.shareText}):s,[n]=await o(["esri/intl"]),a=n.substitute(b[t],e);return"popover"===this.mode&&this.closePopover(),void(r&&i?(i.location=a,i.focus()):window.open(encodeURI(a),"_blank"))}}async shortenUrl(t){var i,s;const[e]=await o(["esri/request"]),n=await e("https://arcg.is/prod/shorten",{query:{longUrl:t,f:"json"}}),a=null===(s=null===(i=null==n?void 0:n.data)||void 0===i?void 0:i.data)||void 0===s?void 0:s.url;if(a)return a.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:s}=this.view.center,{spatialReference:e}=this.view,[n,a]=await o(["esri/geometry/Point","esri/geometry/SpatialReference"]),l=new n({x:i,y:s,spatialReference:new a(Object.assign({},e.toJSON()))}),r=await this.processPoint(l),{isWGS84:c,isWebMercator:d}=r.spatialReference;return this.generateShareUrlParams(r,c||d)}async processPoint(t){const{isWGS84:i,isWebMercator:s}=t.spatialReference;if(i||s)return t;const[e,n]=await o(["esri/geometry/SpatialReference","esri/geometry/projection"]),a=new e({wkid:4326});try{await n.load();const i=n.project(t,a);return Promise.resolve(i)}catch(t){return console.error("Failed to project point",t),Promise.reject(null)}}generateShareUrlParams(t,i){var s,e,n,o,a;const{longitude:l,latitude:r,x:c,y:d}=t;if(void 0===l||void 0===r)return this.shareUrl;const h=this.roundValue(i?l:c),p=this.roundValue(i?r:d),{zoom:u}=this.view,v=this.roundValue(u),m=null===(e=null===(s=this.view)||void 0===s?void 0:s.popup)||void 0===e?void 0:e.selectedFeature,f=null===(o=null===(n=this.view)||void 0===n?void 0:n.popup)||void 0===o?void 0:o.visible;let _,b,g;if(m&&f&&"feature"===(null===(a=null==m?void 0:m.layer)||void 0===a?void 0:a.type)){const t=null==m?void 0:m.layer;_=null==t?void 0:t.id,b=m.attributes[t.objectIdField]}g=this.view.map.allLayers.filter((t=>!t.visible)).toArray().map((t=>t.id)).toString().replaceAll(",",";");const{type:x}=this.view,{defaultUrlParams:w}=this,y=new URL(this.shareUrl),{searchParams:$}=y;if($.get("center")&&$.delete("center"),$.get("level")&&$.delete("level"),$.get("selectedFeature")&&$.delete("selectedFeature"),$.get("hiddenLayers")&&$.delete("hiddenLayers"),$.get("viewpoint")&&$.delete("viewpoint"),"3d"===x){const{camera:t}=this.view,{heading:i,position:s,tilt:e}=t,{longitude:n,latitude:o,z:a}=s,l={longitude:this.roundValue(n,8),latitude:this.roundValue(o,8),z:this.roundValue(a,3),heading:this.roundValue(i,3),tilt:this.roundValue(e,3)};return!1!==(null==w?void 0:w.viewpoint)&&y.searchParams.set("viewpoint",`cam:${l.longitude},${l.latitude},${l.z};${l.heading},${l.tilt}`),_&&b&&!1!==(null==w?void 0:w.selectedFeature)&&y.searchParams.set("selectedFeature",`${_};${b}`),g&&!1!==(null==w?void 0:w.hiddenLayers)&&y.searchParams.set("hiddenLayers",g),y.search=decodeURIComponent(y.search),y.href}return!1!==(null==w?void 0:w.center)&&y.searchParams.set("center",`${h};${p}`),!1!==(null==w?void 0:w.level)&&y.searchParams.set("level",`${v}`),_&&b&&!1!==(null==w?void 0:w.selectedFeature)&&y.searchParams.set("selectedFeature",`${_};${b}`),g&&!1!==(null==w?void 0:w.hiddenLayers)&&y.searchParams.set("hiddenLayers",g),y.search=decodeURIComponent(y.search),y.href}roundValue(t,i=4){return parseFloat(t.toFixed(i))}get el(){return n(this)}};g.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{v as instant_apps_filter_list,g as instant_apps_social_share}
@@ -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 i,g as e,h as s,H as a}from"./p-e996c38f.js";import{g as h}from"./p-a397e773.js";import{g as n,d as o,n as l}from"./p-dcd2f00b.js";import{s as r}from"./p-e6859850.js";import"./p-3b3f77bc.js";import"./p-d4056c1c.js";import"./p-80cb7c73.js";import"./p-8717729a.js";const c=class{constructor(e){t(this,e),this.beforeLayerSelectionChange=i(this,"beforeLayerSelectionChange",7),this.idsFound=i(this,"idsFound",7),this.noLayersFound=i(this,"noLayersFound",7),this.layerSelectionChange=i(this,"layerSelectionChange",7),this.appearance="transparent",this.defaultLayerId="",this.display="inline-block",this.enabledLayerIds=[],this.enabledTableIds=[],this.height=void 0,this.isMobile=void 0,this.locale=void 0,this.mapView=void 0,this.onlyShowUpdatableLayers=void 0,this.placeholderIcon="",this.selectedIds=[],this.scale="m",this.showTables=void 0,this.showTablesDisabled=void 0,this.showSingleLayerAsLabel=!1,this.type="select",this._hasMultipleLayers=!0,this._hasValidLayers=!0,this._isDropdownOpen=void 0,this.ids=[],this.selectedName="",this._translations=void 0}get el(){return e(this)}defaultLayerHonored=!1;_layerElement;_layerNameHash;_skipEditCheck=!1;_tableNameHash;async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}async mapViewWatchHandler(){await this._setLayers(),this.ids.length>0?(this._hasValidLayers=!0,this._hasMultipleLayers=this.ids.length>1,this._setSelectedLayer(this.ids[0])):(this._hasValidLayers=!1,this.noLayersFound.emit())}async setLayerById(t,i=!1){this._skipEditCheck=i,this._setSelectedLayer(t),this._skipEditCheck=!1}async setLayerByIds(t,i=!1){this._skipEditCheck=i,this._layerSelectionChange(t),this._skipEditCheck=!1}async updateLayer(){this._setSelectedLayer(this.ids[0])}beforeLayerSelectionChange;idsFound;noLayersFound;layerSelectionChange;async componentWillLoad(){await this._getTranslations(),await this._setLayers()}async componentWillRender(){if(this.ids.length>0||1===this.selectedIds.length){const t=1===this.selectedIds.length?this.selectedIds[0]:this.ids[0];if(t!==this.selectedIds[0])this._setSelectedLayer(t);else{const t=await n(this.mapView,this.selectedIds[0]);this.selectedName=t?.title}}}render(){const t="map-layer-picker";let i=this.height>0?{height:`${this.height.toString()}px`}:{};return i={...i,display:this.display},s(a,{key:"a4d7a923fcf0b6ec488fafa3af8b3c3a9599d61a"},s("div",{key:"54d5cde231707391537fbd649647a5b9e86a1ab3",class:"map-layer-picker-container",style:i},s("div",{key:"1d1329f393778e561bfed22a1c1542cd75d4b55b",class:"map-layer-picker",style:i},this._hasValidLayers?!this._hasMultipleLayers&&this.showSingleLayerAsLabel?this._getSingleLayerPlaceholder():"combobox"===this.type?this._getCombobox(t):"select"===this.type?this._getSelect(t):this._getDropdown(t):this._getInvalidPlaceholder())))}async componentDidLoad(){if(this.ids.length>0||1===this.selectedIds.length){const t=1===this.selectedIds.length?this.selectedIds[0]:this.ids[0];"select"===this.type?this._layerElement.value=t:"dropdown"===this.type&&(this.selectedName=Object.keys(this._layerNameHash).indexOf(t)>-1?this._layerNameHash[t].name:Object.keys(this._tableNameHash).indexOf(t)>-1?this._tableNameHash[t].name:"")}}_getInvalidPlaceholder(){return s("div",null,s("calcite-notice",{class:"height-100",icon:"exclamation-mark-triangle",id:"no-valid-layers",kind:"danger",open:!0},s("div",{slot:"message"},this._translations.noLayersFound)),s("calcite-tooltip",{label:this._translations.enableEditUpdate,placement:"bottom","reference-element":"no-valid-layers"},s("span",null,this._translations.enableEditUpdate)))}_getSingleLayerPlaceholder(){const t=this._getItemTypeIcon();return s("div",{class:"layer-picker-label-container cursor-default"},s("calcite-icon",{icon:t,scale:"s"}),s("calcite-label",{class:"no-bottom-margin padding-start-1"},this.selectedName))}_getSelect(t){return s("calcite-select",{id:t,label:"",onCalciteSelectChange:()=>this._layerSelectionChange(),ref:t=>{this._layerElement=t},scale:this.scale},this._getMapLayerOptions())}_getCombobox(t){return s("calcite-combobox",{clearDisabled:!0,id:t,label:"",onCalciteComboboxChange:()=>this._layerSelectionChange(),"placeholder-icon":this.placeholderIcon,ref:t=>{this._layerElement=t},scale:this.scale,"selection-mode":"single"},this._getMapLayerOptions())}_getDropdown(t){return s("calcite-dropdown",{class:"layer-picker-dropdown",onCalciteDropdownBeforeClose:()=>this._isDropdownOpen=!1,onCalciteDropdownBeforeOpen:()=>this._isDropdownOpen=!0},this.isMobile?this._getDropdownButton():this._getActionDropdownButton(t),s("calcite-dropdown-group",{"selection-mode":"single"},this._getMapLayerOptions()))}_getActionDropdownButton(t){return s("calcite-action",{id:t,slot:"trigger",text:""},this._getDropdownButton())}_getDropdownButton(){const t=this._getItemTypeIcon();return s("calcite-button",{alignment:"icon-end-space-between",appearance:this.appearance,class:this.isMobile?"":"max-width-350",iconEnd:this._isDropdownOpen?"chevron-up":"chevron-down",iconStart:t,kind:"neutral",slot:this.isMobile?"trigger":"",width:"full"},s("div",null,this.selectedName))}_getItemTypeIcon(){let t="layers";if(this.selectedIds.length>0){const i=this.selectedIds[0];t=Object.keys(this._layerNameHash).indexOf(i)>-1?"layers":"table"}return t}_getMapLayerOptions(){return this.ids.reduce(((t,i)=>(this._validLayer(i)?t.push(this._getItem(i,"layer")):this._validTable(i)&&t.push(this._getItem(i,"table")),t)),[])}_getItem(t,i){const e="layer"===i?this._layerNameHash[t]:this._tableNameHash[t],a=!!this.onlyShowUpdatableLayers&&!e.supportsUpdate,h=e.name,n=this.selectedIds.indexOf(t)>-1;return"combobox"===this.type?s("calcite-combobox-item",{disabled:a,selected:n,textLabel:h,value:t}):"select"===this.type?s("calcite-option",{disabled:a,label:h,selected:n,value:t}):s("calcite-dropdown-group",{class:a?"disabled":"",selectionMode:a?"none":"single"},s("calcite-dropdown-item",{disabled:"table"===i&&this.showTablesDisabled,"icon-start":i,onClick:a?void 0:()=>{this._setSelectedLayer(t)},selected:n},h))}_setSelectedLayer(t){let i;this.defaultLayerId&&!this.defaultLayerHonored&&(i=this._getLayerFromHash(this.defaultLayerId),this.defaultLayerHonored=void 0!==i,t=this.defaultLayerHonored?this.defaultLayerId:t),i=i||this._getLayerFromHash(t),(this._skipEditCheck||!this.beforeLayerSelectionChange.emit({currentId:this.selectedIds[0],newId:t,ref:this.el}).defaultPrevented)&&(this.selectedName=i?.name,this.selectedIds=[t],this.layerSelectionChange.emit(this.selectedIds))}_getLayerFromHash(t){return Object.keys(this._layerNameHash).indexOf(t)>-1?this._layerNameHash[t]:Object.keys(this._tableNameHash).indexOf(t)>-1?this._tableNameHash[t]:void 0}async _setLayers(){if(this.mapView){await this._initLayerTableHash();const t=this.onlyShowUpdatableLayers?this._getEditableIds(this._layerNameHash):Object.keys(this._layerNameHash),i=this.showTables?this.onlyShowUpdatableLayers?this._getEditableIds(this._tableNameHash):Object.keys(this._tableNameHash):[];this.ids=[...t.reverse().filter((t=>!(this.enabledLayerIds?.length>0)||this.enabledLayerIds.reverse().indexOf(t)>-1)),...i.reverse().filter((t=>!(this.enabledTableIds?.length>0)||this.enabledTableIds.reverse().indexOf(t)>-1))],this.idsFound.emit({layerIds:t,tableIds:i})}}_getEditableIds(t){return Object.keys(t).reduce(((i,e)=>(t[e].supportsUpdate&&i.push(e),i)),[])}async _initLayerTableHash(){this._layerNameHash=await o(this.mapView,this.onlyShowUpdatableLayers),this._tableNameHash=this.showTables?await l(this.mapView,this.onlyShowUpdatableLayers):{}}_validLayer(t){const i=this._layerNameHash[t]?.name;return i&&Object.keys(r.managedLayers).indexOf(i)<0&&(!(this.enabledLayerIds.length>0)||this.enabledLayerIds.indexOf(t)>-1)}_validTable(t){const i=this._tableNameHash[t]?.name,e=i&&this.showTables;return e?r.managedTables.indexOf(i)<0&&(!(this.enabledTableIds.length>0)||this.enabledTableIds.indexOf(t)>-1):e}_layerSelectionChange(t){const i=t||(Array.isArray(this._layerElement.value)?this._layerElement.value:[this._layerElement.value]);if(JSON.stringify(i)!==JSON.stringify([""])){if(!this._skipEditCheck&&this.beforeLayerSelectionChange.emit({currentIds:this.selectedIds,newIds:i,ref:this.el}).defaultPrevented)return;this.selectedIds=i,this.layerSelectionChange.emit(this.selectedIds)}}async _getTranslations(){const t=await h(this.el);this._translations=t[0]}static get watchers(){return{locale:["localeWatchHandler"],mapView:["mapViewWatchHandler"]}}};c.style=":host{display:block}.map-layer-picker-container{width:100%;align-items:center}.map-layer-picker{position:relative;width:100%;display:inline-block}.padding-bottom-1{padding-bottom:1rem}.layer-picker-dropdown{height:100%;width:100%}.max-width-350{max-width:350px}.height-100{height:100%}.disabled{cursor:default !important;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled);pointer-events:none}.no-bottom-margin{--calcite-label-margin-bottom:0px}.layer-picker-label-container{align-items:center;display:inline-flex;height:100%;padding-inline-start:1rem;padding-inline-end:1rem}.padding-start-1{padding-inline-start:1rem}.cursor-default{cursor:default}";export{c as map_layer_picker}
@@ -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{e as s}from"./p-3b3f77bc.js";const a=async(a,t)=>(s.exports.setDefaultOptions({url:"https://js.arcgis.com/4.32/"}),(await s.exports.loadModules(a,t)).map((s=>s.__esModule&&s.default?s.default:s)));export{a as l}
@@ -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-e996c38f.js";import{S as o}from"./p-2bc98cb0.js";import{g as n}from"./p-8f973b3d.js";import"./p-438fdc33.js";import"./p-3b3f77bc.js";import"./p-d4056c1c.js";import"./p-3423b5ef.js";function l(t){var s;return!!(null===(s=null===window||void 0===window?void 0:window.localStorage)||void 0===s?void 0:s.getItem(t))}const a=class{constructor(i){var e;t(this,i),this.splashClose=s(this,"splashClose",7),this._sanitizer=null==(e=o)||"function"!=typeof e?null:new e({whiteList:{h1:["style"],h2:["style"],h3:["style"],h4:["style"],h5:["style"],h6:["style"],img:["style","src","width","height"],pre:["style"],p:["id","class","style"],div:["id","class","style","role"],span:["id","class","style","role"],figure:["class","style"]}},!0),this.localStorageKey=void 0,this.titleText="",this.content="",this.primaryButtonText="",this.open=!0,this.closeButtonDisabled=!1,this.outsideCloseDisabled=!1,this.secondaryButton=!1,this.secondaryButtonText=void 0,this.secondaryButtonIcon=void 0,this.secondaryButtonCallback=void 0,this.messages=void 0}sanitizeContent(){this.content=this._sanitizer.sanitize(this.content)}componentWillLoad(){let t;const{localStorageKey:s}=this;t=s?this.open&&!l(this.localStorageKey):this.open,this.el.open=t,this.content&&this._sanitizer&&this.sanitizeContent()}componentDidLoad(){n(this)}render(){return i("calcite-dialog",{key:"54fee94d89c740af32dc8eb83f90eaf48a53eff1",open:this.open,modal:!0,heading:this.titleText,onCalciteDialogClose:this.close.bind(this),closeDisabled:this.closeButtonDisabled,outsideCloseDisabled:this.outsideCloseDisabled},i("div",{key:"d342dfff544dca0f9b748ff5815ceddcbc32ca09",innerHTML:this.content}),i("slot",{key:"c85d47ef9d9358884d0f46d5c6d5c032f7d6e992",name:"custom-action"}),this.localStorageKey?this.renderDontShowThisAgainCheckbox():null,this.secondaryButton?this.renderSecondaryButton():null,this.renderPrimaryButton())}renderDontShowThisAgainCheckbox(){const{localStorageKey:t,messages:s}=this,e=!!l(t)||null;return i("div",{class:"instant-apps-splash__back-content",slot:"footer-start"},i("calcite-label",{layout:"inline"},i("calcite-checkbox",{onCalciteCheckboxChange:this.handleDontShowThisAgain.bind(this),checked:null!=e?e:void 0}),null==s?void 0:s.dontShowThisAgain))}renderPrimaryButton(){const{primaryButtonText:t}=this;return i("calcite-button",{onClick:this.close.bind(this),slot:"footer-end"},t||"Enter")}renderSecondaryButton(){var t;return i("calcite-button",{onClick:null===(t=this.secondaryButtonCallback)||void 0===t?void 0:t.bind(this),slot:"footer-end","icon-start":this.secondaryButtonIcon,appearance:"outline"},this.secondaryButtonText)}close(){this.open=!1,this.splashClose.emit()}handleDontShowThisAgain(t){const{localStorageKey:s}=this;if(!s)return;const i=t.target,{checked:e}=i;e?null===window||void 0===window||window.localStorage.setItem(s,"false"):function(t){var s;null===(s=null===window||void 0===window?void 0:window.localStorage)||void 0===s||s.removeItem(t)}(s)}get el(){return e(this)}static get watchers(){return{content:["sanitizeContent"]}}};a.style=":host{--instant-apps-splash-content-max-height:100%;display:block}:host .image.image_resized img{width:100%}:host .instant-apps-splash__back-content{display:flex;align-items:center}:host .instant-apps-splash__back-content calcite-label{--calcite-label-margin-bottom:0}:host .instant-apps-splash__content{max-height:var(--instant-apps-splash-content-max-height)}";export{a as instant_apps_splash}
@@ -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 e,c as t,g as i,h as a,H as s}from"./p-e996c38f.js";import{s as l}from"./p-da1e098c.js";import{g as c}from"./p-a397e773.js";import{n}from"./p-8850bd21.js";import{C as r,g as o}from"./p-80cb7c73.js";import"./p-8717729a.js";import"./p-4f236b5d.js";import"./p-d4056c1c.js";import"./p-570b13d9.js";import"./p-0668e30d.js";import"./p-3b3f77bc.js";const h=class{constructor(i){e(this,i),this.solutionItemSelected=t(this,"solutionItemSelected",7),this.selectedItemId=void 0,this.templateHierarchy=[]}get el(){return i(this)}valueWatchHandler(e,t){e&&e!==t&&Array.isArray(e)&&e.length>0&&this._treeItemSelected(e[0].id)}componentWillLoad(){this.valueWatchHandler(this.templateHierarchy,[])}render(){return a(s,{key:"cf80f637e998eda76162eb1cf3fe94dfb2aeae3e"},a("calcite-tree",{key:"3bb27819fff1f63b28ed70c360fe8f7a63619d3c"},this.renderHierarchy(this.templateHierarchy)))}renderHierarchy(e){return e.map((e=>{const t=this.selectedItemId&&this.selectedItemId===e.id;return e.dependencies&&e.dependencies.length>0?a("calcite-tree-item",{onClick:t=>this._treeItemSelected(e.id,t),selected:t},a("solution-item-icon",{type:e.type,typeKeywords:e.typeKeywords}),a("span",{class:"icon-text",title:e.title},e.title),a("calcite-tree",{slot:"children"},this.renderHierarchy(e.dependencies))):a("calcite-tree-item",{onClick:t=>this._treeItemSelected(e.id,t),selected:t},a("solution-item-icon",{type:e.type,typeKeywords:e.typeKeywords}),a("span",{class:"icon-text",title:e.title},e.title))}))}solutionItemSelected;_treeItemSelected(e,t){const i=t?.target?.closest("calcite-tree-item");i&&(i.expanded=!i?.expanded),this.selectedItemId=e,this.solutionItemSelected.emit(e)}static get assetsDirs(){return["item-type-icons"]}static get watchers(){return{templateHierarchy:["valueWatchHandler"]}}};h.style=".icon-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}";const d=class{constructor(t){e(this,t),this.authentication=void 0,this.itemId="",this.locale=void 0,this.solutionVariables="",this.organizationVariables="",this.itemType=void 0,this._translations=void 0}get el(){return i(this)}itemIdWatchHandler(){const e=l.getItemInfo(this.itemId);this.itemType=e.type}async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}async componentWillLoad(){return this._getTranslations()}render(){return a(s,{key:"8213c164dbfc2f9d897bcd2dbb732d1029e7bc9a"},a("div",{key:"252091fa803626400a22295d6a9d148d207c84e6",class:"configuration-container"},a("div",{key:"b30bcfd2bec082f8248584749e6d98a2c9331bdf",class:"configuration"},this._showGroupTabs("Group"===this.itemType),this._showItemTabs("Group"!==this.itemType))))}_showGroupTabs(e){return a("calcite-tabs",{class:"config-tabs",style:{display:e?"inherit":"none"}},a("calcite-tab-nav",{slot:"tab-nav"},a("calcite-tab-title",null,this._translations.groupDetailsTab),a("calcite-tab-title",null,this._translations.sharingTab)),a("calcite-tab",{class:"config-tab",id:"group-tab",selected:!0},a("solution-item-details",{"item-id":this.itemId,locale:this.locale})),a("calcite-tab",{class:"config-tab",id:"share-tab"},a("solution-item-sharing",{"group-id":this.itemId,locale:this.locale})))}_showItemTabs(e){return a("calcite-tabs",{class:"config-tabs",style:{display:e?"inherit":"none"}},a("calcite-tab-nav",{slot:"tab-nav"},a("calcite-tab-title",null,this._translations.itemDetailsTab),a("calcite-tab-title",null,this._translations.dataTab),a("calcite-tab-title",null,this._translations.propertiesTab),a("calcite-tab-title",null,this._translations.resourcesTab)),a("calcite-tab",{class:"config-tab",selected:!0},a("solution-item-details",{"item-id":this.itemId,locale:this.locale})),a("calcite-tab",{class:"config-tab",id:"data-tab"},a("solution-template-data",{instanceid:"data","item-id":this.itemId,locale:this.locale,"organization-variables":this.organizationVariables,"solution-variables":this.solutionVariables})),a("calcite-tab",{class:"config-tab",id:"props-tab"},a("solution-template-data",{instanceid:"properties","item-id":this.itemId,locale:this.locale,"organization-variables":this.organizationVariables,"solution-variables":this.solutionVariables})),a("calcite-tab",{class:"config-tab",id:"resources-tab"},a("solution-resource-item",{authentication:this.authentication,class:"solutions-resource-container","item-id":this.itemId,locale:this.locale})))}async _getTranslations(){const e=await c(this.el);this._translations=e[0]}static get watchers(){return{itemId:["itemIdWatchHandler"],locale:["localeWatchHandler"]}}};d.style=".configuration-container{position:relative;height:100%;width:100%}.configuration{position:absolute;top:0px;right:0px;bottom:0px;left:0px;display:flex;padding:0.5rem;border:1px #808080 solid}.config-tabs{width:100%}.config-tab{width:100%;overflow-y:auto;height:inherit}";const f="3857",b=class{constructor(i){e(this,i),this.featureServiceSpatialReferenceChange=t(this,"featureServiceSpatialReferenceChange",7),this.enableDefaultSpatialReferenceChange=t(this,"enableDefaultSpatialReferenceChange",7),this.enabledSpatialReferenceChange=t(this,"enabledSpatialReferenceChange",7),this.enabled=!1,this.enableDefault=!1,this.featureServices=[],this.locale=void 0,this._translations=void 0}get el(){return i(this)}enabledChanged(){this._handleSpatialRefParamChange()}enableDefaultChanged(){this._handleDefaultSpatialRefParamChange()}async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}componentWillLoad(){return this._updateUIFromStore(),this._getTranslations()}render(){return this._updateUIFromStore(),a(s,{key:"7f273e4ac344e1ee0caf40e7d1b7f939ecabda20"},a("label",{key:"06de012379cbfc355a9ace954b1dffffa9ce8c83",class:"switch-label"},a("calcite-switch",{key:"81660a69b2ac46824e2b929e13362f5ab9260c54",checked:this.enabled,class:"spatial-ref-switch",onCalciteSwitchChange:e=>this.enabled=e.target.checked,scale:"m"}),this._translations.enableSpatialReference),a("br",{key:"361d2d822ddad721842b806e4ee1e04ff313a19b"}),a("div",{key:"a211f2f6f55191a9ae9b4e94eae7a998b7bc8e35",class:"spatial-ref-component",id:"spatialRefDefn"},this._renderFeatureServicesList(this.featureServices)),a("label",{key:"9fc52be401af098888688636168b6742e92ce939",class:"switch-label spatial-ref-component"},a("calcite-switch",{key:"138644a57bd5c159e9f7f219f8956f0ed1af5bf1",checked:this.enableDefault,class:"spatial-ref-switch",disabled:!this.enabled,onCalciteSwitchChange:e=>this.enableDefault=e.target.checked,scale:"m"}),this._translations.enableDefaultSpatialReference))}featureServiceSpatialReferenceChange;enableDefaultSpatialReferenceChange;enabledSpatialReferenceChange;solutionStoreHasChanges(){this.featureServices=l.getStoreInfo("featureServices")}async _testAccess(e,t,i,a){switch(e){case"_parameterizeWkid":return Promise.resolve(this._parameterizeWkid(t));case"_unparameterizeWkid":return Promise.resolve(this._unparameterizeWkid(t))}return Promise.resolve(null)}_clearFeatureServiceDefaults(e){n(this.el.getElementsByClassName("spatial-ref-item-switch")).forEach((e=>e.checked=!1)),e.forEach((e=>this._updateEnabledServices({detail:{switched:!1}},e)))}_handleDefaultSpatialRefParamChange(){this._updateStore(),this.enableDefaultSpatialReferenceChange.emit({defaultWkid:this.enableDefault?f:""})}_handleSpatialRefParamChange(){this.enabled||(this.enableDefault=!1,this._clearFeatureServiceDefaults(this.featureServices)),this._updateStore(),this.enabledSpatialReferenceChange.emit({enabled:this.enabled})}_parameterizeWkid(e){return e?e.toString().startsWith(r)?e:`${r}${e}${o}`:e}_renderFeatureServicesList(e){const t=l.getStoreInfo("spatialReferenceInfo"),i=e.filter((e=>Object.keys(t.services).some((t=>t===e.id))));return i.length>0?a("div",null,a("label",{class:"spatial-ref-item-title"},this._translations.featureServicesHeading),a("ul",{class:"spatial-ref-services-list"},i.map((e=>a("li",{class:"spatial-ref-services-list-item"},a("label",{class:"switch-label"},a("calcite-switch",{checked:t.services[e.id],class:"spatial-ref-item-switch",disabled:!this.enabled,onCalciteSwitchChange:t=>this._updateEnabledServices(t,e),scale:"m"}),e.name)))))):null}_updateEnabledServices(e,t){const i=l.getStoreInfo("spatialReferenceInfo");i.services[t.id]=void 0!==e.detail?.switched?e.detail.switched:void 0===e.target?.checked||e.target.checked,l.setStoreInfo("spatialReferenceInfo",i),this._updateStore(),this.featureServiceSpatialReferenceChange.emit(t)}_unparameterizeWkid(e){return e&&e.toString().startsWith(r)?e.substring(r.length,e.length-o.length):e}_updateFeatureServices(e){e.enabled||Object.keys(e.services).forEach((t=>{e.services[t]=!1})),this.featureServices.forEach((t=>{t.enabled=e.services[t.id],t.wkid=t.enabled?this._parameterizeWkid(t.wkid):this._unparameterizeWkid(t.wkid)})),l.setStoreInfo("featureServices",this.featureServices)}_updateStore(){const e=l.getStoreInfo("spatialReferenceInfo");e.enabled=this.enabled,this.enabled&&this.enableDefault?e.default=f:e.hasOwnProperty("default")&&delete e.default,l.setStoreInfo("spatialReferenceInfo",e),this._updateFeatureServices(e)}_updateUIFromStore(){const e=l.getStoreInfo("spatialReferenceInfo");this.enabled=e.enabled,this.enableDefault=!!e.default,this.featureServices=l.getStoreInfo("featureServices")}async _getTranslations(){const e=await c(this.el);this._translations=e[0]}static get watchers(){return{enabled:["enabledChanged"],enableDefault:["enableDefaultChanged"],locale:["localeWatchHandler"]}}};b.style=".spatial-ref-switch{margin-inline-end:0.5rem}.spatial-ref-component{margin-top:0.625rem;margin-inline-start:2.5rem}#spatialRefDefn .sc-calcite-label-h label.sc-calcite-label{margin:0px;background-color:#CBC3E3}.spatial-ref-item-title{margin-bottom:0.5rem;font-size:0.875rem;line-height:1.25rem}.spatial-ref-item-switch{margin-inline-end:0.5rem}.switch-label{font-size:0.875rem;line-height:1.25rem}.spatial-ref-services-list{margin-block-start:0.5em;margin-block-end:0.5em;list-style-type:none;padding-inline-start:2em}.spatial-ref-services-list-item{margin-top:0.25rem}";export{h as solution_contents,d as solution_item,b as solution_spatial_ref}
@@ -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 e,f as t,h as i,g as n,c as a}from"./p-e996c38f.js";import{g as s,m as l,s as o,i as c,a as d,z as r,n as p,l as h,o as v,u as g,p as u}from"./p-cd38fc53.js";import{l as m}from"./p-438fdc33.js";import{g as f}from"./p-04546ef6.js";import"./p-8717729a.js";import"./p-3b3f77bc.js";import"./p-d4056c1c.js";const y=class{constructor(t){e(this,t),this.legendvm=void 0,this.featureCount=void 0,this.activeLayerInfo=void 0,this.messages=void 0,this.isChild=!1,this.expanded=!0}layerCaptionElementExpandUpdatedEmitted(){var e;this.expanded=!!(null===(e=this.layerCaption)||void 0===e?void 0:e.expanded)}async componentWillLoad(){new MutationObserver((()=>{t(this.el)})).observe(this.el,{attributes:!0})}render(){return i("div",{key:"ab9a4911afa5f1021f3270c4fec409a708e2ec51",style:{borderLeft:"1px solid var(--calcite-color-border-3)"},class:"esri-legend__service esri-legend__group-layer"},i("instant-apps-interactive-legend-layer-element-caption",{key:"bc80abe473c1b47920a78b072033d5b214f7822c",ref:e=>this.layerCaption=e,class:s(this.el),legendvm:this.legendvm,"feature-count":this.featureCount,activeLayerInfo:this.activeLayerInfo,messages:this.messages,isChild:this.isChild}),i("div",{key:"cf6dc1620eb0a95430129b9d414a9f6b893b61c2",class:"esri-legend__group-content "+(!1===this.expanded?"hide":"show")},i("slot",{key:"f346b52020e3cf4e3a072fdfa17a3762676aba53",name:"content"})))}get el(){return n(this)}};y.style=".sc-instant-apps-interactive-legend-group-legend-element-h{display:block}.sc-instant-apps-interactive-legend-group-legend-element-h .esri-legend__service.sc-instant-apps-interactive-legend-group-legend-element{margin:0;padding:0}.sc-instant-apps-interactive-legend-group-legend-element-h .hide.sc-instant-apps-interactive-legend-group-legend-element{display:none}";const _=class{constructor(t){e(this,t),this.legendvm=void 0,this.featureCount=void 0,this.activeLayerInfo=void 0,this.messages=void 0,this.isChild=void 0,this.expanded=!0}layerCaptionElementExpandUpdatedEmitted(){this.expanded=this.layerCaption.expanded}componentWillLoad(){new MutationObserver((()=>{t(this.el)})).observe(this.el,{attributes:!0})}render(){var e,t;return i("div",{key:"45305a415db8ba0a08ab69de820ff6b8711e1cee",style:{borderLeft:"1px solid var(--calcite-color-border-3)"},class:"esri-legend__service"+(this.activeLayerInfo.parent?" esri-legend__group-layer-child":""),tabIndex:0},i("instant-apps-interactive-legend-layer-element-caption",{key:"7babce8571540883bca9e0ff07c0a152cbb30fbb",ref:e=>this.layerCaption=e,legendvm:this.legendvm,"feature-count":this.featureCount,activeLayerInfo:this.activeLayerInfo,messages:this.messages,isChild:!!this.isChild,class:s(this.el)}),i("div",{key:"c021d9c441c407d5fac6f246eb9f4b6ce76bcaa5",id:`${null===(t=null===(e=this.activeLayerInfo)||void 0===e?void 0:e.layer)||void 0===t?void 0:t.id}-legend-layer`,class:"esri-legend__layer"+(!1===this.expanded?" hide":" show")},i("slot",{key:"761834066d924654c87a39601c1670625c88d863",name:"content"})))}get el(){return n(this)}};_.style=".sc-instant-apps-interactive-legend-layer-element-h{display:block}.sc-instant-apps-interactive-legend-layer-element-h .esri-legend__service.sc-instant-apps-interactive-legend-layer-element{padding:0}.sc-instant-apps-interactive-legend-layer-element-h .esri-legend__layer-body.sc-instant-apps-interactive-legend-layer-element,.sc-instant-apps-interactive-legend-layer-element-h .esri-legend__layer.sc-instant-apps-interactive-legend-layer-element,.sc-instant-apps-interactive-legend-layer-element-h .esri-legend__layer-table.sc-instant-apps-interactive-legend-layer-element,.sc-instant-apps-interactive-legend-layer-element-h .esri-legend__group-layer-child.sc-instant-apps-interactive-legend-layer-element,.sc-instant-apps-interactive-legend-layer-element-h .esri-legend__layer-child-table.sc-instant-apps-interactive-legend-layer-element{margin:0;overflow:hidden}.sc-instant-apps-interactive-legend-layer-element-h .hide.sc-instant-apps-interactive-legend-layer-element{display:none}";const b=class{constructor(t){e(this,t),this.activeLayerInfo=void 0,this.isSizeRamp=void 0,this.isChild=void 0,this.isColorRamp=void 0,this.isRelationshipRamp=void 0,this.isInteractive=void 0,this.zoomTo=void 0,this.legendElement=void 0,this.titleText=void 0,this.legendvm=void 0,this.legendElementIndex=void 0,this.messages=void 0,this.expanded=!0}legendLayerExpandUpdatedEmitted(){this.expanded=this.legendLayerCaption.expanded}render(){var e,t,n,a,s,c,d,r,p;const h=this.isChild?"esri-legend__layer-child-table":"esri-legend__layer-table",v=1===(null===(t=null===(e=this.legendElement)||void 0===e?void 0:e.infos)||void 0===t?void 0:t.length)&&!(null===(s=null===(a=null===(n=this.activeLayerInfo)||void 0===n?void 0:n.layer)||void 0===a?void 0:a.renderer)||void 0===s?void 0:s.field),g=!this.isSizeRamp&&this.isChild||this.isColorRamp?"":" esri-legend__layer-table--size-ramp",u=this.isInteractive?"":" instant-apps-interactive-legend__non-interactive",m=l(this.activeLayerInfo)?" instant-apps-interactive-legend__nested-unique-symbol":"";let f=!(!v||this.expanded||this.zoomTo)||this.expanded;return this.isRelationshipRamp&&(f=o.get("relationshipRampExpandStates")[this.activeLayerInfo.layer.id]),i("div",{key:"cd76a15dfd77c630708e61535a4d22d66385a4bf",class:`${h}${g}${u}${m}`},i("div",{key:"24eb28f5fa505d1d4471a750b5273b34af2f3428",id:`${null===(d=null===(c=this.activeLayerInfo)||void 0===c?void 0:c.layer)||void 0===d?void 0:d.id}-legend-element-caption`,class:this.isRelationshipRamp||!this.titleText&&!this.zoomTo&&v?"hide":"show"},i("instant-apps-interactive-legend-legend-element-caption",{key:"5ffd04439d1c99251e358afcf077628a780c8e40",ref:e=>this.legendLayerCaption=e,legendvm:this.legendvm,activeLayerInfo:this.activeLayerInfo,layer:this.activeLayerInfo.layer,titleText:this.titleText,legendElement:this.legendElement,legendElementIndex:this.legendElementIndex,zoomTo:this.zoomTo,isInteractive:this.isInteractive,messages:this.messages})),i("div",{key:"content",id:`${null===(p=null===(r=this.activeLayerInfo)||void 0===r?void 0:r.layer)||void 0===p?void 0:p.id}-legend-element-content-${this.legendElementIndex}`,class:!1===f?"hide":"show"},i("slot",{key:"c95e14737a003f85f7c494e6d30d9f946bef464a",name:"content"})))}};var L;b.style=".sc-instant-apps-interactive-legend-legend-element-h{display:block}.sc-instant-apps-interactive-legend-legend-element-h .esri-legend__layer-table.sc-instant-apps-interactive-legend-legend-element,.sc-instant-apps-interactive-legend-legend-element-h .instant-apps-interactive-legend__nested-unique-symbol.sc-instant-apps-interactive-legend-legend-element{margin:0}.sc-instant-apps-interactive-legend-legend-element-h .hide.sc-instant-apps-interactive-legend-legend-element{display:none}",function(e){e.ZoomTo="magnifying-glass-plus",e.ShowAll="list-check-all"}(L||(L={}));const x=class{constructor(t){e(this,t),this.showAllSelectedEvent=a(this,"showAllSelected",7),this.legendLayerExpandUpdatedEvent=a(this,"legendLayerExpandUpdated",7),this.legendvm=void 0,this.activeLayerInfo=void 0,this.layer=void 0,this.titleText=void 0,this.legendElementIndex=void 0,this.zoomTo=void 0,this.isInteractive=void 0,this.legendElement=void 0,this.expanded=!0,this.messages=void 0}render(){var e,t,n,a;const s=l(this.activeLayerInfo),c=p(this.activeLayerInfo),{expanded:d}=this,r=o.get("compact"),h=r?" instant-apps-interactive-legend__layer-caption--compact":"";if(s&&!this.titleText)return null;const v=this.titleText&&i("span",{class:"instant-apps-interactive-legend__legend-layer-caption-text",title:this.titleText},this.titleText),g=(this.isInteractive||c)&&this.renderLegendElementCaptionControls();return i("div",{class:`esri-legend__layer-caption${h}`},i("calcite-action",{onClick:this.toggleExpanded(),icon:!1===d?"chevron-up":"chevron-down",appearance:"transparent",text:!1===d?null===(e=this.messages)||void 0===e?void 0:e.expand:null===(t=this.messages)||void 0===t?void 0:t.collapse,label:!1===d?null===(n=this.messages)||void 0===n?void 0:n.expand:null===(a=this.messages)||void 0===a?void 0:a.collapse,scale:"s"}),r?[v,g]:[g,v])}renderLegendElementCaptionControls(){return i("div",{key:"layer-caption-btn-container",class:"instant-apps-interactive-legend__layer-caption-btn-container"+(this.titleText?"":" instant-apps-interactive-legend__layer-caption-btn-container--no-text")},this.renderShowAllZoomToButtons())}renderShowAllZoomToButtons(){return o.get("compact")?this.renderCompactButtonUI():this.renderButtonUI()}renderCompactButtonUI(){var e,t,n,a,s,l;const{data:o}=c,{id:d}=this.layer||{},r=(null===(t=null===(e=null==o?void 0:o[d])||void 0===e?void 0:e.categories)||void 0===t?void 0:t.size)>1,p="zoomToCompact";return[this.zoomTo&&[i("calcite-action",{id:p,class:"instant-apps-interactive-legend__zoom-to-btn",onClick:this.handleZoomTo(),icon:L.ZoomTo,appearance:"transparent",scale:"s",text:null===(n=this.messages)||void 0===n?void 0:n.zoomTo}),i("calcite-tooltip",{"reference-element":p,placement:"top",label:null===(a=this.messages)||void 0===a?void 0:a.zoomTo},null===(s=this.messages)||void 0===s?void 0:s.zoomTo)],r&&i("button",{onClick:this.handleShowAll(),class:"instant-apps-interactive-legend__show-all-btn"},null===(l=this.messages)||void 0===l?void 0:l.showAll)]}renderButtonUI(){var e,t,n,a,s,l,o,d;const{data:r}=c,{id:p}=this.layer||{},h="showAll",v="zoomTo";return[(null===(t=null===(e=null==r?void 0:r[p])||void 0===e?void 0:e.categories)||void 0===t?void 0:t.size)>1&&[i("calcite-button",{key:"show-all-button",id:h,label:null===(n=this.messages)||void 0===n?void 0:n.showAll,onClick:this.handleShowAll(),iconStart:L.ShowAll,appearance:"outline",round:!0}),i("calcite-tooltip",{referenceElement:h,placement:"top",label:null===(a=this.messages)||void 0===a?void 0:a.showAll},null===(s=this.messages)||void 0===s?void 0:s.showAll)],this.zoomTo&&[i("calcite-button",{key:"zoom-to-button",id:v,label:null===(l=this.messages)||void 0===l?void 0:l.zoomTo,onClick:this.handleZoomTo(),iconStart:L.ZoomTo,appearance:"outline",round:!0}),i("calcite-tooltip",{"reference-element":v,placement:"top",label:null===(o=this.messages)||void 0===o?void 0:o.zoomTo},null===(d=this.messages)||void 0===d?void 0:d.zoomTo)]]}toggleExpanded(){return()=>{var e,t;this.expanded=!this.expanded,this.legendLayerExpandUpdatedEvent.emit(),(null===(t=null===(e=this.activeLayerInfo)||void 0===e?void 0:e.legendElements)||void 0===t?void 0:t.filter((e=>"relationship-ramp"===e.type))).length>0&&o.set("relationshipRampExpandStates",Object.assign(Object.assign({},c.relationshipRampExpandStates),{[this.activeLayerInfo.layer.id]:this.expanded}))}}handleZoomTo(){return()=>{const e=h(this.layer),t=d(e,this.legendElement);r(e,this.legendvm.view,t)}}handleShowAll(){return()=>{var e,t;const i=null===(e=c.data)||void 0===e?void 0:e[null===(t=this.layer)||void 0===t?void 0:t.id];d(i,this.legendElement)?(()=>{const e=v(i,this.legendElement.title);g({intLegendLayerData:e,layerId:this.layer.id})})():((()=>{const e=u(i);g({intLegendLayerData:e,layerId:this.layer.id})})(),this.showAllSelectedEvent.emit())}}get el(){return n(this)}};x.style=".sc-instant-apps-interactive-legend-legend-element-caption-h{display:block;--instant-apps-interactive-legend-heading-font-size:1rem;--instant-apps-interactive-legend-heading-font-weight:normal;--instant-apps-interactive-legend-caption-font-weight:normal;--instant-apps-interactive-legend-secondary-color:var(--calcite-color-text-1);--instant-apps-interactive-legend-field-name-font-size:1rem;--instant-apps-interactive-legend-total-feature-count-font-size:0.875rem;--instant-apps-interactive-legend-info-font-size:0.875rem;--instant-apps-interactive-legend-info-item-background--selected:#c7ebff;--instant-apps-interactive-legend-info-item-color--selected:var(--calcite-color-text-2);--instant-apps-interactive-legend-secondary-background-color:var(--calcite-color-background);--instant-apps-interactive-legend-ui-padding:15px 10px}.sc-instant-apps-interactive-legend-legend-element-caption-h .esri-legend__layer-caption.sc-instant-apps-interactive-legend-legend-element-caption{display:flex;align-items:center;font-size:var(--instant-apps-interactive-legend-field-name-font-size);background-color:var(--instant-apps-interactive-legend-secondary-background-color);color:var(--instant-apps-interactive-legend-secondary-color)}.sc-instant-apps-interactive-legend-legend-element-caption-h .esri-legend__layer-caption.sc-instant-apps-interactive-legend-legend-element-caption calcite-action.sc-instant-apps-interactive-legend-legend-element-caption{margin-left:20px}.sc-instant-apps-interactive-legend-legend-element-caption-h .instant-apps-interactive-legend__layer-caption--compact.sc-instant-apps-interactive-legend-legend-element-caption{--instant-apps-interactive-legend-ui-padding:5px}.sc-instant-apps-interactive-legend-legend-element-caption-h .instant-apps-interactive-legend__layer-caption--compact.sc-instant-apps-interactive-legend-legend-element-caption .instant-apps-interactive-legend__layer-caption-btn-container.sc-instant-apps-interactive-legend-legend-element-caption{display:flex;justify-content:flex-end;width:100%}.sc-instant-apps-interactive-legend-legend-element-caption-h .instant-apps-interactive-legend__layer-caption--compact.sc-instant-apps-interactive-legend-legend-element-caption .instant-apps-interactive-legend__layer-caption-btn-container.sc-instant-apps-interactive-legend-legend-element-caption .instant-apps-interactive-legend__show-all-btn.sc-instant-apps-interactive-legend-legend-element-caption{border:none;background-color:transparent;cursor:pointer;color:var(--calcite-ui-brand);font-weight:var(--calcite-font-weight-medium);font-size:0.75rem;padding-inline-start:20px}.sc-instant-apps-interactive-legend-legend-element-caption-h .instant-apps-interactive-legend__layer-caption--compact.sc-instant-apps-interactive-legend-legend-element-caption .instant-apps-interactive-legend__zoom-to-btn.sc-instant-apps-interactive-legend-legend-element-caption{--calcite-icon-color:var(--calcite-ui-brand);--calcite-color-transparent-hover:transparent}.sc-instant-apps-interactive-legend-legend-element-caption-h .instant-apps-interactive-legend__layer-caption--compact.sc-instant-apps-interactive-legend-legend-element-caption .instant-apps-interactive-legend__legend-layer-caption-text.sc-instant-apps-interactive-legend-legend-element-caption{display:inline-block;font-size:0.75rem;white-space:nowrap;width:100%;overflow:hidden;text-overflow:ellipsis}.sc-instant-apps-interactive-legend-legend-element-caption-h .instant-apps-interactive-legend__legend-layer-caption-text.sc-instant-apps-interactive-legend-legend-element-caption{display:inline-block;margin-left:5px;margin-bottom:0;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;line-height:normal}.sc-instant-apps-interactive-legend-legend-element-caption-h .instant-apps-interactive-legend__layer-caption-btn-container.sc-instant-apps-interactive-legend-legend-element-caption{display:flex;white-space:nowrap}.sc-instant-apps-interactive-legend-legend-element-caption-h .instant-apps-interactive-legend__layer-caption-btn-container.sc-instant-apps-interactive-legend-legend-element-caption calcite-button.sc-instant-apps-interactive-legend-legend-element-caption{margin:2px}.sc-instant-apps-interactive-legend-legend-element-caption-h .esri-legend__layer-caption.sc-instant-apps-interactive-legend-legend-element-caption{font-weight:var(--instant-apps-interactive-legend-caption-font-weight);padding:var(--instant-apps-interactive-legend-ui-padding)}html[dir=rtl] .sc-instant-apps-interactive-legend-legend-element-caption-h .esri-legend__layer-caption.sc-instant-apps-interactive-legend-legend-element-caption calcite-action.sc-instant-apps-interactive-legend-legend-element-caption{margin-left:unset;margin-right:20px}";const w=".esri-relationship-ramp--diamond__middle-column--ramp svg g",k=class{constructor(t){e(this,t),this.cellNodeCounter=0,this.filterMode=void 0,this.activeLayerInfo=void 0,this.legendElement=void 0,this.messages=void 0}applyInteractivity(){this.applyRelationshipRampInteractivity()}showAllSelectedEmitted(){const e=0===c.data[this.activeLayerInfo.layer.id].queryExpressions.length,t=this.relationshipRamp.querySelector(w).children,i=t?Array.from(t):null;e&&(null==i||i.forEach((e=>{e.removeAttribute("stroke"),e.removeAttribute("stroke-width"),e.removeAttribute("stroke-opacity"),e.classList.remove("esri-interactive-legend--selected-cell")})))}async componentWillLoad(){const[e]=await m(["esri/symbols/support/symbolUtils"]);this.symbolUtils=e}render(){var e,t;return i("div",{key:"b24758bce1743ae91567e78df38854fddabf52fd",ref:e=>{if(!(null==e?void 0:e.querySelector("relationshipStyles"))){const t=document.createElement("style");t.id="relationshipStyles",t.innerHTML="\n rect:hover {\n cursor: pointer;\n opacity: 0.8;\n }\n ",null==e||e.appendChild(t)}}},i("span",{key:"e3f3bc2a4e7d423bb6aec2072252654b3ac77b2e",class:"instant-apps-interactive-legend-relationship__instructional-text"},null===(t=null===(e=this.messages)||void 0===e?void 0:e.relationship)||void 0===t?void 0:t.instructionalText),this.renderRelationshipRamp())}renderRelationshipRamp(){var e;const t=(null===(e=this.activeLayerInfo)||void 0===e?void 0:e.layer).renderer,n=this.symbolUtils.renderRelationshipRampPreviewHTML(t);return i("div",{ref:e=>{this.relationshipRamp=e,this.applyRelationshipRampInteractivity()},key:"relationship-ramp-diamond",innerHTML:`${null==n?void 0:n.outerHTML}`})}applyRelationshipRampInteractivity(){if(!(this.relationshipRamp&&this.activeLayerInfo&&this.legendElement&&c.data))return;let e=setInterval((()=>{const t=this.relationshipRamp.querySelector(w);t&&(clearInterval(e),this.setupRelationshipDrawingStyle(t.children))}),10)}setupRelationshipDrawingStyle(e){const t=e?Array.from(e):null;if(!t)return;t.map(((e,t)=>{var i,n,a,s,l,o,c,d,r;const p=(null===(n=null===(i=this.activeLayerInfo)||void 0===i?void 0:i.layer)||void 0===n?void 0:n.renderer).uniqueValueInfos;if(p[t]){const i=null===(c=null===(o=null===(l=null===(s=null===(a=null==p?void 0:p[t])||void 0===a?void 0:a.symbol)||void 0===s?void 0:s.data)||void 0===l?void 0:l.symbol)||void 0===o?void 0:o.symbolLayers)||void 0===c?void 0:c[1].color,n=null===(r=null===(d=null==p?void 0:p[t])||void 0===d?void 0:d.symbol)||void 0===r?void 0:r.color;p.forEach(((t,a)=>{var s,l,o,c,d;const r=null===(s=null==t?void 0:t.symbol)||void 0===s?void 0:s.color,p=null===(d=null===(c=null===(o=null===(l=null==t?void 0:t.symbol)||void 0===l?void 0:l.data)||void 0===o?void 0:o.symbol)||void 0===c?void 0:c.symbolLayers)||void 0===d?void 0:d[1].color;let h=!1;h=p?p.every(((e,t)=>e===i[t])):r.r===n.r&&r.g===n.g&&r.b===n.b&&r.a===n.a,h&&this.setCellAttributes(e,a)})),e.classList.add("esri-interactive-legend__svg-rect-element")}}));const i=this.reorderCellNodes(t);this.attachFeatureIndexes(i),this.applyEventHandlers()}setCellAttributes(e,t){const i=this.activeLayerInfo.layer.renderer.uniqueValueInfos,n=this.generateIndexPattern(t);i[n]&&(e.setAttribute("data-color",`${i[n].symbol.color}`),e.setAttribute("data-cell-index",`${n}`),e.setAttribute("tabindex","0"))}generateIndexPattern(e){const{focus:t,numClasses:i}=this.legendElement;return"HL"===t?e:2===i?this.twoClasses(e,t):3===i?this.threeClasses(e,t):4===i?this.fourClasses(e,t):null}twoClasses(e,t){return"HH"===t||null===t?0===e||2===e?e+1:1===e||3===e?e-1:null:"LH"===t?0===e?e+3:1===e?e+1:2===e?e-1:3===e?e-3:4===e?e+0:null:"LL"===t?0===e||1===e?e+2:2===e||3===e?e-2:null:void 0}threeClasses(e,t){return"HH"===t||null===t?0===e||3===e||6===e?e+2:2===e||5===e||8===e?e-2:e:"LH"===t?0===e?e+8:1===e?e+6:2===e?e+4:3===e?e+2:5===e?e-2:6===e?e-4:7===e?e-6:8===e?e-8:e:"LL"===t?0===e||1===e||2===e?e+6:6===e||7===e||8===e?e-6:e:void 0}fourClasses(e,t){return"HH"===t||null===t?0===e||4===e||8===e||12===e?e+3:1===e||5===e||9===e||13===e?e+1:2===e||6===e||10===e||14===e?e-1:3===e||7===e||11===e||15===e?e-3:null:"LH"===t?0===e?e+15:1===e?e+13:2===e?e+11:3===e?e+9:4===e?e+7:5===e?e+5:6===e?e+3:7===e?e+1:8===e?e-1:9===e?e-3:10===e?e-5:11===e?e-7:12===e?e-9:13===e?e-11:14===e?e-13:15===e?e-15:null:"LL"===t?0===e||1===e||2===e||3===e?e+12:4===e||5===e||6===e||7===e?e+4:8===e||9===e||10===e||11===e?e-4:12===e||13===e||14===e||15===e?e-12:null:void 0}reorderCellNodes(e){const t=[];for(;this.cellNodeCounter<=e.length-1;)e.map((e=>{parseInt(e.getAttribute("data-cell-index"))===this.cellNodeCounter&&t.push(e)})),this.cellNodeCounter++;return this.cellNodeCounter=0,t}attachFeatureIndexes(e){const{focus:t,numClasses:i}=this.legendElement;"HH"===t||null===t?this.relationshipFocusIsHighHigh(e,i):"LL"===t?this.relationshipFocusIsLowLow(e,i):"LH"===t?this.relationshipFocusIsLowHigh(e,i):"HL"===t&&this.relationshipFocusIsHighLow(e,i),this.cellNodeCounter=0}relationshipFocusIsHighHigh(e,t){for(let i=t-1;i>=0;i--)for(let n=t-1;n>=0;n--)this.setDataAttributes(e,i,n,t),this.cellNodeCounter++}relationshipFocusIsLowLow(e,t){for(let i=0;i<t;i++)for(let n=0;n<t;n++)this.setDataAttributes(e,i,n,t),this.cellNodeCounter++}relationshipFocusIsLowHigh(e,t){for(let i=0;i<t;i++)for(let n=t-1;n>=0;n--)this.setDataAttributes(e,i,n,t),this.cellNodeCounter++}relationshipFocusIsHighLow(e,t){for(let i=t-1;i>=0;i--)for(let n=0;n<t;n++)this.setDataAttributes(e,n,i,t),this.cellNodeCounter++}setDataAttributes(e,t,i,n){const a=e[this.cellNodeCounter];2===n?this.twoClassAttributes(a,t,i):3===n?this.threeClassAttributes(a,t,i):this.fourClassAttributes(a,t,i)}twoClassAttributes(e,t,i){const{legendElement:n}=this;"HL"===n.focus?this.swapDataFeatureIndexes(e,t,i):this.setDataFeatureIndexes(e,t,i)}threeClassAttributes(e,t,i){const{legendElement:n}=this;1===this.cellNodeCounter||3===this.cellNodeCounter||5===this.cellNodeCounter||7===this.cellNodeCounter?"HL"===n.focus?this.swapDataFeatureIndexes(e,t,i):this.setDataFeatureIndexes(e,t,i):"HL"!==n.focus?this.setDataFeatureIndexes(e,t,i):this.swapDataFeatureIndexes(e,t,i)}fourClassAttributes(e,t,i){const{legendElement:n}=this,{focus:a}=n;1===this.cellNodeCounter||2===this.cellNodeCounter||4===this.cellNodeCounter||5===this.cellNodeCounter||7===this.cellNodeCounter||8===this.cellNodeCounter||10===this.cellNodeCounter||11===this.cellNodeCounter||13===this.cellNodeCounter||14===this.cellNodeCounter?"HL"===a?this.swapDataFeatureIndexes(e,t,i):this.setDataFeatureIndexes(e,t,i):"HL"!==a?this.setDataFeatureIndexes(e,t,i):this.swapDataFeatureIndexes(e,t,i)}setDataFeatureIndexes(e,t,i){e.setAttribute("data-feature-i",`${t}`),e.setAttribute("data-feature-j",`${i}`),this.setDataCellFocus(e,t,i)}swapDataFeatureIndexes(e,t,i){e.setAttribute("data-feature-i",`${i}`),e.setAttribute("data-feature-j",`${t}`),this.setDataCellFocus(e,i,t)}setDataCellFocus(e,t,i){const{numClasses:n}=this.legendElement;2===n?this.setDataCellFocusForTwoClasses(e,t,i):3===n?this.setDataCellFocusForThreeClasses(e,t,i):4===n&&this.setDataCellFocusForFourClasses(e,t,i)}setDataCellFocusForTwoClasses(e,t,i){0===t&&0===i?e.setAttribute("data-cell-focus","LL"):0===t&&1===i?e.setAttribute("data-cell-focus","LH"):1===t&&0===i?e.setAttribute("data-cell-focus","HL"):1===t&&1===i&&e.setAttribute("data-cell-focus","HH")}setDataCellFocusForThreeClasses(e,t,i){0===t&&0===i?e.setAttribute("data-cell-focus","LL"):0===t&&1===i?e.setAttribute("data-cell-focus","LM"):0===t&&2===i?e.setAttribute("data-cell-focus","LH"):1===t&&0===i?e.setAttribute("data-cell-focus","ML"):1===t&&1===i?e.setAttribute("data-cell-focus","MM"):1===t&&2===i?e.setAttribute("data-cell-focus","MH"):2===t&&0===i?e.setAttribute("data-cell-focus","HL"):2===t&&1===i?e.setAttribute("data-cell-focus","HM"):2===t&&2===i&&e.setAttribute("data-cell-focus","HH")}setDataCellFocusForFourClasses(e,t,i){0===t&&0===i?e.setAttribute("data-cell-focus","LL"):0===t&&1===i?e.setAttribute("data-cell-focus","LM1"):0===t&&2===i?e.setAttribute("data-cell-focus","LM2"):0===t&&3===i?e.setAttribute("data-cell-focus","LH"):1===t&&0===i?e.setAttribute("data-cell-focus","M1L"):1===t&&1===i?e.setAttribute("data-cell-focus","M1M1"):1===t&&2===i?e.setAttribute("data-cell-focus","M1M2"):1===t&&3===i?e.setAttribute("data-cell-focus","M1H"):2===t&&0===i?e.setAttribute("data-cell-focus","M2L"):2===t&&1===i?e.setAttribute("data-cell-focus","M2M1"):2===t&&2===i?e.setAttribute("data-cell-focus","M2M2"):2===t&&3===i?e.setAttribute("data-cell-focus","M2H"):3===t&&0===i?e.setAttribute("data-cell-focus","HL"):3===t&&1===i?e.setAttribute("data-cell-focus","HM1"):3===t&&2===i?e.setAttribute("data-cell-focus","HM2"):3===t&&3===i&&e.setAttribute("data-cell-focus","HH")}applyEventHandlers(){const e=document.querySelectorAll(".esri-interactive-legend__svg-rect-element");Array.from(e).map((e=>{const t=e.getAttribute("data-feature-i"),i=e.getAttribute("data-feature-j"),n=e.getAttribute("data-cell-focus");e.onclick=()=>{this.handleFilter(t,i,n),this.handleSelectedElement(e)},e.onkeydown=a=>{const{key:s}=a;("Enter"===s||"Space"===s)&&(this.handleFilter(t,i,n),this.handleSelectedElement(e))}}))}async handleFilter(e,t,i){var n,a,s,l,o;const d=this.activeLayerInfo.layer,{authoringInfo:r}=d.renderer,{field1:p,field2:h}=r,{queryExpressions:v,fLayerView:g}=c.data[this.activeLayerInfo.layer.id];if("relationship-ramp"===this.legendElement.type&&r&&p&&h){const c=this.generateExpressionParams(p,h,r,e,t,i),d=this.generateExpressionForRelationship(c);0===v.length?v[0]=d:-1===v.indexOf(d)?v.push(d):v.splice(v.indexOf(d),1);const u=v.join(" OR "),y=null!==(a=null===(n=null==g?void 0:g.filter)||void 0===n?void 0:n.timeExtent)&&void 0!==a?a:null,[_,b]=await m(["esri/layers/support/FeatureFilter","esri/layers/support/FeatureEffect"]);if("filter"===(null===(s=this.filterMode)||void 0===s?void 0:s.type))g.filter=new _({where:u,timeExtent:(null===(l=null==g?void 0:g.filter)||void 0===l?void 0:l.timeExtent)?g.filter.timeExtent:null});else if(null===(o=this.filterMode)||void 0===o?void 0:o.effect){const{includedEffect:e,excludedEffect:t}=this.filterMode.effect,i=await f(t,g,"excludedEffect"),n=await f(e,g,"includedEffect");g.featureEffect=new b({filter:new _({where:u,timeExtent:y}),includedEffect:n,excludedEffect:i})}}}generateExpressionParams(e,t,i,n,a,s){const l=[],o=e.field,c=t.field,d=e.classBreakInfos,r=t.classBreakInfos,p=i.field1.hasOwnProperty("normalizationField")?i.field1.normalizationField:null,h=i.field2.hasOwnProperty("normalizationField")?i.field2.normalizationField:null;return d.forEach(((e,t)=>{const i=[];r.forEach(((e,n)=>{i.push([d[t],r[n]])})),l.push(i)})),{data:l,i:n,j:a,field1:p?`(${o}/${p})`:`${o}`,field2:h?`(${c}/${h})`:`${c}`,focus:s}}generateExpressionForRelationship(e){const{focus:t,field1:i,field2:n,data:a,i:s,j:l}=e;return"LL"===t?`${i} >= ${a[s][l][0].minValue} AND ${i} <= ${a[s][l][0].maxValue} AND ${n} >= ${a[s][l][1].minValue} AND ${n} <= ${a[s][l][1].maxValue}`:"LM"===t||"LM1"===t||"LM2"===t||"LH"===t?`${i} >= ${a[s][l][0].minValue} AND ${i} <= ${a[s][l][0].maxValue} AND ${n} > ${a[s][l][1].minValue} AND ${n} <= ${a[s][l][1].maxValue}`:"ML"===t||"M1L"===t||"M2L"===t||"HL"===t?`${i} > ${a[s][l][0].minValue} AND ${i} <= ${a[s][l][0].maxValue} AND ${n} >= ${a[s][l][1].minValue} AND ${n} <= ${a[s][l][1].maxValue}`:`${i} > ${a[s][l][0].minValue} AND ${i} <= ${a[s][l][0].maxValue} AND ${n} > ${a[s][l][1].minValue} AND ${n} <= ${a[s][l][1].maxValue}`}handleSelectedElement(e){const t=e.classList;t.contains("esri-interactive-legend--selected-cell")?(e.removeAttribute("stroke"),e.removeAttribute("stroke-width"),e.removeAttribute("stroke-opacity"),t.remove("esri-interactive-legend--selected-cell")):(t.add("esri-interactive-legend--selected-cell"),e.setAttribute("stroke","black"),e.setAttribute("stroke-width","3px"),e.setAttribute("stroke-opacity","1"))}};k.style=".sc-instant-apps-interactive-legend-relationship-h{display:block}.sc-instant-apps-interactive-legend-relationship-h .instant-apps-interactive-legend-relationship__instructional-text.sc-instant-apps-interactive-legend-relationship{display:inline-block;width:100%;text-align:center;margin-bottom:10px;background-color:#d2e9f9}.calcite-mode-dark .sc-instant-apps-interactive-legend-relationship-h .instant-apps-interactive-legend-relationship__instructional-text.sc-instant-apps-interactive-legend-relationship{background-color:var(--calcite-color-brand);color:#151515}";export{y as instant_apps_interactive_legend_group_legend_element,_ as instant_apps_interactive_legend_layer_element,b as instant_apps_interactive_legend_legend_element,x as instant_apps_interactive_legend_legend_element_caption,k as instant_apps_interactive_legend_relationship}
@@ -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 n,h as i,H as s,g as e}from"./p-e996c38f.js";import{l as o}from"./p-438fdc33.js";import{g as r}from"./p-8f973b3d.js";import{g as a}from"./p-a9a72626.js";import"./p-3b3f77bc.js";import"./p-d4056c1c.js";import"./p-3423b5ef.js";const p=(()=>{let t=0;return()=>(t+=1,`u${`0000${(Math.random()*36**4|0).toString(36)}`.slice(-4)}${t}`)})();function c(t){const n=[];for(let i=0,s=t.length;i<s;i++)n.push(t[i]);return n}function l(t,n){const i=(t.ownerDocument.defaultView||window).getComputedStyle(t).getPropertyValue(n);return i?parseFloat(i.replace("px","")):0}function h(t,n={}){return{width:n.width||function(t){const n=l(t,"border-left-width"),i=l(t,"border-right-width");return t.clientWidth+n+i}(t),height:n.height||function(t){const n=l(t,"border-top-width"),i=l(t,"border-bottom-width");return t.clientHeight+n+i}(t)}}const u=16384;function d(t){return new Promise(((n,i)=>{const s=new Image;s.decode=()=>n(s),s.onload=()=>n(s),s.onerror=i,s.crossOrigin="anonymous",s.decoding="async",s.src=t}))}const f=(t,n)=>{if(t instanceof n)return!0;const i=Object.getPrototypeOf(t);return null!==i&&(i.constructor.name===n.name||f(i,n))};function g(t,n,i){const s=window.getComputedStyle(t,i),e=s.getPropertyValue("content");if(""===e||"none"===e)return;const o=p();try{n.className=`${n.className} ${o}`}catch(t){return}const r=document.createElement("style");r.appendChild(function(t,n,i){const s=`.${t}:${n}`,e=i.cssText?function(t){const n=t.getPropertyValue("content");return`${t.cssText} content: '${n.replace(/'|"/g,"")}';`}(i):function(t){return c(t).map((n=>`${n}: ${t.getPropertyValue(n)}${t.getPropertyPriority(n)?" !important":""};`)).join(" ")}(i);return document.createTextNode(`${s}{${e}}`)}(o,i,s)),n.appendChild(r)}const v="application/font-woff",x="image/jpeg",m={woff:v,woff2:v,ttf:"application/font-truetype",eot:"application/vnd.ms-fontobject",png:"image/png",jpg:x,jpeg:x,gif:"image/gif",tiff:"image/tiff",svg:"image/svg+xml",webp:"image/webp"};function _(t){const n=function(t){const n=/\.([^./]*?)$/g.exec(t);return n?n[1]:""}(t).toLowerCase();return m[n]||""}function b(t){return-1!==t.search(/^(data:)/)}function w(t,n){return`data:${n};base64,${t}`}async function y(t,n,i){const s=await fetch(t,n);if(404===s.status)throw new Error(`Resource "${s.url}" not found`);const e=await s.blob();return new Promise(((t,n)=>{const o=new FileReader;o.onerror=n,o.onloadend=()=>{try{t(i({res:s,result:o.result}))}catch(t){n(t)}},o.readAsDataURL(e)}))}const k={};async function P(t,n,i){const s=function(t,n,i){let s=t.replace(/\?.*/,"");return i&&(s=t),/ttf|otf|eot|woff2?/i.test(s)&&(s=s.replace(/.*\//,"")),n?`[${n}]${s}`:s}(t,n,i.includeQueryParams);if(null!=k[s])return k[s];let e;i.cacheBust&&(t+=(/\?/.test(t)?"&":"?")+(new Date).getTime());try{const s=await y(t,i.fetchRequestInit,(({res:t,result:i})=>(n||(n=t.headers.get("Content-Type")||""),function(t){return t.split(/,/)[1]}(i))));e=w(s,n)}catch(n){e=i.imagePlaceholder||"";let s=`Failed to fetch resource: ${t}`;n&&(s="string"==typeof n?n:n.message),s&&console.warn(s)}return k[s]=e,e}const $=t=>null!=t.tagName&&"SLOT"===t.tagName.toUpperCase();async function S(t,n,i){return i||!n.filter||n.filter(t)?Promise.resolve(t).then((t=>async function(t,n){return f(t,HTMLCanvasElement)?async function(t){const n=t.toDataURL();return"data:,"===n?t.cloneNode(!1):d(n)}(t):f(t,HTMLVideoElement)?async function(t,n){if(t.currentSrc){const n=document.createElement("canvas"),i=n.getContext("2d");return n.width=t.clientWidth,n.height=t.clientHeight,null==i||i.drawImage(t,0,0,n.width,n.height),d(n.toDataURL())}const i=t.poster,s=_(i);return d(await P(i,s,n))}(t,n):f(t,HTMLIFrameElement)?async function(t){var n;try{if(null===(n=null==t?void 0:t.contentDocument)||void 0===n?void 0:n.body)return await S(t.contentDocument.body,{},!0)}catch(t){}return t.cloneNode(!1)}(t):t.cloneNode(!1)}(t,n))).then((i=>async function(t,n,i){var s,e;let o=[];return o=$(t)&&t.assignedNodes?c(t.assignedNodes()):f(t,HTMLIFrameElement)&&(null===(s=t.contentDocument)||void 0===s?void 0:s.body)?c(t.contentDocument.body.childNodes):c((null!==(e=t.shadowRoot)&&void 0!==e?e:t).childNodes),0===o.length||f(t,HTMLVideoElement)||await o.reduce(((t,s)=>t.then((()=>S(s,i))).then((t=>{t&&n.appendChild(t)}))),Promise.resolve()),n}(t,i,n))).then((n=>function(t,n){return f(n,Element)&&(function(t,n){const i=n.style;if(!i)return;const s=window.getComputedStyle(t);s.cssText?(i.cssText=s.cssText,i.transformOrigin=s.transformOrigin):c(s).forEach((e=>{let o=s.getPropertyValue(e);if("font-size"===e&&o.endsWith("px")){const t=Math.floor(parseFloat(o.substring(0,o.length-2)))-.1;o=`${t}px`}f(t,HTMLIFrameElement)&&"display"===e&&"inline"===o&&(o="block"),"d"===e&&n.getAttribute("d")&&(o=`path(${n.getAttribute("d")})`),i.setProperty(e,o,s.getPropertyPriority(e))}))}(t,n),function(t,n){g(t,n,":before"),g(t,n,":after")}(t,n),function(t,n){f(t,HTMLTextAreaElement)&&(n.innerHTML=t.value),f(t,HTMLInputElement)&&n.setAttribute("value",t.value)}(t,n),function(t,n){if(f(t,HTMLSelectElement)){const i=Array.from(n.children).find((n=>t.value===n.getAttribute("value")));i&&i.setAttribute("selected","")}}(t,n)),n}(t,n))).then((t=>async function(t,n){const i=t.querySelectorAll?t.querySelectorAll("use"):[];if(0===i.length)return t;const s={};for(let e=0;e<i.length;e++){const o=i[e].getAttribute("xlink:href");if(o){const i=t.querySelector(o),e=document.querySelector(o);i||!e||s[o]||(s[o]=await S(e,n,!0))}}const e=Object.values(s);if(e.length){const n="http://www.w3.org/1999/xhtml",i=document.createElementNS(n,"svg");i.setAttribute("xmlns",n),i.style.position="absolute",i.style.width="0",i.style.height="0",i.style.overflow="hidden",i.style.display="none";const s=document.createElementNS(n,"defs");i.appendChild(s);for(let t=0;t<e.length;t++)s.appendChild(e[t]);t.appendChild(i)}return t}(t,n))):null}const C=/url\((['"]?)([^'"]+?)\1\)/g,E=/url\([^)]+\)\s*format\((["']?)([^"']+)\1\)/g,F=/src:\s*(?:url\([^)]+\)\s*format\([^)]+\)[,;]\s*)+/g;function M(t){return-1!==t.search(C)}async function j(t,n,i){if(!M(t))return t;const s=function(t,{preferredFontFormat:n}){return n?t.replace(F,(t=>{for(;;){const[i,,s]=E.exec(t)||[];if(!s)return"";if(s===n)return`src: ${i};`}})):t}(t,i),e=function(t){const n=[];return t.replace(C,((t,i,s)=>(n.push(s),t))),n.filter((t=>!b(t)))}(s);return e.reduce(((t,s)=>t.then((t=>async function(t,n,i,s,e){try{const o=i?function(t,n){if(t.match(/^[a-z]+:\/\//i))return t;if(t.match(/^\/\//))return window.location.protocol+t;if(t.match(/^[a-z]+:/i))return t;const i=document.implementation.createHTMLDocument(),s=i.createElement("base"),e=i.createElement("a");return i.head.appendChild(s),i.body.appendChild(e),n&&(s.href=n),e.href=t,e.href}(n,i):n,r=_(n);let a;return a=e?w(await e(o),r):await P(o,r,s),t.replace(function(t){const n=t.replace(/([.*+?^${}()|\[\]\/\\])/g,"\\$1");return new RegExp(`(url\\(['"]?)(${n})(['"]?\\))`,"g")}(n),`$1${a}$3`)}catch(t){}return t}(t,s,n,i)))),Promise.resolve(s))}async function T(t,n,i){var s;const e=null===(s=n.style)||void 0===s?void 0:s.getPropertyValue(t);if(e){const s=await j(e,null,i);return n.style.setProperty(t,s,n.style.getPropertyPriority(t)),!0}return!1}async function L(t,n){f(t,Element)&&(await async function(t,n){await T("background",t,n)||await T("background-image",t,n),await T("mask",t,n)||await T("mask-image",t,n)}(t,n),await async function(t,n){const i=f(t,HTMLImageElement);if((!i||b(t.src))&&(!f(t,SVGImageElement)||b(t.href.baseVal)))return;const s=i?t.src:t.href.baseVal,e=await P(s,_(s),n);await new Promise(((n,s)=>{t.onload=n,t.onerror=s;const o=t;o.decode&&(o.decode=n),"lazy"===o.loading&&(o.loading="eager"),i?(t.srcset="",t.src=e):t.href.baseVal=e}))}(t,n),await async function(t,n){const i=c(t.childNodes).map((t=>L(t,n)));await Promise.all(i).then((()=>t))}(t,n))}const D={};async function I(t){let n=D[t];if(null!=n)return n;const i=await fetch(t);return n={url:t,cssText:await i.text()},D[t]=n,n}async function O(t,n){let i=t.cssText;const s=/url\(["']?([^"')]+)["']?\)/g,e=(i.match(/url\([^)]+\)/g)||[]).map((async e=>{let o=e.replace(s,"$1");return o.startsWith("https://")||(o=new URL(o,t.url).href),y(o,n.fetchRequestInit,(({result:t})=>(i=i.replace(e,`url(${t})`),[e,t])))}));return Promise.all(e).then((()=>i))}function z(t){if(null==t)return[];const n=[];let i=t.replace(/(\/\*[\s\S]*?\*\/)/gi,"");const s=new RegExp("((@.*?keyframes [\\s\\S]*?){([\\s\\S]*?}\\s*?)})","gi");for(;;){const t=s.exec(i);if(null===t)break;n.push(t[0])}i=i.replace(s,"");const e=/@import[\s\S]*?url\([^)]*\)[\s\S]*?;/gi,o=new RegExp("((\\s*?(?:\\/\\*[\\s\\S]*?\\*\\/)?\\s*?@media[\\s\\S]*?){([\\s\\S]*?)}\\s*?})|(([\\s\\S]*?){([\\s\\S]*?)})","gi");for(;;){let t=e.exec(i);if(null===t){if(t=o.exec(i),null===t)break;e.lastIndex=o.lastIndex}else o.lastIndex=e.lastIndex;n.push(t[0])}return n}async function R(t,n){const i=null!=n.fontEmbedCSS?n.fontEmbedCSS:n.skipFonts?null:await async function(t,n){const i=await async function(t,n){if(null==t.ownerDocument)throw new Error("Provided element is not within a Document");const i=c(t.ownerDocument.styleSheets),s=await async function(t,n){const i=[],s=[];return t.forEach((i=>{if("cssRules"in i)try{c(i.cssRules||[]).forEach(((t,e)=>{if(t.type===CSSRule.IMPORT_RULE){let o=e+1;const r=I(t.href).then((t=>O(t,n))).then((t=>z(t).forEach((t=>{try{i.insertRule(t,t.startsWith("@import")?o+=1:i.cssRules.length)}catch(n){console.error("Error inserting rule from remote css",{rule:t,error:n})}})))).catch((t=>{console.error("Error loading remote css",t.toString())}));s.push(r)}}))}catch(e){const o=t.find((t=>null==t.href))||document.styleSheets[0];null!=i.href&&s.push(I(i.href).then((t=>O(t,n))).then((t=>z(t).forEach((t=>{o.insertRule(t,i.cssRules.length)})))).catch((t=>{console.error("Error loading remote stylesheet",t)}))),console.error("Error inlining remote css file",e)}})),Promise.all(s).then((()=>(t.forEach((t=>{if("cssRules"in t)try{c(t.cssRules||[]).forEach((t=>{i.push(t)}))}catch(n){console.error(`Error while reading CSS rules from ${t.href}`,n)}})),i)))}(i,n);return function(t){return t.filter((t=>t.type===CSSRule.FONT_FACE_RULE)).filter((t=>M(t.style.getPropertyValue("src"))))}(s)}(t,n);return(await Promise.all(i.map((t=>j(t.cssText,t.parentStyleSheet?t.parentStyleSheet.href:null,n))))).join("\n")}(t,n);if(i){const n=document.createElement("style"),s=document.createTextNode(i);n.appendChild(s),t.firstChild?t.insertBefore(n,t.firstChild):t.appendChild(n)}}async function H(t,n={}){const{width:i,height:s}=h(t,n),e=await S(t,n,!0);return await R(e,n),await L(e,n),function(t,n){const{style:i}=t;n.backgroundColor&&(i.backgroundColor=n.backgroundColor),n.width&&(i.width=`${n.width}px`),n.height&&(i.height=`${n.height}px`);const s=n.style;null!=s&&Object.keys(s).forEach((t=>{i[t]=s[t]}))}(e,n),await async function(t,n,i){const s="http://www.w3.org/2000/svg",e=document.createElementNS(s,"svg"),o=document.createElementNS(s,"foreignObject");return e.setAttribute("width",`${n}`),e.setAttribute("height",`${i}`),e.setAttribute("viewBox",`0 0 ${n} ${i}`),o.setAttribute("width","100%"),o.setAttribute("height","100%"),o.setAttribute("x","0"),o.setAttribute("y","0"),o.setAttribute("externalResourcesRequired","true"),e.appendChild(o),o.appendChild(t),async function(t){return Promise.resolve().then((()=>(new XMLSerializer).serializeToString(t))).then(encodeURIComponent).then((t=>`data:image/svg+xml;charset=utf-8,${t}`))}(e)}(e,i,s)}async function V(t,n={}){const{width:i,height:s}=h(t,n),e=await H(t,n),o=await d(e),r=document.createElement("canvas"),a=r.getContext("2d"),p=n.pixelRatio||function(){let t,n;try{n=process}catch(t){}const i=n&&n.env?n.env.devicePixelRatio:null;return i&&(t=parseInt(i,10),Number.isNaN(t)&&(t=1)),t||window.devicePixelRatio||1}(),c=n.canvasWidth||i,l=n.canvasHeight||s;return r.width=c*p,r.height=l*p,n.skipAutoScale||function(t){(t.width>u||t.height>u)&&(t.width>u&&t.height>u?t.width>t.height?(t.height*=u/t.width,t.width=u):(t.width*=u/t.height,t.height=u):t.width>u?(t.height*=u/t.width,t.width=u):(t.width*=u/t.height,t.height=u))}(r),r.style.width=`${c}`,r.style.height=`${l}`,n.backgroundColor&&(a.fillStyle=n.backgroundColor,a.fillRect(0,0,r.width,r.height)),a.drawImage(o,0,0,r.width,r.height),r}async function G(t,n={}){return(await V(t,n)).toDataURL("image/jpeg",n.quality||1)}const U="instant-apps-export calcite-mode-light",W="instant-apps-export-print instant-apps-export-print__pdf",A="instant-apps-export-print instant-apps-export-print__img",B="instant-apps-export-print__img--extra-content",N="instant-apps-export-print__content-container",J="instant-apps-export-print__extra-container",q="instant-apps-export-print__legend-container",X="instant-apps-export-print__compass-container",K="instant-apps-export-print__scale-bar-container",Q="instant-apps-export-print__popup-container",Y="instant-apps-export-print__popup-content",Z="instant-apps-export-print__popup-title",tt="instant-apps-export-print__view",nt="instant-apps-export-print__view-container",it="instant-apps-export-print__view-wrapper",st="instant-app-export-drag",et=class{constructor(i){t(this,i),this.exportOutputUpdated=n(this,"exportOutputUpdated",7),this.fileTypes=["PDF","JPG","PNG"],this.output=void 0,this.beforeExport=()=>Promise.resolve(),this.popoverIcon="export",this.extraContent=void 0,this.extraContentLabel=void 0,this.headerTitle="",this.logoImage="",this.includeExtraContent=!0,this.showExtraContentInImg=!1,this.includeLegend=!0,this.includeMap=!0,this.includePopup=!1,this.includeFileFormat=!0,this.mode="popover",this.popoverPositioning="absolute",this.popoverPlacement="auto",this.scale="m",this.showHeaderTitle=!0,this.showIncludeLegend=!0,this.showIncludeMap=!1,this.showIncludePopup=!0,this.showScaleBar=!1,this.view=void 0,this.maskBackground="rgba(255, 51, 0, 0.1)",this.maskBorder="2px dashed rgb(255, 51, 0)",this.baseClass=U,this.exportIsLoading=void 0,this.messages=void 0,this.selectedFileType="PDF"}watchIncludeMap(t){t&&this.updateLegend()}watchView(){this.handleIncludePopup()}async componentWillLoad(){this.baseClass="dark"===a(this.el)?"instant-apps-export calcite-mode-dark":U,r(this),await this.initializeModules()}componentDidLoad(){this.printContainerEl.prepend(this.printEl),this.handleIncludePopup()}async initializeModules(){const[t,n]=await o(["esri/core/Handles","esri/core/reactiveUtils"]);return this.handles=new t,this.reactiveUtils=n,Promise.resolve()}render(){const t="popover"===this.mode?this.renderPopover():this.renderPanel(),n=this.renderCompass();return i(s,{key:"9811c244faf2c794db3edaad498a9a902cb3faad"},i("div",{key:"cb880c04d46ec06a9588cedc0bd90ab62d25c0ac",class:this.baseClass,onMouseEnter:this.handleWidgetCreation.bind(this),onFocusin:this.handleWidgetCreation.bind(this)},t,i("div",{key:"fc7ccd1eeb4b6a82bd9804d1aa73c4f242085a56",class:"instant-apps-export__visually-hidden"},n)))}renderPopover(){var t,n,s;const e=this.renderPanel();return[i("calcite-popover",{referenceElement:"export-popover-btn",label:null===(t=this.messages)||void 0===t?void 0:t.exportPopover,overlayPositioning:this.popoverPositioning,placement:this.popoverPlacement,autoClose:!0,ref:t=>this.popoverEl=t},e),i("calcite-action",{id:"export-popover-btn",alignment:"center",icon:this.popoverIcon,scale:this.scale,title:null===(n=this.messages)||void 0===n?void 0:n.exportBtn,text:null===(s=this.messages)||void 0===s?void 0:s.exportBtn})]}renderPanel(){var t,n,s;const e=this.showHeaderTitle?this.renderTitle():null,o=null!=this.extraContent?this.renderSwitch("includeExtraContent",this.extraContentLabel,"PDF"!==this.selectedFileType&&!this.showExtraContentInImg):null,r=this.showIncludeMap?this.renderSwitch("includeMap",void 0,"PDF"!==this.selectedFileType):null,a=this.includeMap?this.renderMapOptions():null,p=this.includeFileFormat?this.renderSelectFileType():null,c="PDF"===this.selectedFileType?this.renderPrint():this.renderImg();return i("div",{class:"inline"===this.mode?"instant-apps-export__inline-container":"instant-apps-export__popover-container"},e,o,r,a,p,this.includeMap?i("calcite-button",{appearance:"transparent",width:"full",onClick:this.setMapAreaOnClick.bind(this,!0),disabled:this.exportIsLoading},null===(t=this.messages)||void 0===t?void 0:t.setMapArea):null,i("calcite-button",{width:"full",onClick:this.exportOnClick.bind(this),disabled:this.exportIsLoading},"PDF"===this.selectedFileType?null===(n=this.messages)||void 0===n?void 0:n.export:null===(s=this.messages)||void 0===s?void 0:s.preview),c)}renderTitle(){var t;return i("calcite-label",null,null===(t=this.messages)||void 0===t?void 0:t.title,i("calcite-input",{value:this.headerTitle,onCalciteInputInput:this.updateHeaderTitle.bind(this)}))}renderSwitch(t,n,s){var e;const o=null!=n?n:null===(e=this.messages)||void 0===e?void 0:e[t];return i("calcite-label",{layout:"inline-space-between"},o,i("calcite-switch",{checked:this[t],value:t,onCalciteSwitchChange:this.optionOnChange.bind(this),disabled:s}))}renderSelectFileType(){var t;return i("calcite-label",null,null===(t=this.messages)||void 0===t?void 0:t.fileType,i("calcite-select",{label:"",onCalciteSelectChange:this.handleSelectFileType.bind(this)},this.fileTypes.map((t=>i("calcite-option",{value:t,selected:t===this.selectedFileType},t)))))}renderMapOptions(){const t=this.showIncludeLegend?this.renderSwitch("includeLegend"):null,n=this.showIncludePopup?this.renderSwitch("includePopup"):null;return i("div",null,t,n)}renderPrint(){const t=this.includeMap?this.renderPrintMap():null,n=this.renderExtraContent(),s=this.includeMap&&this.showIncludeLegend?this.renderLegend():null,e=this.includeMap&&this.showIncludePopup?this.renderPopup():null;return i("div",{ref:t=>this.printContainerEl=t},i("div",{class:W,ref:t=>this.printEl=t},t,s,i("div",{class:N},e,n)))}renderPrintMap(){return i("div",{class:nt,ref:t=>this.viewContainerEl=t},i("div",{class:it,ref:t=>this.viewWrapperEl=t},this.headerTitle?i("instant-apps-header",{logoImage:this.logoImage,logoScale:"s",titleText:this.headerTitle,backgroundColor:"#fff",textColor:"#323232"}):null,i("img",{class:tt,ref:t=>this.viewEl=t}),i("div",{class:K,ref:t=>this.scaleBarContainerEl=t})))}renderLegend(){return i("div",{class:q,ref:t=>this.legendContainerEl=t})}renderCompass(){return i("div",{class:X,ref:t=>this.compassContainerEl=t})}renderPopup(){return i("div",{class:Q,ref:t=>this.popupContainerEl=t},i("div",{ref:t=>this.popupTitleEl=t,class:Z}),i("div",{ref:t=>this.popupContentEl=t,class:Y}))}renderExtraContent(){return i("div",{class:J,id:"export-content",ref:t=>this.extraContainerEl=t})}renderImg(){const t=this.includeMap?this.renderPrintMap():null,n=this.includeMap&&this.showIncludeLegend?this.renderLegend():null;let s;return this.includeMap&&this.showIncludePopup?s=this.renderPopup():this.showExtraContentInImg&&null!=this.extraContent&&this.includeExtraContent&&(s=this.renderExtraContent()),i("div",{ref:t=>this.printContainerEl=t},i("div",{class:A,ref:t=>this.printEl=t},t,n,s))}optionOnChange(t){const{checked:n,value:i}=t.target;this[i]=n,this.updateExportOutput()}updateHeaderTitle(t){this.headerTitle=t.target.value,this.updateExportOutput()}async exportOnClick(){this.removeScreenshotElements(),await this.beforeExport(),null==this.viewWrapperEl||this.viewWrapperEl.contains(this.compassContainerEl)||this.viewWrapperEl.append(this.compassContainerEl),this.handleViewExportOnClick(),null!=this.popoverEl&&(this.popoverEl.open=!1)}async exportPreviewOnClick(){"PDF"===this.selectedFileType?await this.exportPDF():this.exportImg()}async exportPDF(){this.removeScreenshotElements(),await this.beforeExport(),null==this.viewWrapperEl||this.viewWrapperEl.contains(this.compassContainerEl)||this.viewWrapperEl.append(this.compassContainerEl),this.handleViewExportOnClick(),null!=this.popoverEl&&(this.popoverEl.open=!1)}exportImg(){var t;if(this.resetPopupVisibility(),null==this.dataUrl)return;const n=document.createElement("a");n.id="download-link",n.href=this.dataUrl,n.download=null!==(t=this.headerTitle)&&void 0!==t?t:document.title,n.click(),this.dataUrl=null,this.exportIsLoading=!1,this.removeScreenshotElements(),this.resetPrintContent()}async handleViewExportOnClick(){null!=this.view?(this.addPrintStyling(),document.body.prepend(this.printEl),this.handleExtraContent(),this.includeMap?(this.updateScaleBar(),this.viewScreenshot(),this.handleImgLoaded()):this.handleImgLoaded()):null!=this.popoverEl&&(this.popoverEl.open=!1)}addPrintStyling(){null==this.printStyleEl&&(this.printStyleEl=document.createElement("style"),this.printStyleEl.innerHTML='\n @media print {\n @page {\n size: Portrait;\n margin: .25in;\n }\n\n html, body {\n padding: 0;\n margin: 0;\n height: 100%;\n width: 100%;\n }\n\n body > *:not(.instant-apps-export-print) { display: none; }\n }\n\n * {\n -webkit-print-color-adjust: exact;\n color-adjust: exact;\n }\n\n\n .instant-apps-export-print {\n position: absolute;\n z-index: -999;\n color: #323232 !important;\n --esri-calcite-mode-name: "light";\n }\n\n .instant-apps-export-print__pdf {\n height: 100%;\n width: 100%;\n display: grid;\n gap: 24px;\n grid-auto-flow: row;\n }\n\n .instant-apps-export-print__img {\n display: grid;\n width: auto;\n }\n\n .instant-apps-export-print__img--extra-content {\n grid-template-columns: 2fr minmax(0, 325px);\n }\n\n .instant-apps-export-print, .instant-apps-export-print * {\n box-sizing: border-box;\n }\n\n .instant-apps-export-print__view-section {\n height: 100%;\n }\n\n .instant-apps-export-print__view-container {\n height: 100%;\n width: 100%;\n display: flex;\n justify-content: center;\n }\n\n .instant-apps-export-print__img .instant-apps-export-print__view-container {\n grid-row: 1;\n grid-column: 1;\n }\n\n .instant-apps-export-print__view-wrapper {\n height: fit-content;\n width: fit-content;\n position: relative;\n display: flex;\n flex-direction: column;\n overflow: hidden;\n }\n\n .instant-apps-export-print__pdf .instant-apps-export-print__view-wrapper {\n border: 2pt solid #323232;\n }\n\n .instant-apps-export-print__img .instant-apps-export-print__view-wrapper {\n border: 1pt solid #323232;\n }\n\n .instant-apps-export-print__view {\n object-fit: contain;\n }\n\n .instant-apps-export-print__extra-container {\n grid-row: 1 / span 2;\n grid-column: 2;\n }\n \n .instant-apps-export-print__extra-container .esri-feature.esri-widget .esri-widget__heading.esri-feature__title {\n display: block;\n }\n\n .instant-apps-export-print__popup-container {\n height: min-content;\n max-width: 325px;\n display: none;\n color: #323232;\n background: #fff;\n break-inside: avoid;\n }\n\n .instant-apps-export-print__pdf .instant-apps-export-print__popup-container {\n border: 1pt solid #323232;\n }\n\n .instant-apps-export-print__img .instant-apps-export-print__popup-container {\n grid-row: 1 / span 2;\n grid-column: 2;\n }\n\n .instant-apps-export-print__popup-title {\n border-bottom: 1pt solid #323232;\n }\n\n .instant-apps-export-print__popup-content {\n background: #fff;\n padding-top: 8pt;\n }\n\n .instant-apps-export-print__popup-content .esri-feature-media__chart {\n background: #fff;\n }\n\n .instant-apps-export-print__legend-container {\n height: min-content;\n background: #fff;\n overflow: unset;\n }\n\n .instant-apps-export-print__img .instant-apps-export-print__legend-container {\n margin: 14px;\n grid-row: 2;\n grid-column: 1;\n }\n\n .esri-legend--card, .esri-legend--card__service-content {\n flex-flow: row wrap;\n }\n\n .instant-apps-export-print .esri-widget > *:not(.esri-scale-bar.esri-widget > *) {\n background: #fff;\n color: #323232;\n }\n\n .instant-apps-export-print__popup-content *, .instant-apps-export-print__img .esri-feature.esri-widget * {\n color: #323232;\n }\n\n .instant-apps-export-print .esri-widget__heading {\n margin: 4pt 7pt;\n padding: 0;\n color: #323232;\n }\n\n .instant-apps-export-print .esri-legend__ramp-label:before {\n border-color: rgba(0,0,0,0) rgba(50,50,50,.8) rgba(0,0,0,0) rgba(0,0,0,0);\n }\n\n .instant-apps-export-print .esri-legend--card__section {\n padding: 4pt 0 4pt;\n min-width: unset;\n border-left: none;\n }\n\n .instant-apps-export-print .esri-legend--card__section:first-child {\n border-left: none;\n }\n\n .instant-apps-export-print .esri-legend--card__service {\n border: none;\n flex: 0 1 auto;\n break-inside: avoid;\n }\n\n .instant-apps-export-print .esri-legend--card {\n border: none;\n gap: 6pt 12pt;\n }\n\n .instant-apps-export-print .esri-legend--card:not(:first-child),\n .instant-apps-export-print .esri-compass.esri-widget:not(:first-child) {\n display: none;\n }\n\n .instant-apps-export-print .esri-legend--card__service-caption-container {\n height: unset;\n padding: 0;\n border-bottom: none;\n }\n\n .instant-apps-export-print .esri-legend--card__service-caption-text {\n padding-bottom: 4px;\n }\n\n .instant-apps-export-print__compass-container {\n position: absolute;\n top: 65px;\n left: 15px;\n background: #fff;\n box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);\n --calcite-ui-icon-color: #000;\n border-radius: 50%;\n height: fit-content;\n }\n\n .instant-apps-export-print__compass-container .esri-compass {\n background: #fff;\n }\n\n .instant-apps-export-print__compass-container .esri-compass__icon.esri-icon-compass {\n color: #000;\n }\n\n .instant-apps-export-print__compass-container.esri-compass.esri-widget--button {\n background: #fff;\n }\n\n .instant-apps-export-print__scale-bar-container {\n width: 100%;\n position: absolute;\n bottom: 15px;\n margin: 0 15px;\n }\n\n .instant-apps-export-print__scale-bar-container .esri-scale-bar__label {\n color: #323232;\n font-size: 10px;\n padding: 0 4px;\n }\n \n .instant-apps-export-print__scale-bar-container--position .esri-scale-bar__label {\n height: 10px;\n padding: 0 2px;\n line-height: 11px;\n }\n\n .instant-apps-export-print__scale-bar-container .esri-scale-bar__bar-container:nth-child(1n+3) {\n display: none;\n }\n\n .instant-apps-export-print__scale-bar-container--position .esri-scale-bar__bar-container.esri-scale-bar__bar-container--line {\n align-items: center;\n }\n\n .instant-apps-export-print__scale-bar-container .esri-scale-bar__line {\n background-color: rgba(255, 255, 255, 0.66);\n }\n\n .instant-apps-export-print__scale-bar-container .esri-scale-bar__line--top {\n width: var(--instant-apps-scale-bar-top) !important;\n border-bottom: 2px solid #323232;\n }\n\n .instant-apps-export-print__scale-bar-container .esri-scale-bar__line--bottom {\n width: var(--instant-apps-scale-bar-bottom) !important;\n border-top: 2px solid #323232;\n }\n\n .instant-apps-export-print__scale-bar-container--position .esri-scale-bar__label-container--line {\n position: unset;\n margin: 0 2px;\n background-color: rgba(255, 255, 255, 0.66);\n height: 10px;\n display: flex;\n align-items: center;\n }\n\n .instant-apps-export-print__scale-bar-container .esri-scale-bar__line--top:before,\n .instant-apps-export-print__scale-bar-container .esri-scale-bar__line--top:after,\n .instant-apps-export-print__scale-bar-container .esri-scale-bar__line--bottom:before,\n .instant-apps-export-print__scale-bar-container .esri-scale-bar__line--bottom:after {\n background-color: #323232;\n border-right: 2px solid #323232;\n }\n\n .instant-apps-export-print__popup-container .esri-feature-media__item-navigation {\n display: none;\n }\n\n .instant-apps-export-print__popup-container .esri-feature-media__chart.esri-feature-media__chart--rendered * {\n width: 100%!important;\n }\n\n .instant-apps-export-print__popup-content .esri-popup__content {\n margin: 0;\n }\n\n .instant-apps-export-print__content-container {\n display: flex;\n gap: 24px;\n break-inside: avoid;\n break-before: auto;\n }',document.body.prepend(this.printStyleEl))}handleImgLoaded(){this.exportIsLoading=!0,setTimeout((()=>{"PDF"===this.selectedFileType&&(this.exportIsLoading=!1),this.setupViewPrintElements()}),1500)}handleExtraContent(){const t=this.printEl.querySelector("#export-content");if(null!=t){t.innerHTML="";const n=null!=this.extraContent&&this.includeExtraContent;this.printEl.classList.toggle(B,"PDF"!==this.selectedFileType&&this.showExtraContentInImg&&n),n?(t.style.display="block",t.append(this.extraContent.cloneNode(!0))):t.style.display="none"}else this.showExtraContentInImg&&"PDF"!==this.selectedFileType&&!this.includeExtraContent&&this.printEl.classList.toggle(B,!1)}resetPrintContent(){var t,n,i;if(null!=this.view){this.screenshot=null,null===(t=this.printContainerEl)||void 0===t||t.prepend(this.printEl),null===(n=this.printStyleEl)||void 0===n||n.remove(),null===(i=this.tmpPopupTitleEl)||void 0===i||i.remove(),this.printStyleEl=void 0;const s=this.printEl.querySelector("#export-content");s&&(s.innerHTML="")}}async updatePopupToPrint(){var t,n;if(null==this.view||null==this.popupContainerEl)return;this.popupContainerEl.style.display=this.includePopup&&this.view.popup.visible?"block":"none",this.checkPopupOpen();const i=this.includePopup&&(this.view.popup.visible||this.popupHiddenByMapArea)&&null!=this.view.popup.selectedFeature;if(this.printEl.classList.toggle(B,"PDF"!==this.selectedFileType&&i),i){const i=document.createElement(`h${null!==(t=this.view.popup.headingLevel)&&void 0!==t?t:2}`);i.innerHTML=null!==(n=this.view.popup.title)&&void 0!==n?n:"",i.className="esri-widget__heading esri-popup__header-title",null==this.popupTitleEl?(this.tmpPopupTitleEl=document.createElement("div"),this.tmpPopupTitleEl.prepend(i),this.tmpPopupTitleEl.style.display=this.view.popup.title?"block":"none",this.popupContainerEl.prepend(this.tmpPopupTitleEl)):(this.popupTitleEl.style.display=this.view.popup.title?"block":"none",this.popupTitleEl.innerHTML="",this.popupTitleEl.prepend(i))}}updateExportOutput(){this.output={},this.showHeaderTitle&&(this.output.headerTitle=this.headerTitle),this.showIncludeLegend&&(this.output.includeLegend=this.includeLegend),this.showIncludeMap&&(this.output.includeMap=this.includeMap),this.showIncludePopup&&(this.output.includePopup=this.includePopup),this.exportOutputUpdated.emit()}setupViewPrintElements(){if(null!=this.view)if(this.handleLegendSetup(),"PDF"===this.selectedFileType){const t=document.title;this.showHeaderTitle&&this.headerTitle&&(document.title=this.headerTitle),window.print(),document.title=t,setTimeout((()=>{this.resetPrintContent()}),1e3)}else this.convertToImage()}async convertToImage(){const t={backgroundColor:"#FFF",skipFonts:!0};let n="";try{n="JPG"===this.selectedFileType?await G(this.printEl,t):await async function(t,n={}){return(await V(t,n)).toDataURL()}(this.printEl,t)}catch(i){this.logoImage=void 0,await new Promise((t=>setTimeout(t,500))),n=await G(this.printEl,t)}finally{this.handleGetImage(n)}}handleGetImage(t){var n;this.resetPrintContent(),t&&(this.dataUrl=t,this.setMapAreaOnClick(!1),this.showPreview(t),null===(n=this.view)||void 0===n||n.container.classList.remove("screenshot-cursor"),this.setMaskPosition(null))}handleLegendSetup(){var t;if(this.showIncludeLegend&&null!=this.view&&this.includeMap&&null!=this.legendContainerEl){const n=null!=this.legend&&(null===(t=this.legend.activeLayerInfos)||void 0===t?void 0:t.length)>0;this.legendContainerEl.style.display=this.includeLegend&&n?"block":"none"}}handleWidgetCreation(){this.includeMap&&(this.handleLegendCreation(),this.handleCompassCreation(),this.updatePopupToPrint())}handleIncludePopup(){var t,n;if(this.showIncludePopup){const i="includePopup";null===(t=this.handles)||void 0===t||t.remove(i),null===(n=this.reactiveUtils)||void 0===n||n.whenOnce((()=>{var t;return null===(t=this.view)||void 0===t?void 0:t.ready})).then((()=>{var t;null===(t=this.handles)||void 0===t||t.add(this.reactiveUtils.watch((()=>{var t,n;return null===(n=null===(t=this.view)||void 0===t?void 0:t.popup)||void 0===n?void 0:n.visible}),(t=>{this.settingMapArea||(this.includePopup=t)})),i)}))}}handleLegendCreation(){var t,n,i,s,e;if(null!=this.view&&this.showIncludeLegend&&null!=this.legendContainerEl){const o=this.view.map,r=null===(n=null===(t=this.legend)||void 0===t?void 0:t.view)||void 0===n?void 0:n.map;null!=(null===(i=null==o?void 0:o.portalItem)||void 0===i?void 0:i.id)&&(null===(s=null==o?void 0:o.portalItem)||void 0===s?void 0:s.id)===(null===(e=null==r?void 0:r.portalItem)||void 0===e?void 0:e.id)||this.updateLegend()}}updateLegend(){var t;null===(t=this.view)||void 0===t||t.when((async t=>{if(null!=this.legend&&(this.legend.destroy(),this.legend=null),null!=this.legendContainerEl){this.legendContainerEl.innerHTML="";const n=document.createElement("div");this.legendContainerEl.append(n);const[i]=await o(["esri/widgets/Legend"]);this.legend=new i({container:n,view:t,respectLayerDefinitionExpression:!0,style:{type:"card",layout:"side-by-side"}})}}))}handleCompassCreation(){var t,n,i,s;if(null!=this.view&&null!=this.compassContainerEl){const e=this.view.map,o=null===(n=null===(t=this.compass)||void 0===t?void 0:t.view)||void 0===n?void 0:n.map;(null===(i=null==e?void 0:e.portalItem)||void 0===i?void 0:i.id)===(null===(s=null==o?void 0:o.portalItem)||void 0===s?void 0:s.id)||this.updateCompass()}}updateCompass(){var t;null===(t=this.view)||void 0===t||t.when((async t=>{var n;null===(n=this.compass)||void 0===n||n.destroy(),this.compass=null;const i=document.createElement("div");this.compassContainerEl.append(i);const[s]=await o(["esri/widgets/Compass"]);this.compass=new s({container:i,view:t})}))}updateScaleBar(){if(this.scaleBarContainerEl&&null!=this.view&&(this.scaleBarContainerEl.innerHTML="",this.showScaleBar)){const t=this.view.ui.getComponents(),n=null==t?void 0:t.find((({container:t})=>{var n;return null===(n=null==t?void 0:t.className)||void 0===n?void 0:n.includes("esri-scale-bar")}));null!=(null==n?void 0:n.container)&&"string"!=typeof n.container&&this.scaleBarContainerEl.append(n.container.cloneNode(!0))}}async viewScreenshot(){var t;if(null!=this.view&&this.includeMap&&(null==this.screenshot&&(null===(t=this.scaleBarContainerEl)||void 0===t||t.classList.toggle("instant-apps-export-print__scale-bar-container--position",this.view.width>1e3),this.screenshot=await this.view.takeScreenshot({width:2*this.view.width,height:2*this.view.height})),this.handleScaleBarSize(),null!=this.viewEl&&null!=this.viewWrapperEl)){const{height:t,width:n}=this.screenshot.data;t>n?this.setMaxRowHeightOnViewContainer():this.setMaxWidthOnViewContainer(),this.viewEl.src=this.screenshot.dataUrl}}setMaxRowHeightOnViewContainer(){"PDF"===this.selectedFileType&&(this.printEl.style.gridTemplateRows="minmax(auto, 70%)"),this.viewEl.style.height="100%",this.viewEl.style.width="",this.viewWrapperEl.style.height="100%",this.viewWrapperEl.style.width="fit-content"}setMaxWidthOnViewContainer(){this.printEl.style.gridTemplateRows="",this.viewEl.style.width="100%",this.viewEl.style.height="",this.viewWrapperEl.style.height="fit-content",this.viewWrapperEl.style.width="100%"}checkPopupOpen(){if(null!=this.view){const t=this.view.popup.container,n=null==t?void 0:t.querySelector(".esri-popup .esri-feature__main-container");if(null!=n){const t=n.querySelectorAll("canvas");this.popupContentEl.innerHTML="",this.popupContentEl.append(n.cloneNode(!0));const i=this.popupContentEl.querySelectorAll("canvas");t.forEach(((t,n)=>{var s;const e=t.toDataURL(),o=document.createElement("img");o.src=e;const r=t.getAttribute("style");r&&o.setAttribute("style",r);const a=i[n];null!=a&&(a.replaceWith(o),document.querySelector("link[href*='esri/themes/dark/main.css']")&&null!=(null===(s=o.parentElement)||void 0===s?void 0:s.parentElement)&&(o.parentElement.style.background="#242424",o.parentElement.parentElement.style.background="#242424"))}))}}}createScreenshot(){var t,n,i;if(null!=this.view){this.screenshotPreview=document.createElement("div"),this.screenshotPreview.className="screenshot-preview hide",this.screenshotImgContainer=document.createElement("div"),this.screenshotImgContainer.className="screenshot-img-container",this.screenshotImg=document.createElement("img");const s=document.createElement("div"),e=document.createElement("calcite-button"),o=document.createElement("calcite-button");e.innerHTML="PDF"===this.selectedFileType?null===(t=this.messages)||void 0===t?void 0:t.export:null===(n=this.messages)||void 0===n?void 0:n.downloadImage,o.innerHTML=null===(i=this.messages)||void 0===i?void 0:i.returnToMap,o.appearance="outline-fill",e.onclick=this.exportPreviewOnClick.bind(this),o.onclick=this.screenshotReturn.bind(this),s.append(o,e),this.screenshotImgContainer.append(this.screenshotImg,s),this.screenshotPreview.append(this.screenshotImgContainer),this.view.container.append(this.screenshotPreview)}}createMaskDiv(){null!=this.view&&(this.maskDivEl=document.createElement("div"),this.maskDivEl.id="screenshot-mask",this.maskDivEl.className="hide screenshot-cursor",this.maskDivEl.style.setProperty("--instant-apps-screenshot-mask-background",this.maskBackground),this.maskDivEl.style.setProperty("--instant-apps-screenshot-mask-border",this.maskBorder),this.screenshotStyle=document.createElement("style"),this.screenshotStyle.innerHTML="\n.screenshot-preview.hide, .hide {\n display: none;\n}\n\n.screenshot-cursor {\n cursor: crosshair;\n}\n\n.relative {\n position: relative;\n}\n\n#screenshot-mask {\n position: absolute;\n background: var(--instant-apps-screenshot-mask-background);\n border: var(--instant-apps-screenshot-mask-border);\n}\n\n.screenshot-preview {\n display: flex;\n align-items: center;\n justify-content: center;\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n text-align: center;\n background-color: rgba(0, 0, 0, 0.75);\n}\n\n.screenshot-preview * {\n box-sizing: border-box;\n}\n\n.screenshot-img-container img {\n max-height: 75%;\n max-width: 75%;\n object-fit: contain;\n box-shadow: 2px 2px 5px 0 rgba(0, 0, 0, 0.5);\n margin-bottom: 0.5em;\n}\n\n.screenshot-img-container {\n height: 100%;\n width: 100%;\n overflow-y: auto;\n margin-bottom: 8px;\n display: flex;\n flex-flow: column;\n align-items: center;\n justify-content: center;\n}\n\n.screenshot-img-container calcite-button {\n margin: 5px;\n}",this.view.container.append(this.screenshotStyle),this.view.container.append(this.maskDivEl))}screenshotReturn(){this.removeScreenshotElements(),this.exportIsLoading=!1,this.screenshot=null,this.resetPopupVisibility()}setMapAreaOnClick(t){null!=this.view&&(this.settingMapArea=!0,t&&this.view.popup.visible&&(this.popupHiddenByMapArea=!0,this.view.popup.container.style.display="none"),this.exportIsLoading=!0,this.createMaskDiv(),this.createScreenshot(),this.view.container.classList.add("screenshot-cursor","relative"),this.view.addHandles(this.view.on("drag",(async t=>{null!=this.view&&(t.stopPropagation(),"end"!==t.action?this.updateMaskSize(t):this.maskScreenshot())})),st))}updateMaskSize(t){if(null!=this.view){const n=this.clamp(Math.min(t.origin.x,t.x),0,this.view.width),i=this.clamp(Math.max(t.origin.x,t.x),0,this.view.width),s=this.clamp(Math.min(t.origin.y,t.y),0,this.view.height),e=this.clamp(Math.max(t.origin.y,t.y),0,this.view.height);this.area={x:n,y:s,width:i-n,height:e-s},this.setMaskPosition(this.area)}}maskScreenshot(){var t;if(null!=this.view&&null!=this.area){this.view.removeHandles(st);const n=this.area.height,i=this.area.width;this.showScaleBar&&(null===(t=this.scaleBarContainerEl)||void 0===t||t.classList.toggle("instant-apps-export-print__scale-bar-container--position",this.view.width>1e3&&.75*this.view.width<i)),this.view.takeScreenshot({area:this.area,width:2*i,height:2*n,format:"jpg"}).then((t=>{var n;this.screenshot=t,null===(n=this.view)||void 0===n||n.container.classList.remove("screenshot-cursor"),this.setMaskPosition(null),"PDF"===this.selectedFileType?(this.showPreview(null==t?void 0:t.dataUrl),this.resetPopupVisibility()):(null==this.viewWrapperEl||this.viewWrapperEl.contains(this.compassContainerEl)||this.viewWrapperEl.append(this.compassContainerEl),this.handleViewExportOnClick(),null!=this.popoverEl&&(this.popoverEl.open=!1))}))}}setMaskPosition(t){null!=t?(this.maskDivEl.classList.remove("hide"),this.maskDivEl.style.left=`${t.x}px`,this.maskDivEl.style.top=`${t.y}px`,this.maskDivEl.style.width=`${t.width}px`,this.maskDivEl.style.height=`${t.height}px`):this.maskDivEl.remove()}clamp(t,n,i){return t<n?n:t>i?i:t}showPreview(t){t&&(this.screenshotPreview.classList.remove("hide"),null!=this.screenshotImg&&(this.screenshotImg.src=t))}handleScaleBarSize(){var t;if(this.showScaleBar&&"2d"===(null===(t=this.view)||void 0===t?void 0:t.type)&&null!=this.scaleBarContainerEl){const t=this.scaleBarContainerEl.querySelector(".esri-scale-bar__line--top"),n=this.scaleBarContainerEl.querySelector(".esri-scale-bar__line--bottom");this.setScalebarWidth(t,"top"),this.setScalebarWidth(n,"bottom")}}setScalebarWidth(t,n){var i;if(null!=t&&null!=this.screenshot){const s=this.screenshot.data.width/2,e=Number(t.style.width.replace("px",""));null===(i=this.scaleBarContainerEl)||void 0===i||i.style.setProperty(`--instant-apps-scale-bar-${n}`,e/s*100+"%")}}removeScreenshotElements(){var t,n,i;null===(t=this.view)||void 0===t||t.removeHandles(st),null===(n=this.screenshotPreview)||void 0===n||n.remove(),null===(i=this.screenshotStyle)||void 0===i||i.remove()}resetPopupVisibility(){this.view&&this.settingMapArea&&this.popupHiddenByMapArea&&(this.view.popup.container.style.display=""),this.settingMapArea=!1,this.popupHiddenByMapArea=!1}handleSelectFileType(t){this.selectedFileType=t.target.value,"PDF"===this.selectedFileType?(this.includeMap=this.pdfIncludeMap,this.showExtraContentInImg||(this.includeExtraContent=this.pdfIncludeExtraContent)):(this.pdfIncludeMap=this.includeMap,this.includeMap=!0,this.showExtraContentInImg||(this.pdfIncludeExtraContent=this.includeExtraContent,this.includeMap=!0,this.includeExtraContent=!1))}get el(){return e(this)}static get watchers(){return{includeMap:["watchIncludeMap"],view:["watchView"]}}};et.style=":host{display:block;--instant-apps-export-action-background:var(--calcite-color-foreground-1);--instant-apps-export-action-background-hover:var(--calcite-color-foreground-2);--instant-apps-export-action-background-press:var(--calcite-color-foreground-3);--instant-apps-export-action-height:100%;--instant-apps-export-action-width:fit-content;--instant-apps-export-action-icon-color:var(--calcite-color-text-3);--instant-apps-export-action-icon-hover-color:var(--calcite-color-text-1);--instant-apps-export-background:var(--calcite-color-foreground-1);--instant-apps-export-text-color:var(--calcite-color-text-1);--instant-apps-export-popover-width:250px}.instant-apps-export{height:100%}.instant-apps-export *{box-sizing:border-box}.instant-apps-export__popover-container,.instant-apps-export__inline-container{padding:12px;background:var(--instant-apps-export-background);--calcite-color-text-1:var(--instant-apps-export-text-color)}.instant-apps-export__popover-container{width:var(--instant-apps-export-popover-width)}.instant-apps-export calcite-action{height:var(--instant-apps-export-action-height);width:var(--instant-apps-export-action-width);--calcite-color-foreground-1:var(--instant-apps-export-action-background);--calcite-color-foreground-2:var(--instant-apps-export-action-background-hover);--calcite-color-foreground-3:var(--instant-apps-export-action-background-press);--calcite-color-text-3:var(--instant-apps-export-action-icon-color);--calcite-color-text-1:var(--instant-apps-export-action-icon-hover-color)}.instant-apps-export .instant-apps-export-print{display:none}.instant-apps-export .instant-apps-export-print_img{display:flex;flex-flow:row wrap}.instant-apps-export__visually-hidden{position:absolute;top:0;z-index:-1;visibility:hidden}.instant-apps-export calcite-input{--calcite-color-foreground-1:var(--instant-apps-export-background);--calcite-color-text-1:var(--instant-apps-export-text-color)}.instant-apps-export calcite-popover{--calcite-color-foreground-1:var(--instant-apps-export-background)}.instant-apps-export calcite-switch{--calcite-color-foreground-1:#fff;--calcite-color-foreground-2:#f3f3f3}.instant-apps-export calcite-button:last-of-type{margin-top:0.5rem}.instant-apps-export .calcite-mode-dark calcite-switch{--calcite-color-foreground-1:#2b2b2b;--calcite-color-foreground-2:#202020}.instant-apps-export__compass-container.esri-widget{background:#fff;box-shadow:0 1px 2px rgba(0, 0, 0, 0.3)}.instant-apps-export__compass-container.esri-widget .esri-compass__icon.esri-icon-compass{color:#6e6e6e}.hide{display:none}.screenshotCursor{cursor:crosshair}";export{et as instant_apps_export}
@@ -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,h as o,H as s,g as e}from"./p-e996c38f.js";import{l as n}from"./p-438fdc33.js";import"./p-3b3f77bc.js";import"./p-d4056c1c.js";const i="components",r=`[slot="${i}"]`,a=class{constructor(o){t(this,o),this.components=[],this.view=void 0}async componentWillLoad(){const[t]=await n(["esri/widgets/Expand"]);this.Expand=t,this._handleComponents()}componentWillUpdate(){this._handleComponents()}render(){return o(s,{key:"45edbd93de055768fb4b58e9d12a7570d24bdd22"},o("slot",{key:"47d507e456dfc86a068948280b21386bc08e735c",name:i}))}_handleComponents(){const t=this._getComponentsNode();t&&(this._resetUI(t),this._attachComponents(t))}_attachComponents(t){this.components.forEach(this._attachmentComponent(t))}_attachmentComponent(t){return(o,s)=>{let e=o.content;o.isExpand&&(e=this._getExpand(o),o.expandIcon&&(e.expandIcon=o.expandIcon),o.collapseTooltip&&(e.collapseTooltip=o.collapseTooltip),o.expandTooltip&&(e.expandTooltip=o.expandTooltip)),e.container||(e.container=document.createElement("div")),null==t||t.appendChild(e.container),s!==this.components.length-1&&(e.container.style="border-bottom: 1px solid var(--calcite-color-border-3)")}}_getExpand(t){var o;const{view:s}=this,{content:e}=t,n=null!==(o=null==t?void 0:t.expanded)&&void 0!==o&&o;return new this.Expand({content:e,view:s,expanded:n,mode:"floating",group:"instant-apps-control-panel"})}_getComponentsNode(){return this.el.querySelector(r)}_resetUI(t){if(t.children.length>0){const{firstChild:o}=t;for(;o;)t.removeChild(o)}}get el(){return e(this)}};a.style=":host{display:block}";export{a as instant_apps_control_panel}
@@ -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{b as n}from"./p-8f973b3d.js";import{c as t}from"./p-8717729a.js";var e,l,a,o;!function(n){n.User="user",n.Translation="translation"}(e||(e={})),function(n){n.String="string",n.TextEditor="textEditor"}(l||(l={})),function(n){n.ExpandCollapse="list-merge",n.SettingIndicator="list-button",n.Popover="information",n.Expanded="chevron-down",n.Collapsed="chevron-right",n.Copy="copy-to-clipboard",n.Breadcrumb="chevron-right",n.DefaultIcon="language",n.Title="title",n.Subtitle="subheading",n.Text="text",n.Description="description",n.Button="button",n.String="string"}(a||(a={})),function(n){n.Light="calcite-mode-light",n.Dark="calcite-mode-dark"}(o||(o={}));const u=t({uiData:null,currentLanguage:null,lastSave:null,saving:!1,currentLocaleSettingItem:null,portalItemResource:null,portalItemResourceT9n:null}),c=u.state,i=u;function r(n,t){var e;if(!n)return;const l=i.get("uiData"),a=new Map;a.set("locales",t),a.set("translatedLanguageLabels",Object.assign({},n.translatedLanguageLabels)),n.content.forEach((n=>{var t,e;const{type:o,label:u,value:c,uiLocation:i}=n,r=null==l?void 0:l.get(n.id);a.set(n.id,{userLocaleData:{type:null!=o?o:null,label:null!=u?u:null,value:null!=c?c:null},expanded:!0,selected:null!==(t=null==r?void 0:r.selected)&&void 0!==t&&t,uiLocation:i,tip:null!==(e=null==n?void 0:n.tip)&&void 0!==e?e:null})}));const o=n.content.map((n=>n.id)),u=o.every((n=>!a.get(n).selected)),c=a.get(o[0]);if(u&&c){const n=null==l?void 0:l.get(o[0]);c.selected=null===(e=null==n?void 0:n.selected)||void 0===e||e}return a}async function s(t){return(await n(t))[0]}function d(){var n;const t=[];return null===(n=c.uiData)||void 0===n||n.forEach(((n,e)=>{"locales"!==e&&"translatedLanguageLabels"!==e&&t.push(e)})),t}function v(n,t){const e=i.get("portalItemResourceT9n");let l;return(null==e?void 0:e[n])||(e[n]={}),l=Object.assign(Object.assign({},e),{[n]:Object.assign(Object.assign({},e[n]),t)}),l}function p(n){var t;return null!==(t=null==n?void 0:n.map((n=>n.locale)))&&void 0!==t?t:[]}function g(){return document.body.classList.contains(o.Dark)}function f(){const n=document.createElement("style");n.innerHTML="\n .instant-apps-language-translator-item__nested-input .ck.ck-reset.ck-editor.ck-rounded-corners {\n margin-left: 30px !important;\n }\n",document.head.appendChild(n)}async function b(n){const t=i.get("portalItemResourceT9n"),e=Date.now();i.set("lastSave",e);const l=JSON.stringify(Object.assign(Object.assign({},t),{lastSave:e})),a=new Blob([l],{type:"application/json"});n.update(a)}export{a as E,r as a,p as b,d as c,l as d,g as e,o as f,s as g,e as h,f as i,v as j,c as l,i as s,b as u}
@@ -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,h as e,H as i,g as a}from"./p-e996c38f.js";import{g as s}from"./p-8f973b3d.js";import"./p-438fdc33.js";import"./p-3b3f77bc.js";import"./p-d4056c1c.js";import"./p-3423b5ef.js";class n{constructor(){this.pages=[],this.headerText="",this.pages=[]}setPages(t){this.pages=t,this.setDefaultHeaderText()}setDefaultHeaderText(){this.headerText=this.pages.length?this.pages[0].title:""}}const p=class{constructor(e){t(this,e),this._viewModel=new n,this.header=!0,this.data=void 0,this.messages=void 0,this.headerText=void 0}watchPropHandler(t){this._setContent(t)}watchStateHandler(t){this._viewModel.headerText=t}componentWillLoad(){this._setContent(null==this?void 0:this.data)}componentDidLoad(){s(this)}render(){const t=this._renderAppGuidePages(this._viewModel.pages),a=this._renderAppGuideHeader();return e(i,{key:"d51ebf2ffce61a29806d07f5ca2ab187a3437086"},e("calcite-panel",{key:"f2af393d6c5342726d05cf04fc3a8989f5eea113",scale:"s"},a,e("calcite-carousel",{key:"221eb316a6f758f5cec40eaecdf68311ec950cfa",label:"App Guide",onCalciteCarouselChange:()=>this._updateHeaderText(),ref:t=>this._carouselRef=t,"arrow-type":this._getArrowType()},t)))}_setContent(t){this._viewModel.setPages(t),this.headerText=this._viewModel.headerText}_updateHeaderText(){var t;const{_viewModel:e,_carouselRef:i,messages:a}=this;if(!e||!i)return;const s=Array.from(i.childNodes).indexOf(i.selectedItem),n=null==e?void 0:e.pages,p=null!==(t=null==n?void 0:n[s])&&void 0!==t?t:n[0];this.headerText=(null==p?void 0:p.title)||(null==a?void 0:a.headerText)}_getArrowType(){return this._viewModel.pages.length>2?"inline":"none"}_renderAppGuideHeader(){const{messages:t,header:i,headerText:a}=this;return i&&(null==t?void 0:t.headerText)?e("span",{slot:"header-content"},a||(null==t?void 0:t.headerText)," ",e("calcite-icon",{icon:"lightbulb",scale:"s"})):null}_renderAppGuidePages(t){return t.map(((t,i)=>{const{content:a,type:s,title:n}=t;return e("calcite-carousel-item",{label:n,key:`page_${i}`},e("div",{class:"instant-apps-app-guide__content-wrapper"},this._renderContentItems(a,s)))}))}_renderContentItems(t,i){return"list"===i?e("ol",{class:"instant-apps-app-guide__content-list"},t.map(((t,i)=>e("li",{key:`content-list-item-${i}`,class:"instant-apps-app-guide__content-list--item"},t)))):t.map(((t,i)=>e("p",{key:`content-paragraph-${i}`},t)))}get el(){return a(this)}static get watchers(){return{data:["watchPropHandler"],headerText:["watchStateHandler"]}}};p.style=":host{--instant-apps-app-guide-width:300px;--instant-apps-app-guide-height:400px;--instant-apps-app-guide-list-item-bubble-size:22px;width:var(--instant-apps-app-guide-width);height:var(--instant-apps-app-guide-height);display:block}:host calcite-panel{max-width:var(--instant-apps-app-guide-width);max-height:var(--instant-apps-app-guide-height);display:flex}:host calcite-carousel{flex:1;height:-moz-fit-content;height:fit-content;background-color:var(--calcite-color-foreground-1);overflow:auto}:host [slot=header-content]{display:flex;gap:var(--calcite-spacing-sm);padding-inline-start:0.25rem;font-weight:var(--calcite-font-weight-bold)}:host calcite-carousel-item{flex-grow:1;display:flex;flex-direction:column}:host .instant-apps-app-guide__content-wrapper{padding-block-start:0.5rem;padding-inline:0.5rem;flex-shrink:1;flex-grow:0}:host calcite-icon{--calcite-ui-icon-color:var(--calcite-color-brand)}:host .instant-apps-app-guide__content-list{counter-set:item-counter;margin-inline:0;padding-inline-start:var(--calcite-spacing-xxxl);padding-inline-end:var(--calcite-spacing-lg);position:relative}:host .instant-apps-app-guide__content-list .instant-apps-app-guide__content-list--item{counter-increment:item-counter;margin-block-start:var(--calcite-spacing-lg);display:flex;align-items:flex-start}:host .instant-apps-app-guide__content-list .instant-apps-app-guide__content-list--item::before{content:counter(item-counter);background-color:var(--calcite-color-text-2);color:var(--calcite-color-text-inverse);line-height:var(--calcite-font-line-height-fixed-xl);width:var(--instant-apps-app-guide-list-item-bubble-size);left:0;border-radius:var(--calcite-corner-radius-pill);display:flex;justify-content:center;font-size:var(--calcite-font-size-sm);position:absolute;max-height:var(--instant-apps-app-guide-list-item-bubble-size)}:host .instant-apps-app-guide__content-list .instant-apps-app-guide__content-list--item::marker{color:var(--calcite-color-transparent)}";export{p as instant_apps_app_guide}