@esri/solutions-components 0.8.64 → 0.8.66

Sign up to get free protection for your applications and to get access to all the features.
Files changed (673) hide show
  1. package/dist/cjs/{ExpandToggle-1ff416a1.js → ExpandToggle-08ea7a69.js} +1 -1
  2. package/dist/cjs/{FloatingArrow-ba8caba2.js → FloatingArrow-e430eec3.js} +1 -1
  3. package/dist/cjs/{Heading-f1f9e2dd.js → Heading-15954ee0.js} +1 -1
  4. package/dist/cjs/{Validation-425b2de4.js → Validation-0ed2f4a3.js} +1 -1
  5. package/dist/cjs/{ar-a2f57db2.js → ar-10894ca2.js} +12 -12
  6. package/dist/cjs/arcgis-login.cjs.entry.js +1 -1
  7. package/dist/cjs/basemap-gallery_7.cjs.entry.js +2 -2
  8. package/dist/cjs/{bg-cb903045.js → bg-0e9f4e64.js} +12 -12
  9. package/dist/cjs/{browser-d12b6cd5.js → browser-6137dfdf.js} +1 -1
  10. package/dist/cjs/{bs-3690f22d.js → bs-c3be214f.js} +12 -12
  11. package/dist/cjs/buffer-tools_3.cjs.entry.js +4 -4
  12. package/dist/cjs/{ca-fec18921.js → ca-b9c955ff.js} +12 -12
  13. package/dist/cjs/calcite-accordion-item.cjs.entry.js +3 -3
  14. package/dist/cjs/calcite-accordion.cjs.entry.js +2 -2
  15. package/dist/cjs/calcite-action-bar.cjs.entry.js +7 -7
  16. package/dist/cjs/calcite-action-group.cjs.entry.js +6 -6
  17. package/dist/cjs/calcite-action-menu_3.cjs.entry.js +9 -9
  18. package/dist/cjs/calcite-action-pad_2.cjs.entry.js +7 -7
  19. package/dist/cjs/calcite-action_2.cjs.entry.js +7 -7
  20. package/dist/cjs/calcite-alert_4.cjs.entry.js +10 -10
  21. package/dist/cjs/calcite-avatar_2.cjs.entry.js +2 -2
  22. package/dist/cjs/calcite-block-section.cjs.entry.js +5 -5
  23. package/dist/cjs/calcite-block_5.cjs.entry.js +14 -14
  24. package/dist/cjs/calcite-button.cjs.entry.js +8 -8
  25. package/dist/cjs/calcite-card-group.cjs.entry.js +4 -4
  26. package/dist/cjs/calcite-card.cjs.entry.js +7 -7
  27. package/dist/cjs/calcite-carousel-item.cjs.entry.js +1 -1
  28. package/dist/cjs/calcite-carousel.cjs.entry.js +7 -7
  29. package/dist/cjs/calcite-checkbox.cjs.entry.js +5 -5
  30. package/dist/cjs/calcite-chip-group.cjs.entry.js +4 -4
  31. package/dist/cjs/calcite-chip_2.cjs.entry.js +9 -9
  32. package/dist/cjs/calcite-color-picker-hex-input_2.cjs.entry.js +2 -2
  33. package/dist/cjs/calcite-color-picker.cjs.entry.js +7 -7
  34. package/dist/cjs/calcite-combobox-item-group.cjs.entry.js +2 -2
  35. package/dist/cjs/calcite-combobox_3.cjs.entry.js +12 -12
  36. package/dist/cjs/calcite-date-picker-day_3.cjs.entry.js +8 -8
  37. package/dist/cjs/calcite-dropdown-group_2.cjs.entry.js +5 -5
  38. package/dist/cjs/calcite-dropdown_2.cjs.entry.js +7 -7
  39. package/dist/cjs/calcite-fab.cjs.entry.js +4 -4
  40. package/dist/cjs/calcite-filter_5.cjs.entry.js +7 -7
  41. package/dist/cjs/calcite-flow_6.cjs.entry.js +9 -9
  42. package/dist/cjs/calcite-icon.cjs.entry.js +2 -2
  43. package/dist/cjs/calcite-inline-editable.cjs.entry.js +7 -7
  44. package/dist/cjs/calcite-input-number.cjs.entry.js +9 -9
  45. package/dist/cjs/calcite-input-text.cjs.entry.js +9 -9
  46. package/dist/cjs/{calcite-input-time-picker-686f45e7.js → calcite-input-time-picker-99b4a577.js} +58 -58
  47. package/dist/cjs/calcite-input-time-picker.cjs.entry.js +12 -12
  48. package/dist/cjs/calcite-input-time-zone.cjs.entry.js +8 -8
  49. package/dist/cjs/calcite-input_2.cjs.entry.js +9 -9
  50. package/dist/cjs/calcite-label.cjs.entry.js +1 -1
  51. package/dist/cjs/calcite-link.cjs.entry.js +4 -4
  52. package/dist/cjs/calcite-list-item-group.cjs.entry.js +3 -3
  53. package/dist/cjs/calcite-menu-item.cjs.entry.js +5 -5
  54. package/dist/cjs/calcite-menu.cjs.entry.js +5 -5
  55. package/dist/cjs/calcite-meter.cjs.entry.js +5 -5
  56. package/dist/cjs/calcite-modal.cjs.entry.js +7 -7
  57. package/dist/cjs/calcite-navigation-logo.cjs.entry.js +3 -3
  58. package/dist/cjs/calcite-navigation.cjs.entry.js +2 -2
  59. package/dist/cjs/calcite-notice.cjs.entry.js +7 -7
  60. package/dist/cjs/calcite-option-group.cjs.entry.js +1 -1
  61. package/dist/cjs/calcite-option_2.cjs.entry.js +7 -7
  62. package/dist/cjs/calcite-pagination.cjs.entry.js +5 -5
  63. package/dist/cjs/calcite-panel_2.cjs.entry.js +9 -9
  64. package/dist/cjs/calcite-pick-list-group.cjs.entry.js +4 -4
  65. package/dist/cjs/calcite-pick-list-item.cjs.entry.js +8 -8
  66. package/dist/cjs/calcite-pick-list.cjs.entry.js +6 -6
  67. package/dist/cjs/calcite-radio-button-group.cjs.entry.js +4 -4
  68. package/dist/cjs/calcite-radio-button.cjs.entry.js +5 -5
  69. package/dist/cjs/calcite-rating.cjs.entry.js +8 -8
  70. package/dist/cjs/calcite-segmented-control_2.cjs.entry.js +7 -7
  71. package/dist/cjs/calcite-sheet.cjs.entry.js +4 -4
  72. package/dist/cjs/calcite-shell-center-row.cjs.entry.js +3 -3
  73. package/dist/cjs/calcite-shell-panel_14.cjs.entry.js +13 -13
  74. package/dist/cjs/calcite-sortable-list.cjs.entry.js +4 -4
  75. package/dist/cjs/calcite-split-button.cjs.entry.js +4 -4
  76. package/dist/cjs/calcite-stepper-item.cjs.entry.js +7 -7
  77. package/dist/cjs/calcite-stepper.cjs.entry.js +4 -4
  78. package/dist/cjs/calcite-switch.cjs.entry.js +5 -5
  79. package/dist/cjs/calcite-table-cell_2.cjs.entry.js +7 -7
  80. package/dist/cjs/calcite-table-row.cjs.entry.js +3 -3
  81. package/dist/cjs/calcite-table.cjs.entry.js +6 -6
  82. package/dist/cjs/calcite-text-area.cjs.entry.js +9 -9
  83. package/dist/cjs/calcite-tile-group.cjs.entry.js +4 -4
  84. package/dist/cjs/calcite-tile-select-group.cjs.entry.js +3 -3
  85. package/dist/cjs/calcite-tile-select.cjs.entry.js +4 -4
  86. package/dist/cjs/calcite-tile.cjs.entry.js +4 -4
  87. package/dist/cjs/calcite-time-picker.cjs.entry.js +6 -6
  88. package/dist/cjs/calcite-tip-group.cjs.entry.js +1 -1
  89. package/dist/cjs/calcite-tip-manager.cjs.entry.js +5 -5
  90. package/dist/cjs/calcite-tip.cjs.entry.js +6 -6
  91. package/dist/cjs/calcite-tooltip.cjs.entry.js +4 -4
  92. package/dist/cjs/calcite-tree_2.cjs.entry.js +5 -5
  93. package/dist/cjs/card-manager_3.cjs.entry.js +4 -4
  94. package/dist/cjs/{conditionalSlot-349d1b3a.js → conditionalSlot-99fb1621.js} +2 -2
  95. package/dist/cjs/consent-manager.cjs.entry.js +2 -2
  96. package/dist/cjs/crowdsource-manager.cjs.entry.js +2 -2
  97. package/dist/cjs/crowdsource-reporter.cjs.entry.js +5 -4
  98. package/dist/cjs/{cs-b061b441.js → cs-3aaff343.js} +12 -12
  99. package/dist/cjs/{da-e3c379ae.js → da-258fbd9d.js} +12 -12
  100. package/dist/cjs/{date-874bf94e.js → date-00fc3e5c.js} +1 -1
  101. package/dist/cjs/{de-65d2876f.js → de-2aebcdd2.js} +12 -12
  102. package/dist/cjs/{de-at-16b7b50e.js → de-at-49139550.js} +12 -12
  103. package/dist/cjs/{de-ch-11dcd113.js → de-ch-cfb5727e.js} +12 -12
  104. package/dist/cjs/deduct-calculator.cjs.entry.js +1 -1
  105. package/dist/cjs/{downloadUtils-08f9ebbd.js → downloadUtils-0d728477.js} +4 -4
  106. package/dist/cjs/{el-321d43b5.js → el-b393b949.js} +12 -12
  107. package/dist/cjs/{en-au-c48e6b73.js → en-au-0bce695e.js} +12 -12
  108. package/dist/cjs/{en-ca-9cc0e8f7.js → en-ca-da691553.js} +12 -12
  109. package/dist/cjs/{en-gb-8ced841b.js → en-gb-1fcd6d59.js} +12 -12
  110. package/dist/cjs/{es-aca5e6b4.js → es-2509530d.js} +12 -12
  111. package/dist/cjs/{es-mx-b69f0ebb.js → es-mx-634125ce.js} +12 -12
  112. package/dist/cjs/{et-7e29340d.js → et-73fb1be6.js} +12 -12
  113. package/dist/cjs/feature-comments.cjs.entry.js +1 -1
  114. package/dist/cjs/feature-form-flow-item.cjs.entry.js +1 -1
  115. package/dist/cjs/feature-list.cjs.entry.js +5 -5
  116. package/dist/cjs/features-flow-item.cjs.entry.js +1 -1
  117. package/dist/cjs/{fi-f215f4d1.js → fi-882d0bd9.js} +12 -12
  118. package/dist/cjs/{floating-ui-beb70d3c.js → floating-ui-d90077fa.js} +1 -1
  119. package/dist/cjs/{form-71a108a7.js → form-eea3b222.js} +1 -1
  120. package/dist/cjs/{fr-ch-76f752e9.js → fr-ch-8dfbc6b7.js} +12 -12
  121. package/dist/cjs/{fr-0daba4be.js → fr-f71b2679.js} +12 -12
  122. package/dist/cjs/{he-32860a76.js → he-b04d3082.js} +12 -12
  123. package/dist/cjs/{helpers-0104985c.js → helpers-3cad996e.js} +1 -1
  124. package/dist/cjs/{hi-c5639f76.js → hi-eeb6d951.js} +12 -12
  125. package/dist/cjs/{hr-eb700fd5.js → hr-4cbb9ab9.js} +12 -12
  126. package/dist/cjs/{hu-e30e3d3a.js → hu-2f0ecbc7.js} +12 -12
  127. package/dist/cjs/{id-a3e96e5b.js → id-4ed2d454.js} +12 -12
  128. package/dist/cjs/{index-ff18be0d.js → index-696e53e6.js} +162 -145
  129. package/dist/cjs/{index-97020c9d.js → index-a0cca96e.js} +1 -1
  130. package/dist/cjs/{index.es-ca867656.js → index.es-5402d486.js} +4 -4
  131. package/dist/cjs/instant-apps-ckeditor-wrapper_3.cjs.entry.js +3 -3
  132. package/dist/cjs/instant-apps-control-panel.cjs.entry.js +1 -1
  133. package/dist/cjs/instant-apps-create.cjs.entry.js +1 -1
  134. package/dist/cjs/instant-apps-export.cjs.entry.js +1 -1
  135. package/dist/cjs/instant-apps-header.cjs.entry.js +1 -1
  136. package/dist/cjs/instant-apps-interactive-legend-classic.cjs.entry.js +3 -3
  137. package/dist/cjs/instant-apps-interactive-legend-count_2.cjs.entry.js +3 -3
  138. package/dist/cjs/instant-apps-interactive-legend-group-legend-element-caption.cjs.entry.js +3 -3
  139. package/dist/cjs/instant-apps-interactive-legend-group-legend-element_5.cjs.entry.js +3 -3
  140. package/dist/cjs/instant-apps-interactive-legend.cjs.entry.js +3 -3
  141. package/dist/cjs/instant-apps-keyboard-shortcuts.cjs.entry.js +1 -1
  142. package/dist/cjs/instant-apps-landing-page.cjs.entry.js +1 -1
  143. package/dist/cjs/instant-apps-language-switcher.cjs.entry.js +3 -3
  144. package/dist/cjs/instant-apps-language-translator.cjs.entry.js +3 -3
  145. package/dist/cjs/instant-apps-measurement.cjs.entry.js +1 -1
  146. package/dist/cjs/instant-apps-popover.cjs.entry.js +1 -1
  147. package/dist/cjs/instant-apps-popovers.cjs.entry.js +1 -1
  148. package/dist/cjs/instant-apps-scoreboard.cjs.entry.js +1 -1
  149. package/dist/cjs/instant-apps-sign-in.cjs.entry.js +1 -1
  150. package/dist/cjs/instant-apps-splash.cjs.entry.js +1 -1
  151. package/dist/cjs/{interactive-7e5c7df4.js → interactive-34bc91a0.js} +2 -2
  152. package/dist/cjs/{it-ch-c78435e7.js → it-ch-82d7d9c4.js} +12 -12
  153. package/dist/cjs/{it-acd3cf54.js → it-fc446914.js} +12 -12
  154. package/dist/cjs/{ja-ede2132a.js → ja-d4a86ac4.js} +12 -12
  155. package/dist/cjs/{ko-fcd96551.js → ko-78c281da.js} +12 -12
  156. package/dist/cjs/layout-manager.cjs.entry.js +2 -2
  157. package/dist/cjs/list-flow-item.cjs.entry.js +1 -1
  158. package/dist/cjs/{loadable-5d538ba2.js → loadable-53f1d561.js} +1 -1
  159. package/dist/cjs/loader.cjs.js +1 -1
  160. package/dist/cjs/{locale-31289fc5.js → locale-0998a9f9.js} +1 -1
  161. package/dist/cjs/{locale-d2a1066a.js → locale-73a540a5.js} +1 -1
  162. package/dist/cjs/location-flow-item.cjs.entry.js +1 -1
  163. package/dist/cjs/{lt-a30330ef.js → lt-81d0a34a.js} +12 -12
  164. package/dist/cjs/{lv-ac3b6560.js → lv-07db6759.js} +12 -12
  165. package/dist/cjs/map-select-tools_3.cjs.entry.js +6 -6
  166. package/dist/cjs/{mk-a3053dea.js → mk-cbbc8b51.js} +12 -12
  167. package/dist/cjs/{nb-7ab0bac1.js → nb-7ed8a253.js} +12 -12
  168. package/dist/cjs/{nl-7fa437ef.js → nl-e4e2b298.js} +12 -12
  169. package/dist/cjs/{observers-2a59d471.js → observers-a2648fc8.js} +1 -1
  170. package/dist/cjs/{openCloseComponent-e752f2a5.js → openCloseComponent-b85eabb5.js} +1 -1
  171. package/dist/cjs/pci-calculator.cjs.entry.js +1 -1
  172. package/dist/cjs/{pl-ea95b104.js → pl-770f8f68.js} +12 -12
  173. package/dist/cjs/{popupUtils-50b3c196.js → popupUtils-79328fc3.js} +2 -2
  174. package/dist/cjs/{pt-472083c2.js → pt-35056b6f.js} +12 -12
  175. package/dist/cjs/{pt-br-5f18543e.js → pt-br-a9159df1.js} +12 -12
  176. package/dist/cjs/public-notification.cjs.entry.js +6 -6
  177. package/dist/cjs/{publicNotificationStore-691f6f30.js → publicNotificationStore-42c4caaa.js} +1 -1
  178. package/dist/cjs/refine-results-flow-item.cjs.entry.js +1 -1
  179. package/dist/cjs/{restHelpersGet-be451f4a.js → restHelpersGet-d99cf121.js} +15 -0
  180. package/dist/cjs/{ro-e8b3d65c.js → ro-6a07a288.js} +12 -12
  181. package/dist/cjs/{ru-becefd01.js → ru-2d8f6f5f.js} +12 -12
  182. package/dist/cjs/share-item.cjs.entry.js +1 -1
  183. package/dist/cjs/{shared-list-render-6491aae1.js → shared-list-render-e0486f17.js} +2 -2
  184. package/dist/cjs/{sk-2f5fd4e0.js → sk-2bdec5ac.js} +12 -12
  185. package/dist/cjs/{sl-3ae17da6.js → sl-4aebcd29.js} +12 -12
  186. package/dist/cjs/solution-configuration.cjs.entry.js +6 -6
  187. package/dist/cjs/solution-contents_3.cjs.entry.js +5 -5
  188. package/dist/cjs/solution-item-icon.cjs.entry.js +1 -1
  189. package/dist/cjs/{solution-store-4e35404b.js → solution-store-3edab9b1.js} +2 -2
  190. package/dist/cjs/solutions-components.cjs.js +2 -2
  191. package/dist/cjs/spatial-ref.cjs.entry.js +2 -2
  192. package/dist/cjs/{sr-7d6b8d1b.js → sr-9b46b071.js} +12 -12
  193. package/dist/cjs/store-manager.cjs.entry.js +5 -5
  194. package/dist/cjs/{sv-9c51da5c.js → sv-6d8df3c4.js} +12 -12
  195. package/dist/cjs/{t9n-ef615628.js → t9n-d347df79.js} +2 -2
  196. package/dist/cjs/{templates-f7a3bf48.js → templates-ff543f5f.js} +1 -1
  197. package/dist/cjs/{th-fec0a074.js → th-bc1b390c.js} +12 -12
  198. package/dist/cjs/{time-089ab043.js → time-882a0f77.js} +1 -1
  199. package/dist/cjs/{tr-8d7c18a1.js → tr-cae9cd45.js} +12 -12
  200. package/dist/cjs/{uk-46a61312.js → uk-b66bf799.js} +12 -12
  201. package/dist/cjs/{utils-d237cb85.js → utils-44b3a80e.js} +1 -1
  202. package/dist/cjs/{utils-0ab15745.js → utils-8d9c798c.js} +1 -1
  203. package/dist/cjs/{vi-4114aa90.js → vi-c4217d0b.js} +12 -12
  204. package/dist/cjs/{zh-cn-30aca6fe.js → zh-cn-8641645c.js} +12 -12
  205. package/dist/cjs/{zh-hk-5971eb67.js → zh-hk-7d2fa590.js} +12 -12
  206. package/dist/cjs/{zh-tw-5fb5e7a9.js → zh-tw-2660bf33.js} +12 -12
  207. package/dist/collection/collection-manifest.json +1 -1
  208. package/dist/collection/components/crowdsource-reporter/crowdsource-reporter.js +3 -2
  209. package/dist/collection/components/feature-details/feature-details.js +1 -1
  210. package/dist/collection/components/solution-configuration/solution-configuration.js +1 -1
  211. package/dist/collection/components/solution-item/solution-item.js +1 -1
  212. package/dist/collection/components/solution-resource-item/solution-resource-item.js +1 -1
  213. package/dist/collection/components/store-manager/store-manager.js +1 -1
  214. package/dist/components/crowdsource-reporter.js +3 -2
  215. package/dist/components/feature-details2.js +1 -1
  216. package/dist/components/restHelpersGet.js +15 -0
  217. package/dist/esm/{ExpandToggle-12c73c9f.js → ExpandToggle-0efa470f.js} +1 -1
  218. package/dist/esm/{FloatingArrow-5585c8f7.js → FloatingArrow-c549da32.js} +1 -1
  219. package/dist/esm/{Heading-63031c74.js → Heading-2104570d.js} +1 -1
  220. package/dist/esm/{Validation-6712b322.js → Validation-cc8dc911.js} +1 -1
  221. package/dist/esm/{ar-19d4f5c7.js → ar-c705a441.js} +12 -12
  222. package/dist/esm/arcgis-login.entry.js +1 -1
  223. package/dist/esm/basemap-gallery_7.entry.js +2 -2
  224. package/dist/esm/{bg-63235b1a.js → bg-48ed25da.js} +12 -12
  225. package/dist/esm/{browser-e76c94f7.js → browser-7fe78178.js} +1 -1
  226. package/dist/esm/{bs-a1b74ac8.js → bs-67c8cc20.js} +12 -12
  227. package/dist/esm/buffer-tools_3.entry.js +4 -4
  228. package/dist/esm/{ca-b29c38ed.js → ca-26cc0a78.js} +12 -12
  229. package/dist/esm/calcite-accordion-item.entry.js +3 -3
  230. package/dist/esm/calcite-accordion.entry.js +2 -2
  231. package/dist/esm/calcite-action-bar.entry.js +7 -7
  232. package/dist/esm/calcite-action-group.entry.js +6 -6
  233. package/dist/esm/calcite-action-menu_3.entry.js +9 -9
  234. package/dist/esm/calcite-action-pad_2.entry.js +7 -7
  235. package/dist/esm/calcite-action_2.entry.js +7 -7
  236. package/dist/esm/calcite-alert_4.entry.js +10 -10
  237. package/dist/esm/calcite-avatar_2.entry.js +2 -2
  238. package/dist/esm/calcite-block-section.entry.js +5 -5
  239. package/dist/esm/calcite-block_5.entry.js +14 -14
  240. package/dist/esm/calcite-button.entry.js +8 -8
  241. package/dist/esm/calcite-card-group.entry.js +4 -4
  242. package/dist/esm/calcite-card.entry.js +7 -7
  243. package/dist/esm/calcite-carousel-item.entry.js +1 -1
  244. package/dist/esm/calcite-carousel.entry.js +7 -7
  245. package/dist/esm/calcite-checkbox.entry.js +5 -5
  246. package/dist/esm/calcite-chip-group.entry.js +4 -4
  247. package/dist/esm/calcite-chip_2.entry.js +9 -9
  248. package/dist/esm/calcite-color-picker-hex-input_2.entry.js +2 -2
  249. package/dist/esm/calcite-color-picker.entry.js +7 -7
  250. package/dist/esm/calcite-combobox-item-group.entry.js +2 -2
  251. package/dist/esm/calcite-combobox_3.entry.js +12 -12
  252. package/dist/esm/calcite-date-picker-day_3.entry.js +8 -8
  253. package/dist/esm/calcite-dropdown-group_2.entry.js +5 -5
  254. package/dist/esm/calcite-dropdown_2.entry.js +7 -7
  255. package/dist/esm/calcite-fab.entry.js +4 -4
  256. package/dist/esm/calcite-filter_5.entry.js +7 -7
  257. package/dist/esm/calcite-flow_6.entry.js +9 -9
  258. package/dist/esm/calcite-icon.entry.js +2 -2
  259. package/dist/esm/calcite-inline-editable.entry.js +7 -7
  260. package/dist/esm/calcite-input-number.entry.js +9 -9
  261. package/dist/esm/calcite-input-text.entry.js +9 -9
  262. package/dist/esm/{calcite-input-time-picker-7d1c6e48.js → calcite-input-time-picker-338cf509.js} +58 -58
  263. package/dist/esm/calcite-input-time-picker.entry.js +12 -12
  264. package/dist/esm/calcite-input-time-zone.entry.js +8 -8
  265. package/dist/esm/calcite-input_2.entry.js +9 -9
  266. package/dist/esm/calcite-label.entry.js +1 -1
  267. package/dist/esm/calcite-link.entry.js +4 -4
  268. package/dist/esm/calcite-list-item-group.entry.js +3 -3
  269. package/dist/esm/calcite-menu-item.entry.js +5 -5
  270. package/dist/esm/calcite-menu.entry.js +5 -5
  271. package/dist/esm/calcite-meter.entry.js +5 -5
  272. package/dist/esm/calcite-modal.entry.js +7 -7
  273. package/dist/esm/calcite-navigation-logo.entry.js +3 -3
  274. package/dist/esm/calcite-navigation.entry.js +2 -2
  275. package/dist/esm/calcite-notice.entry.js +7 -7
  276. package/dist/esm/calcite-option-group.entry.js +1 -1
  277. package/dist/esm/calcite-option_2.entry.js +7 -7
  278. package/dist/esm/calcite-pagination.entry.js +5 -5
  279. package/dist/esm/calcite-panel_2.entry.js +9 -9
  280. package/dist/esm/calcite-pick-list-group.entry.js +4 -4
  281. package/dist/esm/calcite-pick-list-item.entry.js +8 -8
  282. package/dist/esm/calcite-pick-list.entry.js +6 -6
  283. package/dist/esm/calcite-radio-button-group.entry.js +4 -4
  284. package/dist/esm/calcite-radio-button.entry.js +5 -5
  285. package/dist/esm/calcite-rating.entry.js +8 -8
  286. package/dist/esm/calcite-segmented-control_2.entry.js +7 -7
  287. package/dist/esm/calcite-sheet.entry.js +4 -4
  288. package/dist/esm/calcite-shell-center-row.entry.js +3 -3
  289. package/dist/esm/calcite-shell-panel_14.entry.js +13 -13
  290. package/dist/esm/calcite-sortable-list.entry.js +4 -4
  291. package/dist/esm/calcite-split-button.entry.js +4 -4
  292. package/dist/esm/calcite-stepper-item.entry.js +7 -7
  293. package/dist/esm/calcite-stepper.entry.js +4 -4
  294. package/dist/esm/calcite-switch.entry.js +5 -5
  295. package/dist/esm/calcite-table-cell_2.entry.js +7 -7
  296. package/dist/esm/calcite-table-row.entry.js +3 -3
  297. package/dist/esm/calcite-table.entry.js +6 -6
  298. package/dist/esm/calcite-text-area.entry.js +9 -9
  299. package/dist/esm/calcite-tile-group.entry.js +4 -4
  300. package/dist/esm/calcite-tile-select-group.entry.js +3 -3
  301. package/dist/esm/calcite-tile-select.entry.js +4 -4
  302. package/dist/esm/calcite-tile.entry.js +4 -4
  303. package/dist/esm/calcite-time-picker.entry.js +6 -6
  304. package/dist/esm/calcite-tip-group.entry.js +1 -1
  305. package/dist/esm/calcite-tip-manager.entry.js +5 -5
  306. package/dist/esm/calcite-tip.entry.js +6 -6
  307. package/dist/esm/calcite-tooltip.entry.js +4 -4
  308. package/dist/esm/calcite-tree_2.entry.js +5 -5
  309. package/dist/esm/card-manager_3.entry.js +4 -4
  310. package/dist/esm/{conditionalSlot-56bdb202.js → conditionalSlot-850652b1.js} +2 -2
  311. package/dist/esm/consent-manager.entry.js +2 -2
  312. package/dist/esm/crowdsource-manager.entry.js +2 -2
  313. package/dist/esm/crowdsource-reporter.entry.js +5 -4
  314. package/dist/esm/{cs-da7231d6.js → cs-3904d9c5.js} +12 -12
  315. package/dist/esm/{da-7e105037.js → da-6631bc66.js} +12 -12
  316. package/dist/esm/{date-93ae46b9.js → date-118148f9.js} +1 -1
  317. package/dist/esm/{de-b5646b5d.js → de-68e0ccb3.js} +12 -12
  318. package/dist/esm/{de-at-1d9434bb.js → de-at-d05edf69.js} +12 -12
  319. package/dist/esm/{de-ch-7beada93.js → de-ch-d7d9f8b9.js} +12 -12
  320. package/dist/esm/deduct-calculator.entry.js +1 -1
  321. package/dist/esm/{downloadUtils-f6e2a736.js → downloadUtils-de5ccf30.js} +4 -4
  322. package/dist/esm/{el-0f4bf89b.js → el-fed50b65.js} +12 -12
  323. package/dist/esm/{en-au-5c144cef.js → en-au-5a92bd2f.js} +12 -12
  324. package/dist/esm/{en-ca-1160089a.js → en-ca-4cb5380c.js} +12 -12
  325. package/dist/esm/{en-gb-ae98fc58.js → en-gb-95bbea85.js} +12 -12
  326. package/dist/esm/{es-88e1743a.js → es-88df3c8f.js} +12 -12
  327. package/dist/esm/{es-mx-020dfaaa.js → es-mx-55caef32.js} +12 -12
  328. package/dist/esm/{et-84f63ef8.js → et-57bffe46.js} +12 -12
  329. package/dist/esm/feature-comments.entry.js +1 -1
  330. package/dist/esm/feature-form-flow-item.entry.js +1 -1
  331. package/dist/esm/feature-list.entry.js +5 -5
  332. package/dist/esm/features-flow-item.entry.js +1 -1
  333. package/dist/esm/{fi-1016ee6e.js → fi-d8584bb7.js} +12 -12
  334. package/dist/esm/{floating-ui-f086572c.js → floating-ui-3e149d85.js} +1 -1
  335. package/dist/esm/{form-8fd73cbd.js → form-8b2f6210.js} +1 -1
  336. package/dist/esm/{fr-0e7ffd73.js → fr-8e4f3326.js} +12 -12
  337. package/dist/esm/{fr-ch-e18bae2c.js → fr-ch-6f2764a9.js} +12 -12
  338. package/dist/esm/{he-0cebe004.js → he-1e8dacc2.js} +12 -12
  339. package/dist/esm/{helpers-3407a4b6.js → helpers-ca6fa5a6.js} +1 -1
  340. package/dist/esm/{hi-cded031d.js → hi-c786d0be.js} +12 -12
  341. package/dist/esm/{hr-5643b2ab.js → hr-6c59640e.js} +12 -12
  342. package/dist/esm/{hu-6d605858.js → hu-bc712f59.js} +12 -12
  343. package/dist/esm/{id-7d804c46.js → id-e11a4447.js} +12 -12
  344. package/dist/esm/{index-d97f4f15.js → index-1dc14abf.js} +1 -1
  345. package/dist/esm/{index-83b693bc.js → index-e3f04fa1.js} +162 -145
  346. package/dist/esm/{index.es-89f753c1.js → index.es-c1c29b61.js} +4 -4
  347. package/dist/esm/instant-apps-ckeditor-wrapper_3.entry.js +3 -3
  348. package/dist/esm/instant-apps-control-panel.entry.js +1 -1
  349. package/dist/esm/instant-apps-create.entry.js +1 -1
  350. package/dist/esm/instant-apps-export.entry.js +1 -1
  351. package/dist/esm/instant-apps-header.entry.js +1 -1
  352. package/dist/esm/instant-apps-interactive-legend-classic.entry.js +3 -3
  353. package/dist/esm/instant-apps-interactive-legend-count_2.entry.js +3 -3
  354. package/dist/esm/instant-apps-interactive-legend-group-legend-element-caption.entry.js +3 -3
  355. package/dist/esm/instant-apps-interactive-legend-group-legend-element_5.entry.js +3 -3
  356. package/dist/esm/instant-apps-interactive-legend.entry.js +3 -3
  357. package/dist/esm/instant-apps-keyboard-shortcuts.entry.js +1 -1
  358. package/dist/esm/instant-apps-landing-page.entry.js +1 -1
  359. package/dist/esm/instant-apps-language-switcher.entry.js +3 -3
  360. package/dist/esm/instant-apps-language-translator.entry.js +3 -3
  361. package/dist/esm/instant-apps-measurement.entry.js +1 -1
  362. package/dist/esm/instant-apps-popover.entry.js +1 -1
  363. package/dist/esm/instant-apps-popovers.entry.js +1 -1
  364. package/dist/esm/instant-apps-scoreboard.entry.js +1 -1
  365. package/dist/esm/instant-apps-sign-in.entry.js +1 -1
  366. package/dist/esm/instant-apps-splash.entry.js +1 -1
  367. package/dist/esm/{interactive-3b9600a6.js → interactive-2e2d102f.js} +2 -2
  368. package/dist/esm/{it-849be361.js → it-4e97c5c6.js} +12 -12
  369. package/dist/esm/{it-ch-453fa26d.js → it-ch-e80d2f46.js} +12 -12
  370. package/dist/esm/{ja-edff1441.js → ja-e3822be4.js} +12 -12
  371. package/dist/esm/{ko-dc103450.js → ko-d6df4c1f.js} +12 -12
  372. package/dist/esm/layout-manager.entry.js +2 -2
  373. package/dist/esm/list-flow-item.entry.js +1 -1
  374. package/dist/esm/{loadable-b765a6f6.js → loadable-01033497.js} +1 -1
  375. package/dist/esm/loader.js +2 -2
  376. package/dist/esm/{locale-4adfc8cf.js → locale-0f1cdb1f.js} +1 -1
  377. package/dist/esm/{locale-a4cbae12.js → locale-60861d67.js} +1 -1
  378. package/dist/esm/location-flow-item.entry.js +1 -1
  379. package/dist/esm/{lt-270cc811.js → lt-9d03bfa7.js} +12 -12
  380. package/dist/esm/{lv-c877043c.js → lv-fff7ca43.js} +12 -12
  381. package/dist/esm/map-select-tools_3.entry.js +6 -6
  382. package/dist/esm/{mk-a816a702.js → mk-3d27ae0d.js} +12 -12
  383. package/dist/esm/{nb-e9c09b70.js → nb-3e1284dc.js} +12 -12
  384. package/dist/esm/{nl-56e70f3b.js → nl-45346a3c.js} +12 -12
  385. package/dist/esm/{observers-fcb1c07b.js → observers-fdb7a374.js} +1 -1
  386. package/dist/esm/{openCloseComponent-bbe76c58.js → openCloseComponent-1fbfcd2f.js} +1 -1
  387. package/dist/esm/pci-calculator.entry.js +1 -1
  388. package/dist/esm/{pl-687b559a.js → pl-851e041f.js} +12 -12
  389. package/dist/esm/{popupUtils-ecec5e6d.js → popupUtils-2c4baa5d.js} +2 -2
  390. package/dist/esm/{pt-8b05fed2.js → pt-8899042f.js} +12 -12
  391. package/dist/esm/{pt-br-85bdf812.js → pt-br-a43d0201.js} +12 -12
  392. package/dist/esm/public-notification.entry.js +6 -6
  393. package/dist/esm/{publicNotificationStore-08faccff.js → publicNotificationStore-c17ad008.js} +1 -1
  394. package/dist/esm/refine-results-flow-item.entry.js +1 -1
  395. package/dist/esm/{restHelpersGet-5c822bcd.js → restHelpersGet-eb33e6e1.js} +15 -0
  396. package/dist/esm/{ro-0975d6bb.js → ro-58f14d8f.js} +12 -12
  397. package/dist/esm/{ru-24b83704.js → ru-4688c237.js} +12 -12
  398. package/dist/esm/share-item.entry.js +1 -1
  399. package/dist/esm/{shared-list-render-07a20fc5.js → shared-list-render-b7b0f245.js} +2 -2
  400. package/dist/esm/{sk-8179af4d.js → sk-cc16b6af.js} +12 -12
  401. package/dist/esm/{sl-e6922692.js → sl-809eaa2e.js} +12 -12
  402. package/dist/esm/solution-configuration.entry.js +6 -6
  403. package/dist/esm/solution-contents_3.entry.js +5 -5
  404. package/dist/esm/solution-item-icon.entry.js +1 -1
  405. package/dist/esm/{solution-store-840c5489.js → solution-store-010d2027.js} +2 -2
  406. package/dist/esm/solutions-components.js +3 -3
  407. package/dist/esm/spatial-ref.entry.js +2 -2
  408. package/dist/esm/{sr-1d30e69e.js → sr-48ddceba.js} +12 -12
  409. package/dist/esm/store-manager.entry.js +5 -5
  410. package/dist/esm/{sv-ea3c4b80.js → sv-2f138f0f.js} +12 -12
  411. package/dist/esm/{t9n-dd2a98fc.js → t9n-5800da82.js} +2 -2
  412. package/dist/esm/{templates-824ea028.js → templates-3bc0b4de.js} +1 -1
  413. package/dist/esm/{th-0f1b35bc.js → th-b3474642.js} +12 -12
  414. package/dist/esm/{time-bc97792f.js → time-7837ffad.js} +1 -1
  415. package/dist/esm/{tr-eb4e860e.js → tr-52b937e8.js} +12 -12
  416. package/dist/esm/{uk-f3ebd952.js → uk-e0460e9b.js} +12 -12
  417. package/dist/esm/{utils-efd425d4.js → utils-8519a5f7.js} +1 -1
  418. package/dist/esm/{utils-bf012a3f.js → utils-e4ed10d3.js} +1 -1
  419. package/dist/esm/{vi-872e449d.js → vi-1b5fccc2.js} +12 -12
  420. package/dist/esm/{zh-cn-8c5a3222.js → zh-cn-559b2148.js} +12 -12
  421. package/dist/esm/{zh-hk-247683c2.js → zh-hk-beb2d45d.js} +12 -12
  422. package/dist/esm/{zh-tw-76a429e9.js → zh-tw-a9743012.js} +12 -12
  423. package/dist/loader/index.d.ts +3 -0
  424. package/dist/solutions-components/{p-15e08453.js → p-0029318e.js} +1 -1
  425. package/dist/solutions-components/{p-7638ce3d.js → p-05c1fa62.js} +1 -1
  426. package/dist/solutions-components/{p-11094d76.entry.js → p-065a0712.entry.js} +1 -1
  427. package/dist/solutions-components/{p-8008449b.entry.js → p-065b269e.entry.js} +2 -2
  428. package/dist/solutions-components/{p-0e8ad7d1.entry.js → p-07aae6af.entry.js} +1 -1
  429. package/dist/solutions-components/{p-9c6c056a.js → p-07ffc0dc.js} +2 -2
  430. package/dist/solutions-components/{p-2d99bd61.js → p-08ea3025.js} +1 -1
  431. package/dist/solutions-components/{p-cc07069d.entry.js → p-0973f502.entry.js} +2 -2
  432. package/dist/solutions-components/{p-4691b6ad.entry.js → p-098ae31a.entry.js} +1 -1
  433. package/dist/solutions-components/p-0a136490.entry.js +6 -0
  434. package/dist/solutions-components/{p-c27bb7cf.entry.js → p-0abfcd37.entry.js} +1 -1
  435. package/dist/solutions-components/{p-a204dcff.entry.js → p-0b592d22.entry.js} +1 -1
  436. package/dist/solutions-components/{p-97421bb9.js → p-0c9b771a.js} +1 -1
  437. package/dist/solutions-components/{p-3b1f45b4.entry.js → p-0d9d1e08.entry.js} +1 -1
  438. package/dist/solutions-components/{p-8dcc5305.entry.js → p-0f02c25c.entry.js} +1 -1
  439. package/dist/solutions-components/{p-f163a137.js → p-103bb44d.js} +1 -1
  440. package/dist/solutions-components/p-14ca9076.entry.js +6 -0
  441. package/dist/solutions-components/{p-1412173c.entry.js → p-15a81116.entry.js} +1 -1
  442. package/dist/solutions-components/{p-62e5aea4.entry.js → p-16aa396b.entry.js} +1 -1
  443. package/dist/solutions-components/{p-6bf91f6e.js → p-16f0f2b8.js} +1 -1
  444. package/dist/solutions-components/{p-8a4f9e8d.entry.js → p-1901d180.entry.js} +1 -1
  445. package/dist/solutions-components/{p-b1a4c444.entry.js → p-1996cf43.entry.js} +1 -1
  446. package/dist/solutions-components/{p-7822e93b.js → p-1aa72bda.js} +1 -1
  447. package/dist/solutions-components/{p-b442aa02.entry.js → p-1abdcee8.entry.js} +3 -3
  448. package/dist/solutions-components/{p-aa967a48.entry.js → p-1c429493.entry.js} +1 -1
  449. package/dist/solutions-components/{p-716a0878.js → p-1c7fa861.js} +1 -1
  450. package/dist/solutions-components/{p-ab8039f5.js → p-1cf65b78.js} +1 -1
  451. package/dist/solutions-components/{p-8241b179.entry.js → p-1f4d9fc9.entry.js} +1 -1
  452. package/dist/solutions-components/{p-ef54f211.js → p-1f58427a.js} +1 -1
  453. package/dist/solutions-components/{p-d9e2418c.entry.js → p-2222c738.entry.js} +1 -1
  454. package/dist/solutions-components/p-259e6f21.entry.js +6 -0
  455. package/dist/solutions-components/{p-df0a1d4b.js → p-260d655c.js} +1 -1
  456. package/dist/solutions-components/{p-acef743f.entry.js → p-2670fe22.entry.js} +1 -1
  457. package/dist/solutions-components/{p-ada34f83.js → p-2733d390.js} +1 -1
  458. package/dist/solutions-components/{p-7fea6d8a.js → p-277e0b1d.js} +1 -1
  459. package/dist/solutions-components/{p-ee7f7c24.js → p-27ef34f6.js} +1 -1
  460. package/dist/solutions-components/{p-b592fbc6.entry.js → p-2e4d5103.entry.js} +1 -1
  461. package/dist/solutions-components/{p-4c8fdf0b.entry.js → p-2fc602fd.entry.js} +1 -1
  462. package/dist/solutions-components/{p-30f0687e.entry.js → p-301feae7.entry.js} +1 -1
  463. package/dist/solutions-components/{p-2305749d.entry.js → p-30b43168.entry.js} +1 -1
  464. package/dist/solutions-components/{p-9e77f5c7.js → p-32ddd33b.js} +1 -1
  465. package/dist/solutions-components/{p-5ed825c4.js → p-3309fa6c.js} +1 -1
  466. package/dist/solutions-components/{p-cb6165e9.entry.js → p-335308e3.entry.js} +2 -2
  467. package/dist/solutions-components/{p-2e401f51.js → p-338f1f04.js} +1 -1
  468. package/dist/solutions-components/{p-813d004f.js → p-33ec544d.js} +1 -1
  469. package/dist/solutions-components/{p-e528c321.js → p-342187a4.js} +1 -1
  470. package/dist/solutions-components/{p-75ecff1b.entry.js → p-34d813e1.entry.js} +1 -1
  471. package/dist/solutions-components/{p-34722455.entry.js → p-367fb486.entry.js} +1 -1
  472. package/dist/solutions-components/{p-f539a342.entry.js → p-3f81c301.entry.js} +1 -1
  473. package/dist/solutions-components/{p-4bfec58a.entry.js → p-3fae55fd.entry.js} +1 -1
  474. package/dist/solutions-components/{p-d9e190a4.entry.js → p-40d2e45b.entry.js} +1 -1
  475. package/dist/solutions-components/{p-44043ef6.entry.js → p-41c7d2fa.entry.js} +1 -1
  476. package/dist/solutions-components/{p-b2ba3c28.entry.js → p-429ed200.entry.js} +1 -1
  477. package/dist/solutions-components/{p-bf0bb8c2.entry.js → p-437e64c0.entry.js} +1 -1
  478. package/dist/solutions-components/p-4541ad8e.js +11 -0
  479. package/dist/solutions-components/{p-398ff315.js → p-4845071a.js} +1 -1
  480. package/dist/solutions-components/{p-bc8b4f68.entry.js → p-48651582.entry.js} +2 -2
  481. package/dist/solutions-components/{p-5443995c.entry.js → p-4a398b55.entry.js} +1 -1
  482. package/dist/solutions-components/{p-21965dcd.entry.js → p-4b6c957d.entry.js} +1 -1
  483. package/dist/solutions-components/{p-1fd9cd5f.entry.js → p-4f01d375.entry.js} +1 -1
  484. package/dist/solutions-components/{p-6d51c6bf.js → p-501c2126.js} +1 -1
  485. package/dist/solutions-components/{p-55730588.js → p-508686ba.js} +1 -1
  486. package/dist/solutions-components/{p-5f1fdaf9.js → p-51ed7835.js} +1 -1
  487. package/dist/solutions-components/{p-5eb6219c.js → p-54ec7548.js} +1 -1
  488. package/dist/solutions-components/{p-4b85c3dc.js → p-550cf063.js} +1 -1
  489. package/dist/solutions-components/{p-ed71dfdc.entry.js → p-57d81d7d.entry.js} +1 -1
  490. package/dist/solutions-components/{p-3ac77bd5.entry.js → p-5b72f4eb.entry.js} +1 -1
  491. package/dist/solutions-components/{p-17feaae0.entry.js → p-5bfbb6cf.entry.js} +1 -1
  492. package/dist/solutions-components/{p-1ceaab98.entry.js → p-5e6de74b.entry.js} +2 -2
  493. package/dist/solutions-components/{p-52bdaec9.entry.js → p-5f6807ca.entry.js} +1 -1
  494. package/dist/solutions-components/{p-de4cf79a.entry.js → p-5fb0f8a0.entry.js} +1 -1
  495. package/dist/solutions-components/{p-37e2754a.js → p-602b034e.js} +1 -1
  496. package/dist/solutions-components/{p-a0300d31.js → p-628537e6.js} +1 -1
  497. package/dist/solutions-components/{p-f82d09d2.js → p-658ffb44.js} +1 -1
  498. package/dist/solutions-components/{p-7a646a97.js → p-682354e6.js} +1 -1
  499. package/dist/solutions-components/{p-27c68097.js → p-6a425011.js} +1 -1
  500. package/dist/solutions-components/{p-3ec70ff5.entry.js → p-6aec5175.entry.js} +1 -1
  501. package/dist/solutions-components/{p-2a990146.entry.js → p-6e814f44.entry.js} +1 -1
  502. package/dist/solutions-components/{p-a89e61f4.js → p-6fde2784.js} +1 -1
  503. package/dist/solutions-components/{p-6df9b158.entry.js → p-7011f9fd.entry.js} +1 -1
  504. package/dist/solutions-components/{p-3137377f.entry.js → p-72192d9e.entry.js} +1 -1
  505. package/dist/solutions-components/{p-de279d51.entry.js → p-7253126e.entry.js} +1 -1
  506. package/dist/solutions-components/{p-a146dcbe.entry.js → p-729b22fb.entry.js} +1 -1
  507. package/dist/solutions-components/{p-79c7ff2b.entry.js → p-72af5235.entry.js} +1 -1
  508. package/dist/solutions-components/{p-fc9a49db.js → p-7683f32f.js} +1 -1
  509. package/dist/solutions-components/{p-48ab80c3.entry.js → p-76dd1422.entry.js} +1 -1
  510. package/dist/solutions-components/{p-ec0c2611.entry.js → p-76ffa42b.entry.js} +1 -1
  511. package/dist/solutions-components/{p-b64cc55e.js → p-7c057019.js} +2 -2
  512. package/dist/solutions-components/{p-28fd26ed.js → p-7c4acfd9.js} +1 -1
  513. package/dist/solutions-components/{p-f629ed65.entry.js → p-7ceba956.entry.js} +1 -1
  514. package/dist/solutions-components/{p-2e64dc3b.entry.js → p-7d6c1a52.entry.js} +1 -1
  515. package/dist/solutions-components/{p-2e2e975a.entry.js → p-7ed8ce64.entry.js} +1 -1
  516. package/dist/solutions-components/{p-d72b4031.entry.js → p-81e5a65e.entry.js} +1 -1
  517. package/dist/solutions-components/{p-ddd9d50f.entry.js → p-82855118.entry.js} +1 -1
  518. package/dist/solutions-components/{p-2b4e50ed.js → p-832a3fc3.js} +1 -1
  519. package/dist/solutions-components/{p-f480b275.js → p-83a13261.js} +1 -1
  520. package/dist/solutions-components/{p-c32d79e2.entry.js → p-83d0b202.entry.js} +3 -3
  521. package/dist/solutions-components/{p-4b80b699.entry.js → p-86694085.entry.js} +1 -1
  522. package/dist/solutions-components/{p-3a50fe57.entry.js → p-8891e4a1.entry.js} +1 -1
  523. package/dist/solutions-components/{p-b8d4452e.entry.js → p-8c34de9a.entry.js} +2 -2
  524. package/dist/solutions-components/{p-b5c88983.js → p-8db761a9.js} +1 -1
  525. package/dist/solutions-components/{p-1b4149b8.entry.js → p-8dcf7aa5.entry.js} +2 -2
  526. package/dist/solutions-components/p-8e5cfdef.entry.js +6 -0
  527. package/dist/solutions-components/{p-9377260c.js → p-91866b70.js} +1 -1
  528. package/dist/solutions-components/{p-c63a8225.entry.js → p-91e22963.entry.js} +1 -1
  529. package/dist/solutions-components/{p-83fdb1d4.entry.js → p-920af5d4.entry.js} +1 -1
  530. package/dist/solutions-components/{p-1983d6e8.js → p-92980001.js} +1 -1
  531. package/dist/solutions-components/{p-9088fa3a.js → p-93e4bac5.js} +1 -1
  532. package/dist/solutions-components/{p-2a8b04de.entry.js → p-97014acc.entry.js} +1 -1
  533. package/dist/solutions-components/{p-6067b27a.entry.js → p-977cece9.entry.js} +1 -1
  534. package/dist/solutions-components/{p-e6e4071e.entry.js → p-97bebac7.entry.js} +3 -3
  535. package/dist/solutions-components/{p-465fbfc2.js → p-98e135f6.js} +1 -1
  536. package/dist/solutions-components/{p-bba41eec.entry.js → p-9902916a.entry.js} +1 -1
  537. package/dist/solutions-components/{p-45db29e2.js → p-9946999d.js} +1 -1
  538. package/dist/solutions-components/{p-cc9fdd5f.entry.js → p-9a46618c.entry.js} +1 -1
  539. package/dist/solutions-components/{p-69db1e2c.js → p-9b96afaf.js} +1 -1
  540. package/dist/solutions-components/{p-293d376c.js → p-9c55d3a2.js} +1 -1
  541. package/dist/solutions-components/{p-e7ed87eb.entry.js → p-9dbf1881.entry.js} +1 -1
  542. package/dist/solutions-components/{p-841863b8.js → p-9f2a0621.js} +1 -1
  543. package/dist/solutions-components/{p-6809e050.entry.js → p-9fac2e9d.entry.js} +2 -2
  544. package/dist/solutions-components/{p-9808250d.entry.js → p-a14f24f2.entry.js} +1 -1
  545. package/dist/solutions-components/{p-e6c9e6af.js → p-a1f034be.js} +1 -1
  546. package/dist/solutions-components/p-a24530e2.entry.js +6 -0
  547. package/dist/solutions-components/{p-7058b4fa.entry.js → p-a26763d2.entry.js} +1 -1
  548. package/dist/solutions-components/{p-5db64297.entry.js → p-a3ca129b.entry.js} +1 -1
  549. package/dist/solutions-components/{p-42c2d9d8.entry.js → p-a3f8159e.entry.js} +1 -1
  550. package/dist/solutions-components/{p-4b27da06.entry.js → p-a4193e0c.entry.js} +1 -1
  551. package/dist/solutions-components/{p-7efcfb47.js → p-a60f5c84.js} +1 -1
  552. package/dist/solutions-components/{p-c4ddb206.js → p-a7ba825a.js} +2 -2
  553. package/dist/solutions-components/{p-09de2308.entry.js → p-a800dcb5.entry.js} +1 -1
  554. package/dist/solutions-components/{p-b0985f9d.entry.js → p-a80c076e.entry.js} +1 -1
  555. package/dist/solutions-components/{p-c1936856.js → p-a8b37ac8.js} +4 -4
  556. package/dist/solutions-components/{p-90e3ce7f.js → p-a8f981c6.js} +1 -1
  557. package/dist/solutions-components/{p-27e4dc8a.entry.js → p-ab148739.entry.js} +1 -1
  558. package/dist/solutions-components/{p-7773d8ea.js → p-ac124ef3.js} +1 -1
  559. package/dist/solutions-components/{p-b77b6c26.js → p-ac8990dd.js} +1 -1
  560. package/dist/solutions-components/{p-2599399f.entry.js → p-ad3b05c5.entry.js} +1 -1
  561. package/dist/solutions-components/{p-3102119d.entry.js → p-ae801fd5.entry.js} +1 -1
  562. package/dist/solutions-components/{p-64ee17c6.entry.js → p-af4bccdf.entry.js} +1 -1
  563. package/dist/solutions-components/{p-71ed8170.entry.js → p-b0fbdbe8.entry.js} +2 -2
  564. package/dist/solutions-components/{p-9271710d.js → p-b35a040e.js} +1 -1
  565. package/dist/solutions-components/{p-50aa0e5a.js → p-b4de6baf.js} +1 -1
  566. package/dist/solutions-components/{p-0a053ed7.js → p-b6aed9ca.js} +1 -1
  567. package/dist/solutions-components/{p-5ed5626f.entry.js → p-b6dffb89.entry.js} +1 -1
  568. package/dist/solutions-components/{p-3b931fc5.entry.js → p-b789b4dc.entry.js} +1 -1
  569. package/dist/solutions-components/{p-2671a80b.entry.js → p-ba846354.entry.js} +2 -2
  570. package/dist/solutions-components/{p-80e42752.entry.js → p-bb036a86.entry.js} +1 -1
  571. package/dist/solutions-components/{p-1cc7fcd0.entry.js → p-bec3dd2e.entry.js} +1 -1
  572. package/dist/solutions-components/{p-57a03a95.js → p-c1651f9c.js} +3 -3
  573. package/dist/solutions-components/{p-29c60f3d.entry.js → p-c324cac8.entry.js} +1 -1
  574. package/dist/solutions-components/p-c3896efd.entry.js +6 -0
  575. package/dist/solutions-components/{p-e900ec51.entry.js → p-c52d4a45.entry.js} +1 -1
  576. package/dist/solutions-components/{p-4250f852.entry.js → p-c6e13140.entry.js} +1 -1
  577. package/dist/solutions-components/{p-d11d941c.js → p-cc4f574b.js} +1 -1
  578. package/dist/solutions-components/{p-c0bf1d9f.js → p-cc69b971.js} +3 -3
  579. package/dist/solutions-components/{p-dff78ae3.entry.js → p-cf3e20c5.entry.js} +1 -1
  580. package/dist/solutions-components/{p-24634430.entry.js → p-d0d1c59e.entry.js} +2 -2
  581. package/dist/solutions-components/{p-01ba6099.js → p-d36d12b2.js} +1 -1
  582. package/dist/solutions-components/{p-12f9f81d.js → p-d36fae45.js} +1 -1
  583. package/dist/solutions-components/{p-74dbad36.js → p-d67f3c47.js} +1 -1
  584. package/dist/solutions-components/{p-d31a139f.entry.js → p-d7a6aa4e.entry.js} +1 -1
  585. package/dist/solutions-components/{p-ee62f91c.entry.js → p-d85d49cf.entry.js} +1 -1
  586. package/dist/solutions-components/{p-9dd1049f.entry.js → p-d8c3d175.entry.js} +1 -1
  587. package/dist/solutions-components/{p-03178c37.js → p-d8e74adf.js} +1 -1
  588. package/dist/solutions-components/{p-967411c5.entry.js → p-d8f02b2b.entry.js} +1 -1
  589. package/dist/solutions-components/{p-d6f3fc2c.entry.js → p-dbf6c7d5.entry.js} +1 -1
  590. package/dist/solutions-components/{p-8c6d9b5a.js → p-dcc35070.js} +1 -1
  591. package/dist/solutions-components/p-de1548dd.entry.js +6 -0
  592. package/dist/solutions-components/{p-4fbd1a02.js → p-dea4bc23.js} +1 -1
  593. package/dist/solutions-components/{p-bac8a4cd.js → p-dfe42b3e.js} +1 -1
  594. package/dist/solutions-components/{p-c554abce.entry.js → p-e042889e.entry.js} +2 -2
  595. package/dist/solutions-components/{p-83640661.entry.js → p-e13a02f1.entry.js} +1 -1
  596. package/dist/solutions-components/{p-0ab0b1ad.entry.js → p-e1a972b3.entry.js} +1 -1
  597. package/dist/solutions-components/{p-727b8bf8.entry.js → p-e3db2eda.entry.js} +2 -2
  598. package/dist/solutions-components/{p-ef930f76.entry.js → p-e468b193.entry.js} +1 -1
  599. package/dist/solutions-components/{p-ba569f8b.js → p-e6587ec3.js} +2 -2
  600. package/dist/solutions-components/{p-318eac43.entry.js → p-e7268b06.entry.js} +1 -1
  601. package/dist/solutions-components/{p-76f51550.entry.js → p-e8308ed8.entry.js} +1 -1
  602. package/dist/solutions-components/{p-c8935707.entry.js → p-e86aeefa.entry.js} +1 -1
  603. package/dist/solutions-components/{p-fdd93685.js → p-ea665c43.js} +2 -2
  604. package/dist/solutions-components/{p-13b513ed.entry.js → p-eb08c260.entry.js} +1 -1
  605. package/dist/solutions-components/{p-7f4bc6d2.entry.js → p-ed1c4c06.entry.js} +1 -1
  606. package/dist/solutions-components/{p-d61bbc4c.entry.js → p-edd08170.entry.js} +1 -1
  607. package/dist/solutions-components/{p-6e65d93b.entry.js → p-edead891.entry.js} +1 -1
  608. package/dist/solutions-components/{p-593036f3.js → p-ef375216.js} +2 -2
  609. package/dist/solutions-components/{p-7388563d.js → p-f0324500.js} +1 -1
  610. package/dist/solutions-components/{p-d36fb1b5.entry.js → p-f0981633.entry.js} +1 -1
  611. package/dist/solutions-components/{p-b25e8339.js → p-f0c7d4ee.js} +1 -1
  612. package/dist/solutions-components/{p-9a7e00b8.js → p-f0eb1595.js} +1 -1
  613. package/dist/solutions-components/{p-df2fc967.entry.js → p-f36bd937.entry.js} +1 -1
  614. package/dist/solutions-components/{p-cc388a08.js → p-f3f7638d.js} +2 -2
  615. package/dist/solutions-components/{p-c96bde1d.js → p-f480323e.js} +1 -1
  616. package/dist/solutions-components/p-f4c4a2b7.js +7 -0
  617. package/dist/solutions-components/{p-f8c45269.entry.js → p-f54e4700.entry.js} +1 -1
  618. package/dist/solutions-components/{p-b9e32214.entry.js → p-f9423c07.entry.js} +1 -1
  619. package/dist/solutions-components/{p-8babc507.entry.js → p-f9b71d4f.entry.js} +1 -1
  620. package/dist/solutions-components/{p-8ed6ce4d.js → p-fa214d6f.js} +1 -1
  621. package/dist/solutions-components/{p-09f79715.js → p-fa6dfea8.js} +1 -1
  622. package/dist/solutions-components/{p-61dcdc62.js → p-fc0d199c.js} +1 -1
  623. package/dist/solutions-components/{p-ee309d0b.js → p-fc3a9a40.js} +1 -1
  624. package/dist/solutions-components/{p-d3a2d182.entry.js → p-fc719dff.entry.js} +1 -1
  625. package/dist/solutions-components/{p-0534b446.entry.js → p-fe794766.entry.js} +1 -1
  626. package/dist/solutions-components/p-feaaf637.entry.js +6 -0
  627. package/dist/solutions-components/{p-b4230022.entry.js → p-ff34397d.entry.js} +2 -2
  628. package/dist/solutions-components/solutions-components.esm.js +1 -1
  629. package/dist/types/stencil-public-runtime.d.ts +0 -2
  630. package/package.json +6 -6
  631. package/dist/collection/components/arcgis-login/test/arcgis-login.e2e.js +0 -29
  632. package/dist/collection/components/arcgis-login/test/arcgis-login.spec.js +0 -37
  633. package/dist/collection/components/consent-manager/test/consent-manager.e2e.js +0 -29
  634. package/dist/collection/components/consent-manager/test/consent-manager.spec.js +0 -37
  635. package/dist/collection/components/create-related-feature/test/create-related-feature.e2e.js +0 -14
  636. package/dist/collection/components/create-related-feature/test/create-related-feature.spec.js +0 -22
  637. package/dist/collection/components/delete-button/test/delete-button.e2e.js +0 -29
  638. package/dist/collection/components/delete-button/test/delete-button.spec.js +0 -37
  639. package/dist/collection/components/feature-comments/test/feature-comments.e2e.js +0 -29
  640. package/dist/collection/components/feature-comments/test/feature-comments.spec.js +0 -37
  641. package/dist/collection/components/feature-details/test/feature-details.e2e.js +0 -14
  642. package/dist/collection/components/feature-details/test/feature-details.spec.js +0 -22
  643. package/dist/collection/components/feature-form-flow-item/test/feature-form-flow-item.e2e.js +0 -29
  644. package/dist/collection/components/feature-form-flow-item/test/feature-form-flow-item.spec.js +0 -37
  645. package/dist/collection/components/features-flow-item/test/features-flow-item.e2e.js +0 -29
  646. package/dist/collection/components/features-flow-item/test/features-flow-item.spec.js +0 -37
  647. package/dist/collection/components/list-flow-item/test/list-flow-item.e2e.js +0 -29
  648. package/dist/collection/components/list-flow-item/test/list-flow-item.spec.js +0 -37
  649. package/dist/collection/components/location-flow-item/test/location-flow-item.e2e.js +0 -29
  650. package/dist/collection/components/location-flow-item/test/location-flow-item.spec.js +0 -37
  651. package/dist/collection/components/refine-results-flow-item/test/refine-results-flow-item.e2e.js +0 -29
  652. package/dist/collection/components/refine-results-flow-item/test/refine-results-flow-item.spec.js +0 -37
  653. package/dist/collection/components/share-item/test/share-item.e2e.js +0 -29
  654. package/dist/collection/components/share-item/test/share-item.spec.js +0 -37
  655. package/dist/collection/components/solution-spatial-ref/test/solution-spatial-ref.e2e.js +0 -45
  656. package/dist/collection/components/solution-spatial-ref/test/solution-spatial-ref.spec.js +0 -80
  657. package/dist/collection/components/spatial-ref/test/spatial-ref.e2e.js +0 -71
  658. package/dist/collection/components/spatial-ref/test/spatial-ref.spec.js +0 -158
  659. package/dist/collection/utils/test/csvUtils.spec.js +0 -51
  660. package/dist/collection/utils/test/downloadUtils.spec.js +0 -1003
  661. package/dist/collection/utils/test/pciUtils.spec.js +0 -302
  662. package/dist/collection/utils/test/solution-store.spec.js +0 -444
  663. package/dist/collection/utils/test/templates.e2e.js +0 -30
  664. package/dist/solutions-components/p-046acd6b.entry.js +0 -6
  665. package/dist/solutions-components/p-20a567b0.entry.js +0 -6
  666. package/dist/solutions-components/p-2a2e4578.entry.js +0 -6
  667. package/dist/solutions-components/p-3acc8a71.entry.js +0 -6
  668. package/dist/solutions-components/p-44bfa87d.js +0 -11
  669. package/dist/solutions-components/p-69cfc738.entry.js +0 -6
  670. package/dist/solutions-components/p-853d952d.entry.js +0 -6
  671. package/dist/solutions-components/p-cf0eeb0a.entry.js +0 -6
  672. package/dist/solutions-components/p-fa1ceaf9.js +0 -7
  673. package/dist/solutions-components/p-fb7b9bd3.entry.js +0 -6
