@esri/solutions-components 0.10.49 → 0.11.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1250) hide show
  1. package/dist/cjs/ExpandToggle-44886935.js +115 -0
  2. package/dist/cjs/FloatingArrow-d7ea2b0f.js +48 -0
  3. package/dist/cjs/Heading-ee0aa171.js +25 -0
  4. package/dist/cjs/IdentityManager-d84c82f1.js +2047 -0
  5. package/dist/cjs/Validation-9515ef0c.js +20 -0
  6. package/dist/cjs/app-globals-03a6ab9b.js +67 -0
  7. package/dist/cjs/ar-180cd9b0.js +106 -0
  8. package/dist/cjs/asyncToGenerator-c7fc3ee4.js +92 -0
  9. package/dist/cjs/basemap-gallery_7.cjs.entry.js +37 -12
  10. package/dist/cjs/bg-fd095c86.js +84 -0
  11. package/dist/cjs/browser-717f77af.js +35 -0
  12. package/dist/cjs/bs-11fa6f0d.js +53 -0
  13. package/dist/cjs/buffer-tools_3.cjs.entry.js +6 -6
  14. package/dist/cjs/ca-0685b1cc.js +73 -0
  15. package/dist/cjs/calcite-accordion_2.cjs.entry.js +5 -5
  16. package/dist/cjs/calcite-action-bar.cjs.entry.js +8 -8
  17. package/dist/cjs/calcite-action-group.cjs.entry.js +7 -7
  18. package/dist/cjs/calcite-action-menu_2.cjs.entry.js +9 -9
  19. package/dist/cjs/calcite-action-pad_2.cjs.entry.js +8 -8
  20. package/dist/cjs/calcite-action_2.cjs.entry.js +13 -13
  21. package/dist/cjs/calcite-alert_2.cjs.entry.js +500 -0
  22. package/dist/cjs/calcite-avatar.cjs.entry.js +1 -1
  23. package/dist/cjs/calcite-block-section.cjs.entry.js +6 -6
  24. package/dist/cjs/calcite-block_5.cjs.entry.js +17 -17
  25. package/dist/cjs/calcite-button-de2c2e75.js +282 -0
  26. package/dist/cjs/calcite-button.cjs.entry.js +8 -8
  27. package/dist/cjs/calcite-card-group.cjs.entry.js +4 -4
  28. package/dist/cjs/calcite-card.cjs.entry.js +7 -7
  29. package/dist/cjs/calcite-carousel_2.cjs.entry.js +7 -7
  30. package/dist/cjs/calcite-checkbox.cjs.entry.js +5 -5
  31. package/dist/cjs/calcite-chip-group.cjs.entry.js +4 -4
  32. package/dist/cjs/calcite-chip_2.cjs.entry.js +9 -9
  33. package/dist/cjs/calcite-color-picker-hex-input_2.cjs.entry.js +3 -3
  34. package/dist/cjs/calcite-color-picker.cjs.entry.js +7 -7
  35. package/dist/cjs/calcite-combobox-item-group.cjs.entry.js +3 -3
  36. package/dist/cjs/calcite-combobox_3.cjs.entry.js +66 -20
  37. package/dist/cjs/calcite-date-picker-day_3.cjs.entry.js +8 -8
  38. package/dist/cjs/calcite-dialog-a5c288bb.js +5876 -0
  39. package/dist/cjs/calcite-dialog.cjs.entry.js +9 -9
  40. package/dist/cjs/calcite-dropdown_2.cjs.entry.js +7 -7
  41. package/dist/cjs/calcite-fab.cjs.entry.js +4 -4
  42. package/dist/cjs/calcite-filter_5.cjs.entry.js +7 -7
  43. package/dist/cjs/calcite-flow-item_5.cjs.entry.js +1752 -0
  44. package/dist/cjs/calcite-flow_4.cjs.entry.js +12 -12
  45. package/dist/cjs/calcite-graph_2.cjs.entry.js +7 -7
  46. package/dist/cjs/calcite-icon_2.cjs.entry.js +4 -4
  47. package/dist/cjs/calcite-inline-editable.cjs.entry.js +7 -7
  48. package/dist/cjs/calcite-input-945ec162.js +1001 -0
  49. package/dist/cjs/calcite-input-number.cjs.entry.js +9 -9
  50. package/dist/cjs/calcite-input-text.cjs.entry.js +9 -9
  51. package/dist/cjs/calcite-input-time-picker-3aeef2d4.js +1870 -0
  52. package/dist/cjs/calcite-input-time-picker.cjs.entry.js +13 -13
  53. package/dist/cjs/calcite-input-time-zone.cjs.entry.js +8 -8
  54. package/dist/cjs/calcite-input_2.cjs.entry.js +9 -9
  55. package/dist/cjs/calcite-label-e7b67a86.js +111 -0
  56. package/dist/cjs/calcite-label.cjs.entry.js +1 -1
  57. package/dist/cjs/calcite-link.cjs.entry.js +4 -4
  58. package/dist/cjs/calcite-list-item-group.cjs.entry.js +2 -2
  59. package/dist/cjs/calcite-menu-item.cjs.entry.js +6 -6
  60. package/dist/cjs/calcite-menu.cjs.entry.js +6 -6
  61. package/dist/cjs/calcite-meter.cjs.entry.js +6 -6
  62. package/dist/cjs/calcite-modal_4.cjs.entry.js +972 -0
  63. package/dist/cjs/calcite-navigation-logo.cjs.entry.js +4 -4
  64. package/dist/cjs/calcite-navigation-user.cjs.entry.js +3 -3
  65. package/dist/cjs/calcite-navigation.cjs.entry.js +3 -3
  66. package/dist/cjs/calcite-notice-a48cc9e7.js +261 -0
  67. package/dist/cjs/calcite-notice.cjs.entry.js +8 -8
  68. package/dist/cjs/calcite-option-group.cjs.entry.js +1 -1
  69. package/dist/cjs/calcite-option_2.cjs.entry.js +7 -7
  70. package/dist/cjs/calcite-pagination.cjs.entry.js +6 -6
  71. package/dist/cjs/calcite-pick-list-group.cjs.entry.js +7 -7
  72. package/dist/cjs/calcite-pick-list-item.cjs.entry.js +10 -10
  73. package/dist/cjs/calcite-pick-list.cjs.entry.js +8 -8
  74. package/dist/cjs/calcite-radio-button-group.cjs.entry.js +5 -5
  75. package/dist/cjs/calcite-radio-button.cjs.entry.js +5 -5
  76. package/dist/cjs/calcite-rating.cjs.entry.js +8 -8
  77. package/dist/cjs/calcite-scrim.cjs.entry.js +5 -5
  78. package/dist/cjs/calcite-segmented-control_2.cjs.entry.js +6 -6
  79. package/dist/cjs/calcite-sheet.cjs.entry.js +7 -7
  80. package/dist/cjs/calcite-shell-center-row.cjs.entry.js +6 -6
  81. package/dist/cjs/calcite-shell-panel_14.cjs.entry.js +24 -24
  82. package/dist/cjs/calcite-shell.cjs.entry.js +4 -4
  83. package/dist/cjs/calcite-sortable-list.cjs.entry.js +4 -4
  84. package/dist/cjs/calcite-split-button.cjs.entry.js +4 -4
  85. package/dist/cjs/calcite-stepper-item.cjs.entry.js +7 -7
  86. package/dist/cjs/calcite-stepper.cjs.entry.js +5 -5
  87. package/dist/cjs/calcite-switch.cjs.entry.js +5 -5
  88. package/dist/cjs/calcite-table-cell_2.cjs.entry.js +7 -7
  89. package/dist/cjs/calcite-table-row.cjs.entry.js +2 -2
  90. package/dist/cjs/calcite-table.cjs.entry.js +6 -6
  91. package/dist/cjs/calcite-text-area.cjs.entry.js +9 -9
  92. package/dist/cjs/calcite-tile-group.cjs.entry.js +4 -4
  93. package/dist/cjs/calcite-tile-select-group.cjs.entry.js +4 -4
  94. package/dist/cjs/calcite-tile-select.cjs.entry.js +6 -6
  95. package/dist/cjs/calcite-tile.cjs.entry.js +4 -4
  96. package/dist/cjs/calcite-time-picker.cjs.entry.js +7 -7
  97. package/dist/cjs/calcite-tip-group.cjs.entry.js +3 -3
  98. package/dist/cjs/calcite-tip-manager.cjs.entry.js +8 -8
  99. package/dist/cjs/calcite-tip.cjs.entry.js +9 -9
  100. package/dist/cjs/calcite-tooltip.cjs.entry.js +5 -5
  101. package/dist/cjs/calcite-tree_2.cjs.entry.js +5 -5
  102. package/dist/cjs/card-manager_3.cjs.entry.js +194 -51
  103. package/dist/cjs/common-10d11a29.js +37 -0
  104. package/dist/cjs/conditionalSlot-130cce71.js +54 -0
  105. package/dist/cjs/config-c999f8fc.js +40 -0
  106. package/dist/cjs/consent-manager.cjs.entry.js +7915 -46
  107. package/dist/cjs/crowdsource-manager.cjs.entry.js +6 -6
  108. package/dist/cjs/crowdsource-reporter.cjs.entry.js +3 -3
  109. package/dist/cjs/cs-70e8ba01.js +149 -0
  110. package/dist/cjs/da-e8eb9ff4.js +69 -0
  111. package/dist/cjs/date-40a80298.js +264 -0
  112. package/dist/cjs/de-4b8310d2.js +93 -0
  113. package/dist/cjs/de-at-dc8ed8c3.js +92 -0
  114. package/dist/cjs/de-ch-c5971940.js +92 -0
  115. package/dist/cjs/deduct-calculator.cjs.entry.js +2 -2
  116. package/dist/cjs/downloadUtils-b6490537.js +3223 -0
  117. package/dist/cjs/el-a70d9f12.js +68 -0
  118. package/dist/cjs/en-au-88ddb80f.js +68 -0
  119. package/dist/cjs/en-ca-5a29b95b.js +67 -0
  120. package/dist/cjs/en-gb-3c763a84.js +71 -0
  121. package/dist/cjs/es-e83e8ff5.js +68 -0
  122. package/dist/cjs/es-mx-2ea879ef.js +67 -0
  123. package/dist/cjs/et-7b00c80d.js +94 -0
  124. package/dist/cjs/feature-list.cjs.entry.js +12 -10
  125. package/dist/cjs/fi-92ca007b.js +117 -0
  126. package/dist/cjs/floating-ui-7fa9e006.js +2413 -0
  127. package/dist/cjs/focusTrapComponent-a7cfa6da.js +1013 -0
  128. package/dist/cjs/form-dd5380da.js +370 -0
  129. package/dist/cjs/form-f2a43327.js +381 -0
  130. package/dist/cjs/fr-a1f5dfd4.js +70 -0
  131. package/dist/cjs/fr-ch-8a4a9d67.js +68 -0
  132. package/dist/cjs/he-38b2b883.js +107 -0
  133. package/dist/cjs/helpers-47465fc2.js +940 -0
  134. package/dist/cjs/hi-a517b1a8.js +67 -0
  135. package/dist/cjs/hr-c1e34de1.js +82 -0
  136. package/dist/cjs/hu-e46e8ae7.js +90 -0
  137. package/dist/cjs/icon-f45e7fbb.js +979 -0
  138. package/dist/cjs/id-bfc376d8.js +68 -0
  139. package/dist/cjs/index-1ab17699.js +201 -0
  140. package/dist/cjs/index-3bae5121.js +1789 -0
  141. package/dist/cjs/index-5d8d6ae2.js +2157 -0
  142. package/dist/cjs/index.es-5fc7bebc.js +11221 -0
  143. package/dist/cjs/instant-apps-app-guide.cjs.entry.js +2 -2
  144. package/dist/cjs/instant-apps-control-panel.cjs.entry.js +1 -1
  145. package/dist/cjs/instant-apps-create.cjs.entry.js +2 -2
  146. package/dist/cjs/instant-apps-export-views.cjs.entry.js +2 -2
  147. package/dist/cjs/instant-apps-export.cjs.entry.js +2 -2
  148. package/dist/cjs/instant-apps-header.cjs.entry.js +2 -2
  149. package/dist/cjs/instant-apps-interactive-legend-classic.cjs.entry.js +3 -3
  150. package/dist/cjs/instant-apps-interactive-legend-count_2.cjs.entry.js +3 -3
  151. package/dist/cjs/instant-apps-interactive-legend-group-legend-element-caption.cjs.entry.js +3 -3
  152. package/dist/cjs/instant-apps-interactive-legend-group-legend-element_5.cjs.entry.js +3 -3
  153. package/dist/cjs/instant-apps-interactive-legend.cjs.entry.js +4 -4
  154. package/dist/cjs/instant-apps-keyboard-shortcuts.cjs.entry.js +2 -2
  155. package/dist/cjs/instant-apps-landing-page.cjs.entry.js +1 -1
  156. package/dist/cjs/instant-apps-language-switcher.cjs.entry.js +4 -4
  157. package/dist/cjs/instant-apps-language-translator.cjs.entry.js +4 -4
  158. package/dist/cjs/instant-apps-measurement.cjs.entry.js +2 -2
  159. package/dist/cjs/instant-apps-popover.cjs.entry.js +2 -2
  160. package/dist/cjs/instant-apps-popovers.cjs.entry.js +1 -1
  161. package/dist/cjs/instant-apps-scoreboard.cjs.entry.js +2 -2
  162. package/dist/cjs/instant-apps-sign-in.cjs.entry.js +2 -2
  163. package/dist/cjs/instant-apps-splash.cjs.entry.js +3 -3
  164. package/dist/cjs/instant-apps-time-filter.cjs.entry.js +3 -3
  165. package/dist/cjs/interactive-b59e6294.js +86 -0
  166. package/dist/cjs/interactive-e1c3ccf2.js +85 -0
  167. package/dist/cjs/it-6d8c8360.js +68 -0
  168. package/dist/cjs/it-ch-2b05812c.js +68 -0
  169. package/dist/cjs/ja-eb46f963.js +74 -0
  170. package/dist/cjs/ko-dbe28d19.js +74 -0
  171. package/dist/cjs/loadable-19ab5827.js +98 -0
  172. package/dist/cjs/loader-97bb6b45.js +176 -0
  173. package/dist/cjs/loader.cjs.js +5 -5
  174. package/dist/cjs/locale-3a817e03.js +1488 -0
  175. package/dist/cjs/locale-80aff4b9.js +605 -0
  176. package/dist/cjs/locale-a79da367.js +160 -0
  177. package/dist/cjs/logger-780b61e8.js +61 -0
  178. package/dist/cjs/lt-651bfa9c.js +99 -0
  179. package/dist/cjs/lv-f6fe37a3.js +68 -0
  180. package/dist/cjs/map-select-tools_3.cjs.entry.js +13 -11
  181. package/dist/cjs/mk-1f0ffdf6.js +68 -0
  182. package/dist/cjs/nb-8b7b39ed.js +69 -0
  183. package/dist/cjs/nl-27515721.js +69 -0
  184. package/dist/cjs/observers-902ebe13.js +58 -0
  185. package/dist/cjs/openCloseComponent-039ee139.js +65 -0
  186. package/dist/cjs/openCloseComponent-e8e50700.js +66 -0
  187. package/dist/cjs/pci-calculator.cjs.entry.js +2 -2
  188. package/dist/cjs/pl-d2098514.js +116 -0
  189. package/dist/cjs/popupUtils-72d48968.js +121 -0
  190. package/dist/cjs/pt-a3304010.js +69 -0
  191. package/dist/cjs/pt-br-09d60ba8.js +67 -0
  192. package/dist/cjs/public-notification.cjs.entry.js +12 -10
  193. package/dist/cjs/publicNotificationStore-04b6837d.js +47 -0
  194. package/dist/cjs/request-19fdbaaa.js +21 -0
  195. package/dist/cjs/restHelpersGet-e4639890.js +507 -0
  196. package/dist/cjs/ro-2ea54b1c.js +68 -0
  197. package/dist/cjs/ru-f94ee202.js +128 -0
  198. package/dist/cjs/shared-list-render-fb08b2af.js +361 -0
  199. package/dist/cjs/sk-3cdf67d8.js +150 -0
  200. package/dist/cjs/sl-075daf42.js +170 -0
  201. package/dist/cjs/solution-configuration.cjs.entry.js +53 -53
  202. package/dist/cjs/solution-contents_3.cjs.entry.js +11 -11
  203. package/dist/cjs/solution-item-accordion.cjs.entry.js +3 -3
  204. package/dist/cjs/solution-item-icon.cjs.entry.js +2 -2
  205. package/dist/cjs/solution-resource-d0a2f7fe.js +1845 -0
  206. package/dist/cjs/solution-store-4e602251.js +1105 -0
  207. package/dist/cjs/solutions-components.cjs.js +6 -6
  208. package/dist/cjs/spatial-ref.cjs.entry.js +5 -6
  209. package/dist/cjs/sr-2f08967b.js +103 -0
  210. package/dist/cjs/store-manager.cjs.entry.js +7 -7
  211. package/dist/cjs/sv-65f0e21c.js +73 -0
  212. package/dist/cjs/t9n-0195f685.js +108 -0
  213. package/dist/cjs/templates-1e84847a.js +407 -0
  214. package/dist/cjs/th-db63e592.js +67 -0
  215. package/dist/cjs/time-caa0abbe.js +301 -0
  216. package/dist/cjs/tr-b6401cac.js +68 -0
  217. package/dist/cjs/typeof-2a7e2dec.js +28 -0
  218. package/dist/cjs/uk-d00c351d.js +106 -0
  219. package/dist/cjs/update-243ea407.js +783 -0
  220. package/dist/cjs/utils-7eb34f90.js +153 -0
  221. package/dist/cjs/utils-d2bcba4f.js +79 -0
  222. package/dist/cjs/vi-efe4ad72.js +72 -0
  223. package/dist/cjs/zh-cn-63f07390.js +96 -0
  224. package/dist/cjs/zh-hk-84a86ab9.js +94 -0
  225. package/dist/cjs/zh-tw-894f1adf.js +94 -0
  226. package/dist/collection/assets/t9n/consent-manager/resources.json +3 -10
  227. package/dist/collection/assets/t9n/consent-manager/resources_en.json +3 -10
  228. package/dist/collection/collection-manifest.json +2 -4
  229. package/dist/collection/components/basemap-gallery/basemap-gallery.js +1 -1
  230. package/dist/collection/components/buffer-tools/buffer-tools.js +1 -1
  231. package/dist/collection/components/card-manager/card-manager.js +1 -1
  232. package/dist/collection/components/consent-manager/consent-manager.js +116 -40
  233. package/dist/collection/components/create-feature/create-feature.js +2 -2
  234. package/dist/collection/components/create-related-feature/create-related-feature.js +1 -1
  235. package/dist/collection/components/crowdsource-manager/crowdsource-manager.css +4 -0
  236. package/dist/collection/components/crowdsource-manager/crowdsource-manager.js +3 -3
  237. package/dist/collection/components/crowdsource-reporter/crowdsource-reporter.js +1 -1
  238. package/dist/collection/components/deduct-calculator/deduct-calculator.js +1 -1
  239. package/dist/collection/components/delete-button/delete-button.js +2 -2
  240. package/dist/collection/components/delete-dialog/delete-dialog.js +1 -1
  241. package/dist/collection/components/edit-card/edit-card.js +26 -2
  242. package/dist/collection/components/feature-details/feature-details.js +6 -6
  243. package/dist/collection/components/feature-list/feature-list.js +3 -3
  244. package/dist/collection/components/floor-filter/floor-filter.js +1 -1
  245. package/dist/collection/components/info-card/info-card.js +2 -2
  246. package/dist/collection/components/json-editor/json-editor.js +1 -1
  247. package/dist/collection/components/layer-table/layer-table.js +224 -47
  248. package/dist/collection/components/map-card/map-card.js +2 -2
  249. package/dist/collection/components/map-draw-tools/map-draw-tools.js +1 -1
  250. package/dist/collection/components/map-fullscreen/map-fullscreen.js +1 -1
  251. package/dist/collection/components/map-layer-picker/map-layer-picker.js +121 -5
  252. package/dist/collection/components/map-legend/map-legend.js +1 -1
  253. package/dist/collection/components/map-picker/map-picker.js +53 -4
  254. package/dist/collection/components/map-search/map-search.js +1 -1
  255. package/dist/collection/components/map-select-tools/map-select-tools.js +1 -1
  256. package/dist/collection/components/map-tools/map-tools.js +2 -2
  257. package/dist/collection/components/pci-calculator/pci-calculator.js +1 -1
  258. package/dist/collection/components/pdf-download/pdf-download.js +1 -1
  259. package/dist/collection/components/public-notification/public-notification.js +2 -2
  260. package/dist/collection/components/refine-selection/refine-selection.js +1 -1
  261. package/dist/collection/components/solution-configuration/solution-configuration.js +3 -3
  262. package/dist/collection/components/solution-contents/solution-contents.js +1 -1
  263. package/dist/collection/components/solution-item/solution-item.js +1 -1
  264. package/dist/collection/components/solution-item-accordion/solution-item-accordion.js +1 -1
  265. package/dist/collection/components/solution-item-details/solution-item-details.js +1 -1
  266. package/dist/collection/components/solution-item-icon/solution-item-icon.js +1 -1
  267. package/dist/collection/components/solution-item-sharing/solution-item-sharing.js +1 -1
  268. package/dist/collection/components/solution-organization-variables/solution-organization-variables.js +1 -1
  269. package/dist/collection/components/solution-resource-item/solution-resource-item.js +1 -1
  270. package/dist/collection/components/solution-spatial-ref/solution-spatial-ref.js +1 -1
  271. package/dist/collection/components/solution-template-data/solution-template-data.js +1 -1
  272. package/dist/collection/components/solution-variables/solution-variables.js +1 -1
  273. package/dist/collection/components/spatial-ref/spatial-ref.js +1 -1
  274. package/dist/collection/demos/consent-manager.html +56 -0
  275. package/dist/collection/utils/interfaces.ts +14 -0
  276. package/dist/components/IdentityManager.js +6 -2154
  277. package/dist/components/asyncToGenerator.js +88 -0
  278. package/dist/components/basemap-gallery2.js +1 -1
  279. package/dist/components/buffer-tools2.js +1 -1
  280. package/dist/components/calcite-dialog.js +1 -663
  281. package/dist/components/card-manager2.js +10 -10
  282. package/dist/components/common.js +0 -1
  283. package/dist/components/consent-manager.js +8054 -204
  284. package/dist/components/create-feature2.js +2 -2
  285. package/dist/components/create-related-feature2.js +1 -1
  286. package/dist/components/crowdsource-manager.js +37 -37
  287. package/dist/components/crowdsource-reporter.js +28 -28
  288. package/dist/components/deduct-calculator2.js +1 -1
  289. package/dist/components/delete-button2.js +29 -11
  290. package/dist/components/delete-dialog2.js +33 -9
  291. package/dist/components/dialog.js +670 -0
  292. package/dist/components/downloadUtils.js +10 -26
  293. package/dist/components/edit-card2.js +7 -2
  294. package/dist/components/feature-details2.js +23 -23
  295. package/dist/components/feature-list2.js +3 -3
  296. package/dist/components/floor-filter2.js +1 -1
  297. package/dist/components/index.es.js +25 -104
  298. package/dist/components/index2.js +6 -5
  299. package/dist/components/info-card2.js +9 -9
  300. package/dist/components/json-editor2.js +1 -1
  301. package/dist/components/layer-table2.js +212 -69
  302. package/dist/components/map-card2.js +2 -2
  303. package/dist/components/map-draw-tools2.js +1 -1
  304. package/dist/components/map-fullscreen2.js +1 -1
  305. package/dist/components/map-layer-picker2.js +53 -5
  306. package/dist/components/map-legend2.js +1 -1
  307. package/dist/components/map-picker2.js +28 -3
  308. package/dist/components/map-search2.js +1 -1
  309. package/dist/components/map-select-tools2.js +1 -1
  310. package/dist/components/map-tools2.js +2 -2
  311. package/dist/components/pci-calculator.js +1 -1
  312. package/dist/components/pdf-download2.js +1 -1
  313. package/dist/components/public-notification.js +2 -2
  314. package/dist/components/refine-selection2.js +1 -1
  315. package/dist/components/restHelpersGet.js +74 -557
  316. package/dist/components/solution-configuration.js +27 -28
  317. package/dist/components/solution-contents2.js +1 -1
  318. package/dist/components/solution-item-accordion.js +1 -1
  319. package/dist/components/solution-item-details2.js +1 -1
  320. package/dist/components/solution-item-icon2.js +1 -1
  321. package/dist/components/solution-item-sharing2.js +1 -1
  322. package/dist/components/solution-item2.js +1 -1
  323. package/dist/components/solution-organization-variables2.js +1 -1
  324. package/dist/components/solution-resource-item2.js +1 -2
  325. package/dist/components/solution-resource.js +1701 -1
  326. package/dist/components/solution-spatial-ref2.js +1 -1
  327. package/dist/components/solution-store.js +36 -285
  328. package/dist/components/solution-template-data2.js +1 -1
  329. package/dist/components/solution-variables2.js +1 -1
  330. package/dist/components/spatial-ref.js +1 -1
  331. package/dist/components/templates.js +0 -1
  332. package/dist/components/typeof.js +25 -0
  333. package/dist/components/update.js +773 -0
  334. package/dist/esm/ExpandToggle-324f556e.js +108 -0
  335. package/dist/esm/FloatingArrow-cd37b366.js +46 -0
  336. package/dist/esm/Heading-b6b7a8a6.js +22 -0
  337. package/dist/esm/IdentityManager-6880e890.js +2012 -0
  338. package/dist/esm/Validation-b62abebe.js +18 -0
  339. package/dist/esm/app-globals-b6ef4076.js +65 -0
  340. package/dist/esm/ar-aa347a04.js +104 -0
  341. package/dist/esm/asyncToGenerator-96b2368d.js +88 -0
  342. package/dist/esm/basemap-gallery_7.entry.js +37 -12
  343. package/dist/esm/bg-b56e89f6.js +82 -0
  344. package/dist/esm/browser-e42b9848.js +32 -0
  345. package/dist/esm/bs-62486009.js +51 -0
  346. package/dist/esm/buffer-tools_3.entry.js +7 -7
  347. package/dist/esm/ca-db6a81f3.js +71 -0
  348. package/dist/esm/calcite-accordion_2.entry.js +6 -6
  349. package/dist/esm/calcite-action-bar.entry.js +9 -9
  350. package/dist/esm/calcite-action-group.entry.js +8 -8
  351. package/dist/esm/calcite-action-menu_2.entry.js +10 -10
  352. package/dist/esm/calcite-action-pad_2.entry.js +9 -9
  353. package/dist/esm/calcite-action_2.entry.js +14 -14
  354. package/dist/esm/calcite-alert_2.entry.js +495 -0
  355. package/dist/esm/calcite-avatar.entry.js +2 -2
  356. package/dist/esm/calcite-block-section.entry.js +7 -7
  357. package/dist/esm/calcite-block_5.entry.js +19 -19
  358. package/dist/esm/calcite-button-e86d99b3.js +279 -0
  359. package/dist/esm/calcite-button.entry.js +10 -10
  360. package/dist/esm/calcite-card-group.entry.js +5 -5
  361. package/dist/esm/calcite-card.entry.js +8 -8
  362. package/dist/esm/calcite-carousel_2.entry.js +8 -8
  363. package/dist/esm/calcite-checkbox.entry.js +7 -7
  364. package/dist/esm/calcite-chip-group.entry.js +5 -5
  365. package/dist/esm/calcite-chip_2.entry.js +10 -10
  366. package/dist/esm/calcite-color-picker-hex-input_2.entry.js +4 -4
  367. package/dist/esm/calcite-color-picker.entry.js +8 -8
  368. package/dist/esm/calcite-combobox-item-group.entry.js +4 -4
  369. package/dist/esm/calcite-combobox_3.entry.js +68 -22
  370. package/dist/esm/calcite-date-picker-day_3.entry.js +9 -9
  371. package/dist/esm/calcite-dialog-f5f9cfea.js +5873 -0
  372. package/dist/esm/calcite-dialog.entry.js +10 -10
  373. package/dist/esm/calcite-dropdown_2.entry.js +8 -8
  374. package/dist/esm/calcite-fab.entry.js +5 -5
  375. package/dist/esm/calcite-filter_5.entry.js +8 -8
  376. package/dist/esm/calcite-flow-item_5.entry.js +1744 -0
  377. package/dist/esm/calcite-flow_4.entry.js +12 -12
  378. package/dist/esm/calcite-graph_2.entry.js +9 -9
  379. package/dist/esm/calcite-icon_2.entry.js +5 -5
  380. package/dist/esm/calcite-inline-editable.entry.js +9 -9
  381. package/dist/esm/calcite-input-1f12bce0.js +998 -0
  382. package/dist/esm/calcite-input-number.entry.js +11 -11
  383. package/dist/esm/calcite-input-text.entry.js +11 -11
  384. package/dist/esm/calcite-input-time-picker-07db9ed7.js +1867 -0
  385. package/dist/esm/calcite-input-time-picker.entry.js +15 -15
  386. package/dist/esm/calcite-input-time-zone.entry.js +10 -10
  387. package/dist/esm/calcite-input_2.entry.js +11 -11
  388. package/dist/esm/calcite-label-d80f6f1c.js +108 -0
  389. package/dist/esm/calcite-label.entry.js +3 -3
  390. package/dist/esm/calcite-link.entry.js +5 -5
  391. package/dist/esm/calcite-list-item-group.entry.js +2 -2
  392. package/dist/esm/calcite-menu-item.entry.js +7 -7
  393. package/dist/esm/calcite-menu.entry.js +7 -7
  394. package/dist/esm/calcite-meter.entry.js +7 -7
  395. package/dist/esm/calcite-modal_4.entry.js +965 -0
  396. package/dist/esm/calcite-navigation-logo.entry.js +4 -4
  397. package/dist/esm/calcite-navigation-user.entry.js +3 -3
  398. package/dist/esm/calcite-navigation.entry.js +4 -4
  399. package/dist/esm/calcite-notice-acc12411.js +258 -0
  400. package/dist/esm/calcite-notice.entry.js +9 -9
  401. package/dist/esm/calcite-option-group.entry.js +1 -1
  402. package/dist/esm/calcite-option_2.entry.js +9 -9
  403. package/dist/esm/calcite-pagination.entry.js +7 -7
  404. package/dist/esm/calcite-pick-list-group.entry.js +8 -8
  405. package/dist/esm/calcite-pick-list-item.entry.js +11 -11
  406. package/dist/esm/calcite-pick-list.entry.js +9 -9
  407. package/dist/esm/calcite-radio-button-group.entry.js +6 -6
  408. package/dist/esm/calcite-radio-button.entry.js +7 -7
  409. package/dist/esm/calcite-rating.entry.js +10 -10
  410. package/dist/esm/calcite-scrim.entry.js +6 -6
  411. package/dist/esm/calcite-segmented-control_2.entry.js +8 -8
  412. package/dist/esm/calcite-sheet.entry.js +8 -8
  413. package/dist/esm/calcite-shell-center-row.entry.js +7 -7
  414. package/dist/esm/calcite-shell-panel_14.entry.js +25 -25
  415. package/dist/esm/calcite-shell.entry.js +5 -5
  416. package/dist/esm/calcite-sortable-list.entry.js +5 -5
  417. package/dist/esm/calcite-split-button.entry.js +4 -4
  418. package/dist/esm/calcite-stepper-item.entry.js +8 -8
  419. package/dist/esm/calcite-stepper.entry.js +6 -6
  420. package/dist/esm/calcite-switch.entry.js +7 -7
  421. package/dist/esm/calcite-table-cell_2.entry.js +8 -8
  422. package/dist/esm/calcite-table-row.entry.js +3 -3
  423. package/dist/esm/calcite-table.entry.js +7 -7
  424. package/dist/esm/calcite-text-area.entry.js +11 -11
  425. package/dist/esm/calcite-tile-group.entry.js +5 -5
  426. package/dist/esm/calcite-tile-select-group.entry.js +4 -4
  427. package/dist/esm/calcite-tile-select.entry.js +6 -6
  428. package/dist/esm/calcite-tile.entry.js +5 -5
  429. package/dist/esm/calcite-time-picker.entry.js +8 -8
  430. package/dist/esm/calcite-tip-group.entry.js +3 -3
  431. package/dist/esm/calcite-tip-manager.entry.js +9 -9
  432. package/dist/esm/calcite-tip.entry.js +10 -10
  433. package/dist/esm/calcite-tooltip.entry.js +6 -6
  434. package/dist/esm/calcite-tree_2.entry.js +6 -6
  435. package/dist/esm/card-manager_3.entry.js +194 -51
  436. package/dist/esm/common-c8dc0e85.js +35 -0
  437. package/dist/esm/conditionalSlot-2e16b206.js +51 -0
  438. package/dist/esm/config-e6645458.js +36 -0
  439. package/dist/esm/consent-manager.entry.js +7911 -42
  440. package/dist/esm/crowdsource-manager.entry.js +6 -6
  441. package/dist/esm/crowdsource-reporter.entry.js +3 -3
  442. package/dist/esm/cs-250e21c6.js +147 -0
  443. package/dist/esm/da-bab8eb4e.js +67 -0
  444. package/dist/esm/date-272939fd.js +248 -0
  445. package/dist/esm/de-808a43dc.js +91 -0
  446. package/dist/esm/de-at-9c396c81.js +90 -0
  447. package/dist/esm/de-ch-415303cf.js +90 -0
  448. package/dist/esm/deduct-calculator.entry.js +2 -2
  449. package/dist/esm/dom-66c5cd46.js +1165 -0
  450. package/dist/esm/downloadUtils-8ba094d7.js +3217 -0
  451. package/dist/esm/el-3d1eaeb8.js +66 -0
  452. package/dist/esm/en-au-e6b00a93.js +66 -0
  453. package/dist/esm/en-ca-29b94ea2.js +65 -0
  454. package/dist/esm/en-gb-09267176.js +69 -0
  455. package/dist/esm/es-95fef748.js +66 -0
  456. package/dist/esm/es-mx-9b70cfc9.js +65 -0
  457. package/dist/esm/et-08cbe214.js +92 -0
  458. package/dist/esm/feature-list.entry.js +12 -10
  459. package/dist/esm/fi-e850e58b.js +115 -0
  460. package/dist/esm/floating-ui-1a431a21.js +2404 -0
  461. package/dist/esm/focusTrapComponent-e80b8863.js +1008 -0
  462. package/dist/esm/form-1528db83.js +362 -0
  463. package/dist/esm/form-99398da6.js +372 -0
  464. package/dist/esm/fr-c71b6844.js +68 -0
  465. package/dist/esm/fr-ch-7ac7a7eb.js +66 -0
  466. package/dist/esm/he-311cb5ba.js +105 -0
  467. package/dist/esm/helpers-f52a734a.js +913 -0
  468. package/dist/esm/hi-c41f0938.js +65 -0
  469. package/dist/esm/hr-f42cc721.js +80 -0
  470. package/dist/esm/hu-d1d33b21.js +88 -0
  471. package/dist/esm/icon-18c0eb17.js +959 -0
  472. package/dist/esm/id-1867967d.js +66 -0
  473. package/dist/esm/index-38bde943.js +199 -0
  474. package/dist/esm/index-d233c7a2.js +1753 -0
  475. package/dist/esm/index-d88c3eb6.js +2155 -0
  476. package/dist/esm/index.es-d286eecc.js +11134 -0
  477. package/dist/esm/instant-apps-app-guide.entry.js +2 -2
  478. package/dist/esm/instant-apps-control-panel.entry.js +1 -1
  479. package/dist/esm/instant-apps-create.entry.js +2 -2
  480. package/dist/esm/instant-apps-export-views.entry.js +2 -2
  481. package/dist/esm/instant-apps-export.entry.js +2 -2
  482. package/dist/esm/instant-apps-header.entry.js +2 -2
  483. package/dist/esm/instant-apps-interactive-legend-classic.entry.js +3 -3
  484. package/dist/esm/instant-apps-interactive-legend-count_2.entry.js +3 -3
  485. package/dist/esm/instant-apps-interactive-legend-group-legend-element-caption.entry.js +3 -3
  486. package/dist/esm/instant-apps-interactive-legend-group-legend-element_5.entry.js +3 -3
  487. package/dist/esm/instant-apps-interactive-legend.entry.js +4 -4
  488. package/dist/esm/instant-apps-keyboard-shortcuts.entry.js +2 -2
  489. package/dist/esm/instant-apps-landing-page.entry.js +1 -1
  490. package/dist/esm/instant-apps-language-switcher.entry.js +4 -4
  491. package/dist/esm/instant-apps-language-translator.entry.js +4 -4
  492. package/dist/esm/instant-apps-measurement.entry.js +2 -2
  493. package/dist/esm/instant-apps-popover.entry.js +2 -2
  494. package/dist/esm/instant-apps-popovers.entry.js +1 -1
  495. package/dist/esm/instant-apps-scoreboard.entry.js +2 -2
  496. package/dist/esm/instant-apps-sign-in.entry.js +2 -2
  497. package/dist/esm/instant-apps-splash.entry.js +3 -3
  498. package/dist/esm/instant-apps-time-filter.entry.js +3 -3
  499. package/dist/esm/interactive-5139f8d7.js +83 -0
  500. package/dist/esm/interactive-cad37709.js +82 -0
  501. package/dist/esm/it-6a7495d8.js +66 -0
  502. package/dist/esm/it-ch-89fa3c82.js +66 -0
  503. package/dist/esm/ja-f87a1f44.js +72 -0
  504. package/dist/esm/ko-0f4c7a11.js +72 -0
  505. package/dist/esm/label-56002f24.js +179 -0
  506. package/dist/esm/loadable-dc3f24a8.js +93 -0
  507. package/dist/esm/loader-bae2aa52.js +173 -0
  508. package/dist/esm/loader.js +6 -6
  509. package/dist/esm/locale-586d9375.js +155 -0
  510. package/dist/esm/locale-911eca09.js +591 -0
  511. package/dist/esm/locale-be7fd298.js +1423 -0
  512. package/dist/esm/logger-ff14b12f.js +59 -0
  513. package/dist/esm/lt-a4b14416.js +97 -0
  514. package/dist/esm/lv-3901862d.js +66 -0
  515. package/dist/esm/map-select-tools_3.entry.js +13 -11
  516. package/dist/esm/mk-886d280d.js +66 -0
  517. package/dist/esm/nb-b667a0e1.js +67 -0
  518. package/dist/esm/nl-d357a092.js +67 -0
  519. package/dist/esm/observers-ab3d6528.js +56 -0
  520. package/dist/esm/openCloseComponent-0e1e6768.js +64 -0
  521. package/dist/esm/openCloseComponent-c3f79463.js +63 -0
  522. package/dist/esm/pci-calculator.entry.js +2 -2
  523. package/dist/esm/pl-75d54069.js +114 -0
  524. package/dist/esm/popupUtils-ddb1f6fa.js +119 -0
  525. package/dist/esm/pt-32bd5da2.js +67 -0
  526. package/dist/esm/pt-br-6f32314d.js +65 -0
  527. package/dist/esm/public-notification.entry.js +12 -10
  528. package/dist/esm/publicNotificationStore-8b54bf6f.js +45 -0
  529. package/dist/esm/request-2dbb152a.js +19 -0
  530. package/dist/esm/restHelpersGet-a7fda344.js +493 -0
  531. package/dist/esm/ro-d238055e.js +66 -0
  532. package/dist/esm/ru-ef7165ff.js +126 -0
  533. package/dist/esm/shared-list-render-5f202c55.js +339 -0
  534. package/dist/esm/sk-959dbca1.js +148 -0
  535. package/dist/esm/sl-96436015.js +168 -0
  536. package/dist/esm/solution-configuration.entry.js +34 -34
  537. package/dist/esm/solution-contents_3.entry.js +11 -11
  538. package/dist/esm/solution-item-accordion.entry.js +3 -3
  539. package/dist/esm/solution-item-icon.entry.js +2 -2
  540. package/dist/esm/solution-resource-30a29505.js +1842 -0
  541. package/dist/esm/solution-store-f252cb74.js +1103 -0
  542. package/dist/esm/solutions-components.js +7 -7
  543. package/dist/esm/spatial-ref.entry.js +5 -6
  544. package/dist/esm/sr-73033c89.js +101 -0
  545. package/dist/esm/store-manager.entry.js +7 -7
  546. package/dist/esm/sv-b1153aa8.js +71 -0
  547. package/dist/esm/t9n-1698878e.js +103 -0
  548. package/dist/esm/templates-60f33938.js +401 -0
  549. package/dist/esm/th-e1a074e2.js +65 -0
  550. package/dist/esm/time-bca5f70b.js +286 -0
  551. package/dist/esm/tr-1350f529.js +66 -0
  552. package/dist/esm/typeof-ef2a007d.js +25 -0
  553. package/dist/esm/uk-18ded66c.js +104 -0
  554. package/dist/esm/update-ad0b88fa.js +773 -0
  555. package/dist/esm/utils-0da093e1.js +142 -0
  556. package/dist/esm/utils-30c4c8ca.js +66 -0
  557. package/dist/esm/vi-cee99413.js +70 -0
  558. package/dist/esm/zh-cn-6e204128.js +94 -0
  559. package/dist/esm/zh-hk-ffb02673.js +92 -0
  560. package/dist/esm/zh-tw-0f52dd8c.js +92 -0
  561. package/dist/solutions-components/assets/t9n/consent-manager/resources.json +3 -10
  562. package/dist/solutions-components/assets/t9n/consent-manager/resources_en.json +3 -10
  563. package/dist/solutions-components/demos/consent-manager.html +56 -0
  564. package/dist/solutions-components/p-0094924f.entry.js +6 -0
  565. package/dist/solutions-components/p-00ea0ccc.entry.js +11 -0
  566. package/dist/solutions-components/p-018d1f95.entry.js +6 -0
  567. package/dist/solutions-components/p-025af0b3.entry.js +21 -0
  568. package/dist/solutions-components/p-0549a65c.js +6 -0
  569. package/dist/solutions-components/p-058d0542.js +17 -0
  570. package/dist/solutions-components/p-0668e30d.js +34 -0
  571. package/dist/solutions-components/p-066fc169.js +6 -0
  572. package/dist/solutions-components/p-067e36b2.entry.js +6 -0
  573. package/dist/solutions-components/p-0681b29b.entry.js +11 -0
  574. package/dist/solutions-components/p-0691d1af.entry.js +22 -0
  575. package/dist/solutions-components/p-088a5dca.js +67 -0
  576. package/dist/solutions-components/p-097b80df.js +6 -0
  577. package/dist/solutions-components/p-0a0902c4.entry.js +6 -0
  578. package/dist/solutions-components/p-0a71f549.entry.js +29 -0
  579. package/dist/solutions-components/p-0ac9cc4a.entry.js +21 -0
  580. package/dist/solutions-components/p-0b1fb6ae.js +36 -0
  581. package/dist/solutions-components/p-0d82ed7b.entry.js +11 -0
  582. package/dist/solutions-components/p-0e307601.entry.js +11 -0
  583. package/dist/solutions-components/p-0ece17fc.entry.js +6 -0
  584. package/dist/solutions-components/p-0f58bb3a.entry.js +11 -0
  585. package/dist/solutions-components/p-0f9f7528.entry.js +11 -0
  586. package/dist/solutions-components/p-135b2aba.js +16 -0
  587. package/dist/solutions-components/p-13bdb2c0.js +6 -0
  588. package/dist/solutions-components/p-14519a8a.entry.js +11 -0
  589. package/dist/solutions-components/p-1492bb6d.js +6 -0
  590. package/dist/solutions-components/p-1664573a.entry.js +6 -0
  591. package/dist/solutions-components/p-1900f9b1.js +11 -0
  592. package/dist/solutions-components/p-1984f2c7.entry.js +17 -0
  593. package/dist/solutions-components/p-1c1842b0.entry.js +6 -0
  594. package/dist/solutions-components/p-1f9d927b.entry.js +6 -0
  595. package/dist/solutions-components/p-1fb3756b.js +6 -0
  596. package/dist/solutions-components/p-208b5cc4.entry.js +6 -0
  597. package/dist/solutions-components/p-20cda8ef.entry.js +6 -0
  598. package/dist/solutions-components/p-2130a063.entry.js +17 -0
  599. package/dist/solutions-components/p-21f90019.js +21 -0
  600. package/dist/solutions-components/p-230f7315.entry.js +6 -0
  601. package/dist/solutions-components/p-24b42859.entry.js +47 -0
  602. package/dist/solutions-components/p-26f9f9c8.js +11 -0
  603. package/dist/solutions-components/p-270ca219.entry.js +6 -0
  604. package/dist/solutions-components/p-27a91364.entry.js +17 -0
  605. package/dist/solutions-components/p-28498868.entry.js +11 -0
  606. package/dist/solutions-components/p-2a5a5bfd.entry.js +11 -0
  607. package/dist/solutions-components/p-2ac553f6.js +6 -0
  608. package/dist/solutions-components/p-2b004a83.entry.js +11 -0
  609. package/dist/solutions-components/p-2b1e6acb.entry.js +6 -0
  610. package/dist/solutions-components/p-2bc98cb0.js +30 -0
  611. package/dist/solutions-components/p-2d96fdb9.js +6 -0
  612. package/dist/solutions-components/p-2dd8e49c.js +11 -0
  613. package/dist/solutions-components/p-30a16b7e.entry.js +11 -0
  614. package/dist/solutions-components/p-3212300b.entry.js +6 -0
  615. package/dist/solutions-components/p-35245316.entry.js +6 -0
  616. package/dist/solutions-components/p-3643a87a.entry.js +6 -0
  617. package/dist/solutions-components/p-3708cbdc.entry.js +6 -0
  618. package/dist/solutions-components/p-3828e77b.js +11 -0
  619. package/dist/solutions-components/p-38e0f88b.js +17 -0
  620. package/dist/solutions-components/p-3b3bfba5.entry.js +6 -0
  621. package/dist/solutions-components/p-3ba80c7c.js +6 -0
  622. package/dist/solutions-components/p-3d1f0434.js +21 -0
  623. package/dist/solutions-components/p-3ffc4738.js +6 -0
  624. package/dist/solutions-components/p-409401ce.js +11 -0
  625. package/dist/solutions-components/p-46159285.js +6 -0
  626. package/dist/solutions-components/p-49a67314.entry.js +6 -0
  627. package/dist/solutions-components/p-4cbdea35.js +129 -0
  628. package/dist/solutions-components/p-4dfc2fc4.js +11 -0
  629. package/dist/solutions-components/p-4f236b5d.js +43 -0
  630. package/dist/solutions-components/p-4f50385f.js +16 -0
  631. package/dist/solutions-components/p-4fe489cf.js +6 -0
  632. package/dist/solutions-components/p-50239e15.entry.js +6 -0
  633. package/dist/solutions-components/p-531f66c7.entry.js +6 -0
  634. package/dist/solutions-components/p-570754a4.js +6 -0
  635. package/dist/solutions-components/p-570b13d9.js +67 -0
  636. package/dist/solutions-components/p-58d53a46.entry.js +6 -0
  637. package/dist/solutions-components/p-59970898.js +6 -0
  638. package/dist/solutions-components/p-59d02697.entry.js +11 -0
  639. package/dist/solutions-components/p-5b2ae6c4.js +6 -0
  640. package/dist/solutions-components/p-5b9783e6.entry.js +23 -0
  641. package/dist/solutions-components/p-5c5cbe3c.js +6 -0
  642. package/dist/solutions-components/p-5c692ed6.entry.js +11 -0
  643. package/dist/solutions-components/p-5cfa35f8.js +6 -0
  644. package/dist/solutions-components/p-5d581b7e.entry.js +6 -0
  645. package/dist/solutions-components/p-5df09fe4.js +31 -0
  646. package/dist/solutions-components/p-5ee359f1.entry.js +11 -0
  647. package/dist/solutions-components/p-5f099cd2.js +6 -0
  648. package/dist/solutions-components/p-60123545.js +6 -0
  649. package/dist/solutions-components/p-6148468f.js +11 -0
  650. package/dist/solutions-components/p-617d2160.js +6 -0
  651. package/dist/solutions-components/p-619a1ad0.js +6 -0
  652. package/dist/solutions-components/p-61d2582e.entry.js +6 -0
  653. package/dist/solutions-components/p-662cf7fa.entry.js +11 -0
  654. package/dist/solutions-components/p-6708060e.js +11 -0
  655. package/dist/solutions-components/p-676a2d60.entry.js +6 -0
  656. package/dist/solutions-components/p-68b5ec37.js +11 -0
  657. package/dist/solutions-components/p-68cf5134.entry.js +12 -0
  658. package/dist/solutions-components/p-694cfe4c.js +6 -0
  659. package/dist/solutions-components/p-6bcde3c4.js +6 -0
  660. package/dist/solutions-components/p-6c73f067.js +16 -0
  661. package/dist/solutions-components/p-6d56f75e.js +11 -0
  662. package/dist/solutions-components/p-6db88e16.entry.js +11 -0
  663. package/dist/solutions-components/p-6f93ec3e.entry.js +6 -0
  664. package/dist/solutions-components/p-7053b20e.entry.js +6 -0
  665. package/dist/solutions-components/p-741151d4.js +6 -0
  666. package/dist/solutions-components/p-749fe711.js +6 -0
  667. package/dist/solutions-components/p-7518e92a.js +6 -0
  668. package/dist/solutions-components/p-7802efa1.entry.js +11 -0
  669. package/dist/solutions-components/p-782c71a7.js +6 -0
  670. package/dist/solutions-components/p-78aa10b0.js +6 -0
  671. package/dist/solutions-components/p-7a8edc01.entry.js +11 -0
  672. package/dist/solutions-components/p-7a9e773b.js +6 -0
  673. package/dist/solutions-components/p-7aa5b402.entry.js +11 -0
  674. package/dist/solutions-components/p-7aafba66.js +11 -0
  675. package/dist/solutions-components/p-7d619b04.entry.js +11 -0
  676. package/dist/solutions-components/p-7dc37540.js +11 -0
  677. package/dist/solutions-components/p-7e3a6a0b.entry.js +11 -0
  678. package/dist/solutions-components/p-7fd55161.entry.js +6 -0
  679. package/dist/solutions-components/p-80168ff4.entry.js +11 -0
  680. package/dist/solutions-components/p-823684a3.js +6 -0
  681. package/dist/solutions-components/p-825ef4a7.js +6 -0
  682. package/dist/solutions-components/p-82d93164.js +11 -0
  683. package/dist/solutions-components/p-82f661c7.entry.js +11 -0
  684. package/dist/solutions-components/p-8378852e.js +6 -0
  685. package/dist/solutions-components/p-85bb5908.js +11 -0
  686. package/dist/solutions-components/p-866a2fad.js +11 -0
  687. package/dist/solutions-components/p-8744fe2a.entry.js +6 -0
  688. package/dist/solutions-components/p-8850bd21.js +21 -0
  689. package/dist/solutions-components/p-896a5fce.entry.js +11 -0
  690. package/dist/solutions-components/p-8df5939f.js +6 -0
  691. package/dist/solutions-components/p-8ec56f08.entry.js +11 -0
  692. package/dist/solutions-components/p-8ff2cba2.entry.js +11 -0
  693. package/dist/solutions-components/p-8ff4b2aa.js +488 -0
  694. package/dist/solutions-components/p-94ad391c.js +40 -0
  695. package/dist/solutions-components/p-958c68c2.js +61 -0
  696. package/dist/solutions-components/p-95fcb607.js +6 -0
  697. package/dist/solutions-components/p-97df5300.js +27 -0
  698. package/dist/solutions-components/p-98079396.js +21 -0
  699. package/dist/solutions-components/p-98b1c057.entry.js +6 -0
  700. package/dist/solutions-components/p-9d4f62ca.js +6 -0
  701. package/dist/solutions-components/p-9d733373.entry.js +17 -0
  702. package/dist/solutions-components/p-9d9df87f.entry.js +6 -0
  703. package/dist/solutions-components/p-9e5d59aa.entry.js +11 -0
  704. package/dist/solutions-components/p-9f89901b.entry.js +6 -0
  705. package/dist/solutions-components/p-9fa8da35.entry.js +11 -0
  706. package/dist/solutions-components/p-a28502ac.entry.js +6 -0
  707. package/dist/solutions-components/p-a5df8093.entry.js +11 -0
  708. package/dist/solutions-components/p-a757bf75.js +16 -0
  709. package/dist/solutions-components/p-a7eded8f.entry.js +11 -0
  710. package/dist/solutions-components/p-a91fc014.entry.js +6 -0
  711. package/dist/solutions-components/p-aa6656f0.js +6 -0
  712. package/dist/solutions-components/p-abe60b81.entry.js +6 -0
  713. package/dist/solutions-components/p-ad66b010.entry.js +11 -0
  714. package/dist/solutions-components/p-adb57e25.entry.js +6 -0
  715. package/dist/solutions-components/p-add122e7.js +6 -0
  716. package/dist/solutions-components/p-ae357552.entry.js +11 -0
  717. package/dist/solutions-components/p-af4f2d4a.js +11 -0
  718. package/dist/solutions-components/p-b0d0022c.entry.js +11 -0
  719. package/dist/solutions-components/p-b14d2423.entry.js +11 -0
  720. package/dist/solutions-components/p-b1546c15.js +17 -0
  721. package/dist/solutions-components/p-b1c45ef8.entry.js +6 -0
  722. package/dist/solutions-components/p-b1f3c713.js +6 -0
  723. package/dist/solutions-components/p-b22046db.js +11 -0
  724. package/dist/solutions-components/p-b290affa.js +17 -0
  725. package/dist/solutions-components/p-b3b70f6b.entry.js +12 -0
  726. package/dist/solutions-components/p-b4a94ffe.entry.js +6 -0
  727. package/dist/solutions-components/p-b62871c3.entry.js +11 -0
  728. package/dist/solutions-components/p-b6a36bfe.js +6 -0
  729. package/dist/solutions-components/p-b915029b.js +6 -0
  730. package/dist/solutions-components/p-b98e9479.js +11 -0
  731. package/dist/solutions-components/p-b9bc3e7b.entry.js +17 -0
  732. package/dist/solutions-components/p-ba539e5a.entry.js +11 -0
  733. package/dist/solutions-components/p-bad614c0.entry.js +11 -0
  734. package/dist/solutions-components/p-bb158785.entry.js +11 -0
  735. package/dist/solutions-components/p-bc281e3b.js +6 -0
  736. package/dist/solutions-components/p-bc2b747e.js +6 -0
  737. package/dist/solutions-components/p-be78bc15.entry.js +6 -0
  738. package/dist/solutions-components/p-bf154e41.js +6 -0
  739. package/dist/solutions-components/p-c109e720.js +6 -0
  740. package/dist/solutions-components/p-c115215d.entry.js +6 -0
  741. package/dist/solutions-components/p-c433cc38.js +6 -0
  742. package/dist/solutions-components/p-c43fdf49.entry.js +16 -0
  743. package/dist/solutions-components/p-c5e0e5ef.js +6 -0
  744. package/dist/solutions-components/p-c766823c.entry.js +11 -0
  745. package/dist/solutions-components/p-c8a2c326.entry.js +29 -0
  746. package/dist/solutions-components/p-c8b26c56.js +6 -0
  747. package/dist/solutions-components/p-c900e9e8.entry.js +17 -0
  748. package/dist/solutions-components/p-c9dae6fb.entry.js +6 -0
  749. package/dist/solutions-components/p-cbf0769a.entry.js +11 -0
  750. package/dist/solutions-components/p-cc7d784e.entry.js +6 -0
  751. package/dist/solutions-components/p-ce8a69ef.entry.js +11 -0
  752. package/dist/solutions-components/p-cea51591.js +16 -0
  753. package/dist/solutions-components/p-d0b1d33f.js +6 -0
  754. package/dist/solutions-components/p-d0b36f2e.entry.js +6 -0
  755. package/dist/solutions-components/p-d2a6e970.js +6 -0
  756. package/dist/solutions-components/p-d2dc7d65.entry.js +11 -0
  757. package/dist/solutions-components/p-d60dc1f1.entry.js +11 -0
  758. package/dist/solutions-components/p-d654b676.entry.js +11 -0
  759. package/dist/solutions-components/p-d65f8b73.js +6 -0
  760. package/dist/solutions-components/p-d82ee2f9.entry.js +6 -0
  761. package/dist/solutions-components/p-d96fe526.entry.js +22 -0
  762. package/dist/solutions-components/p-da0cb140.entry.js +11 -0
  763. package/dist/solutions-components/p-da36faca.entry.js +6 -0
  764. package/dist/solutions-components/p-daf6a012.entry.js +6 -0
  765. package/dist/solutions-components/p-dba4704c.js +11 -0
  766. package/dist/solutions-components/p-dd16d94e.js +6 -0
  767. package/dist/solutions-components/p-dd689226.js +11 -0
  768. package/dist/solutions-components/p-dd6a34c6.entry.js +17 -0
  769. package/dist/solutions-components/p-df4bfe45.js +6 -0
  770. package/dist/solutions-components/p-dfe18931.js +6 -0
  771. package/dist/solutions-components/p-e2570a80.js +11 -0
  772. package/dist/solutions-components/p-ea9e0a79.js +6 -0
  773. package/dist/solutions-components/p-eb88fddc.js +6 -0
  774. package/dist/solutions-components/p-ed4fb4a1.entry.js +6 -0
  775. package/dist/solutions-components/p-ef0c43dc.js +6 -0
  776. package/dist/solutions-components/p-f05bbd82.entry.js +11 -0
  777. package/dist/solutions-components/p-f0ceb675.entry.js +11 -0
  778. package/dist/solutions-components/p-f1f356f0.js +7 -0
  779. package/dist/solutions-components/p-f46f7da7.entry.js +12 -0
  780. package/dist/solutions-components/p-f6e3d19a.entry.js +11 -0
  781. package/dist/solutions-components/p-f6e81cf8.js +22 -0
  782. package/dist/solutions-components/p-f7085e9e.entry.js +17 -0
  783. package/dist/solutions-components/p-f8ea8e73.js +6 -0
  784. package/dist/solutions-components/p-fb6ca6dd.entry.js +11 -0
  785. package/dist/solutions-components/p-fdaf1290.entry.js +11 -0
  786. package/dist/solutions-components/p-fe719f16.entry.js +6 -0
  787. package/dist/solutions-components/p-feebdac9.entry.js +17 -0
  788. package/dist/solutions-components/p-ff15447c.entry.js +6 -0
  789. package/dist/solutions-components/solutions-components.esm.js +1 -1
  790. package/dist/solutions-components/utils/interfaces.ts +14 -0
  791. package/dist/types/components/consent-manager/consent-manager.d.ts +24 -21
  792. package/dist/types/components/delete-button/delete-button.d.ts +1 -1
  793. package/dist/types/components/edit-card/edit-card.d.ts +4 -0
  794. package/dist/types/components/layer-table/layer-table.d.ts +55 -7
  795. package/dist/types/components/map-layer-picker/map-layer-picker.d.ts +18 -2
  796. package/dist/types/components/map-picker/map-picker.d.ts +10 -2
  797. package/dist/types/components.d.ts +69 -36
  798. package/dist/types/preact.d.ts +6 -7
  799. package/dist/types/stencil-public-runtime.d.ts +6 -0
  800. package/dist/types/utils/interfaces.d.ts +12 -0
  801. package/package.json +10 -10
  802. package/dist/cjs/ExpandToggle-7cd6bc0d.js +0 -115
  803. package/dist/cjs/FloatingArrow-bf91ebb1.js +0 -48
  804. package/dist/cjs/Heading-ae667128.js +0 -25
  805. package/dist/cjs/IdentityManager-b7fa2f5f.js +0 -4174
  806. package/dist/cjs/Validation-a206c7a2.js +0 -20
  807. package/dist/cjs/app-globals-04574c64.js +0 -67
  808. package/dist/cjs/ar-c930d85d.js +0 -106
  809. package/dist/cjs/arcgis-login.cjs.entry.js +0 -61
  810. package/dist/cjs/bg-a2001c61.js +0 -84
  811. package/dist/cjs/browser-040b13db.js +0 -35
  812. package/dist/cjs/bs-5576dc1b.js +0 -53
  813. package/dist/cjs/ca-220471e9.js +0 -73
  814. package/dist/cjs/calcite-alert_6.cjs.entry.js +0 -2105
  815. package/dist/cjs/calcite-button-ac4b979a.js +0 -281
  816. package/dist/cjs/calcite-dialog-97f38598.js +0 -5875
  817. package/dist/cjs/calcite-input-0ecf3d60.js +0 -1000
  818. package/dist/cjs/calcite-input-time-picker-4020e170.js +0 -1870
  819. package/dist/cjs/calcite-label-8ca1fbce.js +0 -110
  820. package/dist/cjs/calcite-modal.cjs.entry.js +0 -393
  821. package/dist/cjs/calcite-notice-2e248d8d.js +0 -260
  822. package/dist/cjs/common-eee0c33f.js +0 -38
  823. package/dist/cjs/conditionalSlot-489d0ef0.js +0 -54
  824. package/dist/cjs/config-164bf148.js +0 -40
  825. package/dist/cjs/cs-a049b34a.js +0 -149
  826. package/dist/cjs/da-d71057be.js +0 -69
  827. package/dist/cjs/date-831e93f2.js +0 -264
  828. package/dist/cjs/de-at-977ab186.js +0 -92
  829. package/dist/cjs/de-b1eb21d0.js +0 -93
  830. package/dist/cjs/de-ch-486d1e5d.js +0 -92
  831. package/dist/cjs/delete-dialog.cjs.entry.js +0 -131
  832. package/dist/cjs/downloadUtils-f50841bc.js +0 -3240
  833. package/dist/cjs/el-577ee36f.js +0 -68
  834. package/dist/cjs/en-au-e7c3a0f9.js +0 -68
  835. package/dist/cjs/en-ca-111580b6.js +0 -67
  836. package/dist/cjs/en-gb-b061a0ac.js +0 -71
  837. package/dist/cjs/es-ae90d3b8.js +0 -68
  838. package/dist/cjs/es-mx-620f2f82.js +0 -67
  839. package/dist/cjs/et-3b0bd1a9.js +0 -94
  840. package/dist/cjs/fi-8708148b.js +0 -117
  841. package/dist/cjs/floating-ui-a1745c4c.js +0 -2413
  842. package/dist/cjs/focusTrapComponent-59e1194f.js +0 -1013
  843. package/dist/cjs/form-3666a51b.js +0 -370
  844. package/dist/cjs/form-a2adec8c.js +0 -381
  845. package/dist/cjs/fr-9a9d3ce3.js +0 -70
  846. package/dist/cjs/fr-ch-95662c01.js +0 -68
  847. package/dist/cjs/he-f973a740.js +0 -107
  848. package/dist/cjs/helpers-292a0709.js +0 -940
  849. package/dist/cjs/hi-f0b9cea5.js +0 -67
  850. package/dist/cjs/hr-4654706f.js +0 -82
  851. package/dist/cjs/hu-bc3d5588.js +0 -90
  852. package/dist/cjs/icon-96d27ae8.js +0 -979
  853. package/dist/cjs/id-1131b8da.js +0 -68
  854. package/dist/cjs/index-29826564.js +0 -201
  855. package/dist/cjs/index-92385c74.js +0 -1772
  856. package/dist/cjs/index-f052f656.js +0 -2156
  857. package/dist/cjs/index.es-b8c8c931.js +0 -11307
  858. package/dist/cjs/instant-apps-ckeditor-wrapper_3.cjs.entry.js +0 -590
  859. package/dist/cjs/interactive-9f715ff8.js +0 -86
  860. package/dist/cjs/interactive-c384fd9b.js +0 -85
  861. package/dist/cjs/it-7a8ec220.js +0 -68
  862. package/dist/cjs/it-ch-f9cb696d.js +0 -68
  863. package/dist/cjs/ja-45b4845d.js +0 -74
  864. package/dist/cjs/ko-61449645.js +0 -74
  865. package/dist/cjs/loadable-9cb8a3cd.js +0 -98
  866. package/dist/cjs/loader-b9aa1d67.js +0 -176
  867. package/dist/cjs/locale-a0772a2b.js +0 -605
  868. package/dist/cjs/locale-afa30303.js +0 -160
  869. package/dist/cjs/locale-f6e0493d.js +0 -1488
  870. package/dist/cjs/logger-e5bdc044.js +0 -61
  871. package/dist/cjs/lt-2e727f9c.js +0 -99
  872. package/dist/cjs/lv-ed202e00.js +0 -68
  873. package/dist/cjs/mk-418a9e03.js +0 -68
  874. package/dist/cjs/nb-333e1c58.js +0 -69
  875. package/dist/cjs/nl-da937865.js +0 -69
  876. package/dist/cjs/observers-ce262300.js +0 -58
  877. package/dist/cjs/openCloseComponent-214808b0.js +0 -66
  878. package/dist/cjs/openCloseComponent-c0b7af22.js +0 -65
  879. package/dist/cjs/pl-cbe57516.js +0 -116
  880. package/dist/cjs/popupUtils-2a425c37.js +0 -121
  881. package/dist/cjs/pt-b1ec4928.js +0 -69
  882. package/dist/cjs/pt-br-e395a325.js +0 -67
  883. package/dist/cjs/publicNotificationStore-1d934df9.js +0 -47
  884. package/dist/cjs/request-9f87ab34.js +0 -21
  885. package/dist/cjs/restHelpersGet-5c2245a3.js +0 -991
  886. package/dist/cjs/ro-144b5f62.js +0 -68
  887. package/dist/cjs/ru-bf7d1a3e.js +0 -128
  888. package/dist/cjs/share-item.cjs.entry.js +0 -61
  889. package/dist/cjs/shared-list-render-0b452799.js +0 -361
  890. package/dist/cjs/sk-515227a5.js +0 -150
  891. package/dist/cjs/sl-f879b07d.js +0 -170
  892. package/dist/cjs/solution-resource-40e70253.js +0 -145
  893. package/dist/cjs/solution-store-f3257490.js +0 -1354
  894. package/dist/cjs/sr-0510fba6.js +0 -103
  895. package/dist/cjs/sv-c5fbe1ff.js +0 -73
  896. package/dist/cjs/t9n-e69b3d42.js +0 -108
  897. package/dist/cjs/templates-0b7f886f.js +0 -408
  898. package/dist/cjs/th-8cafcb47.js +0 -67
  899. package/dist/cjs/time-ceec376d.js +0 -301
  900. package/dist/cjs/tr-7f905223.js +0 -68
  901. package/dist/cjs/uk-991e83da.js +0 -106
  902. package/dist/cjs/utils-d8dabd76.js +0 -153
  903. package/dist/cjs/utils-e60dc760.js +0 -79
  904. package/dist/cjs/vi-d5eababe.js +0 -72
  905. package/dist/cjs/zh-cn-e6bc2622.js +0 -96
  906. package/dist/cjs/zh-hk-30480131.js +0 -94
  907. package/dist/cjs/zh-tw-1f3b4cda.js +0 -94
  908. package/dist/collection/components/arcgis-login/arcgis-login.css +0 -19
  909. package/dist/collection/components/arcgis-login/arcgis-login.js +0 -80
  910. package/dist/collection/components/share-item/share-item.css +0 -19
  911. package/dist/collection/components/share-item/share-item.js +0 -80
  912. package/dist/components/arcgis-login.d.ts +0 -11
  913. package/dist/components/arcgis-login.js +0 -76
  914. package/dist/components/share-item.d.ts +0 -11
  915. package/dist/components/share-item.js +0 -76
  916. package/dist/esm/ExpandToggle-51a5210b.js +0 -108
  917. package/dist/esm/FloatingArrow-41be757a.js +0 -46
  918. package/dist/esm/Heading-62ae5a41.js +0 -22
  919. package/dist/esm/IdentityManager-28f1ebb3.js +0 -4139
  920. package/dist/esm/Validation-e4b3bd31.js +0 -18
  921. package/dist/esm/app-globals-9df1c281.js +0 -65
  922. package/dist/esm/ar-000d3816.js +0 -104
  923. package/dist/esm/arcgis-login.entry.js +0 -57
  924. package/dist/esm/bg-50ceeb3e.js +0 -82
  925. package/dist/esm/browser-13cd5e9f.js +0 -32
  926. package/dist/esm/bs-8de5a54e.js +0 -51
  927. package/dist/esm/ca-3b560649.js +0 -71
  928. package/dist/esm/calcite-alert_6.entry.js +0 -2096
  929. package/dist/esm/calcite-button-3501ac03.js +0 -278
  930. package/dist/esm/calcite-dialog-21f00586.js +0 -5872
  931. package/dist/esm/calcite-input-355d3812.js +0 -997
  932. package/dist/esm/calcite-input-time-picker-0137aecc.js +0 -1867
  933. package/dist/esm/calcite-label-ac4a2e81.js +0 -107
  934. package/dist/esm/calcite-modal.entry.js +0 -389
  935. package/dist/esm/calcite-notice-56c3f190.js +0 -257
  936. package/dist/esm/common-c3bbba83.js +0 -36
  937. package/dist/esm/conditionalSlot-3eb5090f.js +0 -51
  938. package/dist/esm/config-1d142af8.js +0 -36
  939. package/dist/esm/cs-5cdc1d3f.js +0 -147
  940. package/dist/esm/da-30365c90.js +0 -67
  941. package/dist/esm/date-ac9ec758.js +0 -248
  942. package/dist/esm/de-at-941b583e.js +0 -90
  943. package/dist/esm/de-b89def95.js +0 -91
  944. package/dist/esm/de-ch-568c0c8e.js +0 -90
  945. package/dist/esm/delete-dialog.entry.js +0 -127
  946. package/dist/esm/dom-6f6759df.js +0 -1165
  947. package/dist/esm/downloadUtils-74a6bad9.js +0 -3233
  948. package/dist/esm/el-340bad09.js +0 -66
  949. package/dist/esm/en-au-b4bdb56c.js +0 -66
  950. package/dist/esm/en-ca-0a08923c.js +0 -65
  951. package/dist/esm/en-gb-f5381626.js +0 -69
  952. package/dist/esm/es-876b0a13.js +0 -66
  953. package/dist/esm/es-mx-955bc6a1.js +0 -65
  954. package/dist/esm/et-c76bc3b6.js +0 -92
  955. package/dist/esm/fi-52e100ba.js +0 -115
  956. package/dist/esm/floating-ui-5be07261.js +0 -2404
  957. package/dist/esm/focusTrapComponent-821ef6e1.js +0 -1008
  958. package/dist/esm/form-df6403ca.js +0 -362
  959. package/dist/esm/form-fbc745ea.js +0 -372
  960. package/dist/esm/fr-0699e247.js +0 -68
  961. package/dist/esm/fr-ch-c58b9b94.js +0 -66
  962. package/dist/esm/he-68c61be9.js +0 -105
  963. package/dist/esm/helpers-50d61130.js +0 -913
  964. package/dist/esm/hi-32cfce47.js +0 -65
  965. package/dist/esm/hr-962d1e56.js +0 -80
  966. package/dist/esm/hu-d13da86a.js +0 -88
  967. package/dist/esm/icon-3fb97c97.js +0 -959
  968. package/dist/esm/id-6de1980b.js +0 -66
  969. package/dist/esm/index-1b6f06f9.js +0 -199
  970. package/dist/esm/index-3eee2657.js +0 -1736
  971. package/dist/esm/index-e14fade9.js +0 -2154
  972. package/dist/esm/index.es-3b04354a.js +0 -11220
  973. package/dist/esm/instant-apps-ckeditor-wrapper_3.entry.js +0 -584
  974. package/dist/esm/interactive-62057336.js +0 -82
  975. package/dist/esm/interactive-8a35f349.js +0 -83
  976. package/dist/esm/it-cccb6e82.js +0 -66
  977. package/dist/esm/it-ch-9d87107f.js +0 -66
  978. package/dist/esm/ja-1401a8ec.js +0 -72
  979. package/dist/esm/ko-9f06170e.js +0 -72
  980. package/dist/esm/label-1ef4763d.js +0 -179
  981. package/dist/esm/loadable-bbec26c5.js +0 -93
  982. package/dist/esm/loader-6a8f3dda.js +0 -173
  983. package/dist/esm/locale-22b2e8b1.js +0 -155
  984. package/dist/esm/locale-92d419e3.js +0 -1423
  985. package/dist/esm/locale-9f52f113.js +0 -591
  986. package/dist/esm/logger-5eff868b.js +0 -59
  987. package/dist/esm/lt-61945627.js +0 -97
  988. package/dist/esm/lv-def8646d.js +0 -66
  989. package/dist/esm/mk-db09f1f6.js +0 -66
  990. package/dist/esm/nb-ea4966a3.js +0 -67
  991. package/dist/esm/nl-159f195e.js +0 -67
  992. package/dist/esm/observers-4e931eb6.js +0 -56
  993. package/dist/esm/openCloseComponent-2022c9ab.js +0 -64
  994. package/dist/esm/openCloseComponent-9ae0e1fe.js +0 -63
  995. package/dist/esm/pl-5514150f.js +0 -114
  996. package/dist/esm/popupUtils-685635b7.js +0 -119
  997. package/dist/esm/pt-91415524.js +0 -67
  998. package/dist/esm/pt-br-0f472af4.js +0 -65
  999. package/dist/esm/publicNotificationStore-836d3cb4.js +0 -45
  1000. package/dist/esm/request-d71d6adf.js +0 -19
  1001. package/dist/esm/restHelpersGet-48113381.js +0 -976
  1002. package/dist/esm/ro-decfcb47.js +0 -66
  1003. package/dist/esm/ru-84ce786d.js +0 -126
  1004. package/dist/esm/share-item.entry.js +0 -57
  1005. package/dist/esm/shared-list-render-4dbefca0.js +0 -339
  1006. package/dist/esm/sk-4468c163.js +0 -148
  1007. package/dist/esm/sl-404f285f.js +0 -168
  1008. package/dist/esm/solution-resource-f5809979.js +0 -142
  1009. package/dist/esm/solution-store-5b79fffe.js +0 -1352
  1010. package/dist/esm/sr-152d8bf8.js +0 -101
  1011. package/dist/esm/sv-47115030.js +0 -71
  1012. package/dist/esm/t9n-cbccd1ca.js +0 -103
  1013. package/dist/esm/templates-0b442208.js +0 -402
  1014. package/dist/esm/th-1c539f57.js +0 -65
  1015. package/dist/esm/time-53cad131.js +0 -286
  1016. package/dist/esm/tr-432df990.js +0 -66
  1017. package/dist/esm/uk-46c024d3.js +0 -104
  1018. package/dist/esm/utils-0e3d8992.js +0 -142
  1019. package/dist/esm/utils-d55c5742.js +0 -66
  1020. package/dist/esm/vi-2ad870b8.js +0 -70
  1021. package/dist/esm/zh-cn-1955c2ce.js +0 -94
  1022. package/dist/esm/zh-hk-b32fb4c1.js +0 -92
  1023. package/dist/esm/zh-tw-67bdf163.js +0 -92
  1024. package/dist/solutions-components/p-000848d5.js +0 -6
  1025. package/dist/solutions-components/p-01021fdb.js +0 -6
  1026. package/dist/solutions-components/p-02800894.entry.js +0 -11
  1027. package/dist/solutions-components/p-03434d39.js +0 -11
  1028. package/dist/solutions-components/p-060b853f.entry.js +0 -6
  1029. package/dist/solutions-components/p-0bd7c945.js +0 -6
  1030. package/dist/solutions-components/p-0c985f61.entry.js +0 -6
  1031. package/dist/solutions-components/p-0ca3272e.entry.js +0 -6
  1032. package/dist/solutions-components/p-0ebb1a18.js +0 -11
  1033. package/dist/solutions-components/p-1092fdc9.entry.js +0 -6
  1034. package/dist/solutions-components/p-16afbc95.entry.js +0 -6
  1035. package/dist/solutions-components/p-18c10df7.entry.js +0 -6
  1036. package/dist/solutions-components/p-194bcdd6.entry.js +0 -12
  1037. package/dist/solutions-components/p-197cfd05.js +0 -6
  1038. package/dist/solutions-components/p-1afc6682.js +0 -6
  1039. package/dist/solutions-components/p-1c80d549.entry.js +0 -17
  1040. package/dist/solutions-components/p-1cbec431.entry.js +0 -6
  1041. package/dist/solutions-components/p-1e60d3ea.js +0 -6
  1042. package/dist/solutions-components/p-23c2e69d.entry.js +0 -11
  1043. package/dist/solutions-components/p-23d24056.entry.js +0 -11
  1044. package/dist/solutions-components/p-25ebeb0c.entry.js +0 -11
  1045. package/dist/solutions-components/p-25f84466.entry.js +0 -11
  1046. package/dist/solutions-components/p-25fe9f3e.entry.js +0 -6
  1047. package/dist/solutions-components/p-26ba0cc7.js +0 -17
  1048. package/dist/solutions-components/p-291faeb2.js +0 -6
  1049. package/dist/solutions-components/p-2a6eba20.entry.js +0 -11
  1050. package/dist/solutions-components/p-2b389ce5.entry.js +0 -11
  1051. package/dist/solutions-components/p-2b77a660.entry.js +0 -11
  1052. package/dist/solutions-components/p-2c78f92c.entry.js +0 -11
  1053. package/dist/solutions-components/p-2e193975.entry.js +0 -17
  1054. package/dist/solutions-components/p-32262047.entry.js +0 -11
  1055. package/dist/solutions-components/p-36470f6b.js +0 -6
  1056. package/dist/solutions-components/p-36552016.entry.js +0 -12
  1057. package/dist/solutions-components/p-37ddeea3.js +0 -488
  1058. package/dist/solutions-components/p-3812d485.entry.js +0 -6
  1059. package/dist/solutions-components/p-3948268c.entry.js +0 -6
  1060. package/dist/solutions-components/p-3b312dff.js +0 -6
  1061. package/dist/solutions-components/p-3b451796.js +0 -6
  1062. package/dist/solutions-components/p-3b54163f.js +0 -11
  1063. package/dist/solutions-components/p-3b859054.js +0 -16
  1064. package/dist/solutions-components/p-3cf3c658.entry.js +0 -29
  1065. package/dist/solutions-components/p-3d6698a7.js +0 -11
  1066. package/dist/solutions-components/p-3dfe5cdb.js +0 -6
  1067. package/dist/solutions-components/p-3e4ac28d.entry.js +0 -6
  1068. package/dist/solutions-components/p-3f0f6504.js +0 -6
  1069. package/dist/solutions-components/p-3f18fb1f.js +0 -11
  1070. package/dist/solutions-components/p-3f20a550.entry.js +0 -6
  1071. package/dist/solutions-components/p-3fc70768.entry.js +0 -6
  1072. package/dist/solutions-components/p-405118a8.entry.js +0 -11
  1073. package/dist/solutions-components/p-412759ed.entry.js +0 -11
  1074. package/dist/solutions-components/p-46da7d9f.entry.js +0 -6
  1075. package/dist/solutions-components/p-47fdc484.js +0 -17
  1076. package/dist/solutions-components/p-4858ae16.js +0 -6
  1077. package/dist/solutions-components/p-49888ae8.entry.js +0 -11
  1078. package/dist/solutions-components/p-4a13d8d9.js +0 -6
  1079. package/dist/solutions-components/p-4b1a9c65.js +0 -6
  1080. package/dist/solutions-components/p-4d14be12.entry.js +0 -11
  1081. package/dist/solutions-components/p-50721c04.js +0 -16
  1082. package/dist/solutions-components/p-531c7fdb.js +0 -11
  1083. package/dist/solutions-components/p-535335f2.js +0 -6
  1084. package/dist/solutions-components/p-53bf0fe4.js +0 -6
  1085. package/dist/solutions-components/p-544e3025.entry.js +0 -11
  1086. package/dist/solutions-components/p-55a6c0d1.entry.js +0 -6
  1087. package/dist/solutions-components/p-55b8fab3.entry.js +0 -6
  1088. package/dist/solutions-components/p-564d285a.entry.js +0 -6
  1089. package/dist/solutions-components/p-56b44bf7.entry.js +0 -11
  1090. package/dist/solutions-components/p-57079c91.entry.js +0 -6
  1091. package/dist/solutions-components/p-5732176e.entry.js +0 -47
  1092. package/dist/solutions-components/p-57409415.js +0 -17
  1093. package/dist/solutions-components/p-576843e9.js +0 -11
  1094. package/dist/solutions-components/p-5773023c.entry.js +0 -11
  1095. package/dist/solutions-components/p-5c20cdef.entry.js +0 -11
  1096. package/dist/solutions-components/p-5d1ab17e.entry.js +0 -21
  1097. package/dist/solutions-components/p-5dd95ca6.entry.js +0 -20
  1098. package/dist/solutions-components/p-5e71e72a.js +0 -21
  1099. package/dist/solutions-components/p-5f9afbb9.entry.js +0 -17
  1100. package/dist/solutions-components/p-6155f4e7.js +0 -6
  1101. package/dist/solutions-components/p-619b12c3.entry.js +0 -17
  1102. package/dist/solutions-components/p-61bd743b.entry.js +0 -22
  1103. package/dist/solutions-components/p-64860143.entry.js +0 -11
  1104. package/dist/solutions-components/p-64a569da.entry.js +0 -6
  1105. package/dist/solutions-components/p-6a1a4124.js +0 -6
  1106. package/dist/solutions-components/p-6b8a94f0.entry.js +0 -6
  1107. package/dist/solutions-components/p-6e842050.entry.js +0 -11
  1108. package/dist/solutions-components/p-721bf278.js +0 -6
  1109. package/dist/solutions-components/p-731eb030.js +0 -11
  1110. package/dist/solutions-components/p-73db9e69.entry.js +0 -11
  1111. package/dist/solutions-components/p-73e24177.js +0 -6
  1112. package/dist/solutions-components/p-74b25167.entry.js +0 -11
  1113. package/dist/solutions-components/p-7530a02f.js +0 -30
  1114. package/dist/solutions-components/p-760f833e.js +0 -6
  1115. package/dist/solutions-components/p-7781048a.js +0 -11
  1116. package/dist/solutions-components/p-779c8194.entry.js +0 -6
  1117. package/dist/solutions-components/p-7a1177c0.entry.js +0 -6
  1118. package/dist/solutions-components/p-7c7549b0.js +0 -61
  1119. package/dist/solutions-components/p-7e574f00.js +0 -11
  1120. package/dist/solutions-components/p-80913362.entry.js +0 -11
  1121. package/dist/solutions-components/p-80e05130.entry.js +0 -11
  1122. package/dist/solutions-components/p-81a2f4c3.entry.js +0 -12
  1123. package/dist/solutions-components/p-81c41f7b.entry.js +0 -11
  1124. package/dist/solutions-components/p-82ee3b26.js +0 -7
  1125. package/dist/solutions-components/p-8354374d.entry.js +0 -6
  1126. package/dist/solutions-components/p-844b7f82.entry.js +0 -6
  1127. package/dist/solutions-components/p-8535b484.entry.js +0 -17
  1128. package/dist/solutions-components/p-853db1b6.entry.js +0 -6
  1129. package/dist/solutions-components/p-85c0d237.entry.js +0 -11
  1130. package/dist/solutions-components/p-885b958c.entry.js +0 -6
  1131. package/dist/solutions-components/p-88e8400a.entry.js +0 -11
  1132. package/dist/solutions-components/p-899179d7.js +0 -6
  1133. package/dist/solutions-components/p-8a9d2564.entry.js +0 -11
  1134. package/dist/solutions-components/p-8b60e48a.entry.js +0 -11
  1135. package/dist/solutions-components/p-8d028e6a.entry.js +0 -11
  1136. package/dist/solutions-components/p-8f7a11c9.js +0 -21
  1137. package/dist/solutions-components/p-90240f7f.entry.js +0 -6
  1138. package/dist/solutions-components/p-917b535b.js +0 -11
  1139. package/dist/solutions-components/p-929b5bd1.entry.js +0 -6
  1140. package/dist/solutions-components/p-92c8093d.entry.js +0 -6
  1141. package/dist/solutions-components/p-934a6d75.js +0 -6
  1142. package/dist/solutions-components/p-938fc0cf.entry.js +0 -6
  1143. package/dist/solutions-components/p-94b818bb.js +0 -11
  1144. package/dist/solutions-components/p-973ec320.js +0 -36
  1145. package/dist/solutions-components/p-97b64bea.entry.js +0 -11
  1146. package/dist/solutions-components/p-97e56ccc.js +0 -6
  1147. package/dist/solutions-components/p-9b513db6.entry.js +0 -16
  1148. package/dist/solutions-components/p-9bb44f57.js +0 -65
  1149. package/dist/solutions-components/p-9c33a239.entry.js +0 -6
  1150. package/dist/solutions-components/p-9cc10554.js +0 -6
  1151. package/dist/solutions-components/p-9ce8e34f.js +0 -11
  1152. package/dist/solutions-components/p-9f38488c.js +0 -6
  1153. package/dist/solutions-components/p-a104bc28.js +0 -6
  1154. package/dist/solutions-components/p-a1e6cfd8.js +0 -6
  1155. package/dist/solutions-components/p-a3633e71.entry.js +0 -6
  1156. package/dist/solutions-components/p-a3bc6dd8.entry.js +0 -29
  1157. package/dist/solutions-components/p-a412c674.js +0 -11
  1158. package/dist/solutions-components/p-a4748493.entry.js +0 -11
  1159. package/dist/solutions-components/p-a570536b.js +0 -6
  1160. package/dist/solutions-components/p-a60d197e.entry.js +0 -6
  1161. package/dist/solutions-components/p-a806b4cf.entry.js +0 -17
  1162. package/dist/solutions-components/p-a927a4e4.entry.js +0 -6
  1163. package/dist/solutions-components/p-aaa0d91b.entry.js +0 -11
  1164. package/dist/solutions-components/p-ab2a12e4.entry.js +0 -17
  1165. package/dist/solutions-components/p-abcf272c.entry.js +0 -23
  1166. package/dist/solutions-components/p-ad536cdf.js +0 -11
  1167. package/dist/solutions-components/p-aef6e1f5.js +0 -6
  1168. package/dist/solutions-components/p-b13d3b66.js +0 -6
  1169. package/dist/solutions-components/p-b2064f52.entry.js +0 -6
  1170. package/dist/solutions-components/p-b209d4b9.js +0 -6
  1171. package/dist/solutions-components/p-b2a1177d.entry.js +0 -11
  1172. package/dist/solutions-components/p-b54b2fc6.js +0 -31
  1173. package/dist/solutions-components/p-b56b9a89.js +0 -11
  1174. package/dist/solutions-components/p-b5fe0c3e.entry.js +0 -6
  1175. package/dist/solutions-components/p-b6ea0097.js +0 -6
  1176. package/dist/solutions-components/p-b7b32972.entry.js +0 -6
  1177. package/dist/solutions-components/p-b7b5e88d.entry.js +0 -11
  1178. package/dist/solutions-components/p-b9afb782.entry.js +0 -6
  1179. package/dist/solutions-components/p-b9b3b48a.entry.js +0 -6
  1180. package/dist/solutions-components/p-ba62b5f4.js +0 -16
  1181. package/dist/solutions-components/p-bb9e232f.js +0 -6
  1182. package/dist/solutions-components/p-bba22752.js +0 -6
  1183. package/dist/solutions-components/p-bc47653a.js +0 -6
  1184. package/dist/solutions-components/p-bccc997c.js +0 -6
  1185. package/dist/solutions-components/p-bd220980.js +0 -21
  1186. package/dist/solutions-components/p-bd6a96db.js +0 -6
  1187. package/dist/solutions-components/p-bded7c22.entry.js +0 -6
  1188. package/dist/solutions-components/p-be28e2bf.js +0 -6
  1189. package/dist/solutions-components/p-be7c3f1d.js +0 -6
  1190. package/dist/solutions-components/p-c023fc82.js +0 -6
  1191. package/dist/solutions-components/p-c1160ad0.entry.js +0 -6
  1192. package/dist/solutions-components/p-c26b8546.entry.js +0 -6
  1193. package/dist/solutions-components/p-c2ff1a82.js +0 -6
  1194. package/dist/solutions-components/p-c323117d.js +0 -16
  1195. package/dist/solutions-components/p-c5713c95.entry.js +0 -11
  1196. package/dist/solutions-components/p-c8c16d43.js +0 -11
  1197. package/dist/solutions-components/p-c9b5a34f.js +0 -52
  1198. package/dist/solutions-components/p-ca26f8f8.js +0 -6
  1199. package/dist/solutions-components/p-cb007d2f.js +0 -6
  1200. package/dist/solutions-components/p-cc9e1367.entry.js +0 -6
  1201. package/dist/solutions-components/p-cdadd82c.entry.js +0 -17
  1202. package/dist/solutions-components/p-ce67bbbb.js +0 -11
  1203. package/dist/solutions-components/p-cf46113c.js +0 -6
  1204. package/dist/solutions-components/p-cfc2fae0.entry.js +0 -17
  1205. package/dist/solutions-components/p-d0d020a5.js +0 -37
  1206. package/dist/solutions-components/p-d21f3851.js +0 -11
  1207. package/dist/solutions-components/p-d2c460b9.entry.js +0 -11
  1208. package/dist/solutions-components/p-d4c44a94.js +0 -6
  1209. package/dist/solutions-components/p-dca07fd3.js +0 -143
  1210. package/dist/solutions-components/p-dcfe9514.entry.js +0 -6
  1211. package/dist/solutions-components/p-dd0bee4a.entry.js +0 -6
  1212. package/dist/solutions-components/p-de2fecc0.js +0 -40
  1213. package/dist/solutions-components/p-de44364f.js +0 -11
  1214. package/dist/solutions-components/p-decc356d.entry.js +0 -11
  1215. package/dist/solutions-components/p-e043aae3.js +0 -6
  1216. package/dist/solutions-components/p-e04831b9.js +0 -6
  1217. package/dist/solutions-components/p-e06f90a2.entry.js +0 -11
  1218. package/dist/solutions-components/p-e0e6d099.js +0 -21
  1219. package/dist/solutions-components/p-e21cb40e.entry.js +0 -11
  1220. package/dist/solutions-components/p-e33b7602.js +0 -6
  1221. package/dist/solutions-components/p-e385cdcf.entry.js +0 -11
  1222. package/dist/solutions-components/p-e3e89708.entry.js +0 -11
  1223. package/dist/solutions-components/p-e4206773.entry.js +0 -11
  1224. package/dist/solutions-components/p-e4c16e8f.entry.js +0 -6
  1225. package/dist/solutions-components/p-e6b2432e.entry.js +0 -6
  1226. package/dist/solutions-components/p-e76f93bc.js +0 -11
  1227. package/dist/solutions-components/p-e82a84ac.entry.js +0 -6
  1228. package/dist/solutions-components/p-e9d3365f.js +0 -22
  1229. package/dist/solutions-components/p-eb1edf3e.entry.js +0 -6
  1230. package/dist/solutions-components/p-ebac7396.entry.js +0 -6
  1231. package/dist/solutions-components/p-ecabb824.entry.js +0 -6
  1232. package/dist/solutions-components/p-ecfe49cf.entry.js +0 -6
  1233. package/dist/solutions-components/p-ed50a65b.entry.js +0 -17
  1234. package/dist/solutions-components/p-eda5e49e.entry.js +0 -11
  1235. package/dist/solutions-components/p-ef51b934.js +0 -6
  1236. package/dist/solutions-components/p-f22622b4.js +0 -6
  1237. package/dist/solutions-components/p-f2340619.js +0 -6
  1238. package/dist/solutions-components/p-f33c5883.entry.js +0 -6
  1239. package/dist/solutions-components/p-f4eea8c2.js +0 -67
  1240. package/dist/solutions-components/p-f7653a0b.js +0 -6
  1241. package/dist/solutions-components/p-f876de3f.js +0 -6
  1242. package/dist/solutions-components/p-f87f02a1.entry.js +0 -6
  1243. package/dist/solutions-components/p-faaf42a3.entry.js +0 -11
  1244. package/dist/solutions-components/p-fcd719b7.entry.js +0 -22
  1245. package/dist/solutions-components/p-fd152d68.js +0 -16
  1246. package/dist/solutions-components/p-fdf5a50e.entry.js +0 -11
  1247. package/dist/solutions-components/p-fe43b510.js +0 -17
  1248. package/dist/solutions-components/p-ff609816.entry.js +0 -11
  1249. package/dist/types/components/arcgis-login/arcgis-login.d.ts +0 -19
  1250. package/dist/types/components/share-item/share-item.d.ts +0 -19