@@ -3,4 +3,4 @@
3
3
  * Licensed under the Apache License, Version 2.0
4
4
  * http://www.apache.org/licenses/LICENSE-2.0
5
5
  */
6
- import{r as i,c as t,h as e,H as s,g as o}from"./p-fa1ceaf9.js";import{g as h}from"./p-c0bf1d9f.js";import{E as l}from"./p-c1cf3ebc.js";import{g as a}from"./p-996c1ac5.js";import"./p-0a24ad5f.js";import"./p-d4056c1c.js";const d=class{constructor(e){i(this,e),this.showIntroductionWindow=t(this,"showIntroductionWindow",7),this.showCoverPage=t(this,"showCoverPage",7),this._defaultCenterHonored=!1,this._defaultLevelHonored=!1,this._hideMapOnLoadHonored=!1,this._shouldSetMapView=!1,this.appProxies=void 0,this.basemapConfig=void 0,this.coverPageEnabled=void 0,this.defaultCenter="",this.defaultGlobalId="",this.defaultLayer="",this.defaultLevel="",this.defaultOid="",this.defaultWebmap="",this.introductionWindowEnabled=!1,this.enableAutoRefresh=!1,this.enableBasemap=!0,this.enableColumnReorder=!0,this.enableCSV=!0,this.enableFloorFilter=!0,this.enableFullscreen=!0,this.enableHome=!0,this.enableInlineEdit=!1,this.enableLegend=!0,this.enableSearch=!0,this.enableShare=!1,this.enableZoom=!0,this.hideMapOnLoad=!1,this.mapInfos=[],this.onlyShowUpdatableLayers=!0,this.popupHeaderColor=void 0,this.popupHeaderHoverColor=void 0,this.popupHeaderHoverTextColor=void 0,this.popupHeaderTextColor=void 0,this.searchConfiguration=void 0,this.shareIncludeEmbed=void 0,this.shareIncludeSocial=void 0,this.showNewestFirst=!0,this.theme="light",this.zoomAndScrollToSelected=!1,this.zoomToScale=void 0,this._expandPopup=!1,this._hideFooter=!1,this._hideTable=!1,this._isMobile=!1,this._translations=void 0,this._layer=void 0,this._layoutMode=l.GRID,this._mapInfo=void 0,this._mapView=void 0,this._panelOpen=!0,this._numSelected=0,this._tableOnly=!1}enableZoomWatchHandler(){this._initMapZoom()}hideMapOnLoadWatchHandler(){this.showHideMapPopupAndTable(this.hideMapOnLoad&&!this._isMobile),this._expandPopup=this.hideMapOnLoad&&!this._isMobile}async featureSelectionChange(i){var t;this._numSelected=null===(t=i.detail)||void 0===t?void 0:t.length}async popupClosed(){this._isMobile&&this.showHideMapPopupAndTable(!1)}async idsFound(i){const t=i.detail;this._tableOnly=t.tableIds.length>0&&0===t.layerIds.length,this._tableOnly&&(this._expandPopup=!0)}async layoutChanged(i){this._layoutMode=i.detail}async mapChanged(i){this._mapChange=i.detail,await this._mapChange.mapView.when((async()=>{await this._setMapView()}))}async beforeMapChanged(){this._expandPopup&&(this._shouldSetMapView=!0)}async layerSelectionChange(i){const t=i.detail[0],e=await a(this._mapView,t);await e.when((()=>{this._layer=e}))}async mapInfoChange(){this._expandPopup=this.hideMapOnLoad&&!this._isMobile,this._hideMapOnLoadHonored=!1}async componentWillLoad(){await this._getTranslations(),this._resizeObserver=new ResizeObserver((()=>this._onResize()))}render(){return e(s,{key:"f16033bd0f93446f9e0aeb38a6b172d021586a25"},e("calcite-shell",{key:"9aee01a563e12168373ddc1aea40e1fac2f65cc4",class:"position-relative"},e("calcite-panel",{key:"e2333aedf094999f56823650b7585ac5915668ea",class:"width-full height-full "+(this.popupHeaderColor&&"#FFFFFF"!==this.popupHeaderColor?"border-width-0":"")},this._getBody(this._layoutMode,this._panelOpen,this._hideTable)),this._getFooter()))}async componentDidRender(){this._shouldSetMapView&&(this._shouldSetMapView=!1,this._mapChange&&await this._setMapView())}async componentDidLoad(){this._resizeObserver.observe(this.el)}_getFooter(){var i,t,s,o;const h=(null===(i=this._layer)||void 0===i?void 0:i.editingEnabled)&&(null===(o=null===(s=null===(t=this._layer)||void 0===t?void 0:t.capabilities)||void 0===s?void 0:s.operations)||void 0===o?void 0:o.supportsDelete);return this._isMobile&&this._numSelected>0&&!this._hideFooter?e("div",{class:"width-100",slot:"footer"},e("div",{class:"display-flex padding-1-2"},e("calcite-button",{appearance:"solid",id:"solutions-show",onClick:()=>this.showHideMapPopupAndTable(!0),width:"full"},this._translations.view.replace("{{n}}",this._numSelected.toString())),h?e("delete-button",{class:"padding-inline-start-1 width-full",id:"solutions-delete",ids:this._layerTable.selectedIds,layer:this._layer}):void 0)):void 0}_getDividerIcon(i,t){let e="";switch(i){case l.HORIZONTAL:e=t?"chevrons-up":"chevrons-down";break;case l.VERTICAL:case l.GRID:e=t?"chevrons-left":"chevrons-right"}return e}_getMapSizeClass(i,t,e){let s="";switch(i){case l.HORIZONTAL:s=(t&&!e?"height-1-2 display-grid":t&&e?"height-full":"height-0")+" width-full position-relative";break;case l.GRID:s="height-full position-relative "+(t?"width-1-3":"width-0");break;case l.VERTICAL:s="height-full position-relative "+(t?"width-1-2":"width-0")}return s}_getTableSizeClass(i,t){let e="";switch(i){case l.HORIZONTAL:e=(t?"height-1-2":"height-full")+" width-full display-flex flex-column";break;case l.GRID:e=(t?"width-2-3":"width-full")+" height-full display-flex";break;case l.VERTICAL:e=(t?"width-1-2":"width-full")+" height-full display-flex"}return e}_getBody(i,t,s){const o="dark"===this.theme?"calcite-mode-dark":"calcite-mode-light";return e("calcite-panel",{class:"width-full height-full"},e("div",{class:"width-full height-full overflow-hidden "+(i===l.HORIZONTAL?"":"display-flex")},this._getMapAndCard(i,t,s),this._getTable(i,t,s)),this.coverPageEnabled&&e("div",{class:"floating-container",onClick:this.coverPageButtonClick.bind(this)},e("calcite-button",{appearance:"solid",class:`floating-button ${o}`,"icon-start":"content-minimal",kind:"neutral",label:"",round:!0,scale:"l","split-child":"primary",width:"auto"})),this.introductionWindowEnabled&&e("div",{class:"floating-container",onClick:this.infoButtonClick.bind(this)},e("calcite-button",{appearance:"solid",class:`floating-button ${o}`,"icon-start":"information-letter",kind:"neutral",label:"",round:!0,scale:"l","split-child":"primary",width:"auto"})))}infoButtonClick(){this.showIntroductionWindow.emit()}coverPageButtonClick(){this.showCoverPage.emit()}_getMapAndCard(i,t,s){const o=this._getMapSizeClass(i,t,s);return e("div",{class:`${o} overflow-hidden`},this._getMapNode(t),this._getPopupExpandNode())}_getMapNode(i){var t;return e("div",{class:(this._layoutMode!==l.HORIZONTAL||this._isMobile&&!i?"adjusted-height-50":"")+" overflow-hidden"},e("map-card",{appProxies:this.appProxies,basemapConfig:this.basemapConfig,class:"width-full",defaultWebmapId:this.defaultWebmap,enableBasemap:this.enableBasemap,enableFloorFilter:this.enableFloorFilter,enableFullscreen:this.enableFullscreen,enableHome:this.enableHome,enableLegend:this.enableLegend,enableSearch:this.enableSearch,enableSingleExpand:!0,hidden:this._expandPopup&&!this._isMobile,homeZoomIndex:3,homeZoomPosition:"top-left",homeZoomToolsSize:"s",mapInfos:null===(t=this.mapInfos)||void 0===t?void 0:t.filter((i=>!1!==i.visible)),mapWidgetsIndex:0,mapWidgetsPosition:"top-right",mapWidgetsSize:"m",stackTools:!0,theme:this.theme,toolOrder:["legend","search","fullscreen","basemap","floorfilter"]}))}_getPopupExpandNode(){var i;const t=this._expandPopup?"chevrons-down":"chevrons-up",s="expand-popup",o=this._expandPopup?this._translations.collapsePopup:this._translations.expandPopup,h="dark"===this.theme?"calcite-mode-dark":"calcite-mode-light",l=this._expandPopup?1===(null===(i=this.mapInfos)||void 0===i?void 0:i.length)||this._isMobile?"position-absolute-0":"position-absolute-50":"height-full",a=this._isMobile?"display-none height-0":"";return e("div",{class:`${this.popupHeaderColor?"":this._isMobile?"calcite-mode-light":"calcite-mode-dark"} ${l} ${this._isMobile&&this._hideTable?"position-absolute-0 width-full height-full":this._isMobile?"display-none height-0":""}`,style:{"--calcite-color-foreground-1":this.popupHeaderColor,"--calcite-color-foreground-2":this.popupHeaderHoverColor,"--calcite-color-text-3":this.popupHeaderTextColor,"--calcite-color-text-2":this.popupHeaderTextColor}},e("calcite-panel",null,this._isMobile?void 0:e("div",{class:`display-flex align-items-center ${a}`,slot:"header-content"},e("calcite-icon",{icon:"information",scale:"s"}),e("div",{class:"padding-inline-start-75"},this._translations.information)),e("calcite-action",{class:a,disabled:this._tableOnly,icon:t,id:s,onClick:()=>this._togglePopup(),slot:"header-actions-end",text:""}),this._tableOnly?void 0:e("calcite-tooltip",{class:h,label:"",placement:"bottom","reference-element":s},e("span",null,o)),this._getCardNode()))}_togglePopup(){this._expandPopup=!this._expandPopup,this._hideMapOnLoadHonored=!0}_getCardNode(){return e("div",{class:"width-50 height-full "+("dark"===this.theme?"calcite-mode-dark":"calcite-mode-light")},e("card-manager",{class:(this._expandPopup||this._isMobile?"height-full":"height-50")+" width-full",isMobile:this._isMobile,mapView:null==this?void 0:this._mapView,zoomAndScrollToSelected:this.zoomAndScrollToSelected}))}_getTable(i,t,s){var o,h;const a=s&&this._isMobile?"visibility-hidden":"",d=this._getTableSizeClass(i,t),n=this._getDividerIcon(i,t),r=t?this._translations.close:this._translations.open,c="toggle-layout",p=i===l.HORIZONTAL?"horizontal":"vertical",g=i===l.HORIZONTAL?"header":"panel-start",u=this.defaultWebmap&&this.defaultLayer,f=this.defaultGlobalId?(null===(o=this.defaultGlobalId)||void 0===o?void 0:o.indexOf(","))>-1?this.defaultGlobalId.split(","):[this.defaultGlobalId]:void 0,b=this.defaultOid?(null===(h=this.defaultOid)||void 0===h?void 0:h.indexOf(","))>-1?this.defaultOid.split(",").map((i=>parseInt(i,10))):[parseInt(this.defaultOid,10)]:void 0;return e("calcite-shell",{class:`${d} ${a} border-bottom`},this._isMobile?void 0:e("calcite-action-bar",{class:"border-sides",expandDisabled:!0,layout:p,slot:g},e("calcite-action",{class:"toggle-node",icon:n,id:c,onClick:()=>this._toggleLayout(),text:""}),e("calcite-tooltip",{label:r,placement:"bottom","reference-element":c},e("span",null,r))),e("div",{class:"width-full height-full position-relative"},e("layer-table",{defaultGlobalId:u?f:void 0,defaultLayerId:u?this.defaultLayer:"",defaultOid:u&&!f?b:void 0,enableAutoRefresh:this.enableAutoRefresh,enableCSV:this.enableCSV,enableColumnReorder:this.enableColumnReorder,enableInlineEdit:this.enableInlineEdit,enableShare:this.enableShare,isMobile:this._isMobile,mapHidden:this._expandPopup,mapInfo:this._mapInfo,mapView:null==this?void 0:this._mapView,onlyShowUpdatableLayers:this.onlyShowUpdatableLayers,ref:i=>this._layerTable=i,shareIncludeEmbed:this.shareIncludeEmbed,shareIncludeSocial:this.shareIncludeSocial,showNewestFirst:this.showNewestFirst,zoomAndScrollToSelected:this.zoomAndScrollToSelected,zoomToScale:this.zoomToScale})))}_onResize(){const i=this.el.offsetWidth<1024,t=!this._isMobile&&i;this._isMobile=i,this._layoutMode=this._isMobile?l.HORIZONTAL:l.GRID,t&&(this._panelOpen=!0),(this.hideMapOnLoad&&!this._hideMapOnLoadHonored||this._isMobile)&&this.hideMapOnLoadWatchHandler()}_toggleLayout(){this._panelOpen=!this._panelOpen}showHideMapPopupAndTable(i){this._expandPopup=!1,this._hideTable=i,this._hideFooter=i}_getMapInfo(i){let t;return this.mapInfos.some((e=>{if(e.id===i)return t=e,!0})),Object.assign({},t)}async _setMapView(){var i;this._mapInfo=this._getMapInfo(this._mapChange.id),this._mapView=this._mapChange.mapView,this._initMapZoom(),this._mapView.popupEnabled=!1;const t=!this.defaultCenter||this._defaultCenterHonored||null===(i=this.defaultCenter)||void 0===i?void 0:i.split(";").map((i=>parseFloat(i))),e=!this.defaultLevel||this._defaultLevelHonored?void 0:parseInt(this.defaultLevel,10);t&&e&&(await this._mapView.goTo({center:t,zoom:e}),this._defaultCenterHonored=!0,this._defaultLevelHonored=!0)}_initMapZoom(){this.enableZoom?this.enableZoom&&this._mapView.ui.add({component:"zoom",position:"top-left",index:0}):this._mapView.ui.remove("zoom")}async _getTranslations(){const i=await h(this.el);this._translations=i[0]}get el(){return o(this)}static get watchers(){return{enableZoom:["enableZoomWatchHandler"],hideMapOnLoad:["hideMapOnLoadWatchHandler"]}}};d.style=":host{display:block;--calcite-label-margin-bottom:0px;--solutions-theme-foreground-color:var(--calcite-color-foreground-1)}.padding-1-2{padding:0.5rem}.display-flex{display:flex}.width-full{width:100%}.width-1-2{position:relative;width:50%}.width-1-3{position:relative;width:33.33%}.width-2-3{position:relative;width:66.66%}.width-0{width:0}.height-full{height:100%}.height-1-2{position:relative;height:50%}.height-0{height:0}.toggle-node{width:51px;height:51px}.overflow-hidden{overflow:hidden}.flex-column{flex-direction:column}.border{border:1px solid var(--calcite-color-border-3)}.border-bottom{border-bottom:1px solid var(--calcite-color-border-3)}.border-sides{border-left:1px solid var(--calcite-color-border-3);border-right:1px solid var(--calcite-color-border-3)}.position-relative{position:relative}.height-50{height:50%}.adjusted-height-50{height:calc(50% - 25px)}.adjusted-height-100{height:calc(100% - 50px)}.adjusted-height-100-50{height:calc(100% - 50px)}.display-none{display:none}.height-53{height:53px}.position-absolute-53{position:absolute;top:53px}.display-grid{display:grid}.height-50-px{height:50px}.padding-inline-start-75{padding-inline-start:0.75rem}.align-items-center{align-items:center}.esri-floor-filter__close-levels-button{width:40px !important;height:40px !important}.esri-floor-filter__level-button{width:40px !important;height:40px !important}.esri-floor-filter__browse-button{width:40px !important;height:40px !important}.position-absolute-50{position:absolute;top:50px;bottom:0px;left:0px;right:0px}.position-absolute-0{position:absolute;top:0px;bottom:0px;left:0px;right:0px}.visibility-hidden{visibility:hidden;height:0px}.position-fixed{position:fixed}.border-width-0{border-width:0px}.border-bottom-width-0{border-bottom-width:0px}.floating-container{position:fixed;width:100px;height:10px;bottom:0;right:0;margin:100px 0px}.floating-container .floating-button{box-shadow:0 10px 25px rgb(92 93 94 / 60%);transform:translatey(5px);transition:all 0.3s}";export{d as crowdsource_manager}
6
+ import{r as i,c as t,h as e,H as s,g as o}from"./p-f4c4a2b7.js";import{g as h}from"./p-cc69b971.js";import{E as l}from"./p-c1cf3ebc.js";import{g as a}from"./p-996c1ac5.js";import"./p-0a24ad5f.js";import"./p-d4056c1c.js";const d=class{constructor(e){i(this,e),this.showIntroductionWindow=t(this,"showIntroductionWindow",7),this.showCoverPage=t(this,"showCoverPage",7),this._defaultCenterHonored=!1,this._defaultLevelHonored=!1,this._hideMapOnLoadHonored=!1,this._shouldSetMapView=!1,this.appProxies=void 0,this.basemapConfig=void 0,this.coverPageEnabled=void 0,this.defaultCenter="",this.defaultGlobalId="",this.defaultLayer="",this.defaultLevel="",this.defaultOid="",this.defaultWebmap="",this.introductionWindowEnabled=!1,this.enableAutoRefresh=!1,this.enableBasemap=!0,this.enableColumnReorder=!0,this.enableCSV=!0,this.enableFloorFilter=!0,this.enableFullscreen=!0,this.enableHome=!0,this.enableInlineEdit=!1,this.enableLegend=!0,this.enableSearch=!0,this.enableShare=!1,this.enableZoom=!0,this.hideMapOnLoad=!1,this.mapInfos=[],this.onlyShowUpdatableLayers=!0,this.popupHeaderColor=void 0,this.popupHeaderHoverColor=void 0,this.popupHeaderHoverTextColor=void 0,this.popupHeaderTextColor=void 0,this.searchConfiguration=void 0,this.shareIncludeEmbed=void 0,this.shareIncludeSocial=void 0,this.showNewestFirst=!0,this.theme="light",this.zoomAndScrollToSelected=!1,this.zoomToScale=void 0,this._expandPopup=!1,this._hideFooter=!1,this._hideTable=!1,this._isMobile=!1,this._translations=void 0,this._layer=void 0,this._layoutMode=l.GRID,this._mapInfo=void 0,this._mapView=void 0,this._panelOpen=!0,this._numSelected=0,this._tableOnly=!1}enableZoomWatchHandler(){this._initMapZoom()}hideMapOnLoadWatchHandler(){this.showHideMapPopupAndTable(this.hideMapOnLoad&&!this._isMobile),this._expandPopup=this.hideMapOnLoad&&!this._isMobile}async featureSelectionChange(i){var t;this._numSelected=null===(t=i.detail)||void 0===t?void 0:t.length}async popupClosed(){this._isMobile&&this.showHideMapPopupAndTable(!1)}async idsFound(i){const t=i.detail;this._tableOnly=t.tableIds.length>0&&0===t.layerIds.length,this._tableOnly&&(this._expandPopup=!0)}async layoutChanged(i){this._layoutMode=i.detail}async mapChanged(i){this._mapChange=i.detail,await this._mapChange.mapView.when((async()=>{await this._setMapView()}))}async beforeMapChanged(){this._expandPopup&&(this._shouldSetMapView=!0)}async layerSelectionChange(i){const t=i.detail[0],e=await a(this._mapView,t);await e.when((()=>{this._layer=e}))}async mapInfoChange(){this._expandPopup=this.hideMapOnLoad&&!this._isMobile,this._hideMapOnLoadHonored=!1}async componentWillLoad(){await this._getTranslations(),this._resizeObserver=new ResizeObserver((()=>this._onResize()))}render(){return e(s,{key:"f16033bd0f93446f9e0aeb38a6b172d021586a25"},e("calcite-shell",{key:"9aee01a563e12168373ddc1aea40e1fac2f65cc4",class:"position-relative"},e("calcite-panel",{key:"e2333aedf094999f56823650b7585ac5915668ea",class:"width-full height-full "+(this.popupHeaderColor&&"#FFFFFF"!==this.popupHeaderColor?"border-width-0":"")},this._getBody(this._layoutMode,this._panelOpen,this._hideTable)),this._getFooter()))}async componentDidRender(){this._shouldSetMapView&&(this._shouldSetMapView=!1,this._mapChange&&await this._setMapView())}async componentDidLoad(){this._resizeObserver.observe(this.el)}_getFooter(){var i,t,s,o;const h=(null===(i=this._layer)||void 0===i?void 0:i.editingEnabled)&&(null===(o=null===(s=null===(t=this._layer)||void 0===t?void 0:t.capabilities)||void 0===s?void 0:s.operations)||void 0===o?void 0:o.supportsDelete);return this._isMobile&&this._numSelected>0&&!this._hideFooter?e("div",{class:"width-100",slot:"footer"},e("div",{class:"display-flex padding-1-2"},e("calcite-button",{appearance:"solid",id:"solutions-show",onClick:()=>this.showHideMapPopupAndTable(!0),width:"full"},this._translations.view.replace("{{n}}",this._numSelected.toString())),h?e("delete-button",{class:"padding-inline-start-1 width-full",id:"solutions-delete",ids:this._layerTable.selectedIds,layer:this._layer}):void 0)):void 0}_getDividerIcon(i,t){let e="";switch(i){case l.HORIZONTAL:e=t?"chevrons-up":"chevrons-down";break;case l.VERTICAL:case l.GRID:e=t?"chevrons-left":"chevrons-right"}return e}_getMapSizeClass(i,t,e){let s="";switch(i){case l.HORIZONTAL:s=(t&&!e?"height-1-2 display-grid":t&&e?"height-full":"height-0")+" width-full position-relative";break;case l.GRID:s="height-full position-relative "+(t?"width-1-3":"width-0");break;case l.VERTICAL:s="height-full position-relative "+(t?"width-1-2":"width-0")}return s}_getTableSizeClass(i,t){let e="";switch(i){case l.HORIZONTAL:e=(t?"height-1-2":"height-full")+" width-full display-flex flex-column";break;case l.GRID:e=(t?"width-2-3":"width-full")+" height-full display-flex";break;case l.VERTICAL:e=(t?"width-1-2":"width-full")+" height-full display-flex"}return e}_getBody(i,t,s){const o="dark"===this.theme?"calcite-mode-dark":"calcite-mode-light";return e("calcite-panel",{class:"width-full height-full"},e("div",{class:"width-full height-full overflow-hidden "+(i===l.HORIZONTAL?"":"display-flex")},this._getMapAndCard(i,t,s),this._getTable(i,t,s)),this.coverPageEnabled&&e("div",{class:"floating-container",onClick:this.coverPageButtonClick.bind(this)},e("calcite-button",{appearance:"solid",class:`floating-button ${o}`,"icon-start":"content-minimal",kind:"neutral",label:"",round:!0,scale:"l","split-child":"primary",width:"auto"})),this.introductionWindowEnabled&&e("div",{class:"floating-container",onClick:this.infoButtonClick.bind(this)},e("calcite-button",{appearance:"solid",class:`floating-button ${o}`,"icon-start":"information-letter",kind:"neutral",label:"",round:!0,scale:"l","split-child":"primary",width:"auto"})))}infoButtonClick(){this.showIntroductionWindow.emit()}coverPageButtonClick(){this.showCoverPage.emit()}_getMapAndCard(i,t,s){const o=this._getMapSizeClass(i,t,s);return e("div",{class:`${o} overflow-hidden`},this._getMapNode(t),this._getPopupExpandNode())}_getMapNode(i){var t;return e("div",{class:(this._layoutMode!==l.HORIZONTAL||this._isMobile&&!i?"adjusted-height-50":"")+" overflow-hidden"},e("map-card",{appProxies:this.appProxies,basemapConfig:this.basemapConfig,class:"width-full",defaultWebmapId:this.defaultWebmap,enableBasemap:this.enableBasemap,enableFloorFilter:this.enableFloorFilter,enableFullscreen:this.enableFullscreen,enableHome:this.enableHome,enableLegend:this.enableLegend,enableSearch:this.enableSearch,enableSingleExpand:!0,hidden:this._expandPopup&&!this._isMobile,homeZoomIndex:3,homeZoomPosition:"top-left",homeZoomToolsSize:"s",mapInfos:null===(t=this.mapInfos)||void 0===t?void 0:t.filter((i=>!1!==i.visible)),mapWidgetsIndex:0,mapWidgetsPosition:"top-right",mapWidgetsSize:"m",stackTools:!0,theme:this.theme,toolOrder:["legend","search","fullscreen","basemap","floorfilter"]}))}_getPopupExpandNode(){var i;const t=this._expandPopup?"chevrons-down":"chevrons-up",s="expand-popup",o=this._expandPopup?this._translations.collapsePopup:this._translations.expandPopup,h="dark"===this.theme?"calcite-mode-dark":"calcite-mode-light",l=this._expandPopup?1===(null===(i=this.mapInfos)||void 0===i?void 0:i.length)||this._isMobile?"position-absolute-0":"position-absolute-50":"height-full",a=this._isMobile?"display-none height-0":"";return e("div",{class:`${this.popupHeaderColor?"":this._isMobile?"calcite-mode-light":"calcite-mode-dark"} ${l} ${this._isMobile&&this._hideTable?"position-absolute-0 width-full height-full":this._isMobile?"display-none height-0":""}`,style:{"--calcite-color-foreground-1":this.popupHeaderColor,"--calcite-color-foreground-2":this.popupHeaderHoverColor,"--calcite-color-text-3":this.popupHeaderTextColor,"--calcite-color-text-2":this.popupHeaderTextColor}},e("calcite-panel",null,this._isMobile?void 0:e("div",{class:`display-flex align-items-center ${a}`,slot:"header-content"},e("calcite-icon",{icon:"information",scale:"s"}),e("div",{class:"padding-inline-start-75"},this._translations.information)),e("calcite-action",{class:a,disabled:this._tableOnly,icon:t,id:s,onClick:()=>this._togglePopup(),slot:"header-actions-end",text:""}),this._tableOnly?void 0:e("calcite-tooltip",{class:h,label:"",placement:"bottom","reference-element":s},e("span",null,o)),this._getCardNode()))}_togglePopup(){this._expandPopup=!this._expandPopup,this._hideMapOnLoadHonored=!0}_getCardNode(){return e("div",{class:"width-50 height-full "+("dark"===this.theme?"calcite-mode-dark":"calcite-mode-light")},e("card-manager",{class:(this._expandPopup||this._isMobile?"height-full":"height-50")+" width-full",isMobile:this._isMobile,mapView:null==this?void 0:this._mapView,zoomAndScrollToSelected:this.zoomAndScrollToSelected}))}_getTable(i,t,s){var o,h;const a=s&&this._isMobile?"visibility-hidden":"",d=this._getTableSizeClass(i,t),n=this._getDividerIcon(i,t),r=t?this._translations.close:this._translations.open,c="toggle-layout",p=i===l.HORIZONTAL?"horizontal":"vertical",g=i===l.HORIZONTAL?"header":"panel-start",u=this.defaultWebmap&&this.defaultLayer,f=this.defaultGlobalId?(null===(o=this.defaultGlobalId)||void 0===o?void 0:o.indexOf(","))>-1?this.defaultGlobalId.split(","):[this.defaultGlobalId]:void 0,b=this.defaultOid?(null===(h=this.defaultOid)||void 0===h?void 0:h.indexOf(","))>-1?this.defaultOid.split(",").map((i=>parseInt(i,10))):[parseInt(this.defaultOid,10)]:void 0;return e("calcite-shell",{class:`${d} ${a} border-bottom`},this._isMobile?void 0:e("calcite-action-bar",{class:"border-sides",expandDisabled:!0,layout:p,slot:g},e("calcite-action",{class:"toggle-node",icon:n,id:c,onClick:()=>this._toggleLayout(),text:""}),e("calcite-tooltip",{label:r,placement:"bottom","reference-element":c},e("span",null,r))),e("div",{class:"width-full height-full position-relative"},e("layer-table",{defaultGlobalId:u?f:void 0,defaultLayerId:u?this.defaultLayer:"",defaultOid:u&&!f?b:void 0,enableAutoRefresh:this.enableAutoRefresh,enableCSV:this.enableCSV,enableColumnReorder:this.enableColumnReorder,enableInlineEdit:this.enableInlineEdit,enableShare:this.enableShare,isMobile:this._isMobile,mapHidden:this._expandPopup,mapInfo:this._mapInfo,mapView:null==this?void 0:this._mapView,onlyShowUpdatableLayers:this.onlyShowUpdatableLayers,ref:i=>this._layerTable=i,shareIncludeEmbed:this.shareIncludeEmbed,shareIncludeSocial:this.shareIncludeSocial,showNewestFirst:this.showNewestFirst,zoomAndScrollToSelected:this.zoomAndScrollToSelected,zoomToScale:this.zoomToScale})))}_onResize(){const i=this.el.offsetWidth<1024,t=!this._isMobile&&i;this._isMobile=i,this._layoutMode=this._isMobile?l.HORIZONTAL:l.GRID,t&&(this._panelOpen=!0),(this.hideMapOnLoad&&!this._hideMapOnLoadHonored||this._isMobile)&&this.hideMapOnLoadWatchHandler()}_toggleLayout(){this._panelOpen=!this._panelOpen}showHideMapPopupAndTable(i){this._expandPopup=!1,this._hideTable=i,this._hideFooter=i}_getMapInfo(i){let t;return this.mapInfos.some((e=>{if(e.id===i)return t=e,!0})),Object.assign({},t)}async _setMapView(){var i;this._mapInfo=this._getMapInfo(this._mapChange.id),this._mapView=this._mapChange.mapView,this._initMapZoom(),this._mapView.popupEnabled=!1;const t=!this.defaultCenter||this._defaultCenterHonored||null===(i=this.defaultCenter)||void 0===i?void 0:i.split(";").map((i=>parseFloat(i))),e=!this.defaultLevel||this._defaultLevelHonored?void 0:parseInt(this.defaultLevel,10);t&&e&&(await this._mapView.goTo({center:t,zoom:e}),this._defaultCenterHonored=!0,this._defaultLevelHonored=!0)}_initMapZoom(){this.enableZoom?this.enableZoom&&this._mapView.ui.add({component:"zoom",position:"top-left",index:0}):this._mapView.ui.remove("zoom")}async _getTranslations(){const i=await h(this.el);this._translations=i[0]}get el(){return o(this)}static get watchers(){return{enableZoom:["enableZoomWatchHandler"],hideMapOnLoad:["hideMapOnLoadWatchHandler"]}}};d.style=":host{display:block;--calcite-label-margin-bottom:0px;--solutions-theme-foreground-color:var(--calcite-color-foreground-1)}.padding-1-2{padding:0.5rem}.display-flex{display:flex}.width-full{width:100%}.width-1-2{position:relative;width:50%}.width-1-3{position:relative;width:33.33%}.width-2-3{position:relative;width:66.66%}.width-0{width:0}.height-full{height:100%}.height-1-2{position:relative;height:50%}.height-0{height:0}.toggle-node{width:51px;height:51px}.overflow-hidden{overflow:hidden}.flex-column{flex-direction:column}.border{border:1px solid var(--calcite-color-border-3)}.border-bottom{border-bottom:1px solid var(--calcite-color-border-3)}.border-sides{border-left:1px solid var(--calcite-color-border-3);border-right:1px solid var(--calcite-color-border-3)}.position-relative{position:relative}.height-50{height:50%}.adjusted-height-50{height:calc(50% - 25px)}.adjusted-height-100{height:calc(100% - 50px)}.adjusted-height-100-50{height:calc(100% - 50px)}.display-none{display:none}.height-53{height:53px}.position-absolute-53{position:absolute;top:53px}.display-grid{display:grid}.height-50-px{height:50px}.padding-inline-start-75{padding-inline-start:0.75rem}.align-items-center{align-items:center}.esri-floor-filter__close-levels-button{width:40px !important;height:40px !important}.esri-floor-filter__level-button{width:40px !important;height:40px !important}.esri-floor-filter__browse-button{width:40px !important;height:40px !important}.position-absolute-50{position:absolute;top:50px;bottom:0px;left:0px;right:0px}.position-absolute-0{position:absolute;top:0px;bottom:0px;left:0px;right:0px}.visibility-hidden{visibility:hidden;height:0px}.position-fixed{position:fixed}.border-width-0{border-width:0px}.border-bottom-width-0{border-bottom-width:0px}.floating-container{position:fixed;width:100px;height:10px;bottom:0;right:0;margin:100px 0px}.floating-container .floating-button{box-shadow:0 10px 25px rgb(92 93 94 / 60%);transform:translatey(5px);transition:all 0.3s}";export{d as crowdsource_manager}
@@ -3,7 +3,7 @@
3
3
  * Licensed under the Apache License, Version 2.0
4
4
  * http://www.apache.org/licenses/LICENSE-2.0
5
5
  */
6
- import{r as t,c as e,h as i,F as o,H as n,g as r}from"./p-fa1ceaf9.js";import{h as s,a as c}from"./p-67b26725.js";import{c as a,s as l,a as d}from"./p-8ed6ce4d.js";import{C as h}from"./p-db50226e.js";import{u,c as m,s as v,d as p}from"./p-44bfa87d.js";import{c as b,d as f}from"./p-813d004f.js";import"./p-b85be429.js";import"./p-f50a294b.js";import"./p-e6c9e6af.js";
6
+ import{r as t,c as e,h as i,F as o,H as n,g as r}from"./p-f4c4a2b7.js";import{h as s,a as c}from"./p-67b26725.js";import{c as a,s as l,a as d}from"./p-fa214d6f.js";import{C as h}from"./p-db50226e.js";import{u,c as m,s as v,d as p}from"./p-4541ad8e.js";import{c as b,d as f}from"./p-33ec544d.js";import"./p-b85be429.js";import"./p-f50a294b.js";import"./p-a1f034be.js";
7
7
  /*!
8
8
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
9
9
  * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
@@ -3,7 +3,7 @@
3
3
  * Licensed under the Apache License, Version 2.0
4
4
  * http://www.apache.org/licenses/LICENSE-2.0
5
5
  */