@@ -0,0 +1,27 @@
1
+ /*!
2
+ * Copyright 2022 Esri
3
+ * Licensed under the Apache License, Version 2.0
4
+ * http://www.apache.org/licenses/LICENSE-2.0
5
+ */
6
+ import{r as t,t as e,n as i,l as s,j as n,e as r,f as o,h,i as l,k as a,m as c,u,o as d,p as f,q as p,v as m,w as v,x as g,y as w,z as y,N as b,A as k,B as S,C as _,D as A,E as I,F as O,P as j,G as x,_ as $,H as T,I as E,J as C,K as U,M as P,O as M,Q as R,R as D,S as N,T as q,U as L,V as z,W as B,X as F,s as H,Y as J,Z as V,$ as W,a0 as G,a1 as Y,a2 as X,a3 as K,a4 as Q,a5 as Z,a6 as tt,a7 as et,a8 as it,a9 as st,aa as nt,ab as rt}from"./p-570754a4.js";import{S as ot}from"./p-2bc98cb0.js";import{B as ht,N as lt}from"./p-f1f356f0.js";const at=()=>i.getLogger("esri.intl.substitute");function ct(t){switch(typeof t){case"string":return t;case"number":return s(t);case"boolean":return""+t;default:return t instanceof Date?n(t):""}}class ut{constructor(){this._emitter=new ut.EventEmitter(this)}emit(t,e){return this._emitter.emit(t,e)}on(t,e){return this._emitter.on(t,e)}once(t,e){return this._emitter.once(t,e)}hasEventListener(t){return this._emitter.hasEventListener(t)}}!function(t){class e{constructor(t=null){this._target=t,this._listenersMap=null}clear(){this._listenersMap?.clear(),this._listenersMap=null}destroy(){this.clear()}emit(t,e){let i=this._listenersMap?.get(t);if(!i)return!1;const s=this._target||this;let n=!1;for(const t of i.slice()){const i="deref"in t?t.deref():t;i?i?.call(s,e):n=!0}return n&&(i=i.filter((t=>!("deref"in t)||null!=t.deref())),this._listenersMap.set(t,i)),i.length>0}on(t,e){if(Array.isArray(t)){const i=t.map((t=>this.on(t,e)));return h(i)}if(t.includes(","))throw new TypeError("Evented.on() with a comma delimited string of event types is not supported");this._listenersMap??=new Map;const i=this._listenersMap.get(t)||[];return i.push(e),this._listenersMap.set(t,i),l((()=>{const i=this._listenersMap?.get(t),s=i?.indexOf(e)??-1;s>=0&&i.splice(s,1)}))}once(t,e){const i=this.on(t,(t=>{i.remove();const s="deref"in e?e.deref():e;s?.call(null,t)}));return i}hasEventListener(t){const e=this._listenersMap?.get(t);return null!=e&&e.length>0}}t.EventEmitter=e,t.EventedMixin=t=>{let i=class extends t{constructor(){super(...arguments),this._emitter=new e}destroy(){this._emitter.clear()}emit(t,e){return this._emitter.emit(t,e)}on(t,e){return this._emitter.on(t,e)}once(t,e){return this._emitter.once(t,e)}hasEventListener(t){return this._emitter.hasEventListener(t)}};return i=r([o("esri.core.Evented")],i),i};let i=class extends a{constructor(){super(...arguments),this._emitter=new ut.EventEmitter(this)}destroy(){this._emitter.clear()}emit(t,e){return this._emitter.emit(t,e)}on(t,e){return this._emitter.on(t,e)}once(t,e){return this._emitter.once(t,e)}hasEventListener(t){return this._emitter.hasEventListener(t)}};i=r([o("esri.core.Evented.EventedAccessor")],i),t.EventedAccessor=i}(ut||(ut={}));const dt=ut;var ft;!function(t){t[t.PENDING=0]="PENDING",t[t.RESOLVED=1]="RESOLVED",t[t.REJECTED=2]="REJECTED"}(ft||(ft={}));class pt{constructor(){this._resolver=c(),this._status=ft.PENDING,this._resolvingPromises=[],this._resolver.promise.then((()=>{this._status=ft.RESOLVED,this._cleanUp()}),(()=>{this._status=ft.REJECTED,this._cleanUp()})),this.promise=this._resolver.promise}destroy(){this._cleanUp()}addResolvingPromise(t){this._resolvingPromises.push(t),this._tryResolve()}isResolved(){return this._status===ft.RESOLVED}isRejected(){return this._status===ft.REJECTED}isFulfilled(){return this._status!==ft.PENDING}abort(){this._resolver.reject(u())}_cleanUp(){this._allPromise=null,this._resolvingPromises=null}_tryResolve(){if(this.isFulfilled())return;const t=c(),e=[...this._resolvingPromises,t.promise],i=this._allPromise=Promise.all(e);i.then((()=>{this.isFulfilled()||this._allPromise!==i||this._resolver.resolve()}),(t=>{this.isFulfilled()||this._allPromise!==i||d(t)||this._resolver.reject(t)})),t.resolve()}}const mt=t=>{let e=class extends t{constructor(...t){super(...t),this._promiseProps=new pt,this.addResolvingPromise(Promise.resolve())}destroy(){this._promiseProps.destroy()}isResolved(){return this._promiseProps.isResolved()}isRejected(){return this._promiseProps.isRejected()}isFulfilled(){return this._promiseProps.isFulfilled()}when(t,e){return this._promiseProps.promise.then((()=>this)).then(t,e)}catch(t){return this.when(null,t)}addResolvingPromise(t){t&&!this._promiseProps.isFulfilled()&&this._promiseProps.addResolvingPromise("_promiseProps"in t?t.when():t)}};return e=r([o("esri.core.Promise")],e),e};let vt=class extends(mt(a)){};vt=r([o("esri.core.Promise")],vt);let gt=class extends a{get value(){return function(t){return null!=t&&!0===t.ok?t.value:null}(this._result)}get error(){return function(t){return null!=t&&!1===t.ok?t.error:null}(this._result)}get finished(){return null!=this._result}constructor(t,e){super({}),this._result=null,this._abortHandle=null,this.abort=()=>{this._abortController=p(this._abortController)},this.remove=this.abort,this._abortController=new AbortController;const{signal:i}=this._abortController;this.promise=t(i),this.promise.then((t=>{this._result=function(t){return{ok:!0,value:t}}(t),this._cleanup()}),(t=>{this._result=function(t){return{ok:!1,error:t}}(t),this._cleanup()})),this._abortHandle=m(e,this.abort)}normalizeCtorArgs(){return{}}destroy(){this.abort()}_cleanup(){this._abortHandle=v(this._abortHandle),this._abortController=null}};var wt,yt;function bt(t){return(e,i)=>{e[i]=t}}r([f()],gt.prototype,"value",null),r([f()],gt.prototype,"error",null),r([f()],gt.prototype,"finished",null),r([f()],gt.prototype,"promise",void 0),r([f()],gt.prototype,"_result",void 0),gt=r([o("esri.core.asyncUtils.ReactiveTask")],gt),function(t){t[t.ADD=1]="ADD",t[t.REMOVE=2]="REMOVE",t[t.MOVE=4]="MOVE"}(wt||(wt={}));class kt extends g{notify(){const t=this._observers;if(t&&t.length>0){const e=t.slice();for(const t of e)t.onInvalidated(),t.onCommitted()}}}class St{constructor(t,e,i,s,n){this.target=t,this.added=e,this.removed=i,this.start=s,this.deleteCount=n}}const _t=new w(class{constructor(){this.target=null,this.cancellable=!1,this.defaultPrevented=!1,this.item=void 0,this.type=void 0}preventDefault(){this.cancellable&&(this.defaultPrevented=!0)}reset(t){this.defaultPrevented=!1,this.item=t}},void 0,(t=>{t.item=null,t.target=null,t.defaultPrevented=!1,t.cancellable=!1}));function At(t){t&&"object"==typeof t&&"destroy"in t&&"function"==typeof t.destroy&&t.destroy()}function It(t){return t?t instanceof Pt?t.toArray():t.length?Array.prototype.slice.apply(t):[]:[]}function Ot(t){if(t?.length)return t[0]}function jt(t,e,i,s){const n=Math.min(t.length-i,e.length-s);let r=0;for(;r<n&&t[i+r]===e[s+r];)r++;return r}function xt(t,e,i,s){e&&e.forEach(((e,n,r)=>{t.push(e),xt(t,i.call(s,e,n,r),i,s)}))}const $t=new Set,Tt=new Set,Et=new Set,Ct=new Map;let Ut=0,Pt=yt=class extends dt.EventedAccessor{static isCollection(t){return null!=t&&t instanceof yt}constructor(t){super(t),this._chgListeners=[],this._notifications=null,this._updating=!1,this._timer=null,this._observable=new kt,this.length=0,this._items=[],Object.defineProperty(this,"uid",{value:Ut++})}normalizeCtorArgs(t){return t?Array.isArray(t)||t instanceof yt?{items:t}:t:{}}destroy(){this._removeAllRaw(),this._timer&&this._timer.remove(),this._emitter.destroy(),this._notifications=null}*[Symbol.iterator](){yield*this.items}get items(){return k(this._observable),this._items}set items(t){this._emitBeforeChanges(wt.ADD)||(this._splice(0,this.length,It(t)),this._emitAfterChanges(wt.ADD))}hasEventListener(t){return!this.destroyed&&("change"===t?this._chgListeners.length>0:this._emitter.hasEventListener(t))}on(t,e){if(this.destroyed)return l();if("change"===t){const t=this._chgListeners,i={removed:!1,callback:e};return t.push(i),this._notifications&&this._notifications.push({listeners:t.slice(),items:this._items.slice(),changes:[]}),l((()=>{i.removed=!0,t.splice(t.indexOf(i),1)}))}return this._emitter.on(t,e)}once(t,e){const i="deref"in e?()=>e.deref():()=>e,s=this.on(t,(t=>{i()?.call(null,t),s.remove()}));return s}add(t,e){if(k(this._observable),this._emitBeforeChanges(wt.ADD))return this;const i=this.getNextIndex(e??null);return this._splice(i,0,[t]),this._emitAfterChanges(wt.ADD),this}addMany(t,e=this._items.length){if(k(this._observable),!t?.length)return this;if(this._emitBeforeChanges(wt.ADD))return this;const i=this.getNextIndex(e);return this._splice(i,0,It(t)),this._emitAfterChanges(wt.ADD),this}at(t){if(k(this._observable),(t=Math.trunc(t)||0)<0&&(t+=this.length),!(t<0||t>=this.length))return this._items[t]}removeAll(){if(k(this._observable),!this.length||this._emitBeforeChanges(wt.REMOVE))return[];const t=this._removeAllRaw();return this._emitAfterChanges(wt.REMOVE),t}_removeAllRaw(){return 0===this.length?[]:this._splice(0,this.length)||[]}clone(){return k(this._observable),this._createNewInstance({items:this._items.map(S)})}concat(...t){k(this._observable);const e=t.map(It);return this._createNewInstance({items:this._items.concat(...e)})}drain(t,e){if(k(this._observable),!this.length||this._emitBeforeChanges(wt.REMOVE))return;const i=this._splice(0,this.length),s=i.length;for(let n=0;n<s;n++)t.call(e,i[n],n,i);this._emitAfterChanges(wt.REMOVE)}destroyAll(){this.drain(At)}destroyMany(t){const e=this.removeMany(t);return e.forEach(At),e}every(t,e){return k(this._observable),this._items.every(t,e)}filter(t,e){let i;return k(this._observable),i=2===arguments.length?this._items.filter(t,e):this._items.filter(t),this._createNewInstance({items:i})}find(t,e){return k(this._observable),this._items.find(t,e)}findIndex(t,e){return k(this._observable),this._items.findIndex(t,e)}flatten(t,e){k(this._observable);const i=[];return xt(i,this,t,e),new yt(i)}forEach(t,e){return k(this._observable),this._items.forEach(t,e)}getItemAt(t){return k(this._observable),this._items[t]}getNextIndex(t){k(this._observable);const e=this.length;return(t=t??e)<0?t=0:t>e&&(t=e),t}includes(t,e=0){return k(this._observable),this._items.includes(t,e)}indexOf(t,e=0){return k(this._observable),this._items.indexOf(t,e)}join(t=","){return k(this._observable),this._items.join(t)}lastIndexOf(t,e=this.length-1){return k(this._observable),this._items.lastIndexOf(t,e)}map(t,e){k(this._observable);const i=this._items.map(t,e);return new yt({items:i})}reorder(t,e=this.length-1){k(this._observable);const i=this.indexOf(t);if(-1!==i){if(e<0?e=0:e>=this.length&&(e=this.length-1),i!==e){if(this._emitBeforeChanges(wt.MOVE))return t;this._splice(i,1),this._splice(e,0,[t]),this._emitAfterChanges(wt.MOVE)}return t}}pop(){if(k(this._observable),!this.length||this._emitBeforeChanges(wt.REMOVE))return;const t=Ot(this._splice(this.length-1,1));return this._emitAfterChanges(wt.REMOVE),t}push(...t){return k(this._observable),this._emitBeforeChanges(wt.ADD)||(this._splice(this.length,0,t),this._emitAfterChanges(wt.ADD)),this.length}reduce(t,e){k(this._observable);const i=this._items;return 2===arguments.length?i.reduce(t,e):i.reduce(t)}reduceRight(t,e){k(this._observable);const i=this._items;return 2===arguments.length?i.reduceRight(t,e):i.reduceRight(t)}remove(t){return k(this._observable),this.removeAt(this.indexOf(t))}removeAt(t){if(k(this._observable),t<0||t>=this.length||this._emitBeforeChanges(wt.REMOVE))return;const e=Ot(this._splice(t,1));return this._emitAfterChanges(wt.REMOVE),e}removeMany(t){if(k(this._observable),!t?.length||this._emitBeforeChanges(wt.REMOVE))return[];const e=t instanceof yt?t.toArray():t,i=this._items,s=[],n=e.length;for(let t=0;t<n;t++){const n=i.indexOf(e[t]);if(n>-1){const r=1+jt(e,i,t+1,n+1),o=this._splice(n,r);o&&o.length>0&&s.push.apply(s,o),t+=r-1}}return this._emitAfterChanges(wt.REMOVE),s}reverse(){if(k(this._observable),this._emitBeforeChanges(wt.MOVE))return this;const t=this._splice(0,this.length);return t&&(t.reverse(),this._splice(0,0,t)),this._emitAfterChanges(wt.MOVE),this}shift(){if(k(this._observable),!this.length||this._emitBeforeChanges(wt.REMOVE))return;const t=Ot(this._splice(0,1));return this._emitAfterChanges(wt.REMOVE),t}slice(t=0,e=this.length){return k(this._observable),this._createNewInstance({items:this._items.slice(t,e)})}some(t,e){return k(this._observable),this._items.some(t,e)}sort(t){if(k(this._observable),!this.length||this._emitBeforeChanges(wt.MOVE))return this;const e=this._splice(0,this.length);return arguments.length?e.sort(t):e.sort(),this._splice(0,0,e),this._emitAfterChanges(wt.MOVE),this}splice(t,e,...i){k(this._observable);const s=(e?wt.REMOVE:0)|(i.length?wt.ADD:0);if(this._emitBeforeChanges(s))return[];const n=this._splice(t,e,i)||[];return this._emitAfterChanges(s),n}toArray(){return k(this._observable),this._items.slice()}toJSON(){return k(this._observable),this.toArray()}toLocaleString(){return k(this._observable),this._items.toLocaleString()}toString(){return k(this._observable),""+this._items}unshift(...t){return k(this._observable),!t.length||this._emitBeforeChanges(wt.ADD)||(this._splice(0,0,t),this._emitAfterChanges(wt.ADD)),this.length}_createNewInstance(t){return new this.constructor(t)}_splice(t,e,i){const s=this._items,n=this.itemType;let r,o;if(!this._notifications&&this.hasEventListener("change")&&(this._notifications=[{listeners:this._chgListeners.slice(),items:this._items.slice(),changes:[]}],this._timer&&this._timer.remove(),this._updating=!0,this._timer=_((()=>this._dispatchChange()))),t<0&&(t+=this.length),e){if(o=s.splice(t,e),this.hasEventListener("before-remove")){const e=_t.acquire();e.target=this,e.cancellable=!0;for(let i=0,n=o.length;i<n;i++)r=o[i],e.reset(r),this.emit("before-remove",e),e.defaultPrevented&&(o.splice(i,1),s.splice(t,0,r),t+=1,i-=1,n-=1);_t.release(e)}if(this.length=this._items.length,this.hasEventListener("after-remove")){const t=_t.acquire();t.target=this,t.cancellable=!1;const e=o.length;for(let i=0;i<e;i++)t.reset(o[i]),this.emit("after-remove",t);_t.release(t)}}if(i?.length){if(n){const t=[];for(const e of i){const i=n.ensureType(e);null==i&&null!=e||t.push(i)}i=t}const e=this.hasEventListener("before-add"),r=this.hasEventListener("after-add"),o=t===this.length;if(e||r){const n=_t.acquire();n.target=this,n.cancellable=!0;const h=_t.acquire();h.target=this,h.cancellable=!1;for(const l of i)e?(n.reset(l),this.emit("before-add",n),n.defaultPrevented||(o?s.push(l):s.splice(t++,0,l),this._set("length",s.length),r&&(h.reset(l),this.emit("after-add",h)))):(o?s.push(l):s.splice(t++,0,l),this._set("length",s.length),h.reset(l),this.emit("after-add",h));_t.release(h),_t.release(n)}else{if(o)for(const t of i)s.push(t);else s.splice(t,0,...i);this._set("length",s.length)}}if((i?.length||o?.length)&&this._notifyChangeEvent(i,o),this.hasEventListener("after-splice")){const s=new St(this,i,o,t,e);this.emit("after-splice",s)}return o}_emitBeforeChanges(t){let e=!1;if(this.hasEventListener("before-changes")){const i=_t.acquire();i.target=this,i.cancellable=!0,i.type=t,this.emit("before-changes",i),e=i.defaultPrevented,_t.release(i)}return e}_emitAfterChanges(t){if(this.hasEventListener("after-changes")){const e=_t.acquire();e.target=this,e.cancellable=!1,e.type=t,this.emit("after-changes",e),_t.release(e)}this._observable.notify()}_notifyChangeEvent(t,e){this.hasEventListener("change")&&this._notifications&&this._notifications[this._notifications.length-1].changes.push({added:t,removed:e})}get updating(){return this._updating}_dispatchChange(){if(this._timer&&(this._timer.remove(),this._timer=null),this._updating=!1,!this._notifications)return;const t=this._notifications;this._notifications=null;for(const e of t){const t=e.changes;$t.clear(),Tt.clear(),Et.clear();for(const{added:e,removed:i}of t){if(e)if(0===Et.size&&0===Tt.size)for(const t of e)$t.add(t);else for(const t of e)Tt.has(t)?(Et.add(t),Tt.delete(t)):Et.has(t)||$t.add(t);if(i)if(0===Et.size&&0===$t.size)for(const t of i)Tt.add(t);else for(const t of i)$t.has(t)?$t.delete(t):(Et.delete(t),Tt.add(t))}const i=A.acquire();$t.forEach((t=>{i.push(t)}));const s=A.acquire();Tt.forEach((t=>{s.push(t)}));const n=this._items,r=e.items,o=A.acquire();if(Et.forEach((t=>{r.indexOf(t)!==n.indexOf(t)&&o.push(t)})),e.listeners&&(i.length||s.length||o.length)){const t={target:this,added:i,removed:s,moved:o},n=e.listeners.length;for(let i=0;i<n;i++){const s=e.listeners[i];s.removed||s.callback.call(this,t)}}A.release(i),A.release(s),A.release(o)}$t.clear(),Tt.clear(),Et.clear()}};function Mt(t,e,i={}){return Dt(t,e,i,Nt)}function Rt(t,e,i={}){return Dt(t,e,i,qt)}function Dt(t,e,i={},s){let n=null;const r=i.once?(t,i)=>{s(t)&&(v(n),e(t,i))}:(t,i)=>{s(t)&&e(t,i)};if(n=I(t,r,i.sync,i.equals),i.initial){const e=t();r(e,e)}return n}function Nt(){return!0}function qt(t){return!!t}Pt.ofType=t=>{if(!t)return yt;if(Ct.has(t))return Ct.get(t);let e=null;if("function"==typeof t)e=t.prototype.declaredClass;else if(t.base)e=t.base.prototype.declaredClass;else for(const i in t.typeMap){const s=t.typeMap[i].prototype.declaredClass;e?e+=" | "+s:e=s}let i=class extends yt{};return r([bt({Type:t,ensureType:"function"==typeof t?y(t):b(t)})],i.prototype,"itemType",void 0),i=r([o(`esri.core.Collection<${e}>`)],i),Ct.set(t,i),i},r([f()],Pt.prototype,"_updating",void 0),r([f()],Pt.prototype,"length",void 0),r([f()],Pt.prototype,"items",null),r([f({readOnly:!0})],Pt.prototype,"updating",null),Pt=yt=r([o("esri.core.Collection")],Pt);const Lt={sync:!0,initial:!0},zt="randomUUID"in crypto,Bt=Object.prototype.toString;function Ft(t){const e="__accessorMetadata__"in t?y(t):t;return function(...t){if(t.push(e),"number"==typeof t[2])throw Error("Using @cast has parameter decorator is not supported since 4.16");return Ht.apply(this,t)}}function Ht(t,e,i,s){O(t,e).cast=s}const Jt=new Map;function Vt(){Jt.clear()}function Wt(t){Jt.delete(t)}function Gt(...t){const e=A.acquire();for(let i=0;i<t.length;i++){const s=t[i],n=typeof s;if("string"===n)e.push(s);else if(Array.isArray(s))e.push.apply(e,s);else if("object"===n)for(const t in s)s[t]&&e.push(t)}const i=e.join(" ");return A.release(e),i}(()=>{const t=new Map;new ResizeObserver((e=>{Vt();for(const i of e)t.get(i.target)?.(i)}))})();const Yt=["dd","dl","dt","h1","h2","h3","h4","h5","h6","sub","sup","animate","animatetransform","circle","clippath","defs","ellipse","g","image","line","lineargradient","marker","mask","path","pattern","polygon","polyline","radialgradient","rect","stop","svg","switch","symbol","text","textpath","tspan","use"].reduce(((t,e)=>(t[e]=[],t)),{}),Xt=["align","alink","alt","bgcolor","border","cellpadding","cellspacing","class","color","cols","colspan","coords","d","dir","face","height","hspace","ismap","lang","marginheight","marginwidth","multiple","nohref","noresize","noshade","nowrap","ref","rel","rev","rows","rowspan","scrolling","shape","span","summary","tabindex","title","usemap","valign","value","vlink","vspace","width"],Kt=new ot({whiteList:Yt,onTagAttr:(t,e,i)=>{const s=`${e}="${i}"`;if(Xt.includes(e))return s},stripIgnoreTag:!0,stripIgnoreTagBody:["script","style"]},!0),Qt="http://www.w3.org/",Zt=Qt+"2000/svg",te=Qt+"1999/xlink";let ee=[],ie=(t,e)=>{let i={};return Object.keys(t).forEach((e=>{i[e]=t[e]})),e&&Object.keys(e).forEach((t=>{i[t]=e[t]})),i},se=(t,e)=>t.vnodeSelector===e.vnodeSelector&&(t.properties&&e.properties?t.properties.key===e.properties.key&&t.properties.bind===e.properties.bind:!t.properties&&!e.properties),ne=t=>{if("string"!=typeof t)throw Error("Style values must be strings")},re=(t,e,i)=>{if(""!==e.vnodeSelector)for(let s=i;s<t.length;s++)if(se(t[s],e))return s;return-1},oe=(t,e,i,s)=>{let n=t[e];if(""===n.vnodeSelector)return;let r=n.properties;if(!(r?void 0===r.key?r.bind:r.key:void 0))for(let r=0;r<t.length;r++)if(r!==e&&se(t[r],n))throw Error(`${i.vnodeSelector} had a ${n.vnodeSelector} child ${"added"===s?s:"removed"}, but there is now more than one. You must add unique key properties to make them distinguishable.`)},he=t=>{if(t.properties){let e=t.properties.enterAnimation;e&&e(t.domNode,t.properties)}},le=[],ae=!1,ce=t=>{(t.children||[]).forEach(ce),t.properties&&t.properties.afterRemoved&&t.properties.afterRemoved.call(t.properties.bind||t.properties,t.domNode)},ue=()=>{ae=!1,le.forEach(ce),le.length=0},de=t=>{le.push(t),ae||(ae=!0,"undefined"!=typeof window&&"requestIdleCallback"in window?window.requestIdleCallback(ue,{timeout:16}):setTimeout(ue,16))},fe=t=>{let e=t.domNode;if(t.properties){let i=t.properties.exitAnimation;if(i){e.style.pointerEvents="none";let s=()=>{e.parentNode&&(e.parentNode.removeChild(e),de(t))};return void i(e,s,t.properties)}}e.parentNode&&(e.parentNode.removeChild(e),de(t))},pe=(t,e,i)=>{if(!e)return;let s=i.eventHandlerInterceptor,n=Object.keys(e),r=n.length;for(let o=0;o<r;o++){let r=n[o],h=e[r];if("className"===r)throw Error('Property "className" is not supported, use "class".');if("class"===r)ye(t,h,!0);else if("classes"===r){let e=Object.keys(h),i=e.length;for(let s=0;s<i;s++){let i=e[s];h[i]&&t.classList.add(i)}}else if("styles"===r){let e=Object.keys(h),s=e.length;for(let n=0;n<s;n++){let s=e[n],r=h[s];r&&(ne(r),i.styleApplyer(t,s,r))}}else if("key"!==r&&null!=h){let n=typeof h;"function"===n?(0===r.lastIndexOf("on",0)&&(s&&(h=s(r,h,t,e)),"oninput"===r&&function(){let t=h;h=function(e){t.call(this,e),e.target["oninput-value"]=e.target.value}}()),t[r]=h):i.namespace===Zt?"href"===r?t.setAttributeNS(te,r,h):t.setAttribute(r,h):"string"===n&&"value"!==r?"innerHTML"===r?t[r]=Kt.sanitize(h):me(t)&&r in t?t[r]=h:t.setAttribute(r,h):t[r]=h}}};function me(t){if(!(t instanceof Element&&t.tagName.includes("-")))return!1;const e=window.customElements.get(t.tagName.toLowerCase());return!!e&&t instanceof e}let ve,ge=(t,e,i)=>{((t,e,i)=>{if(e)for(let s of e)we(s,t,void 0,i)})(t,e.children,i),e.text&&(t.textContent=e.text),pe(t,e.properties,i),e.properties&&e.properties.afterCreate&&e.properties.afterCreate.call(e.properties.bind||e.properties,t,i,e.vnodeSelector,e.properties,e.children)},we=(t,e,i,s)=>{let n,r=0,o=t.vnodeSelector,h=e.ownerDocument;if(""===o)n=t.domNode=h.createTextNode(t.text),void 0!==i?e.insertBefore(n,i):e.appendChild(n);else{for(let l=0;l<=o.length;++l){let a=o.charAt(l);if(l===o.length||"."===a||"#"===a){let a=o.charAt(r-1),c=o.slice(r,l);"."===a?n.classList.add(c):"#"===a?n.id=c:("svg"===c&&(s=ie(s,{namespace:Zt})),void 0!==s.namespace?n=t.domNode=h.createElementNS(s.namespace,c):(n=t.domNode=t.domNode||h.createElement(c),"input"===c&&t.properties&&void 0!==t.properties.type&&n.setAttribute("type",t.properties.type)),void 0!==i?e.insertBefore(n,i):n.parentNode!==e&&e.appendChild(n)),r=l+1}}ge(n,t,s)}},ye=(t,e,i)=>{e&&e.split(" ").forEach((e=>{e&&t.classList.toggle(e,i)}))},be=(t,e,i,s)=>{if(!i)return;let n=!1,r=Object.keys(i),o=r.length;for(let h=0;h<o;h++){let o=r[h],l=i[o],a=e[o];if("class"===o)a!==l&&(ye(t,a,!1),ye(t,l,!0));else if("classes"===o){let e=t.classList,i=Object.keys(l),s=i.length;for(let t=0;t<s;t++){let s=i[t],r=!!l[s];r!==!!a[s]&&(n=!0,r?e.add(s):e.remove(s))}}else if("styles"===o){let e=Object.keys(l),i=e.length;for(let r=0;r<i;r++){let i=e[r],o=l[i];o!==a[i]&&(n=!0,o?(ne(o),s.styleApplyer(t,i,o)):s.styleApplyer(t,i,""))}}else if(l||"string"!=typeof a||(l=""),"value"!==o||me(t)){if(l!==a){let e=typeof l;"function"===e&&s.eventHandlerInterceptor||(s.namespace===Zt?"href"===o?t.setAttributeNS(te,o,l):t.setAttribute(o,l):"string"===e?"innerHTML"===o?t[o]=Kt.sanitize(l):"role"===o&&""===l?t.removeAttribute(o):me(t)&&o in t?t[o]=l:t.setAttribute(o,l):t[o]!==l&&(t[o]=l),n=!0)}}else{let e=t[o];e!==l&&(t["oninput-value"]?e===t["oninput-value"]:l!==a)&&(t[o]=l,t["oninput-value"]=void 0),l!==a&&(n=!0)}}return n};ve=(t,e,i)=>{let s=t.domNode,n=!1;if(t===e)return!1;let r=!1;if(""===e.vnodeSelector){if(e.text!==t.text){let t=s.ownerDocument.createTextNode(e.text);return s.parentNode.replaceChild(t,s),e.domNode=t,n=!0,n}e.domNode=s}else 0===e.vnodeSelector.lastIndexOf("svg",0)&&(i=ie(i,{namespace:Zt})),t.text!==e.text&&(r=!0,void 0===e.text?s.removeChild(s.firstChild):s.textContent=e.text),e.domNode=s,r=((t,e,i,s,n)=>{if(i===s)return!1;let r,o=(i=i||ee).length,h=(s=s||ee).length,l=0,a=0,c=!1;for(;a<h;){let h=l<o?i[l]:void 0,u=s[a];if(void 0!==h&&se(h,u))c=ve(h,u,n)||c,l++;else{let h=re(i,u,l+1);if(h>=0){for(r=l;r<h;r++)fe(i[r]),oe(i,r,t,"removed");c=ve(i[h],u,n)||c,l=h+1}else we(u,e,l<o?i[l].domNode:void 0,n),he(u),oe(s,a,t,"added")}a++}if(o>l)for(r=l;r<o;r++)fe(i[r]),oe(i,r,t,"removed");return c})(e,s,t.children,e.children,i)||r,r=be(s,t.properties,e.properties,i)||r,e.properties&&e.properties.afterUpdate&&e.properties.afterUpdate.call(e.properties.bind||e.properties,s,i,e.vnodeSelector,e.properties,e.children);return r&&e.properties&&e.properties.updateAnimation&&e.properties.updateAnimation(s,e.properties,t.properties),n};let ke=(t,e)=>({getLastRender:()=>t,update:i=>{if(t.vnodeSelector!==i.vnodeSelector)throw Error("The selector for the root VNode may not be changed. (consider using dom.merge and add one extra level to the virtual DOM)");let s=t;t=i,ve(s,i,e)},domNode:t.domNode});const Se={namespace:void 0,performanceLogger:()=>{},eventHandlerInterceptor:void 0,styleApplyer:(t,e,i)=>{"-"===e.charAt(0)?t.style.setProperty(e,i):t.style[e]=i}};let _e=t=>ie(Se,t),Ae=(t,e,i)=>(i=_e(i),we(e,t,void 0,i),ke(e,i)),Ie=(t,e,i)=>(i=_e(i),we(e,t.parentNode,t,i),ke(e,i)),Oe=(t,e,i)=>(i=_e(i),e.domNode=t,ge(t,e,i),ke(e,i)),je=(t,e,i)=>(i=_e(i),we(e,t.parentNode,t,i),t.parentNode.removeChild(t),ke(e,i));const xe={handleInterceptedEvent:(t,e,i,s)=>(t.scheduleRender(),e.properties["on"+s.type].call(e.properties.bind||i,s))},$e={namespace:void 0,performanceLogger:()=>{},eventHandlerInterceptor:void 0,styleApplyer:(t,e,i)=>{"-"===e.charAt(0)?t.style.setProperty(e,i):t.style[e]=i}},Te=(t,e,i=!1)=>{let s=t;return e.forEach(((t,n)=>{const r=s?.children?((t,e)=>t.find(e))(s.children,(e=>e.domNode===t)):void 0;i&&!r&&n!==e.length-1||(s=r)})),s},Ee="calcite-mode-auto",Ce="calcite-mode-dark",Ue={autoMode:Ee,darkMode:Ce,lightMode:"calcite-mode-light",rtl:"calcite--rtl",calciteAnimate:"calcite-animate",calciteAnimateIn:"calcite-animate__in",calciteAnimateInUp:"calcite-animate__in-up",calciteAnimateInDown:"calcite-animate__in-down",calciteAnimateInRight:"calcite-animate__in-right",calciteAnimateInLeft:"calcite-animate__in-left",calciteAnimateInScale:"calcite-animate__in-scale"},Pe={filter:250,nextTick:0,resize:150,reposition:100};var Me=Object.defineProperty,Re=new WeakMap,De=t=>Re.get(t),Ne=(t,e)=>e in t,qe=(t,e)=>(0,console.error)(t,e),Le=new Map,ze=new Map,Be="undefined"!=typeof window?window:{},Fe=Be.document||{head:{}},He=Be.HTMLElement||class{},Je={t:0,i:"",jmp:t=>t(),raf:t=>requestAnimationFrame(t),ael:(t,e,i,s)=>t.addEventListener(e,i,s),rel:(t,e,i,s)=>t.removeEventListener(e,i,s),ce:(t,e)=>new CustomEvent(t,e)},Ve=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(t){}return!1})(),We=!1,Ge=[],Ye=[],Xe=(t,e)=>i=>{t.push(i),We||(We=!0,e&&4&Je.t?Ze(Qe):Je.raf(Qe))},Ke=t=>{for(let e=0;e<t.length;e++)try{t[e](performance.now())}catch(t){qe(t)}t.length=0},Qe=()=>{Ke(Ge),Ke(Ye),(We=Ge.length>0)&&Je.raf(Qe)},Ze=t=>Promise.resolve(void 0).then(t),ti=Xe(Ge,!1),ei=Xe(Ye,!0),ii=t=>{const e=new URL(t,Je.i);return e.origin!==Be.location.origin?e.href:e.pathname},si={},ni=t=>"object"==(t=typeof t)||"function"===t;((t,e)=>{for(var i in e)Me(t,i,{get:e[i],enumerable:!0})})({},{err:()=>oi,map:()=>hi,ok:()=>ri,unwrap:()=>ui,unwrapErr:()=>di});var ri=t=>({isOk:!0,isErr:!1,value:t}),oi=t=>({isOk:!1,isErr:!0,value:t});function hi(t,e){if(t.isOk){const i=e(t.value);return i instanceof Promise?i.then((t=>ri(t))):ri(i)}if(t.isErr)return oi(t.value);throw"should never get here"}var li,ai,ci,ui=t=>{if(t.isOk)return t.value;throw t.value},di=t=>{if(t.isErr)return t.value;throw t.value},fi=(t,e,...i)=>{let s=null,n=null,r=null,o=!1,h=!1;const l=[],a=e=>{for(let i=0;i<e.length;i++)s=e[i],Array.isArray(s)?a(s):null!=s&&"boolean"!=typeof s&&((o="function"!=typeof t&&!ni(s))&&(s+=""),o&&h?l[l.length-1].o+=s:l.push(o?pi(null,s):s),h=o)};if(a(i),e){e.key&&(n=e.key),e.name&&(r=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,l,vi);const c=pi(t,null);return c.h=e,l.length>0&&(c.l=l),c.u=n,c.p=r,c},pi=(t,e)=>({t:0,m:t,o:e,v:null,l:null,h:null,u:null,p:null}),mi={},vi={forEach:(t,e)=>t.map(gi).forEach(e),map:(t,e)=>t.map(gi).map(e).map(wi)},gi=t=>({vattrs:t.h,vchildren:t.l,vkey:t.u,vname:t.p,vtag:t.m,vtext:t.o}),wi=t=>{if("function"==typeof t.vtag){const e={...t.vattrs};return t.vkey&&(e.key=t.vkey),t.vname&&(e.name=t.vname),fi(t.vtag,e,...t.vchildren||[])}const e=pi(t.vtag,t.vtext);return e.h=t.vattrs,e.l=t.vchildren,e.u=t.vkey,e.p=t.vname,e},yi=(t,e,i)=>{const s=(t=>De(t).$hostElement$)(t);return{emit:t=>bi(s,e,{bubbles:!!(4&i),composed:!!(2&i),cancelable:!!(1&i),detail:t})}},bi=(t,e,i)=>{const s=Je.ce(e,i);return t.dispatchEvent(s),s},ki=new WeakMap,Si=t=>"sc-"+t.k,_i=(t,e,i,s,n,r)=>{if(i!==s){let o=Ne(t,e),h=e.toLowerCase();if("class"===e){const e=t.classList,n=Ii(i),r=Ii(s);e.remove(...n.filter((t=>t&&!r.includes(t)))),e.add(...r.filter((t=>t&&!n.includes(t))))}else if("style"===e){for(const e in i)s&&null!=s[e]||(e.includes("-")?t.style.removeProperty(e):t.style[e]="");for(const e in s)i&&s[e]===i[e]||(e.includes("-")?t.style.setProperty(e,s[e]):t.style[e]=s[e])}else if("key"===e);else if("ref"===e)s&&s(t);else if(o||"o"!==e[0]||"n"!==e[1]){const h=ni(s);if((o||h&&null!==s)&&!n)try{if(t.tagName.includes("-"))t[e]=s;else{const n=null==s?"":s;"list"===e?o=!1:null!=i&&t[e]==n||("function"==typeof t.__lookupSetter__(e)?t[e]=n:t.setAttribute(e,n))}}catch(t){}null==s||!1===s?!1===s&&""!==t.getAttribute(e)||t.removeAttribute(e):(!o||4&r||n)&&!h&&t.setAttribute(e,s=!0===s?"":s)}else if(e="-"===e[2]?e.slice(3):Ne(Be,h)?h.slice(2):h[2]+e.slice(3),i||s){const n=e.endsWith(Oi);e=e.replace(ji,""),i&&Je.rel(t,e,i,n),s&&Je.ael(t,e,s,n)}}},Ai=/\s/,Ii=t=>t?t.split(Ai):[],Oi="Capture",ji=RegExp(Oi+"$"),xi=(t,e,i)=>{const s=11===e.v.nodeType&&e.v.host?e.v.host:e.v,n=t&&t.h||si,r=e.h||si;for(const t of $i(Object.keys(n)))t in r||_i(s,t,n[t],void 0,i,e.t);for(const t of $i(Object.keys(r)))_i(s,t,n[t],r[t],i,e.t)};function $i(t){return t.includes("ref")?[...t.filter((t=>"ref"!==t)),"ref"]:t}var Ti=!1,Ei=!1,Ci=!1,Ui=!1,Pi=(t,e,i,s)=>{var n;const r=e.l[i];let o,h,l,a=0;if(Ti||(Ci=!0,"slot"===r.m&&(li&&s.classList.add(li+"-s"),r.t|=r.l?2:1)),null!==r.o)o=r.v=Fe.createTextNode(r.o);else if(1&r.t)o=r.v=Fe.createTextNode("");else{if(Ui||(Ui="svg"===r.m),o=r.v=Fe.createElementNS(Ui?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",!Ti&&ht.slotRelocation&&2&r.t?"slot-fb":r.m),Ui&&"foreignObject"===r.m&&(Ui=!1),xi(null,r,Ui),!!o.getRootNode().querySelector("body")&&ht.scoped&&null!=li&&o["s-si"]!==li&&o.classList.add(o["s-si"]=li),Yi(o,s),r.l)for(a=0;a<r.l.length;++a)h=Pi(t,r,a,o),h&&o.appendChild(h);"svg"===r.m?Ui=!1:"foreignObject"===o.tagName&&(Ui=!0)}return o["s-hn"]=ci,3&r.t&&(o["s-sr"]=!0,o["s-cr"]=ai,o["s-sn"]=r.p||"",o["s-rf"]=null==(n=r.h)?void 0:n.ref,l=t&&t.l&&t.l[i],l&&l.m===r.m&&t.v&&Mi(t.v,!1)),o},Mi=(t,e)=>{Je.t|=1;const i=Array.from(t.childNodes);if(t["s-sr"]&&ht.experimentalSlotFixes){let e=t;for(;e=e.nextSibling;)e&&e["s-sn"]===t["s-sn"]&&e["s-sh"]===ci&&i.push(e)}for(let t=i.length-1;t>=0;t--){const s=i[t];s["s-hn"]!==ci&&s["s-ol"]&&(Wi(Li(s),s,qi(s)),s["s-ol"].remove(),s["s-ol"]=void 0,s["s-sh"]=void 0,Ci=!0),e&&Mi(s,e)}Je.t&=-2},Ri=(t,e,i,s,n,r)=>{let o,h=t["s-cr"]&&t["s-cr"].parentNode||t;for(h.shadowRoot&&h.tagName===ci&&(h=h.shadowRoot);n<=r;++n)s[n]&&(o=Pi(null,i,n,t),o&&(s[n].v=o,Wi(h,o,qi(e))))},Di=(t,e,i)=>{for(let s=e;s<=i;++s){const e=t[s];if(e){const t=e.v;Vi(e),t&&(Ei=!0,t["s-ol"]?t["s-ol"].remove():Mi(t,!0),t.remove())}}},Ni=(t,e,i=!1)=>!(t.m!==e.m||("slot"===t.m?"S"in t&&i&&8!==t.v.nodeType||t.p!==e.p:!i&&t.u!==e.u)),qi=t=>t&&t["s-ol"]||t,Li=t=>(t["s-ol"]?t["s-ol"]:t).parentNode,zi=(t,e,i=!1)=>{const s=e.v=t.v,n=t.l,r=e.l,o=e.m,h=e.o;let l;null===h?(Ui="svg"===o||"foreignObject"!==o&&Ui,("slot"!==o||Ti)&&xi(t,e,Ui),null!==n&&null!==r?((t,e,i,s,n=!1)=>{let r,o,h=0,l=0,a=0,c=0,u=e.length-1,d=e[0],f=e[u],p=s.length-1,m=s[0],v=s[p];for(;h<=u&&l<=p;)if(null==d)d=e[++h];else if(null==f)f=e[--u];else if(null==m)m=s[++l];else if(null==v)v=s[--p];else if(Ni(d,m,n))zi(d,m,n),d=e[++h],m=s[++l];else if(Ni(f,v,n))zi(f,v,n),f=e[--u],v=s[--p];else if(Ni(d,v,n))"slot"!==d.m&&"slot"!==v.m||Mi(d.v.parentNode,!1),zi(d,v,n),Wi(t,d.v,f.v.nextSibling),d=e[++h],v=s[--p];else if(Ni(f,m,n))"slot"!==d.m&&"slot"!==v.m||Mi(f.v.parentNode,!1),zi(f,m,n),Wi(t,f.v,d.v),f=e[--u],m=s[++l];else{for(a=-1,c=h;c<=u;++c)if(e[c]&&null!==e[c].u&&e[c].u===m.u){a=c;break}a>=0?(o=e[a],o.m!==m.m?r=Pi(e&&e[l],i,a,t):(zi(o,m,n),e[a]=void 0,r=o.v),m=s[++l]):(r=Pi(e&&e[l],i,l,t),m=s[++l]),r&&Wi(Li(d.v),r,qi(d.v))}h>u?Ri(t,null==s[p+1]?null:s[p+1].v,i,s,l,p):l>p&&Di(e,h,u)})(s,n,e,r,i):null!==r?(null!==t.o&&(s.textContent=""),Ri(s,null,e,r,0,r.length-1)):!i&&ht.updatable&&null!==n&&Di(n,0,n.length-1),Ui&&"svg"===o&&(Ui=!1)):(l=s["s-cr"])?l.parentNode.textContent=h:t.o!==h&&(s.data=h)},Bi=t=>{const e=t.childNodes;for(const t of e)if(1===t.nodeType){if(t["s-sr"]){const i=t["s-sn"];t.hidden=!1;for(const s of e)if(s!==t)if(s["s-hn"]!==t["s-hn"]||""!==i){if(1===s.nodeType&&(i===s.getAttribute("slot")||i===s["s-sn"])||3===s.nodeType&&i===s["s-sn"]){t.hidden=!0;break}}else if(1===s.nodeType||3===s.nodeType&&""!==s.textContent.trim()){t.hidden=!0;break}}Bi(t)}},Fi=[],Hi=t=>{let e,i,s;for(const n of t.childNodes){if(n["s-sr"]&&(e=n["s-cr"])&&e.parentNode){i=e.parentNode.childNodes;const t=n["s-sn"];for(s=i.length-1;s>=0;s--)if(e=i[s],!e["s-cn"]&&!e["s-nr"]&&e["s-hn"]!==n["s-hn"]&&!ht.experimentalSlotFixes)if(Ji(e,t)){let i=Fi.find((t=>t._===e));Ei=!0,e["s-sn"]=e["s-sn"]||t,i?(i._["s-sh"]=n["s-hn"],i.A=n):(e["s-sh"]=n["s-hn"],Fi.push({A:n,_:e})),e["s-sr"]&&Fi.map((t=>{Ji(t._,e["s-sn"])&&(i=Fi.find((t=>t._===e)),i&&!t.A&&(t.A=i.A))}))}else Fi.some((t=>t._===e))||Fi.push({_:e})}1===n.nodeType&&Hi(n)}},Ji=(t,e)=>1===t.nodeType?null===t.getAttribute("slot")&&""===e||t.getAttribute("slot")===e:t["s-sn"]===e||""===e,Vi=t=>{t.h&&t.h.ref&&t.h.ref(null),t.l&&t.l.map(Vi)},Wi=(t,e,i)=>{const s=null==t?void 0:t.insertBefore(e,i);return Yi(e,t),s},Gi=t=>{const e=[];return t&&e.push(...t["s-scs"]||[],t["s-si"],t["s-sc"],...Gi(t.parentElement)),e},Yi=(t,e,i=!1)=>{var s;if(t&&e&&1===t.nodeType){const n=new Set(Gi(e).filter(Boolean));if(n.size&&(null==(s=t.classList)||s.add(...t["s-scs"]=Array.from(n)),t["s-ol"]||i))for(const e of Array.from(t.childNodes))Yi(e,t,!0)}},Xi=(t,e)=>{e&&!t.I&&e["s-p"]&&e["s-p"].push(new Promise((e=>t.I=e)))},Ki=(t,e)=>{if(t.t|=16,!(4&t.t))return Xi(t,t.O),ei((()=>Qi(t,e)));t.t|=512},Qi=(t,e)=>{const i=t.j;if(!i)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 s;return e?(t.t|=256,t.$&&(t.$.map((([t,e])=>os(i,t,e))),t.$=void 0),s=os(i,"componentWillLoad")):s=os(i,"componentWillUpdate"),s=Zi(s,(()=>os(i,"componentWillRender"))),Zi(s,(()=>es(t,i,e)))},Zi=(t,e)=>ts(t)?t.then(e).catch((t=>{console.error(t),e()})):e(),ts=t=>t instanceof Promise||t&&t.then&&"function"==typeof t.then,es=async(t,e,i)=>{var s;const n=t.$hostElement$,r=n["s-rc"];i&&(t=>{const e=t.T,i=t.$hostElement$,s=e.t,n=((t,e)=>{var i;const s=Si(e),n=ze.get(s);if(t=11===t.nodeType?t:Fe,n)if("string"==typeof n){let r,o=ki.get(t=t.head||t);if(o||ki.set(t,o=new Set),!o.has(s)){{r=Fe.createElement("style"),r.innerHTML=n;const s=null!=(i=Je.C)?i:function(){var t,e,i;return null!=(i=null==(e=null==(t=Fe.head)?void 0:t.querySelector('meta[name="csp-nonce"]'))?void 0:e.getAttribute("content"))?i:void 0}();if(null!=s&&r.setAttribute("nonce",s),!(1&e.t))if("HEAD"===t.nodeName){const e=t.querySelectorAll("link[rel=preconnect]"),i=e.length>0?e[e.length-1].nextSibling:t.querySelector("style");t.insertBefore(r,i)}else if("host"in t)if(Ve){const e=new CSSStyleSheet;e.replaceSync(n),t.adoptedStyleSheets=[e,...t.adoptedStyleSheets]}else{const e=t.querySelector("style");e?e.innerHTML=n+e.innerHTML:t.prepend(r)}else t.append(r);1&e.t&&"HEAD"!==t.nodeName&&t.insertBefore(r,null)}4&e.t&&(r.innerHTML+="slot-fb{display:contents}slot-fb[hidden]{display:none}"),o&&o.add(s)}}else t.adoptedStyleSheets.includes(n)||(t.adoptedStyleSheets=[...t.adoptedStyleSheets,n]);return s})(i.shadowRoot?i.shadowRoot:i.getRootNode(),e);10&s&&2&s&&(i["s-sc"]=n,i.classList.add(n+"-h"),2&s&&i.classList.add(n+"-s"))})(t);is(t,e,n,i),r&&(r.map((t=>t())),n["s-rc"]=void 0);{const e=null!=(s=n["s-p"])?s:[],i=()=>ss(t);0===e.length?i():(Promise.all(e).then(i),t.t|=4,e.length=0)}},is=(t,e,i,s)=>{try{e=e.render(),t.t&=-17,t.t|=2,((t,e,i=!1)=>{var s,n,r,o;const h=t.$hostElement$,l=t.T,a=t.U||pi(null,null),c=(t=>t&&t.m===mi)(e)?e:fi(null,null,e);if(ci=h.tagName,l.P&&(c.h=c.h||{},l.P.map((([t,e])=>c.h[e]=h[t]))),i&&c.h)for(const t of Object.keys(c.h))h.hasAttribute(t)&&!["key","ref","style","class"].includes(t)&&(c.h[t]=h[t]);if(c.m=null,c.t|=4,t.U=c,c.v=a.v=h.shadowRoot||h,li=h["s-sc"],Ti=!!(1&l.t),ai=h["s-cr"],Ei=!1,zi(a,c,i),Je.t|=1,Ci){Hi(c.v);for(const t of Fi){const e=t._;if(!e["s-ol"]){const t=Fe.createTextNode("");t["s-nr"]=e,Wi(e.parentNode,e["s-ol"]=t,e)}}for(const t of Fi){const e=t._,h=t.A;if(h){const t=h.parentNode;let i=h.nextSibling;{let r=null==(s=e["s-ol"])?void 0:s.previousSibling;for(;r;){let s=null!=(n=r["s-nr"])?n:null;if(s&&s["s-sn"]===e["s-sn"]&&t===s.parentNode){for(s=s.nextSibling;s===e||(null==s?void 0:s["s-sr"]);)s=null==s?void 0:s.nextSibling;if(!s||!s["s-nr"]){i=s;break}}r=r.previousSibling}}(!i&&t!==e.parentNode||e.nextSibling!==i)&&e!==i&&(!e["s-hn"]&&e["s-ol"]&&(e["s-hn"]=e["s-ol"].parentNode.nodeName),Wi(t,e,i),1===e.nodeType&&(e.hidden=null!=(r=e["s-ih"])&&r)),e&&"function"==typeof h["s-rf"]&&h["s-rf"](e)}else 1===e.nodeType&&(i&&(e["s-ih"]=null!=(o=e.hidden)&&o),e.hidden=!0)}}Ei&&Bi(c.v),Je.t&=-2,Fi.length=0,ai=void 0})(t,e,s)}catch(e){qe(e,t.$hostElement$)}return null},ss=t=>{const e=t.$hostElement$,i=t.j,s=t.O;os(i,"componentDidRender"),64&t.t?os(i,"componentDidUpdate"):(t.t|=64,hs(e),os(i,"componentDidLoad"),t.M(e),s||rs()),t.R(e),t.I&&(t.I(),t.I=void 0),512&t.t&&Ze((()=>Ki(t,!1))),t.t&=-517},ns=t=>{{const e=De(t),i=e.$hostElement$.isConnected;return i&&2==(18&e.t)&&Ki(e,!1),i}},rs=()=>{hs(Fe.documentElement),Ze((()=>bi(Be,"appload",{detail:{namespace:lt}})))},os=(t,e,i)=>{if(t&&t[e])try{return t[e](i)}catch(t){qe(t)}},hs=t=>{var e;return t.classList.add(null!=(e=ht.hydratedSelectorName)?e:"hydrated")},ls=(t,e,i)=>{var s,n;const r=t.prototype;if(e.D||e.N||t.watchers){t.watchers&&!e.N&&(e.N=t.watchers);const o=Object.entries(null!=(s=e.D)?s:{});if(o.map((([t,[s]])=>{31&s||2&i&&32&s?Object.defineProperty(r,t,{get(){return((t,e)=>De(this).q.get(e))(0,t)},set(i){((t,e,i,s)=>{const n=De(t);if(!n)throw Error(`Couldn't find host element for "${s.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 r=n.$hostElement$,o=n.q.get(e),h=n.t,l=n.j;if(i=((t,e)=>null==t||ni(t)?t:4&e?"false"!==t&&(""===t||!!t):2&e?parseFloat(t):1&e?t+"":t)(i,s.D[e][0]),(!(8&h)||void 0===o)&&i!==o&&(!Number.isNaN(o)||!Number.isNaN(i))&&(n.q.set(e,i),l)){if(s.N&&128&h){const t=s.N[e];t&&t.map((t=>{try{l[t](i,o,e)}catch(t){qe(t,r)}}))}if(2==(18&h)){if(l.componentShouldUpdate&&!1===l.componentShouldUpdate(i,o,e))return;Ki(n,!1)}}})(this,t,i,e)},configurable:!0,enumerable:!0}):1&i&&64&s&&Object.defineProperty(r,t,{value(...e){var i;const s=De(this);return null==(i=null==s?void 0:s.L)?void 0:i.then((()=>{var i;return null==(i=s.j)?void 0:i[t](...e)}))}})})),1&i){const i=new Map;r.attributeChangedCallback=function(t,s,n){Je.jmp((()=>{var o;const h=i.get(t);if(this.hasOwnProperty(h))n=this[h],delete this[h];else{if(r.hasOwnProperty(h)&&"number"==typeof this[h]&&this[h]==n)return;if(null==h){const i=De(this),r=null==i?void 0:i.t;if(r&&!(8&r)&&128&r&&n!==s){const r=i.j,h=null==(o=e.N)?void 0:o[t];null==h||h.forEach((e=>{null!=r[e]&&r[e].call(r,n,s,t)}))}return}}this[h]=(null!==n||"boolean"!=typeof this[h])&&n}))},t.observedAttributes=Array.from(new Set([...Object.keys(null!=(n=e.N)?n:{}),...o.filter((([t,e])=>15&e[0])).map((([t,s])=>{var n;const r=s[1]||t;return i.set(r,t),512&s[0]&&(null==(n=e.P)||n.push([t,r])),r}))]))}}return t},as=t=>{os(t,"connectedCallback")},cs=t=>{os(t,"disconnectedCallback")},us=(t,e)=>{const i={t:e[0],k:e[1]};i.D=e[2],i.B=e[3],i.N=t.N,i.P=[];const s=t.prototype.connectedCallback,n=t.prototype.disconnectedCallback;let r=!1;return Object.assign(t.prototype,{__registerHost(){((t,e)=>{const i={t:0,$hostElement$:t,T:e,q:new Map};i.L=new Promise((t=>i.R=t)),i.F=new Promise((t=>i.M=t)),t["s-p"]=[],t["s-rc"]=[],Re.set(t,i)})(this,i)},connectedCallback(){r||(fs(this,De(this),i.B),r=!0),(t=>{if(!(1&Je.t)){const e=De(t),i=e.T,s=()=>{};if(1&e.t)fs(t,e,i.B),(null==e?void 0:e.j)?as(e.j):(null==e?void 0:e.F)&&e.F.then((()=>as(e.j)));else{e.t|=1,12&i.t&&(t=>{const e=t["s-cr"]=Fe.createComment("");e["s-cn"]=!0,Wi(t,e,t.firstChild)})(t);{let i=t;for(;i=i.parentNode||i.host;)if(i["s-p"]){Xi(e,e.O=i);break}}i.D&&Object.entries(i.D).map((([e,[i]])=>{if(31&i&&t.hasOwnProperty(e)){const i=t[e];delete t[e],t[e]=i}})),(async(t,e,i)=>{let s;if(!(32&e.t)){if(e.t|=32,i.H){const t=(t=>{const e=t.k.replace(/-/g,"_"),i=t.H;if(!i)return;const s=Le.get(i);return s?s[e]:import(`./${i}.entry.js`).then((t=>(Le.set(i,t),t[e])),qe)
7
+ /*!__STENCIL_STATIC_IMPORT_SWITCH__*/})(i);if(t&&"then"in t){const e=()=>{};s=await t,e()}else s=t;if(!s)throw Error(`Constructor for "${i.k}#${e.J}" was not found`);s.isProxied||(i.N=s.watchers,ls(s,i,2),s.isProxied=!0);const n=()=>{};e.t|=8;try{new s(e)}catch(t){qe(t)}e.t&=-9,e.t|=128,n(),as(e.j)}else s=t.constructor,customElements.whenDefined(t.localName).then((()=>e.t|=128));if(s&&s.style){let t;"string"==typeof s.style&&(t=s.style);const e=Si(i);if(!ze.has(e)){const s=()=>{};((t,e,i)=>{let s=ze.get(t);Ve&&i?(s=s||new CSSStyleSheet,"string"==typeof s?s=e:s.replaceSync(e)):s=e,ze.set(t,s)})(e,t,!!(1&i.t)),s()}}}const n=e.O,r=()=>Ki(e,!0);n&&n["s-rc"]?n["s-rc"].push(r):r()})(t,e,i)}s()}})(this),s&&s.call(this)},disconnectedCallback(){(async()=>{if(!(1&Je.t)){const t=De(this);t.V&&(t.V.map((t=>t())),t.V=void 0),(null==t?void 0:t.j)?cs(t.j):(null==t?void 0:t.F)&&t.F.then((()=>cs(t.j)))}})(),n&&n.call(this)},__attachShadow(){if(this.shadowRoot){if("open"!==this.shadowRoot.mode)throw Error(`Unable to re-use existing shadow root for ${i.k}! Mode is set to ${this.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else this.attachShadow({mode:"open",delegatesFocus:!!(16&i.t)})}}),t.is=i.k,ls(t,i,3)},ds=(t,e)=>e,fs=(t,e,i)=>{i&&i.map((([i,s,n])=>{const r=ms(t,i),o=ps(e,n),h=vs(i);Je.ael(r,s,o,h),(e.V=e.V||[]).push((()=>Je.rel(r,s,o,h)))}))},ps=(t,e)=>i=>{var s;try{256&t.t?null==(s=t.j)||s[e](i):(t.$=t.$||[]).push([e,i])}catch(t){qe(t)}},ms=(t,e)=>4&e?Fe:8&e?Be:16&e?Fe.body:t,vs=t=>({passive:!!(1&t),capture:!!(2&t)})
8
+ /*!
9
+ * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
10
+ * See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
11
+ * v2.13.2
12
+ */;const gs=globalThis.calciteConfig,ws=gs?.focusTrapStack||[],ys="2.13.2",bs=()=>"undefined"!=typeof navigator&&"undefined"!=typeof window&&"undefined"!=typeof location&&"undefined"!=typeof document&&window.location===location&&window.document===document
13
+ /*!
14
+ * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
15
+ * See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
16
+ * v2.13.2
17
+ */;function ks(){const{classList:t}=document.body,e=window.matchMedia("(prefers-color-scheme: dark)").matches,i=()=>t.contains(Ce)||t.contains(Ee)&&e?"dark":"light",s=t=>document.body.dispatchEvent(new CustomEvent("calciteModeChange",{bubbles:!0,detail:{mode:t}})),n=t=>{r!==t&&s(t),r=t};let r=i();s(r),window.matchMedia("(prefers-color-scheme: dark)").addEventListener("change",(t=>n(t.matches?"dark":"light"))),new MutationObserver((()=>n(i()))).observe(document.body,{attributes:!0,attributeFilter:["class"]})}let Ss;bs()&&("interactive"===document.readyState?ks():document.addEventListener("DOMContentLoaded",(()=>ks()),{once:!0})),function(){if(gs&&gs.version)return;console.info(`Using Calcite Components ${ys} [Date: 2024-10-24, Revision: e38e2977d]`);const t=gs||globalThis.calciteConfig||{};Object.defineProperty(t,"version",{value:ys,writable:!1}),globalThis.calciteConfig=t}
18
+ /*!
19
+ * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
20
+ * See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
21
+ * v2.13.2
22
+ */(),Ss="components/assets";const _s=Symbol("widget"),As=Symbol("widget-test-data"),Is=[],Os={},js=new WeakMap;function xs(t,e){let i=e.children;if(i?.length)for(let e=0;e<i.length;++e)i[e]=xs(t,i[e]);else i=Is;const s=e.vnodeSelector;if(Cs(s)){const n=e.properties||Os,r=n.key||s,o={key:r,afterCreate:$s,afterUpdate:Ts,afterRemoved:Es,parentWidget:t,widgetConstructor:s,widgetProperties:{...n,key:r,children:i}};return{vnodeSelector:s.vnodeSelector,properties:o,children:void 0,text:void 0,domNode:null}}return e}function $s(t,e,i,{parentWidget:s,widgetConstructor:n,widgetProperties:r}){const o=new n(r);o.container=t,js.set(t,o),o.afterCreate?.(o,t),s.addHandles(l((()=>Es(t)))),queueMicrotask((()=>{o[As].projector.renderNow()}))}function Ts(t,e,i,{widgetProperties:s}){const n=js.get(t);n&&(n.set(s),n.afterUpdate?.(n,t))}function Es(t){const e=js.get(t);e&&(e.afterRemoved?.(e,t),e.destroy(),js.delete(t))}function Cs(t){return"function"==typeof t&&t[_s]}const Us=new Set;var Ps;let Ms=0;function Rs(t,e){const i=Object.prototype.hasOwnProperty;for(const s in e)i.call(e,s)&&i.call(t,s)&&(null!=t[s]&&null!=e[s]&&"object"==typeof t[s]&&"object"==typeof e[s]?Rs(t[s],e[s]):t[s]=e[s]);return t}const Ds=(t=>{let e;const i={...xe,...t},s=(t=>({...$e,...t}))(i),n=s.performanceLogger;let r,o=!0,h=!1;const l=[],a=[],c=(t,r,o)=>{let h;s.eventHandlerInterceptor=()=>function(t){let s;n("domEvent",t);const r=((t,e)=>{const i=[];for(;t&&t!==e;)i.push(t),t=t.parentNode;return i})(t.currentTarget,h.domNode),o=r.some((t=>customElements.get(t?.tagName?.toLowerCase())));if(t.eventPhase!==Event.CAPTURING_PHASE&&o){const e=t.composedPath(),i=e.slice(e.indexOf(t.currentTarget),e.indexOf(h.domNode)).reverse();s=Te(h.getLastRender(),i,!0)}else r.reverse(),s=Te(h.getLastRender(),r);let l;return s&&(l=i.handleInterceptedEvent(e,s,this,t)),n("domEventProcessed",t),l},i.postProcessProjectionOptions?.(s);const c=o();h=t(r,c,s),s.eventHandlerInterceptor=void 0,l.push(h),a.push(o),i.afterFirstVNodeRendered&&i.afterFirstVNodeRendered(h,c)};let u=()=>{if(r=void 0,o){o=!1,n("renderStart",void 0);for(let t=0;t<l.length;t++){const e=a[t]();n("rendered",void 0);try{l[t].update(e)}catch(t){console.error(t)}n("patched",void 0)}n("renderDone",void 0),o=!0}};return i.modifyDoRenderImplementation&&(u=i.modifyDoRenderImplementation(u,l,a)),e={renderNow:u,scheduleRender:()=>{r||h||(r=requestAnimationFrame(u))},stop:()=>{r&&(cancelAnimationFrame(r),r=void 0),h=!0},resume:()=>{h=!1,o=!0,e.scheduleRender()},append:(t,e)=>{c(Ae,t,e)},insertBefore:(t,e)=>{c(Ie,t,e)},merge:(t,e)=>{c(Oe,t,e)},replace:(t,e)=>{c(je,t,e)},detach:t=>{for(let e=0;e<a.length;e++)if(a[e]===t)return a.splice(e,1),l.splice(e,1)[0];throw Error("renderFunction was not found")}},e
23
+ /*!
24
+ * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
25
+ * See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
26
+ * v2.13.2
27
+ */})({postProcessProjectionOptions(t){const e=t.eventHandlerInterceptor,i=/capture$/i;t.eventHandlerInterceptor=(t,s,n,r)=>{const o=e?.(t,s,n,r),h=i.test(t);if(!((t=t.replace(i,"")).toLowerCase()in n)||h){const e=t[2].toLowerCase()+t.slice(3),i=t=>o?.call(n,t);n.addEventListener(e,i,h);const s=()=>n.removeEventListener(e,i,h),l=r.afterRemoved;r.afterRemoved=t=>{l?.(t),s()}}return o}},handleInterceptedEvent(t,e,i,s){const{eventPhase:n,type:r}=s,o=n===Event.CAPTURING_PHASE;let h=`on${r}${o?"capture":""}`;const l=e.properties;(l&&h in l||(h=`on${r[0].toUpperCase()}${r.slice(1)}${o?"Capture":""}`,l&&h in l))&&(Vt(),t.scheduleRender(),l[h].call(l.bind||i,s))}});let Ns=!1,qs=class extends(mt(dt.EventedAccessor)){constructor(t,e){super(t,e),this._attached=!1,this._projector=Ds,this._readyForTrueRender=!1,this.key=this,this.autoRenderingEnabled=!0,this._loadLocale=E((async()=>{if(this._messageBundleProps?.length){const t=await Promise.allSettled(this._messageBundleProps.map((async({bundlePath:t,propertyName:e})=>{if(this.destroyed)return;let i=await N(t);this.uiStrings&&Object.keys(this.uiStrings)&&(i=Rs(S(i),this.uiStrings)),this[e]=i})));if(this.destroyed)return;for(const e of t)"rejected"===e.status&&i.getLogger(this).error("widget-intl:locale-error",this.declaredClass,e.reason)}await this.loadLocale()})),function(){try{ii(".")}catch{(t=>{Je.i=t})($(T(Ss)))}}();const s="esri-widget-uid-"+function(){if(zt)return crypto.randomUUID();const t=crypto.getRandomValues(new Uint16Array(8));t[3]=4095&t[3]|16384,t[4]=16383&t[4]|32768;const e=e=>t[e].toString(16).padStart(4,"0");return e(0)+e(1)+"-"+e(2)+"-"+e(3)+"-"+e(4)+"-"+e(5)+e(6)+e(7)}(),n=this.render.bind(this);this._trackingTarget=new C((()=>{this.autoRenderingEnabled&&this.scheduleRender()}));const r=()=>({vnodeSelector:"div",properties:{key:s+"-hidden",class:"",styles:{display:"none"}},domNode:null,children:void 0,text:void 0}),o=()=>{if(!this._readyForTrueRender||this.destroyed)return null;const t=n()??r(),e=t.properties??={};if(e.key??=s,Cs(t.vnodeSelector)){if(!this.visible)return r()}else this.visible?e.styles||(e.styles={}):(e.class="",e.styles={display:"none"}),e.styles.display??="";let i=0;return t.children?.forEach((t=>{Cs(t.vnodeSelector)||(t.properties??={},t.properties.key??=`${this.id}--${i++}`)})),xs(this,t)};this.render=()=>{if(Ns)return o();let t=function(t){return Jt.get(t)}(this)??null;if(t)return t;this._trackingTarget.clear(),Ns=!0;try{t=U(this._trackingTarget,o)}catch(t){throw i.getLogger(this).error(t),t}finally{Ns=!1}return t&&function(t,e){Jt.set(t,e)}(this,t),t};const h=this.beforeFirstRender();h?this._resourcesFetch=h.then((()=>{this._readyForTrueRender=!0,this._postInitialize()})):(this._resourcesFetch=Promise.resolve().then((()=>{this._postInitialize()})),this._readyForTrueRender=!0),this.addResolvingPromise(this._resourcesFetch),function(t){Us.add(t),t.finally((()=>Us.delete(t)))}(this._resourcesFetch)}normalizeCtorArgs(t,e){const i={...t};return e&&(i.container=e),i}postInitialize(){}beforeFirstRender(){const t=this.loadDependencies();return this._messageBundleProps?.length||t?Promise.all([t,this._loadLocale()]).then((()=>{})).catch(P):null}loadDependencies(){return null}loadLocale(){return null}destroy(){this.destroyed||(M(this._trackingTarget),M(this.viewModel),this._detach(this.container),this._set("container",null),this._emitter.clear(),this.render=()=>null,this._projector=null,Wt(this))}set container(t){this._get("container")||this._set("container",t)}castContainer(t){return function(t){return"string"==typeof t?document.getElementById(t):t??null}(t)}get domNode(){return this.container}set domNode(t){this.container=t}get icon(){return null}set icon(t){this._overrideIfSome("icon",t)}get id(){return this._get("id")||this.container?.id||Date.now().toString(16)+"-widget-"+Ms++}set id(t){t&&this._set("id",t)}get label(){return this.declaredClass.split(".").pop()}set label(t){this._overrideIfSome("label",t)}get renderable(){return this._resourcesFetch}get visible(){return this._get("visible")}set visible(t){this._set("visible",t)}get[(Ps=_s,As)](){return{projector:this._projector}}render(){throw Error("not implemented")}scheduleRender(){this.destroyed||(Wt(this),this._projector.scheduleRender())}own(t){R(i.getLogger(this),"`Widget.own()` is deprecated in favor of 'Widget.addHandles()'",{replacement:"Widget.addHandles()",version:"4.28"}),this.addHandles(t)}classes(...t){return Gt.apply(this,t)}renderNow(){Wt(this),this._projector.renderNow()}_postInitialize(){if(this.destroyed)return;this.scheduleRender(),this._delegatedEventNames?.length&&this.addHandles(Mt((()=>this.viewModel),((t,e)=>{e&&this.removeHandles("delegated-events"),t&&q(t)&&this.addHandles(this._delegatedEventNames.map((e=>L(t,e,(t=>{this.emit(e,t)})))),"delegated-events")}),Lt)),this.postInitialize();const t=async()=>{await this._loadLocale().catch(P),this.scheduleRender()};this.addHandles([D(t),Mt((()=>this.uiStrings),t),Rt((()=>this.container),(t=>{this.destroyed||this._attach(t)}),{initial:!0,once:!0})])}_attach(t){t&&(this._projector.merge(t,this.render),this._attached=!0)}_detach(t){this._attached&&(this._projector.detach(this.render),this._attached=!1),t?.parentNode?.removeChild(t)}};qs[Ps]=!0,qs.vnodeSelector="div",r([f()],qs.prototype,"_readyForTrueRender",void 0),r([f({value:null})],qs.prototype,"container",null),r([function(...t){if(3!==t.length||"string"!=typeof t[1])return 1===t.length&&"[object Function]"===Bt.call(t[0])?Ft(t[0]):1===t.length&&"string"==typeof t[0]?function(t){return(e,i)=>{O(e,t).cast=e[i]}}(t[0]):void 0}("container")],qs.prototype,"castContainer",null),r([f()],qs.prototype,"icon",null),r([f()],qs.prototype,"id",null),r([f()],qs.prototype,"label",null),r([f()],qs.prototype,"renderable",null),r([f()],qs.prototype,"uiStrings",void 0),r([f()],qs.prototype,"viewModel",void 0),r([f({value:!0})],qs.prototype,"visible",null),r([f()],qs.prototype,"key",void 0),r([f()],qs.prototype,"children",void 0),r([f()],qs.prototype,"afterCreate",void 0),r([f()],qs.prototype,"afterUpdate",void 0),r([f()],qs.prototype,"afterRemoved",void 0),qs=r([o("esri.widgets.Widget")],qs);const Ls=qs;function zs(t){return(e,i)=>{e.hasOwnProperty("_messageBundleProps")||(e._messageBundleProps=e._messageBundleProps?e._messageBundleProps.slice():[]),e._messageBundleProps.push({bundlePath:t,propertyName:i})}}var Bs=function(t){return{vnodeSelector:"",properties:void 0,children:void 0,text:""+t,domNode:null}},Fs=function(t,e){for(var i=0,s=t.length;i<s;i++){var n=t[i];Array.isArray(n)?Fs(n,e):null!=n&&!1!==n&&(n.hasOwnProperty("vnodeSelector")||(n=Bs(n)),e.push(n))}},Hs=function(t,e){for(var i=[],s=2;s<arguments.length;s++)i[s-2]=arguments[s];if(1===i.length&&"string"==typeof i[0])return{vnodeSelector:t,properties:e||void 0,children:void 0,text:i[0],domNode:null};var n=[];return Fs(i,n),{vnodeSelector:t,properties:e||void 0,children:n,text:void 0,domNode:null}};function Js(t,e,...i){return"function"!=typeof t||Cs(t)?Hs(t,e,...i):t(e,...i)}const Vs="esri-identity-modal",Ws={base:Vs,info:Vs+"__info",notice:Vs+"__notice"};let Gs=class extends Ls{constructor(t,e){super(t,e),this.container=document.createElement("div"),this.error=null,this.oAuthPrompt=!1,this.open=!1,this.signingIn=!1,this.server=null,this.resource=null,this._usernameInputNode=null,this._passwordInputNode=null,document.body.appendChild(this.container)}loadDependencies(){return function(t){const e=[];for(const i of Object.keys(t))customElements.get("calcite-"+i)||e.push(t[i]?.());return e.length>0?Promise.all(e):null}({button:()=>import("./p-058d0542.js"),dialog:()=>import("./p-088a5dca.js"),input:()=>import("./p-94ad391c.js"),label:()=>import("./p-b1546c15.js"),notice:()=>import("./p-98079396.js")})}get title(){return this.commonMessages?.auth.signIn}render(){const{open:i,title:r,messages:o,signingIn:h,oAuthPrompt:l,server:a,resource:c,error:u}=this,{info:d,oAuthInfo:f,lblItem:p,invalidUser:m,noAuthService:v,lblUser:g,lblPwd:w,lblCancel:y,lblSigning:b,lblOk:k}=o;return Js("div",{class:this.classes(Ws.base,"calcite-mode-"+(getComputedStyle(document.body).getPropertyValue("--esri-calcite-mode-name").replaceAll(/\s|'|"/g,"").startsWith("dark")?"dark":"light"))},Js("form",{bind:this,onsubmit:this._submit},Js("calcite-dialog",{bind:this,heading:r,modal:!0,open:i,outsideCloseDisabled:!0,scale:"s",widthScale:"s",onCalciteDialogClose:this._cancel,onCalciteDialogOpen:this._focusUsernameInput},Js("div",{class:Ws.info},function(i,r,o={}){const{format:h={}}=o;return t(i,(t=>function(t,i,r){let o,h;const l=t.indexOf(":");if(-1===l?o=t.trim():(o=t.slice(0,l).trim(),h=t.slice(l+1).trim()),!o)return"";const a=e(o,i);if(null==a)return"";const c=(h?r?.[h]:null)??r?.[o];return c?function(t,e){switch(e.type){case"date":return n(t,e.intlOptions);case"number":return s(t,e.intlOptions);default:return at().warn("missing format descriptor for key {key}"),ct(t)}}(a,c):h?function(t,e){switch(e.toLowerCase()){case"dateformat":return n(t);case"numberformat":return s(t);default:return at().warn("inline format is unsupported since 4.12: "+e),/^(dateformat|datestring)/i.test(e)?n(t):/^numberformat/i.test(e)?s(t):ct(t)}}(a,h):ct(a)}(t,r,h)))}(l?f:d,{server:a&&/\.arcgis\.com/i.test(a)?"ArcGIS Online":a,resource:`(${c||p})`})),u?Js("calcite-notice",{class:Ws.notice,icon:"exclamation-mark-triangle",kind:"danger",open:!0},Js("div",{slot:"message"},u.details?.httpStatus?m:v)):null,l?null:[Js("calcite-label",null,g,Js("calcite-input",{afterCreate:t=>this._usernameInputNode=t,autocomplete:"off",bind:this,name:"username",required:!0,spellcheck:!1,type:"text",value:""})),Js("calcite-label",null,w,Js("calcite-input",{afterCreate:t=>this._passwordInputNode=t,bind:this,name:"password",required:!0,type:"password",value:""}))],Js("calcite-button",{appearance:"outline",bind:this,onclick:this._cancel,slot:"footer-end",type:"button"},y),Js("calcite-button",{loading:!!h,slot:"footer-end",type:"submit"},h?b:k))))}_focusUsernameInput(){return async function(t){await j(x(void 0));const e=t();e&&("setFocus"in e&&"function"==typeof e.setFocus?await e.setFocus():e instanceof HTMLElement&&e.focus())}((()=>this._usernameInputNode))}_cancel(){this._set("signingIn",!1),this.open=!1,this._usernameInputNode&&(this._usernameInputNode.value=""),this._passwordInputNode&&(this._passwordInputNode.value=""),this.emit("cancel")}_submit(t){t.preventDefault(),this._set("signingIn",!0),this.emit("submit",this.oAuthPrompt?{}:{username:this._usernameInputNode?.value,password:this._passwordInputNode?.value})}};r([f({readOnly:!0})],Gs.prototype,"container",void 0),r([f(),zs("esri/t9n/common")],Gs.prototype,"commonMessages",void 0),r([f()],Gs.prototype,"error",void 0),r([f(),zs("esri/identity/t9n/identity")],Gs.prototype,"messages",void 0),r([f()],Gs.prototype,"oAuthPrompt",void 0),r([f()],Gs.prototype,"open",void 0),r([f()],Gs.prototype,"signingIn",void 0),r([f()],Gs.prototype,"server",void 0),r([f({readOnly:!0})],Gs.prototype,"title",null),r([f()],Gs.prototype,"resource",void 0),Gs=r([o("esri.identity.IdentityModal")],Gs);const Ys=Gs,Xs="esriJSAPIOAuth";class Ks{constructor(t,e){this.oAuthInfo=null,this.storage=null,this.appId=null,this.codeVerifier=null,this.expires=null,this.refreshToken=null,this.ssl=null,this.stateUID=null,this.token=null,this.userId=null,this.oAuthInfo=t,this.storage=e,this._init()}isValid(){let t=!1;if(this.oAuthInfo&&this.userId&&(this.refreshToken||this.token))if(null==this.expires&&this.refreshToken)t=!0;else if(this.expires){const e=Date.now();this.expires>e&&(this.expires-e)/1e3>60*this.oAuthInfo.minTimeUntilExpiration&&(t=!0)}return t}save(){if(!this.storage)return!1;const t=this._load(),e=this.oAuthInfo;if(e?.authNamespace&&e.portalUrl){let i=t[e.authNamespace];i||(i=t[e.authNamespace]={}),this.appId||(this.appId=e.appId),i[e.portalUrl]={appId:this.appId,codeVerifier:this.codeVerifier,expires:this.expires,refreshToken:this.refreshToken,ssl:this.ssl,stateUID:this.stateUID,token:this.token,userId:this.userId};try{this.storage.setItem(Xs,JSON.stringify(t))}catch(t){return console.warn(t),!1}return!0}return!1}destroy(){const t=this._load(),e=this.oAuthInfo;if(e?.appId&&e?.portalUrl&&(null==this.expires||this.expires>Date.now())&&(this.refreshToken||this.token)){const t=e.portalUrl.replace(/^http:/i,"https:")+"/sharing/rest/oauth2/revokeToken",i=new FormData;if(i.append("f","json"),i.append("auth_token",this.refreshToken||this.token),i.append("client_id",e.appId),i.append("token_type_hint",this.refreshToken?"refresh_token":"access_token"),"function"==typeof navigator.sendBeacon)navigator.sendBeacon(t,i);else{const e=new XMLHttpRequest;e.open("POST",t),e.send(i)}}if(e?.authNamespace&&e.portalUrl&&this.storage){const i=t[e.authNamespace];if(i){delete i[e.portalUrl];try{this.storage.setItem(Xs,JSON.stringify(t))}catch(t){console.log(t)}}}e&&(e._oAuthCred=null,this.oAuthInfo=null)}_init(){const t=this._load(),e=this.oAuthInfo;if(e?.authNamespace&&e.portalUrl){let i=t[e.authNamespace];i&&(i=i[e.portalUrl],i&&(this.appId=i.appId,this.codeVerifier=i.codeVerifier,this.expires=i.expires,this.refreshToken=i.refreshToken,this.ssl=i.ssl,this.stateUID=i.stateUID,this.token=i.token,this.userId=i.userId))}}_load(){let t={};if(this.storage){const e=this.storage.getItem(Xs);if(e)try{t=JSON.parse(e)}catch(t){console.warn(t)}}return t}}var Qs;Ks.prototype.declaredClass="esri.identity.OAuthCredential";let Zs=Qs=class extends z{constructor(t){super(t),this._oAuthCred=null,this.appId=null,this.authNamespace="/",this.expiration=20160,this.flowType="auto",this.forceLogin=!1,this.forceUserId=!1,this.locale=null,this.minTimeUntilExpiration=30,this.popup=!1,this.popupCallbackUrl="oauth-callback.html",this.popupWindowFeatures="height=490,width=800,resizable,scrollbars,status",this.portalUrl="https://www.arcgis.com",this.preserveUrlHash=!1,this.userId=null}clone(){return Qs.fromJSON(this.toJSON())}};r([f({json:{write:!0}})],Zs.prototype,"appId",void 0),r([f({json:{write:!0}})],Zs.prototype,"authNamespace",void 0),r([f({json:{write:!0}})],Zs.prototype,"expiration",void 0),r([f({json:{write:!0}})],Zs.prototype,"flowType",void 0),r([f({json:{write:!0}})],Zs.prototype,"forceLogin",void 0),r([f({json:{write:!0}})],Zs.prototype,"forceUserId",void 0),r([f({json:{write:!0}})],Zs.prototype,"locale",void 0),r([f({json:{write:!0}})],Zs.prototype,"minTimeUntilExpiration",void 0),r([f({json:{write:!0}})],Zs.prototype,"popup",void 0),r([f({json:{write:!0}})],Zs.prototype,"popupCallbackUrl",void 0),r([f({json:{write:!0}})],Zs.prototype,"popupWindowFeatures",void 0),r([f({json:{write:!0}})],Zs.prototype,"portalUrl",void 0),r([f({json:{write:!0}})],Zs.prototype,"preserveUrlHash",void 0),r([f({json:{write:!0}})],Zs.prototype,"userId",void 0),Zs=Qs=r([o("esri.identity.OAuthInfo")],Zs);const tn=Zs;let en=class extends z{constructor(t){super(t),this.adminTokenServiceUrl=null,this.currentVersion=null,this.hasPortal=null,this.hasServer=null,this.owningSystemUrl=null,this.owningTenant=null,this.server=null,this.shortLivedTokenValidity=null,this.tokenServiceUrl=null,this.webTierAuth=null}};r([f({json:{write:!0}})],en.prototype,"adminTokenServiceUrl",void 0),r([f({json:{write:!0}})],en.prototype,"currentVersion",void 0),r([f({json:{write:!0}})],en.prototype,"hasPortal",void 0),r([f({json:{write:!0}})],en.prototype,"hasServer",void 0),r([f({json:{write:!0}})],en.prototype,"owningSystemUrl",void 0),r([f({json:{write:!0}})],en.prototype,"owningTenant",void 0),r([f({json:{write:!0}})],en.prototype,"server",void 0),r([f({json:{write:!0}})],en.prototype,"shortLivedTokenValidity",void 0),r([f({json:{write:!0}})],en.prototype,"tokenServiceUrl",void 0),r([f({json:{write:!0}})],en.prototype,"webTierAuth",void 0),en=r([o("esri.identity.ServerInfo")],en);const sn=en,nn={},rn=t=>{const e=new W(t.owningSystemUrl).host,i=new W(t.server).host,s=/.+\.arcgis\.com$/i;return s.test(e)&&s.test(i)},on=(t,e)=>!!(rn(t)&&e&&e.some((e=>e.test(t.server))));let hn=null,ln=null;try{hn=window.localStorage,ln=window.sessionStorage}catch{}class an extends dt{constructor(){super(),this._portalConfig=globalThis.esriGeowConfig,this.serverInfos=[],this.oAuthInfos=[],this.credentials=[],this._soReqs=[],this._xoReqs=[],this._portals=[],this._defaultOAuthInfo=null,this._defaultTokenValidity=60,this.dialog=null,this.tokenValidity=null,this.normalizeWebTierAuth=!1,this._appOrigin="null"!==window.origin?window.origin:window.location.origin,this._appUrlObj=B(window.location.href),this._busy=null,this._rejectOnPersistedPageShow=!1,this._oAuthLocationParams=null,this._gwTokenUrl="/sharing/rest/generateToken",this._agsRest="/rest/services",this._agsPortal=/\/sharing(\/|$)/i,this._agsAdmin=/(https?:\/\/[^/]+\/[^/]+)\/admin\/?(\/.*)?$/i,this._adminSvcs=/\/rest\/admin\/services(\/|$)/i,this._gwDomains=[{regex:/^https?:\/\/www\.arcgis\.com/i,customBaseUrl:"maps.arcgis.com",tokenServiceUrl:"https://www.arcgis.com/sharing/rest/generateToken"},{regex:/^https?:\/\/(?:dev|[a-z\d-]+\.mapsdev)\.arcgis\.com/i,customBaseUrl:"mapsdev.arcgis.com",tokenServiceUrl:"https://dev.arcgis.com/sharing/rest/generateToken"},{regex:/^https?:\/\/(?:devext|[a-z\d-]+\.mapsdevext)\.arcgis\.com/i,customBaseUrl:"mapsdevext.arcgis.com",tokenServiceUrl:"https://devext.arcgis.com/sharing/rest/generateToken"},{regex:/^https?:\/\/(?:qaext|[a-z\d-]+\.mapsqa)\.arcgis\.com/i,customBaseUrl:"mapsqa.arcgis.com",tokenServiceUrl:"https://qaext.arcgis.com/sharing/rest/generateToken"},{regex:/^https?:\/\/[a-z\d-]+\.maps\.arcgis\.com/i,customBaseUrl:"maps.arcgis.com",tokenServiceUrl:"https://www.arcgis.com/sharing/rest/generateToken"}],this._legacyFed=[],this._regexSDirUrl=/http.+\/rest\/services\/?/gi,this._regexServerType=/(\/(FeatureServer|GPServer|GeoDataServer|GeocodeServer|GeoenrichmentServer|GeometryServer|GlobeServer|ImageServer|KnowledgeGraphServer|MapServer|MissionServer|MobileServer|NAServer|NetworkDiagramServer|OGCFeatureServer|ParcelFabricServer|RelationalCatalogServer|SceneServer|StreamServer|UtilityNetworkServer|ValidationServer|VectorTileServer|VersionManagementServer|VideoServer)).*/gi,this._gwUser=/http.+\/users\/([^/]+).*/i,this._gwItem=/http.+\/items\/([^/]+).*/i,this._gwGroup=/http.+\/groups\/([^/]+).*/i,this._rePortalTokenSvc=/\/sharing(\/rest)?\/generatetoken/i,this._createDefaultOAuthInfo=!0,this._hasTestedIfAppIsOnPortal=!1,this._getPlatformSelfError=null,this._getOAuthLocationParams(),window.addEventListener("pageshow",(t=>{this._pageShowHandler(t)}))}registerServers(t){const e=this.serverInfos;e?(t=t.filter((t=>!this.findServerInfo(t.server))),this.serverInfos=e.concat(t)):this.serverInfos=t,t.forEach((t=>{t.owningSystemUrl&&this._portals.push(t.owningSystemUrl),t.hasPortal&&this._portals.push(t.server)}))}registerOAuthInfos(t){const e=this.oAuthInfos;if(e){for(const i of t){const t=this.findOAuthInfo(i.portalUrl);t&&e.splice(e.indexOf(t),1)}this.oAuthInfos=e.concat(t)}else this.oAuthInfos=t}registerToken(t){t={...t};const e=this._sanitizeUrl(t.server),i=this._isServerRsrc(e);let s,n=this.findServerInfo(e),r=!0;n||(n=new sn,n.server=this._getServerInstanceRoot(e),i?n.hasServer=!0:(n.tokenServiceUrl=this._getTokenSvcUrl(e),n.hasPortal=!0),this.registerServers([n])),s=this._findCredential(e),s?(delete t.server,Object.assign(s,t),r=!1):(s=new cn({userId:t.userId,server:n.server??void 0,token:t.token,expires:t.expires,ssl:t.ssl,scope:i?"server":"portal"}),s.resources=[e],this.credentials.push(s)),s.emitTokenChange(!1),r||s.refreshServerTokens()}toJSON(){return F({serverInfos:this.serverInfos.map((t=>t.toJSON())),oAuthInfos:this.oAuthInfos.map((t=>t.toJSON())),credentials:this.credentials.map((t=>t.toJSON()))})}initialize(t){if(!t)return;"string"==typeof t&&(t=JSON.parse(t));const e=t.serverInfos,i=t.oAuthInfos,s=t.credentials;if(e){const t=[];e.forEach((e=>{e.server&&e.tokenServiceUrl&&t.push(e.declaredClass?e:new sn(e))})),t.length&&this.registerServers(t)}if(i){const t=[];i.forEach((e=>{e.appId&&t.push(e.declaredClass?e:new tn(e))})),t.length&&this.registerOAuthInfos(t)}s&&s.forEach((t=>{t.server&&t.token&&t.expires&&t.expires>Date.now()&&((t=t.declaredClass?t:new cn(t)).emitTokenChange(),this.credentials.push(t))}))}findServerInfo(t){let e;t=this._sanitizeUrl(t);for(const i of this.serverInfos)if(this._hasSameServerInstance(i.server,t)){e=i;break}return e}findOAuthInfo(t){let e;t=this._sanitizeUrl(t);for(const i of this.oAuthInfos)if(this._hasSameServerInstance(i.portalUrl,t)){e=i;break}return e}findCredential(t,e){if(!t)return;let i;t=this._sanitizeUrl(t);const s=this._isServerRsrc(t)?"server":"portal";if(e){for(const n of this.credentials)if(this._hasSameServerInstance(n.server,t)&&e===n.userId&&n.scope===s){i=n;break}}else for(const e of this.credentials)if(this._hasSameServerInstance(e.server,t)&&-1!==this._getIdenticalSvcIdx(t,e)&&e.scope===s){i=e;break}return i}getCredential(t,e){let i,s,n=!0;e&&(i=!!e.token,s=e.error,n=!1!==e.prompt),e={...e},t=this._sanitizeUrl(t);const r=new AbortController,o=c();if(e.signal&&m(e.signal,(()=>{r.abort()})),m(r,(()=>{o.reject(new H("identity-manager:user-aborted","ABORTED"))})),J(r))return o.promise;e.signal=r.signal;const h=this._isAdminResource(t),l=i?this.findCredential(t):null;let a;if(l&&s&&s.details&&498===s.details.httpStatus)l.destroy();else if(l)return a=new H("identity-manager:not-authorized","You are currently signed in as: '"+l.userId+"'. You do not have access to this resource: "+t,{error:s}),o.reject(a),o.promise;const u=this._findCredential(t,e);if(u)return o.resolve(u),o.promise;let d=this.findServerInfo(t);if(d)!d.hasPortal&&d.server&&d.owningSystemUrl&&this._hasSameServerInstance(d.server,d.owningSystemUrl)&&(d.hasPortal=!0),!d.hasServer&&this._isServerRsrc(t)&&(d._restInfoPms=this._getTokenSvcUrl(t),d.hasServer=!0);else{const e=this._getTokenSvcUrl(t);if(!e)return a=new H("identity-manager:unknown-resource","Unknown resource - could not find token service endpoint."),o.reject(a),o.promise;d=new sn,d.server=this._getServerInstanceRoot(t),"string"==typeof e?(d.tokenServiceUrl=e,d.hasPortal=!0):(d._restInfoPms=e,d.hasServer=!0),this.registerServers([d])}return d.hasPortal&&void 0===d._selfReq&&(n||V(d.tokenServiceUrl,this._appOrigin)||this._gwDomains.some((t=>t.tokenServiceUrl===d.tokenServiceUrl)))&&(d._selfReq={owningTenant:e?.owningTenant,selfDfd:this._getPortalSelf(d.tokenServiceUrl.replace(this._rePortalTokenSvc,"/sharing/rest/portals/self"),t)}),this._enqueue(t,d,e,o,h)}getResourceName(t){return this._isRESTService(t)?t.replace(this._regexSDirUrl,"").replace(this._regexServerType,"")||"":this._gwUser.test(t)&&t.replace(this._gwUser,"$1")||this._gwItem.test(t)&&t.replace(this._gwItem,"$1")||this._gwGroup.test(t)&&t.replace(this._gwGroup,"$1")||""}generateToken(t,e,i){const s=this._rePortalTokenSvc.test(t.tokenServiceUrl),n=new W(this._appOrigin),r=t.shortLivedTokenValidity;let o,h,l,a,c,u,d,f;e&&(f=this.tokenValidity||r||this._defaultTokenValidity,f>r&&r>0&&(f=r)),i&&(o=i.isAdmin,h=i.serverUrl,l=i.token,u=i.signal,d=i.ssl,t.customParameters=i.customParameters),o?a=t.adminTokenServiceUrl:(a=t.tokenServiceUrl,c=new W(a.toLowerCase()),t.webTierAuth&&i?.serverUrl&&!d&&"http"===n.scheme&&(V(n.uri,a,!0)||"https"===c.scheme&&n.host===c.host&&"7080"===n.port&&"7443"===c.port)&&(a=a.replace(/^https:/i,"http:").replace(/:7443/i,":7080")));const p={query:{request:"getToken",username:e?.username,password:e?.password,serverUrl:h,token:l,expiration:f,referer:o||s?this._appOrigin:null,client:o?"referer":null,f:"json",...t.customParameters},method:"post",authMode:"anonymous",useProxy:this._useProxy(t,i),signal:u,...i?.ioArgs};return s||(p.withCredentials=!1),G(a,p).then((i=>{const s=i.data;if(!s?.token)return new H("identity-manager:authentication-failed","Unable to generate token");const n=t.server;return nn[n]||(nn[n]={}),e&&(nn[n][e.username]=e.password),s.validity=f,s}))}isBusy(){return!!this._busy}async checkSignInStatus(t){return(await this.checkAppAccess(t,"")).credential}checkAppAccess(t,e,i){let s=!1;return this.getCredential(t,{prompt:!1}).then((n=>{let r;const o={f:"json"};if("portal"===n.scope)if(e&&(this._doPortalSignIn(t)||i?.force))r=n.server+"/sharing/rest/oauth2/validateAppAccess",o.client_id=e;else{if(!n.token)return{credential:n};r=n.server+"/sharing/rest"}else{if(!n.token)return{credential:n};r=n.server+"/rest/services"}return n.token&&(o.token=n.token),G(r,{query:o,authMode:"anonymous"}).then((t=>{if(!1===t.data.valid)throw new H("identity-manager:not-authorized",`You are currently signed in as: '${n.userId}'.`,t.data);return s=!!t.data.viewOnlyUserTypeApp,{credential:n}})).catch((t=>{if("identity-manager:not-authorized"===t.name)throw t;const e=t.details?.httpStatus;if(498===e)throw n.destroy(),new H("identity-manager:not-authenticated","User is not signed in.");if(400===e)throw new H("identity-manager:invalid-request");return{credential:n}}))})).then((t=>({credential:t.credential,viewOnly:s})))}setOAuthResponseHash(t){t&&("#"===t.charAt(0)&&(t=t.slice(1)),this._processOAuthPopupParams(Y(t)))}setOAuthRedirectionHandler(t){this._oAuthRedirectFunc=t}setProtocolErrorHandler(t){this._protocolFunc=t}signIn(t,e,i={}){const s=c(),n=()=>{h?.remove(),l?.remove(),this.dialog?.destroy(),this.dialog=h=l=null},r=()=>{n(),this._oAuthDfd=null,s.reject(new H("identity-manager:user-aborted","ABORTED"))};i.signal&&m(i.signal,(()=>{r()}));const o=new Ys({open:!0,resource:this.getResourceName(t),server:e.server});this.dialog=o,this.emit("dialog-create");let h=o.on("cancel",r),l=o.on("submit",(t=>{this.generateToken(e,t,{isAdmin:i.isAdmin,signal:i.signal}).then((r=>{n();const o=new cn({userId:t.username,server:e.server??void 0,token:r.token,expires:null!=r.expires?Number(r.expires):null,ssl:!!r.ssl,isAdmin:i.isAdmin,validity:r.validity});s.resolve(o)})).catch((t=>{o.error=t,o.signingIn=!1}))}));return s.promise}oAuthSignIn(t,e,i,s){this._oAuthDfd=c();const n=this._oAuthDfd;let r;s?.signal&&m(s.signal,(()=>{const t=this._oAuthDfd&&this._oAuthDfd.oAuthWin_;t&&!t.closed?t.close():this.dialog&&a()})),n.resUrl_=t,n.sinfo_=e,n.oinfo_=i;const o=i._oAuthCred;if(o.storage&&("authorization-code"===i.flowType||"auto"===i.flowType&&e.currentVersion>=8.4)){let t=crypto.getRandomValues(new Uint8Array(32));r=X(t),o.codeVerifier=r,t=crypto.getRandomValues(new Uint8Array(32)),o.stateUID=X(t),o.save()||(o.codeVerifier=r=null)}else o.codeVerifier=null;let h,l;this._getCodeChallenge(r).then((n=>{if(!i.popup||s&&!1===s.oAuthPopupConfirmation)return void this._doOAuthSignIn(t,e,i,n);const r=new Ys({oAuthPrompt:!0,server:e.server,open:!0});this.dialog=r,this.emit("dialog-create"),h=r.on("cancel",a),l=r.on("submit",(()=>{u(),this._doOAuthSignIn(t,e,i,n)}))}));const a=()=>{u(),this._oAuthDfd=null,n.reject(new H("identity-manager:user-aborted","ABORTED"))},u=()=>{h?.remove(),l?.remove(),this.dialog?.destroy(),this.dialog=null};return n.promise}destroyCredentials(){this.credentials&&this.credentials.slice().forEach((t=>{t.destroy()})),this.emit("credentials-destroy")}enablePostMessageAuth(t="https://www.arcgis.com/sharing/rest"){this._postMessageAuthHandle&&this._postMessageAuthHandle.remove(),this._postMessageAuthHandle=L(window,"message",(e=>{if((e.origin===this._appOrigin||e.origin.endsWith(".arcgis.com"))&&"arcgis:auth:requestCredential"===e.data?.type){const i=e.source;this.getCredential(t).then((t=>{i.postMessage({type:"arcgis:auth:credential",credential:{expires:t.expires,server:t.server,ssl:t.ssl,token:t.token,userId:t.userId}},e.origin)})).catch((t=>{i.postMessage({type:"arcgis:auth:error",error:{name:t.name,message:t.message}},e.origin)}))}}))}disablePostMessageAuth(){this._postMessageAuthHandle&&(this._postMessageAuthHandle.remove(),this._postMessageAuthHandle=null)}_getOAuthLocationParams(){let t=window.location.hash;if(t){"#"===t.charAt(0)&&(t=t.slice(1));const e=Y(t);let i=!1;if(e.access_token&&e.expires_in&&e.state&&e.hasOwnProperty("username"))try{e.state=JSON.parse(e.state),e.state.portalUrl&&(this._oAuthLocationParams=e,i=!0)}catch{}else if(e.error&&e.error_description&&(console.log("IdentityManager OAuth Error: ",e.error," - ",e.error_description),"access_denied"===e.error&&(i=!0,e.state)))try{e.state=JSON.parse(e.state)}catch{}i&&(window.location.hash=e.state?.hash||"")}let e=window.location.search;if(e){"?"===e.charAt(0)&&(e=e.slice(1));const t=Y(e);let i=!1;if(t.code&&t.state)try{t.state=JSON.parse(t.state),t.state.portalUrl&&t.state.uid&&(this._oAuthLocationParams=t,i=!0)}catch{}else if(t.error&&t.error_description&&(console.log("IdentityManager OAuth Error: ",t.error," - ",t.error_description),"access_denied"===t.error&&(i=!0,t.state)))try{t.state=JSON.parse(t.state)}catch{}if(i){const e={...t};["code","error","error_description","message_code","persist","state"].forEach((t=>{delete e[t]}));const i=K(e),s=window.location.pathname+(i?"?"+i:"")+(t.state?.hash||"");window.history.replaceState(window.history.state,"",s)}}}_getOAuthToken(t,e,i,s,n){return t=t.replace(/^http:/i,"https:"),G(t+"/sharing/rest/oauth2/token",{authMode:"anonymous",method:"post",query:s&&n?{grant_type:"authorization_code",code:e,redirect_uri:s,client_id:i,code_verifier:n}:{grant_type:"refresh_token",refresh_token:e,client_id:i}}).then((t=>t.data))}async _getCodeChallenge(t){if(t&&globalThis.isSecureContext){const e=(new TextEncoder).encode(t),i=await crypto.subtle.digest("SHA-256",e);return X(new Uint8Array(i))}return null}_pageShowHandler(t){if(t.persisted&&this.isBusy()&&this._rejectOnPersistedPageShow){const t=new H("identity-manager:user-aborted","ABORTED");this._errbackFunc(t)}}_findCredential(t,e){let i,s,n,r,o=-1;const h=e?.token,l=e?.resource,a=this._isServerRsrc(t)?"server":"portal",c=this.credentials.filter((e=>this._hasSameServerInstance(e.server,t)&&e.scope===a));if(t=l||t,c.length)if(1===c.length){if(i=c[0],n=this.findServerInfo(i.server),s=n?.owningSystemUrl,r=s?this.findCredential(s,i.userId):void 0,o=this._getIdenticalSvcIdx(t,i),!h)return-1===o&&i.resources.push(t),this._addResource(t,r),i;-1!==o&&(i.resources.splice(o,1),this._removeResource(t,r))}else{let e,i;if(c.some((h=>(i=this._getIdenticalSvcIdx(t,h),-1!==i&&(e=h,n=this.findServerInfo(e.server),s=n?.owningSystemUrl,r=s?this.findCredential(s,e.userId):void 0,o=i,!0)))),h)e&&(e.resources.splice(o,1),this._removeResource(t,r));else if(e)return this._addResource(t,r),e}}_findOAuthInfo(t){let e=this.findOAuthInfo(t);if(!e)for(const i of this.oAuthInfos)if(this._isIdProvider(i.portalUrl,t)){e=i;break}return e}_addResource(t,e){e&&-1===this._getIdenticalSvcIdx(t,e)&&e.resources.push(t)}_removeResource(t,e){let i=-1;e&&(i=this._getIdenticalSvcIdx(t,e),i>-1&&e.resources.splice(i,1))}_useProxy(t,e){return e?.isAdmin&&!V(t.adminTokenServiceUrl,this._appOrigin)||!this._isPortalDomain(t.tokenServiceUrl)&&"10.1"==t.currentVersion+""&&!V(t.tokenServiceUrl,this._appOrigin)}_getOrigin(t){const e=new W(t);return e.scheme+"://"+e.host+(null!=e.port?":"+e.port:"")}_getServerInstanceRoot(t){const e=t.toLowerCase();let i=e.indexOf(this._agsRest);return-1===i&&this._isAdminResource(t)&&(i=this._agsAdmin.test(t)?t.replace(this._agsAdmin,"$1").length:t.search(this._adminSvcs)),-1!==i||Q(e)||(i=e.indexOf("/sharing")),-1===i&&e.endsWith("/")&&(i=e.length-1),i>-1?t.slice(0,i):t}_hasSameServerInstance(t,e){return t.endsWith("/")&&(t=t.slice(0,-1)),t=t.toLowerCase(),e=this._getServerInstanceRoot(e).toLowerCase(),t=Z(t),e=Z(e),(t=t.slice(Math.max(0,t.indexOf(":"))))===e.slice(Math.max(0,e.indexOf(":")))}_sanitizeUrl(t){const e=(tt.request.proxyUrl||"").toLowerCase(),i=e?t.toLowerCase().indexOf(e+"?"):-1;return-1!==i&&(t=t.slice(i+e.length+1)),t=et(t),B(t).path}_isRESTService(t){return t.includes(this._agsRest)}_isAdminResource(t){return this._agsAdmin.test(t)||this._adminSvcs.test(t)}_isServerRsrc(t){return this._isRESTService(t)||this._isAdminResource(t)}_isIdenticalService(t,e){let i=!1;if(this._isRESTService(t)&&this._isRESTService(e)){const s=this._getSuffix(t).toLowerCase(),n=this._getSuffix(e).toLowerCase();if(i=s===n,!i){const t=/(.*)\/(MapServer|FeatureServer|UtilityNetworkServer).*/gi;i=s.replaceAll(t,"$1")===n.replaceAll(t,"$1")}}else this._isAdminResource(t)&&this._isAdminResource(e)?i=!0:this._isServerRsrc(t)||this._isServerRsrc(e)||!this._isPortalDomain(t)||(i=!0);return i}_isPortalDomain(t){const e=new W(t.toLowerCase()),i=this._portalConfig;let s=this._gwDomains.some((t=>t.regex.test(e.uri)));return!s&&i&&(s=this._hasSameServerInstance(this._getServerInstanceRoot(i.restBaseUrl),e.uri)),s||tt.portalUrl&&(s=V(e,tt.portalUrl,!0)),s||(s=this._portals.some((t=>this._hasSameServerInstance(t,e.uri)))),s=s||this._agsPortal.test(e.path),s}_isIdProvider(t,e){let i=-1,s=-1;this._gwDomains.forEach(((n,r)=>{-1===i&&n.regex.test(t)&&(i=r),-1===s&&n.regex.test(e)&&(s=r)}));let n=!1;if(i>-1&&s>-1&&(0===i||4===i?0!==s&&4!==s||(n=!0):1===i?1!==s&&2!==s||(n=!0):2===i?2===s&&(n=!0):3===i&&3===s&&(n=!0)),!n){const i=this.findServerInfo(e),s=i?.owningSystemUrl;s&&rn(i)&&this._isPortalDomain(s)&&this._isIdProvider(t,s)&&(n=!0)}return n}_getIdenticalSvcIdx(t,e){let i=-1;for(let s=0;s<e.resources.length;s++)if(this._isIdenticalService(t,e.resources[s])){i=s;break}return i}_getSuffix(t){return t.replace(this._regexSDirUrl,"").replace(this._regexServerType,"$1")}_getTokenSvcUrl(t){let e,i,s;if(this._isRESTService(t)||this._isAdminResource(t)){const s=this._getServerInstanceRoot(t);return e=s+"/admin/generateToken",i=G(t=s+"/rest/info",{query:{f:"json"}}).then((t=>t.data)),{adminUrl:e,promise:i}}if(this._isPortalDomain(t)){let e="";if(this._gwDomains.some((i=>(i.regex.test(t)&&(e=i.tokenServiceUrl),!!e))),e||this._portals.some((i=>(this._hasSameServerInstance(i,t)&&(e=i+this._gwTokenUrl),!!e))),e||(s=t.toLowerCase().indexOf("/sharing"),-1!==s&&(e=t.slice(0,s)+this._gwTokenUrl)),e||(e=this._getOrigin(t)+this._gwTokenUrl),e){const i=new W(t).port;/^http:\/\//i.test(t)&&"7080"===i&&(e=e.replace(/:7080/i,":7443")),e=e.replace(/http:/i,"https:")}return e}}_processOAuthResponseParams(t,e,i){const s=e._oAuthCred;if(t.code){const n=s.codeVerifier;return s.codeVerifier=null,s.stateUID=null,s.save(),this._getOAuthToken(i.server,t.code,e.appId,this._getRedirectURI(e,!0),n).then((n=>{const r=new cn({userId:n.username,server:i.server??void 0,token:n.access_token,expires:Date.now()+1e3*n.expires_in,ssl:n.ssl,oAuthState:t.state,_oAuthCred:s});return e.userId=r.userId,s.storage=n.persist?hn:ln,s.refreshToken=n.refresh_token,s.token=null,s.expires=n.refresh_token_expires_in?Date.now()+1e3*n.refresh_token_expires_in:null,s.userId=r.userId,s.ssl=r.ssl,s.save(),r}))}const n=new cn({userId:t.username,server:i.server??void 0,token:t.access_token,expires:Date.now()+1e3*Number(t.expires_in),ssl:"true"===t.ssl,oAuthState:t.state,_oAuthCred:s});return e.userId=n.userId,s.storage=t.persist?hn:ln,s.refreshToken=null,s.token=n.token,s.expires=n.expires,s.userId=n.userId,s.ssl=n.ssl,s.save(),Promise.resolve(n)}_processOAuthPopupParams(t){const e=this._oAuthDfd;if(this._oAuthDfd=null,e)if(clearInterval(this._oAuthIntervalId),this._oAuthOnPopupHandle?.remove(),t.error){const i="access_denied"===t.error,s=new H(i?"identity-manager:user-aborted":"identity-manager:authentication-failed",i?"ABORTED":"OAuth: "+t.error+" - "+t.error_description);e.reject(s)}else this._processOAuthResponseParams(t,e.oinfo_,e.sinfo_).then((t=>{e.resolve(t)})).catch((t=>{e.reject(t)}))}_setOAuthResponseQueryString(t){t&&("?"===t.charAt(0)&&(t=t.slice(1)),this._processOAuthPopupParams(Y(t)))}async _exchangeToken(t,e,i){return(await G(t+"/sharing/rest/oauth2/exchangeToken",{authMode:"anonymous",method:"post",query:{f:"json",client_id:e,token:i}})).data.token}async _getPlatformSelf(t,e){if(this._getPlatformSelfError&&Date.now()-this._getPlatformSelfError[1]<1e3)throw this._getPlatformSelfError[0];t=t.replace(/^http:/i,"https:");try{const i=await G(t+"/sharing/rest/oauth2/platformSelf",{authMode:"anonymous",headers:{"X-Esri-Auth-Client-Id":e,"X-Esri-Auth-Redirect-Uri":window.location.href.replace(/#.*$/,"")},method:"post",query:{f:"json",expiration:30},withCredentials:!0});return this._getPlatformSelfError=null,i.data}catch(t){throw"OAUTH_0066"===t.details?.messageCode&&(this._getPlatformSelfError=[t,Date.now()]),t}}_getPortalSelf(t,e){let i;return this._gwDomains.some((e=>(e.regex.test(t)&&(i=e.customBaseUrl),!!i))),i?Promise.resolve({allSSL:!0,currentVersion:"8.4",customBaseUrl:i,portalMode:"multitenant",supportsOAuth:!0}):(this._appOrigin.startsWith("https:")?t=t.replace(/^http:/i,"https:").replace(/:7080/i,":7443"):/^http:/i.test(e)&&(t=t.replace(/^https:/i,"http:").replace(/:7443/i,":7080")),G(t,{query:{f:"json"},authMode:"anonymous",withCredentials:!0}).then((t=>t.data)))}_doPortalSignIn(t){const e=this._portalConfig,i=window.location.href,s=this.findServerInfo(t);return!(!e&&!this._isPortalDomain(i)||!(s?s.hasPortal||s.owningSystemUrl&&this._isPortalDomain(s.owningSystemUrl):this._isPortalDomain(t))||!(this._isIdProvider(i,t)||e&&(this._hasSameServerInstance(this._getServerInstanceRoot(e.restBaseUrl),t)||this._isIdProvider(e.restBaseUrl,t))||V(i,t,!0)))}_checkProtocol(t,e,i,s){let n=!0;const r=s?e.adminTokenServiceUrl:e.tokenServiceUrl;return r.trim().toLowerCase().startsWith("https:")&&!this._appOrigin.startsWith("https:")&&it(r)&&(n=!!this._protocolFunc&&!!this._protocolFunc({resourceUrl:t,serverInfo:e}),!n)&&i(new H("identity-manager:aborted","Aborted the Sign-In process to avoid sending password over insecure connection.")),n}_enqueue(t,e,i,s,n,r){return s||(s=c()),s.resUrl_=t,s.sinfo_=e,s.options_=i,s.admin_=n,s.refresh_=r,this._busy?this._hasSameServerInstance(this._getServerInstanceRoot(t),this._busy.resUrl_)?(this._oAuthDfd&&this._oAuthDfd.oAuthWin_&&this._oAuthDfd.oAuthWin_.focus(),this._soReqs.push(s)):this._xoReqs.push(s):this._doSignIn(s),s.promise}_doSignIn(t){this._busy=t,this._rejectOnPersistedPageShow=!1;const i=e=>{const i=t.options_?.resource,s=t.resUrl_,n=t.refresh_;let r=!1;this.credentials.includes(e)||(n&&this.credentials.includes(n)?(n.userId=e.userId,n.token=e.token,n.expires=e.expires,n.validity=e.validity,n.ssl=e.ssl,n.creationTime=e.creationTime,r=!0,e=n):this.credentials.push(e)),e.resources||(e.resources=[]),e.resources.includes(i||s)||e.resources.push(i||s),e.scope=this._isServerRsrc(s)?"server":"portal",e.emitTokenChange();const o=this._soReqs,h={};this._soReqs=[],o.forEach((t=>{if(!this._isIdenticalService(s,t.resUrl_)){const i=this._getSuffix(t.resUrl_);h[i]||(h[i]=!0,e.resources.push(t.resUrl_))}})),t.resolve(e),o.forEach((t=>{this._hasSameServerInstance(this._getServerInstanceRoot(s),t.resUrl_)?t.resolve(e):this._soReqs.push(t)})),this._busy=t.resUrl_=t.sinfo_=t.refresh_=null,r||this.emit("credential-create",{credential:e}),this._soReqs.length?this._doSignIn(this._soReqs.shift()):this._xoReqs.length&&this._doSignIn(this._xoReqs.shift())},s=e=>{t.reject(e),this._busy=t.resUrl_=t.sinfo_=t.refresh_=null,this._soReqs.length?this._doSignIn(this._soReqs.shift()):this._xoReqs.length&&this._doSignIn(this._xoReqs.shift())},n=(e,r,o,h)=>{const l=t.sinfo_,a=!t.options_||!1!==t.options_.prompt,c=l.hasPortal&&this._findOAuthInfo(t.resUrl_);let u,d;if(e)i(new cn({userId:e,server:l.server??void 0,token:o??void 0,expires:null!=h?Number(h):null,ssl:!!r}));else if(window!==window.parent&&this._appUrlObj.query?.["arcgis-auth-origin"]&&this._appUrlObj.query?.["arcgis-auth-portal"]&&this._hasSameServerInstance(this._getServerInstanceRoot(this._appUrlObj.query["arcgis-auth-portal"]),t.resUrl_)){window.parent.postMessage({type:"arcgis:auth:requestCredential"},this._appUrlObj.query["arcgis-auth-origin"]);const e=L(window,"message",(t=>{t.source===window.parent&&t.data&&("arcgis:auth:credential"===t.data.type?(e.remove(),t.data.credential.expires<Date.now()?s(new H("identity-manager:credential-request-failed","Parent application's token has expired.")):i(new cn(t.data.credential))):"arcgis:auth:error"===t.data.type&&(e.remove(),s("tokenExpiredError"===t.data.error.name?new H("identity-manager:credential-request-failed","Parent application's token has expired."):H.fromJSON(t.data.error))))}));m(t.options_?.signal,(()=>{e.remove()}))}else if(c){let e=c._oAuthCred;if(!e){const t=new Ks(c,hn),i=new Ks(c,ln);t.isValid()&&i.isValid()?t.expires>i.expires?(e=t,i.destroy()):(e=i,t.destroy()):e=t.isValid()?t:i,c._oAuthCred=e}if(e.isValid()){u=new cn({userId:e.userId??void 0,server:l.server??void 0,token:e.token??void 0,expires:e.expires,ssl:e.ssl??void 0,_oAuthCred:e});const r=c.appId!==e.appId&&this._doPortalSignIn(t.resUrl_);r||e.refreshToken?(t._pendingDfd=e.refreshToken?this._getOAuthToken(l.server,e.refreshToken,e.appId).then((t=>(u.expires=Date.now()+1e3*t.expires_in,u.token=t.access_token,u))):Promise.resolve(u),t._pendingDfd.then((t=>r?this._exchangeToken(t.server,c.appId,t.token).then((e=>(t.token=e,t))).catch((()=>t)):t)).then((t=>{i(t)})).catch((t=>{const i=t.details?.httpStatus;i>0&&404!==i?(e.destroy(),n()):s(t)}))):i(u)}else if(this._oAuthLocationParams&&this._hasSameServerInstance(c.portalUrl,this._oAuthLocationParams.state.portalUrl)&&(this._oAuthLocationParams.access_token||this._oAuthLocationParams.code&&this._oAuthLocationParams.state.uid===e.stateUID&&e.codeVerifier)){const e=this._oAuthLocationParams;this._oAuthLocationParams=null,t._pendingDfd=this._processOAuthResponseParams(e,c,l).then((t=>{i(t)})).catch(s)}else{const e=()=>{a?t._pendingDfd=this.oAuthSignIn(t.resUrl_,l,c,t.options_).then(i,s):(d=new H("identity-manager:not-authenticated","User is not signed in."),s(d))};this._doPortalSignIn(t.resUrl_)?t._pendingDfd=this._getPlatformSelf(l.server,c.appId).then((t=>{V(t.portalUrl,this._appOrigin,!0)?(u=new cn({userId:t.username,server:l.server??void 0,expires:Date.now()+1e3*t.expires_in,token:t.token}),i(u)):e()})).catch(e):e()}}else if(a){if(this._checkProtocol(t.resUrl_,l,s,t.admin_)){let e=t.options_;t.admin_&&(e=e||{},e.isAdmin=!0),t._pendingDfd=this.signIn(t.resUrl_,l,e).then(i,s)}}else d=new H("identity-manager:not-authenticated","User is not signed in."),s(d)},r=()=>{const e=t.sinfo_,n=e.owningSystemUrl,r=t.options_;let o,h,l,a;if(r&&(o=r.token,h=r.error,l=r.prompt),a=this._findCredential(n,{token:o,resource:t.resUrl_}),!a)for(const t of this.credentials)if(this._isIdProvider(n,t.server)){a=t;break}if(a){const n=this.findCredential(t.resUrl_,a.userId);if(n)i(n);else if(on(e,this._legacyFed)){const t=a.toJSON();t.server=e.server,t.resources=null,i(new cn(t))}else(t._pendingDfd=this.generateToken(this.findServerInfo(a.server),null,{serverUrl:t.resUrl_,token:a.token,signal:t.options_.signal,ssl:a.ssl})).then((s=>{i(new cn({userId:a?.userId,server:e.server??void 0,token:s.token,expires:null!=s.expires?Number(s.expires):null,ssl:!!s.ssl,isAdmin:t.admin_,validity:s.validity}))}),s)}else this._busy=null,o&&(t.options_.token=null),(t._pendingDfd=this.getCredential(n.replace(/\/?$/,"/sharing"),{resource:t.resUrl_,owningTenant:e.owningTenant,signal:t.options_.signal,token:o,error:h,prompt:l})).then((()=>{this._enqueue(t.resUrl_,t.sinfo_,t.options_,t,t.admin_)}),(e=>{t.resUrl_=t.sinfo_=t.refresh_=null,t.reject(e)}))};this._errbackFunc=s;const o=t.sinfo_.owningSystemUrl,h=this._isServerRsrc(t.resUrl_),l=t.sinfo_._restInfoPms;l?l.promise.then((i=>{const s=t.sinfo_;if(s._restInfoPms){s.adminTokenServiceUrl=s._restInfoPms.adminUrl,s._restInfoPms=null,s.tokenServiceUrl=(e("authInfo.tokenServicesUrl",i)||e("authInfo.tokenServiceUrl",i)||e("tokenServiceUrl",i))??null,s.shortLivedTokenValidity=e("authInfo.shortLivedTokenValidity",i)??null,s.currentVersion=i.currentVersion,s.owningTenant=i.owningTenant;const t=s.owningSystemUrl=i.owningSystemUrl;t&&this._portals.push(t)}h&&s.owningSystemUrl?r():n()}),(()=>{t.sinfo_._restInfoPms=null;const e=new H("identity-manager:server-identification-failed","Unknown resource - could not find token service endpoint.");s(e)})):h&&o?r():t.sinfo_._selfReq?t.sinfo_._selfReq.selfDfd.then((e=>{const i={};let s,n,r,o;return e&&(s=e.user?.username,i.username=s,i.allSSL=e.allSSL,n=e.supportsOAuth,o=parseFloat(e.currentVersion),"multitenant"===e.portalMode&&(r=e.customBaseUrl),t.sinfo_.currentVersion=o),t.sinfo_.webTierAuth=!!s,s&&this.normalizeWebTierAuth?this.generateToken(t.sinfo_,null,{ssl:i.allSSL}).catch((()=>null)).then((t=>(i.portalToken=t?.token,i.tokenExpiration=t?.expires,i))):!s&&n&&o>=4.4&&!this._findOAuthInfo(t.resUrl_)?this._generateOAuthInfo({portalUrl:t.sinfo_.server,customBaseUrl:r,owningTenant:t.sinfo_._selfReq.owningTenant}).catch((()=>null)).then((()=>i)):i})).catch((()=>null)).then((e=>{t.sinfo_._selfReq=null,e?n(e.username,e.allSSL,e.portalToken,e.tokenExpiration):n()})):n()}_generateOAuthInfo(t){let e,i=null,s=t.portalUrl;const n=t.customBaseUrl,r=t.owningTenant,o=!this._defaultOAuthInfo&&this._createDefaultOAuthInfo&&!this._hasTestedIfAppIsOnPortal;if(o){i=window.location.href;let t=i.indexOf("?");t>-1&&(i=i.slice(0,t)),t=i.search(/\/(apps|home)\//),i=t>-1?i.slice(0,t):null}return o&&i?(this._hasTestedIfAppIsOnPortal=!0,e=G(i+"/sharing/rest",{query:{f:"json"}}).then((()=>{this._defaultOAuthInfo=new tn({appId:"arcgisonline",popupCallbackUrl:i+"/home/oauth-callback.html"})}))):e=Promise.resolve(),e.then((()=>{if(this._defaultOAuthInfo)return s=s.replace(/^http:/i,"https:"),G(s+"/sharing/rest/oauth2/validateRedirectUri",{query:{accountId:r,client_id:this._defaultOAuthInfo.appId,redirect_uri:$(this._defaultOAuthInfo.popupCallbackUrl),f:"json"}}).then((t=>{if(t.data.valid){const e=this._defaultOAuthInfo.clone();e.portalUrl=t.data.urlKey&&n?"https://"+t.data.urlKey.toLowerCase()+"."+n:s,e.popup=window!==window.top||!(V(s,this._appOrigin)||this._gwDomains.some((t=>t.regex.test(s)&&t.regex.test(this._appOrigin)))),this.oAuthInfos.push(e)}}))}))}_doOAuthSignIn(t,e,i,s){const n=i._oAuthCred,r={portalUrl:i.portalUrl};!i.popup&&i.preserveUrlHash&&window.location.hash&&(r.hash=window.location.hash),n.stateUID&&(r.uid=n.stateUID);const o={client_id:i.appId,response_type:n.codeVerifier?"code":"token",state:JSON.stringify(r),expiration:i.expiration,locale:i.locale,redirect_uri:this._getRedirectURI(i,!!n.codeVerifier)};i.forceLogin&&(o.force_login=!0),i.forceUserId&&i.userId&&(o.prepopulatedusername=i.userId),!i.popup&&this._doPortalSignIn(t)&&(o.redirectToUserOrgUrl=!0),n.codeVerifier&&(o.code_challenge=s||n.codeVerifier,o.code_challenge_method=s?"S256":"plain");const h=i.portalUrl.replace(/^http:/i,"https:")+"/sharing/oauth2/authorize",l=h+"?"+K(o);if(i.popup){const t=window.open(l,"esriJSAPIOAuth",i.popupWindowFeatures);if(t)t.focus(),this._oAuthDfd.oAuthWin_=t,this._oAuthIntervalId=setInterval((()=>{if(t.closed){clearInterval(this._oAuthIntervalId),this._oAuthOnPopupHandle.remove();const t=this._oAuthDfd;if(t){const e=new H("identity-manager:user-aborted","ABORTED");t.reject(e)}}}),500),this._oAuthOnPopupHandle=L(window,["arcgis:auth:hash","arcgis:auth:location:search"],(t=>{"arcgis:auth:hash"===t.type?this.setOAuthResponseHash(t.detail):this._setOAuthResponseQueryString(t.detail)}));else{const t=new H("identity-manager:popup-blocked","ABORTED");this._oAuthDfd.reject(t)}}else this._rejectOnPersistedPageShow=!0,this._oAuthRedirectFunc?this._oAuthRedirectFunc({authorizeParams:o,authorizeUrl:h,resourceUrl:t,serverInfo:e,oAuthInfo:i}):window.location.href=l}_getRedirectURI(t,e){const i=window.location.href.replace(/#.*$/,"");if(t.popup)return $(t.popupCallbackUrl);if(e){const t=B(i);return t.query&&["code","error","error_description","message_code","persist","state"].forEach((e=>{delete t.query[e]})),st(t.path,t.query)}return i}}an.prototype.declaredClass="esri.identity.IdentityManagerBase";let cn=class extends dt.EventedAccessor{constructor(t){super(t),this._oAuthCred=null,this.tokenRefreshBuffer=2,t?._oAuthCred&&(this._oAuthCred=t._oAuthCred)}initialize(){this.resources=this.resources||[],null==this.creationTime&&(this.creationTime=Date.now())}refreshToken(){const t=nt,e=t.findServerInfo(this.server),i=e?.owningSystemUrl,s=!!i&&"server"===this.scope,n=s&&on(e,t._legacyFed),r=e.webTierAuth,o=r&&t.normalizeWebTierAuth,h=nn[this.server],l=h?.[this.userId];let a,c=this.resources&&this.resources[0],u=s?t.findServerInfo(i):null,d={username:this.userId,password:l};if(r&&!o)return;s&&!u&&t.serverInfos.some((e=>(t._isIdProvider(i,e.server)&&(u=e),!!u)));const f=u?t.findCredential(u.server,this.userId):null;if(!s||f){if(!n){if(s)a={serverUrl:c,token:f?.token,ssl:f?.ssl};else if(o)d=null,a={ssl:this.ssl};else{if(!l){let i;return c&&(c=t._sanitizeUrl(c),this._enqueued=1,i=t._enqueue(c,e,null,null,this.isAdmin,this),i.then((()=>{this._enqueued=0,this.refreshServerTokens()})).catch((()=>{this._enqueued=0}))),i}this.isAdmin&&(a={isAdmin:!0})}return t.generateToken(s?u:e,s?null:d,a).then((t=>{this.token=t.token,this.expires=null!=t.expires?Number(t.expires):null,this.creationTime=Date.now(),this.validity=t.validity,this.emitTokenChange(),this.refreshServerTokens()})).catch((()=>{}))}f?.refreshToken()}}refreshServerTokens(){if("portal"===this.scope){const t=nt;t.credentials.forEach((e=>{const i=t.findServerInfo(e.server),s=i?.owningSystemUrl;e!==this&&e.userId===this.userId&&s&&"server"===e.scope&&(t._hasSameServerInstance(this.server,s)||t._isIdProvider(s,this.server))&&(on(i,t._legacyFed)?(e.token=this.token,e.expires=this.expires,e.creationTime=this.creationTime,e.validity=this.validity,e.emitTokenChange()):e.refreshToken())}))}}emitTokenChange(t){clearTimeout(this._refreshTimer);const e=nt,i=this.server?e.findServerInfo(this.server):null,s=i?.owningSystemUrl,n=s?e.findServerInfo(s):null;!1===t||s&&"portal"!==this.scope&&(!n?.webTierAuth||e.normalizeWebTierAuth)||null==this.expires&&null==this.validity||this._startRefreshTimer(),this.emit("token-change")}destroy(){this.userId=this.server=this.token=this.expires=this.validity=this.resources=this.creationTime=null,this._oAuthCred&&(this._oAuthCred.destroy(),this._oAuthCred=null);const t=nt,e=t.credentials.indexOf(this);e>-1&&t.credentials.splice(e,1),this.emitTokenChange(),this.emit("destroy")}toJSON(){const t=F({userId:this.userId,server:this.server,token:this.token,expires:this.expires,validity:this.validity,ssl:this.ssl,isAdmin:this.isAdmin,creationTime:this.creationTime,scope:this.scope}),e=this.resources;return e&&e.length>0&&(t.resources=e.slice()),t}_startRefreshTimer(){clearTimeout(this._refreshTimer);const t=6e4*this.tokenRefreshBuffer,e=2**31-1;let i=(this.validity?this.creationTime+6e4*this.validity:this.expires)-Date.now();i<0?i=0:i>e&&(i=e),this._refreshTimer=setTimeout(this.refreshToken.bind(this),i>t?i-t:i)}};r([f()],cn.prototype,"creationTime",void 0),r([f()],cn.prototype,"expires",void 0),r([f()],cn.prototype,"isAdmin",void 0),r([f()],cn.prototype,"oAuthState",void 0),r([f()],cn.prototype,"resources",void 0),r([f()],cn.prototype,"scope",void 0),r([f()],cn.prototype,"server",void 0),r([f()],cn.prototype,"ssl",void 0),r([f()],cn.prototype,"token",void 0),r([f()],cn.prototype,"tokenRefreshBuffer",void 0),r([f()],cn.prototype,"userId",void 0),r([f()],cn.prototype,"validity",void 0),cn=r([o("esri.identity.Credential")],cn);class un extends an{}un.prototype.declaredClass="esri.identity.IdentityManager";const dn=new un;rt(dn);const fn=Object.freeze({__proto__:null,default:dn});export{Ue as C,Pe as D,ds as F,He as H,fn as I,mi as a,ws as b,yi as c,ns as f,ii as g,fi as h,bs as i,us as p,ti as r}
@@ -0,0 +1,21 @@
1
+ /*!
2
+ * Copyright 2022 Esri
3
+ * Licensed under the Apache License, Version 2.0
4
+ * http://www.apache.org/licenses/LICENSE-2.0
5
+ */
6
+ import{f as e,p as t,H as i,c as o,h as n}from"./p-97df5300.js";import{c,a as s,b as a,e as l,f as r,s as d,g as h,h as g,i as f,u as p,d as m}from"./p-5df09fe4.js";import{u as b,g as u,x as k}from"./p-1482f3cf.js";import{o as v}from"./p-2dd8e49c.js";import"./p-570754a4.js";import"./p-f1f356f0.js";import"./p-d001e961.js";import"./p-0a24ad5f.js";import"./p-d4056c1c.js";import"./p-ac122d9e.js";import"./p-2bc98cb0.js";
7
+ /*!
8
+ * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
9
+ * See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
10
+ * v2.13.2
11
+ */let x;const w={childList:!0};function z(t){t.forEach((({target:t})=>{e(t)}))}
12
+ /*!
13
+ * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
14
+ * See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
15
+ * v2.13.2
16
+ */const y={brand:"lightbulb",danger:"exclamationMarkTriangle",info:"information",success:"checkCircle",warning:"exclamationMarkTriangle"},C="actions-end",j=t(class extends i{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.calciteNoticeBeforeClose=o(this,"calciteNoticeBeforeClose",6),this.calciteNoticeBeforeOpen=o(this,"calciteNoticeBeforeOpen",6),this.calciteNoticeClose=o(this,"calciteNoticeClose",6),this.calciteNoticeOpen=o(this,"calciteNoticeOpen",6),this.setTransitionEl=e=>{this.transitionEl=e},this.close=()=>{this.open=!1},this.openTransitionProp="opacity",this.open=!1,this.kind="brand",this.closable=!1,this.icon=void 0,this.iconFlipRtl=!1,this.scale="m",this.width="auto",this.messages=void 0,this.messageOverrides=void 0,this.effectiveLocale=void 0,this.defaultMessages=void 0}openHandler(){v(this)}onMessagesChange(){}updateRequestedIcon(){this.requestedIcon=b(y,this.icon,this.kind)}connectedCallback(){x||(x=c("mutation",z)),x.observe(this.el,w),s(this),a(this)}disconnectedCallback(){x.unobserve(this.el),l(this),r(this)}async componentWillLoad(){d(this),this.requestedIcon=b(y,this.icon,this.kind),await h(this),this.open&&v(this)}componentDidLoad(){g(this)}render(){const{el:e}=this,t=n("button",{key:"52f9306ebe945398929f68fe66615359836ba2d8","aria-label":this.messages.close,class:"notice-close",onClick:this.close,ref:e=>this.closeButton=e},n("calcite-icon",{key:"f3601ac9547c73219661eebc7e7470db5dee7b52",icon:"x",scale:u(this.scale)})),i=k(e,C);return n("div",{key:"3f8117ff7cdd08c92ce804ef4ac8af83003156a4",class:"container",ref:this.setTransitionEl},this.requestedIcon?n("div",{class:"notice-icon"},n("calcite-icon",{flipRtl:this.iconFlipRtl,icon:this.requestedIcon,scale:u(this.scale)})):null,n("div",{key:"1b614ee86618bd5ce6e8834b466baf7d2564b5a1",class:"notice-content"},n("slot",{key:"19467ed9718a78c7530c2a08c727028d565dee7b",name:"title"}),n("slot",{key:"191e71caf2f2147c62fd6b73602e41d95dc27558",name:"message"}),n("slot",{key:"d4fbf2b8aaa980cd24c5be89c6c8a36d091658f3",name:"link"})),i?n("div",{class:"actions-end"},n("slot",{name:C})):null,this.closable?t:null)}async setFocus(){await f(this);const e=this.el.querySelector("calcite-link");if(this.closeButton||e)return e?e.setFocus():void(this.closeButton&&this.closeButton.focus())}onBeforeClose(){this.calciteNoticeBeforeClose.emit()}onBeforeOpen(){this.calciteNoticeBeforeOpen.emit()}onClose(){this.calciteNoticeClose.emit()}onOpen(){this.calciteNoticeOpen.emit()}effectiveLocaleChange(){p(this,this.effectiveLocale)}static get assetsDirs(){return["assets"]}get el(){return this}static get watchers(){return{open:["openHandler"],messageOverrides:["onMessagesChange"],icon:["updateRequestedIcon"],kind:["updateRequestedIcon"],effectiveLocale:["effectiveLocaleChange"]}}static get style(){return":host([scale=s]){--calcite-notice-spacing-token-small:0.5rem;--calcite-notice-spacing-token-large:0.75rem}:host([scale=s]) .container slot[name=title]::slotted(*),:host([scale=s]) .container *::slotted([slot=title]){margin-block:0.125rem;font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=s]) .container slot[name=message]::slotted(*),:host([scale=s]) .container *::slotted([slot=message]){margin-block:0.125rem;font-size:var(--calcite-font-size--2);line-height:1.375}:host([scale=s]) ::slotted(calcite-link){margin-block:0.125rem;font-size:var(--calcite-font-size--2);line-height:1.375}:host([scale=s]) .notice-close{padding:0.5rem}:host([scale=m]){--calcite-notice-spacing-token-small:0.75rem;--calcite-notice-spacing-token-large:1rem}:host([scale=m]) .container slot[name=title]::slotted(*),:host([scale=m]) .container *::slotted([slot=title]){margin-block:0.125rem;font-size:var(--calcite-font-size-0);line-height:1.375}:host([scale=m]) .container slot[name=message]::slotted(*),:host([scale=m]) .container *::slotted([slot=message]){margin-block:0.125rem;font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=m]) ::slotted(calcite-link){margin-block:0.125rem;font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=l]){--calcite-notice-spacing-token-small:1rem;--calcite-notice-spacing-token-large:1.25rem}:host([scale=l]) .container slot[name=title]::slotted(*),:host([scale=l]) .container *::slotted([slot=title]){margin-block:0.125rem;font-size:var(--calcite-font-size-1);line-height:1.375}:host([scale=l]) .container slot[name=message]::slotted(*),:host([scale=l]) .container *::slotted([slot=message]){margin-block:0.125rem;font-size:var(--calcite-font-size-0);line-height:1.375}:host([scale=l]) ::slotted(calcite-link){margin-block:0.125rem;font-size:var(--calcite-font-size-0);line-height:1.375}:host([width=auto]){--calcite-notice-width:auto}:host([width=half]){--calcite-notice-width:50%}:host([width=full]){--calcite-notice-width:100%}:host{margin-inline:auto;display:none;max-inline-size:100%;align-items:center;inline-size:var(--calcite-notice-width)}.container{pointer-events:none;margin-block:0px;box-sizing:border-box;display:flex;inline-size:100%;background-color:var(--calcite-color-foreground-1);opacity:0;overflow:hidden;max-block-size:0;transition-property:opacity, max-block-size;transition-duration:var(--calcite-animation-timing);text-align:start;border-inline-start:var(--calcite-border-width-md) solid;box-shadow:0 0 0 0 transparent}.notice-close{outline-color:transparent}.notice-close:focus{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-color-brand));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-offset-invert-focus),\n 1\n )\n )\n )}:host{display:flex}:host([open]) .container{pointer-events:auto;max-block-size:100%;align-items:center;opacity:1;--tw-shadow:0 4px 8px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);--tw-shadow-colored:0 4px 8px -1px var(--tw-shadow-color), 0 2px 4px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);overflow:visible}.container slot[name=title]::slotted(*),.container *::slotted([slot=title]){margin:0px;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-1)}.container slot[name=message]::slotted(*),.container *::slotted([slot=message]){margin:0px;display:inline;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-color-text-2);margin-inline-end:var(--calcite-notice-spacing-token-small)}.notice-content{box-sizing:border-box;transition:background-color, block-size, border-color, box-shadow, color, inset-block-end, inset-block-start, inset-inline-end, inset-inline-start inset-size, opacity, outline-color, transform var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;padding-inline:var(--calcite-notice-spacing-token-large);flex:0 0 auto;display:flex;min-inline-size:0px;flex-direction:column;overflow-wrap:break-word;flex:1 1 0;padding-block:var(--calcite-notice-spacing-token-small);padding-inline:0 var(--calcite-notice-spacing-token-small)}.notice-content:first-of-type:not(:only-child){padding-inline-start:var(--calcite-notice-spacing-token-large)}.notice-content:only-of-type{padding-block:var(--calcite-notice-spacing-token-small);padding-inline:var(--calcite-notice-spacing-token-large)}.notice-icon{display:flex;align-items:center;box-sizing:border-box;transition:background-color, block-size, border-color, box-shadow, color, inset-block-end, inset-block-start, inset-inline-end, inset-inline-start inset-size, opacity, outline-color, transform var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;padding-block:var(--calcite-notice-spacing-token-small);padding-inline:var(--calcite-notice-spacing-token-large);flex:0 0 auto}.notice-close{display:flex;cursor:pointer;align-items:center;align-self:stretch;border-style:none;background-color:transparent;color:var(--calcite-color-text-3);outline:2px solid transparent;outline-offset:2px;box-sizing:border-box;transition:background-color, block-size, border-color, box-shadow, color, inset-block-end, inset-block-start, inset-inline-end, inset-inline-start inset-size, opacity, outline-color, transform var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;padding-block:var(--calcite-notice-spacing-token-small);padding-inline:var(--calcite-notice-spacing-token-large);flex:0 0 auto;-webkit-appearance:none}.notice-close:hover,.notice-close:focus{background-color:var(--calcite-color-foreground-2);color:var(--calcite-color-text-1)}.notice-close:active{background-color:var(--calcite-color-foreground-3)}.actions-end{display:flex;align-self:stretch}:host([kind=brand]) .container{border-color:var(--calcite-color-brand)}:host([kind=brand]) .container .notice-icon{color:var(--calcite-color-brand)}:host([kind=info]) .container{border-color:var(--calcite-color-status-info)}:host([kind=info]) .container .notice-icon{color:var(--calcite-color-status-info)}:host([kind=danger]) .container{border-color:var(--calcite-color-status-danger)}:host([kind=danger]) .container .notice-icon{color:var(--calcite-color-status-danger)}:host([kind=success]) .container{border-color:var(--calcite-color-status-success)}:host([kind=success]) .container .notice-icon{color:var(--calcite-color-status-success)}:host([kind=warning]) .container{border-color:var(--calcite-color-status-warning)}:host([kind=warning]) .container .notice-icon{color:var(--calcite-color-status-warning)}:host([hidden]){display:none}[hidden]{display:none}"}},[1,"calcite-notice",{open:[1540],kind:[513],closable:[516],icon:[520],iconFlipRtl:[516,"icon-flip-rtl"],scale:[513],width:[513],messages:[1040],messageOverrides:[1040],effectiveLocale:[32],defaultMessages:[32],setFocus:[64]},void 0,{open:["openHandler"],messageOverrides:["onMessagesChange"],icon:["updateRequestedIcon"],kind:["updateRequestedIcon"],effectiveLocale:["effectiveLocaleChange"]}]);
17
+ /*!
18
+ * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
19
+ * See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
20
+ * v2.13.2
21
+ */function L(){"undefined"!=typeof customElements&&["calcite-notice","calcite-icon"].forEach((e=>{switch(e){case"calcite-notice":customElements.get(e)||customElements.define(e,j);break;case"calcite-icon":customElements.get(e)||m()}}))}L();const O=j,R=L;export{O as CalciteNotice,R as defineCustomElement}
@@ -0,0 +1,6 @@
1
+ /*!
2
+ * Copyright 2022 Esri
3
+ * Licensed under the Apache License, Version 2.0
4
+ * http://www.apache.org/licenses/LICENSE-2.0
5
+ */
6
+ import{r as t,c as i,h as s,H as o,g as e}from"./p-f1f356f0.js";import{l as n}from"./p-d001e961.js";import{b as a}from"./p-570754a4.js";import{w as r}from"./p-04674a1e.js";import"./p-0a24ad5f.js";import"./p-d4056c1c.js";import"./p-ac122d9e.js";const l="instant-apps-scoreboard",d=`${l}--`,c=`${l}__`,h=r.medium[1],p={BASE:l,itemsContainer:`${c}items-container`,items:`${c}items`,item:`${c}item`,label:`${c}item-label`,value:`${c}item-value`,valuePlaceholder:`${c}item-value-placeholder`,position:{bottom:`${c}position--bottom`,side:`${c}position--side`,left:`${c}position--left`,right:`${c}position--right`},mode:{floating:`${c}mode--floating`,pinned:`${c}mode--pinned`}},u=class{constructor(s){t(this,s),this.scoreboardItemsUpdated=i(this,"scoreboardItemsUpdated",7),this.view=void 0,this.items=void 0,this.position="bottom",this.mode="floating",this.itemLimit=6,this.autoDockEnabled=!0,this.geometry=null,this.queryType="layerView",this.state="loading",this.messages=void 0,this.itemIndex=0,this.layers=void 0,this.layerViews=void 0,this.isMobile=!1}scoreboardItemsUpdatedHandler(){this.scoreboardItemsUpdated.emit(this.items)}generateUIDs(){this.itemIndex=0,this.items.forEach(this.generateUID())}async storeLayers(){this.state="calculating",await this.view.map.loadAll();const t=this.items.map((t=>{var i;return null===(i=null==t?void 0:t.layer)||void 0===i?void 0:i.id}));this.layers=this.view.map.allLayers.filter((i=>(i=>(t=>!t.isTable)(i)&&(t=>"feature"===t.type||"scene"===t.type)(i)&&(i=>t.indexOf(i.id)>-1)(i))(i))),this.watchLayerVisibility()}async storeLayerViews(){if(this.layers&&this.layers.length>0){this.layers.forEach((t=>t.outFields=["*"]));const t=[];this.layers.forEach((i=>{const s=this.view.whenLayerView(i);t.push(s)}));const i=(await Promise.allSettled(t)).filter((t=>"fulfilled"==t.status&&t.value)).map((t=>t.value)),s=[];i.forEach((t=>{var i;return s.push(null===(i=this.reactiveUtils)||void 0===i?void 0:i.whenOnce((()=>!t.updating)))})),await Promise.all(s),this.layerViews=new this.Collection([...i])}}calculateScoreboardItemValuesFromGeometry(){this.calculateScoreboardItemValues()}async calculateScoreboardItemValues(){if(this.layers&&0===this.layers.length||this.layerViews&&0===this.layerViews.length)return;this.state="calculating";const t=[...this.items],i=[];this.queryStatDefinitions(t,i);const s=await Promise.all(i);this.handleQueryFeaturesResponses(s,t),this.items.length=0,t.forEach((t=>this.items.push(t))),this.state="complete",this.scoreboardItemsUpdatedHandler(),this.initStationaryWatcher()}async componentWillLoad(){var t;new ResizeObserver((()=>{this.itemIndex=0,this.autoDockEnabled&&(this.isMobile=!!this.checkMobile)})).observe(null===(t=this.el)||void 0===t?void 0:t.parentElement);try{this.state="loading",await this.initMessages()}catch(t){return this.state="disabled",Promise.reject()}finally{if(!this.view||!this.items)return this.state="disabled",Promise.reject();try{return await this.initModules(),Promise.resolve()}catch(t){return this.state="disabled",Promise.reject()}}}async componentDidLoad(){var t;if("disabled"!==this.state)try{await(null===(t=this.reactiveUtils)||void 0===t?void 0:t.whenOnce((()=>{var t;return null===(t=this.view)||void 0===t?void 0:t.ready}))),this.generateUIDs(),await this.loadMapResources(),this.storeLayers(),this.initViewUpdateWatcher()}catch(t){this.state="disabled",console.error(`${l}: FAILED TO LOAD MAP RESOURCES`)}}disconnectedCallback(){var t,i,s,o,e,n;this.state="disabled",this.itemIndex=0,null===(t=this.layers)||void 0===t||t.removeAll(),null===(i=this.layers)||void 0===i||i.destroy(),this.layers=null,null===(s=this.layerViews)||void 0===s||s.removeAll(),null===(o=this.layerViews)||void 0===o||o.destroy(),this.layerViews=null,null===(e=this.handles)||void 0===e||e.removeAll(),null===(n=this.handles)||void 0===n||n.destroy(),this.handles=null}async initMessages(){let t;try{return t=(await a(this.el))[0],this.messages=Object.assign(Object.assign({},this.messages),t),Promise.resolve()}catch(t){console.error("FAILED TO LOAD MESSAGES"),Promise.reject()}}async initModules(){try{const[t,i,s,o]=await n(["esri/core/Handles","esri/core/reactiveUtils","esri/core/Collection","esri/intl"]);return this.reactiveUtils=i,this.Collection=s,this.intl=o,this.handles=new t,this.layers=new s,this.layerViews=new s,Promise.resolve()}catch(t){return console.error(t),this.state="disabled",Promise.reject()}}async loadMapResources(){const{map:t}=this.view,i=t;try{return await i.loadAll(),Promise.resolve()}catch(t){return console.error(t),this.state="disabled",Promise.reject()}}generateUID(){return t=>{const i=Math.random(),s=Math.floor(10*Math.random())+11,o=i.toString(s).replace("0.","");t.uid=o}}render(){var t,i;const{state:e}=this,n="disabled"===e,a="loading"===e||"calculating"===e||"layerView"===this.queryType&&(null===(t=this.view)||void 0===t?void 0:t.updating)?this.renderProgress():null;return s(o,{key:"5a7e3fdc0753d3f951a71397519ebf07ecd68e03",class:`${this.getPositionClass} ${this.getStyleClass}`},n?null:[a,(null===(i=this.items)||void 0===i?void 0:i.length)>0?this.renderBase():null])}renderBase(){return s("div",{key:"instant-apps-scoreboard-base",class:l},this.renderContent())}renderContent(){const{state:t}=this;return"loading"===t?this.renderLoader():"calculating"===t||"complete"===t?this.renderItemsContainer():null}renderItemsContainer(){const[t,i]=this.renderPreviousNextButtons();return s("div",{class:p.itemsContainer},t,this.renderItems(),i)}renderPreviousNextButtons(){var t,i,o;const e=this.getItemLimit(),n=(null===(t=this.items.filter((t=>t.visible)))||void 0===t?void 0:t.length)<=e,a=0===this.itemIndex,r=this.isEnd,l=!!this.isMobile||"bottom"===this.position,d=l?"start":"center",c={previous:l?"chevron-left":"chevron-up",next:l?"chevron-right":"chevron-down"},h=a||n?"blank":c.previous,p=r||n?"blank":c.next,u={previous:a||n,next:r||n},b="transparent",m=this.isMobile?"s":"l",v={previous:null===(i=this.messages)||void 0===i?void 0:i.previous,next:null===(o=this.messages)||void 0===o?void 0:o.next};return[s("calcite-action",{onClick:this.previousItem.bind(this),icon:h,disabled:u.previous,alignment:d,scale:m,appearance:b,text:v.previous,label:v.previous}),s("calcite-action",{onClick:this.nextItem.bind(this),icon:p,disabled:u.next,alignment:d,scale:m,appearance:b,text:v.next,label:v.next})]}renderItems(){const{items:t}=p,i=this.getItemsToDisplay.map((t=>this.renderItem(t)));return s("ul",{class:t},i)}renderItem(t){const{label:i}=t;return s("li",{class:p.item},s("span",{class:p.label,title:i},i),this.renderValue(t))}renderValue(t){var i,o,e;const{displayValue:n}=t,a="disabled"===this.state,r=void 0===n&&"calculating"===this.state,l=n||(null===(i=this.messages)||void 0===i?void 0:i.NA),d=null===(o=this.layers)||void 0===o?void 0:o.find((i=>{var s;return(null===(s=null==t?void 0:t.layer)||void 0===s?void 0:s.id)===i.id})),c=!(null==d?void 0:d.visible),h=r?this.renderValuePlaceholder():a?"":c?s("calcite-icon",{icon:"view-hide",scale:"l",title:null===(e=this.messages)||void 0===e?void 0:e.layerVisibilityOff}):l;return s("span",{class:p.value},h)}renderValuePlaceholder(){return s("span",{class:p.valuePlaceholder})}renderProgress(){return s("calcite-progress",{key:`${d}calcite-progress`,type:"indeterminate"})}renderLoader(){var t;const i=null===(t=this.messages)||void 0===t?void 0:t.loading;return s("calcite-loader",{key:`${d}calcite-loader`,label:i,text:i,scale:"m"})}get getPositionClass(){const{bottom:t,left:i,right:s,side:o}=p.position;return this.isMobile||"bottom"===this.position?t:`${"left"===this.position?i:s} ${o}`}get getStyleClass(){const{floating:t,pinned:i}=p.mode;return this.isMobile?i:"floating"===this.mode?t:i}get checkMobile(){var t,i;const s=null===(i=null===(t=this.el)||void 0===t?void 0:t.parentElement)||void 0===i?void 0:i.offsetWidth;return!isNaN(s)&&s>0&&s<h}get getItemsToDisplay(){const t=this.getItemLimit();return this.items.filter((t=>t.visible)).slice(this.itemIndex,t+this.itemIndex)}get isEnd(){const t=this.getItemLimit(),i=this.items.slice(this.items.length-t).map((t=>t.uid)),s=this.items.slice(this.itemIndex,this.itemIndex+t).map((t=>t.uid));return i.every(((t,i)=>t===s[i]))}previousItem(){this.itemIndex=this.itemIndex-1}nextItem(){this.itemIndex=this.itemIndex+1}queryStatDefinitions(t,i){const s=(t,i)=>{var s,o,e,n,a;const r="layer"===this.queryType?t.layer.createQuery():t.createQuery(),l=this.geometry?this.geometry:this.view.extent;r.outStatistics=[i],r.geometry=l;const d=null!==(a=null!==(o=null===(s=null==t?void 0:t.filter)||void 0===s?void 0:s.timeExtent)&&void 0!==o?o:null===(n=null===(e=null==t?void 0:t.featureEffect)||void 0===e?void 0:e.filter)||void 0===n?void 0:n.timeExtent)&&void 0!==a?a:null;return d&&(r.timeExtent=d),r};t.forEach((()=>async t=>{var o;const e=null===(o=this.layerViews)||void 0===o?void 0:o.find((i=>{var s;return i.layer.id===(null===(s=null==t?void 0:t.layer)||void 0===s?void 0:s.id)}));if(!e)return;const n=(t=>{const{field:i,operation:s}=t;return{onStatisticField:i,outStatisticFieldName:`${i}_${s}`,statisticType:s}})(t),a=s(e,n),r="layer"===this.queryType?e.layer.queryFeatures(a):e.queryFeatures(a);i.push(r)})())}handleQueryFeaturesResponses(t,i){t.forEach((()=>(t,s)=>{const o=(t=>{const i=t.features[0],{attributes:s}=i;return Object.values(s)[0]})(t),e=null!==o,n=e?this.intl.formatNumber(o,{notation:"compact",compactDisplay:"short"}):null;i[s].displayValue=e?`${n}`:"",i[s].value=o})())}initStationaryWatcher(){var t,i;const s={once:!0,initial:!0},o=()=>{var t;return null===(t=this.reactiveUtils)||void 0===t?void 0:t.when((()=>{var t;return!(null===(t=this.view)||void 0===t?void 0:t.interacting)}),(()=>{"layerView"===this.queryType&&this.calculateScoreboardItemValues()}),s)},e="stationary-watcher-key";(null===(t=this.handles)||void 0===t?void 0:t.has(e))&&this.handles.remove(e),null===(i=this.handles)||void 0===i||i.add((()=>{var t;return null===(t=this.reactiveUtils)||void 0===t?void 0:t.when((()=>{var t;return null===(t=this.view)||void 0===t?void 0:t.stationary}),(()=>o()))})(),e)}initViewUpdateWatcher(){return this.reactiveUtils.watch((()=>{var t;return null===(t=this.view)||void 0===t?void 0:t.updating}),(()=>{this.reactiveUtils.when((()=>{var t;return!(null===(t=this.view)||void 0===t?void 0:t.updating)}),(()=>{"layerView"===this.queryType&&this.calculateScoreboardItemValues()}),{once:!0,initial:!0})}),{initial:!0})}watchLayerVisibility(){var t,i;if(!this.layers)return;const s="visbilityWatcherKey";null===(t=this.handles)||void 0===t||t.remove(s);const o=[];this.layers.forEach((t=>{const i=async()=>{const i=await this.view.whenLayerView(t);await this.reactiveUtils.whenOnce((()=>!1===(null==i?void 0:i.updating))),this.calculateScoreboardItemValues()},s=this.reactiveUtils.watch((()=>null==t?void 0:t.visible),(async()=>i()));o.push(s)})),null===(i=this.handles)||void 0===i||i.add([...o],s)}getItemLimit(){return this.itemLimit<2||this.itemLimit>6?6:this.itemLimit}get el(){return e(this)}static get watchers(){return{items:["generateUIDs","storeLayers"],layers:["storeLayerViews"],geometry:["calculateScoreboardItemValuesFromGeometry"],layerViews:["calculateScoreboardItemValues"]}}};u.style=":host{display:block;--instant-apps-scoreboard-background-color:var(--calcite-color-foreground-1);--instant-apps-scoreboard-text-color:var(--calcite-color-text-1);--instant-apps-scoreboard-mobile-position-bottom:0;background-color:var(--instant-apps-scoreboard-background-color);color:var(--instant-apps-scoreboard-text-color)}:host .instant-apps-scoreboard{box-sizing:border-box;border:1px solid var(--calcite-color-border-1);box-shadow:0px 3px 15px rgba(0, 0, 0, 0.2);border-radius:3px}:host .instant-apps-scoreboard calcite-loader{--calcite-loader-padding:1rem}:host .instant-apps-scoreboard__items-container{display:flex}:host .instant-apps-scoreboard__items-container calcite-action{height:100%}:host .instant-apps-scoreboard__items,:host .instant-apps-scoreboard__item{box-sizing:border-box;display:flex}:host .instant-apps-scoreboard__items{list-style-type:none;padding-left:0;margin:0;padding-top:1.75%;padding-bottom:1.75%;width:100%}:host .instant-apps-scoreboard__item{flex-direction:column;justify-content:flex-end;align-items:center;padding:1%}:host .instant-apps-scoreboard__item-label{box-sizing:border-box;line-height:24px;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;word-break:break-word;font-size:1rem;font-weight:400;text-align:center}:host .instant-apps-scoreboard__item-value{display:flex;justify-content:center;align-items:center;min-width:32px;min-height:32px;margin-top:5px;font-size:1.5rem;font-weight:900}:host .instant-apps-scoreboard__item-value-placeholder{display:inline-block;width:32px;height:32px;background-color:var(--calcite-color-foreground-3);border-radius:4px}:host(.instant-apps-scoreboard__position--bottom){bottom:0}:host(.instant-apps-scoreboard__position--bottom) .instant-apps-scoreboard{display:flex;justify-content:center}:host(.instant-apps-scoreboard__position--bottom) .instant-apps-scoreboard__items{display:flex;justify-content:center}:host(.instant-apps-scoreboard__position--bottom) .instant-apps-scoreboard__item{min-width:10vw;vertical-align:top}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--floating){left:50%;max-width:calc(100% - 30px);transform:translate(-50%, -15px)}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--floating) .instant-apps-scoreboard{min-width:25vw}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--pinned){left:unset;bottom:0;transform:unset;width:100%}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--pinned) .instant-apps-scoreboard{min-width:unset}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--pinned) .instant-apps-scoreboard__items-container{width:100%;justify-content:space-between}:host(.instant-apps-scoreboard__position--side) .instant-apps-scoreboard{display:flex;justify-content:center;align-items:center;width:10vw;overflow-y:auto}:host(.instant-apps-scoreboard__position--side) .instant-apps-scoreboard__items-container{flex-direction:column;height:100%;box-sizing:border-box}:host(.instant-apps-scoreboard__position--side) .instant-apps-scoreboard__items-container calcite-action{height:unset;width:100%}:host(.instant-apps-scoreboard__position--side) .instant-apps-scoreboard__items{flex-direction:column;padding:10px}:host(.instant-apps-scoreboard__position--side) .instant-apps-scoreboard__item{padding-top:0.5vh;padding-bottom:0.5vh}:host(.instant-apps-scoreboard__position--side.instant-apps-scoreboard__mode--floating){top:15px;left:15px;max-height:calc(100% - 30px)}:host(.instant-apps-scoreboard__position--side.instant-apps-scoreboard__mode--floating) .instant-apps-scoreboard{min-width:10vw;min-height:35vh}:host(.instant-apps-scoreboard__position--side.instant-apps-scoreboard__mode--pinned){top:unset;left:unset;transform:unset;height:100%}:host(.instant-apps-scoreboard__position--side.instant-apps-scoreboard__mode--pinned) .instant-apps-scoreboard{height:100%}:host(.instant-apps-scoreboard__position--side.instant-apps-scoreboard__mode--pinned) .instant-apps-scoreboard__items-container{justify-content:space-between}:host(.instant-apps-scoreboard__position--left.instant-apps-scoreboard__mode--floating){left:15px}:host(.instant-apps-scoreboard__position--right.instant-apps-scoreboard__mode--floating){left:unset;right:15px}:host(.instant-apps-scoreboard__position--left.instant-apps-scoreboard__mode--pinned){left:0}:host(.instant-apps-scoreboard__position--right.instant-apps-scoreboard__mode--pinned){left:unset;right:0}@media only screen and (min-width: 992px){:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--pinned){bottom:var(--instant-apps-scoreboard-mobile-position-bottom)}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--pinned) .instant-apps-scoreboard__item{justify-content:center;min-width:unset;flex-grow:1}}";export{u as instant_apps_scoreboard}
@@ -0,0 +1,6 @@
1
+ /*!
2
+ * Copyright 2022 Esri
3
+ * Licensed under the Apache License, Version 2.0
4
+ * http://www.apache.org/licenses/LICENSE-2.0
5
+ */
6
+ import{d as i}from"./p-13bdb2c0.js";import"./p-f1f356f0.js";import"./p-dd689226.js";import"./p-38e0f88b.js";import"./p-eed08718.js";import"./p-51ab623a.js";import"./p-6d56f75e.js";import"./p-ec51378a.js";import"./p-e2570a80.js";import"./p-ae019e19.js";import"./p-6708060e.js";import"./p-82d93164.js";import"./p-135b2aba.js";import"./p-7aafba66.js";import"./p-4f50385f.js";import"./p-866a2fad.js";import"./p-b98e9479.js";import"./p-bd7be7a7.js";import"./p-409401ce.js";import"./p-6148468f.js";import"./p-a71250ea.js";var e={name:"ro",weekdays:"Duminică_Luni_Marți_Miercuri_Joi_Vineri_Sâmbătă".split("_"),weekdaysShort:"Dum_Lun_Mar_Mie_Joi_Vin_Sâm".split("_"),weekdaysMin:"Du_Lu_Ma_Mi_Jo_Vi_Sâ".split("_"),months:"Ianuarie_Februarie_Martie_Aprilie_Mai_Iunie_Iulie_August_Septembrie_Octombrie_Noiembrie_Decembrie".split("_"),monthsShort:"Ian._Febr._Mart._Apr._Mai_Iun._Iul._Aug._Sept._Oct._Nov._Dec.".split("_"),weekStart:1,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"},relativeTime:{future:"peste %s",past:"acum %s",s:"câteva secunde",m:"un minut",mm:"%d minute",h:"o oră",hh:"%d ore",d:"o zi",dd:"%d zile",M:"o lună",MM:"%d luni",y:"un an",yy:"%d ani"},ordinal:function(i){return i}};i.locale(e,null,!0);export{e as default}
@@ -0,0 +1,17 @@
1
+ /*!
2
+ * Copyright 2022 Esri
3
+ * Licensed under the Apache License, Version 2.0
4
+ * http://www.apache.org/licenses/LICENSE-2.0
5
+ */
6
+ import{r as t,c as i,h as s,g as e,F as n}from"./p-f1f356f0.js";import{a as h,q as a,r as l,s as r,u as o,n as c,o as p,h as u,v as d,O as f,c as m}from"./p-13fd4eeb.js";import{d as x,x as g}from"./p-38e0f88b.js";import{s as w,a as y,c as b}from"./p-6708060e.js";import"./p-eed08718.js";import"./p-51ab623a.js";import"./p-82d93164.js";
7
+ /*!
8
+ * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
9
+ * See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
10
+ * v2.13.2
11
+ */const k=h(),C=class{constructor(s){t(this,s),this.calciteColorPickerHexInputChange=i(this,"calciteColorPickerHexInputChange",6),this.onHexInputBlur=()=>{const t=this.hexInputNode,i=t.value,s=`#${i}`,{allowEmpty:e,internalColor:n}=this,h=e&&!i,c=a(s);l(s,this.alphaChannel)&&this.onHexInputChange(),h||r(s)&&c||(t.value=e&&!n?"":this.formatHexForInternalInput(o(n.object())))},this.onOpacityInputBlur=()=>{const t=this.opacityInputNode,i=t.value,{allowEmpty:s,internalColor:e}=this;s&&!i||(t.value=s&&!e?"":this.formatOpacityForInternalInput(e))},this.onOpacityInputInput=()=>{this.onOpacityInputChange()},this.onHexInputChange=()=>{let t=this.hexInputNode.value;if(t){const i=c(t,!1);r(i)&&this.alphaChannel&&this.internalColor&&(t=`${i+c(this.internalColor.hexa(),!0).slice(-2)}`)}this.internalSetValue(t,this.value)},this.onOpacityInputChange=()=>{const t=this.opacityInputNode;let i;if(t.value){const s=p(Number(t.value));i=this.internalColor?.alpha(s).hexa()}else i=t.value;this.internalSetValue(i,this.value)},this.onInputFocus=t=>{"calciteInternalInputTextFocus"===t.type?this.hexInputNode.selectText():this.opacityInputNode.selectText()},this.onHexInputInput=()=>{const t=`#${this.hexInputNode.value}`,i=this.value;r(t,this.alphaChannel)&&a(t,this.alphaChannel)&&this.internalSetValue(t,i)},this.onInputKeyDown=t=>{const{altKey:i,ctrlKey:s,metaKey:e,shiftKey:n}=t,{alphaChannel:h,hexInputNode:a,internalColor:r,value:o}=this,{key:c}=t,p=t.composedPath();if("Tab"===c&&l(o,this.alphaChannel)||"Enter"===c)return p.includes(a)?this.onHexInputChange():this.onOpacityInputChange(),void("Enter"===c&&t.preventDefault());const f=this.value;if("ArrowDown"===c||"ArrowUp"===c)return o?(this.internalSetValue(u(this.nudgeRGBChannels(r,(n?10:1)*("ArrowUp"===c?1:-1),p.includes(a)?"rgb":"a"),h),f),void t.preventDefault()):(this.internalSetValue(this.previousNonNullValue,f),void t.preventDefault());const m=i||s||e,x=1===c.length,g=d.test(c);!x||m||g||t.preventDefault()},this.onHexInputPaste=t=>{const i=t.clipboardData.getData("text");r(i,this.alphaChannel)&&a(i,this.alphaChannel)&&(t.preventDefault(),this.hexInputNode.value=i.slice(1),this.internalSetValue(i,this.value))},this.previousNonNullValue=this.value,this.storeHexInputRef=t=>{this.hexInputNode=t},this.storeOpacityInputRef=t=>{this.opacityInputNode=t},this.allowEmpty=!1,this.alphaChannel=!1,this.hexLabel="Hex",this.messages=void 0,this.numberingSystem=void 0,this.scale="m",this.value=c(u(k,this.alphaChannel),this.alphaChannel,!0),this.internalColor=k}connectedCallback(){const{allowEmpty:t,alphaChannel:i,value:s}=this;if(s){const t=c(s,i);r(t,i)&&this.internalSetValue(t,t,!1)}else t&&this.internalSetValue(null,null,!1)}componentWillLoad(){w(this)}componentDidLoad(){y(this)}handleValueChange(t,i){this.internalSetValue(t,i,!1)}render(){const{alphaChannel:t,hexLabel:i,internalColor:e,messages:n,scale:h,value:a}=this,l=this.formatHexForInternalInput(a),r=this.formatOpacityForInternalInput(e),o="l"===h?"m":"s";return s("div",{key:"70f804fdbc3c29fdf49616f56c39593fdc3717da",class:"container"},s("calcite-input-text",{key:"777d1f8ffa673a0d74f049d4a6bdacbf3510006a",class:"hex-input",label:n?.hex||i,maxLength:this.alphaChannel?8:6,onCalciteInputTextChange:this.onHexInputChange,onCalciteInputTextInput:this.onHexInputInput,onCalciteInternalInputTextBlur:this.onHexInputBlur,onCalciteInternalInputTextFocus:this.onInputFocus,onKeyDown:this.onInputKeyDown,onPaste:this.onHexInputPaste,prefixText:"#",ref:this.storeHexInputRef,scale:o,value:l}),t?s("calcite-input-number",{class:"opacity-input",key:"opacity-input",label:n?.opacity,max:f.max,maxLength:3,min:f.min,numberButtonType:"none",numberingSystem:this.numberingSystem,onCalciteInputNumberInput:this.onOpacityInputInput,onCalciteInternalInputNumberBlur:this.onOpacityInputBlur,onCalciteInternalInputNumberFocus:this.onInputFocus,onKeyDown:this.onInputKeyDown,ref:this.storeOpacityInputRef,scale:o,suffixText:"%",value:r}):null)}async setFocus(){return await b(this),x(this.hexInputNode)}internalSetValue(t,i,s=!0){if(t){const{alphaChannel:i}=this,e=c(t,i,i);if(r(e,i)){const{internalColor:t}=this,n=h(e),a=c(u(n,i),i),l=!t||a!==c(u(t,i),i);return this.internalColor=n,this.previousNonNullValue=a,this.value=a,void(l&&s&&this.calciteColorPickerHexInputChange.emit())}}else if(this.allowEmpty)return this.internalColor=null,this.value=null,void(s&&this.calciteColorPickerHexInputChange.emit());this.value=i}formatHexForInternalInput(t){return t?t.replace("#","").slice(0,6):""}formatOpacityForInternalInput(t){return t?`${m(t.alpha())}`:""}nudgeRGBChannels(t,i,s){let e;const n=t.array(),a=n.slice(0,3);if("rgb"===s)e=[...a.map((t=>t+i)),this.alphaChannel?n[3]:void 0];else{const s=p(m(t.alpha())+i);e=[...a,s]}return h(e)}get el(){return e(this)}static get watchers(){return{value:["handleValueChange"]}}};C.style=":host{display:block}.container{display:flex;inline-size:100%;flex-wrap:nowrap;align-items:center}.hex-input{flex-grow:1;text-transform:uppercase}.opacity-input{inline-size:68px;margin-inline-start:-1px}:host([scale=s]) .container{flex-wrap:wrap;row-gap:0.125rem}:host([scale=s]) .opacity-input{inline-size:unset;margin-inline-start:unset}:host([scale=l]) .opacity-input{inline-size:88px}:host([hidden]){display:none}[hidden]{display:none}";
12
+ /*!
13
+ * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
14
+ * See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
15
+ * v2.13.2
16
+ */
17
+ const v="swatch",I="swatch--no-color",z="checker",T=4,j=8,F=class{constructor(i){t(this,i),this.active=!1,this.color=void 0,this.scale="m"}handleColorChange(t){this.internalColor=t?h(t):null}componentWillLoad(){this.handleColorChange(this.color)}render(){const t=!this.internalColor;return s("svg",{key:"d808ca40b9f81aad24291cabcfaf95d74d89f7cd",class:{[v]:!0,[I]:t},xmlns:"http://www.w3.org/2000/svg"},this.renderSwatch())}renderSwatch(){const{active:t,el:i,internalColor:e}=this,h=t?"100%":"0",a={height:"100%",rx:h,stroke:"light"===g(i)?"rgba(0, 0, 0, 0.3)":"rgba(255, 255, 255, 0.15)",strokeWidth:"2",width:"100%"};if(!e)return s(n,null,s("clipPath",{id:"shape"},s("rect",{height:"100%",rx:h,width:"100%"})),this.renderSwatchRect({clipPath:`inset(0 round ${h})`,...a}),s("line",{"clip-path":"url(#shape)","stroke-width":"3",x1:"100%",x2:"0",y1:"0",y2:"100%"}));const l=e.alpha(),r=u(e),o=u(e,l<1);return s(n,null,s("title",null,o),s("defs",null,s("pattern",{height:j,id:"checker",patternUnits:"userSpaceOnUse",width:j,x:"0",y:"0"},s("rect",{class:z,height:T,width:T,x:"0",y:"0"}),s("rect",{class:z,height:T,width:T,x:T,y:T}))),this.renderSwatchRect({fill:"url(#checker)",rx:a.rx,height:a.height,width:a.width}),this.renderSwatchRect({clipPath:l<1?"polygon(100% 0, 0 0, 0 100%)":`inset(0 round ${h})`,fill:r,...a}),l<1?this.renderSwatchRect({clipPath:"polygon(100% 0, 100% 100%, 0 100%)",fill:o,key:"opacity-fill",...a}):null)}renderSwatchRect({clipPath:t,fill:i,height:e,key:n,rx:h,stroke:a,strokeWidth:l,width:r}){return s("rect",{"clip-path":t,fill:i,height:e,key:n,rx:h,stroke:a,"stroke-width":l,width:r})}get el(){return e(this)}static get watchers(){return{color:["handleColorChange"]}}};F.style=":host{position:relative;display:inline-flex}:host([scale=s]){block-size:1.25rem;inline-size:1.25rem}:host([scale=m]){block-size:1.5rem;inline-size:1.5rem}:host([scale=l]){block-size:2rem;inline-size:2rem}.swatch{overflow:hidden;block-size:inherit;inline-size:inherit}.swatch rect{transition-property:all;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}.swatch--no-color rect{fill:var(--calcite-color-foreground-1)}.swatch--no-color line{stroke:var(--calcite-color-status-danger)}.checker{fill:#cacaca}:host([hidden]){display:none}[hidden]{display:none}";export{C as calcite_color_picker_hex_input,F as calcite_color_picker_swatch}
@@ -0,0 +1,6 @@
1
+ /*!
2
+ * Copyright 2022 Esri
3
+ * Licensed under the Apache License, Version 2.0
4
+ * http://www.apache.org/licenses/LICENSE-2.0
5
+ */
6
+ import{r as i,h as t,H as e,g as n}from"./p-f1f356f0.js";import{g as o,d as s}from"./p-38e0f88b.js";import{u as a,I as c}from"./p-6d56f75e.js";import{s as l,a as r,c as d}from"./p-6708060e.js";import{C as h}from"./p-51ab623a.js";import"./p-eed08718.js";import"./p-82d93164.js";const p=class{constructor(t){i(this,t),this.childElClickHandler=i=>{i.isTrusted||i.stopPropagation()},this.storeTagRef=i=>{this.childEl=i},this.disabled=!1,this.download=!1,this.href=void 0,this.iconEnd=void 0,this.iconFlipRtl=void 0,this.iconStart=void 0,this.rel=void 0,this.target=void 0}componentWillLoad(){l(this)}componentDidLoad(){r(this)}componentDidRender(){a(this)}render(){const{download:i,el:n}=this,s=o(n),a=this.href?"a":"span",l=t("calcite-icon",{key:"c9844033e9bd5da35333b485aad27ddb2df6b039",class:"calcite-link--icon icon-start",flipRtl:"start"===this.iconFlipRtl||"both"===this.iconFlipRtl,icon:this.iconStart,scale:"s"}),r=t("calcite-icon",{key:"f1de10682fee566552253cf2ae3cb6725f5e5f11",class:"calcite-link--icon icon-end",flipRtl:"end"===this.iconFlipRtl||"both"===this.iconFlipRtl,icon:this.iconEnd,scale:"s"}),d="span"===a?"link":null,p="span"===a?0:null;return t(e,{key:"5ad440468fcccb6fe7c146ec57462e7593f96109",role:"presentation"},t(c,{key:"916c68cd97c31fa1ec69f408d25d3023749698e1",disabled:this.disabled},t(a,{key:"e00cebc0c56b95c02192872ac84df996a74a5fa4",class:{[h.rtl]:"rtl"===s},download:"a"===a?!0===i||""===i?"":i||null:null,href:"a"===a&&this.href,onClick:this.childElClickHandler,ref:this.storeTagRef,rel:"a"===a&&this.rel,role:d,tabIndex:p,target:"a"===a&&this.target},this.iconStart?l:null,t("slot",{key:"57b25ff3b8f7f3d048796a559c2911178d6b8ddf"}),this.iconEnd?r:null)))}clickHandler(i){this.disabled||i.isTrusted||this.childEl.click()}async setFocus(){await d(this),s(this.childEl)}get el(){return n(this)}};p.style=":host([disabled]){cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:inline}:host a,:host span{position:relative;display:flex;cursor:pointer;align-items:center;justify-content:center;border-radius:0px;border-style:none;font-family:inherit;transition:background-color, block-size, border-color, box-shadow, color, inset-block-end, inset-block-start, inset-inline-end, inset-inline-start inset-size, opacity, outline-color, transform var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;text-decoration:none;line-height:inherit;font-size:inherit;-webkit-appearance:none}:host a:hover,:host span:hover{text-decoration:none}:host a,:host span{outline-color:transparent}:host a:focus,:host span:focus{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-color-brand));outline-offset:calc(\n 2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-offset-invert-focus),\n 1\n )\n )\n )}calcite-icon{inline-size:1em;block-size:1em;min-inline-size:unset;min-block-size:unset}.calcite-link--icon{vertical-align:middle;transition:background-color, block-size, border-color, box-shadow, color, inset-block-end, inset-block-start, inset-inline-end, inset-inline-start inset-size, opacity, outline-color, transform var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;margin-block-start:-0.25em}:host .calcite-link--icon.icon-start{margin-inline-end:0.5rem}:host .calcite-link--icon.icon-end{margin-inline-start:0.5rem}:host span,:host a{position:relative;display:inline;border-style:none;background-color:transparent;padding:0px;color:var(--calcite-color-text-link);transition:background-color, block-size, border-color, box-shadow, color, inset-block-end, inset-block-start, inset-inline-end, inset-inline-start inset-size, opacity, outline-color, transform var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;line-height:inherit;white-space:initial;background-image:linear-gradient(currentColor, currentColor), linear-gradient(var(--calcite-color-brand-underline), var(--calcite-color-brand-underline));background-position-x:0%, 100%;background-position-y:min(1.5em, 100%);background-repeat:no-repeat, no-repeat;background-size:0% 1px, 100% 1px}:host span:hover,:host span:focus,:host a:hover,:host a:focus{background-size:100% 1px, 100% 1px}:host span:active,:host a:active{background-size:100% 2px, 100% 2px}:host span.calcite--rtl,:host a.calcite--rtl{background-position:100% 100%, 100% 100%}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([hidden]){display:none}[hidden]{display:none}";export{p as calcite_link}
@@ -0,0 +1,11 @@
1
+ /*!
2
+ * Copyright 2022 Esri
3
+ * Licensed under the Apache License, Version 2.0
4
+ * http://www.apache.org/licenses/LICENSE-2.0
5
+ */
6
+ import{r as t,h as e,H as o,g as i}from"./p-f1f356f0.js";import{c as a,s as n,a as c}from"./p-6708060e.js";import"./p-82d93164.js";
7
+ /*!
8
+ * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
9
+ * See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
10
+ * v2.13.2
11
+ */const r="full-name",s="username",l=class{constructor(e){t(this,e),this.active=void 0,this.fullName=void 0,this.label=void 0,this.textDisabled=!1,this.thumbnail=void 0,this.userId=void 0,this.username=void 0}async setFocus(){await a(this),this.el.focus()}componentWillLoad(){n(this)}componentDidLoad(){c(this)}render(){return e(o,{key:"d848f4b0ee430fdbf74ce63be874afc055b1a48a"},e("button",{key:"d8187d1795407a9d12e4f2c6c3d75dba47cdf028","aria-label":this.label,class:"button"},e("calcite-avatar",{key:"3a8526feb870ed33d7eae888c71f9489d90df26f","full-name":this.fullName,label:this.label,thumbnail:this.thumbnail,"user-id":this.userId,username:this.username}),(this.fullName||this.username)&&!this.textDisabled&&e("div",{key:"111bc54b8e187a95849ed325aca22880c00d1191",class:"text-container"},this.fullName&&e("span",{class:r,key:r},this.fullName),this.username&&e("span",{class:s,key:s},this.username))))}static get delegatesFocus(){return!0}get el(){return i(this)}};l.style=":host{display:inline-flex;outline:2px solid transparent;outline-offset:2px}:host .button{background-color:transparent;border:none;margin:0px;display:flex;cursor:pointer;align-items:center;justify-content:center;font-family:var(--calcite-font-family);font-size:var(--calcite-font-size-0);line-height:1.25rem;outline-color:transparent;transition:background-color, block-size, border-color, box-shadow, color, inset-block-end, inset-block-start, inset-inline-end, inset-inline-start inset-size, opacity, outline-color, transform var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;border-block-end:2px solid transparent}:host(:hover) .button,:host(:focus) .button{background-color:var(--calcite-color-foreground-2)}:host(:focus) .button{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-color-brand));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-offset-invert-focus),\n 1\n )\n )\n )}:host(:active) .button{background-color:var(--calcite-color-foreground-3);color:var(--calcite-color-text-1)}:host([active]) .button{border-color:var(--calcite-color-brand);color:var(--calcite-color-text-1);--calcite-icon-color:var(--calcite-color-brand)}.text-container{margin-block-start:0.125rem;display:flex;flex-direction:column;padding-inline:1rem;text-align:start}calcite-avatar{padding-inline:1rem}calcite-avatar~.text-container{padding-inline-start:0px}.full-name{margin-inline-start:0px;font-size:var(--calcite-font-size-0);font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-1)}.username{color:var(--calcite-color-text-2);font-size:var(--calcite-font-size--1)}:host([hidden]){display:none}[hidden]{display:none}";export{l as calcite_navigation_user}
@@ -0,0 +1,6 @@
1
+ /*!
2
+ * Copyright 2022 Esri
3
+ * Licensed under the Apache License, Version 2.0
4
+ * http://www.apache.org/licenses/LICENSE-2.0
5
+ */
6
+ import{r as t,h as i,H as s,g as l}from"./p-f1f356f0.js";import{g as o}from"./p-570754a4.js";import"./p-d001e961.js";import"./p-0a24ad5f.js";import"./p-d4056c1c.js";import"./p-ac122d9e.js";const a=class{constructor(i){t(this,i),this.messages=void 0,this.view=void 0}render(){var t,l,o,a,e,n,d;const h="2d"!==(null===(t=null==this?void 0:this.view)||void 0===t?void 0:t.type)&&(null==this?void 0:this.view)?this._getSceneViewCommands():this._getMapViewCommands(),r=this._isMacLike()?"Option":"Alt";return i(s,{key:"9c8b38fe77e393b5c28dcdeb9f536136f1847a80"},i("calcite-block",{key:"129cc133e93e2817286b651e275c9be4cab404d7",open:!0,class:"instant-apps-keyboard-shortcuts__content",heading:null===(o=null===(l=null==this?void 0:this.messages)||void 0===l?void 0:l.generalShortcuts)||void 0===o?void 0:o.label},i("table",{key:"35c2075b9bfd4156dc599f7eb4230f8939b666d7"},this.renderTableHeader(),i("tr",{key:"4501f1eb90661c5c4dc21448faafc6b05c9c5f44"},i("td",{key:"dd5e19bf19397dc2d249280b779021436f792ca2"},`${r} + M`),i("td",{key:"7229f20c134afc765ffc5a6fc472ef240ec23d4f"},null===(e=null===(a=null==this?void 0:this.messages)||void 0===a?void 0:a.generalShortcuts)||void 0===e?void 0:e.title))),i("calcite-label",{key:"e0ad61c9410eddbe07411a1257208e72993e1552"},null===(d=null===(n=null==this?void 0:this.messages)||void 0===n?void 0:n.generalShortcuts)||void 0===d?void 0:d.title),i("table",{key:"da8a5261b67d71d969313c9643e45762dfd7ec1b"},this.renderTableHeader(),h.map((t=>i("tr",null,i("td",null,t.alias),i("td",null,t.title)))))))}componentDidLoad(){o(this)}renderTableHeader(){var t,s;return(null==this?void 0:this.messages)?i("tr",null,i("th",null,null===(t=null==this?void 0:this.messages)||void 0===t?void 0:t.generalShortcuts.shortcut),i("th",null,null===(s=null==this?void 0:this.messages)||void 0===s?void 0:s.generalShortcuts.action)):null}_getMapViewCommands(){return(null==this?void 0:this.messages)?[{alias:null==this?void 0:this.messages.mapShortcuts.arrowKeys,title:null==this?void 0:this.messages.mapShortcuts.nudge},{alias:"N",title:null==this?void 0:this.messages.mapShortcuts.N},{alias:"A",title:null==this?void 0:this.messages.mapShortcuts.A},{alias:"D",title:null==this?void 0:this.messages.mapShortcuts.D},{alias:"+",title:null==this?void 0:this.messages.mapShortcuts.plus},{alias:"-",title:null==this?void 0:this.messages.mapShortcuts.minus}]:[]}_getSceneViewCommands(){var t;const i="global"===(null===(t=null==this?void 0:this.view)||void 0===t?void 0:t.viewingMode),s=(null==this?void 0:this.messages)?[{alias:null==this?void 0:this.messages.mapShortcuts.arrowKeys,title:null==this?void 0:this.messages.mapShortcuts.nudge,show:!!i},{alias:"P",title:null==this?void 0:this.messages.sceneShortcuts.P,show:!0},{alias:"N",title:null==this?void 0:this.messages.sceneShortcuts.N,show:!0},{alias:"W",title:null==this?void 0:this.messages.sceneShortcuts.W,show:!0},{alias:"A",title:null==this?void 0:this.messages.sceneShortcuts.A,show:!0},{alias:"D",title:null==this?void 0:this.messages.sceneShortcuts.D,show:!0},{alias:"S",title:null==this?void 0:this.messages.sceneShortcuts.S,show:!0},{alias:"J",title:null==this?void 0:this.messages.sceneShortcuts.globalCommands.J,show:!!i},{alias:"U",title:null==this?void 0:this.messages.sceneShortcuts.globalCommands.U,show:!!i}]:[];return(null==this?void 0:this.messages)?null==s?void 0:s.filter((t=>t.show)):[]}_isMacLike(){return/(Mac)/i.test(navigator.platform)}get el(){return l(this)}};a.style=":host .instant-apps-keyboard-shortcuts__content{display:flex;flex-direction:column;font-family:var(--calcite-sans-family);font-size:0.875rem;background-color:var(--calcite-color-background);color:var(--calcite-color-text-1);width:auto;padding:0.5em;margin-bottom:0;overflow:auto}:host .instant-apps-keyboard-shortcuts__content table{border:none;border-collapse:collapse;width:100%;margin-bottom:1em}:host .instant-apps-keyboard-shortcuts__content table td,:host .instant-apps-keyboard-shortcuts__content table th{border:solid 1px var(--calcite-color-border-1);padding:0.5rem 0.75rem 0.5rem 0.75rem;white-space:normal}:host .instant-apps-keyboard-shortcuts__content table td:lang(ja),:host .instant-apps-keyboard-shortcuts__content table td:lang(ja-JP),:host .instant-apps-keyboard-shortcuts__content table th:lang(ja-JP),:host .instant-apps-keyboard-shortcuts__content table th:lang(ja){white-space:nowrap}:host .instant-apps-keyboard-shortcuts__content tr:nth-child(even){background-color:var(--calcite-color-foreground-2)}:host .instant-apps-keyboard-shortcuts__content tr th{padding:0.5em 0.7em;font-weight:400}";export{a as instant_apps_keyboard_shortcuts}
@@ -0,0 +1,11 @@
1
+ /*!
2
+ * Copyright 2022 Esri
3
+ * Licensed under the Apache License, Version 2.0
4
+ * http://www.apache.org/licenses/LICENSE-2.0
5
+ */
6
+ import{r as t,c as i,f as e,h as o,H as s,g as a}from"./p-f1f356f0.js";import{g as r}from"./p-c8ad7a15.js";import{g as c,d as n,t as d}from"./p-38e0f88b.js";import{c as h,d as l,H as p}from"./p-dd689226.js";import{g as b}from"./p-eed08718.js";import{u,I as f}from"./p-6d56f75e.js";import{c as m,d as v,g as k}from"./p-e2570a80.js";import{c as x,s as g,a as w}from"./p-6708060e.js";import"./p-51ab623a.js";import"./p-ae019e19.js";import"./p-82d93164.js";
7
+ /*!
8
+ * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
9
+ * See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
10
+ * v2.13.2
11
+ */const y=class{constructor(e){t(this,e),this.calciteInternalRadioButtonBlur=i(this,"calciteInternalRadioButtonBlur",6),this.calciteRadioButtonChange=i(this,"calciteRadioButtonChange",6),this.calciteInternalRadioButtonCheckedChange=i(this,"calciteInternalRadioButtonCheckedChange",6),this.calciteInternalRadioButtonFocus=i(this,"calciteInternalRadioButtonFocus",6),this.selectItem=(t,i)=>{t[i].click()},this.queryButtons=()=>Array.from(this.rootNode.querySelectorAll("calcite-radio-button:not([hidden])")).filter((t=>t.name===this.name)),this.isFocusable=()=>{const t=this.queryButtons(),i=t.find((t=>!t.disabled)),e=t.find((t=>t.checked));return i===this.el&&!e},this.check=()=>{this.disabled||(this.focused=!0,this.setFocus(),this.checked||(this.uncheckAllRadioButtonsInGroup(),this.checked=!0,this.calciteRadioButtonChange.emit()))},this.clickHandler=()=>{this.disabled||this.check()},this.setContainerEl=t=>{this.containerEl=t},this.handleKeyDown=t=>{const{key:i}=t,{el:e}=this;if(-1===["ArrowLeft","ArrowUp","ArrowRight","ArrowDown"," "].indexOf(i))return;if(" "===i)return this.check(),void t.preventDefault();let o=i;"rtl"===c(e)&&("ArrowRight"===i&&(o="ArrowLeft"),"ArrowLeft"===i&&(o="ArrowRight"));const s=Array.from(this.rootNode.querySelectorAll("calcite-radio-button:not([hidden])")).filter((t=>t.name===this.name));let a=0;const n=s.length;switch(s.some(((t,i)=>{if(t.checked)return a=i,!0})),o){case"ArrowLeft":case"ArrowUp":return t.preventDefault(),void this.selectItem(s,r(Math.max(a-1,-1),n));case"ArrowRight":case"ArrowDown":return t.preventDefault(),void this.selectItem(s,r(a+1,n));default:return}},this.onContainerBlur=()=>{this.focused=!1,this.calciteInternalRadioButtonBlur.emit()},this.onContainerFocus=()=>{this.disabled||(this.focused=!0,this.calciteInternalRadioButtonFocus.emit())},this.checked=!1,this.disabled=!1,this.focused=!1,this.form=void 0,this.guid=void 0,this.hovered=!1,this.label=void 0,this.name=void 0,this.required=!1,this.scale="m",this.value=void 0}handleHiddenChange(){this.updateTabIndexOfOtherRadioButtonsInGroup()}checkedChanged(t){t&&this.uncheckOtherRadioButtonsInGroup(),this.calciteInternalRadioButtonCheckedChange.emit()}disabledChanged(){this.updateTabIndexOfOtherRadioButtonsInGroup()}nameChanged(){this.checkLastRadioButton()}async setFocus(){await x(this),this.disabled||n(this.containerEl)}syncHiddenFormInput(t){t.type="radio"}onLabelClick(t){if(this.disabled||this.el.hidden)return;const i=t.currentTarget,e=i.for?this.rootNode.querySelector(`calcite-radio-button[id="${i.for}"]`):i.querySelector(`calcite-radio-button[name="${this.name}"]`);e&&(e.focused=!0,this.setFocus(),e.checked||(this.uncheckOtherRadioButtonsInGroup(),e.checked=!0,this.calciteRadioButtonChange.emit()))}checkLastRadioButton(){const t=this.queryButtons().filter((t=>t.checked));if(t?.length>1){const i=t[t.length-1];t.filter((t=>t!==i)).forEach((t=>{t.checked=!1,t.emitCheckedChange()}))}}async emitCheckedChange(){this.calciteInternalRadioButtonCheckedChange.emit()}uncheckAllRadioButtonsInGroup(){this.queryButtons().forEach((t=>{t.checked&&(t.checked=!1,t.focused=!1)}))}uncheckOtherRadioButtonsInGroup(){this.queryButtons().filter((t=>t.guid!==this.guid)).forEach((t=>{t.checked&&(t.checked=!1,t.focused=!1)}))}updateTabIndexOfOtherRadioButtonsInGroup(){this.queryButtons().filter((t=>t.guid!==this.guid&&!t.disabled)).forEach((t=>{e(t)}))}getTabIndex(){if(!this.disabled)return this.checked||this.isFocusable()?0:-1}pointerEnterHandler(){this.disabled||(this.hovered=!0)}pointerLeaveHandler(){this.disabled||(this.hovered=!1)}connectedCallback(){this.rootNode=this.el.getRootNode(),this.guid=this.el.id||`calcite-radio-button-${b()}`,this.name&&this.checkLastRadioButton(),m(this),h(this),this.updateTabIndexOfOtherRadioButtonsInGroup()}componentWillLoad(){g(this)}componentDidLoad(){w(this),this.focused&&!this.disabled&&this.setFocus()}disconnectedCallback(){v(this),l(this),this.updateTabIndexOfOtherRadioButtonsInGroup()}componentDidRender(){u(this)}render(){const t=this.getTabIndex();return o(s,{key:"45fcb686faaafd7fa14c61ae37c7e56394a2f75d",onClick:this.clickHandler,onKeyDown:this.handleKeyDown},o(f,{key:"3172c8e34562872615f7ff91f3cef82042b14c32",disabled:this.disabled},o("div",{key:"c33c5c4c5bdd1a8fdd821491bf9bf179e19eeef5","aria-checked":d(this.checked),"aria-label":k(this),class:"container",onBlur:this.onContainerBlur,onFocus:this.onContainerFocus,ref:this.setContainerEl,role:"radio",tabIndex:t},o("div",{key:"88bc96d9b946384bf96aefa2dcdf5f6ca39ae7a2",class:"radio"})),o(p,{key:"0851a97b89e6f09ae9634c6417a9950ea3ba1ef6",component:this})))}get el(){return a(this)}static get watchers(){return{hidden:["handleHiddenChange"],checked:["checkedChanged"],disabled:["disabledChanged"],name:["nameChanged"]}}};y.style=':host([disabled]){cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:block;cursor:pointer}:host .container{position:relative;outline:2px solid transparent;outline-offset:2px}:host .radio{cursor:pointer;border-radius:9999px;background-color:var(--calcite-color-foreground-1);outline-color:transparent;transition:background-color, block-size, border-color, box-shadow, color, inset-block-end, inset-block-start, inset-inline-end, inset-inline-start inset-size, opacity, outline-color, transform var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;box-shadow:inset 0 0 0 1px var(--calcite-color-border-input)}:host([hovered]) .radio,:host(:not([checked])[focused]:not([disabled])) .radio{box-shadow:inset 0 0 0 2px var(--calcite-color-brand)}:host([focused]) .radio{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-color-brand));outline-offset:calc(\n 2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-offset-invert-focus),\n 1\n )\n )\n )}:host([disabled]) .radio{cursor:default;opacity:var(--calcite-opacity-disabled)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([hovered][disabled]) .radio{box-shadow:inset 0 0 0 1px var(--calcite-color-border-input)}:host([scale=s]){--calcite-radio-size:var(--calcite-font-size--2)}:host([scale=m]){--calcite-radio-size:var(--calcite-font-size--1)}:host([scale=l]){--calcite-radio-size:var(--calcite-font-size-0)}.radio{block-size:var(--calcite-radio-size);max-inline-size:var(--calcite-radio-size);min-inline-size:var(--calcite-radio-size)}:host([scale=s][checked]) .radio,:host([hovered][scale=s][checked][disabled]) .radio{box-shadow:inset 0 0 0 4px var(--calcite-color-brand)}:host([scale=s][focused][checked]:not([disabled])) .radio{box-shadow:inset 0 0 0 4px var(--calcite-color-brand), 0 0 0 2px var(--calcite-color-foreground-1)}:host([scale=m][checked]) .radio,:host([hovered][scale=m][checked][disabled]) .radio{box-shadow:inset 0 0 0 5px var(--calcite-color-brand)}:host([scale=m][focused][checked]:not([disabled])) .radio{box-shadow:inset 0 0 0 5px var(--calcite-color-brand), 0 0 0 2px var(--calcite-color-foreground-1)}:host([scale=l][checked]) .radio,:host([hovered][scale=l][checked][disabled]) .radio{box-shadow:inset 0 0 0 6px var(--calcite-color-brand)}:host([scale=l][focused][checked]:not([disabled])) .radio{box-shadow:inset 0 0 0 6px var(--calcite-color-brand), 0 0 0 2px var(--calcite-color-foreground-1)}@media (forced-colors: active){:host([checked]) .radio::after,:host([checked][disabled]) .radio::after{content:"";inline-size:var(--calcite-radio-size);block-size:var(--calcite-radio-size);background-color:windowText;display:block}}::slotted(input[slot=hidden-form-input]){margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;inset:0 !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}:host([hidden]){display:none}[hidden]{display:none}';export{y as calcite_radio_button}