6
- import{r as e,c as t,h as a,H as s,g as c}from"./p-fa1ceaf9.js";import{c as i,u as d,d as o,I as n}from"./p-9c6c056a.js";import{M as l}from"./p-d242a8a5.js";import"./p-b64cc55e.js";
6
+ import{r as e,c as t,h as a,H as s,g as c}from"./p-f4c4a2b7.js";import{c as i,u as d,d as o,I as n}from"./p-07ffc0dc.js";import{M as l}from"./p-d242a8a5.js";import"./p-7c057019.js";
7
7
  /*!
8
8
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
9
9
  * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
@@ -3,7 +3,7 @@
3
3
  * Licensed under the Apache License, Version 2.0
4
4
  * http://www.apache.org/licenses/LICENSE-2.0
5
5
  */
6
- import"./p-3d7cff5e.js";import{a as e}from"./p-a0300d31.js";import"./p-a230b270.js";
6
+ import"./p-3d7cff5e.js";import{a as e}from"./p-628537e6.js";import"./p-a230b270.js";
7
7
  /** @license
8
8
  * Copyright 2022 Esri
9
9
  *
@@ -19,4 +19,4 @@ import"./p-3d7cff5e.js";import{a as e}from"./p-a0300d31.js";import"./p-a230b270.
19
19
  * See the License for the specific language governing permissions and
20
20
  * limitations under the License.
21
21
  */
22
- function t(t){return t.reduce(((t,n)=>{const i=n.item.title||n.item.name;if("Feature Service"===n.type&&n.item.typeKeywords.indexOf("View Service")<0&&t.indexOf(i)<0){const r=e(n,"properties.service.spatialReference.wkid");t.push({name:i,enabled:r.toString().startsWith("{{params.wkid||")})}return t}),[])}function n(e){const t=function(e){const t=[];function n(t,r,o=[]){const a=function(e,t){const n=e.findIndex((e=>t===e.itemId));return n>=0?e[n]:null}(e,t);if(a){const e={id:t,dependencies:[]};o.indexOf(t)<0&&(o.push(t),a.dependencies.forEach((t=>{const r=i.indexOf(t);r>=0&&i.splice(r,1),n(t,e.dependencies,o)}))),r.push(e)}}let i=function(e){const t=e.map((e=>e.itemId));return e.forEach((e=>{(e.dependencies||[]).forEach((e=>{const n=t.indexOf(e);n>=0&&t.splice(n,1)}))})),t}(e);const r=e.filter((e=>i.indexOf(e.itemId)<0)).sort(((e,t)=>t.dependencies.length-e.dependencies.length));i=i.concat(r.map((e=>e.itemId)));let o=i.shift();for(;void 0!==o;)n(o,t),o=i.shift();return t}(e),n=t.reduce(((e,t)=>(e.push(t.id),e)),[]);return e.reduce(((i,r)=>{if(n.indexOf(r.itemId)>-1){const n=t.filter((e=>e.id===r.itemId));i.push(c(r,e,n[0].dependencies))}return i}),[])}function i(e){return[{id:"",title:e.geocodeUrl,value:"{{organization.helperServices.geocode:getDefaultLocatorURL}}"},{id:"",title:e.geometryUrl,value:"{{organization.helperServices.geometry.url}}"},{id:"",title:e.portalBaseUrl,value:"{{portalBaseUrl}}"},{id:"",title:e.routeUrl,value:"{{organization.helperServices.route.url}}"},{id:"",title:e.solutionItemExtent,value:"{{solutionItemExtent}}"}]}function r(e,t){const n=[];return e.forEach((e=>{const i={id:e.itemId,title:e.item.title||e.item.name,type:e.type,value:void 0,dependencies:[{id:e.itemId,title:t.itemId,value:`{{${e.itemId}.itemId}}`}]};e.item.url&&i.dependencies.push({id:e.itemId,title:t.url,value:`{{${e.itemId}.url}}`}),"Feature Service"===e.type&&(i.dependencies.push({id:e.itemId,title:t.solutionExtent,value:`{{${e.itemId}.solutionExtent}}`}),a(e.properties.layers||[],i,e,t),a(e.properties.tables||[],i,e,t)),n.push(i)})),n}function o(t,n){const i={};t.forEach((e=>{i[e.name]=e.enabled}));const r=e(n,"params.wkid.default");return{enabled:void 0!==r&&""!==r,services:i,spatialReference:r?{wkid:r}:void 0}}function a(e,t,n,i){e.forEach((e=>{const r=e.name&&e.name.indexOf("||")>-1?e.name.split("||")[1].replace("}}","").trim():e.name;t.dependencies.push({id:n.itemId,title:`${r} (${i.id})`,value:`{{${n.itemId}.layer${e.id}.id}}`}),t.dependencies.push({id:n.itemId,title:`${r} (${i.name})`,value:`{{${n.itemId}.layer${e.id}.name||${r}}}`})}))}function c(e,t,n){return{id:e.itemId||"",title:e.item.title||"",dependencies:u(n,t),type:e.item.type||"",typeKeywords:e.item.typeKeywords||[]}}function u(e,t){const n=[],i=e.reduce(((e,t)=>(e.push(t.id),n.push(t),e)),[]);return t.reduce(((e,r)=>{const o=i.indexOf(r.itemId);return o>-1&&e.push(c(r,t,n[o].dependencies)),e}),[])}export{i as a,n as b,t as c,o as d,r as g}
22
+ function t(t){return t.reduce(((t,n)=>{const i=n.item.title||n.item.name;if("Feature Service"===n.type&&n.item.typeKeywords.indexOf("View Service")<0&&t.indexOf(i)<0){const r=e(n,"properties.service.spatialReference.wkid");t.push({name:i,enabled:r.toString().startsWith("{{params.wkid||")})}return t}),[])}function n(e){const t=function(e){const t=[];function n(t,r,o=[]){const c=function(e,t){const n=e.findIndex((e=>t===e.itemId));return n>=0?e[n]:null}(e,t);if(c){const e={id:t,dependencies:[]};o.indexOf(t)<0&&(o.push(t),c.dependencies.forEach((t=>{const r=i.indexOf(t);r>=0&&i.splice(r,1),n(t,e.dependencies,o)}))),r.push(e)}}let i=function(e){const t=e.map((e=>e.itemId));return e.forEach((e=>{(e.dependencies||[]).forEach((e=>{const n=t.indexOf(e);n>=0&&t.splice(n,1)}))})),t}(e);const r=e.filter((e=>i.indexOf(e.itemId)<0)).sort(((e,t)=>t.dependencies.length-e.dependencies.length));i=i.concat(r.map((e=>e.itemId)));let o=i.shift();for(;void 0!==o;)n(o,t),o=i.shift();return t}(e),n=t.reduce(((e,t)=>(e.push(t.id),e)),[]);return e.reduce(((i,r)=>{if(n.indexOf(r.itemId)>-1){const n=t.filter((e=>e.id===r.itemId));i.push(a(r,e,n[0].dependencies))}return i}),[])}function i(e){return[{id:"",title:e.geocodeUrl,value:"{{organization.helperServices.geocode:getDefaultLocatorURL}}"},{id:"",title:e.geometryUrl,value:"{{organization.helperServices.geometry.url}}"},{id:"",title:e.portalBaseUrl,value:"{{portalBaseUrl}}"},{id:"",title:e.routeUrl,value:"{{organization.helperServices.route.url}}"},{id:"",title:e.solutionItemExtent,value:"{{solutionItemExtent}}"}]}function r(e,t){const n=[];return e.forEach((e=>{const i={id:e.itemId,title:e.item.title||e.item.name,type:e.type,value:void 0,dependencies:[{id:e.itemId,title:t.itemId,value:`{{${e.itemId}.itemId}}`}]};e.item.url&&i.dependencies.push({id:e.itemId,title:t.url,value:`{{${e.itemId}.url}}`}),"Feature Service"===e.type&&(i.dependencies.push({id:e.itemId,title:t.solutionExtent,value:`{{${e.itemId}.solutionExtent}}`}),c(e.properties.layers||[],i,e,t),c(e.properties.tables||[],i,e,t)),n.push(i)})),n}function o(t,n){const i={};t.forEach((e=>{i[e.name]=e.enabled}));const r=e(n,"params.wkid.default");return{enabled:void 0!==r&&""!==r,services:i,spatialReference:r?{wkid:r}:void 0}}function c(e,t,n,i){e.forEach((e=>{const r=e.name&&e.name.indexOf("||")>-1?e.name.split("||")[1].replace("}}","").trim():e.name;t.dependencies.push({id:n.itemId,title:`${r} (${i.id})`,value:`{{${n.itemId}.layer${e.id}.id}}`}),t.dependencies.push({id:n.itemId,title:`${r} (${i.name})`,value:`{{${n.itemId}.layer${e.id}.name||${r}}}`})}))}function a(e,t,n){return{id:e.itemId||"",title:e.item.title||"",dependencies:u(n,t),type:e.item.type||"",typeKeywords:e.item.typeKeywords||[]}}function u(e,t){const n=[],i=e.reduce(((e,t)=>(e.push(t.id),n.push(t),e)),[]);return t.reduce(((e,r)=>{const o=i.indexOf(r.itemId);return o>-1&&e.push(a(r,t,n[o].dependencies)),e}),[])}export{i as a,n as b,t as c,o as d,r as g}
@@ -3,7 +3,7 @@
3
3
  * Licensed under the Apache License, Version 2.0
4
4
  * http://www.apache.org/licenses/LICENSE-2.0
5
5
  */
6
- import{r as e,h as s,H as i,g as t}from"./p-fa1ceaf9.js";import{g as a}from"./p-b85be429.js";
6
+ import{r as e,h as s,H as i,g as t}from"./p-f4c4a2b7.js";import{g as a}from"./p-b85be429.js";
7
7
  /*!
8
8
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
9
9
  * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
@@ -3,4 +3,4 @@
3
3
  * Licensed under the Apache License, Version 2.0
4
4
  * http://www.apache.org/licenses/LICENSE-2.0
5
5
  */
6
- import{r as e,h as s,H as t,g as r}from"./p-fa1ceaf9.js";const c=class{constructor(s){e(this,s)}render(){return s(t,{key:"eb455611b9248308ef11de0f2b03cb35bbc77e5b"},s("slot",{key:"f9829297423e86f028c1415e6c7d27c0967b9e8e"}))}get el(){return r(this)}};c.style=":host{display:block}";export{c as features_flow_item}
6
+ import{r as e,h as s,H as t,g as r}from"./p-f4c4a2b7.js";const c=class{constructor(s){e(this,s)}render(){return s(t,{key:"eb455611b9248308ef11de0f2b03cb35bbc77e5b"},s("slot",{key:"f9829297423e86f028c1415e6c7d27c0967b9e8e"}))}get el(){return r(this)}};c.style=":host{display:block}";export{c as features_flow_item}
@@ -3,4 +3,4 @@
3
3
  * Licensed under the Apache License, Version 2.0
4
4
  * http://www.apache.org/licenses/LICENSE-2.0
5
5
  */
6
- import{r as e,f as t,h as i,g as n,c as s}from"./p-fa1ceaf9.js";import{g as a,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,q as f}from"./p-841863b8.js";import{l as m}from"./p-4cd4cb85.js";import"./p-8c6d9b5a.js";import"./p-0a24ad5f.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:"347429a5b44b2cbb215713a0ffa5cc9533adac89",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:"cf6409b157fe2a5baffd2577666a134a58ef7321",ref:e=>this.layerCaption=e,class:a(this.el),legendvm:this.legendvm,"feature-count":this.featureCount,activeLayerInfo:this.activeLayerInfo,messages:this.messages,isChild:this.isChild}),i("div",{key:"4c8700da38ae2ede931e9c397f1d23c22288f72e",class:"esri-legend__group-content "+(!1===this.expanded?"hide":"show")},i("slot",{key:"584858e5a6c140166588e73f372af42758bccaa7",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 b=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:"56adcd33aa0f6b227c5082ad717faee2a33af287",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:"b07bd777b0b5cf9e2b179fafda9035cfdf744744",ref:e=>this.layerCaption=e,legendvm:this.legendvm,"feature-count":this.featureCount,activeLayerInfo:this.activeLayerInfo,messages:this.messages,isChild:!!this.isChild,class:a(this.el)}),i("div",{key:"d6d93b431e5c431c99a277aaa904721c80432aa1",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:"8d52728f213df6f2bcf5d580ecd5fa945caf439e",name:"content"})))}get el(){return n(this)}};b.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 _=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,s,a,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===(a=null===(s=null===(n=this.activeLayerInfo)||void 0===n?void 0:n.layer)||void 0===s?void 0:s.renderer)||void 0===a?void 0:a.field),g=!this.isSizeRamp&&this.isChild||this.isColorRamp?"":" esri-legend__layer-table--size-ramp",u=this.isInteractive?"":" instant-apps-interactive-legend__non-interactive",f=l(this.activeLayerInfo)?" instant-apps-interactive-legend__nested-unique-symbol":"";let m=!(!v||this.expanded||this.zoomTo)||this.expanded;return this.isRelationshipRamp&&(m=o.get("relationshipRampExpandStates")[this.activeLayerInfo.layer.id]),i("div",{key:"5c99e93f4795be0085f06b69b401e54730d41030",class:`${h}${g}${u}${f}`},i("div",{key:"56a99ba823ffb4263ca5b38ce3f2e619fff3932e",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:"c138a76da1ac241049f1f74fc78dd3a26be5859f",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===m?"hide":"show"},i("slot",{key:"d4b29e3591f026b880c4b859a47bcbc3e3b11ced",name:"content"})))}};_.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}";const L=class{constructor(t){e(this,t),this.showAllSelectedEvent=s(this,"showAllSelected",7),this.legendLayerExpandUpdatedEvent=s(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,s;const a=l(this.activeLayerInfo),o=p(this.activeLayerInfo),{expanded:c}=this;return a&&!this.titleText?null:i("div",{class:"esri-legend__layer-caption"},i("calcite-action",{onClick:this.toggleExpanded(),icon:!1===c?"chevron-up":"chevron-down",appearance:"transparent",text:!1===c?null===(e=this.messages)||void 0===e?void 0:e.expand:null===(t=this.messages)||void 0===t?void 0:t.collapse,label:!1===c?null===(n=this.messages)||void 0===n?void 0:n.expand:null===(s=this.messages)||void 0===s?void 0:s.collapse,scale:"s"}),this.isInteractive||o?this.renderLegendElementCaptionControls():null,this.titleText?i("span",{class:"instant-apps-interactive-legend__legend-layer-caption-text",title:this.titleText},this.titleText):null)}renderLegendElementCaptionControls(){var e,t,n,s,a,l,o,d,r,p;const h=this.titleText?"":" instant-apps-interactive-legend__layer-caption-btn-container--no-text",v=(null===(s=null===(n=null===(e=c.data)||void 0===e?void 0:e[null===(t=this.layer)||void 0===t?void 0:t.id])||void 0===n?void 0:n.categories)||void 0===s?void 0:s.size)>1?i("calcite-button",{key:"show-all-button",id:"showAll",onClick:this.handleShowAll(),"icon-start":"list-check-all",appearance:"outline",round:!0,label:null===(a=this.messages)||void 0===a?void 0:a.showAll}):null,g=i("calcite-button",{key:"zoom-to-button",id:"zoomTo",onClick:this.handleZoomTo(),"icon-start":"magnifying-glass-plus",appearance:"outline",round:!0,label:null===(l=this.messages)||void 0===l?void 0:l.zoomTo});return i("div",{key:"layer-caption-btn-container",class:`instant-apps-interactive-legend__layer-caption-btn-container${h}`},v,i("calcite-tooltip",{"reference-element":"showAll",placement:"top",label:null===(o=this.messages)||void 0===o?void 0:o.showAll},null===(d=this.messages)||void 0===d?void 0:d.showAll),this.zoomTo?[g,i("calcite-tooltip",{"reference-element":"zoomTo",placement:"top",label:null===(r=this.messages)||void 0===r?void 0:r.zoomTo},null===(p=this.messages)||void 0===p?void 0:p.zoomTo)]:null)}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)}};L.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__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{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 $=".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($).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:"a3427fc452afc75183a7249568914149089a7539",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:"e4cd263043d0adb199588487438596b4fdb2e51f",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($);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;const s=(null===(n=null===(i=this.activeLayerInfo)||void 0===i?void 0:i.layer)||void 0===n?void 0:n.renderer).uniqueValueInfos;if(s[t]){const i=s[t].symbol.color;s.forEach(((t,n)=>{const s=t.symbol.color;i.r===s.r&&i.g===s.g&&i.b===s.b&&i.a===s.a&&this.setCellAttributes(e,n)})),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 s=e[this.cellNodeCounter];2===n?this.twoClassAttributes(s,t,i):3===n?this.threeClassAttributes(s,t,i):this.fourClassAttributes(s,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:s}=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"===s?this.swapDataFeatureIndexes(e,t,i):this.setDataFeatureIndexes(e,t,i):"HL"!==s?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=s=>{const{key:a}=s;("Enter"===a||"Space"===a)&&(this.handleFilter(t,i,n),this.handleSelectedElement(e))}}))}async handleFilter(e,t,i){var n,s,a,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!==(s=null===(n=null==g?void 0:g.filter)||void 0===n?void 0:n.timeExtent)&&void 0!==s?s:null,[b,_]=await m(["esri/layers/support/FeatureFilter","esri/layers/support/FeatureEffect"]);if("filter"===(null===(a=this.filterMode)||void 0===a?void 0:a.type))g.filter=new b({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 _({filter:new b({where:u,timeExtent:y}),includedEffect:n,excludedEffect:i})}}}generateExpressionParams(e,t,i,n,s,a){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:s,field1:p?`(${o}/${p})`:`${o}`,field2:h?`(${c}/${h})`:`${c}`,focus:a}}generateExpressionForRelationship(e){const{focus:t,field1:i,field2:n,data:s,i:a,j:l}=e;return"LL"===t?`${i} >= ${s[a][l][0].minValue} AND ${i} <= ${s[a][l][0].maxValue} AND ${n} >= ${s[a][l][1].minValue} AND ${n} <= ${s[a][l][1].maxValue}`:"LM"===t||"LM1"===t||"LM2"===t||"LH"===t?`${i} >= ${s[a][l][0].minValue} AND ${i} <= ${s[a][l][0].maxValue} AND ${n} > ${s[a][l][1].minValue} AND ${n} <= ${s[a][l][1].maxValue}`:"ML"===t||"M1L"===t||"M2L"===t||"HL"===t?`${i} > ${s[a][l][0].minValue} AND ${i} <= ${s[a][l][0].maxValue} AND ${n} >= ${s[a][l][1].minValue} AND ${n} <= ${s[a][l][1].maxValue}`:`${i} > ${s[a][l][0].minValue} AND ${i} <= ${s[a][l][0].maxValue} AND ${n} > ${s[a][l][1].minValue} AND ${n} <= ${s[a][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,b as instant_apps_interactive_legend_layer_element,_ as instant_apps_interactive_legend_legend_element,L as instant_apps_interactive_legend_legend_element_caption,k as instant_apps_interactive_legend_relationship}
6
+ import{r as e,f as t,h as i,g as n,c as s}from"./p-f4c4a2b7.js";import{g as a,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,q as f}from"./p-9f2a0621.js";import{l as m}from"./p-4cd4cb85.js";import"./p-dcc35070.js";import"./p-0a24ad5f.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:"347429a5b44b2cbb215713a0ffa5cc9533adac89",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:"cf6409b157fe2a5baffd2577666a134a58ef7321",ref:e=>this.layerCaption=e,class:a(this.el),legendvm:this.legendvm,"feature-count":this.featureCount,activeLayerInfo:this.activeLayerInfo,messages:this.messages,isChild:this.isChild}),i("div",{key:"4c8700da38ae2ede931e9c397f1d23c22288f72e",class:"esri-legend__group-content "+(!1===this.expanded?"hide":"show")},i("slot",{key:"584858e5a6c140166588e73f372af42758bccaa7",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 b=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:"56adcd33aa0f6b227c5082ad717faee2a33af287",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:"b07bd777b0b5cf9e2b179fafda9035cfdf744744",ref:e=>this.layerCaption=e,legendvm:this.legendvm,"feature-count":this.featureCount,activeLayerInfo:this.activeLayerInfo,messages:this.messages,isChild:!!this.isChild,class:a(this.el)}),i("div",{key:"d6d93b431e5c431c99a277aaa904721c80432aa1",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:"8d52728f213df6f2bcf5d580ecd5fa945caf439e",name:"content"})))}get el(){return n(this)}};b.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 _=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,s,a,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===(a=null===(s=null===(n=this.activeLayerInfo)||void 0===n?void 0:n.layer)||void 0===s?void 0:s.renderer)||void 0===a?void 0:a.field),g=!this.isSizeRamp&&this.isChild||this.isColorRamp?"":" esri-legend__layer-table--size-ramp",u=this.isInteractive?"":" instant-apps-interactive-legend__non-interactive",f=l(this.activeLayerInfo)?" instant-apps-interactive-legend__nested-unique-symbol":"";let m=!(!v||this.expanded||this.zoomTo)||this.expanded;return this.isRelationshipRamp&&(m=o.get("relationshipRampExpandStates")[this.activeLayerInfo.layer.id]),i("div",{key:"5c99e93f4795be0085f06b69b401e54730d41030",class:`${h}${g}${u}${f}`},i("div",{key:"56a99ba823ffb4263ca5b38ce3f2e619fff3932e",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:"c138a76da1ac241049f1f74fc78dd3a26be5859f",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===m?"hide":"show"},i("slot",{key:"d4b29e3591f026b880c4b859a47bcbc3e3b11ced",name:"content"})))}};_.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}";const L=class{constructor(t){e(this,t),this.showAllSelectedEvent=s(this,"showAllSelected",7),this.legendLayerExpandUpdatedEvent=s(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,s;const a=l(this.activeLayerInfo),o=p(this.activeLayerInfo),{expanded:c}=this;return a&&!this.titleText?null:i("div",{class:"esri-legend__layer-caption"},i("calcite-action",{onClick:this.toggleExpanded(),icon:!1===c?"chevron-up":"chevron-down",appearance:"transparent",text:!1===c?null===(e=this.messages)||void 0===e?void 0:e.expand:null===(t=this.messages)||void 0===t?void 0:t.collapse,label:!1===c?null===(n=this.messages)||void 0===n?void 0:n.expand:null===(s=this.messages)||void 0===s?void 0:s.collapse,scale:"s"}),this.isInteractive||o?this.renderLegendElementCaptionControls():null,this.titleText?i("span",{class:"instant-apps-interactive-legend__legend-layer-caption-text",title:this.titleText},this.titleText):null)}renderLegendElementCaptionControls(){var e,t,n,s,a,l,o,d,r,p;const h=this.titleText?"":" instant-apps-interactive-legend__layer-caption-btn-container--no-text",v=(null===(s=null===(n=null===(e=c.data)||void 0===e?void 0:e[null===(t=this.layer)||void 0===t?void 0:t.id])||void 0===n?void 0:n.categories)||void 0===s?void 0:s.size)>1?i("calcite-button",{key:"show-all-button",id:"showAll",onClick:this.handleShowAll(),"icon-start":"list-check-all",appearance:"outline",round:!0,label:null===(a=this.messages)||void 0===a?void 0:a.showAll}):null,g=i("calcite-button",{key:"zoom-to-button",id:"zoomTo",onClick:this.handleZoomTo(),"icon-start":"magnifying-glass-plus",appearance:"outline",round:!0,label:null===(l=this.messages)||void 0===l?void 0:l.zoomTo});return i("div",{key:"layer-caption-btn-container",class:`instant-apps-interactive-legend__layer-caption-btn-container${h}`},v,i("calcite-tooltip",{"reference-element":"showAll",placement:"top",label:null===(o=this.messages)||void 0===o?void 0:o.showAll},null===(d=this.messages)||void 0===d?void 0:d.showAll),this.zoomTo?[g,i("calcite-tooltip",{"reference-element":"zoomTo",placement:"top",label:null===(r=this.messages)||void 0===r?void 0:r.zoomTo},null===(p=this.messages)||void 0===p?void 0:p.zoomTo)]:null)}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)}};L.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__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{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 $=".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($).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:"a3427fc452afc75183a7249568914149089a7539",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:"e4cd263043d0adb199588487438596b4fdb2e51f",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($);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;const s=(null===(n=null===(i=this.activeLayerInfo)||void 0===i?void 0:i.layer)||void 0===n?void 0:n.renderer).uniqueValueInfos;if(s[t]){const i=s[t].symbol.color;s.forEach(((t,n)=>{const s=t.symbol.color;i.r===s.r&&i.g===s.g&&i.b===s.b&&i.a===s.a&&this.setCellAttributes(e,n)})),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 s=e[this.cellNodeCounter];2===n?this.twoClassAttributes(s,t,i):3===n?this.threeClassAttributes(s,t,i):this.fourClassAttributes(s,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:s}=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"===s?this.swapDataFeatureIndexes(e,t,i):this.setDataFeatureIndexes(e,t,i):"HL"!==s?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=s=>{const{key:a}=s;("Enter"===a||"Space"===a)&&(this.handleFilter(t,i,n),this.handleSelectedElement(e))}}))}async handleFilter(e,t,i){var n,s,a,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!==(s=null===(n=null==g?void 0:g.filter)||void 0===n?void 0:n.timeExtent)&&void 0!==s?s:null,[b,_]=await m(["esri/layers/support/FeatureFilter","esri/layers/support/FeatureEffect"]);if("filter"===(null===(a=this.filterMode)||void 0===a?void 0:a.type))g.filter=new b({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 _({filter:new b({where:u,timeExtent:y}),includedEffect:n,excludedEffect:i})}}}generateExpressionParams(e,t,i,n,s,a){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:s,field1:p?`(${o}/${p})`:`${o}`,field2:h?`(${c}/${h})`:`${c}`,focus:a}}generateExpressionForRelationship(e){const{focus:t,field1:i,field2:n,data:s,i:a,j:l}=e;return"LL"===t?`${i} >= ${s[a][l][0].minValue} AND ${i} <= ${s[a][l][0].maxValue} AND ${n} >= ${s[a][l][1].minValue} AND ${n} <= ${s[a][l][1].maxValue}`:"LM"===t||"LM1"===t||"LM2"===t||"LH"===t?`${i} >= ${s[a][l][0].minValue} AND ${i} <= ${s[a][l][0].maxValue} AND ${n} > ${s[a][l][1].minValue} AND ${n} <= ${s[a][l][1].maxValue}`:"ML"===t||"M1L"===t||"M2L"===t||"HL"===t?`${i} > ${s[a][l][0].minValue} AND ${i} <= ${s[a][l][0].maxValue} AND ${n} >= ${s[a][l][1].minValue} AND ${n} <= ${s[a][l][1].maxValue}`:`${i} > ${s[a][l][0].minValue} AND ${i} <= ${s[a][l][0].maxValue} AND ${n} > ${s[a][l][1].minValue} AND ${n} <= ${s[a][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,b as instant_apps_interactive_legend_layer_element,_ as instant_apps_interactive_legend_legend_element,L as instant_apps_interactive_legend_legend_element_caption,k as instant_apps_interactive_legend_relationship}
@@ -3,4 +3,4 @@
3
3
  * Licensed under the Apache License, Version 2.0
4
4
  * http://www.apache.org/licenses/LICENSE-2.0
5
5
  */
6
- import{r as i,f as t,h as e,g as s}from"./p-fa1ceaf9.js";import{l as n}from"./p-4cd4cb85.js";import{g as a}from"./p-1c64264d.js";import{g as r}from"./p-841863b8.js";import"./p-0a24ad5f.js";import"./p-d4056c1c.js";import"./p-ac122d9e.js";import"./p-8c6d9b5a.js";const o={base:"esri-legend",widget:"esri-widget",widgetPanel:"esri-widget--panel",component:"esri-component",iconLayerList:"esri-icon-layer-list"},c=class{constructor(t){i(this,t),this.handles=void 0,this.reactiveUtils=void 0,this.legendvm=void 0,this.widget=void 0,this.view=void 0,this.zoomTo=!1,this.featureCount=!1,this.filterMode={type:"filter"},this.messages=void 0}async componentWillLoad(){new MutationObserver((()=>{t(this.el)})).observe(this.el,{attributes:!0}),await this.initializeModules()}async componentDidLoad(){a(this)}async initializeModules(){const[i,t,e,s]=await n(["esri/core/Handles","esri/core/reactiveUtils","esri/widgets/Widget","esri/widgets/Legend"]);this.handles=new i,this.reactiveUtils=t,this.widget=new e;const a=new s;return await t.whenOnce((()=>null==a?void 0:a.messages)),this.messages=Object.assign(Object.assign({},this.messages),a.messages),Promise.resolve()}async init(){if(this.reactiveUtils&&this.view&&this.handles)try{const{on:i}=this.reactiveUtils,[t]=await n(["esri/widgets/Legend/LegendViewModel"]),e=new t({view:this.view});this.legendvm=e,this.handles.add([i((()=>{var i;return null===(i=this.legendvm)||void 0===i?void 0:i.activeLayerInfos}),"change",(()=>{var i;return this._refreshActiveLayerInfos(null===(i=null==this?void 0:this.legendvm)||void 0===i?void 0:i.activeLayerInfos,this.reactiveUtils)}))])}catch(i){console.error('Failed at "init": ',i)}}render(){var i;const{base:t,component:s,widget:n,widgetPanel:a}=o;return e("div",{key:"interactive-legend",class:null===(i=this.widget)||void 0===i?void 0:i.classes(t,s,n,a)},e("instant-apps-interactive-legend-classic",{key:"interactive-legend-classic",ref:i=>this.ref=i,class:r(this.el),legendvm:this.legendvm,"zoom-to":this.zoomTo,filterMode:this.filterMode,"feature-count":this.featureCount,messages:this.messages}))}_refreshActiveLayerInfos(i,t){i&&(this.handles.removeAll(),i.forEach((i=>this._renderOnActiveLayerInfoChange(i,t))))}_renderOnActiveLayerInfoChange(i,t){var e;const{on:s}=this.reactiveUtils,n=s((()=>i.children),"change",(()=>i.children.forEach((i=>this._renderOnActiveLayerInfoChange(i,t)))));this.handles.add(n,`children_${null===(e=null==i?void 0:i.layer)||void 0===e?void 0:e.uid}`),i.children.forEach((i=>{var e,s;this._renderOnActiveLayerInfoChange(i,t),(null===(e=null==i?void 0:i.children)||void 0===e?void 0:e.length)>0&&(null===(s=null==i?void 0:i.children)||void 0===s||s.forEach((i=>this._renderOnActiveLayerInfoChange(i,t))))}))}get el(){return s(this)}static get watchers(){return{handles:["init"],reactiveUtils:["init"],view:["init"]}}};c.style=".sc-instant-apps-interactive-legend-h{display:block;height:100%}.sc-instant-apps-interactive-legend-h .esri-legend.sc-instant-apps-interactive-legend{height:100%;background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-1)}.sc-instant-apps-interactive-legend-h .esri-legend.esri-component.esri-widget.esri-widget--panel.sc-instant-apps-interactive-legend{margin:0}";export{c as instant_apps_interactive_legend}
6
+ import{r as i,f as t,h as e,g as s}from"./p-f4c4a2b7.js";import{l as n}from"./p-4cd4cb85.js";import{g as a}from"./p-1c64264d.js";import{g as r}from"./p-9f2a0621.js";import"./p-0a24ad5f.js";import"./p-d4056c1c.js";import"./p-ac122d9e.js";import"./p-dcc35070.js";const o={base:"esri-legend",widget:"esri-widget",widgetPanel:"esri-widget--panel",component:"esri-component",iconLayerList:"esri-icon-layer-list"},c=class{constructor(t){i(this,t),this.handles=void 0,this.reactiveUtils=void 0,this.legendvm=void 0,this.widget=void 0,this.view=void 0,this.zoomTo=!1,this.featureCount=!1,this.filterMode={type:"filter"},this.messages=void 0}async componentWillLoad(){new MutationObserver((()=>{t(this.el)})).observe(this.el,{attributes:!0}),await this.initializeModules()}async componentDidLoad(){a(this)}async initializeModules(){const[i,t,e,s]=await n(["esri/core/Handles","esri/core/reactiveUtils","esri/widgets/Widget","esri/widgets/Legend"]);this.handles=new i,this.reactiveUtils=t,this.widget=new e;const a=new s;return await t.whenOnce((()=>null==a?void 0:a.messages)),this.messages=Object.assign(Object.assign({},this.messages),a.messages),Promise.resolve()}async init(){if(this.reactiveUtils&&this.view&&this.handles)try{const{on:i}=this.reactiveUtils,[t]=await n(["esri/widgets/Legend/LegendViewModel"]),e=new t({view:this.view});this.legendvm=e,this.handles.add([i((()=>{var i;return null===(i=this.legendvm)||void 0===i?void 0:i.activeLayerInfos}),"change",(()=>{var i;return this._refreshActiveLayerInfos(null===(i=null==this?void 0:this.legendvm)||void 0===i?void 0:i.activeLayerInfos,this.reactiveUtils)}))])}catch(i){console.error('Failed at "init": ',i)}}render(){var i;const{base:t,component:s,widget:n,widgetPanel:a}=o;return e("div",{key:"interactive-legend",class:null===(i=this.widget)||void 0===i?void 0:i.classes(t,s,n,a)},e("instant-apps-interactive-legend-classic",{key:"interactive-legend-classic",ref:i=>this.ref=i,class:r(this.el),legendvm:this.legendvm,"zoom-to":this.zoomTo,filterMode:this.filterMode,"feature-count":this.featureCount,messages:this.messages}))}_refreshActiveLayerInfos(i,t){i&&(this.handles.removeAll(),i.forEach((i=>this._renderOnActiveLayerInfoChange(i,t))))}_renderOnActiveLayerInfoChange(i,t){var e;const{on:s}=this.reactiveUtils,n=s((()=>i.children),"change",(()=>i.children.forEach((i=>this._renderOnActiveLayerInfoChange(i,t)))));this.handles.add(n,`children_${null===(e=null==i?void 0:i.layer)||void 0===e?void 0:e.uid}`),i.children.forEach((i=>{var e,s;this._renderOnActiveLayerInfoChange(i,t),(null===(e=null==i?void 0:i.children)||void 0===e?void 0:e.length)>0&&(null===(s=null==i?void 0:i.children)||void 0===s||s.forEach((i=>this._renderOnActiveLayerInfoChange(i,t))))}))}get el(){return s(this)}static get watchers(){return{handles:["init"],reactiveUtils:["init"],view:["init"]}}};c.style=".sc-instant-apps-interactive-legend-h{display:block;height:100%}.sc-instant-apps-interactive-legend-h .esri-legend.sc-instant-apps-interactive-legend{height:100%;background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-1)}.sc-instant-apps-interactive-legend-h .esri-legend.esri-component.esri-widget.esri-widget--panel.sc-instant-apps-interactive-legend{margin:0}";export{c as instant_apps_interactive_legend}
@@ -3,7 +3,7 @@
3
3
  * Licensed under the Apache License, Version 2.0
4
4
  * http://www.apache.org/licenses/LICENSE-2.0
5
5
  */
6
- import{g as t}from"./p-d4056c1c.js";import{a as n}from"./p-fa1ceaf9.js";import{l as i}from"./p-c0bf1d9f.js";import{q as r}from"./p-996c1ac5.js";import"./p-3d7cff5e.js";import"./p-a230b270.js";import{_ as e,r as s,c as o,g as a}from"./p-a0300d31.js";
6
+ import{g as t}from"./p-d4056c1c.js";import{a as n}from"./p-f4c4a2b7.js";import{l as i}from"./p-cc69b971.js";import{q as r}from"./p-996c1ac5.js";import"./p-3d7cff5e.js";import"./p-a230b270.js";import{_ as e,r as s,c as o,g as a}from"./p-628537e6.js";
7
7
  /* @preserve
8
8
  * arcgis-pdf-creator v0.0.1
9
9
  * Thu Apr 27 2023 17:20:32 GMT-0700 (Pacific Daylight Time)
@@ -310,7 +310,7 @@ function(t){var n=function(t){for(var n=t.length,i=new Uint8Array(n),r=0;r<n;r++
310
310
  * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
311
311
  * ====================================================================
312
312
  */
313
- function(){function t(){return(X.canvg?Promise.resolve(X.canvg):import("./p-f82d09d2.js")).catch((function(t){return Promise.reject(new Error("Could not load canvg: "+t))})).then((function(t){return t.default?t.default:t}))}Et.API.addSvgAsImage=function(n,i,r,e,s,o,a,u){if(isNaN(i)||isNaN(r))throw Q.error("jsPDF.addSvgAsImage: Invalid coordinates",arguments),new Error("Invalid coordinates passed to jsPDF.addSvgAsImage");if(isNaN(e)||isNaN(s))throw Q.error("jsPDF.addSvgAsImage: Invalid measurements",arguments),new Error("Invalid measurements (width and/or height) passed to jsPDF.addSvgAsImage");var f=document.createElement("canvas");f.width=e,f.height=s;var c=f.getContext("2d");c.fillStyle="#fff",c.fillRect(0,0,f.width,f.height);var h={ignoreMouse:!0,ignoreAnimation:!0,ignoreDimensions:!0},l=this;return t().then((function(t){return t.fromString(c,n,h)}),(function(){return Promise.reject(new Error("Could not load canvg."))})).then((function(t){return t.render(h)})).then((function(){l.addImage(f.toDataURL("image/jpeg",1),i,r,e,s,a,u)}))}}(),Et.API.putTotalPages=function(t){var n,i=0;parseInt(this.internal.getFont().id.substr(1),10)<15?(n=new RegExp(t,"g"),i=this.internal.getNumberOfPages()):(n=new RegExp(this.pdfEscape16(t,this.internal.getFont()),"g"),i=this.pdfEscape16(this.internal.getNumberOfPages()+"",this.internal.getFont()));for(var r=1;r<=this.internal.getNumberOfPages();r++)for(var e=0;e<this.internal.pages[r].length;e++)this.internal.pages[r][e]=this.internal.pages[r][e].replace(n,i);return this},Et.API.viewerPreferences=function(t,n){var i;t=t||{},n=n||!1;var r,e,s,o={HideToolbar:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},HideMenubar:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},HideWindowUI:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},FitWindow:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},CenterWindow:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},DisplayDocTitle:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.4},NonFullScreenPageMode:{defaultValue:"UseNone",value:"UseNone",type:"name",explicitSet:!1,valueSet:["UseNone","UseOutlines","UseThumbs","UseOC"],pdfVersion:1.3},Direction:{defaultValue:"L2R",value:"L2R",type:"name",explicitSet:!1,valueSet:["L2R","R2L"],pdfVersion:1.3},ViewArea:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},ViewClip:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintArea:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintClip:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintScaling:{defaultValue:"AppDefault",value:"AppDefault",type:"name",explicitSet:!1,valueSet:["AppDefault","None"],pdfVersion:1.6},Duplex:{defaultValue:"",value:"none",type:"name",explicitSet:!1,valueSet:["Simplex","DuplexFlipShortEdge","DuplexFlipLongEdge","none"],pdfVersion:1.7},PickTrayByPDFSize:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.7},PrintPageRange:{defaultValue:"",value:"",type:"array",explicitSet:!1,valueSet:null,pdfVersion:1.7},NumCopies:{defaultValue:1,value:1,type:"integer",explicitSet:!1,valueSet:null,pdfVersion:1.7}},a=Object.keys(o),u=[],f=0,c=0,l=0;function v(t,n){var i,r=!1;for(i=0;i<t.length;i+=1)t[i]===n&&(r=!0);return r}if(void 0===this.internal.viewerpreferences&&(this.internal.viewerpreferences={},this.internal.viewerpreferences.configuration=JSON.parse(JSON.stringify(o)),this.internal.viewerpreferences.isSubscribed=!1),i=this.internal.viewerpreferences.configuration,"reset"===t||!0===n){var d=a.length;for(l=0;l<d;l+=1)i[a[l]].value=i[a[l]].defaultValue,i[a[l]].explicitSet=!1}if("object"===h(t))for(e in t)if(s=t[e],v(a,e)&&void 0!==s){if("boolean"===i[e].type&&"boolean"==typeof s)i[e].value=s;else if("name"===i[e].type&&v(i[e].valueSet,s))i[e].value=s;else if("integer"===i[e].type&&Number.isInteger(s))i[e].value=s;else if("array"===i[e].type){for(f=0;f<s.length;f+=1)if(r=!0,1===s[f].length&&"number"==typeof s[f][0])u.push(String(s[f]-1));else if(s[f].length>1){for(c=0;c<s[f].length;c+=1)"number"!=typeof s[f][c]&&(r=!1);!0===r&&u.push([s[f][0]-1,s[f][1]-1].join(" "))}i[e].value="["+u.join(" ")+"]"}else i[e].value=i[e].defaultValue;i[e].explicitSet=!0}return!1===this.internal.viewerpreferences.isSubscribed&&(this.internal.events.subscribe("putCatalog",(function(){var t,n=[];for(t in i)!0===i[t].explicitSet&&n.push("name"===i[t].type?"/"+t+" /"+i[t].value:"/"+t+" "+i[t].value);0!==n.length&&this.internal.write("/ViewerPreferences\n<<\n"+n.join("\n")+"\n>>")})),this.internal.viewerpreferences.isSubscribed=!0),this.internal.viewerpreferences.configuration=i,this
313
+ function(){function t(){return(X.canvg?Promise.resolve(X.canvg):import("./p-658ffb44.js")).catch((function(t){return Promise.reject(new Error("Could not load canvg: "+t))})).then((function(t){return t.default?t.default:t}))}Et.API.addSvgAsImage=function(n,i,r,e,s,o,a,u){if(isNaN(i)||isNaN(r))throw Q.error("jsPDF.addSvgAsImage: Invalid coordinates",arguments),new Error("Invalid coordinates passed to jsPDF.addSvgAsImage");if(isNaN(e)||isNaN(s))throw Q.error("jsPDF.addSvgAsImage: Invalid measurements",arguments),new Error("Invalid measurements (width and/or height) passed to jsPDF.addSvgAsImage");var f=document.createElement("canvas");f.width=e,f.height=s;var c=f.getContext("2d");c.fillStyle="#fff",c.fillRect(0,0,f.width,f.height);var h={ignoreMouse:!0,ignoreAnimation:!0,ignoreDimensions:!0},l=this;return t().then((function(t){return t.fromString(c,n,h)}),(function(){return Promise.reject(new Error("Could not load canvg."))})).then((function(t){return t.render(h)})).then((function(){l.addImage(f.toDataURL("image/jpeg",1),i,r,e,s,a,u)}))}}(),Et.API.putTotalPages=function(t){var n,i=0;parseInt(this.internal.getFont().id.substr(1),10)<15?(n=new RegExp(t,"g"),i=this.internal.getNumberOfPages()):(n=new RegExp(this.pdfEscape16(t,this.internal.getFont()),"g"),i=this.pdfEscape16(this.internal.getNumberOfPages()+"",this.internal.getFont()));for(var r=1;r<=this.internal.getNumberOfPages();r++)for(var e=0;e<this.internal.pages[r].length;e++)this.internal.pages[r][e]=this.internal.pages[r][e].replace(n,i);return this},Et.API.viewerPreferences=function(t,n){var i;t=t||{},n=n||!1;var r,e,s,o={HideToolbar:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},HideMenubar:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},HideWindowUI:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},FitWindow:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},CenterWindow:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},DisplayDocTitle:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.4},NonFullScreenPageMode:{defaultValue:"UseNone",value:"UseNone",type:"name",explicitSet:!1,valueSet:["UseNone","UseOutlines","UseThumbs","UseOC"],pdfVersion:1.3},Direction:{defaultValue:"L2R",value:"L2R",type:"name",explicitSet:!1,valueSet:["L2R","R2L"],pdfVersion:1.3},ViewArea:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},ViewClip:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintArea:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintClip:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintScaling:{defaultValue:"AppDefault",value:"AppDefault",type:"name",explicitSet:!1,valueSet:["AppDefault","None"],pdfVersion:1.6},Duplex:{defaultValue:"",value:"none",type:"name",explicitSet:!1,valueSet:["Simplex","DuplexFlipShortEdge","DuplexFlipLongEdge","none"],pdfVersion:1.7},PickTrayByPDFSize:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.7},PrintPageRange:{defaultValue:"",value:"",type:"array",explicitSet:!1,valueSet:null,pdfVersion:1.7},NumCopies:{defaultValue:1,value:1,type:"integer",explicitSet:!1,valueSet:null,pdfVersion:1.7}},a=Object.keys(o),u=[],f=0,c=0,l=0;function v(t,n){var i,r=!1;for(i=0;i<t.length;i+=1)t[i]===n&&(r=!0);return r}if(void 0===this.internal.viewerpreferences&&(this.internal.viewerpreferences={},this.internal.viewerpreferences.configuration=JSON.parse(JSON.stringify(o)),this.internal.viewerpreferences.isSubscribed=!1),i=this.internal.viewerpreferences.configuration,"reset"===t||!0===n){var d=a.length;for(l=0;l<d;l+=1)i[a[l]].value=i[a[l]].defaultValue,i[a[l]].explicitSet=!1}if("object"===h(t))for(e in t)if(s=t[e],v(a,e)&&void 0!==s){if("boolean"===i[e].type&&"boolean"==typeof s)i[e].value=s;else if("name"===i[e].type&&v(i[e].valueSet,s))i[e].value=s;else if("integer"===i[e].type&&Number.isInteger(s))i[e].value=s;else if("array"===i[e].type){for(f=0;f<s.length;f+=1)if(r=!0,1===s[f].length&&"number"==typeof s[f][0])u.push(String(s[f]-1));else if(s[f].length>1){for(c=0;c<s[f].length;c+=1)"number"!=typeof s[f][c]&&(r=!1);!0===r&&u.push([s[f][0]-1,s[f][1]-1].join(" "))}i[e].value="["+u.join(" ")+"]"}else i[e].value=i[e].defaultValue;i[e].explicitSet=!0}return!1===this.internal.viewerpreferences.isSubscribed&&(this.internal.events.subscribe("putCatalog",(function(){var t,n=[];for(t in i)!0===i[t].explicitSet&&n.push("name"===i[t].type?"/"+t+" /"+i[t].value:"/"+t+" "+i[t].value);0!==n.length&&this.internal.write("/ViewerPreferences\n<<\n"+n.join("\n")+"\n>>")})),this.internal.viewerpreferences.isSubscribed=!0),this.internal.viewerpreferences.configuration=i,this
314
314
  /** ====================================================================
315
315
  * @license
316
316
  * jsPDF XMP metadata plugin
@@ -3,4 +3,4 @@
3
3
  * Licensed under the Apache License, Version 2.0
4
4
  * http://www.apache.org/licenses/LICENSE-2.0
5
5
  */
6
- import{d as e}from"./p-6d51c6bf.js";import"./p-fa1ceaf9.js";import"./p-716a0878.js";import"./p-67b26725.js";import"./p-b85be429.js";import"./p-db50226e.js";import"./p-9c6c056a.js";import"./p-b64cc55e.js";import"./p-f50a294b.js";import"./p-6127f49e.js";import"./p-e6e50975.js";import"./p-8ed6ce4d.js";import"./p-813d004f.js";import"./p-e6c9e6af.js";import"./p-97f0e1b6.js";import"./p-a89e61f4.js";import"./p-ebf59857.js";import"./p-44bfa87d.js";import"./p-ba569f8b.js";import"./p-5f1fdaf9.js";var a={words:{m:["jedan minut","jednog minuta"],mm:["%d minut","%d minuta","%d minuta"],h:["jedan sat","jednog sata"],hh:["%d sat","%d sata","%d sati"],d:["jedan dan","jednog dana"],dd:["%d dan","%d dana","%d dana"],M:["jedan mesec","jednog meseca"],MM:["%d mesec","%d meseca","%d meseci"],y:["jednu godinu","jedne godine"],yy:["%d godinu","%d godine","%d godina"]},correctGrammarCase:function(e,a){return e%10>=1&&e%10<=4&&(e%100<10||e%100>=20)?e%10==1?a[0]:a[1]:a[2]},relativeTimeFormatter:function(e,d,t,r){var m=a.words[t];if(1===t.length)return"y"===t&&d?"jedna godina":r||d?m[0]:m[1];var o=a.correctGrammarCase(e,m);return"yy"===t&&d&&"%d godinu"===o?e+" godina":o.replace("%d",e)}},d={name:"sr",weekdays:"Nedelja_Ponedeljak_Utorak_Sreda_Četvrtak_Petak_Subota".split("_"),weekdaysShort:"Ned._Pon._Uto._Sre._Čet._Pet._Sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),months:"Januar_Februar_Mart_April_Maj_Jun_Jul_Avgust_Septembar_Oktobar_Novembar_Decembar".split("_"),monthsShort:"Jan._Feb._Mar._Apr._Maj_Jun_Jul_Avg._Sep._Okt._Nov._Dec.".split("_"),weekStart:1,relativeTime:{future:"za %s",past:"pre %s",s:"nekoliko sekundi",m:a.relativeTimeFormatter,mm:a.relativeTimeFormatter,h:a.relativeTimeFormatter,hh:a.relativeTimeFormatter,d:a.relativeTimeFormatter,dd:a.relativeTimeFormatter,M:a.relativeTimeFormatter,MM:a.relativeTimeFormatter,y:a.relativeTimeFormatter,yy:a.relativeTimeFormatter},ordinal:function(e){return e+"."},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"D. M. YYYY.",LL:"D. MMMM YYYY.",LLL:"D. MMMM YYYY. H:mm",LLLL:"dddd, D. MMMM YYYY. H:mm"}};e.locale(d,null,!0);export{d as default}
6
+ import{d as e}from"./p-501c2126.js";import"./p-f4c4a2b7.js";import"./p-1c7fa861.js";import"./p-67b26725.js";import"./p-b85be429.js";import"./p-db50226e.js";import"./p-07ffc0dc.js";import"./p-7c057019.js";import"./p-f50a294b.js";import"./p-6127f49e.js";import"./p-e6e50975.js";import"./p-fa214d6f.js";import"./p-33ec544d.js";import"./p-a1f034be.js";import"./p-97f0e1b6.js";import"./p-6fde2784.js";import"./p-ebf59857.js";import"./p-4541ad8e.js";import"./p-e6587ec3.js";import"./p-51ed7835.js";var a={words:{m:["jedan minut","jednog minuta"],mm:["%d minut","%d minuta","%d minuta"],h:["jedan sat","jednog sata"],hh:["%d sat","%d sata","%d sati"],d:["jedan dan","jednog dana"],dd:["%d dan","%d dana","%d dana"],M:["jedan mesec","jednog meseca"],MM:["%d mesec","%d meseca","%d meseci"],y:["jednu godinu","jedne godine"],yy:["%d godinu","%d godine","%d godina"]},correctGrammarCase:function(e,a){return e%10>=1&&e%10<=4&&(e%100<10||e%100>=20)?e%10==1?a[0]:a[1]:a[2]},relativeTimeFormatter:function(e,d,t,r){var m=a.words[t];if(1===t.length)return"y"===t&&d?"jedna godina":r||d?m[0]:m[1];var o=a.correctGrammarCase(e,m);return"yy"===t&&d&&"%d godinu"===o?e+" godina":o.replace("%d",e)}},d={name:"sr",weekdays:"Nedelja_Ponedeljak_Utorak_Sreda_Četvrtak_Petak_Subota".split("_"),weekdaysShort:"Ned._Pon._Uto._Sre._Čet._Pet._Sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),months:"Januar_Februar_Mart_April_Maj_Jun_Jul_Avgust_Septembar_Oktobar_Novembar_Decembar".split("_"),monthsShort:"Jan._Feb._Mar._Apr._Maj_Jun_Jul_Avg._Sep._Okt._Nov._Dec.".split("_"),weekStart:1,relativeTime:{future:"za %s",past:"pre %s",s:"nekoliko sekundi",m:a.relativeTimeFormatter,mm:a.relativeTimeFormatter,h:a.relativeTimeFormatter,hh:a.relativeTimeFormatter,d:a.relativeTimeFormatter,dd:a.relativeTimeFormatter,M:a.relativeTimeFormatter,MM:a.relativeTimeFormatter,y:a.relativeTimeFormatter,yy:a.relativeTimeFormatter},ordinal:function(e){return e+"."},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"D. M. YYYY.",LL:"D. MMMM YYYY.",LLL:"D. MMMM YYYY. H:mm",LLLL:"dddd, D. MMMM YYYY. H:mm"}};e.locale(d,null,!0);export{d as default}
@@ -3,4 +3,4 @@
3
3
  * Licensed under the Apache License, Version 2.0
4
4
  * http://www.apache.org/licenses/LICENSE-2.0
5
5
  */
6
- import{r as e,h as s,H as a,g as r}from"./p-fa1ceaf9.js";const t=class{constructor(s){e(this,s)}render(){return s(a,{key:"064acd664456a39d14fd4bd81adb9b217670290f"},s("slot",{key:"e2e0fee4f2bff7a48befd54fbc8b724cb5a5f660"}))}get el(){return r(this)}};t.style=":host{display:block}";export{t as share_item}
6
+ import{r as e,h as s,H as a,g as r}from"./p-f4c4a2b7.js";const t=class{constructor(s){e(this,s)}render(){return s(a,{key:"064acd664456a39d14fd4bd81adb9b217670290f"},s("slot",{key:"e2e0fee4f2bff7a48befd54fbc8b724cb5a5f660"}))}get el(){return r(this)}};t.style=":host{display:block}";export{t as share_item}
@@ -3,4 +3,4 @@
3
3
  * Licensed under the Apache License, Version 2.0
4
4
  * http://www.apache.org/licenses/LICENSE-2.0
5
5
  */
6
- import{d as _}from"./p-6d51c6bf.js";import"./p-fa1ceaf9.js";import"./p-716a0878.js";import"./p-67b26725.js";import"./p-b85be429.js";import"./p-db50226e.js";import"./p-9c6c056a.js";import"./p-b64cc55e.js";import"./p-f50a294b.js";import"./p-6127f49e.js";import"./p-e6e50975.js";import"./p-8ed6ce4d.js";import"./p-813d004f.js";import"./p-e6c9e6af.js";import"./p-97f0e1b6.js";import"./p-a89e61f4.js";import"./p-ebf59857.js";import"./p-44bfa87d.js";import"./p-ba569f8b.js";import"./p-5f1fdaf9.js";var p={name:"zh-hk",months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),ordinal:function(_,p){return"W"===p?_+"週":_+"日"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH:mm"},relativeTime:{future:"%s內",past:"%s前",s:"幾秒",m:"一分鐘",mm:"%d 分鐘",h:"一小時",hh:"%d 小時",d:"一天",dd:"%d 天",M:"一個月",MM:"%d 個月",y:"一年",yy:"%d 年"}};_.locale(p,null,!0);export{p as default}
6
+ import{d as _}from"./p-501c2126.js";import"./p-f4c4a2b7.js";import"./p-1c7fa861.js";import"./p-67b26725.js";import"./p-b85be429.js";import"./p-db50226e.js";import"./p-07ffc0dc.js";import"./p-7c057019.js";import"./p-f50a294b.js";import"./p-6127f49e.js";import"./p-e6e50975.js";import"./p-fa214d6f.js";import"./p-33ec544d.js";import"./p-a1f034be.js";import"./p-97f0e1b6.js";import"./p-6fde2784.js";import"./p-ebf59857.js";import"./p-4541ad8e.js";import"./p-e6587ec3.js";import"./p-51ed7835.js";var p={name:"zh-hk",months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),ordinal:function(_,p){return"W"===p?_+"週":_+"日"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH:mm"},relativeTime:{future:"%s內",past:"%s前",s:"幾秒",m:"一分鐘",mm:"%d 分鐘",h:"一小時",hh:"%d 小時",d:"一天",dd:"%d 天",M:"一個月",MM:"%d 個月",y:"一年",yy:"%d 年"}};_.locale(p,null,!0);export{p as default}
@@ -3,4 +3,4 @@
3
3
  * Licensed under the Apache License, Version 2.0
4
4
  * http://www.apache.org/licenses/LICENSE-2.0
5
5
  */
6
- import{d as r}from"./p-6d51c6bf.js";import"./p-fa1ceaf9.js";import"./p-716a0878.js";import"./p-67b26725.js";import"./p-b85be429.js";import"./p-db50226e.js";import"./p-9c6c056a.js";import"./p-b64cc55e.js";import"./p-f50a294b.js";import"./p-6127f49e.js";import"./p-e6e50975.js";import"./p-8ed6ce4d.js";import"./p-813d004f.js";import"./p-e6c9e6af.js";import"./p-97f0e1b6.js";import"./p-a89e61f4.js";import"./p-ebf59857.js";import"./p-44bfa87d.js";import"./p-ba569f8b.js";import"./p-5f1fdaf9.js";var e={name:"hu",weekdays:"vasárnap_hétfő_kedd_szerda_csütörtök_péntek_szombat".split("_"),weekdaysShort:"vas_hét_kedd_sze_csüt_pén_szo".split("_"),weekdaysMin:"v_h_k_sze_cs_p_szo".split("_"),months:"január_február_március_április_május_június_július_augusztus_szeptember_október_november_december".split("_"),monthsShort:"jan_feb_márc_ápr_máj_jún_júl_aug_szept_okt_nov_dec".split("_"),ordinal:function(r){return r+"."},weekStart:1,relativeTime:{future:"%s múlva",past:"%s",s:function(r,e,t,n){return"néhány másodperc"+(n||e?"":"e")},m:function(r,e,t,n){return"egy perc"+(n||e?"":"e")},mm:function(r,e,t,n){return r+" perc"+(n||e?"":"e")},h:function(r,e,t,n){return"egy "+(n||e?"óra":"órája")},hh:function(r,e,t,n){return r+" "+(n||e?"óra":"órája")},d:function(r,e,t,n){return"egy "+(n||e?"nap":"napja")},dd:function(r,e,t,n){return r+" "+(n||e?"nap":"napja")},M:function(r,e,t,n){return"egy "+(n||e?"hónap":"hónapja")},MM:function(r,e,t,n){return r+" "+(n||e?"hónap":"hónapja")},y:function(r,e,t,n){return"egy "+(n||e?"év":"éve")},yy:function(r,e,t,n){return r+" "+(n||e?"év":"éve")}},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY. MMMM D.",LLL:"YYYY. MMMM D. H:mm",LLLL:"YYYY. MMMM D., dddd H:mm"}};r.locale(e,null,!0);export{e as default}
6
+ import{d as r}from"./p-501c2126.js";import"./p-f4c4a2b7.js";import"./p-1c7fa861.js";import"./p-67b26725.js";import"./p-b85be429.js";import"./p-db50226e.js";import"./p-07ffc0dc.js";import"./p-7c057019.js";import"./p-f50a294b.js";import"./p-6127f49e.js";import"./p-e6e50975.js";import"./p-fa214d6f.js";import"./p-33ec544d.js";import"./p-a1f034be.js";import"./p-97f0e1b6.js";import"./p-6fde2784.js";import"./p-ebf59857.js";import"./p-4541ad8e.js";import"./p-e6587ec3.js";import"./p-51ed7835.js";var e={name:"hu",weekdays:"vasárnap_hétfő_kedd_szerda_csütörtök_péntek_szombat".split("_"),weekdaysShort:"vas_hét_kedd_sze_csüt_pén_szo".split("_"),weekdaysMin:"v_h_k_sze_cs_p_szo".split("_"),months:"január_február_március_április_május_június_július_augusztus_szeptember_október_november_december".split("_"),monthsShort:"jan_feb_márc_ápr_máj_jún_júl_aug_szept_okt_nov_dec".split("_"),ordinal:function(r){return r+"."},weekStart:1,relativeTime:{future:"%s múlva",past:"%s",s:function(r,e,t,n){return"néhány másodperc"+(n||e?"":"e")},m:function(r,e,t,n){return"egy perc"+(n||e?"":"e")},mm:function(r,e,t,n){return r+" perc"+(n||e?"":"e")},h:function(r,e,t,n){return"egy "+(n||e?"óra":"órája")},hh:function(r,e,t,n){return r+" "+(n||e?"óra":"órája")},d:function(r,e,t,n){return"egy "+(n||e?"nap":"napja")},dd:function(r,e,t,n){return r+" "+(n||e?"nap":"napja")},M:function(r,e,t,n){return"egy "+(n||e?"hónap":"hónapja")},MM:function(r,e,t,n){return r+" "+(n||e?"hónap":"hónapja")},y:function(r,e,t,n){return"egy "+(n||e?"év":"éve")},yy:function(r,e,t,n){return r+" "+(n||e?"év":"éve")}},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY. MMMM D.",LLL:"YYYY. MMMM D. H:mm",LLLL:"YYYY. MMMM D., dddd H:mm"}};r.locale(e,null,!0);export{e as default}
@@ -3,4 +3,4 @@
3
3
  * Licensed under the Apache License, Version 2.0
4
4
  * http://www.apache.org/licenses/LICENSE-2.0
5
5
  */
6
- import{r as t,c as e,h as a,H as s,g as i}from"./p-fa1ceaf9.js";import{g as n}from"./p-ac122d9e.js";import{S as h}from"./p-a230b270.js";import{w as o}from"./p-04674a1e.js";import{g as r}from"./p-a42ff7fe.js";import"./p-0a24ad5f.js";import"./p-d4056c1c.js";const d={base:"instant-apps-header--standard",headerContainer:"instant-apps-header__header-container",headerContent:"instant-apps-header__header-content",flipRtl:"instant-apps-header--rtl",logoScale:"instant-apps-header__logo-scale--",logoHeight:"instant-apps-header__logo-height--",standardHeight:"instant-apps-header__standard-height",actionsEndContainer:"instant-apps-header__actions-end-container",alignment:{center:"instant-apps-header__header-content--center",right:"instant-apps-header__header-content--right"}},p=class{constructor(a){t(this,a),this.infoIsOpenChanged=e(this,"infoIsOpenChanged",6),this._sanitizer=new h({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"],header:["id","class","style","role"]}},!0),this.dir=void 0,this.titleText=void 0,this.titleTextLink=void 0,this.backgroundColor=void 0,this.textColor=void 0,this.logoImage=void 0,this.logoScale="m",this.logoImageAltText=void 0,this.logoLink=void 0,this.infoButton=!1,this.infoIsOpen=!1,this.infoTitleText=void 0,this.customHeaderHtml=void 0,this.headerAlignment="left",this.customHeaderCss=void 0,this.fontFamily="var(--calcite-sans-family);",this.mobileWidthBreakpoint=o.medium[1],this.initialScale="m"}sanitizeCustomHeaderHtml(){this.customHeaderHtml=this._sanitizer.sanitize(this.customHeaderHtml)}componentWillLoad(){this.dir=n(this.el),this.handleMobileBreakpoints(),this.dir=n(this.el),this.customHeaderHtml=this._sanitizer.sanitize(this.customHeaderHtml)}render(){var t,e,i,n;const h="undefined"===this.logoImage||"undefined"===(null===(e=null===(t=this.logoImage)||void 0===t?void 0:t.split("?"))||void 0===e?void 0:e[0])||""===(null===(n=null===(i=this.logoImage)||void 0===i?void 0:i.split("?"))||void 0===n?void 0:n[0])||!this.logoImage,o=this.renderLogo(h),p=this.renderTitle(),l="right"===this.headerAlignment||"center"===this.headerAlignment?d.headerContent.concat(" ",d.alignment[this.headerAlignment]):d.headerContent,c=r(this.fontFamily);return a(s,{key:"f93285efa9fe03f2cdedfe0e870f7cb44802e151"},this.customHeaderHtml?[a("style",null,this.customHeaderCss),a("div",{id:"customHeader",innerHTML:this.customHeaderHtml})]:a("header",{class:`${d.base}${"rtl"===this.dir?` ${d.flipRtl}`:""}${this.logoImage&&!h?` ${d.logoHeight}${this.logoScale}`:` ${d.standardHeight}`}`,style:{backgroundColor:this.backgroundColor,fontFamily:c}},a("div",{class:d.headerContainer},a("span",{class:l},o,p,this.infoButton?a("calcite-button",{style:{"--calcite-color-text-1":this.textColor},id:"infoButton",alignment:"start",appearance:"transparent",kind:"neutral","icon-start":"information-f",scale:"s",label:this.infoTitleText,title:this.infoTitleText,onClick:this.toggleInfo.bind(this)}):null),a("div",{class:d.actionsEndContainer},a("slot",{name:"actions-end"})))))}renderLogo(t){return t?"":this.logoImage&&this.logoLink?a("a",{href:`${this.logoLink}`,target:"_blank"},a("img",{class:`${d.logoScale}${this.logoScale}`,src:`${this.logoImage}`,alt:`${this.logoImageAltText}`})):this.logoImage?a("img",{class:`${d.logoScale}${this.logoScale}`,src:`${this.logoImage}`,alt:this.logoImageAltText}):""}renderTitle(){return this.titleText&&this.titleTextLink?a("a",{style:{color:this.textColor},href:`${this.titleTextLink}`,rel:"noopener noreferrer",target:"_blank"},a("h1",{style:{color:this.textColor}},this.titleText)):a("h1",{style:{color:this.textColor}},this.titleText)}toggleInfo(){this.infoIsOpen=!this.infoIsOpen,this.infoIsOpenChanged.emit(this.infoIsOpen)}mqlCallback(){return t=>{const{matches:e}=t;this.logoScale=e?"s":this.initialScale}}handleMobileBreakpoints(){this.initialScale=this.logoScale;const t=window.matchMedia(`(max-width: ${this.mobileWidthBreakpoint}px)`);t.matches&&(this.logoScale="s"),t.addEventListener("change",this.mqlCallback())}get el(){return i(this)}static get watchers(){return{customHeaderHtml:["sanitizeCustomHeaderHtml"]}}};p.style=":host{--instant-apps-header-height:auto;--instant-apps-header-min-height:50px;--instant-apps-header-title-text-link-decoration:underline;--instant-apps-header-height--logo-scale--s:55px;--instant-apps-header-logo-width--logo-scale--s:35px;--instant-apps-header-logo-height--logo-scale--s:35px;--instant-apps-header-height--logo-scale--m:70px;--instant-apps-header-logo-width--logo-scale--m:50px;--instant-apps-header-logo-height--logo-scale--m:50px;--instant-apps-header-height--logo-scale--l:80px;--instant-apps-header-logo-width--logo-scale--l:60px;--instant-apps-header-logo-height--logo-scale--l:60px;--instant-apps-header-actions-end-height:auto;width:100%}:host .image.image_resized img{width:100%}:host .instant-apps-header--standard{box-sizing:border-box;display:flex;align-items:center;justify-content:space-between;width:100%;height:var(--instant-apps-header-height);background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-1);font-family:var(--calcite-sans-family);min-height:var(--instant-apps-header-min-height)}:host .instant-apps-header--standard .instant-apps-header__header-container{display:flex;align-items:center;width:100%;height:inherit}:host .instant-apps-header--standard .instant-apps-header__header-container slot{display:flex;height:inherit}:host .instant-apps-header--standard .instant-apps-header__header-container ::slotted(*){display:flex;min-height:var(--instant-apps-header-min-height);height:var(--instant-apps-header-height)}:host .instant-apps-header--standard .instant-apps-header__header-container ::slotted(*) calcite-button{height:100%}:host .instant-apps-header--standard .instant-apps-header__header-content{box-sizing:border-box;display:flex;align-items:center;width:100%;min-width:0;height:inherit;padding:5px 10px}:host .instant-apps-header--standard .instant-apps-header__header-content a{display:flex;align-items:center;-webkit-text-decoration:var(--instant-apps-header-title-text-link-decoration);text-decoration:var(--instant-apps-header-title-text-link-decoration)}:host .instant-apps-header--standard .instant-apps-header__header-content a img{padding-right:0}:host .instant-apps-header--standard .instant-apps-header__header-content img{margin:10px}:host .instant-apps-header--standard .instant-apps-header__header-content h1{margin:0;font-size:1.25rem;color:var(--calcite-color-text-1);font-weight:430;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}:host .instant-apps-header--standard .instant-apps-header__header-content #infoButton{margin-inline-start:10px}:host .instant-apps-header--standard .instant-apps-header__header-content--center{justify-content:center}:host .instant-apps-header--standard .instant-apps-header__header-content--right{justify-content:end}:host .instant-apps-header__logo-height--s{height:var(--instant-apps-header-height--logo-scale--s)}:host .instant-apps-header__logo-height--s .instant-apps-header__header-content h1{font-size:1.125rem}:host .instant-apps-header__logo-scale--s{width:var(--instant-apps-header-logo-width--logo-scale--s);height:var(--instant-apps-header-logo-height--logo-scale--s)}:host .instant-apps-header__logo-height--m{height:var(--instant-apps-header-height--logo-scale--m)}:host .instant-apps-header__logo-scale--m{width:var(--instant-apps-header-logo-width--logo-scale--m);height:var(--instant-apps-header-logo-height--logo-scale--m)}:host .instant-apps-header__logo-height--l{height:var(--instant-apps-header-height--logo-scale--l)}:host .instant-apps-header__logo-height--l .instant-apps-header__header-content h1{font-size:1.375rem}:host .instant-apps-header__logo-scale--l{width:var(--instant-apps-header-logo-width--logo-scale--l);height:var(--instant-apps-header-logo-height--logo-scale--l)}:host .instant-apps-header__actions-end-container{height:var(--instant-apps-header-actions-end-height);display:flex}:host .instant-apps-header__sign-in-container{height:inherit;display:flex;align-items:center}:host .instant-apps-header__sign-in-container calcite-dropdown,:host .instant-apps-header__sign-in-container calcite-navigation-user{height:100%}:host .instant-apps-header__sign-in-container calcite-button{margin:0 10px}:host .instant-apps-header__sign-in-container calcite-dropdown-group{min-width:140px}";export{p as instant_apps_header}
6
+ import{r as t,c as e,h as a,H as s,g as i}from"./p-f4c4a2b7.js";import{g as n}from"./p-ac122d9e.js";import{S as h}from"./p-a230b270.js";import{w as o}from"./p-04674a1e.js";import{g as r}from"./p-a42ff7fe.js";import"./p-0a24ad5f.js";import"./p-d4056c1c.js";const d={base:"instant-apps-header--standard",headerContainer:"instant-apps-header__header-container",headerContent:"instant-apps-header__header-content",flipRtl:"instant-apps-header--rtl",logoScale:"instant-apps-header__logo-scale--",logoHeight:"instant-apps-header__logo-height--",standardHeight:"instant-apps-header__standard-height",actionsEndContainer:"instant-apps-header__actions-end-container",alignment:{center:"instant-apps-header__header-content--center",right:"instant-apps-header__header-content--right"}},p=class{constructor(a){t(this,a),this.infoIsOpenChanged=e(this,"infoIsOpenChanged",6),this._sanitizer=new h({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"],header:["id","class","style","role"]}},!0),this.dir=void 0,this.titleText=void 0,this.titleTextLink=void 0,this.backgroundColor=void 0,this.textColor=void 0,this.logoImage=void 0,this.logoScale="m",this.logoImageAltText=void 0,this.logoLink=void 0,this.infoButton=!1,this.infoIsOpen=!1,this.infoTitleText=void 0,this.customHeaderHtml=void 0,this.headerAlignment="left",this.customHeaderCss=void 0,this.fontFamily="var(--calcite-sans-family);",this.mobileWidthBreakpoint=o.medium[1],this.initialScale="m"}sanitizeCustomHeaderHtml(){this.customHeaderHtml=this._sanitizer.sanitize(this.customHeaderHtml)}componentWillLoad(){this.dir=n(this.el),this.handleMobileBreakpoints(),this.dir=n(this.el),this.customHeaderHtml=this._sanitizer.sanitize(this.customHeaderHtml)}render(){var t,e,i,n;const h="undefined"===this.logoImage||"undefined"===(null===(e=null===(t=this.logoImage)||void 0===t?void 0:t.split("?"))||void 0===e?void 0:e[0])||""===(null===(n=null===(i=this.logoImage)||void 0===i?void 0:i.split("?"))||void 0===n?void 0:n[0])||!this.logoImage,o=this.renderLogo(h),p=this.renderTitle(),l="right"===this.headerAlignment||"center"===this.headerAlignment?d.headerContent.concat(" ",d.alignment[this.headerAlignment]):d.headerContent,c=r(this.fontFamily);return a(s,{key:"f93285efa9fe03f2cdedfe0e870f7cb44802e151"},this.customHeaderHtml?[a("style",null,this.customHeaderCss),a("div",{id:"customHeader",innerHTML:this.customHeaderHtml})]:a("header",{class:`${d.base}${"rtl"===this.dir?` ${d.flipRtl}`:""}${this.logoImage&&!h?` ${d.logoHeight}${this.logoScale}`:` ${d.standardHeight}`}`,style:{backgroundColor:this.backgroundColor,fontFamily:c}},a("div",{class:d.headerContainer},a("span",{class:l},o,p,this.infoButton?a("calcite-button",{style:{"--calcite-color-text-1":this.textColor},id:"infoButton",alignment:"start",appearance:"transparent",kind:"neutral","icon-start":"information-f",scale:"s",label:this.infoTitleText,title:this.infoTitleText,onClick:this.toggleInfo.bind(this)}):null),a("div",{class:d.actionsEndContainer},a("slot",{name:"actions-end"})))))}renderLogo(t){return t?"":this.logoImage&&this.logoLink?a("a",{href:`${this.logoLink}`,target:"_blank"},a("img",{class:`${d.logoScale}${this.logoScale}`,src:`${this.logoImage}`,alt:`${this.logoImageAltText}`})):this.logoImage?a("img",{class:`${d.logoScale}${this.logoScale}`,src:`${this.logoImage}`,alt:this.logoImageAltText}):""}renderTitle(){return this.titleText&&this.titleTextLink?a("a",{style:{color:this.textColor},href:`${this.titleTextLink}`,rel:"noopener noreferrer",target:"_blank"},a("h1",{style:{color:this.textColor}},this.titleText)):a("h1",{style:{color:this.textColor}},this.titleText)}toggleInfo(){this.infoIsOpen=!this.infoIsOpen,this.infoIsOpenChanged.emit(this.infoIsOpen)}mqlCallback(){return t=>{const{matches:e}=t;this.logoScale=e?"s":this.initialScale}}handleMobileBreakpoints(){this.initialScale=this.logoScale;const t=window.matchMedia(`(max-width: ${this.mobileWidthBreakpoint}px)`);t.matches&&(this.logoScale="s"),t.addEventListener("change",this.mqlCallback())}get el(){return i(this)}static get watchers(){return{customHeaderHtml:["sanitizeCustomHeaderHtml"]}}};p.style=":host{--instant-apps-header-height:auto;--instant-apps-header-min-height:50px;--instant-apps-header-title-text-link-decoration:underline;--instant-apps-header-height--logo-scale--s:55px;--instant-apps-header-logo-width--logo-scale--s:35px;--instant-apps-header-logo-height--logo-scale--s:35px;--instant-apps-header-height--logo-scale--m:70px;--instant-apps-header-logo-width--logo-scale--m:50px;--instant-apps-header-logo-height--logo-scale--m:50px;--instant-apps-header-height--logo-scale--l:80px;--instant-apps-header-logo-width--logo-scale--l:60px;--instant-apps-header-logo-height--logo-scale--l:60px;--instant-apps-header-actions-end-height:auto;width:100%}:host .image.image_resized img{width:100%}:host .instant-apps-header--standard{box-sizing:border-box;display:flex;align-items:center;justify-content:space-between;width:100%;height:var(--instant-apps-header-height);background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-1);font-family:var(--calcite-sans-family);min-height:var(--instant-apps-header-min-height)}:host .instant-apps-header--standard .instant-apps-header__header-container{display:flex;align-items:center;width:100%;height:inherit}:host .instant-apps-header--standard .instant-apps-header__header-container slot{display:flex;height:inherit}:host .instant-apps-header--standard .instant-apps-header__header-container ::slotted(*){display:flex;min-height:var(--instant-apps-header-min-height);height:var(--instant-apps-header-height)}:host .instant-apps-header--standard .instant-apps-header__header-container ::slotted(*) calcite-button{height:100%}:host .instant-apps-header--standard .instant-apps-header__header-content{box-sizing:border-box;display:flex;align-items:center;width:100%;min-width:0;height:inherit;padding:5px 10px}:host .instant-apps-header--standard .instant-apps-header__header-content a{display:flex;align-items:center;-webkit-text-decoration:var(--instant-apps-header-title-text-link-decoration);text-decoration:var(--instant-apps-header-title-text-link-decoration)}:host .instant-apps-header--standard .instant-apps-header__header-content a img{padding-right:0}:host .instant-apps-header--standard .instant-apps-header__header-content img{margin:10px}:host .instant-apps-header--standard .instant-apps-header__header-content h1{margin:0;font-size:1.25rem;color:var(--calcite-color-text-1);font-weight:430;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}:host .instant-apps-header--standard .instant-apps-header__header-content #infoButton{margin-inline-start:10px}:host .instant-apps-header--standard .instant-apps-header__header-content--center{justify-content:center}:host .instant-apps-header--standard .instant-apps-header__header-content--right{justify-content:end}:host .instant-apps-header__logo-height--s{height:var(--instant-apps-header-height--logo-scale--s)}:host .instant-apps-header__logo-height--s .instant-apps-header__header-content h1{font-size:1.125rem}:host .instant-apps-header__logo-scale--s{width:var(--instant-apps-header-logo-width--logo-scale--s);height:var(--instant-apps-header-logo-height--logo-scale--s)}:host .instant-apps-header__logo-height--m{height:var(--instant-apps-header-height--logo-scale--m)}:host .instant-apps-header__logo-scale--m{width:var(--instant-apps-header-logo-width--logo-scale--m);height:var(--instant-apps-header-logo-height--logo-scale--m)}:host .instant-apps-header__logo-height--l{height:var(--instant-apps-header-height--logo-scale--l)}:host .instant-apps-header__logo-height--l .instant-apps-header__header-content h1{font-size:1.375rem}:host .instant-apps-header__logo-scale--l{width:var(--instant-apps-header-logo-width--logo-scale--l);height:var(--instant-apps-header-logo-height--logo-scale--l)}:host .instant-apps-header__actions-end-container{height:var(--instant-apps-header-actions-end-height);display:flex}:host .instant-apps-header__sign-in-container{height:inherit;display:flex;align-items:center}:host .instant-apps-header__sign-in-container calcite-dropdown,:host .instant-apps-header__sign-in-container calcite-navigation-user{height:100%}:host .instant-apps-header__sign-in-container calcite-button{margin:0 10px}:host .instant-apps-header__sign-in-container calcite-dropdown-group{min-width:140px}";export{p as instant_apps_header}
@@ -3,9 +3,9 @@
3
3
  * Licensed under the Apache License, Version 2.0
4
4
  * http://www.apache.org/licenses/LICENSE-2.0
5
5
  */
6
- import{h as t}from"./p-fa1ceaf9.js";
6
+ import{h as t}from"./p-f4c4a2b7.js";
7
7
  /*!
8
8
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
9
9
  * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
10
10
  * v2.8.2
11
- */function a(t){return Math.min(Math.max(Math.ceil(t),1),6)}const e=(a,e)=>{const r=a.level?`h${a.level}`:"div";return delete a.level,t(r,{...a},e)};export{e as H,a as c}
11
+ */function r(t){return Math.min(Math.max(Math.ceil(t),1),6)}const a=(r,a)=>{const e=r.level?`h${r.level}`:"div";return delete r.level,t(e,{...r},a)};export{a as H,r as c}
@@ -3,4 +3,4 @@
3
3
  * Licensed under the Apache License, Version 2.0
4
4
  * http://www.apache.org/licenses/LICENSE-2.0
5
5
  */
6
- import{d as e}from"./p-6d51c6bf.js";import"./p-fa1ceaf9.js";import"./p-716a0878.js";import"./p-67b26725.js";import"./p-b85be429.js";import"./p-db50226e.js";import"./p-9c6c056a.js";import"./p-b64cc55e.js";import"./p-f50a294b.js";import"./p-6127f49e.js";import"./p-e6e50975.js";import"./p-8ed6ce4d.js";import"./p-813d004f.js";import"./p-e6c9e6af.js";import"./p-97f0e1b6.js";import"./p-a89e61f4.js";import"./p-ebf59857.js";import"./p-44bfa87d.js";import"./p-ba569f8b.js";import"./p-5f1fdaf9.js";function r(e){return e>1&&e<5&&1!=~~(e/10)}function t(e,t,s,n){var m=e+" ";switch(s){case"s":return t||n?"pár sekund":"pár sekundami";case"m":return t?"minuta":n?"minutu":"minutou";case"mm":return t||n?m+(r(e)?"minuty":"minut"):m+"minutami";case"h":return t?"hodina":n?"hodinu":"hodinou";case"hh":return t||n?m+(r(e)?"hodiny":"hodin"):m+"hodinami";case"d":return t||n?"den":"dnem";case"dd":return t||n?m+(r(e)?"dny":"dní"):m+"dny";case"M":return t||n?"měsíc":"měsícem";case"MM":return t||n?m+(r(e)?"měsíce":"měsíců"):m+"měsíci";case"y":return t||n?"rok":"rokem";case"yy":return t||n?m+(r(e)?"roky":"let"):m+"lety"}}var s={name:"cs",weekdays:"neděle_pondělí_úterý_středa_čtvrtek_pátek_sobota".split("_"),weekdaysShort:"ne_po_út_st_čt_pá_so".split("_"),weekdaysMin:"ne_po_út_st_čt_pá_so".split("_"),months:"leden_únor_březen_duben_květen_červen_červenec_srpen_září_říjen_listopad_prosinec".split("_"),monthsShort:"led_úno_bře_dub_kvě_čvn_čvc_srp_zář_říj_lis_pro".split("_"),weekStart:1,yearStart:4,ordinal:function(e){return e+"."},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm",l:"D. M. YYYY"},relativeTime:{future:"za %s",past:"před %s",s:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t}};e.locale(s,null,!0);export{s as default}
6
+ import{d as e}from"./p-501c2126.js";import"./p-f4c4a2b7.js";import"./p-1c7fa861.js";import"./p-67b26725.js";import"./p-b85be429.js";import"./p-db50226e.js";import"./p-07ffc0dc.js";import"./p-7c057019.js";import"./p-f50a294b.js";import"./p-6127f49e.js";import"./p-e6e50975.js";import"./p-fa214d6f.js";import"./p-33ec544d.js";import"./p-a1f034be.js";import"./p-97f0e1b6.js";import"./p-6fde2784.js";import"./p-ebf59857.js";import"./p-4541ad8e.js";import"./p-e6587ec3.js";import"./p-51ed7835.js";function r(e){return e>1&&e<5&&1!=~~(e/10)}function t(e,t,s,n){var m=e+" ";switch(s){case"s":return t||n?"pár sekund":"pár sekundami";case"m":return t?"minuta":n?"minutu":"minutou";case"mm":return t||n?m+(r(e)?"minuty":"minut"):m+"minutami";case"h":return t?"hodina":n?"hodinu":"hodinou";case"hh":return t||n?m+(r(e)?"hodiny":"hodin"):m+"hodinami";case"d":return t||n?"den":"dnem";case"dd":return t||n?m+(r(e)?"dny":"dní"):m+"dny";case"M":return t||n?"měsíc":"měsícem";case"MM":return t||n?m+(r(e)?"měsíce":"měsíců"):m+"měsíci";case"y":return t||n?"rok":"rokem";case"yy":return t||n?m+(r(e)?"roky":"let"):m+"lety"}}var s={name:"cs",weekdays:"neděle_pondělí_úterý_středa_čtvrtek_pátek_sobota".split("_"),weekdaysShort:"ne_po_út_st_čt_pá_so".split("_"),weekdaysMin:"ne_po_út_st_čt_pá_so".split("_"),months:"leden_únor_březen_duben_květen_červen_červenec_srpen_září_říjen_listopad_prosinec".split("_"),monthsShort:"led_úno_bře_dub_kvě_čvn_čvc_srp_zář_říj_lis_pro".split("_"),weekStart:1,yearStart:4,ordinal:function(e){return e+"."},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm",l:"D. M. YYYY"},relativeTime:{future:"za %s",past:"před %s",s:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t}};e.locale(s,null,!0);export{s as default}
@@ -0,0 +1,7 @@
1
+ /*!
2
+ * Copyright 2022 Esri
3
+ * Licensed under the Apache License, Version 2.0
4
+ * http://www.apache.org/licenses/LICENSE-2.0
5
+ */
6
+ var t=Object.defineProperty,e=new WeakMap,n=t=>e.get(t),o=(t,n)=>e.set(n.t=t,n),l=(t,e)=>e in t,s=(t,e)=>(0,console.error)(t,e),r=new Map,i=new Map,c="slot-fb{display:contents}slot-fb[hidden]{display:none}",u="http://www.w3.org/1999/xlink",a="undefined"!=typeof window?window:{},f=a.document||{head:{}},d={o:0,l:"",jmp:t=>t(),raf:t=>requestAnimationFrame(t),ael:(t,e,n,o)=>t.addEventListener(e,n,o),rel:(t,e,n,o)=>t.removeEventListener(e,n,o),ce:(t,e)=>new CustomEvent(t,e)},h=t=>Promise.resolve(t),p=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(t){}return!1})(),m=!1,v=[],y=[],w=(t,e)=>n=>{t.push(n),m||(m=!0,e&&4&d.o?g(b):d.raf(b))},$=t=>{for(let e=0;e<t.length;e++)try{t[e](performance.now())}catch(t){s(t)}t.length=0},b=()=>{$(v),$(y),(m=v.length>0)&&d.raf(b)},g=t=>h().then(t),k=w(v,!1),S=w(y,!0),j=t=>{const e=new URL(t,d.l);return e.origin!==a.location.origin?e.href:e.pathname},O={},E=t=>"object"==(t=typeof t)||"function"===t;function C(t){var e,n,o;return null!=(o=null==(n=null==(e=t.head)?void 0:e.querySelector('meta[name="csp-nonce"]'))?void 0:n.getAttribute("content"))?o:void 0}((e,n)=>{for(var o in n)t(e,o,{get:n[o],enumerable:!0})})({},{err:()=>M,map:()=>R,ok:()=>x,unwrap:()=>A,unwrapErr:()=>F});var x=t=>({isOk:!0,isErr:!1,value:t}),M=t=>({isOk:!1,isErr:!0,value:t});function R(t,e){if(t.isOk){const n=e(t.value);return n instanceof Promise?n.then((t=>x(t))):x(n)}if(t.isErr)return M(t.value);throw"should never get here"}var P,T,U,A=t=>{if(t.isOk)return t.value;throw t.value},F=t=>{if(t.isErr)return t.value;throw t.value},L=(t,e,...n)=>{let o=null,l=null,s=null,r=!1,i=!1;const c=[],u=e=>{for(let n=0;n<e.length;n++)o=e[n],Array.isArray(o)?u(o):null!=o&&"boolean"!=typeof o&&((r="function"!=typeof t&&!E(o))&&(o+=""),r&&i?c[c.length-1].i+=o:c.push(r?W(null,o):o),i=r)};if(u(n),e){e.key&&(l=e.key),e.name&&(s=e.name);{const t=e.className||e.class;t&&(e.class="object"!=typeof t?t:Object.keys(t).filter((e=>t[e])).join(" "))}}if("function"==typeof t)return t(null===e?{}:e,c,N);const a=W(t,null);return a.u=e,c.length>0&&(a.h=c),a.p=l,a.m=s,a},W=(t,e)=>({o:0,v:t,i:e,$:null,h:null,u:null,p:null,m:null}),D={},N={forEach:(t,e)=>t.map(H).forEach(e),map:(t,e)=>t.map(H).map(e).map(q)},H=t=>({vattrs:t.u,vchildren:t.h,vkey:t.p,vname:t.m,vtag:t.v,vtext:t.i}),q=t=>{if("function"==typeof t.vtag){const e={...t.vattrs};return t.vkey&&(e.key=t.vkey),t.vname&&(e.name=t.vname),L(t.vtag,e,...t.vchildren||[])}const e=W(t.vtag,t.vtext);return e.u=t.vattrs,e.h=t.vchildren,e.p=t.vkey,e.m=t.vname,e},B=t=>n(t).$hostElement$,G=(t,e,n)=>{const o=B(t);return{emit:t=>V(o,e,{bubbles:!!(4&n),composed:!!(2&n),cancelable:!!(1&n),detail:t})}},V=(t,e,n)=>{const o=d.ce(e,n);return t.dispatchEvent(o),o},_=new WeakMap,z=t=>"sc-"+t.k,I=(t,e,n,o,s,r)=>{if(n!==o){let i=l(t,e),c=e.toLowerCase();if("class"===e){const e=t.classList,l=K(n),s=K(o);e.remove(...l.filter((t=>t&&!s.includes(t)))),e.add(...s.filter((t=>t&&!l.includes(t))))}else if("style"===e){for(const e in n)o&&null!=o[e]||(e.includes("-")?t.style.removeProperty(e):t.style[e]="");for(const e in o)n&&o[e]===n[e]||(e.includes("-")?t.style.setProperty(e,o[e]):t.style[e]=o[e])}else if("key"===e);else if("ref"===e)o&&o(t);else if(i||"o"!==e[0]||"n"!==e[1]){const l=E(o);if((i||l&&null!==o)&&!s)try{if(t.tagName.includes("-"))t[e]=o;else{const l=null==o?"":o;"list"===e?i=!1:null!=n&&t[e]==l||(t[e]=l)}}catch(t){}let a=!1;c!==(c=c.replace(/^xlink\:?/,""))&&(e=c,a=!0),null==o||!1===o?!1===o&&""!==t.getAttribute(e)||(a?t.removeAttributeNS(u,e):t.removeAttribute(e)):(!i||4&r||s)&&!l&&(o=!0===o?"":o,a?t.setAttributeNS(u,e,o):t.setAttribute(e,o))}else if(e="-"===e[2]?e.slice(3):l(a,c)?c.slice(2):c[2]+e.slice(3),n||o){const l=e.endsWith(Q);e=e.replace(X,""),n&&d.rel(t,e,n,l),o&&d.ael(t,e,o,l)}}},J=/\s/,K=t=>t?t.split(J):[],Q="Capture",X=RegExp(Q+"$"),Y=(t,e,n)=>{const o=11===e.$.nodeType&&e.$.host?e.$.host:e.$,l=t&&t.u||O,s=e.u||O;for(const t of Z(Object.keys(l)))t in s||I(o,t,l[t],void 0,n,e.o);for(const t of Z(Object.keys(s)))I(o,t,l[t],s[t],n,e.o)};function Z(t){return t.includes("ref")?[...t.filter((t=>"ref"!==t)),"ref"]:t}var tt=!1,et=!1,nt=!1,ot=!1,lt=(t,e,n,o)=>{var l;const s=e.h[n];let r,i,c,u=0;if(tt||(nt=!0,"slot"===s.v&&(P&&o.classList.add(P+"-s"),s.o|=s.h?2:1)),null!==s.i)r=s.$=f.createTextNode(s.i);else if(1&s.o)r=s.$=f.createTextNode("");else{if(ot||(ot="svg"===s.v),r=s.$=f.createElementNS(ot?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",!tt&&2&s.o?"slot-fb":s.v),ot&&"foreignObject"===s.v&&(ot=!1),Y(null,s,ot),null!=P&&r["s-si"]!==P&&r.classList.add(r["s-si"]=P),$t(r,o),s.h)for(u=0;u<s.h.length;++u)i=lt(t,s,u,r),i&&r.appendChild(i);"svg"===s.v?ot=!1:"foreignObject"===r.tagName&&(ot=!0)}return r["s-hn"]=U,3&s.o&&(r["s-sr"]=!0,r["s-cr"]=T,r["s-sn"]=s.m||"",r["s-rf"]=null==(l=s.u)?void 0:l.ref,c=t&&t.h&&t.h[n],c&&c.v===s.v&&t.$&&st(t.$,!1)),r},st=(t,e)=>{d.o|=1;const n=Array.from(t.childNodes);for(let t=n.length-1;t>=0;t--){const o=n[t];o["s-hn"]!==U&&o["s-ol"]&&(yt(at(o),o,ut(o)),o["s-ol"].remove(),o["s-ol"]=void 0,o["s-sh"]=void 0,nt=!0),e&&st(o,e)}d.o&=-2},rt=(t,e,n,o,l,s)=>{let r,i=t["s-cr"]&&t["s-cr"].parentNode||t;for(i.shadowRoot&&i.tagName===U&&(i=i.shadowRoot);l<=s;++l)o[l]&&(r=lt(null,n,l,t),r&&(o[l].$=r,yt(i,r,ut(e))))},it=(t,e,n)=>{for(let o=e;o<=n;++o){const e=t[o];if(e){const t=e.$;vt(e),t&&(et=!0,t["s-ol"]?t["s-ol"].remove():st(t,!0),t.remove())}}},ct=(t,e,n=!1)=>t.v===e.v&&("slot"===t.v?t.m===e.m:!!n||t.p===e.p),ut=t=>t&&t["s-ol"]||t,at=t=>(t["s-ol"]?t["s-ol"]:t).parentNode,ft=(t,e,n=!1)=>{const o=e.$=t.$,l=t.h,s=e.h,r=e.v,i=e.i;let c;null===i?(ot="svg"===r||"foreignObject"!==r&&ot,("slot"!==r||tt)&&Y(t,e,ot),null!==l&&null!==s?((t,e,n,o,l=!1)=>{let s,r,i=0,c=0,u=0,a=0,f=e.length-1,d=e[0],h=e[f],p=o.length-1,m=o[0],v=o[p];for(;i<=f&&c<=p;)if(null==d)d=e[++i];else if(null==h)h=e[--f];else if(null==m)m=o[++c];else if(null==v)v=o[--p];else if(ct(d,m,l))ft(d,m,l),d=e[++i],m=o[++c];else if(ct(h,v,l))ft(h,v,l),h=e[--f],v=o[--p];else if(ct(d,v,l))"slot"!==d.v&&"slot"!==v.v||st(d.$.parentNode,!1),ft(d,v,l),yt(t,d.$,h.$.nextSibling),d=e[++i],v=o[--p];else if(ct(h,m,l))"slot"!==d.v&&"slot"!==v.v||st(h.$.parentNode,!1),ft(h,m,l),yt(t,h.$,d.$),h=e[--f],m=o[++c];else{for(u=-1,a=i;a<=f;++a)if(e[a]&&null!==e[a].p&&e[a].p===m.p){u=a;break}u>=0?(r=e[u],r.v!==m.v?s=lt(e&&e[c],n,u,t):(ft(r,m,l),e[u]=void 0,s=r.$),m=o[++c]):(s=lt(e&&e[c],n,c,t),m=o[++c]),s&&yt(at(d.$),s,ut(d.$))}i>f?rt(t,null==o[p+1]?null:o[p+1].$,n,o,c,p):c>p&&it(e,i,f)})(o,l,e,s,n):null!==s?(null!==t.i&&(o.textContent=""),rt(o,null,e,s,0,s.length-1)):null!==l&&it(l,0,l.length-1),ot&&"svg"===r&&(ot=!1)):(c=o["s-cr"])?c.parentNode.textContent=i:t.i!==i&&(o.data=i)},dt=t=>{const e=t.childNodes;for(const t of e)if(1===t.nodeType){if(t["s-sr"]){const n=t["s-sn"];t.hidden=!1;for(const o of e)if(o!==t)if(o["s-hn"]!==t["s-hn"]||""!==n){if(1===o.nodeType&&(n===o.getAttribute("slot")||n===o["s-sn"])||3===o.nodeType&&n===o["s-sn"]){t.hidden=!0;break}}else if(1===o.nodeType||3===o.nodeType&&""!==o.textContent.trim()){t.hidden=!0;break}}dt(t)}},ht=[],pt=t=>{let e,n,o;for(const l of t.childNodes){if(l["s-sr"]&&(e=l["s-cr"])&&e.parentNode){n=e.parentNode.childNodes;const t=l["s-sn"];for(o=n.length-1;o>=0;o--)if(e=n[o],!e["s-cn"]&&!e["s-nr"]&&e["s-hn"]!==l["s-hn"])if(mt(e,t)){let n=ht.find((t=>t.S===e));et=!0,e["s-sn"]=e["s-sn"]||t,n?(n.S["s-sh"]=l["s-hn"],n.j=l):(e["s-sh"]=l["s-hn"],ht.push({j:l,S:e})),e["s-sr"]&&ht.map((t=>{mt(t.S,e["s-sn"])&&(n=ht.find((t=>t.S===e)),n&&!t.j&&(t.j=n.j))}))}else ht.some((t=>t.S===e))||ht.push({S:e})}1===l.nodeType&&pt(l)}},mt=(t,e)=>1===t.nodeType?null===t.getAttribute("slot")&&""===e||t.getAttribute("slot")===e:t["s-sn"]===e||""===e,vt=t=>{t.u&&t.u.ref&&t.u.ref(null),t.h&&t.h.map(vt)},yt=(t,e,n)=>{const o=null==t?void 0:t.insertBefore(e,n);return $t(e,t),o},wt=t=>{const e=[];return t&&e.push(...t["s-scs"]||[],t["s-si"],t["s-sc"],...wt(t.parentElement)),e},$t=(t,e,n=!1)=>{var o;if(t&&e&&1===t.nodeType){const l=new Set(wt(e).filter(Boolean));if(l.size&&(null==(o=t.classList)||o.add(...t["s-scs"]=[...l]),t["s-ol"]||n))for(const e of Array.from(t.childNodes))$t(e,t,!0)}},bt=(t,e)=>{e&&!t.O&&e["s-p"]&&e["s-p"].push(new Promise((e=>t.O=e)))},gt=(t,e)=>{if(t.o|=16,!(4&t.o))return bt(t,t.C),S((()=>kt(t,e)));t.o|=512},kt=(t,e)=>{const n=t.t;if(!n)throw Error(`Can't render component <${t.$hostElement$.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let o;return e?(t.o|=256,t.M&&(t.M.map((([t,e])=>Tt(n,t,e))),t.M=void 0),o=Tt(n,"componentWillLoad")):o=Tt(n,"componentWillUpdate"),o=St(o,(()=>Tt(n,"componentWillRender"))),St(o,(()=>Ot(t,n,e)))},St=(t,e)=>jt(t)?t.then(e).catch((t=>{console.error(t),e()})):e(),jt=t=>t instanceof Promise||t&&t.then&&"function"==typeof t.then,Ot=async(t,e,n)=>{var o;const l=t.$hostElement$,s=l["s-rc"];n&&(t=>{const e=t.R,n=t.$hostElement$,o=e.o,l=((t,e)=>{var n;const o=z(e),l=i.get(o);if(t=11===t.nodeType?t:f,l)if("string"==typeof l){let s,r=_.get(t=t.head||t);if(r||_.set(t,r=new Set),!r.has(o)){{s=f.createElement("style"),s.innerHTML=l;const e=null!=(n=d.P)?n:C(f);null!=e&&s.setAttribute("nonce",e),t.insertBefore(s,t.querySelector("link"))}4&e.o&&(s.innerHTML+=c),r&&r.add(o)}}else t.adoptedStyleSheets.includes(l)||(t.adoptedStyleSheets=[...t.adoptedStyleSheets,l]);return o})(n.shadowRoot?n.shadowRoot:n.getRootNode(),e);10&o&&(n["s-sc"]=l,n.classList.add(l+"-h"),2&o&&n.classList.add(l+"-s"))})(t);Ct(t,e,l,n),s&&(s.map((t=>t())),l["s-rc"]=void 0);{const e=null!=(o=l["s-p"])?o:[],n=()=>Mt(t);0===e.length?n():(Promise.all(e).then(n),t.o|=4,e.length=0)}},Et=null,Ct=(t,e,n,o)=>{try{Et=e,e=e.render(),t.o&=-17,t.o|=2,((t,e,n=!1)=>{var o,l,s,r;const i=t.$hostElement$,c=t.R,u=t.T||W(null,null),a=(t=>t&&t.v===D)(e)?e:L(null,null,e);if(U=i.tagName,c.U&&(a.u=a.u||{},c.U.map((([t,e])=>a.u[e]=i[t]))),n&&a.u)for(const t of Object.keys(a.u))i.hasAttribute(t)&&!["key","ref","style","class"].includes(t)&&(a.u[t]=i[t]);if(a.v=null,a.o|=4,t.T=a,a.$=u.$=i.shadowRoot||i,P=i["s-sc"],tt=!!(1&c.o),T=i["s-cr"],et=!1,ft(u,a,n),d.o|=1,nt){pt(a.$);for(const t of ht){const e=t.S;if(!e["s-ol"]){const t=f.createTextNode("");t["s-nr"]=e,yt(e.parentNode,e["s-ol"]=t,e)}}for(const t of ht){const e=t.S,i=t.j;if(i){const t=i.parentNode;let n=i.nextSibling;{let s=null==(o=e["s-ol"])?void 0:o.previousSibling;for(;s;){let o=null!=(l=s["s-nr"])?l:null;if(o&&o["s-sn"]===e["s-sn"]&&t===o.parentNode){for(o=o.nextSibling;o===e||(null==o?void 0:o["s-sr"]);)o=null==o?void 0:o.nextSibling;if(!o||!o["s-nr"]){n=o;break}}s=s.previousSibling}}(!n&&t!==e.parentNode||e.nextSibling!==n)&&e!==n&&(!e["s-hn"]&&e["s-ol"]&&(e["s-hn"]=e["s-ol"].parentNode.nodeName),yt(t,e,n),1===e.nodeType&&(e.hidden=null!=(s=e["s-ih"])&&s)),e&&"function"==typeof i["s-rf"]&&i["s-rf"](e)}else 1===e.nodeType&&(n&&(e["s-ih"]=null!=(r=e.hidden)&&r),e.hidden=!0)}}et&&dt(a.$),d.o&=-2,ht.length=0,T=void 0})(t,e,o)}catch(e){s(e,t.$hostElement$)}return Et=null,null},xt=()=>Et,Mt=t=>{const e=t.$hostElement$,n=t.t,o=t.C;Tt(n,"componentDidRender"),64&t.o?Tt(n,"componentDidUpdate"):(t.o|=64,Ut(e),Tt(n,"componentDidLoad"),t.A(e),o||Pt()),t.F(e),t.O&&(t.O(),t.O=void 0),512&t.o&&g((()=>gt(t,!1))),t.o&=-517},Rt=t=>{{const e=n(t),o=e.$hostElement$.isConnected;return o&&2==(18&e.o)&&gt(e,!1),o}},Pt=()=>{Ut(f.documentElement),g((()=>V(a,"appload",{detail:{namespace:"solutions-components"}})))},Tt=(t,e,n)=>{if(t&&t[e])try{return t[e](n)}catch(t){s(t)}},Ut=t=>t.classList.add("hydrated"),At=(t,e,o)=>{var l,r;const i=t.prototype;if(e.L||e.W||t.watchers){t.watchers&&!e.W&&(e.W=t.watchers);const c=Object.entries(null!=(l=e.L)?l:{});if(c.map((([t,[l]])=>{31&l||2&o&&32&l?Object.defineProperty(i,t,{get(){return((t,e)=>n(this).D.get(e))(0,t)},set(o){((t,e,o,l)=>{const r=n(t);if(!r)throw Error(`Couldn't find host element for "${l.k}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/ionic-team/stencil/issues/5457).`);const i=r.$hostElement$,c=r.D.get(e),u=r.o,a=r.t;if(o=((t,e)=>null==t||E(t)?t:4&e?"false"!==t&&(""===t||!!t):2&e?parseFloat(t):1&e?t+"":t)(o,l.L[e][0]),(!(8&u)||void 0===c)&&o!==c&&(!Number.isNaN(c)||!Number.isNaN(o))&&(r.D.set(e,o),a)){if(l.W&&128&u){const t=l.W[e];t&&t.map((t=>{try{a[t](o,c,e)}catch(t){s(t,i)}}))}if(2==(18&u)){if(a.componentShouldUpdate&&!1===a.componentShouldUpdate(o,c,e))return;gt(r,!1)}}})(this,t,o,e)},configurable:!0,enumerable:!0}):1&o&&64&l&&Object.defineProperty(i,t,{value(...e){var o;const l=n(this);return null==(o=null==l?void 0:l.N)?void 0:o.then((()=>{var n;return null==(n=l.t)?void 0:n[t](...e)}))}})})),1&o){const o=new Map;i.attributeChangedCallback=function(t,l,s){d.jmp((()=>{var r;const c=o.get(t);if(this.hasOwnProperty(c))s=this[c],delete this[c];else{if(i.hasOwnProperty(c)&&"number"==typeof this[c]&&this[c]==s)return;if(null==c){const o=n(this),i=null==o?void 0:o.o;if(i&&!(8&i)&&128&i&&s!==l){const n=o.t,i=null==(r=e.W)?void 0:r[t];null==i||i.forEach((e=>{null!=n[e]&&n[e].call(n,s,l,t)}))}return}}this[c]=(null!==s||"boolean"!=typeof this[c])&&s}))},t.observedAttributes=Array.from(new Set([...Object.keys(null!=(r=e.W)?r:{}),...c.filter((([t,e])=>15&e[0])).map((([t,n])=>{var l;const s=n[1]||t;return o.set(s,t),512&n[0]&&(null==(l=e.U)||l.push([t,s])),s}))]))}}return t},Ft=t=>{Tt(t,"connectedCallback")},Lt=t=>{Tt(t,"disconnectedCallback")},Wt=(t,o={})=>{var l;const u=[],h=o.exclude||[],m=a.customElements,v=f.head,y=v.querySelector("meta[charset]"),w=f.createElement("style"),$=[];let b,g=!0;Object.assign(d,o),d.l=new URL(o.resourcesUrl||"./",f.baseURI).href;let k=!1;if(t.map((t=>{t[1].map((o=>{var l;const c={o:o[0],k:o[1],L:o[2],H:o[3]};4&c.o&&(k=!0),c.L=o[2],c.H=o[3],c.U=[],c.W=null!=(l=o[4])?l:{};const a=c.k,v=class extends HTMLElement{constructor(t){if(super(t),this.hasRegisteredEventListeners=!1,((t,n)=>{const o={o:0,$hostElement$:t,R:n,D:new Map};o.N=new Promise((t=>o.F=t)),o.q=new Promise((t=>o.A=t)),t["s-p"]=[],t["s-rc"]=[],e.set(t,o)})(t=this,c),1&c.o)if(t.shadowRoot){if("open"!==t.shadowRoot.mode)throw Error(`Unable to re-use existing shadow root for ${c.k}! Mode is set to ${t.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else t.attachShadow({mode:"open",delegatesFocus:!!(16&c.o)})}connectedCallback(){const t=n(this);this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0,Nt(this,t,c.H)),b&&(clearTimeout(b),b=null),g?$.push(this):d.jmp((()=>(t=>{if(!(1&d.o)){const e=n(t),o=e.R,l=()=>{};if(1&e.o)Nt(t,e,o.H),(null==e?void 0:e.t)?Ft(e.t):(null==e?void 0:e.q)&&e.q.then((()=>Ft(e.t)));else{e.o|=1,12&o.o&&(t=>{const e=t["s-cr"]=f.createComment("");e["s-cn"]=!0,yt(t,e,t.firstChild)})(t);{let n=t;for(;n=n.parentNode||n.host;)if(n["s-p"]){bt(e,e.C=n);break}}o.L&&Object.entries(o.L).map((([e,[n]])=>{if(31&n&&t.hasOwnProperty(e)){const n=t[e];delete t[e],t[e]=n}})),(async(t,e,n)=>{let o;if(!(32&e.o)){if(e.o|=32,n.B){const t=(t=>{const e=t.k.replace(/-/g,"_"),n=t.B;if(!n)return;const o=r.get(n);return o?o[e]:import(`./${n}.entry.js`).then((t=>(r.set(n,t),t[e])),s)
7
+ /*!__STENCIL_STATIC_IMPORT_SWITCH__*/})(n);if(t&&"then"in t){const e=()=>{};o=await t,e()}else o=t;if(!o)throw Error(`Constructor for "${n.k}#${e.G}" was not found`);o.isProxied||(n.W=o.watchers,At(o,n,2),o.isProxied=!0);const l=()=>{};e.o|=8;try{new o(e)}catch(t){s(t)}e.o&=-9,e.o|=128,l(),Ft(e.t)}else o=t.constructor,customElements.whenDefined(t.localName).then((()=>e.o|=128));if(o&&o.style){let t;"string"==typeof o.style&&(t=o.style);const e=z(n);if(!i.has(e)){const o=()=>{};((t,e,n)=>{let o=i.get(t);p&&n?(o=o||new CSSStyleSheet,"string"==typeof o?o=e:o.replaceSync(e)):o=e,i.set(t,o)})(e,t,!!(1&n.o)),o()}}}const l=e.C,c=()=>gt(e,!0);l&&l["s-rc"]?l["s-rc"].push(c):c()})(t,e,o)}l()}})(this)))}disconnectedCallback(){d.jmp((()=>(async()=>{if(!(1&d.o)){const t=n(this);t.V&&(t.V.map((t=>t())),t.V=void 0),(null==t?void 0:t.t)?Lt(t.t):(null==t?void 0:t.q)&&t.q.then((()=>Lt(t.t)))}})()))}componentOnReady(){return n(this).q}};c.B=t[0],h.includes(a)||m.get(a)||(u.push(a),m.define(a,At(v,c,1)))}))})),u.length>0&&(k&&(w.textContent+=c),w.textContent+=u.sort()+"{visibility:hidden}.hydrated{visibility:inherit}",w.innerHTML.length)){w.setAttribute("data-styles","");const t=null!=(l=d.P)?l:C(f);null!=t&&w.setAttribute("nonce",t),v.insertBefore(w,y?y.nextSibling:v.firstChild)}g=!1,$.length?$.map((t=>t.connectedCallback())):d.jmp((()=>b=setTimeout(Pt,30)))},Dt=(t,e)=>e,Nt=(t,e,n)=>{n&&n.map((([n,o,l])=>{const s=qt(t,n),r=Ht(e,l),i=Bt(n);d.ael(s,o,r,i),(e.V=e.V||[]).push((()=>d.rel(s,o,r,i)))}))},Ht=(t,e)=>n=>{var o;try{256&t.o?null==(o=t.t)||o[e](n):(t.M=t.M||[]).push([e,n])}catch(t){s(t)}},qt=(t,e)=>4&e?f:8&e?a:16&e?f.body:t,Bt=t=>({passive:!!(1&t),capture:!!(2&t)}),Gt=t=>d.P=t;export{Dt as F,D as H,j as a,Wt as b,G as c,k as d,xt as e,Rt as f,B as g,L as h,h as p,o as r,Gt as s}
@@ -3,4 +3,4 @@
3
3
  * Licensed under the Apache License, Version 2.0
4
4
  * http://www.apache.org/licenses/LICENSE-2.0
5
5
  */
6
- import{r as e,c as a,h as t,F as s}from"./p-fa1ceaf9.js";const d=class{constructor(t){e(this,t),this.calciteInternalOptionGroupChange=a(this,"calciteInternalOptionGroupChange",6),this.disabled=!1,this.label=void 0}handlePropChange(){this.calciteInternalOptionGroupChange.emit()}render(){return t(s,{key:"52990dfd78732b297a9693682994eac13de0ea6c"},t("div",{key:"f8907d01f123eb1f3df0055cafc6bba8d6067080"},this.label),t("slot",{key:"393f15738c365072299d1b60be1408a5e86a95f3"}))}static get watchers(){return{disabled:["handlePropChange"],label:["handlePropChange"]}}};d.style=":host{display:block}:host([hidden]){display:none}[hidden]{display:none}";export{d as calcite_option_group}
6
+ import{r as e,c as a,h as t,F as s}from"./p-f4c4a2b7.js";const d=class{constructor(t){e(this,t),this.calciteInternalOptionGroupChange=a(this,"calciteInternalOptionGroupChange",6),this.disabled=!1,this.label=void 0}handlePropChange(){this.calciteInternalOptionGroupChange.emit()}render(){return t(s,{key:"52990dfd78732b297a9693682994eac13de0ea6c"},t("div",{key:"f8907d01f123eb1f3df0055cafc6bba8d6067080"},this.label),t("slot",{key:"393f15738c365072299d1b60be1408a5e86a95f3"}))}static get watchers(){return{disabled:["handlePropChange"],label:["handlePropChange"]}}};d.style=":host{display:block}:host([hidden]){display:none}[hidden]{display:none}";export{d as calcite_option_group}
@@ -3,7 +3,7 @@
3
3
  * Licensed under the Apache License, Version 2.0
4
4
  * http://www.apache.org/licenses/LICENSE-2.0
5
5
  */
6
- import{r as t,c as i,h as e,H as s,g as a}from"./p-fa1ceaf9.js";import{s as o,t as n,g as l,y as c}from"./p-67b26725.js";import{g as r}from"./p-e6e50975.js";import{s as d,a as h,c as p}from"./p-8ed6ce4d.js";import{N as u,c as f,d as b}from"./p-813d004f.js";import{o as m}from"./p-ba569f8b.js";import{c as v,s as g,d as y,u as w}from"./p-44bfa87d.js";import{K as k}from"./p-37e40c37.js";import{g as x,l as z}from"./p-c0bf1d9f.js";import{a as C}from"./p-996c1ac5.js";import{P as _}from"./p-09f79715.js";import"./p-b85be429.js";import"./p-db50226e.js";import"./p-f50a294b.js";import"./p-e6c9e6af.js";import"./p-0a24ad5f.js";import"./p-d4056c1c.js";import"./p-c1cf3ebc.js";import"./p-593036f3.js";import"./p-3d7cff5e.js";import"./p-a230b270.js";import"./p-a0300d31.js";
6
+ import{r as t,c as i,h as e,H as s,g as a}from"./p-f4c4a2b7.js";import{s as o,t as n,g as l,y as c}from"./p-67b26725.js";import{g as r}from"./p-e6e50975.js";import{s as d,a as h,c as p}from"./p-fa214d6f.js";import{N as u,c as f,d as b}from"./p-33ec544d.js";import{o as m}from"./p-e6587ec3.js";import{c as v,s as g,d as y,u as w}from"./p-4541ad8e.js";import{K as k}from"./p-37e40c37.js";import{g as x,l as z}from"./p-cc69b971.js";import{a as C}from"./p-996c1ac5.js";import{P as _}from"./p-fa6dfea8.js";import"./p-b85be429.js";import"./p-db50226e.js";import"./p-f50a294b.js";import"./p-a1f034be.js";import"./p-0a24ad5f.js";import"./p-d4056c1c.js";import"./p-c1cf3ebc.js";import"./p-ef375216.js";import"./p-3d7cff5e.js";import"./p-a230b270.js";import"./p-628537e6.js";
7
7
  /*!
8
8
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
9
9
  * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.