@esri/solutions-components 0.11.10 → 0.11.12

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 (270) hide show
  1. package/dist/cjs/{asyncToGenerator-ccb3278b.js → asyncToGenerator-c7fc3ee4.js} +1 -1
  2. package/dist/cjs/basemap-gallery_7.cjs.entry.js +8 -8
  3. package/dist/cjs/buffer-tools_2.cjs.entry.js +3 -3
  4. package/dist/cjs/card-manager_3.cjs.entry.js +10 -10
  5. package/dist/cjs/consent-manager.cjs.entry.js +6 -6
  6. package/dist/cjs/{constants-cb1b5548.js → constants-bed33322.js} +1 -1
  7. package/dist/cjs/create-feature_4.cjs.entry.js +11 -11
  8. package/dist/cjs/create-related-feature_3.cjs.entry.js +9 -9
  9. package/dist/cjs/crowdsource-manager.cjs.entry.js +3 -3
  10. package/dist/cjs/crowdsource-reporter.cjs.entry.js +3 -3
  11. package/dist/cjs/deduct-calculator.cjs.entry.js +1 -1
  12. package/dist/cjs/delete-dialog.cjs.entry.js +3 -3
  13. package/dist/cjs/{downloadUtils-47d639a9.js → downloadUtils-9ce90176.js} +3 -3
  14. package/dist/cjs/{effects-c3f6d203.js → effects-fdd163a9.js} +1 -1
  15. package/dist/cjs/feature-list.cjs.entry.js +8 -8
  16. package/dist/cjs/{helpers-2170c127.js → helpers-6a222aa7.js} +2 -2
  17. package/dist/cjs/{index.es-f2dfef62.js → index.es-6549e26a.js} +2 -2
  18. package/dist/cjs/instant-apps-app-guide.cjs.entry.js +4 -4
  19. package/dist/cjs/instant-apps-ckeditor-wrapper_3.cjs.entry.js +5 -5
  20. package/dist/cjs/instant-apps-control-panel.cjs.entry.js +2 -2
  21. package/dist/cjs/instant-apps-create.cjs.entry.js +4 -4
  22. package/dist/cjs/instant-apps-export-views.cjs.entry.js +4 -4
  23. package/dist/cjs/instant-apps-export.cjs.entry.js +4 -4
  24. package/dist/cjs/instant-apps-filter-list_2.cjs.entry.js +4 -4
  25. package/dist/cjs/instant-apps-header.cjs.entry.js +2 -2
  26. package/dist/cjs/instant-apps-interactive-legend-classic.cjs.entry.js +4 -4
  27. package/dist/cjs/instant-apps-interactive-legend-count_2.cjs.entry.js +4 -4
  28. package/dist/cjs/instant-apps-interactive-legend-group-legend-element-caption.cjs.entry.js +4 -4
  29. package/dist/cjs/instant-apps-interactive-legend-group-legend-element_5.cjs.entry.js +4 -4
  30. package/dist/cjs/instant-apps-interactive-legend.cjs.entry.js +6 -6
  31. package/dist/cjs/instant-apps-keyboard-shortcuts.cjs.entry.js +4 -4
  32. package/dist/cjs/instant-apps-language-switcher.cjs.entry.js +6 -6
  33. package/dist/cjs/instant-apps-language-translator.cjs.entry.js +6 -6
  34. package/dist/cjs/instant-apps-measurement-tool.cjs.entry.js +2 -2
  35. package/dist/cjs/instant-apps-measurement.cjs.entry.js +4 -4
  36. package/dist/cjs/instant-apps-popover.cjs.entry.js +4 -4
  37. package/dist/cjs/instant-apps-scoreboard.cjs.entry.js +4 -4
  38. package/dist/cjs/instant-apps-sign-in.cjs.entry.js +4 -4
  39. package/dist/cjs/instant-apps-splash.cjs.entry.js +4 -4
  40. package/dist/cjs/instant-apps-time-filter.cjs.entry.js +5 -5
  41. package/dist/cjs/json-editor_7.cjs.entry.js +9 -9
  42. package/dist/cjs/{languageUtil-f22ce913.js → languageUtil-a3e1eafd.js} +1 -1
  43. package/dist/cjs/{loadModules-581c909a.js → loadModules-df8b13ca.js} +1 -1
  44. package/dist/cjs/{locale-70d78da8.js → locale-1c60be9c.js} +1 -1
  45. package/dist/cjs/{locale-223194d0.js → locale-2dd3020a.js} +2 -2
  46. package/dist/cjs/map-layer-picker.cjs.entry.js +3 -3
  47. package/dist/cjs/map-select-tools_3.cjs.entry.js +7 -7
  48. package/dist/cjs/pci-calculator.cjs.entry.js +1 -1
  49. package/dist/cjs/{popupUtils-a06bdfad.js → popupUtils-93b14f86.js} +2 -2
  50. package/dist/cjs/public-notification.cjs.entry.js +5 -5
  51. package/dist/cjs/solution-configuration.cjs.entry.js +5 -5
  52. package/dist/cjs/solution-contents_3.cjs.entry.js +5 -5
  53. package/dist/cjs/solution-item-accordion.cjs.entry.js +3 -3
  54. package/dist/cjs/solution-item-icon.cjs.entry.js +1 -1
  55. package/dist/cjs/spatial-ref.cjs.entry.js +3 -3
  56. package/dist/cjs/{utils-e4a0ff78.js → utils-53383d03.js} +1 -1
  57. package/dist/collection/assets/t9n/consent-manager/resources.json +1 -1
  58. package/dist/collection/assets/t9n/consent-manager/resources_en.json +1 -1
  59. package/dist/collection/components/card-manager/card-manager.js +1 -1
  60. package/dist/collection/components/consent-manager/consent-manager.js +2 -2
  61. package/dist/collection/components/create-feature/create-feature.js +2 -2
  62. package/dist/collection/components/create-related-feature/create-related-feature.js +1 -1
  63. package/dist/collection/components/crowdsource-manager/crowdsource-manager.js +1 -1
  64. package/dist/collection/components/crowdsource-reporter/crowdsource-reporter.js +1 -1
  65. package/dist/collection/components/deduct-calculator/deduct-calculator.js +1 -1
  66. package/dist/collection/components/delete-button/delete-button.js +1 -1
  67. package/dist/collection/components/delete-dialog/delete-dialog.js +1 -1
  68. package/dist/collection/components/edit-card/edit-card.js +1 -1
  69. package/dist/collection/components/feature-details/feature-details.js +6 -6
  70. package/dist/collection/components/feature-list/feature-list.js +3 -3
  71. package/dist/collection/components/floor-filter/floor-filter.js +1 -1
  72. package/dist/collection/components/info-card/info-card.js +2 -2
  73. package/dist/collection/components/json-editor/json-editor.js +1 -1
  74. package/dist/collection/components/layer-table/layer-table.js +4 -4
  75. package/dist/collection/components/map-card/map-card.js +1 -1
  76. package/dist/collection/components/map-draw-tools/map-draw-tools.js +1 -1
  77. package/dist/collection/components/map-fullscreen/map-fullscreen.js +1 -1
  78. package/dist/collection/components/map-layer-picker/map-layer-picker.js +1 -1
  79. package/dist/collection/components/map-legend/map-legend.js +1 -1
  80. package/dist/collection/components/map-picker/map-picker.js +1 -1
  81. package/dist/collection/components/map-search/map-search.js +1 -1
  82. package/dist/collection/components/map-select-tools/map-select-tools.js +1 -1
  83. package/dist/collection/components/map-tools/map-tools.js +1 -1
  84. package/dist/collection/components/pci-calculator/pci-calculator.js +1 -1
  85. package/dist/collection/components/pdf-download/pdf-download.js +1 -1
  86. package/dist/collection/components/public-notification/public-notification.js +1 -1
  87. package/dist/collection/components/refine-selection/refine-selection.js +1 -1
  88. package/dist/collection/components/solution-configuration/solution-configuration.js +3 -3
  89. package/dist/collection/components/solution-contents/solution-contents.js +1 -1
  90. package/dist/collection/components/solution-item/solution-item.js +1 -1
  91. package/dist/collection/components/solution-item-accordion/solution-item-accordion.js +1 -1
  92. package/dist/collection/components/solution-item-details/solution-item-details.js +1 -1
  93. package/dist/collection/components/solution-item-icon/solution-item-icon.js +1 -1
  94. package/dist/collection/components/solution-item-sharing/solution-item-sharing.js +1 -1
  95. package/dist/collection/components/solution-organization-variables/solution-organization-variables.js +1 -1
  96. package/dist/collection/components/solution-resource-item/solution-resource-item.js +1 -1
  97. package/dist/collection/components/solution-spatial-ref/solution-spatial-ref.js +1 -1
  98. package/dist/collection/components/solution-template-data/solution-template-data.js +1 -1
  99. package/dist/collection/components/solution-variables/solution-variables.js +1 -1
  100. package/dist/collection/components/spatial-ref/spatial-ref.js +1 -1
  101. package/dist/components/card-manager2.js +1 -1
  102. package/dist/components/consent-manager.js +2 -2
  103. package/dist/components/create-feature2.js +2 -2
  104. package/dist/components/create-related-feature2.js +1 -1
  105. package/dist/components/crowdsource-manager.js +1 -1
  106. package/dist/components/crowdsource-reporter.js +1 -1
  107. package/dist/components/deduct-calculator2.js +1 -1
  108. package/dist/components/delete-button2.js +1 -1
  109. package/dist/components/delete-dialog2.js +1 -1
  110. package/dist/components/edit-card2.js +1 -1
  111. package/dist/components/feature-details2.js +6 -6
  112. package/dist/components/feature-list2.js +3 -3
  113. package/dist/components/floor-filter2.js +1 -1
  114. package/dist/components/info-card2.js +2 -2
  115. package/dist/components/json-editor2.js +1 -1
  116. package/dist/components/layer-table2.js +4 -4
  117. package/dist/components/map-card2.js +1 -1
  118. package/dist/components/map-draw-tools2.js +1 -1
  119. package/dist/components/map-fullscreen2.js +1 -1
  120. package/dist/components/map-layer-picker2.js +1 -1
  121. package/dist/components/map-legend2.js +1 -1
  122. package/dist/components/map-picker2.js +1 -1
  123. package/dist/components/map-search2.js +1 -1
  124. package/dist/components/map-select-tools2.js +1 -1
  125. package/dist/components/map-tools2.js +1 -1
  126. package/dist/components/pci-calculator.js +1 -1
  127. package/dist/components/pdf-download2.js +1 -1
  128. package/dist/components/public-notification.js +1 -1
  129. package/dist/components/refine-selection2.js +1 -1
  130. package/dist/components/solution-configuration.js +3 -3
  131. package/dist/components/solution-contents2.js +1 -1
  132. package/dist/components/solution-item-accordion.js +1 -1
  133. package/dist/components/solution-item-details2.js +1 -1
  134. package/dist/components/solution-item-icon2.js +1 -1
  135. package/dist/components/solution-item-sharing2.js +1 -1
  136. package/dist/components/solution-item2.js +1 -1
  137. package/dist/components/solution-organization-variables2.js +1 -1
  138. package/dist/components/solution-resource-item2.js +1 -1
  139. package/dist/components/solution-spatial-ref2.js +1 -1
  140. package/dist/components/solution-template-data2.js +1 -1
  141. package/dist/components/solution-variables2.js +1 -1
  142. package/dist/components/spatial-ref.js +1 -1
  143. package/dist/esm/{asyncToGenerator-48cd21fe.js → asyncToGenerator-96b2368d.js} +1 -1
  144. package/dist/esm/basemap-gallery_7.entry.js +8 -8
  145. package/dist/esm/buffer-tools_2.entry.js +3 -3
  146. package/dist/esm/card-manager_3.entry.js +10 -10
  147. package/dist/esm/consent-manager.entry.js +6 -6
  148. package/dist/esm/{constants-abe87823.js → constants-637a40f5.js} +1 -1
  149. package/dist/esm/create-feature_4.entry.js +11 -11
  150. package/dist/esm/create-related-feature_3.entry.js +9 -9
  151. package/dist/esm/crowdsource-manager.entry.js +3 -3
  152. package/dist/esm/crowdsource-reporter.entry.js +3 -3
  153. package/dist/esm/deduct-calculator.entry.js +1 -1
  154. package/dist/esm/delete-dialog.entry.js +3 -3
  155. package/dist/esm/{downloadUtils-6ca6519f.js → downloadUtils-1179f077.js} +3 -3
  156. package/dist/esm/{effects-c8fc15b3.js → effects-d42ccf96.js} +1 -1
  157. package/dist/esm/feature-list.entry.js +8 -8
  158. package/dist/esm/{helpers-673c1beb.js → helpers-bd1ff401.js} +2 -2
  159. package/dist/esm/{index.es-158fd72a.js → index.es-6b399444.js} +2 -2
  160. package/dist/esm/instant-apps-app-guide.entry.js +4 -4
  161. package/dist/esm/instant-apps-ckeditor-wrapper_3.entry.js +5 -5
  162. package/dist/esm/instant-apps-control-panel.entry.js +2 -2
  163. package/dist/esm/instant-apps-create.entry.js +4 -4
  164. package/dist/esm/instant-apps-export-views.entry.js +4 -4
  165. package/dist/esm/instant-apps-export.entry.js +4 -4
  166. package/dist/esm/instant-apps-filter-list_2.entry.js +4 -4
  167. package/dist/esm/instant-apps-header.entry.js +2 -2
  168. package/dist/esm/instant-apps-interactive-legend-classic.entry.js +4 -4
  169. package/dist/esm/instant-apps-interactive-legend-count_2.entry.js +4 -4
  170. package/dist/esm/instant-apps-interactive-legend-group-legend-element-caption.entry.js +4 -4
  171. package/dist/esm/instant-apps-interactive-legend-group-legend-element_5.entry.js +4 -4
  172. package/dist/esm/instant-apps-interactive-legend.entry.js +6 -6
  173. package/dist/esm/instant-apps-keyboard-shortcuts.entry.js +4 -4
  174. package/dist/esm/instant-apps-language-switcher.entry.js +6 -6
  175. package/dist/esm/instant-apps-language-translator.entry.js +6 -6
  176. package/dist/esm/instant-apps-measurement-tool.entry.js +2 -2
  177. package/dist/esm/instant-apps-measurement.entry.js +4 -4
  178. package/dist/esm/instant-apps-popover.entry.js +4 -4
  179. package/dist/esm/instant-apps-scoreboard.entry.js +4 -4
  180. package/dist/esm/instant-apps-sign-in.entry.js +4 -4
  181. package/dist/esm/instant-apps-splash.entry.js +4 -4
  182. package/dist/esm/instant-apps-time-filter.entry.js +5 -5
  183. package/dist/esm/json-editor_7.entry.js +9 -9
  184. package/dist/esm/{languageUtil-a3e6adf6.js → languageUtil-2b6e191a.js} +1 -1
  185. package/dist/esm/{loadModules-400cb067.js → loadModules-d5a25252.js} +1 -1
  186. package/dist/esm/{locale-d96a2bff.js → locale-4744c8a4.js} +2 -2
  187. package/dist/esm/{locale-4cea650e.js → locale-7874c756.js} +1 -1
  188. package/dist/esm/map-layer-picker.entry.js +3 -3
  189. package/dist/esm/map-select-tools_3.entry.js +7 -7
  190. package/dist/esm/pci-calculator.entry.js +1 -1
  191. package/dist/esm/{popupUtils-dea8b2bb.js → popupUtils-cfe51dfd.js} +2 -2
  192. package/dist/esm/public-notification.entry.js +5 -5
  193. package/dist/esm/solution-configuration.entry.js +5 -5
  194. package/dist/esm/solution-contents_3.entry.js +5 -5
  195. package/dist/esm/solution-item-accordion.entry.js +3 -3
  196. package/dist/esm/solution-item-icon.entry.js +1 -1
  197. package/dist/esm/spatial-ref.entry.js +3 -3
  198. package/dist/esm/{utils-92313b5a.js → utils-04fffcaf.js} +1 -1
  199. package/dist/solutions-components/assets/t9n/consent-manager/resources.json +1 -1
  200. package/dist/solutions-components/assets/t9n/consent-manager/resources_en.json +1 -1
  201. package/dist/solutions-components/{p-d83eb0b2.entry.js → p-1d1d7e63.entry.js} +1 -1
  202. package/dist/solutions-components/{p-6537611b.entry.js → p-28858c2f.entry.js} +1 -1
  203. package/dist/solutions-components/{p-3155f0d6.entry.js → p-2a16aa29.entry.js} +1 -1
  204. package/dist/solutions-components/{p-118331aa.entry.js → p-30ea587b.entry.js} +1 -1
  205. package/dist/solutions-components/{p-00965f29.entry.js → p-318f5c87.entry.js} +1 -1
  206. package/dist/solutions-components/{p-e70ae0b0.js → p-3335285a.js} +2 -2
  207. package/dist/solutions-components/{p-66e0a2ae.entry.js → p-33d03eb9.entry.js} +1 -1
  208. package/dist/solutions-components/{p-59fbd618.entry.js → p-34b50565.entry.js} +1 -1
  209. package/dist/solutions-components/{p-928dc0da.entry.js → p-37ae171f.entry.js} +1 -1
  210. package/dist/solutions-components/{p-cf0717b7.entry.js → p-37fe59a0.entry.js} +1 -1
  211. package/dist/solutions-components/{p-3bed6b51.entry.js → p-3f14b242.entry.js} +1 -1
  212. package/dist/solutions-components/{p-2b2ebb38.entry.js → p-3f83917b.entry.js} +1 -1
  213. package/dist/solutions-components/{p-4b2ec507.js → p-404cbf48.js} +1 -1
  214. package/dist/solutions-components/{p-a7824793.js → p-4695cfab.js} +1 -1
  215. package/dist/solutions-components/{p-1f9f8107.js → p-48242dd4.js} +1 -1
  216. package/dist/solutions-components/{p-5aefa348.entry.js → p-4b98adf3.entry.js} +1 -1
  217. package/dist/solutions-components/{p-0055118a.entry.js → p-6369b974.entry.js} +1 -1
  218. package/dist/solutions-components/{p-619fefa1.js → p-648b5a9e.js} +1 -1
  219. package/dist/solutions-components/{p-1b161201.entry.js → p-64f814dd.entry.js} +1 -1
  220. package/dist/solutions-components/{p-a756fe7c.entry.js → p-6f4e5c19.entry.js} +1 -1
  221. package/dist/solutions-components/{p-dd0e85e0.entry.js → p-72d04c7a.entry.js} +2 -2
  222. package/dist/solutions-components/{p-af2a1ae1.entry.js → p-7dc7d3dc.entry.js} +1 -1
  223. package/dist/solutions-components/{p-b382fabf.js → p-7dc95675.js} +1 -1
  224. package/dist/solutions-components/p-80262cb7.js +6 -0
  225. package/dist/solutions-components/p-83ba1288.entry.js +6 -0
  226. package/dist/solutions-components/{p-91177188.entry.js → p-8585c128.entry.js} +1 -1
  227. package/dist/solutions-components/{p-24b9d4b9.js → p-8d281f47.js} +2 -2
  228. package/dist/solutions-components/{p-26190dbf.entry.js → p-95d1c104.entry.js} +1 -1
  229. package/dist/solutions-components/{p-00eccd9f.js → p-97f33e9f.js} +1 -1
  230. package/dist/solutions-components/{p-b5845b40.entry.js → p-980d9473.entry.js} +1 -1
  231. package/dist/solutions-components/p-9e3a40bc.entry.js +6 -0
  232. package/dist/solutions-components/{p-af2c8aa9.js → p-ac122d9e.js} +1 -1
  233. package/dist/solutions-components/{p-6ee5a767.entry.js → p-b536e583.entry.js} +2 -2
  234. package/dist/solutions-components/{p-67aa6fdc.entry.js → p-bc8d8128.entry.js} +1 -1
  235. package/dist/solutions-components/{p-6df9fc09.entry.js → p-be16bc80.entry.js} +1 -1
  236. package/dist/solutions-components/{p-4c97ab32.entry.js → p-c2e57b81.entry.js} +1 -1
  237. package/dist/solutions-components/{p-acdb22c6.entry.js → p-c50ff9f1.entry.js} +1 -1
  238. package/dist/solutions-components/{p-9d977ad2.entry.js → p-c9686e6c.entry.js} +1 -1
  239. package/dist/solutions-components/{p-813c7077.js → p-d001e961.js} +1 -1
  240. package/dist/solutions-components/{p-1f4b9762.entry.js → p-d099573a.entry.js} +1 -1
  241. package/dist/solutions-components/{p-c5aa99a9.entry.js → p-d1551601.entry.js} +1 -1
  242. package/dist/solutions-components/{p-26f96d2f.entry.js → p-d324196d.entry.js} +1 -1
  243. package/dist/solutions-components/{p-ae7bed8d.entry.js → p-d59fb1a7.entry.js} +1 -1
  244. package/dist/solutions-components/{p-62a0aa8e.js → p-d65f8b73.js} +1 -1
  245. package/dist/solutions-components/{p-5e4e0f84.entry.js → p-dafc6680.entry.js} +1 -1
  246. package/dist/solutions-components/{p-ddeaaadf.entry.js → p-dc704bc6.entry.js} +1 -1
  247. package/dist/solutions-components/p-e3e35c14.entry.js +6 -0
  248. package/dist/solutions-components/{p-c7e0799c.entry.js → p-e43c8944.entry.js} +2 -2
  249. package/dist/solutions-components/{p-a28f1b42.entry.js → p-e5cb329f.entry.js} +1 -1
  250. package/dist/solutions-components/{p-5833cc4f.entry.js → p-ea09b078.entry.js} +1 -1
  251. package/dist/solutions-components/{p-bd8a3a91.entry.js → p-ed443a0b.entry.js} +1 -1
  252. package/dist/solutions-components/p-ee3bb943.entry.js +6 -0
  253. package/dist/solutions-components/{p-2be294e3.entry.js → p-f0b1b6f6.entry.js} +1 -1
  254. package/dist/solutions-components/{p-5e3b74ff.entry.js → p-f9deadd7.entry.js} +1 -1
  255. package/dist/solutions-components/{p-38331e47.entry.js → p-fe9b2c74.entry.js} +1 -1
  256. package/dist/solutions-components/{p-61310787.entry.js → p-ffe1e3a3.entry.js} +1 -1
  257. package/dist/solutions-components/solutions-components.esm.js +1 -1
  258. package/dist/solutions-components_commit.txt +6 -6
  259. package/package.json +1 -1
  260. package/dist/solutions-components/p-0620c894.entry.js +0 -6
  261. package/dist/solutions-components/p-098ca58c.entry.js +0 -6
  262. package/dist/solutions-components/p-b636a8b4.entry.js +0 -6
  263. package/dist/solutions-components/p-d991af6f.js +0 -6
  264. package/dist/solutions-components/p-fabab119.entry.js +0 -6
  265. /package/dist/cjs/{esri-loader-a56cbcbe.js → esri-loader-08dc41bd.js} +0 -0
  266. /package/dist/cjs/{typeof-920a4426.js → typeof-2a7e2dec.js} +0 -0
  267. /package/dist/esm/{esri-loader-781d738a.js → esri-loader-c6842c6b.js} +0 -0
  268. /package/dist/esm/{typeof-2511410e.js → typeof-ef2a007d.js} +0 -0
  269. /package/dist/solutions-components/{p-6a68306c.js → p-0a24ad5f.js} +0 -0
  270. /package/dist/solutions-components/{p-af7e43e0.js → p-4fe489cf.js} +0 -0
@@ -3,4 +3,4 @@
3
3
  * Licensed under the Apache License, Version 2.0
4
4
  * http://www.apache.org/licenses/LICENSE-2.0
5
5
  */
6
- import{r as n,c as t,h as i,H as e,g as o}from"./p-e996c38f.js";import{l as a}from"./p-813c7077.js";import{g as s}from"./p-619fefa1.js";import{g as r}from"./p-a9a72626.js";import"./p-6a68306c.js";import"./p-d4056c1c.js";import"./p-af2c8aa9.js";const p="instant-apps-export calcite-mode-light",c="instant-apps-export-print",l="instant-apps-export-print__legend-container",d="instant-apps-export-print__compass-container",h="instant-apps-export-print__scale-bar-container",u="instant-apps-export-print__popup-container",v="instant-apps-export-print__popup-content",_="instant-apps-export-print__popup-title",x="instant-apps-export-print__view",b="instant-apps-export-print__view-container",g="instant-apps-export-print__views-container",f="instant-apps-export-print__view-wrapper",m="instant-apps-export-print__view-content",w="instant-apps-export-print__view-header",k=class{constructor(i){n(this,i),this.exportOutputUpdated=t(this,"exportOutputUpdated",7),this.legends={},this.compasses={},this.output=void 0,this.beforeExport=()=>Promise.resolve(),this.popoverIcon="export",this.includeLegend=!0,this.includeMap=!0,this.includePopup=!1,this.includeHeader=!1,this.mode="popover",this.popoverPositioning="absolute",this.popoverPlacement="auto",this.scale="m",this.showIncludeLegend=!0,this.showIncludeMap=!1,this.showIncludePopup=!0,this.showIncludeHeader=!0,this.showScaleBar=!1,this.exportViews=void 0,this.baseClass=p,this.exportIsLoading=void 0,this.messages=void 0}watchIncludeMap(n){var t;n&&(null===(t=this.exportViews)||void 0===t||t.forEach((({view:n},t)=>{const i=this.printEl.querySelector(`#legend-${t}`);null!=i&&this.updateLegend(n,t,i)})))}watchView(){var n;null===(n=this.exportViews)||void 0===n||n.forEach((({view:n},t)=>{this.handleIncludePopup(n,t)}))}async componentWillLoad(){this.baseClass="dark"===r(this.el)?"instant-apps-export calcite-mode-dark":p,s(this),await this.initializeModules()}componentDidLoad(){var n;this.printContainerEl.prepend(this.printEl),null===(n=this.exportViews)||void 0===n||n.forEach((({view:n},t)=>{this.handleIncludePopup(n,t)}))}componentDidUpdate(){var n;null===(n=this.exportViews)||void 0===n||n.forEach((({view:n},t)=>{const i=this.printEl.querySelector(`#legend-${t}`);this.updateLegend(n,t,i)}))}async initializeModules(){const[n,t]=await a(["esri/core/Handles","esri/core/reactiveUtils"]);return this.handles=new n,this.reactiveUtils=t,Promise.resolve()}render(){const n="popover"===this.mode?this.renderPopover():this.renderPanel();return i(e,{key:"52f53735afba2085f45bdd8ba64e8e37b48318bb"},i("div",{key:"ac8fc3e66ccc5f9c27e25642bbe640c3fc8c7d33",class:this.baseClass,onMouseEnter:this.handleWidgetCreation.bind(this),onFocusin:this.handleWidgetCreation.bind(this)},n))}renderPopover(){var n,t,e;const o=this.renderPanel();return[i("calcite-popover",{referenceElement:"export-popover-btn",label:null===(n=this.messages)||void 0===n?void 0:n.exportPopover,overlayPositioning:this.popoverPositioning,placement:this.popoverPlacement,autoClose:!0,ref:n=>this.popoverEl=n},o),i("calcite-action",{id:"export-popover-btn",alignment:"center",icon:this.popoverIcon,scale:this.scale,title:null===(t=this.messages)||void 0===t?void 0:t.exportBtn,text:null===(e=this.messages)||void 0===e?void 0:e.exportBtn})]}renderPanel(){var n;const t=this.showIncludeMap?this.renderSwitch("includeMap"):null,e=this.includeMap?this.renderMapOptions():null,o=this.renderPrint();return i("div",{class:"inline"===this.mode?"instant-apps-export__inline-container":"instant-apps-export__popover-container"},t,e,i("calcite-button",{width:"full",onClick:this.exportOnClick.bind(this),disabled:this.exportIsLoading},null===(n=this.messages)||void 0===n?void 0:n.export),o)}renderSwitch(n,t){var e;const o=null!=t?t:null===(e=this.messages)||void 0===e?void 0:e[n];return i("calcite-label",{layout:"inline-space-between"},o,i("calcite-switch",{checked:this[n],value:n,onCalciteSwitchChange:this.optionOnChange.bind(this)}))}renderMapOptions(){const n=this.showIncludeHeader?this.renderSwitch("includeHeader","Include header"):null,t=this.showIncludeLegend?this.renderSwitch("includeLegend"):null,e=this.showIncludePopup?this.renderSwitch("includePopup"):null;return i("div",null,n,t,e)}renderPrint(){var n;return i("div",{ref:n=>this.printContainerEl=n},i("div",{class:c,ref:n=>this.printEl=n},i("div",{class:g},null===(n=this.exportViews)||void 0===n?void 0:n.map((({title:n,view:t},e)=>{var o,a;const s=null===(a=null===(o=t.map)||void 0===o?void 0:o.portalItem)||void 0===a?void 0:a.id,r=this.includeMap?this.renderPrintMap(n,e):null,p=this.includeMap&&this.showIncludeLegend?this.renderLegend(e):null,c=this.includeMap&&this.showIncludePopup?this.renderPopup(e):null;return i("div",{key:s,id:`print-${e}`,class:m},r,p,c)})))))}renderPrintMap(n,t){return i("div",{id:`view-container-${t}`,class:b},i("div",{id:`view-wrapper-${t}`,class:f},this.includeHeader&&n?i("div",{class:w},i("h1",null,n)):null,i("img",{id:`view-${t}`,class:x}),i("div",{id:`scalebar-container-${t}`,class:h})))}renderLegend(n){return i("div",{id:`legend-${n}`,class:l})}renderCompass(n){return i("div",{id:`compass-${n}`,class:d})}renderPopup(n){return i("div",{id:`popup-${n}`,class:u},i("div",{id:`popup-title-${n}`,class:_}),i("div",{id:`popup-content-${n}`,class:v}))}optionOnChange(n){const{checked:t,value:i}=n.target;this[i]=t,this.updateExportOutput()}async exportOnClick(){var n;await this.beforeExport(),(null===(n=this.exportViews)||void 0===n?void 0:n.length)?(this.addPrintStyling(),document.body.prepend(this.printEl),this.exportViews.forEach((({view:n},t)=>{this.handleViewExportOnClick(n,t)})),this.handleImgLoaded()):null!=this.popoverEl&&(this.popoverEl.open=!1)}async handleViewExportOnClick(n,t){this.includeMap&&(this.updateScaleBar(n,t),this.updatePopupToPrint(n,t),this.viewScreenshot(n,t),this.handleLegendSetup(t))}addPrintStyling(){null==this.printStyleEl&&(this.printStyleEl=document.createElement("style"),this.printStyleEl.innerHTML='\n @media print {\n @page {\n size: Portrait;\n margin: .25in;\n }\n\n html, body {\n padding: 0;\n margin: 0;\n height: 100%;\n width: 100%;\n }\n\n body > *:not(.instant-apps-export-print) { display: none; }\n }\n\n * {\n -webkit-print-color-adjust: exact;\n color-adjust: exact;\n }\n\n instant-apps-header {\n height: 50px;\n display: block;\n }\n\n\n .instant-apps-export-print {\n z-index: -999;\n color: #323232 !important;\n display: grid;\n grid-auto-flow: row;\n --esri-calcite-mode-name: "light";\n position: absolute;\n }\n\n .instant-apps-export-print__view-header {\n background: #fff;\n }\n\n .instant-apps-export-print__view-header h1 {\n font-size: 16px;\n font-weight: 500;\n color: #323232;\n margin: 6px;\n }\n\n .instant-apps-export-print__views-container {\n height: 100%;\n width: 100%;\n display: flex;\n flex-direction: column;\n }\n\n .instant-apps-export-print__view-content:first-child {\n page-break-before: unset;\n } \n\n .instant-apps-export-print__view-content {\n height: 100%;\n display: flex;\n flex-direction: column;\n gap: 32px;\n page-break-before: always;\n }\n\n .instant-apps-export-print, .instant-apps-export-print * {\n box-sizing: border-box;\n }\n\n .instant-apps-export-print__view-section {\n height: 100%;\n }\n\n .instant-apps-export-print__view-container {\n height: 100%;\n width: 100%;\n break-inside: avoid;\n }\n\n .instant-apps-export-print__view-wrapper {\n height: fit-content;\n width: min-content;\n position: relative;\n display: flex;\n flex-direction: column;\n border: 2pt solid #323232;\n overflow: hidden;\n }\n\n .instant-apps-export-print__view {\n max-height: 60vh;\n max-width: calc(100vw - .25in);\n object-fit: contain;\n }\n\n .instant-apps-export-print__popup-container {\n height: min-content;\n max-width: 350px;\n display: none;\n color: #323232;\n background: #fff;\n border: 1pt solid #323232;\n break-inside: avoid;\n }\n\n .instant-apps-export-print__popup-title {\n border-bottom: 1pt solid #323232;\n }\n\n .instant-apps-export-print__popup-content {\n background: #fff;\n padding-top: 8pt;\n }\n\n .instant-apps-export-print__popup-content .esri-feature-media__chart {\n background: #fff;\n }\n\n .instant-apps-export-print__legend-container {\n height: min-content;\n background: #fff;\n overflow: unset;\n }\n\n .esri-legend--card, .esri-legend--card__service-content {\n flex-flow: row wrap;\n }\n\n .instant-apps-export-print .esri-widget > *:not(.esri-scale-bar.esri-widget > *) {\n background: #fff;\n color: #323232;\n }\n\n .instant-apps-export-print__popup-content * {\n color: #323232;\n }\n\n .instant-apps-export-print .esri-widget__heading {\n margin: 2pt 7pt;\n padding: 0;\n color: #323232;\n }\n\n .instant-apps-export-print .esri-legend__ramp-label:before {\n border-color: rgba(0,0,0,0) rgba(50,50,50,.8) rgba(0,0,0,0) rgba(0,0,0,0);\n }\n\n .instant-apps-export-print .esri-legend--card__section {\n padding: 4pt 0 4pt;\n min-width: unset;\n border-left: none;\n }\n\n .instant-apps-export-print .esri-legend--card__section:first-child {\n border-left: none;\n }\n\n .instant-apps-export-print .esri-legend--card__service {\n border: none;\n flex: 0 1 auto;\n break-inside: avoid;\n }\n\n .instant-apps-export-print .esri-legend--card {\n border: none;\n gap: 6pt 12pt;\n }\n\n .instant-apps-export-print .esri-legend--card:not(:first-child),\n .instant-apps-export-print .esri-compass.esri-widget:not(:first-child) {\n display: none;\n }\n\n .instant-apps-export-print .esri-legend--card__service-caption-container {\n height: unset;\n padding: 0;\n border-bottom: none;\n }\n\n .instant-apps-export-print .esri-legend--card__service-caption-text {\n padding-bottom: 4px;\n }\n\n .instant-apps-export-print__compass-container {\n position: absolute;\n top: 65px;\n left: 15px;\n background: #fff;\n box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);\n --calcite-ui-icon-color: #000;\n border-radius: 50%;\n height: fit-content;\n }\n\n .instant-apps-export-print__compass-container .esri-compass {\n background: #fff;\n }\n\n .instant-apps-export-print__compass-container .esri-compass__icon.esri-icon-compass {\n color: #000;\n }\n\n .instant-apps-export-print__compass-container.esri-compass.esri-widget--button {\n background: #fff;\n }\n\n .instant-apps-export-print__scale-bar-container {\n width: 100%;\n position: absolute;\n bottom: 15px;\n margin: 0 15px;\n }\n\n .instant-apps-export-print__scale-bar-container .esri-scale-bar__label {\n color: #323232;\n font-size: 10px;\n padding: 0 4px;\n }\n\n .instant-apps-export-print__scale-bar-container .esri-scale-bar__label-container--line {\n height: 16px;\n overflow: hidden;\n }\n\n .instant-apps-export-print__scale-bar-container .esri-scale-bar__label-container--top {\n bottom: 1px;\n }\n \n .instant-apps-export-print__scale-bar-container--position .esri-scale-bar__label {\n height: 10px;\n padding: 0 2px;\n line-height: 11px;\n }\n\n .instant-apps-export-print__scale-bar-container .esri-scale-bar__bar-container:nth-child(1n+3) {\n display: none;\n }\n\n .instant-apps-export-print__scale-bar-container--position .esri-scale-bar__bar-container.esri-scale-bar__bar-container--line {\n align-items: center;\n }\n\n .instant-apps-export-print__scale-bar-container .esri-scale-bar__line {\n background-color: rgba(255, 255, 255, 0.66);\n }\n\n .instant-apps-export-print__scale-bar-container .esri-scale-bar__line--top {\n width: var(--instant-apps-scale-bar-top) !important;\n border-bottom: 2px solid #323232;\n }\n\n .instant-apps-export-print__scale-bar-container .esri-scale-bar__line--bottom {\n width: var(--instant-apps-scale-bar-bottom) !important;\n border-top: 2px solid #323232;\n }\n\n .instant-apps-export-print__scale-bar-container--position .esri-scale-bar__label-container--line {\n position: unset;\n margin: 0 2px;\n background-color: rgba(255, 255, 255, 0.66);\n height: 10px;\n display: flex;\n align-items: center;\n }\n\n .instant-apps-export-print__scale-bar-container .esri-scale-bar__line--top:before,\n .instant-apps-export-print__scale-bar-container .esri-scale-bar__line--top:after,\n .instant-apps-export-print__scale-bar-container .esri-scale-bar__line--bottom:before,\n .instant-apps-export-print__scale-bar-container .esri-scale-bar__line--bottom:after {\n background-color: #323232;\n border-right: 2px solid #323232;\n }\n\n .instant-apps-export-print__popup-container .esri-feature-media__item-navigation {\n display: none;\n }\n\n .instant-apps-export-print__popup-container .esri-feature-media__chart.esri-feature-media__chart--rendered * {\n width: 100%!important;\n }\n\n .instant-apps-export-print__popup-content .esri-popup__content {\n margin: 0;\n }',document.body.prepend(this.printStyleEl))}handleImgLoaded(){this.exportIsLoading=!0,setTimeout((()=>{this.exportIsLoading=void 0,this.setupViewPrintElements()}),1500)}resetPrintContent(){}async updatePopupToPrint(n,t){var i,e;const o=this.printEl.querySelector(`#popup-${t}`);if(null!=o&&(o.style.display=this.includePopup&&n.popup.visible?"block":"none",this.checkPopupOpen(n,t)),n.popup.visible&&null!=n.popup.selectedFeature){const o=document.createElement(`h${null!==(i=n.popup.headingLevel)&&void 0!==i?i:2}`);o.innerHTML=null!==(e=n.popup.title)&&void 0!==e?e:"",o.className="esri-widget__heading esri-popup__header-title";const a=this.printEl.querySelector(`#popup-title-${t}`);null!=a&&(a.style.display=n.popup.title?"block":"none",a.innerHTML="",a.prepend(o))}}updateExportOutput(){this.output={},this.showIncludeLegend&&(this.output.includeLegend=this.includeLegend),this.showIncludeMap&&(this.output.includeMap=this.includeMap),this.showIncludePopup&&(this.output.includePopup=this.includePopup),this.showIncludeHeader&&(this.output.includeHeader=this.includeHeader),this.exportOutputUpdated.emit()}setupViewPrintElements(){const n=document.title;window.print(),document.title=n,setTimeout((()=>{this.resetPrintContent()}),1e3)}handleLegendSetup(n){var t;const i=this.printEl.querySelector(`#legend-${n}`);if(this.showIncludeLegend&&this.includeMap&&i){const e=this.legends[n],o=null!=e&&(null===(t=e.activeLayerInfos)||void 0===t?void 0:t.length)>0;i.style.display=this.includeLegend&&o?"block":"none"}}handleWidgetCreation(){var n;this.includeMap&&(null===(n=this.exportViews)||void 0===n||n.forEach((({view:n},t)=>{this.handleLegendCreation(n,t)})))}handleIncludePopup(n,t){var i,e;if(this.showIncludePopup){const o=`includePopup-${t}`;null===(i=this.handles)||void 0===i||i.remove(o),null===(e=this.reactiveUtils)||void 0===e||e.whenOnce((()=>null==n?void 0:n.ready)).then((()=>{var t;null===(t=this.handles)||void 0===t||t.add(this.reactiveUtils.watch((()=>{var t;return null===(t=null==n?void 0:n.popup)||void 0===t?void 0:t.visible}),(n=>{this.includePopup=n})),o)}))}}handleLegendCreation(n,t){var i,e,o,a;const s=this.printEl.querySelector(`#legend-${t}`);if(this.showIncludeLegend&&null!=s){const r=n.map,p=this.legends[t],c=null===(i=null==p?void 0:p.view)||void 0===i?void 0:i.map;null!=(null===(e=null==r?void 0:r.portalItem)||void 0===e?void 0:e.id)&&(null===(o=null==r?void 0:r.portalItem)||void 0===o?void 0:o.id)===(null===(a=null==c?void 0:c.portalItem)||void 0===a?void 0:a.id)||this.updateLegend(n,t,s)}}async updateLegend(n,t,i){null==n||n.when((async n=>{if(null==this.legends[t]&&null!=i){i.innerHTML="";const e=document.createElement("div");i.append(e);const[o]=await a(["esri/widgets/Legend"]);this.legends[t]=new o({id:`legend-widget-${t}`,container:e,view:n,style:{type:"card",layout:"side-by-side"}})}}))}handleCompassCreation(n,t){var i,e,o;const a=this.compassContainerEl.querySelector(`#compass-${t}`);if(null!=a){const s=n.map,r=this.compasses[t],p=null===(i=null==r?void 0:r.view)||void 0===i?void 0:i.map;(null===(e=null==s?void 0:s.portalItem)||void 0===e?void 0:e.id)===(null===(o=null==p?void 0:p.portalItem)||void 0===o?void 0:o.id)||this.updateCompass(n,t,a)}}updateCompass(n,t,i){null==n||n.when((async n=>{const e=document.createElement("div");if(null==i)return;i.append(e);const[o]=await a(["esri/widgets/Compass"]);this.compasses[t]=new o({id:`compass-widget-${t}`,container:e,view:n})}))}updateScaleBar(n,t){const i=this.printEl.querySelector(`#scalebar-container-${t}`);if(i&&null!=n&&(i.innerHTML="",this.showScaleBar)){const t=n.ui.getComponents(),e=null==t?void 0:t.find((({container:n})=>{var t;return null===(t=null==n?void 0:n.className)||void 0===t?void 0:t.includes("esri-scale-bar")}));null!=(null==e?void 0:e.container)&&"string"!=typeof e.container&&i.append(e.container.cloneNode(!0))}}async viewScreenshot(n,t){if(this.includeMap){const i=this.printEl.querySelector(`#scalebar-container-${t}`);null==i||i.classList.toggle("instant-apps-export-print__scale-bar-container--position",n.width>1e3);const e=await n.takeScreenshot({width:2*n.width,height:2*n.height});this.handleScaleBarSize(n,e,i);const o=this.printEl.querySelector(`#view-${t}`);null!=e&&null!=o&&(o.src=e.dataUrl)}}checkPopupOpen(n,t){const i=n.popup.container,e=null==i?void 0:i.querySelector(".esri-popup .esri-feature__main-container");if(null!=e){const n=e.querySelectorAll("canvas"),i=this.printEl.querySelector(`#popup-content-${t}`);if(null==i)return;i.innerHTML="",i.append(e.cloneNode(!0));const o=i.querySelectorAll("canvas");n.forEach(((n,t)=>{var i;const e=n.toDataURL(),a=document.createElement("img");a.src=e;const s=n.getAttribute("style");s&&a.setAttribute("style",s);const r=o[t];null!=r&&(r.replaceWith(a),document.querySelector("link[href*='esri/themes/dark/main.css']")&&null!=(null===(i=a.parentElement)||void 0===i?void 0:i.parentElement)&&(a.parentElement.style.background="#242424",a.parentElement.parentElement.style.background="#242424"))}))}}handleScaleBarSize(n,t,i){if(this.showScaleBar&&"2d"===(null==n?void 0:n.type)&&null!=i){const n=i.querySelector(".esri-scale-bar__line--top"),e=i.querySelector(".esri-scale-bar__line--bottom");this.setScalebarWidth(t,i,n,"top"),this.setScalebarWidth(t,i,e,"bottom")}}setScalebarWidth(n,t,i,e){if(null!=i&&null!=n){const o=n.data.width/2,a=Number(i.style.width.replace("px",""));null==t||t.style.setProperty(`--instant-apps-scale-bar-${e}`,a/o*100+"%")}}get el(){return o(this)}static get watchers(){return{includeMap:["watchIncludeMap"],exportViews:["watchView"]}}};k.style=":host{display:block;--instant-apps-export-action-background:var(--calcite-color-foreground-1);--instant-apps-export-action-background-hover:var(--calcite-color-foreground-2);--instant-apps-export-action-background-press:var(--calcite-color-foreground-3);--instant-apps-export-action-height:100%;--instant-apps-export-action-width:fit-content;--instant-apps-export-action-icon-color:var(--calcite-color-text-3);--instant-apps-export-action-icon-hover-color:var(--calcite-color-text-1);--instant-apps-export-background:var(--calcite-color-foreground-1);--instant-apps-export-text-color:var(--calcite-color-text-1);--instant-apps-export-popover-width:250px}.instant-apps-export{height:100%}.instant-apps-export *{box-sizing:border-box}.instant-apps-export__popover-container,.instant-apps-export__inline-container{padding:12px;background:var(--instant-apps-export-background);--calcite-color-text-1:var(--instant-apps-export-text-color)}.instant-apps-export__popover-container{width:var(--instant-apps-export-popover-width)}.instant-apps-export calcite-action{height:var(--instant-apps-export-action-height);width:var(--instant-apps-export-action-width);--calcite-color-foreground-1:var(--instant-apps-export-action-background);--calcite-color-foreground-2:var(--instant-apps-export-action-background-hover);--calcite-color-foreground-3:var(--instant-apps-export-action-background-press);--calcite-color-text-3:var(--instant-apps-export-action-icon-color);--calcite-color-text-1:var(--instant-apps-export-action-icon-hover-color)}.instant-apps-export .instant-apps-export-print{display:none}.instant-apps-export__visually-hidden{position:absolute;top:0;z-index:-1;visibility:hidden}.instant-apps-export calcite-input{--calcite-color-foreground-1:var(--instant-apps-export-background);--calcite-color-text-1:var(--instant-apps-export-text-color)}.instant-apps-export calcite-popover{--calcite-color-foreground-1:var(--instant-apps-export-background)}.instant-apps-export calcite-switch{--calcite-color-foreground-1:#fff;--calcite-color-foreground-2:#f3f3f3}.instant-apps-export calcite-button:last-of-type{margin-top:0.5rem}.instant-apps-export .calcite-mode-dark calcite-switch{--calcite-color-foreground-1:#2b2b2b;--calcite-color-foreground-2:#202020}.instant-apps-export__compass-container.esri-widget{background:#fff;box-shadow:0 1px 2px rgba(0, 0, 0, 0.3)}.instant-apps-export__compass-container.esri-widget .esri-compass__icon.esri-icon-compass{color:#6e6e6e}.hide{display:none}.screenshotCursor{cursor:crosshair}";export{k as instant_apps_export_views}
6
+ import{r as n,c as t,h as i,H as e,g as o}from"./p-e996c38f.js";import{l as a}from"./p-d001e961.js";import{g as s}from"./p-648b5a9e.js";import{g as r}from"./p-a9a72626.js";import"./p-0a24ad5f.js";import"./p-d4056c1c.js";import"./p-ac122d9e.js";const p="instant-apps-export calcite-mode-light",c="instant-apps-export-print",l="instant-apps-export-print__legend-container",d="instant-apps-export-print__compass-container",h="instant-apps-export-print__scale-bar-container",u="instant-apps-export-print__popup-container",v="instant-apps-export-print__popup-content",_="instant-apps-export-print__popup-title",x="instant-apps-export-print__view",b="instant-apps-export-print__view-container",g="instant-apps-export-print__views-container",f="instant-apps-export-print__view-wrapper",m="instant-apps-export-print__view-content",w="instant-apps-export-print__view-header",k=class{constructor(i){n(this,i),this.exportOutputUpdated=t(this,"exportOutputUpdated",7),this.legends={},this.compasses={},this.output=void 0,this.beforeExport=()=>Promise.resolve(),this.popoverIcon="export",this.includeLegend=!0,this.includeMap=!0,this.includePopup=!1,this.includeHeader=!1,this.mode="popover",this.popoverPositioning="absolute",this.popoverPlacement="auto",this.scale="m",this.showIncludeLegend=!0,this.showIncludeMap=!1,this.showIncludePopup=!0,this.showIncludeHeader=!0,this.showScaleBar=!1,this.exportViews=void 0,this.baseClass=p,this.exportIsLoading=void 0,this.messages=void 0}watchIncludeMap(n){var t;n&&(null===(t=this.exportViews)||void 0===t||t.forEach((({view:n},t)=>{const i=this.printEl.querySelector(`#legend-${t}`);null!=i&&this.updateLegend(n,t,i)})))}watchView(){var n;null===(n=this.exportViews)||void 0===n||n.forEach((({view:n},t)=>{this.handleIncludePopup(n,t)}))}async componentWillLoad(){this.baseClass="dark"===r(this.el)?"instant-apps-export calcite-mode-dark":p,s(this),await this.initializeModules()}componentDidLoad(){var n;this.printContainerEl.prepend(this.printEl),null===(n=this.exportViews)||void 0===n||n.forEach((({view:n},t)=>{this.handleIncludePopup(n,t)}))}componentDidUpdate(){var n;null===(n=this.exportViews)||void 0===n||n.forEach((({view:n},t)=>{const i=this.printEl.querySelector(`#legend-${t}`);this.updateLegend(n,t,i)}))}async initializeModules(){const[n,t]=await a(["esri/core/Handles","esri/core/reactiveUtils"]);return this.handles=new n,this.reactiveUtils=t,Promise.resolve()}render(){const n="popover"===this.mode?this.renderPopover():this.renderPanel();return i(e,{key:"52f53735afba2085f45bdd8ba64e8e37b48318bb"},i("div",{key:"ac8fc3e66ccc5f9c27e25642bbe640c3fc8c7d33",class:this.baseClass,onMouseEnter:this.handleWidgetCreation.bind(this),onFocusin:this.handleWidgetCreation.bind(this)},n))}renderPopover(){var n,t,e;const o=this.renderPanel();return[i("calcite-popover",{referenceElement:"export-popover-btn",label:null===(n=this.messages)||void 0===n?void 0:n.exportPopover,overlayPositioning:this.popoverPositioning,placement:this.popoverPlacement,autoClose:!0,ref:n=>this.popoverEl=n},o),i("calcite-action",{id:"export-popover-btn",alignment:"center",icon:this.popoverIcon,scale:this.scale,title:null===(t=this.messages)||void 0===t?void 0:t.exportBtn,text:null===(e=this.messages)||void 0===e?void 0:e.exportBtn})]}renderPanel(){var n;const t=this.showIncludeMap?this.renderSwitch("includeMap"):null,e=this.includeMap?this.renderMapOptions():null,o=this.renderPrint();return i("div",{class:"inline"===this.mode?"instant-apps-export__inline-container":"instant-apps-export__popover-container"},t,e,i("calcite-button",{width:"full",onClick:this.exportOnClick.bind(this),disabled:this.exportIsLoading},null===(n=this.messages)||void 0===n?void 0:n.export),o)}renderSwitch(n,t){var e;const o=null!=t?t:null===(e=this.messages)||void 0===e?void 0:e[n];return i("calcite-label",{layout:"inline-space-between"},o,i("calcite-switch",{checked:this[n],value:n,onCalciteSwitchChange:this.optionOnChange.bind(this)}))}renderMapOptions(){const n=this.showIncludeHeader?this.renderSwitch("includeHeader","Include header"):null,t=this.showIncludeLegend?this.renderSwitch("includeLegend"):null,e=this.showIncludePopup?this.renderSwitch("includePopup"):null;return i("div",null,n,t,e)}renderPrint(){var n;return i("div",{ref:n=>this.printContainerEl=n},i("div",{class:c,ref:n=>this.printEl=n},i("div",{class:g},null===(n=this.exportViews)||void 0===n?void 0:n.map((({title:n,view:t},e)=>{var o,a;const s=null===(a=null===(o=t.map)||void 0===o?void 0:o.portalItem)||void 0===a?void 0:a.id,r=this.includeMap?this.renderPrintMap(n,e):null,p=this.includeMap&&this.showIncludeLegend?this.renderLegend(e):null,c=this.includeMap&&this.showIncludePopup?this.renderPopup(e):null;return i("div",{key:s,id:`print-${e}`,class:m},r,p,c)})))))}renderPrintMap(n,t){return i("div",{id:`view-container-${t}`,class:b},i("div",{id:`view-wrapper-${t}`,class:f},this.includeHeader&&n?i("div",{class:w},i("h1",null,n)):null,i("img",{id:`view-${t}`,class:x}),i("div",{id:`scalebar-container-${t}`,class:h})))}renderLegend(n){return i("div",{id:`legend-${n}`,class:l})}renderCompass(n){return i("div",{id:`compass-${n}`,class:d})}renderPopup(n){return i("div",{id:`popup-${n}`,class:u},i("div",{id:`popup-title-${n}`,class:_}),i("div",{id:`popup-content-${n}`,class:v}))}optionOnChange(n){const{checked:t,value:i}=n.target;this[i]=t,this.updateExportOutput()}async exportOnClick(){var n;await this.beforeExport(),(null===(n=this.exportViews)||void 0===n?void 0:n.length)?(this.addPrintStyling(),document.body.prepend(this.printEl),this.exportViews.forEach((({view:n},t)=>{this.handleViewExportOnClick(n,t)})),this.handleImgLoaded()):null!=this.popoverEl&&(this.popoverEl.open=!1)}async handleViewExportOnClick(n,t){this.includeMap&&(this.updateScaleBar(n,t),this.updatePopupToPrint(n,t),this.viewScreenshot(n,t),this.handleLegendSetup(t))}addPrintStyling(){null==this.printStyleEl&&(this.printStyleEl=document.createElement("style"),this.printStyleEl.innerHTML='\n @media print {\n @page {\n size: Portrait;\n margin: .25in;\n }\n\n html, body {\n padding: 0;\n margin: 0;\n height: 100%;\n width: 100%;\n }\n\n body > *:not(.instant-apps-export-print) { display: none; }\n }\n\n * {\n -webkit-print-color-adjust: exact;\n color-adjust: exact;\n }\n\n instant-apps-header {\n height: 50px;\n display: block;\n }\n\n\n .instant-apps-export-print {\n z-index: -999;\n color: #323232 !important;\n display: grid;\n grid-auto-flow: row;\n --esri-calcite-mode-name: "light";\n position: absolute;\n }\n\n .instant-apps-export-print__view-header {\n background: #fff;\n }\n\n .instant-apps-export-print__view-header h1 {\n font-size: 16px;\n font-weight: 500;\n color: #323232;\n margin: 6px;\n }\n\n .instant-apps-export-print__views-container {\n height: 100%;\n width: 100%;\n display: flex;\n flex-direction: column;\n }\n\n .instant-apps-export-print__view-content:first-child {\n page-break-before: unset;\n } \n\n .instant-apps-export-print__view-content {\n height: 100%;\n display: flex;\n flex-direction: column;\n gap: 32px;\n page-break-before: always;\n }\n\n .instant-apps-export-print, .instant-apps-export-print * {\n box-sizing: border-box;\n }\n\n .instant-apps-export-print__view-section {\n height: 100%;\n }\n\n .instant-apps-export-print__view-container {\n height: 100%;\n width: 100%;\n break-inside: avoid;\n }\n\n .instant-apps-export-print__view-wrapper {\n height: fit-content;\n width: min-content;\n position: relative;\n display: flex;\n flex-direction: column;\n border: 2pt solid #323232;\n overflow: hidden;\n }\n\n .instant-apps-export-print__view {\n max-height: 60vh;\n max-width: calc(100vw - .25in);\n object-fit: contain;\n }\n\n .instant-apps-export-print__popup-container {\n height: min-content;\n max-width: 350px;\n display: none;\n color: #323232;\n background: #fff;\n border: 1pt solid #323232;\n break-inside: avoid;\n }\n\n .instant-apps-export-print__popup-title {\n border-bottom: 1pt solid #323232;\n }\n\n .instant-apps-export-print__popup-content {\n background: #fff;\n padding-top: 8pt;\n }\n\n .instant-apps-export-print__popup-content .esri-feature-media__chart {\n background: #fff;\n }\n\n .instant-apps-export-print__legend-container {\n height: min-content;\n background: #fff;\n overflow: unset;\n }\n\n .esri-legend--card, .esri-legend--card__service-content {\n flex-flow: row wrap;\n }\n\n .instant-apps-export-print .esri-widget > *:not(.esri-scale-bar.esri-widget > *) {\n background: #fff;\n color: #323232;\n }\n\n .instant-apps-export-print__popup-content * {\n color: #323232;\n }\n\n .instant-apps-export-print .esri-widget__heading {\n margin: 2pt 7pt;\n padding: 0;\n color: #323232;\n }\n\n .instant-apps-export-print .esri-legend__ramp-label:before {\n border-color: rgba(0,0,0,0) rgba(50,50,50,.8) rgba(0,0,0,0) rgba(0,0,0,0);\n }\n\n .instant-apps-export-print .esri-legend--card__section {\n padding: 4pt 0 4pt;\n min-width: unset;\n border-left: none;\n }\n\n .instant-apps-export-print .esri-legend--card__section:first-child {\n border-left: none;\n }\n\n .instant-apps-export-print .esri-legend--card__service {\n border: none;\n flex: 0 1 auto;\n break-inside: avoid;\n }\n\n .instant-apps-export-print .esri-legend--card {\n border: none;\n gap: 6pt 12pt;\n }\n\n .instant-apps-export-print .esri-legend--card:not(:first-child),\n .instant-apps-export-print .esri-compass.esri-widget:not(:first-child) {\n display: none;\n }\n\n .instant-apps-export-print .esri-legend--card__service-caption-container {\n height: unset;\n padding: 0;\n border-bottom: none;\n }\n\n .instant-apps-export-print .esri-legend--card__service-caption-text {\n padding-bottom: 4px;\n }\n\n .instant-apps-export-print__compass-container {\n position: absolute;\n top: 65px;\n left: 15px;\n background: #fff;\n box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);\n --calcite-ui-icon-color: #000;\n border-radius: 50%;\n height: fit-content;\n }\n\n .instant-apps-export-print__compass-container .esri-compass {\n background: #fff;\n }\n\n .instant-apps-export-print__compass-container .esri-compass__icon.esri-icon-compass {\n color: #000;\n }\n\n .instant-apps-export-print__compass-container.esri-compass.esri-widget--button {\n background: #fff;\n }\n\n .instant-apps-export-print__scale-bar-container {\n width: 100%;\n position: absolute;\n bottom: 15px;\n margin: 0 15px;\n }\n\n .instant-apps-export-print__scale-bar-container .esri-scale-bar__label {\n color: #323232;\n font-size: 10px;\n padding: 0 4px;\n }\n\n .instant-apps-export-print__scale-bar-container .esri-scale-bar__label-container--line {\n height: 16px;\n overflow: hidden;\n }\n\n .instant-apps-export-print__scale-bar-container .esri-scale-bar__label-container--top {\n bottom: 1px;\n }\n \n .instant-apps-export-print__scale-bar-container--position .esri-scale-bar__label {\n height: 10px;\n padding: 0 2px;\n line-height: 11px;\n }\n\n .instant-apps-export-print__scale-bar-container .esri-scale-bar__bar-container:nth-child(1n+3) {\n display: none;\n }\n\n .instant-apps-export-print__scale-bar-container--position .esri-scale-bar__bar-container.esri-scale-bar__bar-container--line {\n align-items: center;\n }\n\n .instant-apps-export-print__scale-bar-container .esri-scale-bar__line {\n background-color: rgba(255, 255, 255, 0.66);\n }\n\n .instant-apps-export-print__scale-bar-container .esri-scale-bar__line--top {\n width: var(--instant-apps-scale-bar-top) !important;\n border-bottom: 2px solid #323232;\n }\n\n .instant-apps-export-print__scale-bar-container .esri-scale-bar__line--bottom {\n width: var(--instant-apps-scale-bar-bottom) !important;\n border-top: 2px solid #323232;\n }\n\n .instant-apps-export-print__scale-bar-container--position .esri-scale-bar__label-container--line {\n position: unset;\n margin: 0 2px;\n background-color: rgba(255, 255, 255, 0.66);\n height: 10px;\n display: flex;\n align-items: center;\n }\n\n .instant-apps-export-print__scale-bar-container .esri-scale-bar__line--top:before,\n .instant-apps-export-print__scale-bar-container .esri-scale-bar__line--top:after,\n .instant-apps-export-print__scale-bar-container .esri-scale-bar__line--bottom:before,\n .instant-apps-export-print__scale-bar-container .esri-scale-bar__line--bottom:after {\n background-color: #323232;\n border-right: 2px solid #323232;\n }\n\n .instant-apps-export-print__popup-container .esri-feature-media__item-navigation {\n display: none;\n }\n\n .instant-apps-export-print__popup-container .esri-feature-media__chart.esri-feature-media__chart--rendered * {\n width: 100%!important;\n }\n\n .instant-apps-export-print__popup-content .esri-popup__content {\n margin: 0;\n }',document.body.prepend(this.printStyleEl))}handleImgLoaded(){this.exportIsLoading=!0,setTimeout((()=>{this.exportIsLoading=void 0,this.setupViewPrintElements()}),1500)}resetPrintContent(){}async updatePopupToPrint(n,t){var i,e;const o=this.printEl.querySelector(`#popup-${t}`);if(null!=o&&(o.style.display=this.includePopup&&n.popup.visible?"block":"none",this.checkPopupOpen(n,t)),n.popup.visible&&null!=n.popup.selectedFeature){const o=document.createElement(`h${null!==(i=n.popup.headingLevel)&&void 0!==i?i:2}`);o.innerHTML=null!==(e=n.popup.title)&&void 0!==e?e:"",o.className="esri-widget__heading esri-popup__header-title";const a=this.printEl.querySelector(`#popup-title-${t}`);null!=a&&(a.style.display=n.popup.title?"block":"none",a.innerHTML="",a.prepend(o))}}updateExportOutput(){this.output={},this.showIncludeLegend&&(this.output.includeLegend=this.includeLegend),this.showIncludeMap&&(this.output.includeMap=this.includeMap),this.showIncludePopup&&(this.output.includePopup=this.includePopup),this.showIncludeHeader&&(this.output.includeHeader=this.includeHeader),this.exportOutputUpdated.emit()}setupViewPrintElements(){const n=document.title;window.print(),document.title=n,setTimeout((()=>{this.resetPrintContent()}),1e3)}handleLegendSetup(n){var t;const i=this.printEl.querySelector(`#legend-${n}`);if(this.showIncludeLegend&&this.includeMap&&i){const e=this.legends[n],o=null!=e&&(null===(t=e.activeLayerInfos)||void 0===t?void 0:t.length)>0;i.style.display=this.includeLegend&&o?"block":"none"}}handleWidgetCreation(){var n;this.includeMap&&(null===(n=this.exportViews)||void 0===n||n.forEach((({view:n},t)=>{this.handleLegendCreation(n,t)})))}handleIncludePopup(n,t){var i,e;if(this.showIncludePopup){const o=`includePopup-${t}`;null===(i=this.handles)||void 0===i||i.remove(o),null===(e=this.reactiveUtils)||void 0===e||e.whenOnce((()=>null==n?void 0:n.ready)).then((()=>{var t;null===(t=this.handles)||void 0===t||t.add(this.reactiveUtils.watch((()=>{var t;return null===(t=null==n?void 0:n.popup)||void 0===t?void 0:t.visible}),(n=>{this.includePopup=n})),o)}))}}handleLegendCreation(n,t){var i,e,o,a;const s=this.printEl.querySelector(`#legend-${t}`);if(this.showIncludeLegend&&null!=s){const r=n.map,p=this.legends[t],c=null===(i=null==p?void 0:p.view)||void 0===i?void 0:i.map;null!=(null===(e=null==r?void 0:r.portalItem)||void 0===e?void 0:e.id)&&(null===(o=null==r?void 0:r.portalItem)||void 0===o?void 0:o.id)===(null===(a=null==c?void 0:c.portalItem)||void 0===a?void 0:a.id)||this.updateLegend(n,t,s)}}async updateLegend(n,t,i){null==n||n.when((async n=>{if(null==this.legends[t]&&null!=i){i.innerHTML="";const e=document.createElement("div");i.append(e);const[o]=await a(["esri/widgets/Legend"]);this.legends[t]=new o({id:`legend-widget-${t}`,container:e,view:n,style:{type:"card",layout:"side-by-side"}})}}))}handleCompassCreation(n,t){var i,e,o;const a=this.compassContainerEl.querySelector(`#compass-${t}`);if(null!=a){const s=n.map,r=this.compasses[t],p=null===(i=null==r?void 0:r.view)||void 0===i?void 0:i.map;(null===(e=null==s?void 0:s.portalItem)||void 0===e?void 0:e.id)===(null===(o=null==p?void 0:p.portalItem)||void 0===o?void 0:o.id)||this.updateCompass(n,t,a)}}updateCompass(n,t,i){null==n||n.when((async n=>{const e=document.createElement("div");if(null==i)return;i.append(e);const[o]=await a(["esri/widgets/Compass"]);this.compasses[t]=new o({id:`compass-widget-${t}`,container:e,view:n})}))}updateScaleBar(n,t){const i=this.printEl.querySelector(`#scalebar-container-${t}`);if(i&&null!=n&&(i.innerHTML="",this.showScaleBar)){const t=n.ui.getComponents(),e=null==t?void 0:t.find((({container:n})=>{var t;return null===(t=null==n?void 0:n.className)||void 0===t?void 0:t.includes("esri-scale-bar")}));null!=(null==e?void 0:e.container)&&"string"!=typeof e.container&&i.append(e.container.cloneNode(!0))}}async viewScreenshot(n,t){if(this.includeMap){const i=this.printEl.querySelector(`#scalebar-container-${t}`);null==i||i.classList.toggle("instant-apps-export-print__scale-bar-container--position",n.width>1e3);const e=await n.takeScreenshot({width:2*n.width,height:2*n.height});this.handleScaleBarSize(n,e,i);const o=this.printEl.querySelector(`#view-${t}`);null!=e&&null!=o&&(o.src=e.dataUrl)}}checkPopupOpen(n,t){const i=n.popup.container,e=null==i?void 0:i.querySelector(".esri-popup .esri-feature__main-container");if(null!=e){const n=e.querySelectorAll("canvas"),i=this.printEl.querySelector(`#popup-content-${t}`);if(null==i)return;i.innerHTML="",i.append(e.cloneNode(!0));const o=i.querySelectorAll("canvas");n.forEach(((n,t)=>{var i;const e=n.toDataURL(),a=document.createElement("img");a.src=e;const s=n.getAttribute("style");s&&a.setAttribute("style",s);const r=o[t];null!=r&&(r.replaceWith(a),document.querySelector("link[href*='esri/themes/dark/main.css']")&&null!=(null===(i=a.parentElement)||void 0===i?void 0:i.parentElement)&&(a.parentElement.style.background="#242424",a.parentElement.parentElement.style.background="#242424"))}))}}handleScaleBarSize(n,t,i){if(this.showScaleBar&&"2d"===(null==n?void 0:n.type)&&null!=i){const n=i.querySelector(".esri-scale-bar__line--top"),e=i.querySelector(".esri-scale-bar__line--bottom");this.setScalebarWidth(t,i,n,"top"),this.setScalebarWidth(t,i,e,"bottom")}}setScalebarWidth(n,t,i,e){if(null!=i&&null!=n){const o=n.data.width/2,a=Number(i.style.width.replace("px",""));null==t||t.style.setProperty(`--instant-apps-scale-bar-${e}`,a/o*100+"%")}}get el(){return o(this)}static get watchers(){return{includeMap:["watchIncludeMap"],exportViews:["watchView"]}}};k.style=":host{display:block;--instant-apps-export-action-background:var(--calcite-color-foreground-1);--instant-apps-export-action-background-hover:var(--calcite-color-foreground-2);--instant-apps-export-action-background-press:var(--calcite-color-foreground-3);--instant-apps-export-action-height:100%;--instant-apps-export-action-width:fit-content;--instant-apps-export-action-icon-color:var(--calcite-color-text-3);--instant-apps-export-action-icon-hover-color:var(--calcite-color-text-1);--instant-apps-export-background:var(--calcite-color-foreground-1);--instant-apps-export-text-color:var(--calcite-color-text-1);--instant-apps-export-popover-width:250px}.instant-apps-export{height:100%}.instant-apps-export *{box-sizing:border-box}.instant-apps-export__popover-container,.instant-apps-export__inline-container{padding:12px;background:var(--instant-apps-export-background);--calcite-color-text-1:var(--instant-apps-export-text-color)}.instant-apps-export__popover-container{width:var(--instant-apps-export-popover-width)}.instant-apps-export calcite-action{height:var(--instant-apps-export-action-height);width:var(--instant-apps-export-action-width);--calcite-color-foreground-1:var(--instant-apps-export-action-background);--calcite-color-foreground-2:var(--instant-apps-export-action-background-hover);--calcite-color-foreground-3:var(--instant-apps-export-action-background-press);--calcite-color-text-3:var(--instant-apps-export-action-icon-color);--calcite-color-text-1:var(--instant-apps-export-action-icon-hover-color)}.instant-apps-export .instant-apps-export-print{display:none}.instant-apps-export__visually-hidden{position:absolute;top:0;z-index:-1;visibility:hidden}.instant-apps-export calcite-input{--calcite-color-foreground-1:var(--instant-apps-export-background);--calcite-color-text-1:var(--instant-apps-export-text-color)}.instant-apps-export calcite-popover{--calcite-color-foreground-1:var(--instant-apps-export-background)}.instant-apps-export calcite-switch{--calcite-color-foreground-1:#fff;--calcite-color-foreground-2:#f3f3f3}.instant-apps-export calcite-button:last-of-type{margin-top:0.5rem}.instant-apps-export .calcite-mode-dark calcite-switch{--calcite-color-foreground-1:#2b2b2b;--calcite-color-foreground-2:#202020}.instant-apps-export__compass-container.esri-widget{background:#fff;box-shadow:0 1px 2px rgba(0, 0, 0, 0.3)}.instant-apps-export__compass-container.esri-widget .esri-compass__icon.esri-icon-compass{color:#6e6e6e}.hide{display:none}.screenshotCursor{cursor:crosshair}";export{k as instant_apps_export_views}
@@ -3,4 +3,4 @@
3
3
  * Licensed under the Apache License, Version 2.0
4
4
  * http://www.apache.org/licenses/LICENSE-2.0
5
5
  */
6
- import{p as e,b as a}from"./p-e996c38f.js";export{s as setNonce}from"./p-e996c38f.js";import{g as t}from"./p-c545b14f.js";(()=>{const a=import.meta.url,t={};return""!==a&&(t.resourcesUrl=new URL(".",a).href),e(t)})().then((async e=>(await t(),a(JSON.parse('[["p-118331aa",[[0,"crowdsource-manager",{"appLayout":[1025,"app-layout"],"appProxies":[8,"app-proxies"],"basemapConfig":[16],"coverPageEnabled":[4,"cover-page-enabled"],"customInfoText":[1,"custom-info-text"],"defaultAppLayout":[1,"default-app-layout"],"defaultCenter":[1,"default-center"],"defaultGlobalId":[1,"default-global-id"],"defaultLayer":[1,"default-layer"],"defaultLevel":[1,"default-level"],"defaultOid":[1,"default-oid"],"defaultWebmap":[1,"default-webmap"],"honorMapFieldSettings":[4,"honor-map-field-settings"],"introductionWindowEnabled":[4,"introduction-window-enabled"],"enableAutoRefresh":[4,"enable-auto-refresh"],"enableBasemap":[4,"enable-basemap"],"enableColumnReorder":[4,"enable-column-reorder"],"enableCSV":[4,"enable-c-s-v"],"enableFloorFilter":[4,"enable-floor-filter"],"enableFullscreen":[4,"enable-fullscreen"],"enableHome":[4,"enable-home"],"enableLegend":[4,"enable-legend"],"enableSearch":[4,"enable-search"],"enableShare":[4,"enable-share"],"enableZoom":[4,"enable-zoom"],"locale":[1],"mapInfos":[16],"onlyShowUpdatableLayers":[4,"only-show-updatable-layers"],"popupHeaderColor":[1,"popup-header-color"],"popupHeaderHoverColor":[1,"popup-header-hover-color"],"popupHeaderHoverTextColor":[1,"popup-header-hover-text-color"],"popupHeaderTextColor":[1,"popup-header-text-color"],"searchConfiguration":[16],"shareIncludeEmbed":[4,"share-include-embed"],"shareIncludeSocial":[4,"share-include-social"],"showNewestFirst":[4,"show-newest-first"],"theme":[1],"zoomAndScrollToSelected":[4,"zoom-and-scroll-to-selected"],"zoomToScale":[2,"zoom-to-scale"],"_deleteDialogOpen":[32],"_enableCreateFeatures":[32],"_hideFooter":[32],"_hideTable":[32],"_isMobile":[32],"_isPortraitMobile":[32],"_translations":[32],"_layer":[32],"_layoutMode":[32],"_mapInfo":[32],"_mapView":[32],"_panelOpen":[32],"_numSelected":[32],"_filterOpen":[32],"_showInformationHeader":[32],"_layerIds":[32],"_isLoading":[32]},[[8,"featureSelectionChange","featureSelectionChange"],[8,"popupClosed","popupClosed"],[8,"layoutChanged","layoutChanged"],[8,"mapChanged","mapChanged"],[8,"layerSelectionChange","layerSelectionChange"],[8,"showDelete","showDelete"],[8,"idsFound","idsFound"]],{"appLayout":["appLayoutWatchHandler"],"enableZoom":["enableZoomWatchHandler"],"locale":["localeWatchHandler"]}]]],["p-cf0717b7",[[0,"crowdsource-reporter",{"center":[1],"commentButtonText":[1,"comment-button-text"],"commentSubmittedMessage":[1,"comment-submitted-message"],"defaultWebmap":[1,"default-webmap"],"description":[1],"enableAnonymousAccess":[4,"enable-anonymous-access"],"enableAnonymousComments":[4,"enable-anonymous-comments"],"enableComments":[4,"enable-comments"],"enableHome":[4,"enable-home"],"enableLogin":[4,"enable-login"],"enableNewReports":[4,"enable-new-reports"],"enableSearch":[4,"enable-search"],"enableZoom":[4,"enable-zoom"],"isMobile":[4,"is-mobile"],"layerExpressions":[16],"layerId":[1,"layer-id"],"level":[1],"locale":[1],"loginTitle":[1,"login-title"],"mapInfos":[16],"mapView":[16],"objectId":[1,"object-id"],"reportButtonText":[1,"report-button-text"],"reportingOptions":[16],"reportsHeader":[1,"reports-header"],"reportSubmittedMessage":[1,"report-submitted-message"],"searchConfiguration":[16],"showComments":[4,"show-comments"],"showUserImageInCommentsList":[4,"show-user-image-in-comments-list"],"showFeatureSymbol":[4,"show-feature-symbol"],"showMyReportsOnly":[4,"show-my-reports-only"],"theme":[1],"zoomToScale":[2,"zoom-to-scale"],"floorLevel":[1,"floor-level"],"_featureCreationFailedErrorMsg":[32],"_filterActive":[32],"_flowItems":[32],"_hasValidLayers":[32],"_mapInfo":[32],"_reportSubmitted":[32],"_selectedLayerName":[32],"_showSubmitCancelButton":[32],"_showLoadingIndicator":[32],"_sidePanelCollapsed":[32],"_translations":[32],"_updatedProgressBarStatus":[32],"_updatedSorting":[32],"_updatedSortOption":[32],"_commentSubmitted":[32],"_addingCommentFailed":[32],"updateLayerExpressionsT9n":[64]},null,{"isMobile":["isMobileWatchHandler"],"locale":["localeWatchHandler"],"mapView":["mapViewWatchHandler"],"floorLevel":["floorLevelWatchHandler"],"showMyReportsOnly":["showMyReportsOnlyWatchHandler"],"layerExpressions":["layerExpressionsWatchHandler"],"showFeatureSymbol":["showFeatureSymbolWatchHandler"]}]]],["p-6ee5a767",[[0,"solution-configuration",{"authentication":[1040],"locale":[1],"serializedAuthentication":[1025,"serialized-authentication"],"solutionItemId":[1537,"solution-item-id"],"showLoading":[1540,"show-loading"],"_currentEditItemId":[32],"_organizationVariables":[32],"_solutionContentsComponent":[32],"_solutionIsLoaded":[32],"_solutionVariables":[32],"_templateHierarchy":[32],"_translations":[32],"_treeOpen":[32],"getSpatialReferenceInfo":[64],"saveSolution":[64],"unloadSolution":[64]},[[8,"solutionItemSelected","_solutionItemSelected"]],{"serializedAuthentication":["serializedAuthenticationWatchHandler"],"solutionItemId":["valueWatchHandler"],"locale":["localeWatchHandler"]}]]],["p-38331e47",[[2,"instant-apps-interactive-legend",{"view":[16],"zoomTo":[4,"zoom-to"],"featureCount":[1028,"feature-count"],"filterMode":[16],"compact":[4],"handles":[32],"reactiveUtils":[32],"legendvm":[32],"widget":[32],"messages":[32]},null,{"handles":["init"],"reactiveUtils":["init"],"view":["init"],"compact":["compactHandler"]}]]],["p-5e3b74ff",[[0,"public-notification",{"addresseeLayerIds":[16],"bufferColor":[8,"buffer-color"],"bufferOutlineColor":[8,"buffer-outline-color"],"customLabelEnabled":[4,"custom-label-enabled"],"defaultBufferDistance":[2,"default-buffer-distance"],"defaultBufferUnit":[1,"default-buffer-unit"],"defaultExportTitle":[1,"default-export-title"],"defaultNumLabelsPerPage":[2,"default-num-labels-per-page"],"enableLayerFeatures":[4,"enable-layer-features"],"enableLayerFeaturesOnLoad":[4,"enable-layer-features-on-load"],"enableSearchDistance":[4,"enable-search-distance"],"enableSearchDistanceOnLoad":[4,"enable-search-distance-on-load"],"enableSketchTools":[4,"enable-sketch-tools"],"featureEffect":[16],"featureHighlightEnabled":[4,"feature-highlight-enabled"],"locale":[1],"mapView":[16],"noResultText":[1,"no-result-text"],"initialNotice":[1,"initial-notice"],"searchConfiguration":[1040],"selectionLayerIds":[16],"showRefineSelection":[4,"show-refine-selection"],"showSearchSettings":[4,"show-search-settings"],"sketchLineSymbol":[8,"sketch-line-symbol"],"sketchPointSymbol":[8,"sketch-point-symbol"],"sketchPolygonSymbol":[8,"sketch-polygon-symbol"],"_exportGraphics":[32],"_addMap":[32],"_addResults":[32],"_addTitle":[32],"_downloadActive":[32],"_exportType":[32],"_fetchingData":[32],"_isMobile":[32],"_numDuplicates":[32],"_pageType":[32],"_saveEnabled":[32],"_selectionSets":[32],"_translations":[32]},[[8,"selectionSetsChanged","selectionSetsChanged"]],{"locale":["localeWatchHandler"],"mapView":["mapViewWatchHandler"],"searchConfiguration":["watchSearchConfigurationHandler"],"sketchLineSymbol":["sketchLineSymbolWatchHandler"],"sketchPointSymbol":["sketchPointSymbolWatchHandler"],"sketchPolygonSymbol":["sketchPolygonSymbolWatchHandler"],"_pageType":["pageTypeWatchHandler"]}]]],["p-ddeaaadf",[[1,"instant-apps-language-switcher",{"icon":[1],"portalItem":[16],"view":[16],"locales":[16],"defaultLocale":[1,"default-locale"],"selectedLanguage":[1,"selected-language"],"calciteDropdownOverlayPositioning":[1,"calcite-dropdown-overlay-positioning"],"messages":[32],"t9nData":[32],"refresh":[64]}]]],["p-ae7bed8d",[[1,"instant-apps-export",{"output":[1040],"beforeExport":[16],"popoverIcon":[1,"popover-icon"],"extraContent":[16],"extraContentLabel":[1,"extra-content-label"],"headerTitle":[1025,"header-title"],"logoImage":[1025,"logo-image"],"includeExtraContent":[1028,"include-extra-content"],"showExtraContentInImg":[4,"show-extra-content-in-img"],"includeLegend":[1028,"include-legend"],"includeMap":[1028,"include-map"],"includePopup":[1028,"include-popup"],"includeFileFormat":[1028,"include-file-format"],"mode":[513],"popoverPositioning":[1,"popover-positioning"],"popoverPlacement":[1,"popover-placement"],"scale":[1],"showHeaderTitle":[4,"show-header-title"],"showIncludeLegend":[4,"show-include-legend"],"showIncludeMap":[4,"show-include-map"],"showIncludePopup":[4,"show-include-popup"],"showScaleBar":[4,"show-scale-bar"],"view":[16],"maskBackground":[1,"mask-background"],"maskBorder":[1,"mask-border"],"baseClass":[32],"exportIsLoading":[32],"messages":[32],"selectedFileType":[32]},null,{"includeMap":["watchIncludeMap"],"view":["watchView"]}]]],["p-2b2ebb38",[[2,"instant-apps-interactive-legend-group-legend-element-caption",{"legendvm":[16],"featureCount":[4,"feature-count"],"activeLayerInfo":[16],"messages":[8],"isChild":[4,"is-child"],"expanded":[1028]}]]],["p-64a6162f",[[1,"instant-apps-landing-page",{"titleText":[1,"title-text"],"subtitleText":[1,"subtitle-text"],"descriptionText":[1,"description-text"],"entryButtonText":[1,"entry-button-text"],"iconImage":[1,"icon-image"],"iconImageScale":[1,"icon-image-scale"],"iconImageAltText":[1,"icon-image-alt-text"],"alignment":[1],"disableTransition":[4,"disable-transition"],"backgroundImageSrc":[1,"background-image-src"],"open":[1028],"entryButtonScale":[1,"entry-button-scale"],"fontFamily":[513,"font-family"],"enableSignIn":[4,"enable-sign-in"],"portal":[16],"oauthappid":[1]},null,{"open":["emitToggleEvent"]}]]],["p-1f4b9762",[[2,"instant-apps-measurement",{"view":[16],"areaUnit":[1,"area-unit"],"linearUnit":[1,"linear-unit"],"coordinateFormat":[1,"coordinate-format"],"activeToolType":[1,"active-tool-type"],"closable":[4],"messages":[32]}]]],["p-b636a8b4",[[1,"pci-calculator",{"showAddDeduct":[32]}]]],["p-1b161201",[[1,"solution-item-accordion",{"locale":[1],"listSelectionMode":[1,"list-selection-mode"],"templateInfos":[16],"_sortedTemplateInfos":[32],"_translations":[32]},null,{"locale":["localeWatchHandler"],"templateInfos":["templateInfosWatchHandler"]}]]],["p-dd0e85e0",[[1,"consent-manager",{"amazonAppId":[1,"amazon-app-id"],"amazonAppName":[1,"amazon-app-name"],"amazonUserPoolID":[1,"amazon-user-pool-i-d"],"amazonVersion":[1,"amazon-version"],"firstUseVar":[1,"first-use-var"],"locale":[1],"measurementIds":[16],"portal":[16],"_open":[32],"_translations":[32],"getInstance":[64]},null,{"locale":["localeWatchHandler"]}]]],["p-9d977ad2",[[1,"instant-apps-app-guide",{"header":[4],"data":[16],"messages":[32],"headerText":[32]},null,{"data":["watchPropHandler"],"headerText":["watchStateHandler"]}]]],["p-26190dbf",[[1,"instant-apps-control-panel",{"components":[16],"view":[16]}]]],["p-3bed6b51",[[1,"instant-apps-create",{"popoverIcon":[1,"popover-icon"],"mode":[513],"popoverPositioning":[1,"popover-positioning"],"popoverPlacement":[1,"popover-placement"],"showHeader":[4,"show-header"],"content":[16],"options":[16],"portal":[16],"baseClass":[32],"messages":[32],"CreateOptionsLookup":[32]},null,{"content":["contentChanged"]}]]],["p-61310787",[[1,"instant-apps-export-views",{"output":[1040],"beforeExport":[16],"popoverIcon":[1,"popover-icon"],"includeLegend":[1028,"include-legend"],"includeMap":[1028,"include-map"],"includePopup":[1028,"include-popup"],"includeHeader":[1028,"include-header"],"mode":[513],"popoverPositioning":[1,"popover-positioning"],"popoverPlacement":[1,"popover-placement"],"scale":[1],"showIncludeLegend":[4,"show-include-legend"],"showIncludeMap":[4,"show-include-map"],"showIncludePopup":[4,"show-include-popup"],"showIncludeHeader":[4,"show-include-header"],"showScaleBar":[4,"show-scale-bar"],"exportViews":[16],"baseClass":[32],"exportIsLoading":[32],"messages":[32]},null,{"includeMap":["watchIncludeMap"],"exportViews":["watchView"]}]]],["p-3155f0d6",[[1,"instant-apps-keyboard-shortcuts",{"view":[16],"messages":[32]}]]],["p-0055118a",[[0,"instant-apps-popover",{"popoverTitle":[513,"popover-title"],"subtitle":[513],"content":[513],"imgSrc":[513,"img-src"],"imgAlt":[513,"img-alt"],"mediaSrc":[513,"media-src"],"index":[514],"referenceElement":[513,"reference-element"],"parent":[16],"placement":[1],"refId":[1,"ref-id"],"pagination":[516],"disableAction":[516,"disable-action"],"popoverAction":[16],"messageOverrides":[16],"messages":[32]}]]],["p-552fb1c0",[[4,"instant-apps-popovers",{"inTour":[1540,"in-tour"],"currentId":[1537,"current-id"],"instantAppsPopovers":[16],"beforeOpen":[16],"open":[64],"close":[64],"beginTour":[64],"endTour":[64]}]]],["p-6df9fc09",[[1,"instant-apps-scoreboard",{"view":[16],"items":[16],"position":[1],"mode":[1],"itemLimit":[2,"item-limit"],"autoDockEnabled":[4,"auto-dock-enabled"],"geometry":[1040],"queryType":[1,"query-type"],"state":[32],"messages":[32],"itemIndex":[32],"layers":[32],"layerViews":[32],"isMobile":[32]},null,{"items":["generateUIDs","storeLayers"],"layers":["storeLayerViews"],"geometry":["calculateScoreboardItemValuesFromGeometry"],"layerViews":["calculateScoreboardItemValues"]}]]],["p-4c97ab32",[[1,"instant-apps-splash",{"localStorageKey":[1,"local-storage-key"],"titleText":[1,"title-text"],"content":[1025],"primaryButtonText":[1,"primary-button-text"],"open":[1028],"closeButtonDisabled":[4,"close-button-disabled"],"outsideCloseDisabled":[4,"outside-close-disabled"],"secondaryButton":[4,"secondary-button"],"secondaryButtonText":[1,"secondary-button-text"],"secondaryButtonIcon":[1,"secondary-button-icon"],"secondaryButtonCallback":[16],"messages":[32]},null,{"content":["sanitizeContent"]}]]],["p-67aa6fdc",[[0,"instant-apps-time-filter",{"timeInfoConfigItems":[16],"filterMode":[16],"view":[16],"timeSliderConfig":[16],"autoPlay":[4,"auto-play"],"timeSliderRef":[32]},null,{"timeInfoConfigItems":["updateTimeInfoConfigItems"],"filterMode":["updateFilterMode"],"timeSliderConfig":["updateTimeSliderConfig"],"autoPlay":["updateAutoPlay"]}]]],["p-c7e0799c",[[0,"spatial-ref",{"defaultWkid":[1538,"default-wkid"],"disabled":[1540],"locale":[1],"value":[1537],"_cachedValue":[32],"_spatialRef":[32],"_srSearchText":[32],"_translations":[32],"createSpatialRefDisplay":[64],"getSpatialRef":[64],"wkidToDisplay":[64]},null,{"locale":["localeWatchHandler"],"value":["valueChanged"]}]]],["p-38814554",[[0,"store-manager",{"value":[1537],"templates":[1040],"authentication":[1040],"getStoreInfo":[64]}]]],["p-b5845b40",[[2,"instant-apps-interactive-legend-classic",{"legendvm":[16],"zoomTo":[4,"zoom-to"],"featureCount":[4,"feature-count"],"filterMode":[16],"messages":[8],"isLoading":[32],"intLegendId":[32]},null,{"filterMode":["handleFilterModeChange"]}]]],["p-a28f1b42",[[6,"instant-apps-language-translator",{"portalItem":[16],"appSettings":[16],"locales":[16],"open":[1028],"userLocaleInputOnChangeCallback":[16],"translatedLocaleInputOnChangeCallback":[16],"saving":[32],"messages":[32],"isCollapse":[32],"getTranslationData":[64],"setTranslationData":[64],"getPortalItemResource":[64],"batchWriteToPortalItemResource":[64]},[[8,"translatorItemDataUpdated","handleT9nItemUpdate"]],{"locales":["handleLocaleChange"],"appSettings":["handleAppSettings"]}]]],["p-fabab119",[[1,"deduct-calculator"]]],["p-26f96d2f",[[1,"instant-apps-header",{"titleText":[1,"title-text"],"titleTextLink":[1,"title-text-link"],"backgroundColor":[1,"background-color"],"textColor":[1,"text-color"],"logoImage":[1,"logo-image"],"logoScale":[1537,"logo-scale"],"logoImageAltText":[1,"logo-image-alt-text"],"logoLink":[1,"logo-link"],"infoButton":[1540,"info-button"],"infoIsOpen":[516,"info-is-open"],"infoTitleText":[1,"info-title-text"],"customHeaderHtml":[1025,"custom-header-html"],"headerAlignment":[1025,"header-alignment"],"customHeaderCss":[1025,"custom-header-css"],"fontFamily":[513,"font-family"],"mobileWidthBreakpoint":[2,"mobile-width-breakpoint"],"dir":[32],"initialScale":[32],"toggleInfo":[64]},null,{"customHeaderHtml":["sanitizeCustomHeaderHtml"]}]]],["p-acdb22c6",[[2,"instant-apps-measurement-tool",{"view":[16],"measureConfiguration":[16],"activeTool":[1,"active-tool"]},null,{"activeTool":["_updateToolType"]}]]],["p-928dc0da",[[1,"instant-apps-sign-in",{"type":[1],"portal":[16],"oauthappid":[1],"openInPopup":[4,"open-in-popup"],"landingPage":[4,"landing-page"],"titleText":[1,"title-text"],"subtitleText":[1,"subtitle-text"],"descriptionText":[1,"description-text"],"showIndicator":[4,"show-indicator"],"closeLandingPage":[16],"signInDropdownItems":[16],"isSignedIn":[32],"user":[32],"ready":[32],"messages":[32]},null,{"portal":["watchPortal"],"oauthappid":["watchOauthappid"]}]]],["p-bd8a3a91",[[0,"feature-list",{"selectedLayerId":[1,"selected-layer-id"],"mapView":[16],"noFeaturesFoundMsg":[1,"no-features-found-msg"],"pageSize":[2,"page-size"],"highlightOnMap":[4,"highlight-on-map"],"highlightOnHover":[4,"highlight-on-hover"],"locale":[1],"sortingInfo":[16],"whereClause":[1,"where-clause"],"textSize":[1,"text-size"],"showInitialLoading":[4,"show-initial-loading"],"showErrorWhenNoFeatures":[4,"show-error-when-no-features"],"showUserImageInList":[4,"show-user-image-in-list"],"showFeatureSymbol":[4,"show-feature-symbol"],"applyLayerViewFilter":[4,"apply-layer-view-filter"],"reportingOptions":[16],"_featureItems":[32],"_featuresCount":[32],"_isLoading":[32],"_translations":[32],"refresh":[64]},null,{"locale":["localeWatchHandler"],"selectedLayerId":["selectedLayerWatchHandler"],"sortingInfo":["sortingInfoWatchHandler"],"whereClause":["whereClauseHandler"]}]]],["p-0620c894",[[1,"delete-dialog",{"ids":[16],"layer":[16],"locale":[1],"open":[4],"_isDeleting":[32],"_translations":[32]},null,{"locale":["localeWatchHandler"]}]]],["p-00965f29",[[0,"map-layer-picker",{"appearance":[1],"defaultLayerId":[1,"default-layer-id"],"display":[1],"enabledLayerIds":[16],"enabledTableIds":[16],"height":[2],"isMobile":[4,"is-mobile"],"locale":[1],"mapView":[16],"onlyShowUpdatableLayers":[4,"only-show-updatable-layers"],"placeholderIcon":[1,"placeholder-icon"],"selectedIds":[1040],"scale":[1],"showTables":[4,"show-tables"],"showTablesDisabled":[4,"show-tables-disabled"],"showSingleLayerAsLabel":[4,"show-single-layer-as-label"],"type":[1],"_hasMultipleLayers":[32],"_hasValidLayers":[32],"_isDropdownOpen":[32],"ids":[32],"selectedName":[32],"_translations":[32],"setLayerById":[64],"setLayerByIds":[64],"updateLayer":[64]},null,{"locale":["localeWatchHandler"],"mapView":["mapViewWatchHandler"]}]]],["p-91177188",[[1,"instant-apps-filter-list",{"layerExpressions":[1040],"autoUpdateUrl":[4,"auto-update-url"],"closeBtn":[4,"close-btn"],"closeBtnOnClick":[16],"comboboxOverlayPositioning":[1,"combobox-overlay-positioning"],"closeBtnText":[1,"close-btn-text"],"openFilters":[4,"open-filters"],"extentSelector":[4,"extent-selector"],"extentSelectorConfig":[16],"urlParams":[1040],"filterCount":[1026,"filter-count"],"view":[16],"zoomBtn":[4,"zoom-btn"],"resetBtn":[4,"reset-btn"],"resetFiltersOnDisconnect":[4,"reset-filters-on-disconnect"],"loading":[32],"filterLayerExpressions":[32],"messages":[32],"baseClass":[32],"initDefExpressions":[32],"initMapImageExpressions":[32],"initPointCloudFilters":[32],"getFilterInitState":[64],"forceReset":[64],"updateInitDefExpressions":[64],"getCurrentLayerExpressions":[64],"handleUpdatingT9nData":[64]},null,{"view":["watchViewHandler"],"layerExpressions":["watchLayerExpressions"]}],[1,"instant-apps-social-share",{"mode":[513],"shareUrl":[1025,"share-url"],"autoUpdateShareUrl":[1028,"auto-update-share-url"],"shareText":[513,"share-text"],"embed":[516],"shareButtonColor":[513,"share-button-color"],"shareButtonType":[513,"share-button-type"],"shareButtonScale":[513,"share-button-scale"],"iframeInnerText":[513,"iframe-inner-text"],"popoverButtonIconScale":[513,"popover-button-icon-scale"],"view":[16],"displayTipText":[516,"display-tip-text"],"shortenShareUrl":[516,"shorten-share-url"],"socialMedia":[516,"social-media"],"shareIconsLayout":[513,"share-icons-layout"],"scale":[513],"successMessage":[513,"success-message"],"defaultUrlParams":[16],"inlineSuccessPopoverPlacement":[513,"inline-success-popover-placement"],"popoverPositioning":[513,"popover-positioning"],"removePopoverOffset":[516,"remove-popover-offset"],"messages":[32],"opened":[32],"copied":[32],"inlineCopyLinkOpened":[32],"inlineCopyEmbedOpened":[32],"embedWidth":[32],"embedHeight":[32]}]]],["p-098ca58c",[[0,"map-card",{"appLayout":[1,"app-layout"],"appProxies":[8,"app-proxies"],"defaultWebmapId":[1,"default-webmap-id"],"defaultLayerId":[1,"default-layer-id"],"enableHome":[4,"enable-home"],"enableLegend":[4,"enable-legend"],"enableFloorFilter":[4,"enable-floor-filter"],"enableFullscreen":[4,"enable-fullscreen"],"enableShare":[4,"enable-share"],"enableSingleExpand":[4,"enable-single-expand"],"enableSearch":[4,"enable-search"],"enableBasemap":[4,"enable-basemap"],"basemapConfig":[16],"hidden":[4],"homeZoomIndex":[2,"home-zoom-index"],"homeZoomPosition":[1,"home-zoom-position"],"homeZoomToolsSize":[1,"home-zoom-tools-size"],"locale":[1],"mapInfos":[16],"mapWidgetsIndex":[2,"map-widgets-index"],"mapWidgetsPosition":[1,"map-widgets-position"],"mapWidgetsSize":[1,"map-widgets-size"],"mapView":[16],"stackTools":[4,"stack-tools"],"theme":[1],"toolOrder":[16],"isMapLayout":[4,"is-map-layout"],"shareIncludeEmbed":[4,"share-include-embed"],"shareIncludeSocial":[4,"share-include-social"],"selectedFeaturesIds":[16],"selectedLayer":[16],"zoomToScale":[2,"zoom-to-scale"],"onlyShowUpdatableLayers":[4,"only-show-updatable-layers"],"isMobile":[4,"is-mobile"],"mapInfo":[16],"_translations":[32],"_searchConfiguration":[32],"_webMapInfo":[32],"_showHideOpen":[32],"_toolInfos":[32],"_controlsThatFit":[32],"resetFilter":[64],"updateFilterState":[64],"updateLayer":[64]},[[8,"mapInfoChange","mapInfoChange"],[8,"noLayersFound","noLayersFound"],[8,"layerSelectionChange","layerSelectionChange"]],{"appLayout":["appLayoutWatchHandler"],"enableHome":["enableHomeWatchHandler"],"enableShare":["enableShareWatchHandler"],"locale":["localeWatchHandler"],"mapView":["mapViewWatchHandler"],"selectedLayer":["selectedLayerWatchHandler"],"selectedFeaturesIds":["selectedFeaturesIdsWatchHandler"],"_controlsThatFit":["_controlsThatFitWatchHandler"]}],[0,"card-manager",{"customInfoText":[1,"custom-info-text"],"enableEditGeometry":[4,"enable-edit-geometry"],"isMobile":[4,"is-mobile"],"layer":[1040],"locale":[1],"mapView":[16],"zoomAndScrollToSelected":[4,"zoom-and-scroll-to-selected"],"selectedFeaturesIds":[16],"enableCreateFeatures":[4,"enable-create-features"],"selectingFeatureFromMap":[4,"selecting-feature-from-map"],"_cardLoading":[32],"_graphics":[32],"_showCreateFeatureComponent":[32],"_showSubmitBtn":[32],"_translations":[32]},[[8,"featureSelectionChange","featureSelectionChange"],[8,"layerSelectionChange","layerSelectionChange"]],{"locale":["localeWatchHandler"]}],[0,"layer-table",{"appLayout":[1,"app-layout"],"defaultGlobalId":[16],"defaultLayerId":[1,"default-layer-id"],"defaultOid":[16],"enableAutoRefresh":[4,"enable-auto-refresh"],"enableColumnReorder":[4,"enable-column-reorder"],"enableCSV":[4,"enable-c-s-v"],"enableInlineEdit":[4,"enable-inline-edit"],"enableShare":[4,"enable-share"],"honorMapFieldSettings":[4,"honor-map-field-settings"],"isMobile":[4,"is-mobile"],"locale":[1],"mapHidden":[4,"map-hidden"],"mapInfo":[16],"mapView":[16],"onlyShowUpdatableLayers":[4,"only-show-updatable-layers"],"selectedIds":[16],"shareIncludeEmbed":[4,"share-include-embed"],"shareIncludeSocial":[4,"share-include-social"],"showNewestFirst":[4,"show-newest-first"],"zoomAndScrollToSelected":[4,"zoom-and-scroll-to-selected"],"zoomToScale":[2,"zoom-to-scale"],"createFilterModal":[4,"create-filter-modal"],"_allIds":[32],"_controlsThatFit":[32],"_csvExporting":[32],"_fetchingData":[32],"_filterActive":[32],"_filterOpen":[32],"_layer":[32],"_selectAllActive":[32],"_showHideOpen":[32],"_showOnlySelected":[32],"_toolInfos":[32],"_translations":[32],"_fullTextSearchInfo":[32],"_searchPlaceHolder":[32],"_size":[32],"_queryingData":[32],"closeFilter":[64],"filterReset":[64],"filterUpdate":[64],"validateActiveEdits":[64],"refresh":[64]},[[10,"beforeMapInfoChange","beforeMapInfoChange"],[8,"editorInitialized","editorInitialized"],[8,"selectionChanged","selectionChanged"],[8,"beforeLayerSelectionChange","beforeLayerSelectionChange"],[8,"layerSelectionChange","layerSelectionChange"],[8,"editsComplete","editsComplete"],[8,"facilityChanged","facilityChanged"],[8,"levelChanged","levelChanged"],[8,"siteChanged","siteChanged"],[8,"noLayersFound","noLayersFound"],[8,"clearSelection","clearSelection"]],{"appLayout":["appLayoutWatchHandler"],"defaultOid":["defaultOidWatchHandler"],"defaultGlobalId":["defaultGlobalIdWatchHandler"],"enableCSV":["enableCSVWatchHandler"],"enableInlineEdit":["enableInlineEditWatchHandler"],"enableShare":["enableShareWatchHandler"],"_controlsThatFit":["_controlsThatFitWatchHandler"],"locale":["localeWatchHandler"],"mapHidden":["mapHiddenWatchHandler"],"isMobile":["isMobileWatchHandler"],"mapInfo":["mapInfoWatchHandler"],"mapView":["mapViewWatchHandler"],"_layer":["_layerWatchHandler"],"selectedIds":["selectedIdsWatchHandler"]}]]],["p-d83eb0b2",[[0,"solution-item",{"authentication":[1040],"itemId":[1537,"item-id"],"locale":[1],"solutionVariables":[1537,"solution-variables"],"organizationVariables":[1537,"organization-variables"],"itemType":[32],"_translations":[32]},null,{"itemId":["itemIdWatchHandler"],"locale":["localeWatchHandler"]}],[0,"solution-contents",{"selectedItemId":[1537,"selected-item-id"],"templateHierarchy":[1040]},null,{"templateHierarchy":["valueWatchHandler"]}],[0,"solution-spatial-ref",{"enabled":[1540],"enableDefault":[1540,"enable-default"],"featureServices":[1040],"locale":[1025],"_translations":[32],"_testAccess":[64]},[[8,"solutionStoreHasChanges","solutionStoreHasChanges"]],{"enabled":["enabledChanged"],"enableDefault":["enableDefaultChanged"],"locale":["localeWatchHandler"]}]]],["p-2be294e3",[[0,"feature-details",{"mapView":[16],"graphics":[16],"reportingOptions":[16],"layerItemsHash":[16],"locale":[1],"showUserImageInCommentsList":[4,"show-user-image-in-comments-list"],"_likeFieldAvailable":[32],"_likeCount":[32],"_disLikeCount":[32],"_dislikeFieldAvailable":[32],"_commentsAvailable":[32],"_isLikeBtnClicked":[32],"_isDislikeBtnClicked":[32],"_relatedFeaturesOIDs":[32],"_updating":[32],"refresh":[64],"back":[64],"next":[64],"toggleListView":[64]},null,{"graphics":["graphicsWatchHandler"]}],[0,"create-related-feature",{"locale":[1],"mapView":[16],"table":[16],"selectedFeature":[16],"customizeSubmit":[4,"customize-submit"],"showGuidingMsg":[4,"show-guiding-msg"],"_editorLoading":[32],"_translations":[32],"submit":[64]},null,{"locale":["localeWatchHandler"],"mapView":["mapViewWatchHandler"],"_editorLoading":["_editorLoadingWatchHandler"]}],[0,"layer-list",{"mapView":[16],"layers":[16],"locale":[1],"showFeatureCount":[4,"show-feature-count"],"showNextIcon":[4,"show-next-icon"],"applyLayerViewFilter":[4,"apply-layer-view-filter"],"_noLayersToDisplay":[32],"_mapLayerIds":[32],"_isLoading":[32],"_translations":[32],"refresh":[64]},null,{"locale":["localeWatchHandler"]}]]],["p-59fbd618",[[1,"buffer-tools",{"appearance":[1025],"distance":[1026],"geometries":[1040],"locale":[1],"max":[1026],"min":[1026],"sliderTicks":[1026,"slider-ticks"],"unionResults":[1028,"union-results"],"unit":[1025],"disabled":[4],"_translations":[32],"getTranslatedUnit":[64]},null,{"geometries":["geometriesWatchHandler"],"disabled":["disabledWatchHandler"],"locale":["localeWatchHandler"]}],[0,"map-draw-tools",{"active":[4],"drawMode":[1,"draw-mode"],"editGraphicsEnabled":[4,"edit-graphics-enabled"],"graphics":[1040],"locale":[1],"mapView":[1040],"pointSymbol":[1040],"polylineSymbol":[1040],"polygonSymbol":[1040],"redoEnabled":[4,"redo-enabled"],"undoEnabled":[4,"undo-enabled"],"_translations":[32],"_selectionMode":[32],"clear":[64],"updateGraphics":[64]},null,{"graphics":["graphicsWatchHandler"],"locale":["localeWatchHandler"],"mapView":["mapViewWatchHandler"]}]]],["p-af2a1ae1",[[0,"map-select-tools",{"bufferColor":[8,"buffer-color"],"bufferOutlineColor":[8,"buffer-outline-color"],"customLabelEnabled":[4,"custom-label-enabled"],"enabledLayerIds":[16],"enableLayerFeatures":[4,"enable-layer-features"],"enableLayerFeaturesOnLoad":[4,"enable-layer-features-on-load"],"enableSearchDistance":[4,"enable-search-distance"],"enableSearchDistanceOnLoad":[4,"enable-search-distance-on-load"],"enableSketchTools":[4,"enable-sketch-tools"],"defaultBufferDistance":[2,"default-buffer-distance"],"defaultBufferUnit":[1,"default-buffer-unit"],"geometries":[16],"isUpdate":[4,"is-update"],"layerViews":[16],"locale":[1],"mapView":[16],"noResultText":[1,"no-result-text"],"searchConfiguration":[1040],"selectionSet":[16],"selectionLayerIds":[16],"selectLayerView":[16],"sketchLineSymbol":[16],"sketchPointSymbol":[16],"sketchPolygonSymbol":[16],"searchDistanceEnabled":[4,"search-distance-enabled"],"useLayerFeaturesEnabled":[4,"use-layer-features-enabled"],"_numSelected":[32],"_searchTerm":[32],"_selectionLoading":[32],"_translations":[32],"clearSelection":[64],"getSelection":[64]},[[8,"searchConfigurationChange","searchConfigurationChangeChanged"],[8,"distanceChanged","distanceChanged"],[8,"unitChanged","unitChanged"]],{"geometries":["watchGeometriesHandler"],"locale":["localeWatchHandler"],"mapView":["mapViewWatchHandler"],"searchConfiguration":["watchSearchConfigurationHandler"]}],[0,"refine-selection",{"addresseeLayer":[16],"enabledLayerIds":[16],"locale":[1],"mapView":[16],"selectionSets":[1040],"sketchLineSymbol":[16],"sketchPointSymbol":[16],"sketchPolygonSymbol":[16],"_translations":[32],"_selectionMode":[32],"_refineLayer":[32]},null,{"locale":["localeWatchHandler"]}],[1,"pdf-download",{"defaultNumLabelsPerPage":[2,"default-num-labels-per-page"],"disabled":[4],"locale":[1],"_translations":[32],"downloadCSV":[64],"downloadPDF":[64]},null,{"locale":["localeWatchHandler"]}]]],["p-5833cc4f",[[2,"instant-apps-language-translator-item",{"fieldName":[1,"field-name"],"translatedLanguageLabels":[16],"setting":[16],"userLocaleInputOnChangeCallback":[16],"translatedLocaleInputOnChangeCallback":[16]}],[2,"instant-apps-language-translator-search",{"t9nPlaceholder":[1,"t-9n-placeholder"],"results":[32]}],[0,"instant-apps-ckeditor-wrapper",{"value":[1025],"editorInstance":[1032,"editor-instance"],"config":[16]},null,{"value":["updateValue"]}]]],["p-5e4e0f84",[[0,"solution-item-icon",{"isPortal":[4,"is-portal"],"type":[1],"typeKeywords":[16]}]]],["p-c5aa99a9",[[2,"instant-apps-interactive-legend-layer-element-caption",{"legendvm":[16],"featureCount":[4,"feature-count"],"activeLayerInfo":[16],"messages":[8],"isChild":[4,"is-child"],"expanded":[1028]}],[2,"instant-apps-interactive-legend-count",{"showTotal":[4,"show-total"],"legendvm":[16],"activeLayerInfo":[16],"categoryId":[1,"category-id"],"infoIndex":[2,"info-index"],"messages":[8],"selected":[4],"legendElement":[16]}]]],["p-6537611b",[[6,"instant-apps-interactive-legend-group-legend-element",{"legendvm":[16],"featureCount":[4,"feature-count"],"activeLayerInfo":[16],"messages":[8],"isChild":[4,"is-child"],"expanded":[32]},[[8,"layerCaptionElementExpandUpdated","layerCaptionElementExpandUpdatedEmitted"]]],[6,"instant-apps-interactive-legend-layer-element",{"legendvm":[16],"featureCount":[4,"feature-count"],"activeLayerInfo":[16],"messages":[8],"isChild":[4,"is-child"],"expanded":[32]},[[8,"layerCaptionElementExpandUpdated","layerCaptionElementExpandUpdatedEmitted"]]],[6,"instant-apps-interactive-legend-legend-element",{"activeLayerInfo":[16],"isSizeRamp":[4,"is-size-ramp"],"isChild":[4,"is-child"],"isColorRamp":[4,"is-color-ramp"],"isRelationshipRamp":[4,"is-relationship-ramp"],"isInteractive":[4,"is-interactive"],"zoomTo":[4,"zoom-to"],"legendElement":[16],"titleText":[1,"title-text"],"legendvm":[16],"legendElementIndex":[2,"legend-element-index"],"messages":[8],"expanded":[32]},[[8,"legendLayerExpandUpdated","legendLayerExpandUpdatedEmitted"]]],[2,"instant-apps-interactive-legend-relationship",{"filterMode":[16],"activeLayerInfo":[16],"legendElement":[16],"messages":[8]},[[8,"showAllSelected","showAllSelectedEmitted"]]],[2,"instant-apps-interactive-legend-legend-element-caption",{"legendvm":[16],"activeLayerInfo":[16],"layer":[16],"titleText":[1,"title-text"],"legendElementIndex":[2,"legend-element-index"],"zoomTo":[4,"zoom-to"],"isInteractive":[4,"is-interactive"],"legendElement":[16],"expanded":[1028],"messages":[8]}]]],["p-a756fe7c",[[0,"solution-template-data",{"instanceid":[1537],"itemId":[1537,"item-id"],"locale":[1],"organizationVariables":[1537,"organization-variables"],"solutionVariables":[1537,"solution-variables"],"varsOpen":[1540,"vars-open"],"_translations":[32],"value":[32]},null,{"itemId":["itemIdWatchHandler"],"locale":["localeWatchHandler"]}],[1,"solution-item-sharing",{"groupId":[1537,"group-id"],"locale":[1],"_translations":[32],"sharing":[32],"getShareInfo":[64]},null,{"groupId":["itemIdWatchHandler"],"locale":["localeWatchHandler"]}],[0,"solution-item-details",{"itemId":[1537,"item-id"],"locale":[1],"itemDetails":[32],"itemEdit":[32],"_translations":[32],"thumbnail":[32],"thumbnailContainer":[32]},[[0,"calciteInputInput","inputReceivedHandler"]],{"locale":["localeWatchHandler"]}],[1,"solution-resource-item",{"authentication":[1040],"itemId":[1537,"item-id"],"locale":[1],"resourceFilePaths":[32],"resources":[32],"_translations":[32]},null,{"itemId":["itemIdWatchHandler"],"locale":["localeWatchHandler"]}],[1,"solution-variables",{"value":[1537],"locale":[1],"_solutionVariables":[32],"_translations":[32]},null,{"locale":["localeWatchHandler"],"value":["valueWatchHandler"]}],[0,"json-editor",{"hasChanges":[1540,"has-changes"],"hasErrors":[1540,"has-errors"],"instanceid":[1544],"locale":[1],"value":[1544],"getEditorContents":[64],"prepareForDeletion":[64],"replaceCurrentSelection":[64],"reset":[64]},null,{"locale":["localeWatchHandler"]}],[1,"solution-organization-variables",{"locale":[1],"value":[1537],"_organizationVariables":[32],"_translations":[32]},null,{"locale":["localeWatchHandler"],"value":["valueWatchHandler"]}]]],["p-5aefa348",[[0,"create-feature",{"mapView":[16],"selectedLayerId":[1,"selected-layer-id"],"customizeSubmit":[4,"customize-submit"],"locale":[1],"searchConfiguration":[16],"isMobile":[4,"is-mobile"],"floorLevel":[1,"floor-level"],"formElements":[8,"form-elements"],"enableSearch":[4,"enable-search"],"showGuidingMsg":[4,"show-guiding-msg"],"showGuidingMsgWhileDrawing":[4,"show-guiding-msg-while-drawing"],"_editorLoading":[32],"_currentPage":[32],"_translations":[32],"submit":[64],"refresh":[64]},null,{"locale":["localeWatchHandler"],"mapView":["mapViewWatchHandler"],"isMobile":["isMobileHandler"],"_editorLoading":["_editorLoadingWatchHandler"]}],[0,"info-card",{"enableEditGeometry":[4,"enable-edit-geometry"],"graphics":[16],"isLoading":[4,"is-loading"],"isMobile":[4,"is-mobile"],"mapView":[16],"allowEditing":[4,"allow-editing"],"highlightEnabled":[4,"highlight-enabled"],"locale":[1],"paginationEnabled":[4,"pagination-enabled"],"position":[1],"_alertOpen":[32],"_count":[32],"_editRecordOpen":[32],"_mobileTitle":[32],"_showListView":[32],"_translations":[32],"getSelectedFeature":[64],"refresh":[64],"back":[64],"next":[64],"toggleListView":[64],"updateCurrentGraphic":[64]},[[8,"closeEdit","closeEdit"],[8,"layerSelectionChange","layerSelectionChange"],[8,"refreshGraphics","refreshGraphics"]],{"graphics":["graphicsWatchHandler"],"isMobile":["isMobileWatchHandler"],"locale":["localeWatchHandler"],"mapView":["mapViewWatchHandler"]}],[1,"delete-button",{"deleteDialog":[8,"delete-dialog"],"buttonType":[1,"button-type"],"disabled":[4],"icon":[1],"ids":[16],"layer":[16],"locale":[1],"_confirmDelete":[32],"_deleteEndabled":[32],"_supportsDelete":[32],"_translations":[32]},null,{"ids":["idsWatchHandler"],"layer":["layerWatchHandler"],"locale":["localeWatchHandler"]}],[0,"edit-card",{"enableEditGeometry":[4,"enable-edit-geometry"],"graphics":[1040],"locale":[1],"mapView":[16],"open":[1028],"graphicIndex":[2,"graphic-index"],"_editorLoading":[32],"_translations":[32]},[[8,"featureSelectionChange","featureSelectionChange"]],{"graphics":["graphicsWatchHandler"],"locale":["localeWatchHandler"],"open":["openWatchHandler"]}]]],["p-66e0a2ae",[[1,"map-tools",{"basemapConfig":[16],"enableLegend":[4,"enable-legend"],"enableFloorFilter":[4,"enable-floor-filter"],"enableFullscreen":[4,"enable-fullscreen"],"enableSearch":[4,"enable-search"],"enableBasemap":[4,"enable-basemap"],"enableHome":[4,"enable-home"],"enableSingleExpand":[4,"enable-single-expand"],"homeZoomToolsSize":[1,"home-zoom-tools-size"],"layout":[1],"locale":[1],"mapView":[16],"mapWidgetsSize":[1,"map-widgets-size"],"position":[1],"searchConfiguration":[16],"stackTools":[4,"stack-tools"],"toolOrder":[16],"_hasFloorInfo":[32],"_translations":[32],"_showTools":[32],"_showBasemapWidget":[32],"_showFloorFilter":[32],"_showFullscreen":[32],"_showLegendWidget":[32],"_showSearchWidget":[32]},null,{"locale":["localeWatchHandler"],"mapView":["mapViewWatchHandler"],"_showBasemapWidget":["_showBasemapWidgetWatchHandler"],"_showFloorFilter":["_showFloorFilterWatchHandler"],"_showFullscreen":["_showFullscreenWatchHandler"],"_showLegendWidget":["_showLegendWidgetWatchHandler"],"_showSearchWidget":["_showSearchWidgetWatchHandler"]}],[1,"map-picker",{"locale":[1],"mapInfos":[16],"isMapLayout":[4,"is-map-layout"],"_mapListExpanded":[32],"_translations":[32],"_webMapInfo":[32],"setMapByID":[64],"close":[64],"toggle":[64]},null,{"_webMapInfo":["_webMapInfoWatchHandler"],"locale":["localeWatchHandler"],"mapInfos":["mapInfosWatchHandler"]}],[1,"basemap-gallery",{"mapView":[16],"basemapConfig":[16],"basemapWidget":[16]},null,{"basemapConfig":["basemapConfigWatchHandler"],"mapView":["mapViewWatchHandler"]}],[1,"floor-filter",{"enabled":[4],"floorFilterWidget":[16],"mapView":[16]},null,{"mapView":["mapViewWatchHandler"],"enabled":["enabledWatchHandler"]}],[1,"map-fullscreen",{"mapView":[16],"fullscreenWidget":[16]},null,{"mapView":["mapViewWatchHandler"]}],[1,"map-legend",{"mapView":[16],"legendWidget":[16]},null,{"mapView":["mapViewWatchHandler"]}],[1,"map-search",{"mapView":[16],"popupEnabled":[4,"popup-enabled"],"resultGraphicEnabled":[4,"result-graphic-enabled"],"searchConfiguration":[16],"searchTerm":[1,"search-term"],"searchWidget":[16]},null,{"searchConfiguration":["watchSearchConfigurationHandler"],"mapView":["mapViewWatchHandler"]}]]]]'),e))));
6
+ import{p as e,b as a}from"./p-e996c38f.js";export{s as setNonce}from"./p-e996c38f.js";import{g as t}from"./p-c545b14f.js";(()=>{const a=import.meta.url,t={};return""!==a&&(t.resourcesUrl=new URL(".",a).href),e(t)})().then((async e=>(await t(),a(JSON.parse('[["p-30ea587b",[[0,"crowdsource-manager",{"appLayout":[1025,"app-layout"],"appProxies":[8,"app-proxies"],"basemapConfig":[16],"coverPageEnabled":[4,"cover-page-enabled"],"customInfoText":[1,"custom-info-text"],"defaultAppLayout":[1,"default-app-layout"],"defaultCenter":[1,"default-center"],"defaultGlobalId":[1,"default-global-id"],"defaultLayer":[1,"default-layer"],"defaultLevel":[1,"default-level"],"defaultOid":[1,"default-oid"],"defaultWebmap":[1,"default-webmap"],"honorMapFieldSettings":[4,"honor-map-field-settings"],"introductionWindowEnabled":[4,"introduction-window-enabled"],"enableAutoRefresh":[4,"enable-auto-refresh"],"enableBasemap":[4,"enable-basemap"],"enableColumnReorder":[4,"enable-column-reorder"],"enableCSV":[4,"enable-c-s-v"],"enableFloorFilter":[4,"enable-floor-filter"],"enableFullscreen":[4,"enable-fullscreen"],"enableHome":[4,"enable-home"],"enableLegend":[4,"enable-legend"],"enableSearch":[4,"enable-search"],"enableShare":[4,"enable-share"],"enableZoom":[4,"enable-zoom"],"locale":[1],"mapInfos":[16],"onlyShowUpdatableLayers":[4,"only-show-updatable-layers"],"popupHeaderColor":[1,"popup-header-color"],"popupHeaderHoverColor":[1,"popup-header-hover-color"],"popupHeaderHoverTextColor":[1,"popup-header-hover-text-color"],"popupHeaderTextColor":[1,"popup-header-text-color"],"searchConfiguration":[16],"shareIncludeEmbed":[4,"share-include-embed"],"shareIncludeSocial":[4,"share-include-social"],"showNewestFirst":[4,"show-newest-first"],"theme":[1],"zoomAndScrollToSelected":[4,"zoom-and-scroll-to-selected"],"zoomToScale":[2,"zoom-to-scale"],"_deleteDialogOpen":[32],"_enableCreateFeatures":[32],"_hideFooter":[32],"_hideTable":[32],"_isMobile":[32],"_isPortraitMobile":[32],"_translations":[32],"_layer":[32],"_layoutMode":[32],"_mapInfo":[32],"_mapView":[32],"_panelOpen":[32],"_numSelected":[32],"_filterOpen":[32],"_showInformationHeader":[32],"_layerIds":[32],"_isLoading":[32]},[[8,"featureSelectionChange","featureSelectionChange"],[8,"popupClosed","popupClosed"],[8,"layoutChanged","layoutChanged"],[8,"mapChanged","mapChanged"],[8,"layerSelectionChange","layerSelectionChange"],[8,"showDelete","showDelete"],[8,"idsFound","idsFound"]],{"appLayout":["appLayoutWatchHandler"],"enableZoom":["enableZoomWatchHandler"],"locale":["localeWatchHandler"]}]]],["p-37fe59a0",[[0,"crowdsource-reporter",{"center":[1],"commentButtonText":[1,"comment-button-text"],"commentSubmittedMessage":[1,"comment-submitted-message"],"defaultWebmap":[1,"default-webmap"],"description":[1],"enableAnonymousAccess":[4,"enable-anonymous-access"],"enableAnonymousComments":[4,"enable-anonymous-comments"],"enableComments":[4,"enable-comments"],"enableHome":[4,"enable-home"],"enableLogin":[4,"enable-login"],"enableNewReports":[4,"enable-new-reports"],"enableSearch":[4,"enable-search"],"enableZoom":[4,"enable-zoom"],"isMobile":[4,"is-mobile"],"layerExpressions":[16],"layerId":[1,"layer-id"],"level":[1],"locale":[1],"loginTitle":[1,"login-title"],"mapInfos":[16],"mapView":[16],"objectId":[1,"object-id"],"reportButtonText":[1,"report-button-text"],"reportingOptions":[16],"reportsHeader":[1,"reports-header"],"reportSubmittedMessage":[1,"report-submitted-message"],"searchConfiguration":[16],"showComments":[4,"show-comments"],"showUserImageInCommentsList":[4,"show-user-image-in-comments-list"],"showFeatureSymbol":[4,"show-feature-symbol"],"showMyReportsOnly":[4,"show-my-reports-only"],"theme":[1],"zoomToScale":[2,"zoom-to-scale"],"floorLevel":[1,"floor-level"],"_featureCreationFailedErrorMsg":[32],"_filterActive":[32],"_flowItems":[32],"_hasValidLayers":[32],"_mapInfo":[32],"_reportSubmitted":[32],"_selectedLayerName":[32],"_showSubmitCancelButton":[32],"_showLoadingIndicator":[32],"_sidePanelCollapsed":[32],"_translations":[32],"_updatedProgressBarStatus":[32],"_updatedSorting":[32],"_updatedSortOption":[32],"_commentSubmitted":[32],"_addingCommentFailed":[32],"updateLayerExpressionsT9n":[64]},null,{"isMobile":["isMobileWatchHandler"],"locale":["localeWatchHandler"],"mapView":["mapViewWatchHandler"],"floorLevel":["floorLevelWatchHandler"],"showMyReportsOnly":["showMyReportsOnlyWatchHandler"],"layerExpressions":["layerExpressionsWatchHandler"],"showFeatureSymbol":["showFeatureSymbolWatchHandler"]}]]],["p-b536e583",[[0,"solution-configuration",{"authentication":[1040],"locale":[1],"serializedAuthentication":[1025,"serialized-authentication"],"solutionItemId":[1537,"solution-item-id"],"showLoading":[1540,"show-loading"],"_currentEditItemId":[32],"_organizationVariables":[32],"_solutionContentsComponent":[32],"_solutionIsLoaded":[32],"_solutionVariables":[32],"_templateHierarchy":[32],"_translations":[32],"_treeOpen":[32],"getSpatialReferenceInfo":[64],"saveSolution":[64],"unloadSolution":[64]},[[8,"solutionItemSelected","_solutionItemSelected"]],{"serializedAuthentication":["serializedAuthenticationWatchHandler"],"solutionItemId":["valueWatchHandler"],"locale":["localeWatchHandler"]}]]],["p-fe9b2c74",[[2,"instant-apps-interactive-legend",{"view":[16],"zoomTo":[4,"zoom-to"],"featureCount":[1028,"feature-count"],"filterMode":[16],"compact":[4],"handles":[32],"reactiveUtils":[32],"legendvm":[32],"widget":[32],"messages":[32]},null,{"handles":["init"],"reactiveUtils":["init"],"view":["init"],"compact":["compactHandler"]}]]],["p-f9deadd7",[[0,"public-notification",{"addresseeLayerIds":[16],"bufferColor":[8,"buffer-color"],"bufferOutlineColor":[8,"buffer-outline-color"],"customLabelEnabled":[4,"custom-label-enabled"],"defaultBufferDistance":[2,"default-buffer-distance"],"defaultBufferUnit":[1,"default-buffer-unit"],"defaultExportTitle":[1,"default-export-title"],"defaultNumLabelsPerPage":[2,"default-num-labels-per-page"],"enableLayerFeatures":[4,"enable-layer-features"],"enableLayerFeaturesOnLoad":[4,"enable-layer-features-on-load"],"enableSearchDistance":[4,"enable-search-distance"],"enableSearchDistanceOnLoad":[4,"enable-search-distance-on-load"],"enableSketchTools":[4,"enable-sketch-tools"],"featureEffect":[16],"featureHighlightEnabled":[4,"feature-highlight-enabled"],"locale":[1],"mapView":[16],"noResultText":[1,"no-result-text"],"initialNotice":[1,"initial-notice"],"searchConfiguration":[1040],"selectionLayerIds":[16],"showRefineSelection":[4,"show-refine-selection"],"showSearchSettings":[4,"show-search-settings"],"sketchLineSymbol":[8,"sketch-line-symbol"],"sketchPointSymbol":[8,"sketch-point-symbol"],"sketchPolygonSymbol":[8,"sketch-polygon-symbol"],"_exportGraphics":[32],"_addMap":[32],"_addResults":[32],"_addTitle":[32],"_downloadActive":[32],"_exportType":[32],"_fetchingData":[32],"_isMobile":[32],"_numDuplicates":[32],"_pageType":[32],"_saveEnabled":[32],"_selectionSets":[32],"_translations":[32]},[[8,"selectionSetsChanged","selectionSetsChanged"]],{"locale":["localeWatchHandler"],"mapView":["mapViewWatchHandler"],"searchConfiguration":["watchSearchConfigurationHandler"],"sketchLineSymbol":["sketchLineSymbolWatchHandler"],"sketchPointSymbol":["sketchPointSymbolWatchHandler"],"sketchPolygonSymbol":["sketchPolygonSymbolWatchHandler"],"_pageType":["pageTypeWatchHandler"]}]]],["p-dc704bc6",[[1,"instant-apps-language-switcher",{"icon":[1],"portalItem":[16],"view":[16],"locales":[16],"defaultLocale":[1,"default-locale"],"selectedLanguage":[1,"selected-language"],"calciteDropdownOverlayPositioning":[1,"calcite-dropdown-overlay-positioning"],"messages":[32],"t9nData":[32],"refresh":[64]}]]],["p-d59fb1a7",[[1,"instant-apps-export",{"output":[1040],"beforeExport":[16],"popoverIcon":[1,"popover-icon"],"extraContent":[16],"extraContentLabel":[1,"extra-content-label"],"headerTitle":[1025,"header-title"],"logoImage":[1025,"logo-image"],"includeExtraContent":[1028,"include-extra-content"],"showExtraContentInImg":[4,"show-extra-content-in-img"],"includeLegend":[1028,"include-legend"],"includeMap":[1028,"include-map"],"includePopup":[1028,"include-popup"],"includeFileFormat":[1028,"include-file-format"],"mode":[513],"popoverPositioning":[1,"popover-positioning"],"popoverPlacement":[1,"popover-placement"],"scale":[1],"showHeaderTitle":[4,"show-header-title"],"showIncludeLegend":[4,"show-include-legend"],"showIncludeMap":[4,"show-include-map"],"showIncludePopup":[4,"show-include-popup"],"showScaleBar":[4,"show-scale-bar"],"view":[16],"maskBackground":[1,"mask-background"],"maskBorder":[1,"mask-border"],"baseClass":[32],"exportIsLoading":[32],"messages":[32],"selectedFileType":[32]},null,{"includeMap":["watchIncludeMap"],"view":["watchView"]}]]],["p-3f83917b",[[2,"instant-apps-interactive-legend-group-legend-element-caption",{"legendvm":[16],"featureCount":[4,"feature-count"],"activeLayerInfo":[16],"messages":[8],"isChild":[4,"is-child"],"expanded":[1028]}]]],["p-64a6162f",[[1,"instant-apps-landing-page",{"titleText":[1,"title-text"],"subtitleText":[1,"subtitle-text"],"descriptionText":[1,"description-text"],"entryButtonText":[1,"entry-button-text"],"iconImage":[1,"icon-image"],"iconImageScale":[1,"icon-image-scale"],"iconImageAltText":[1,"icon-image-alt-text"],"alignment":[1],"disableTransition":[4,"disable-transition"],"backgroundImageSrc":[1,"background-image-src"],"open":[1028],"entryButtonScale":[1,"entry-button-scale"],"fontFamily":[513,"font-family"],"enableSignIn":[4,"enable-sign-in"],"portal":[16],"oauthappid":[1]},null,{"open":["emitToggleEvent"]}]]],["p-d099573a",[[2,"instant-apps-measurement",{"view":[16],"areaUnit":[1,"area-unit"],"linearUnit":[1,"linear-unit"],"coordinateFormat":[1,"coordinate-format"],"activeToolType":[1,"active-tool-type"],"closable":[4],"messages":[32]}]]],["p-9e3a40bc",[[1,"pci-calculator",{"showAddDeduct":[32]}]]],["p-64f814dd",[[1,"solution-item-accordion",{"locale":[1],"listSelectionMode":[1,"list-selection-mode"],"templateInfos":[16],"_sortedTemplateInfos":[32],"_translations":[32]},null,{"locale":["localeWatchHandler"],"templateInfos":["templateInfosWatchHandler"]}]]],["p-72d04c7a",[[1,"consent-manager",{"amazonAppId":[1,"amazon-app-id"],"amazonAppName":[1,"amazon-app-name"],"amazonUserPoolID":[1,"amazon-user-pool-i-d"],"amazonVersion":[1,"amazon-version"],"firstUseVar":[1,"first-use-var"],"locale":[1],"measurementIds":[16],"portal":[16],"_open":[32],"_translations":[32],"getInstance":[64]},null,{"locale":["localeWatchHandler"]}]]],["p-c9686e6c",[[1,"instant-apps-app-guide",{"header":[4],"data":[16],"messages":[32],"headerText":[32]},null,{"data":["watchPropHandler"],"headerText":["watchStateHandler"]}]]],["p-95d1c104",[[1,"instant-apps-control-panel",{"components":[16],"view":[16]}]]],["p-3f14b242",[[1,"instant-apps-create",{"popoverIcon":[1,"popover-icon"],"mode":[513],"popoverPositioning":[1,"popover-positioning"],"popoverPlacement":[1,"popover-placement"],"showHeader":[4,"show-header"],"content":[16],"options":[16],"portal":[16],"baseClass":[32],"messages":[32],"CreateOptionsLookup":[32]},null,{"content":["contentChanged"]}]]],["p-ffe1e3a3",[[1,"instant-apps-export-views",{"output":[1040],"beforeExport":[16],"popoverIcon":[1,"popover-icon"],"includeLegend":[1028,"include-legend"],"includeMap":[1028,"include-map"],"includePopup":[1028,"include-popup"],"includeHeader":[1028,"include-header"],"mode":[513],"popoverPositioning":[1,"popover-positioning"],"popoverPlacement":[1,"popover-placement"],"scale":[1],"showIncludeLegend":[4,"show-include-legend"],"showIncludeMap":[4,"show-include-map"],"showIncludePopup":[4,"show-include-popup"],"showIncludeHeader":[4,"show-include-header"],"showScaleBar":[4,"show-scale-bar"],"exportViews":[16],"baseClass":[32],"exportIsLoading":[32],"messages":[32]},null,{"includeMap":["watchIncludeMap"],"exportViews":["watchView"]}]]],["p-2a16aa29",[[1,"instant-apps-keyboard-shortcuts",{"view":[16],"messages":[32]}]]],["p-6369b974",[[0,"instant-apps-popover",{"popoverTitle":[513,"popover-title"],"subtitle":[513],"content":[513],"imgSrc":[513,"img-src"],"imgAlt":[513,"img-alt"],"mediaSrc":[513,"media-src"],"index":[514],"referenceElement":[513,"reference-element"],"parent":[16],"placement":[1],"refId":[1,"ref-id"],"pagination":[516],"disableAction":[516,"disable-action"],"popoverAction":[16],"messageOverrides":[16],"messages":[32]}]]],["p-552fb1c0",[[4,"instant-apps-popovers",{"inTour":[1540,"in-tour"],"currentId":[1537,"current-id"],"instantAppsPopovers":[16],"beforeOpen":[16],"open":[64],"close":[64],"beginTour":[64],"endTour":[64]}]]],["p-be16bc80",[[1,"instant-apps-scoreboard",{"view":[16],"items":[16],"position":[1],"mode":[1],"itemLimit":[2,"item-limit"],"autoDockEnabled":[4,"auto-dock-enabled"],"geometry":[1040],"queryType":[1,"query-type"],"state":[32],"messages":[32],"itemIndex":[32],"layers":[32],"layerViews":[32],"isMobile":[32]},null,{"items":["generateUIDs","storeLayers"],"layers":["storeLayerViews"],"geometry":["calculateScoreboardItemValuesFromGeometry"],"layerViews":["calculateScoreboardItemValues"]}]]],["p-c2e57b81",[[1,"instant-apps-splash",{"localStorageKey":[1,"local-storage-key"],"titleText":[1,"title-text"],"content":[1025],"primaryButtonText":[1,"primary-button-text"],"open":[1028],"closeButtonDisabled":[4,"close-button-disabled"],"outsideCloseDisabled":[4,"outside-close-disabled"],"secondaryButton":[4,"secondary-button"],"secondaryButtonText":[1,"secondary-button-text"],"secondaryButtonIcon":[1,"secondary-button-icon"],"secondaryButtonCallback":[16],"messages":[32]},null,{"content":["sanitizeContent"]}]]],["p-bc8d8128",[[0,"instant-apps-time-filter",{"timeInfoConfigItems":[16],"filterMode":[16],"view":[16],"timeSliderConfig":[16],"autoPlay":[4,"auto-play"],"timeSliderRef":[32]},null,{"timeInfoConfigItems":["updateTimeInfoConfigItems"],"filterMode":["updateFilterMode"],"timeSliderConfig":["updateTimeSliderConfig"],"autoPlay":["updateAutoPlay"]}]]],["p-e43c8944",[[0,"spatial-ref",{"defaultWkid":[1538,"default-wkid"],"disabled":[1540],"locale":[1],"value":[1537],"_cachedValue":[32],"_spatialRef":[32],"_srSearchText":[32],"_translations":[32],"createSpatialRefDisplay":[64],"getSpatialRef":[64],"wkidToDisplay":[64]},null,{"locale":["localeWatchHandler"],"value":["valueChanged"]}]]],["p-38814554",[[0,"store-manager",{"value":[1537],"templates":[1040],"authentication":[1040],"getStoreInfo":[64]}]]],["p-980d9473",[[2,"instant-apps-interactive-legend-classic",{"legendvm":[16],"zoomTo":[4,"zoom-to"],"featureCount":[4,"feature-count"],"filterMode":[16],"messages":[8],"isLoading":[32],"intLegendId":[32]},null,{"filterMode":["handleFilterModeChange"]}]]],["p-e5cb329f",[[6,"instant-apps-language-translator",{"portalItem":[16],"appSettings":[16],"locales":[16],"open":[1028],"userLocaleInputOnChangeCallback":[16],"translatedLocaleInputOnChangeCallback":[16],"saving":[32],"messages":[32],"isCollapse":[32],"getTranslationData":[64],"setTranslationData":[64],"getPortalItemResource":[64],"batchWriteToPortalItemResource":[64]},[[8,"translatorItemDataUpdated","handleT9nItemUpdate"]],{"locales":["handleLocaleChange"],"appSettings":["handleAppSettings"]}]]],["p-e3e35c14",[[1,"deduct-calculator"]]],["p-d324196d",[[1,"instant-apps-header",{"titleText":[1,"title-text"],"titleTextLink":[1,"title-text-link"],"backgroundColor":[1,"background-color"],"textColor":[1,"text-color"],"logoImage":[1,"logo-image"],"logoScale":[1537,"logo-scale"],"logoImageAltText":[1,"logo-image-alt-text"],"logoLink":[1,"logo-link"],"infoButton":[1540,"info-button"],"infoIsOpen":[516,"info-is-open"],"infoTitleText":[1,"info-title-text"],"customHeaderHtml":[1025,"custom-header-html"],"headerAlignment":[1025,"header-alignment"],"customHeaderCss":[1025,"custom-header-css"],"fontFamily":[513,"font-family"],"mobileWidthBreakpoint":[2,"mobile-width-breakpoint"],"dir":[32],"initialScale":[32],"toggleInfo":[64]},null,{"customHeaderHtml":["sanitizeCustomHeaderHtml"]}]]],["p-c50ff9f1",[[2,"instant-apps-measurement-tool",{"view":[16],"measureConfiguration":[16],"activeTool":[1,"active-tool"]},null,{"activeTool":["_updateToolType"]}]]],["p-37ae171f",[[1,"instant-apps-sign-in",{"type":[1],"portal":[16],"oauthappid":[1],"openInPopup":[4,"open-in-popup"],"landingPage":[4,"landing-page"],"titleText":[1,"title-text"],"subtitleText":[1,"subtitle-text"],"descriptionText":[1,"description-text"],"showIndicator":[4,"show-indicator"],"closeLandingPage":[16],"signInDropdownItems":[16],"isSignedIn":[32],"user":[32],"ready":[32],"messages":[32]},null,{"portal":["watchPortal"],"oauthappid":["watchOauthappid"]}]]],["p-ed443a0b",[[0,"feature-list",{"selectedLayerId":[1,"selected-layer-id"],"mapView":[16],"noFeaturesFoundMsg":[1,"no-features-found-msg"],"pageSize":[2,"page-size"],"highlightOnMap":[4,"highlight-on-map"],"highlightOnHover":[4,"highlight-on-hover"],"locale":[1],"sortingInfo":[16],"whereClause":[1,"where-clause"],"textSize":[1,"text-size"],"showInitialLoading":[4,"show-initial-loading"],"showErrorWhenNoFeatures":[4,"show-error-when-no-features"],"showUserImageInList":[4,"show-user-image-in-list"],"showFeatureSymbol":[4,"show-feature-symbol"],"applyLayerViewFilter":[4,"apply-layer-view-filter"],"reportingOptions":[16],"_featureItems":[32],"_featuresCount":[32],"_isLoading":[32],"_translations":[32],"refresh":[64]},null,{"locale":["localeWatchHandler"],"selectedLayerId":["selectedLayerWatchHandler"],"sortingInfo":["sortingInfoWatchHandler"],"whereClause":["whereClauseHandler"]}]]],["p-ee3bb943",[[1,"delete-dialog",{"ids":[16],"layer":[16],"locale":[1],"open":[4],"_isDeleting":[32],"_translations":[32]},null,{"locale":["localeWatchHandler"]}]]],["p-318f5c87",[[0,"map-layer-picker",{"appearance":[1],"defaultLayerId":[1,"default-layer-id"],"display":[1],"enabledLayerIds":[16],"enabledTableIds":[16],"height":[2],"isMobile":[4,"is-mobile"],"locale":[1],"mapView":[16],"onlyShowUpdatableLayers":[4,"only-show-updatable-layers"],"placeholderIcon":[1,"placeholder-icon"],"selectedIds":[1040],"scale":[1],"showTables":[4,"show-tables"],"showTablesDisabled":[4,"show-tables-disabled"],"showSingleLayerAsLabel":[4,"show-single-layer-as-label"],"type":[1],"_hasMultipleLayers":[32],"_hasValidLayers":[32],"_isDropdownOpen":[32],"ids":[32],"selectedName":[32],"_translations":[32],"setLayerById":[64],"setLayerByIds":[64],"updateLayer":[64]},null,{"locale":["localeWatchHandler"],"mapView":["mapViewWatchHandler"]}]]],["p-8585c128",[[1,"instant-apps-filter-list",{"layerExpressions":[1040],"autoUpdateUrl":[4,"auto-update-url"],"closeBtn":[4,"close-btn"],"closeBtnOnClick":[16],"comboboxOverlayPositioning":[1,"combobox-overlay-positioning"],"closeBtnText":[1,"close-btn-text"],"openFilters":[4,"open-filters"],"extentSelector":[4,"extent-selector"],"extentSelectorConfig":[16],"urlParams":[1040],"filterCount":[1026,"filter-count"],"view":[16],"zoomBtn":[4,"zoom-btn"],"resetBtn":[4,"reset-btn"],"resetFiltersOnDisconnect":[4,"reset-filters-on-disconnect"],"loading":[32],"filterLayerExpressions":[32],"messages":[32],"baseClass":[32],"initDefExpressions":[32],"initMapImageExpressions":[32],"initPointCloudFilters":[32],"getFilterInitState":[64],"forceReset":[64],"updateInitDefExpressions":[64],"getCurrentLayerExpressions":[64],"handleUpdatingT9nData":[64]},null,{"view":["watchViewHandler"],"layerExpressions":["watchLayerExpressions"]}],[1,"instant-apps-social-share",{"mode":[513],"shareUrl":[1025,"share-url"],"autoUpdateShareUrl":[1028,"auto-update-share-url"],"shareText":[513,"share-text"],"embed":[516],"shareButtonColor":[513,"share-button-color"],"shareButtonType":[513,"share-button-type"],"shareButtonScale":[513,"share-button-scale"],"iframeInnerText":[513,"iframe-inner-text"],"popoverButtonIconScale":[513,"popover-button-icon-scale"],"view":[16],"displayTipText":[516,"display-tip-text"],"shortenShareUrl":[516,"shorten-share-url"],"socialMedia":[516,"social-media"],"shareIconsLayout":[513,"share-icons-layout"],"scale":[513],"successMessage":[513,"success-message"],"defaultUrlParams":[16],"inlineSuccessPopoverPlacement":[513,"inline-success-popover-placement"],"popoverPositioning":[513,"popover-positioning"],"removePopoverOffset":[516,"remove-popover-offset"],"messages":[32],"opened":[32],"copied":[32],"inlineCopyLinkOpened":[32],"inlineCopyEmbedOpened":[32],"embedWidth":[32],"embedHeight":[32]}]]],["p-83ba1288",[[0,"map-card",{"appLayout":[1,"app-layout"],"appProxies":[8,"app-proxies"],"defaultWebmapId":[1,"default-webmap-id"],"defaultLayerId":[1,"default-layer-id"],"enableHome":[4,"enable-home"],"enableLegend":[4,"enable-legend"],"enableFloorFilter":[4,"enable-floor-filter"],"enableFullscreen":[4,"enable-fullscreen"],"enableShare":[4,"enable-share"],"enableSingleExpand":[4,"enable-single-expand"],"enableSearch":[4,"enable-search"],"enableBasemap":[4,"enable-basemap"],"basemapConfig":[16],"hidden":[4],"homeZoomIndex":[2,"home-zoom-index"],"homeZoomPosition":[1,"home-zoom-position"],"homeZoomToolsSize":[1,"home-zoom-tools-size"],"locale":[1],"mapInfos":[16],"mapWidgetsIndex":[2,"map-widgets-index"],"mapWidgetsPosition":[1,"map-widgets-position"],"mapWidgetsSize":[1,"map-widgets-size"],"mapView":[16],"stackTools":[4,"stack-tools"],"theme":[1],"toolOrder":[16],"isMapLayout":[4,"is-map-layout"],"shareIncludeEmbed":[4,"share-include-embed"],"shareIncludeSocial":[4,"share-include-social"],"selectedFeaturesIds":[16],"selectedLayer":[16],"zoomToScale":[2,"zoom-to-scale"],"onlyShowUpdatableLayers":[4,"only-show-updatable-layers"],"isMobile":[4,"is-mobile"],"mapInfo":[16],"_translations":[32],"_searchConfiguration":[32],"_webMapInfo":[32],"_showHideOpen":[32],"_toolInfos":[32],"_controlsThatFit":[32],"resetFilter":[64],"updateFilterState":[64],"updateLayer":[64]},[[8,"mapInfoChange","mapInfoChange"],[8,"noLayersFound","noLayersFound"],[8,"layerSelectionChange","layerSelectionChange"]],{"appLayout":["appLayoutWatchHandler"],"enableHome":["enableHomeWatchHandler"],"enableShare":["enableShareWatchHandler"],"locale":["localeWatchHandler"],"mapView":["mapViewWatchHandler"],"selectedLayer":["selectedLayerWatchHandler"],"selectedFeaturesIds":["selectedFeaturesIdsWatchHandler"],"_controlsThatFit":["_controlsThatFitWatchHandler"]}],[0,"card-manager",{"customInfoText":[1,"custom-info-text"],"enableEditGeometry":[4,"enable-edit-geometry"],"isMobile":[4,"is-mobile"],"layer":[1040],"locale":[1],"mapView":[16],"zoomAndScrollToSelected":[4,"zoom-and-scroll-to-selected"],"selectedFeaturesIds":[16],"enableCreateFeatures":[4,"enable-create-features"],"selectingFeatureFromMap":[4,"selecting-feature-from-map"],"_cardLoading":[32],"_graphics":[32],"_showCreateFeatureComponent":[32],"_showSubmitBtn":[32],"_translations":[32]},[[8,"featureSelectionChange","featureSelectionChange"],[8,"layerSelectionChange","layerSelectionChange"]],{"locale":["localeWatchHandler"]}],[0,"layer-table",{"appLayout":[1,"app-layout"],"defaultGlobalId":[16],"defaultLayerId":[1,"default-layer-id"],"defaultOid":[16],"enableAutoRefresh":[4,"enable-auto-refresh"],"enableColumnReorder":[4,"enable-column-reorder"],"enableCSV":[4,"enable-c-s-v"],"enableInlineEdit":[4,"enable-inline-edit"],"enableShare":[4,"enable-share"],"honorMapFieldSettings":[4,"honor-map-field-settings"],"isMobile":[4,"is-mobile"],"locale":[1],"mapHidden":[4,"map-hidden"],"mapInfo":[16],"mapView":[16],"onlyShowUpdatableLayers":[4,"only-show-updatable-layers"],"selectedIds":[16],"shareIncludeEmbed":[4,"share-include-embed"],"shareIncludeSocial":[4,"share-include-social"],"showNewestFirst":[4,"show-newest-first"],"zoomAndScrollToSelected":[4,"zoom-and-scroll-to-selected"],"zoomToScale":[2,"zoom-to-scale"],"createFilterModal":[4,"create-filter-modal"],"_allIds":[32],"_controlsThatFit":[32],"_csvExporting":[32],"_fetchingData":[32],"_filterActive":[32],"_filterOpen":[32],"_layer":[32],"_selectAllActive":[32],"_showHideOpen":[32],"_showOnlySelected":[32],"_toolInfos":[32],"_translations":[32],"_fullTextSearchInfo":[32],"_searchPlaceHolder":[32],"_size":[32],"_queryingData":[32],"closeFilter":[64],"filterReset":[64],"filterUpdate":[64],"validateActiveEdits":[64],"refresh":[64]},[[10,"beforeMapInfoChange","beforeMapInfoChange"],[8,"editorInitialized","editorInitialized"],[8,"selectionChanged","selectionChanged"],[8,"beforeLayerSelectionChange","beforeLayerSelectionChange"],[8,"layerSelectionChange","layerSelectionChange"],[8,"editsComplete","editsComplete"],[8,"facilityChanged","facilityChanged"],[8,"levelChanged","levelChanged"],[8,"siteChanged","siteChanged"],[8,"noLayersFound","noLayersFound"],[8,"clearSelection","clearSelection"]],{"appLayout":["appLayoutWatchHandler"],"defaultOid":["defaultOidWatchHandler"],"defaultGlobalId":["defaultGlobalIdWatchHandler"],"enableCSV":["enableCSVWatchHandler"],"enableInlineEdit":["enableInlineEditWatchHandler"],"enableShare":["enableShareWatchHandler"],"_controlsThatFit":["_controlsThatFitWatchHandler"],"locale":["localeWatchHandler"],"mapHidden":["mapHiddenWatchHandler"],"isMobile":["isMobileWatchHandler"],"mapInfo":["mapInfoWatchHandler"],"mapView":["mapViewWatchHandler"],"_layer":["_layerWatchHandler"],"selectedIds":["selectedIdsWatchHandler"]}]]],["p-1d1d7e63",[[0,"solution-item",{"authentication":[1040],"itemId":[1537,"item-id"],"locale":[1],"solutionVariables":[1537,"solution-variables"],"organizationVariables":[1537,"organization-variables"],"itemType":[32],"_translations":[32]},null,{"itemId":["itemIdWatchHandler"],"locale":["localeWatchHandler"]}],[0,"solution-contents",{"selectedItemId":[1537,"selected-item-id"],"templateHierarchy":[1040]},null,{"templateHierarchy":["valueWatchHandler"]}],[0,"solution-spatial-ref",{"enabled":[1540],"enableDefault":[1540,"enable-default"],"featureServices":[1040],"locale":[1025],"_translations":[32],"_testAccess":[64]},[[8,"solutionStoreHasChanges","solutionStoreHasChanges"]],{"enabled":["enabledChanged"],"enableDefault":["enableDefaultChanged"],"locale":["localeWatchHandler"]}]]],["p-f0b1b6f6",[[0,"feature-details",{"mapView":[16],"graphics":[16],"reportingOptions":[16],"layerItemsHash":[16],"locale":[1],"showUserImageInCommentsList":[4,"show-user-image-in-comments-list"],"_likeFieldAvailable":[32],"_likeCount":[32],"_disLikeCount":[32],"_dislikeFieldAvailable":[32],"_commentsAvailable":[32],"_isLikeBtnClicked":[32],"_isDislikeBtnClicked":[32],"_relatedFeaturesOIDs":[32],"_updating":[32],"refresh":[64],"back":[64],"next":[64],"toggleListView":[64]},null,{"graphics":["graphicsWatchHandler"]}],[0,"create-related-feature",{"locale":[1],"mapView":[16],"table":[16],"selectedFeature":[16],"customizeSubmit":[4,"customize-submit"],"showGuidingMsg":[4,"show-guiding-msg"],"_editorLoading":[32],"_translations":[32],"submit":[64]},null,{"locale":["localeWatchHandler"],"mapView":["mapViewWatchHandler"],"_editorLoading":["_editorLoadingWatchHandler"]}],[0,"layer-list",{"mapView":[16],"layers":[16],"locale":[1],"showFeatureCount":[4,"show-feature-count"],"showNextIcon":[4,"show-next-icon"],"applyLayerViewFilter":[4,"apply-layer-view-filter"],"_noLayersToDisplay":[32],"_mapLayerIds":[32],"_isLoading":[32],"_translations":[32],"refresh":[64]},null,{"locale":["localeWatchHandler"]}]]],["p-34b50565",[[1,"buffer-tools",{"appearance":[1025],"distance":[1026],"geometries":[1040],"locale":[1],"max":[1026],"min":[1026],"sliderTicks":[1026,"slider-ticks"],"unionResults":[1028,"union-results"],"unit":[1025],"disabled":[4],"_translations":[32],"getTranslatedUnit":[64]},null,{"geometries":["geometriesWatchHandler"],"disabled":["disabledWatchHandler"],"locale":["localeWatchHandler"]}],[0,"map-draw-tools",{"active":[4],"drawMode":[1,"draw-mode"],"editGraphicsEnabled":[4,"edit-graphics-enabled"],"graphics":[1040],"locale":[1],"mapView":[1040],"pointSymbol":[1040],"polylineSymbol":[1040],"polygonSymbol":[1040],"redoEnabled":[4,"redo-enabled"],"undoEnabled":[4,"undo-enabled"],"_translations":[32],"_selectionMode":[32],"clear":[64],"updateGraphics":[64]},null,{"graphics":["graphicsWatchHandler"],"locale":["localeWatchHandler"],"mapView":["mapViewWatchHandler"]}]]],["p-7dc7d3dc",[[0,"map-select-tools",{"bufferColor":[8,"buffer-color"],"bufferOutlineColor":[8,"buffer-outline-color"],"customLabelEnabled":[4,"custom-label-enabled"],"enabledLayerIds":[16],"enableLayerFeatures":[4,"enable-layer-features"],"enableLayerFeaturesOnLoad":[4,"enable-layer-features-on-load"],"enableSearchDistance":[4,"enable-search-distance"],"enableSearchDistanceOnLoad":[4,"enable-search-distance-on-load"],"enableSketchTools":[4,"enable-sketch-tools"],"defaultBufferDistance":[2,"default-buffer-distance"],"defaultBufferUnit":[1,"default-buffer-unit"],"geometries":[16],"isUpdate":[4,"is-update"],"layerViews":[16],"locale":[1],"mapView":[16],"noResultText":[1,"no-result-text"],"searchConfiguration":[1040],"selectionSet":[16],"selectionLayerIds":[16],"selectLayerView":[16],"sketchLineSymbol":[16],"sketchPointSymbol":[16],"sketchPolygonSymbol":[16],"searchDistanceEnabled":[4,"search-distance-enabled"],"useLayerFeaturesEnabled":[4,"use-layer-features-enabled"],"_numSelected":[32],"_searchTerm":[32],"_selectionLoading":[32],"_translations":[32],"clearSelection":[64],"getSelection":[64]},[[8,"searchConfigurationChange","searchConfigurationChangeChanged"],[8,"distanceChanged","distanceChanged"],[8,"unitChanged","unitChanged"]],{"geometries":["watchGeometriesHandler"],"locale":["localeWatchHandler"],"mapView":["mapViewWatchHandler"],"searchConfiguration":["watchSearchConfigurationHandler"]}],[0,"refine-selection",{"addresseeLayer":[16],"enabledLayerIds":[16],"locale":[1],"mapView":[16],"selectionSets":[1040],"sketchLineSymbol":[16],"sketchPointSymbol":[16],"sketchPolygonSymbol":[16],"_translations":[32],"_selectionMode":[32],"_refineLayer":[32]},null,{"locale":["localeWatchHandler"]}],[1,"pdf-download",{"defaultNumLabelsPerPage":[2,"default-num-labels-per-page"],"disabled":[4],"locale":[1],"_translations":[32],"downloadCSV":[64],"downloadPDF":[64]},null,{"locale":["localeWatchHandler"]}]]],["p-ea09b078",[[2,"instant-apps-language-translator-item",{"fieldName":[1,"field-name"],"translatedLanguageLabels":[16],"setting":[16],"userLocaleInputOnChangeCallback":[16],"translatedLocaleInputOnChangeCallback":[16]}],[2,"instant-apps-language-translator-search",{"t9nPlaceholder":[1,"t-9n-placeholder"],"results":[32]}],[0,"instant-apps-ckeditor-wrapper",{"value":[1025],"editorInstance":[1032,"editor-instance"],"config":[16]},null,{"value":["updateValue"]}]]],["p-dafc6680",[[0,"solution-item-icon",{"isPortal":[4,"is-portal"],"type":[1],"typeKeywords":[16]}]]],["p-d1551601",[[2,"instant-apps-interactive-legend-layer-element-caption",{"legendvm":[16],"featureCount":[4,"feature-count"],"activeLayerInfo":[16],"messages":[8],"isChild":[4,"is-child"],"expanded":[1028]}],[2,"instant-apps-interactive-legend-count",{"showTotal":[4,"show-total"],"legendvm":[16],"activeLayerInfo":[16],"categoryId":[1,"category-id"],"infoIndex":[2,"info-index"],"messages":[8],"selected":[4],"legendElement":[16]}]]],["p-28858c2f",[[6,"instant-apps-interactive-legend-group-legend-element",{"legendvm":[16],"featureCount":[4,"feature-count"],"activeLayerInfo":[16],"messages":[8],"isChild":[4,"is-child"],"expanded":[32]},[[8,"layerCaptionElementExpandUpdated","layerCaptionElementExpandUpdatedEmitted"]]],[6,"instant-apps-interactive-legend-layer-element",{"legendvm":[16],"featureCount":[4,"feature-count"],"activeLayerInfo":[16],"messages":[8],"isChild":[4,"is-child"],"expanded":[32]},[[8,"layerCaptionElementExpandUpdated","layerCaptionElementExpandUpdatedEmitted"]]],[6,"instant-apps-interactive-legend-legend-element",{"activeLayerInfo":[16],"isSizeRamp":[4,"is-size-ramp"],"isChild":[4,"is-child"],"isColorRamp":[4,"is-color-ramp"],"isRelationshipRamp":[4,"is-relationship-ramp"],"isInteractive":[4,"is-interactive"],"zoomTo":[4,"zoom-to"],"legendElement":[16],"titleText":[1,"title-text"],"legendvm":[16],"legendElementIndex":[2,"legend-element-index"],"messages":[8],"expanded":[32]},[[8,"legendLayerExpandUpdated","legendLayerExpandUpdatedEmitted"]]],[2,"instant-apps-interactive-legend-relationship",{"filterMode":[16],"activeLayerInfo":[16],"legendElement":[16],"messages":[8]},[[8,"showAllSelected","showAllSelectedEmitted"]]],[2,"instant-apps-interactive-legend-legend-element-caption",{"legendvm":[16],"activeLayerInfo":[16],"layer":[16],"titleText":[1,"title-text"],"legendElementIndex":[2,"legend-element-index"],"zoomTo":[4,"zoom-to"],"isInteractive":[4,"is-interactive"],"legendElement":[16],"expanded":[1028],"messages":[8]}]]],["p-6f4e5c19",[[0,"solution-template-data",{"instanceid":[1537],"itemId":[1537,"item-id"],"locale":[1],"organizationVariables":[1537,"organization-variables"],"solutionVariables":[1537,"solution-variables"],"varsOpen":[1540,"vars-open"],"_translations":[32],"value":[32]},null,{"itemId":["itemIdWatchHandler"],"locale":["localeWatchHandler"]}],[1,"solution-item-sharing",{"groupId":[1537,"group-id"],"locale":[1],"_translations":[32],"sharing":[32],"getShareInfo":[64]},null,{"groupId":["itemIdWatchHandler"],"locale":["localeWatchHandler"]}],[0,"solution-item-details",{"itemId":[1537,"item-id"],"locale":[1],"itemDetails":[32],"itemEdit":[32],"_translations":[32],"thumbnail":[32],"thumbnailContainer":[32]},[[0,"calciteInputInput","inputReceivedHandler"]],{"locale":["localeWatchHandler"]}],[1,"solution-resource-item",{"authentication":[1040],"itemId":[1537,"item-id"],"locale":[1],"resourceFilePaths":[32],"resources":[32],"_translations":[32]},null,{"itemId":["itemIdWatchHandler"],"locale":["localeWatchHandler"]}],[1,"solution-variables",{"value":[1537],"locale":[1],"_solutionVariables":[32],"_translations":[32]},null,{"locale":["localeWatchHandler"],"value":["valueWatchHandler"]}],[0,"json-editor",{"hasChanges":[1540,"has-changes"],"hasErrors":[1540,"has-errors"],"instanceid":[1544],"locale":[1],"value":[1544],"getEditorContents":[64],"prepareForDeletion":[64],"replaceCurrentSelection":[64],"reset":[64]},null,{"locale":["localeWatchHandler"]}],[1,"solution-organization-variables",{"locale":[1],"value":[1537],"_organizationVariables":[32],"_translations":[32]},null,{"locale":["localeWatchHandler"],"value":["valueWatchHandler"]}]]],["p-4b98adf3",[[0,"create-feature",{"mapView":[16],"selectedLayerId":[1,"selected-layer-id"],"customizeSubmit":[4,"customize-submit"],"locale":[1],"searchConfiguration":[16],"isMobile":[4,"is-mobile"],"floorLevel":[1,"floor-level"],"formElements":[8,"form-elements"],"enableSearch":[4,"enable-search"],"showGuidingMsg":[4,"show-guiding-msg"],"showGuidingMsgWhileDrawing":[4,"show-guiding-msg-while-drawing"],"_editorLoading":[32],"_currentPage":[32],"_translations":[32],"submit":[64],"refresh":[64]},null,{"locale":["localeWatchHandler"],"mapView":["mapViewWatchHandler"],"isMobile":["isMobileHandler"],"_editorLoading":["_editorLoadingWatchHandler"]}],[0,"info-card",{"enableEditGeometry":[4,"enable-edit-geometry"],"graphics":[16],"isLoading":[4,"is-loading"],"isMobile":[4,"is-mobile"],"mapView":[16],"allowEditing":[4,"allow-editing"],"highlightEnabled":[4,"highlight-enabled"],"locale":[1],"paginationEnabled":[4,"pagination-enabled"],"position":[1],"_alertOpen":[32],"_count":[32],"_editRecordOpen":[32],"_mobileTitle":[32],"_showListView":[32],"_translations":[32],"getSelectedFeature":[64],"refresh":[64],"back":[64],"next":[64],"toggleListView":[64],"updateCurrentGraphic":[64]},[[8,"closeEdit","closeEdit"],[8,"layerSelectionChange","layerSelectionChange"],[8,"refreshGraphics","refreshGraphics"]],{"graphics":["graphicsWatchHandler"],"isMobile":["isMobileWatchHandler"],"locale":["localeWatchHandler"],"mapView":["mapViewWatchHandler"]}],[1,"delete-button",{"deleteDialog":[8,"delete-dialog"],"buttonType":[1,"button-type"],"disabled":[4],"icon":[1],"ids":[16],"layer":[16],"locale":[1],"_confirmDelete":[32],"_deleteEndabled":[32],"_supportsDelete":[32],"_translations":[32]},null,{"ids":["idsWatchHandler"],"layer":["layerWatchHandler"],"locale":["localeWatchHandler"]}],[0,"edit-card",{"enableEditGeometry":[4,"enable-edit-geometry"],"graphics":[1040],"locale":[1],"mapView":[16],"open":[1028],"graphicIndex":[2,"graphic-index"],"_editorLoading":[32],"_translations":[32]},[[8,"featureSelectionChange","featureSelectionChange"]],{"graphics":["graphicsWatchHandler"],"locale":["localeWatchHandler"],"open":["openWatchHandler"]}]]],["p-33d03eb9",[[1,"map-tools",{"basemapConfig":[16],"enableLegend":[4,"enable-legend"],"enableFloorFilter":[4,"enable-floor-filter"],"enableFullscreen":[4,"enable-fullscreen"],"enableSearch":[4,"enable-search"],"enableBasemap":[4,"enable-basemap"],"enableHome":[4,"enable-home"],"enableSingleExpand":[4,"enable-single-expand"],"homeZoomToolsSize":[1,"home-zoom-tools-size"],"layout":[1],"locale":[1],"mapView":[16],"mapWidgetsSize":[1,"map-widgets-size"],"position":[1],"searchConfiguration":[16],"stackTools":[4,"stack-tools"],"toolOrder":[16],"_hasFloorInfo":[32],"_translations":[32],"_showTools":[32],"_showBasemapWidget":[32],"_showFloorFilter":[32],"_showFullscreen":[32],"_showLegendWidget":[32],"_showSearchWidget":[32]},null,{"locale":["localeWatchHandler"],"mapView":["mapViewWatchHandler"],"_showBasemapWidget":["_showBasemapWidgetWatchHandler"],"_showFloorFilter":["_showFloorFilterWatchHandler"],"_showFullscreen":["_showFullscreenWatchHandler"],"_showLegendWidget":["_showLegendWidgetWatchHandler"],"_showSearchWidget":["_showSearchWidgetWatchHandler"]}],[1,"map-picker",{"locale":[1],"mapInfos":[16],"isMapLayout":[4,"is-map-layout"],"_mapListExpanded":[32],"_translations":[32],"_webMapInfo":[32],"setMapByID":[64],"close":[64],"toggle":[64]},null,{"_webMapInfo":["_webMapInfoWatchHandler"],"locale":["localeWatchHandler"],"mapInfos":["mapInfosWatchHandler"]}],[1,"basemap-gallery",{"mapView":[16],"basemapConfig":[16],"basemapWidget":[16]},null,{"basemapConfig":["basemapConfigWatchHandler"],"mapView":["mapViewWatchHandler"]}],[1,"floor-filter",{"enabled":[4],"floorFilterWidget":[16],"mapView":[16]},null,{"mapView":["mapViewWatchHandler"],"enabled":["enabledWatchHandler"]}],[1,"map-fullscreen",{"mapView":[16],"fullscreenWidget":[16]},null,{"mapView":["mapViewWatchHandler"]}],[1,"map-legend",{"mapView":[16],"legendWidget":[16]},null,{"mapView":["mapViewWatchHandler"]}],[1,"map-search",{"mapView":[16],"popupEnabled":[4,"popup-enabled"],"resultGraphicEnabled":[4,"result-graphic-enabled"],"searchConfiguration":[16],"searchTerm":[1,"search-term"],"searchWidget":[16]},null,{"searchConfiguration":["watchSearchConfigurationHandler"],"mapView":["mapViewWatchHandler"]}]]]]'),e))));
@@ -1,10 +1,10 @@
1
- Built 01/15/2025 9:40:23.79
1
+ Built Thu 01/16/2025 11:17:43.93
2
2
  develop
3
- commit 65b1ebca4dc7b9e5c49730958ee3b821e34c3a14
4
- Merge: a7d377d85 d1930b97e
3
+ commit 444731de399aa30575d731dcfb6bc0edcdd99ba5
4
+ Merge: fee72c302 9dc69f8df
5
5
  Author: John Hauck <jhauck@esri.com>
6
- Date: Wed Jan 15 09:33:50 2025 -0800
6
+ Date: Thu Jan 16 09:48:59 2025 -0800
7
7
 
8
- Merge pull request #1099 from Esri/onboarding-message
8
+ Merge pull request #1104 from Esri/consent-manager-update
9
9
 
10
- add initialNotice prop
10
+ update consent manager
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@esri/solutions-components",
3
- "version": "0.11.10",
3
+ "version": "0.11.12",
4
4
  "description": "Web Components for Esri's Solutions Applications",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.js",
@@ -1,6 +0,0 @@
1
- /*!
2
- * Copyright 2022 Esri
3
- * Licensed under the Apache License, Version 2.0
4
- * http://www.apache.org/licenses/LICENSE-2.0
5
- */
6
- import{r as e,c as t,g as i,h as s,H as a}from"./p-e996c38f.js";import{g as o}from"./p-4b2ec507.js";import"./p-6a68306c.js";import"./p-d4056c1c.js";const c=class{constructor(i){e(this,i),this.editsComplete=t(this,"editsComplete",7),this.deleteDialogClose=t(this,"deleteDialogClose",7),this.ids=[],this.layer=void 0,this.locale=void 0,this.open=!1,this._isDeleting=!1,this._translations=void 0}get el(){return i(this)}async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}editsComplete;deleteDialogClose;async componentWillLoad(){await this._getTranslations()}render(){const e=1===this.ids.length?this._translations?.confirmSingle:this._translations?.confirmMultiple;return s(a,{key:"911eb7a62de8d0f24642a632363c3ed7c21ea7ac"},s("calcite-dialog",{key:"211d40ea9d2c063e4f432af6ae9ad3e03cd33a21",heading:this._translations?.deleteFeature,kind:"danger",modal:!0,onCalciteDialogClose:()=>this._close(),open:this.open,widthScale:"s"},s("div",{key:"7e6ab8ee32a7167394241c512adade1bfe7d48b1"},e),s("calcite-button",{key:"d94a794b84e568b10e4e05a5ca37ac693bf20fbb",appearance:"outline",kind:"danger",onClick:()=>this._close(),slot:"footer-end",width:"full"},this._translations?.cancel),s("calcite-button",{key:"9e0c6de791de76cb9393b2253cb6fc10fee12783",kind:"danger",loading:this._isDeleting,onClick:()=>{this._deleteFeatures()},slot:"footer-end",width:"full"},this._translations?.delete)))}async _deleteFeatures(){this._isDeleting=!0;const e=this.ids.map((e=>({objectId:e})));await this.layer.applyEdits({deleteFeatures:e}),this._isDeleting=!1,this._close(),this.editsComplete.emit("delete")}_close(){this.open=!1,this.deleteDialogClose.emit()}async _getTranslations(){const e=await o(this.el);this._translations=e[0]}static get watchers(){return{locale:["localeWatchHandler"]}}};c.style=":host{display:block}.delete-modal{position:fixed}";export{c as delete_dialog}
@@ -1,6 +0,0 @@
1
- /*!
2
- * Copyright 2022 Esri
3
- * Licensed under the Apache License, Version 2.0
4
- * http://www.apache.org/licenses/LICENSE-2.0
5
- */
6
- import{r as t,c as i,g as s,h as e,H as h}from"./p-e996c38f.js";import{g as a,l as o}from"./p-4b2ec507.js";import{g as l,q as n,e as c,f as r,i as d,j as p,c as b}from"./p-d572627c.js";import{d as f}from"./p-24b9d4b9.js";import"./p-6a68306c.js";import"./p-d4056c1c.js";import"./p-80cb7c73.js";import"./p-af7e43e0.js";import"./p-2bc98cb0.js";import"./p-4f236b5d.js";import"./p-570b13d9.js";import"./p-0668e30d.js";const u=class{constructor(s){t(this,s),this.createWorkFlowStarted=i(this,"createWorkFlowStarted",7),this.backFromCreateWorkFlow=i(this,"backFromCreateWorkFlow",7),this.featureOrRecordSubmitted=i(this,"featureOrRecordSubmitted",7),this.customInfoText=void 0,this.enableEditGeometry=!1,this.isMobile=void 0,this.layer=void 0,this.locale=void 0,this.mapView=void 0,this.zoomAndScrollToSelected=void 0,this.selectedFeaturesIds=void 0,this.enableCreateFeatures=!0,this.selectingFeatureFromMap=void 0,this._cardLoading=!1,this._graphics=void 0,this._showCreateFeatureComponent=!1,this._showSubmitBtn=!1,this._translations=void 0}get el(){return s(this)}_isFeatureCreated=!1;_createFeature;async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}createWorkFlowStarted;backFromCreateWorkFlow;featureOrRecordSubmitted;async featureSelectionChange(t){this._showCreateFeatureComponent&&!this._isFeatureCreated&&this._backFromCreateFeature();const i=t.detail;this._graphics=await this._getFeaturesByIds(i)}async layerSelectionChange(t){this._showCreateFeatureComponent&&this._backFromCreateFeature();const i=t.detail[0];this.layer=await l(this.mapView,i)}async componentWillLoad(){await this._getTranslations(),this.selectedFeaturesIds?.length>0&&(this._graphics=await this._getFeaturesByIds(this.selectedFeaturesIds))}render(){const t=this._graphics?.length>0?"":"display-none",i=0===this._graphics?.length&&this._showCreateFeatureComponent?"":"display-none",s=this._graphics?.length>0||this._showCreateFeatureComponent?"display-none":"",a=this.layer?.isTable,o=a?this._translations.createRecord:this._translations.createFeature,l=this.customInfoText?this.customInfoText:this.selectingFeatureFromMap?this._translations.selectFeaturesFromMapToStart:this._translations.selectFeaturesToStart,n=this.enableCreateFeatures&&this.layer?.capabilities?.operations?.supportsAdd;return e(h,{key:"5557aa4d80b859335e38db3f4255f4a61d00560f"},e("div",{key:"6756e3314fc3444a982010a3cfa702d77f05f316",class:"overflow-auto height-full"},e("calcite-shell",{key:"715eb7ed692a1d00347d44f20df370cf9a91ded5",class:"position-relative "+t},e("div",{key:"baf4e97c1884f477e4077a6dc8e59d98c77593a4",class:"position-static z-index-500"},e("info-card",{key:"e2ed262e2ebdf9b79ddd725f073f13d6a17909d2",enableEditGeometry:this.enableEditGeometry,graphics:this._graphics,isLoading:this._cardLoading,isMobile:this.isMobile,locale:this.locale,mapView:this.mapView}))),e("calcite-shell",{key:"536b1dec2a539191f30b648f70a6bdcd447a6d6c",class:"position-relative "+s},e("calcite-flow-item",{key:"fe3ea9d0c94b51b3c67fdd784d624479d61663d9"},e("calcite-panel",{key:"e01b6ebb54d5cf265f3b12cabf56754174c6e53e"},e("div",{key:"90c3fa4e158218d6a057bb3741bfaad1d33f84d1",class:"padding-1"},e("calcite-notice",{key:"c9dfc38e3dacf0606e7688bc60008ddf3211733d",icon:this.selectingFeatureFromMap?"map":"table",iconFlipRtl:!0,open:!0},e("div",{key:"09230437c58274365885d31457a758c634de6118",slot:"message"},l))),!this.isMobile&&n&&e("calcite-button",{key:"25e36e909b1b2cd9c470c7130e3b058feb6a9701",disabled:!this.layer,onClick:()=>this._createFeatureBtnClicked(),slot:"footer",width:"full"},a?this._translations.createRecord:this._translations.createFeature)))),e("calcite-shell",{key:"ee86348e78c6ab5bf355ada65157f7145289e7d0",class:"position-relative "+i},e("calcite-flow-item",{key:"a76afb730f23f07a65ff87280812084aa0b656ab"},e("calcite-panel",{key:"0e8b44fecacbd09836c5cda2c75db076073de051",heading:o},e("calcite-action",{key:"8031226773c3aae1308104050cd347b1be25bf2a",class:"back-button hydrated",icon:"chevron-left",onClick:this._backFromCreateFeature.bind(this),scale:"s",slot:"header-actions-start",text:""}),this.getEditorComponent(),this._showSubmitBtn&&e("calcite-button",{key:"80ae2e97c96a696fd8d964231549d37a101ee34b",appearance:"solid",class:"footer-top-button footer-button",onClick:()=>{this._createFeature.submit()},slot:"footer",width:"full"},this._translations.create))))))}getEditorComponent(){return e("div",null,this._showCreateFeatureComponent&&e("create-feature",{customizeSubmit:!0,locale:this.locale,mapView:this.mapView,onDrawComplete:()=>{this._showSubmitBtn=!0},onEditingAttachment:t=>{this._showSubmitBtn=!t.detail},onProgressStatus:()=>{setTimeout((()=>{this._isFeatureCreated=!1}),2e3)},onSuccess:this._featureCreated.bind(this),ref:t=>this._createFeature=t,selectedLayerId:this.layer?.id,showGuidingMsgWhileDrawing:!1}))}async _getFeaturesByIds(t){return(t.length>0?await n(t,this.layer,[],!0,this.mapView.spatialReference):[]).sort(((i,s)=>t.indexOf(i.getObjectId())-t.indexOf(s.getObjectId())))}_createFeatureBtnClicked(){this._showCreateFeatureComponent=!0,this.createWorkFlowStarted.emit()}async _backFromCreateFeature(){this._createFeature&&(this._showCreateFeatureComponent=!1,this.backFromCreateWorkFlow.emit()),this._showSubmitBtn=!1}_featureCreated(){this._showCreateFeatureComponent=!1,this._showSubmitBtn=!1,this._isFeatureCreated=!0,this.featureOrRecordSubmitted.emit(),setTimeout((()=>{this._showCreateFeatureComponent=!0}),50)}async _getTranslations(){const t=await a(this.el);this._translations=t[0]}static get watchers(){return{locale:["localeWatchHandler"]}}};u.style=":host{display:block !important}.display-flex{display:flex}.display-none{display:none}.w-100{width:100%}.padding-bottom-1{padding-bottom:1rem}.padding-1{padding:1rem}.position-relative{position:relative}.focus-margin{margin:1px 1px 0px 1px}.overflow-auto{overflow:auto}.height-full{height:100%}.position-static{position:static !important}.z-index-500{z-index:500 !important}card-manager{display:block}";const m=class{constructor(s){t(this,s),this.featureSelectionChange=i(this,"featureSelectionChange",7),this.toggleFilter=i(this,"toggleFilter",7),this.showDelete=i(this,"showDelete",7),this.appLayout=void 0,this.defaultGlobalId=void 0,this.defaultLayerId=void 0,this.defaultOid=void 0,this.enableAutoRefresh=void 0,this.enableColumnReorder=!0,this.enableCSV=void 0,this.enableInlineEdit=void 0,this.enableShare=void 0,this.honorMapFieldSettings=void 0,this.isMobile=void 0,this.locale=void 0,this.mapHidden=void 0,this.mapInfo=void 0,this.mapView=void 0,this.onlyShowUpdatableLayers=void 0,this.selectedIds=[],this.shareIncludeEmbed=void 0,this.shareIncludeSocial=void 0,this.showNewestFirst=void 0,this.zoomAndScrollToSelected=void 0,this.zoomToScale=void 0,this.createFilterModal=!0,this._allIds=[],this._controlsThatFit=void 0,this._csvExporting=!1,this._fetchingData=!1,this._filterActive=!1,this._filterOpen=!1,this._layer=void 0,this._selectAllActive=!1,this._showHideOpen=!1,this._showOnlySelected=!1,this._toolInfos=void 0,this._translations=void 0,this._fullTextSearchInfo=void 0,this._searchPlaceHolder="",this._size=0,this._queryingData=!1}get el(){return s(this)}FeatureTable;TableTemplate;_columnsInfo;_ctrlIsPressed=!1;_currentId;_editEnabled;_defaultFilterHonored=!1;_defaultGlobalIdHonored=!1;_defaultOidHonored=!1;_defaultVisibleToolSizeInfos;_definitionExpression;_deleteEnabled;_editor;_filterList;_floorExpression;_floorField;_floorFacility;_floorLevel;_floorSite;_layerExpressions;_loaded=!1;_mapClickHandle;_observerSet=!1;_previousCurrentId;reactiveUtils;_refreshHandle;_resizeObserver;_selectAllElement;_selectionFromMap=!1;_shareNode;_shiftIsPressed=!1;_showHideDropdown;_skipOnChange=!1;_moreDropdown;_table;_tableNode;_timeout;_toolbar;_toolbarSizeInfos;_searchExpression;_skipEditCheck=!1;_tempSelectedIds;appLayoutWatchHandler(){this._updateShareUrl()}async defaultOidWatchHandler(){await this._handleDefaults()}async defaultGlobalIdWatchHandler(){await this._handleDefaults()}enableCSVWatchHandler(){this._toolInfos?.length>0&&this._initToolInfos()}enableInlineEditWatchHandler(){this._table&&(this._table.editingEnabled=this._editEnabled&&this.enableInlineEdit)}enableShareWatchHandler(){this._toolbar&&this._updateToolbar()}_controlsThatFitWatchHandler(){const t=this._controlsThatFit?this._controlsThatFit.reduce(((t,i)=>(t.push(i.id),t)),[]):[];this._toolInfos=this._toolInfos?.map((i=>{if(i&&this._controlsThatFit){const s=this._getId(i.icon);return i.isOverflow=t.indexOf(s)<0,i}}))}async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}mapHiddenWatchHandler(){this._toolInfos?.length>0&&this._initToolInfos()}isMobileWatchHandler(){this._toolInfos||this.isMobile||this._initToolInfos()}async mapInfoWatchHandler(){this._resetColumnTemplates(),this.createFilterModal&&this._initLayerExpressions(),this._initToolInfos(),this._updateToolbar(),await this._sortTable()}async mapViewWatchHandler(){this._mapClickHandle&&this._mapClickHandle.remove(),this.mapView&&(this._floorExpression=void 0,this._searchExpression=void 0,this._updateShareUrl(),this._mapClickHandle=this.reactiveUtils.on((()=>this.mapView),"click",(t=>{this._mapClicked(t)})))}async _layerWatchHandler(){this._fetchingData=!0,await(this._layer?.when((async()=>{this._definitionExpression=this._layer.definitionExpression,this._floorField=this._layer.floorInfo?.floorField,this._updateFloorDefinitionExpression(),await this._resetTable(),this.createFilterModal&&this._initLayerExpressions(),this._updateShareUrl(),this._fetchingData=!1})))}async selectedIdsWatchHandler(){this._updateShareUrl(),this._validateEnabledActions(),this._selectAllActive&&this.selectedIds.length!==this._allIds.length&&(this._selectAllActive=!1),this.selectedIds.length>0&&(this._table.rowHighlightIds.removeAll(),this._table.rowHighlightIds.add(this.selectedIds[0]))}async closeFilter(){await this._closeFilter()}async filterReset(){await this._handleFilterListReset()}async filterUpdate(t){await this._handleFilterUpdate(t)}async validateActiveEdits(){return this._validateActiveEdits([],this.selectedIds)}async refresh(){this._table&&await this._refresh()}featureSelectionChange;toggleFilter;showDelete;async beforeMapInfoChange(t){const i=t.detail.ref,s=t.detail.mapInfo;if(this._hasPendingEdits()){t.preventDefault();const e=await this._validateActiveEdits([],this.selectedIds);await i.setMapByID(e?s.id:t.detail.currentId,!e)}}async editorInitialized(t){this._editor=t.detail}async selectionChanged(t){const i=t.detail.selectedFeature[0],s=i.getObjectId(),e=this._table;if(e.rowHighlightIds.length&&e.rowHighlightIds.removeAll(),e.rowHighlightIds.add(s),this.zoomAndScrollToSelected){const t=this._table.viewModel.getObjectIdIndex(s);this._table.scrollToIndex(t);const e=i.layer;let h;this.mapView.allLayerViews.toArray().some((t=>{if(t.layer.title===e.title&&"feature"===t.layer.type)return h=t,!0})),h&&await c([s],h,this.mapView,!0,void 0,this.zoomToScale)}}async beforeLayerSelectionChange(t){if(this._hasPendingEdits()){t.preventDefault();const i=t.detail.ref,s=await this._validateActiveEdits([],this.selectedIds);return t.detail.selectedIds?await i.setLayerByIds(s?t.detail.newIds:t.detail.currentIds,!0):await i.setLayerById(s?t.detail.newId:t.detail.currentId,!0)}}async layerSelectionChange(t){await this._layerSelectionChanged(t)}async editsComplete(t){const i=t.detail;"delete"!==i&&"add"!==i||(this._allIds=await r(this._layer)),await this._refresh()}async facilityChanged(t){this._floorFacility=t.detail,this._updateFloorDefinitionExpression()}async levelChanged(t){this._floorLevel=t.detail,this._updateFloorDefinitionExpression()}async siteChanged(t){this._floorSite=t.detail,this._updateFloorDefinitionExpression()}async noLayersFound(){this._layer=void 0,this._allIds=[],this._clearSelection()}async clearSelection(){await this._validateActiveEdits([],this.selectedIds)&&this._clearSelection()}async componentWillLoad(){await this._getTranslations(),await this._initModules(),this._initToolInfos(),this._resizeObserver||(this._resizeObserver=new ResizeObserver((()=>this._onResize())))}render(){const t=this._fetchingData?"display-none":"",i=this._fetchingData?"":"display-none",s=this._queryingData?"":"display-none",a=this._size.toString(),o=this.selectedIds.length.toString(),l=this.isMobile?"height-full":"height-full-adjusted",n=this._canShowFullTextSearch();return this._validateActiveActions(),e(h,{key:"68d6d57fbc9122b15340e0be3426ad00d398c7b2"},e("div",{key:"c4839ef8df0c5d3937b68c444264ce3bbb5c808d"},e("calcite-scrim",{key:"d4fa1a66ddcc5d0e83ee4ee43b2a3230e7f0298f",class:s,loading:this._queryingData}),e("calcite-shell",{key:"2ae1aee8a242902f3fbc9a1a19b62a8b721e5de7"},this._getTableControlRow("header"),e("div",{key:"73d424f4bb07f56245c2c0858544d6cb7d9fcc74",class:`width-full ${l}`},e("calcite-panel",{key:"a2404478e2daf5ebac1ff3ac10378a98c868bcb2",class:"height-full width-full"},n&&e("div",{key:"e18c71ccab7853438c51fe7168b7a98087d215e2",class:"search-container"},e("calcite-input",{key:"39ecb52bacd4560a94310a56faf084941aa44a2a",class:"search",clearable:!0,icon:"search",onCalciteInputChange:t=>{this._searchTextChanged(t)},placeholder:this._searchPlaceHolder,title:this._searchPlaceHolder,type:"search"})),e("calcite-loader",{key:"ce2aeb5e108b1d76da8694a071dcd46098e6bb28",class:i,label:this._translations.fetchingData,scale:"l"}),e("div",{key:"78e596cb45427bb9d21a11368361f67e1ed306a5",class:t,ref:this.onTableNodeCreate}))),this.isMobile?void 0:e("div",{class:"bottom-left text-color height-19"},this._translations.recordsSelected.replace("{{total}}",a).replace("{{selected}}",o))),this.createFilterModal&&this._filterModal()))}_deleteDialog;async componentDidLoad(){this.isMobile||this._observerSet||(this._resizeObserver.observe(this._toolbar),this._observerSet=!0)}componentDidRender(){document.onclick=t=>this._handleDocumentClick(t),document.onkeydown=t=>this._handleKeyDown(t),document.onkeyup=t=>this._handleKeyUp(t),this._updateToolbar()}async _initModules(){const[t,i,s]=await o(["esri/widgets/FeatureTable","esri/core/reactiveUtils","esri/widgets/FeatureTable/support/TableTemplate"]);this.FeatureTable=t,this.reactiveUtils=i,this.TableTemplate=s}async _searchTextChanged(t){this._fullTextSearchInfo.forEach((i=>{i.searchTerm=t.target.value})),this._searchFullText()}async _searchFullText(){let t=[],i=!1;if(this._showOnlySelected)t=this._tempSelectedIds,i=!0;else{if(!await this._validateActiveEdits([],this.selectedIds))return;this._clearSelection(),this._tempSelectedIds=[]}this._searchExpression&&this._clearSearchDefinitionExpression();let s=[];if(this._fullTextSearchInfo.length&&this._fullTextSearchInfo[0].searchTerm){const e=this._layer.createQuery();e.fullText=this._fullTextSearchInfo,s=await this._layer.queryObjectIds(e),i&&t?.length&&(s=s.filter((i=>t.includes(i)))),await this._updateSearchDefinitionExpression(s?.length?s:[-1])}i&&s?.length&&(this._showOnlySelected=!0,this._table.highlightIds.addMany(s.reverse())),await new Promise((t=>setTimeout(t,800))),await this._updateAllIds()}_clearSearchDefinitionExpression(){const t=this._layer.definitionExpression;this._searchExpression&&t?.indexOf(this._searchExpression)>-1&&(this._layer.definitionExpression=t?.indexOf(" AND ("+this._searchExpression)>-1?t.replace(` AND (${this._searchExpression})`,""):t.replace(this._searchExpression,"")),this._searchExpression=void 0}async _updateSearchDefinitionExpression(t){const i=this._layer.definitionExpression;if(t?.length){const s=`objectId in(${t})`;this._layer.definitionExpression=i?.indexOf(this._searchExpression)>-1?i.replace(this._searchExpression,s):i?`${i} AND (${s})`:s,this._searchExpression=s}else this._clearSearchDefinitionExpression()}_canShowFullTextSearch(){return((this._layer?.capabilities)?.query)?.supportsFullTextSearch&&this._layer.indexes.items.filter((t=>"FullText"==t.indexType)).length>0}_getFullTextSearchInfo(){if(this._fullTextSearchInfo=[],((this._layer?.capabilities)?.query)?.supportsFullTextSearch){const t=this._layer.indexes?.filter((t=>"FullText"==t.indexType));if(t?.length){const i=[];t.forEach((t=>{i.push(...t.fields.split(","))}));const s=[];i.forEach((t=>{const i=this._layer.getField(t.trim());s.push(i.alias)})),this._searchPlaceHolder=this._translations.searchPlaceholder.replace("{{fields}}",s.join(", ")),this._fullTextSearchInfo.push({onFields:["*"],searchTerm:"",searchType:"prefix"})}}}_onResize(){this._updateToolbar()}_getTableControlRow(t){return e("div",{class:"display-flex height-51-px border-bottom",ref:t=>this._toolbar=t,slot:t},this._getActionBar(),this.isMobile?void 0:this._getDropdown("more-table-options"),this.enableShare&&!this.isMobile?this._getShare("share"):void 0)}_getActionBar(){const t=this.isMobile?"width-full":"",i=this.isMobile?"border-top":"";return e("calcite-action-bar",{class:t,expandDisabled:!0,expanded:!0,id:this._getId("bar"),layout:"horizontal"},e("div",{class:`border-end ${t} ${i}`,id:"solutions-map-layer-picker-container"},e("map-layer-picker",{appearance:"transparent",defaultLayerId:this.defaultLayerId,display:"inline-flex",height:50,isMobile:this.isMobile,locale:this.locale,mapView:this.mapView,onlyShowUpdatableLayers:this.onlyShowUpdatableLayers,placeholderIcon:"layers",scale:"l",selectedIds:this._layer?[this._layer?.id]:[],showSingleLayerAsLabel:!0,showTables:!0,type:"dropdown"})),this.isMobile?void 0:this._getActions())}_getActions(){const t=this._getActionItems();return t?.reduce(((t,i)=>(i&&!i.isOverflow&&t.push(i.isDanger?this._getDangerAction(i.icon,i.label,i.func,i.disabled):i.isSublist?e("calcite-dropdown",{closeOnSelectDisabled:!0,id:this._getId(i.icon),onCalciteDropdownBeforeClose:()=>this._forceShowHide(),ref:t=>this._showHideDropdown=t},this._getAction(i.active,this._showHideOpen?"chevron-down":i.icon,i.indicator,i.label,i.func,i.disabled,i.loading,"trigger"),this._showHideOpen?this._getFieldlist():void 0):this._getAction(i.active,i.icon,i.indicator,i.label,i.func,i.disabled,i.loading)),t)),[])}_getFieldlist(){return this._columnsInfo?e("calcite-dropdown-group",{"selection-mode":"multiple"},Object.keys(this._columnsInfo).map((t=>{const i=this._columnsInfo[t];return e("calcite-dropdown-item",{id:`layer-table-${t.toLowerCase().replaceAll(" ","")}`,label:t,onClick:t=>{const i=t.target;this._columnsInfo[i.label]=i.selected,i.selected?this._table.showColumn(i.label):this._table.hideColumn(i.label)},selected:i},t)}))):void 0}_validateEnabledActions(){const t=this._featuresSelected(),i=this.selectedIds.length>1&&this._layer?.capabilities?.operations?.supportsUpdate,s=["zoom-to-object","pencil","trash","erase","selected-items-filter"];this._toolInfos?.forEach((e=>{e&&s.indexOf(e.icon)>-1&&(e.disabled="pencil"===e.icon?!i:!t)}))}_validateActiveActions(){const t=["filter","list-check-all","selected-items-filter"];this._toolInfos?.forEach((i=>{i&&t.indexOf(i.icon)>-1&&("filter"===i.icon&&(i.indicator=this._filterActive),"list-check-all"===i.icon&&(i.active=this._selectAllActive),"selected-items-filter"===i.icon&&(i.active=this._showOnlySelected))}))}_initToolInfos(){const t=this._featuresSelected(),i=this.selectedIds.length>1&&this._layer?.capabilities?.operations?.supportsUpdate&&!1,s=this._featuresEmpty(),e=this._hasFilterExpressions();this._translations&&(this._toolInfos=[this.mapHidden?void 0:{active:!1,icon:"zoom-to-object",indicator:!1,label:this._translations.zoom,func:()=>this._zoom(),disabled:!t,isOverflow:!1},e?{active:!1,icon:"filter",indicator:!1,label:this._translations.filters,func:()=>this.createFilterModal?this._toggleFilter():this.toggleFilter.emit(),disabled:!1,isOverflow:!1}:void 0,i?{active:!1,icon:"pencil",indicator:!1,label:this._translations.editMultiple,func:()=>alert(this._translations.editMultiple),disabled:!i,isOverflow:!1}:void 0,this._deleteEnabled?{active:void 0,icon:"trash",indicator:void 0,label:this._translations.delete,func:()=>this._showDelete(),disabled:!t,isDanger:!0,isOverflow:!1}:void 0,{active:!1,icon:"erase",indicator:!1,label:this._translations.clearSelection,func:()=>{this.clearSelection()},disabled:!t,isOverflow:!1},{active:!1,icon:"selected-items-filter",indicator:!1,label:this._showOnlySelected?this._translations.showAll:this._translations.showSelected,func:()=>this._toggleShowSelected(),disabled:!t,isOverflow:!1},{active:!1,icon:"list-check-all",indicator:!1,func:async()=>await this._selectAll(),label:this._translations.selectAll,disabled:s,isOverflow:!1},{active:!1,icon:"compare",indicator:!1,func:async()=>await this._switchSelected(),label:this._translations.switchSelected,disabled:s,isOverflow:!1},{active:!1,icon:"refresh",indicator:!1,func:()=>this._refresh(),label:this._translations.refresh,disabled:!1,isOverflow:!1},this.enableCSV?{active:!1,icon:"export",indicator:!1,func:()=>{this._exportToCSV()},label:this._translations.exportCSV,loading:this._csvExporting,disabled:s,isOverflow:!1}:void 0,{active:!1,icon:this._showHideOpen?"chevron-down":"chevron-right",indicator:!1,func:()=>this._toggleShowHide(),label:this._translations.showHideColumns,disabled:!1,isOverflow:!1,isSublist:!0}],this._defaultVisibleToolSizeInfos=void 0)}_updateFloorDefinitionExpression(){if(this._floorField&&this._floorLevel){const t=`${this._floorField} = '${this._floorLevel}'`,i=this._layer.definitionExpression;this._layer.definitionExpression=i?.indexOf(this._floorExpression)>-1?i.replace(this._floorExpression,t):i?`${i} AND (${t})`:t,this._floorExpression=t}}_featuresSelected(){return this.selectedIds.length>0}_featuresEmpty(){return 0===this._allIds.length}_hasFilterExpressions(){let t;return this.mapInfo?.filterConfig?.layerExpressions&&this._layer?.id&&(t=this.mapInfo.filterConfig.layerExpressions.filter((t=>t.id===this._layer.id))),t?.length>0}_updateToolbar(){this._timeout&&clearTimeout(this._timeout),!this.isMobile&&this._toolbar&&this._toolInfos&&(this._timeout=setTimeout((()=>{clearTimeout(this._timeout),this._setToolbarSizeInfos();const t=this._toolbar.offsetWidth;let i=this._toolbarSizeInfos.reduce(((t,i)=>t+i.width),0);const s=["solutions-more","solutions-map-layer-picker-container","map-picker","solutions-action-share"];if(i>t){if(this._toolbarSizeInfos.length>0){const e=[...this._toolbarSizeInfos].reverse().reduce(((e,h)=>(s.indexOf(h.id)<0&&(i>t?i-=h.width:e.push(h)),e)),[]).reverse();this._setControlsThatFit(e,s)}}else if(this._defaultVisibleToolSizeInfos){const e=this._toolbarSizeInfos.reduce(((t,i)=>(t.push(i.id),t)),[]);let h=!1;const a=[...this._defaultVisibleToolSizeInfos].reduce(((a,o)=>(!h&&s.indexOf(o.id)<0&&(e.indexOf(o.id)>-1||i+o.width<=t)?(e.indexOf(o.id)<0&&(i+=o.width),a.push(o)):s.indexOf(o.id)<0&&i+o.width>t&&(h=!0),a)),[]);this._setControlsThatFit(a,s)}}),250))}_setControlsThatFit(t,i){let s=JSON.stringify(t)!==JSON.stringify(this._controlsThatFit);const e=document.getElementById("solutions-action-bar");e?.childNodes?.forEach((t=>{i.indexOf(t.id)<0&&!s&&(s=this._controlsThatFit.map((t=>t.id)).indexOf(t.id)<0)})),s&&(this._controlsThatFit=[...t])}_setToolbarSizeInfos(){let t=!1;this._toolbarSizeInfos=[],this._toolbar.childNodes.forEach(((i,s)=>{0===s?i.childNodes.forEach((i=>{this._toolbarSizeInfos.push({id:i.id,width:i.offsetWidth}),t||(t=i.offsetWidth>0)})):i.referenceElement||(this._toolbarSizeInfos.push({id:i.id,width:i.offsetWidth}),t||(t=i.offsetWidth>0))})),t&&!this._defaultVisibleToolSizeInfos&&(this._defaultVisibleToolSizeInfos=[...this._toolbarSizeInfos])}_getActionItems(){return this._toolInfos?.filter((t=>t&&!t.isOverflow))}_getDropdown(t){const i=this._getDropdownItems();return i.length>0?e("calcite-dropdown",{closeOnSelectDisabled:!0,disabled:void 0===this._layer,id:"solutions-more",onCalciteDropdownBeforeClose:()=>this._forceShowHide(),ref:t=>this._moreDropdown=t},e("calcite-action",{appearance:"solid",id:t,label:"",onClick:()=>this._closeShowHide(),slot:"trigger",text:""},e("calcite-button",{appearance:"transparent",iconEnd:"chevron-down",kind:"neutral"},this._translations.more)),e("calcite-dropdown-group",{"selection-mode":"none"},i.map((t=>e("calcite-dropdown-group",{class:`${t.disabled?"disabled":""} ${"trash"===t.icon?"delete-red":""}`,selectionMode:"none"},e("calcite-dropdown-item",{disabled:t.loading,iconStart:t.isSublist&&this._showHideOpen?"chevron-down":t.loading?"":t.icon,id:`layer-table-${t.icon}`,onClick:t.func},t.loading?e("div",{class:"display-flex"},e("calcite-loader",{inline:!0,label:t.label,scale:"m"}),t.label):t.label))))),this._showHideOpen?this._getFieldlist():void 0):void 0}_getDropdownItems(){return this._toolInfos?.filter((t=>t&&t.isOverflow))}_getAction(t,i,s,h,a,o,l,n){const c=void 0===this._layer||o;return e("div",{class:"display-flex",id:this._getId(i),slot:n},e("calcite-action",{active:t,appearance:"solid",disabled:c,icon:i,id:`layer-table-${i}`,indicator:s,label:h,loading:l,onClick:a,text:h,textEnabled:!0}),this._getToolTip("bottom",i,h))}_showDelete(){this.showDelete.emit({ids:this._getIds()})}_getShare(t){return e("div",{class:"share-action",id:this._getId(t)},e("instant-apps-social-share",{autoUpdateShareUrl:!1,class:"instant-app-share",embed:this.shareIncludeEmbed,popoverButtonIconScale:"s",ref:t=>this._shareNode=t,scale:"m",shareButtonColor:"neutral",shareButtonType:"action",socialMedia:this.shareIncludeSocial,view:this.mapView}),this._getToolTip("bottom",t,this._translations.share))}_updateShareUrl(){const t=this._shareNode?.shareUrl;if(!t)return;const i=new URL(t);this.mapInfo?.id?i.searchParams.set("webmap",this.mapInfo.id):i.searchParams.delete("webmap"),this._layer?.id?i.searchParams.set("layer",this._layer.id):i.searchParams.delete("layer"),this.selectedIds?.length>0?i.searchParams.set("oid",this.selectedIds.join(",")):i.searchParams.delete("oid"),i.searchParams.set("applayout",this.appLayout),this._shareNode.shareUrl=i.href}_getToolTip(t,i,s){return document.getElementById(i)?e("calcite-tooltip",{placement:t,"reference-element":i},e("span",null,s)):void 0}_getId(t){return`solutions-action-${t}`}_getDangerAction(t,i,s,h){const a=void 0===this._layer||h;return e("div",{class:"display-flex",id:this._getId(t)},e("calcite-action",{appearance:"solid",disabled:a,id:t,onClick:s,text:""},e("calcite-button",{appearance:"transparent",iconStart:t,kind:"danger"},i)),this._getToolTip("bottom",t,i))}_getIds(){return this._table?.highlightIds?.map((t=>parseInt(t.toString(),10))).toArray()}onTableNodeCreate=t=>{this._tableNode=t};async _getTable(t,i){this._layer&&(await this._layer.when((()=>{this._table=new this.FeatureTable({autoRefreshEnabled:this.enableAutoRefresh,layer:this._layer,view:this.mapView,columnReorderingEnabled:this.enableColumnReorder,editingEnabled:this._editEnabled&&this.enableInlineEdit,highlightEnabled:!0,multiSortEnabled:!1,visibleElements:{columnDescriptions:!1,header:!1,menu:!1,progress:!1},tableTemplate:{columnTemplates:i},container:t})})),await this._table.when((()=>{const t=this._table.highlightIds.on("change",(t=>{this._handleOnChange(t)}));this._table.viewModel.addHandles(t);const i=this.reactiveUtils.watch((()=>this._table.size),(t=>{this._size=t}));this._table.viewModel.addHandles(i)})))}async _handleOnChange(t){if(!await this._validateActiveEdits([...t.added],[...t.removed]))return;const i=[...this._getIds()];if(this._skipOnChange)this._skipOnChange=!1;else{if(!this._ctrlIsPressed&&!this._shiftIsPressed||this._selectionFromMap&&this._shiftIsPressed)if(this.selectedIds.length>0){this._skipOnChange=!0;const s=this.selectedIds.length>1&&1===t.removed.length?t.removed:i.filter((t=>this.selectedIds.indexOf(t)<0));this._tempSelectedIds=s.length?[...s]:[...this.selectedIds],this._clearSelection(),this.selectedIds=[...s],s.length>0?this._table.highlightIds.add(s[0]):this._skipOnChange=!1}else this.selectedIds=i.reverse(),this._tempSelectedIds=[...this.selectedIds];else if(this._ctrlIsPressed)this.selectedIds=i.reverse(),this._tempSelectedIds=[...this.selectedIds];else if(this._shiftIsPressed&&i?.length>0)if(this._skipOnChange=!0,this._previousCurrentId=this._currentId,this._currentId=[...i].reverse()[0],1===i.length)this._skipOnChange=!1;else if(this._previousCurrentId!==this._currentId){const t=this._table.activeSortOrders.reduce(((t,i)=>(t.push(`${i.fieldName} ${i.direction}`),t)),[]);let s=!1;setTimeout((()=>{s||(this._queryingData=!0)}),500);const e=await d(0,this._layer,[],t);s=!0,this._queryingData=!1;let h=!1;const a=this._table.viewModel.getObjectIdIndex(this._previousCurrentId),o=this._table.viewModel.getObjectIdIndex(this._currentId);this._skipOnChange=(a<o?a:o)+1!==(o>a?o:a);const l=e.reduce(((t,i)=>{const s=i;return s===this._currentId||s===this._previousCurrentId?(h=!h,t.indexOf(s)<0&&t.push(s)):h&&t.indexOf(s)<0&&t.push(s),t}),[]),n=a<o?l.reverse():l;this.selectedIds=[...new Set([...n,...this.selectedIds])],this._tempSelectedIds=[...this.selectedIds],this._table.highlightIds.addMany(this.selectedIds.filter((t=>i.indexOf(t)<0)))}this._finishOnChange()}this._currentId=[...this._getIds()].reverse()[0],this._selectionFromMap=!1}async _validateActiveEdits(t,i){let s=!0;if(this._editor&&!this._skipEditCheck){if(this._hasPendingEdits()){let e=!1;try{await this._editor.cancelWorkflow({force:!1})}catch(t){e="workflow:cancel-denied"===t.name}e&&(s=!1,this._skipEditCheck=!0,t.length>0?this._table.highlightIds.removeMany(t):i.length>0&&this._table.highlightIds.addMany(i))}}else s=!this._skipEditCheck,this._skipEditCheck=!1;return s}_hasPendingEdits(){const t=this._editor?.viewModel?.hasPendingEdits,i=this._editor?.activeWorkflow?.activeWorkflow?.hasPendingEdits;return t||i}_finishOnChange(){this._showOnlySelected&&(this._featuresSelected()?this._table.filterBySelection():this._toggleShowSelected()),this.featureSelectionChange.emit(this.selectedIds)}_resetColumnTemplates(){const t=this._getColumnTemplates(this._layer?.id,this._layer?.fields),i=t?.some(((t,i)=>JSON.stringify(this._table?.tableTemplate.columnTemplates[i])!==JSON.stringify(t)));if(this._table&&t&&(i||!this._columnsInfo)){this._table.tableTemplate=new this.TableTemplate({columnTemplates:t});const i=t.map((t=>t.fieldName));this._initColumnsInfo(i)}}async _resetTable(){if(this._loaded=!1,this._clearSelection(),this._allIds=await r(this._layer),this._table)this._table.view=this.mapView,this._table.layer=this._layer;else{const t=this._getColumnTemplates(this._layer.id,this._layer?.fields);await this._getTable(this._tableNode,t)}await this._initLayerRefresh(),this._checkEditEnabled(),this._table.editingEnabled=this._editEnabled&&this.enableInlineEdit,await this._table.when(),setTimeout((()=>{this._loaded||this.finishLoading()}),1e3),await this.reactiveUtils.once((()=>"loaded"===this._table.state)).then((async()=>{await this.finishLoading()}))}async finishLoading(){try{this._loaded=!0,this._table.highlightIds.removeAll(),this._table.objectIds.removeAll(),this._resetColumnTemplates(),this._showOnlySelected=!1,await this._handleDefaults(),await this._sortTable(),this._initToolInfos(),this._updateToolbar()}catch(t){console.log(t)}}async _initLayerRefresh(){this._refreshHandle&&this._refreshHandle.remove(),this._refreshHandle=this._layer.on("refresh",(t=>{t.dataChanged&&(this._skipOnChange=!0,this._updateAllIds())}))}async _updateAllIds(){this._allIds=await r(this._layer),this.selectedIds=this.selectedIds.filter((t=>this._allIds.indexOf(t)>-1)),await this._refresh()}async _handleDefaults(){if(!this._defaultOidHonored&&this.defaultOid?.length>0&&this.defaultOid[0]>-1&&this._table&&(await this._selectDefaultFeature(this.defaultOid),this._defaultOidHonored=!0,this.defaultOid=void 0,this._showOnlySelected=!1,this._toggleShowSelected()),!this._defaultGlobalIdHonored&&this.defaultGlobalId?.length>0&&this._table){const t=await p(this.defaultGlobalId,this._layer),i=t?.length>0?t.map((t=>t.getObjectId())):void 0;i&&await this._selectDefaultFeature(i),this._defaultGlobalIdHonored=!0,this.defaultGlobalId=void 0,this._showOnlySelected=!1,this._toggleShowSelected()}}_initColumnsInfo(t){const i=this._table?.columns.reduce(((i,s)=>((!t||t?.indexOf(s.name)>-1)&&(i[s.name]=!s.hidden),i)),{}),s=this._table?.columns.map((t=>t.name));(t?t.filter((t=>s.indexOf(t)<0)):[]).forEach((t=>{i[t]=!0})),this._columnsInfo=t?t.reduce(((t,s)=>(t[s]=i[s],t)),{}):i}async _selectDefaultFeature(t){t.length>0&&this._table.highlightIds.addMany(t)}_checkEditEnabled(){this._editEnabled=this._layer.editingEnabled&&this._layer.capabilities.operations.supportsUpdate,this._deleteEnabled=this._layer.editingEnabled&&this._layer.capabilities.operations.supportsDelete}async _sortTable(){let t,i=this._layer?.objectIdField,s="desc";this.mapInfo?.layerOptions?.layers?.length>0&&this._layer?.id&&(t=this.mapInfo.layerOptions.layers.filter((t=>t.id===this._layer.id)),t&&t.length>0&&(t=t[0],t.sortField&&t.fields?.includes(t.sortField)&&(i=t.sortField),s=t?.sortOrder?t.sortOrder:"desc")),this._table&&this._layer&&(await this._table.when(),await this._layer.when((()=>{this._table.sortColumn(i,s)})))}_forceShowHide(){this._showHideDropdown&&(this._showHideDropdown.open=this._showHideOpen),this._moreDropdown&&(this._moreDropdown.open=this._showHideOpen)}_toggleShowHide(){this._showHideOpen=!this._showHideOpen}_closeShowHide(){this._showHideOpen=!1}_handleDocumentClick(t){const i=t.target?.id;i.startsWith("layer-table-")?this._moreDropdown.open=!0:this._showHideOpen&&Object.keys(this._columnsInfo).indexOf(i)<0&&"chevron-right"!==i&&(this._closeShowHide(),this._moreDropdown&&(this._moreDropdown.open=!1),this._showHideDropdown&&(this._showHideDropdown.open=!1))}_handleKeyDown(t){this._ctrlIsPressed=t.ctrlKey,this._shiftIsPressed=t.shiftKey}_handleKeyUp(t){this._ctrlIsPressed=t.ctrlKey,this._shiftIsPressed=t.shiftKey}_filterModal(){return alert("_filterModal how does this one get hit??"),e("calcite-dialog",{class:"filter-content-space",heading:this._translations?.filter?.replace("{{title}}",this._layer?.title),id:"solutions-filter-dialog",kind:"brand",modal:!0,onCalciteDialogClose:()=>{this._closeFilter()},open:this._filterOpen,widthScale:"s"},e("instant-apps-filter-list",{autoUpdateUrl:!1,closeBtn:!0,closeBtnOnClick:async()=>this._closeFilter(),comboboxOverlayPositioning:"fixed",layerExpressions:this._layerExpressions,onFilterListReset:()=>{this._handleFilterListReset()},onFilterUpdate:()=>{this._handleFilterUpdate(this._filterList.filterCount>0)},ref:t=>this._filterList=t,view:this.mapView,zoomBtn:!1}))}async _handleFilterListReset(){this._filterActive=!1,this._updateShareUrl(),await this._searchFullText()}async _handleFilterUpdate(t){const i=this._layer.definitionExpression;if(this._floorExpression){const t=new RegExp(`${this._floorField} = ['].+[']`,"gm");this._layer.definitionExpression=i&&this._floorField&&i.indexOf(`${this._floorField} = '`)>-1?i.replace(t,this._floorExpression):i?`${i} AND (${this._floorExpression})`:this._floorExpression}this._filterActive=t,this._updateShareUrl(),await this._searchFullText()}async _closeFilter(){this._filterOpen&&(this._allIds=await r(this._layer),this._filterOpen=!1)}async _mapClicked(t){const i={include:this._layer},s=await this.mapView.hitTest(t.screenPoint,i);s.results.length>0?(s.results.forEach((t=>{const i=t.graphic.getObjectId();this._table.highlightIds.indexOf(i)<0&&(this._selectionFromMap=!0,this._table.highlightIds.add(i))})),this._showOnlySelected&&this._table.filterBySelection()):await this.clearSelection()}async _selectAll(){const t=this._allIds,i=t.filter((t=>this.selectedIds.indexOf(t)<0));await this._validateActiveEdits(i,this.selectedIds)?(this._table.highlightIds.removeAll(),this._skipOnChange=!0,this._table.highlightIds.addMany(t),this.selectedIds=t,this._finishOnChange(),this._selectAllActive=!0):this._skipEditCheck=!1}_toggleShowSelected(){this._showOnlySelected=!this._showOnlySelected,this._showOnlySelected?this._table.filterBySelection():this._table.objectIds.removeAll()}_clearSelection(){this.selectedIds=[],this._table?.highlightIds.removeAll(),this._table?.rowHighlightIds.removeAll(),this._finishOnChange()}_toggleFilter(){this._filterOpen=!this._filterOpen}_initLayerExpressions(){const t=this.mapInfo?.filterConfig?.layerExpressions;this._layerExpressions=t?t.filter((t=>t.id===this._layer?.id)):[],this._filterList.layerExpressions=this._layerExpressions,this._filterActive=this._layerExpressions.filter((t=>t.expressions.filter((t=>t.active)).length>0)).length>0}async _switchSelected(){const t=[...this.selectedIds],i=this._allIds.reduce(((i,s)=>(t.indexOf(s)<0&&i.push(s),i)),[]).sort(((t,i)=>t-i));await this._validateActiveEdits(i,t)?(this._table.highlightIds.removeAll(),this._skipOnChange=!0,this._table.highlightIds.addMany(i),this.selectedIds=i,this._finishOnChange()):this._skipEditCheck=!1}async _exportToCSV(){const t={},i=this._getIds();t[this._layer.id]={selectionSetNames:[this._layer.title],ids:i,layer:this._layer};const s=this._table.columns.toArray().reduce(((t,i)=>(i.hidden||t.push(i.name.toLocaleLowerCase()),t)),[]);this._updateToolInfoLoading("export",!0),this._csvExporting=!0,await f(null,t,!1,!1,!0,s,!0,!0),this._updateToolInfoLoading("export",!1),this._csvExporting=!1}_updateToolInfoLoading(t,i){this._toolInfos.some((s=>{if(s?.icon===t)return s.loading=i,!0}))}async _refresh(){await this._validateActiveEdits([],this.selectedIds)&&(await this._table.refresh(),this._allIds=await r(this._layer),this.featureSelectionChange.emit(this.selectedIds))}async _zoom(){if(this._layer){const t=await b(this.mapView,this._layer.id);await c(this.selectedIds,t,this.mapView,!0,void 0,this.zoomToScale)}}async _layerSelectionChanged(t){const i=t.detail[0];if(i!==this._layer?.id||this._featuresEmpty()){this._fetchingData=!0;const t=await l(this.mapView,i);t&&await t.when((()=>{this._layer=t,this._getFullTextSearchInfo()}))}this._fetchingData=!1}_getColumnTemplates(t,i){let s;this.mapInfo?.layerOptions?.layers.some((i=>{if(i.id===t)return s=i,!0}));const e=this._layer?.attributeTableTemplate?.elements;let h=[];e?.length>0&&this.honorMapFieldSettings&&(h=e.map((t=>t.fieldName)));const a=s?.fields&&s?.fieldOrder?s.fieldOrder.filter((t=>s.fields.indexOf(t)>-1)):h.length>0?h:void 0;let o;return i&&(o=i.reduce(((t,i)=>{const e={type:"field",fieldName:i.name,label:i.alias,menuConfig:this._getMenuConfig(i.name)};return s&&s?.fields?s.fields.indexOf(i.name)>-1&&t.push(e):h.length>0?h.indexOf(i.name)>-1&&t.push(e):t.push(e),t}),[])),a?o?.sort(this._sortFields.bind(this,a)):o}_sortFields(t,i,s){return t?.indexOf(i.fieldName)-t.indexOf(s.fieldName)}_getMenuConfig(t){return{items:[{label:this._translations.hideField,icon:"view-hide",autoCloseMenu:!0,clickFunction:()=>{this._handleHideClick(t)}}]}}_handleHideClick(t){this._columnsInfo[t]=!1,this._table.hideColumn(t),this._table.tableTemplate.columnTemplates.forEach((i=>{i.fieldName===t&&(i.visible=!1)}))}async _getTranslations(){const t=await a(this.el);this._translations=t[0]}static get watchers(){return{appLayout:["appLayoutWatchHandler"],defaultOid:["defaultOidWatchHandler"],defaultGlobalId:["defaultGlobalIdWatchHandler"],enableCSV:["enableCSVWatchHandler"],enableInlineEdit:["enableInlineEditWatchHandler"],enableShare:["enableShareWatchHandler"],_controlsThatFit:["_controlsThatFitWatchHandler"],locale:["localeWatchHandler"],mapHidden:["mapHiddenWatchHandler"],isMobile:["isMobileWatchHandler"],mapInfo:["mapInfoWatchHandler"],mapView:["mapViewWatchHandler"],_layer:["_layerWatchHandler"],selectedIds:["selectedIdsWatchHandler"]}}};function v(t){return function(t){return-1!==t?.indexOf("http://")}(t)?t.replace(/^http:\/\//,"https://"):t}m.style=':host{display:block}.height-full{height:100%}.height-full-adjusted{height:calc(100% - 20px)}.width-full{width:100%}.display-flex{display:flex}.table-border{border:1px solid var(--calcite-color-border-2)}.border-end{border-inline-end:1px solid var(--calcite-color-border-2)}.border-bottom{border-bottom:1px solid var(--calcite-color-border-2)}.padding-5{padding:5px}.padding-end-1{padding-inline-end:1rem}.height-51-px{height:51px}.height-50-px{height:50px}.bottom-left{position:absolute;left:0;bottom:0;padding-left:5px}html[dir="rtl"] .bottom-left{position:absolute;right:0;bottom:0;padding-right:5px}.height-19{height:19px}.background{background-color:var(--calcite-color-background)}.text-color{color:var(--calcite-color-text-1)}.align-center{align-items:center}.danger-color{color:var(--calcite-color-status-danger)}.esri-feature-table vaadin-grid{border:none !important}vaadin-grid-cell-content{font-size:14px !important;color:var(--calcite-color-text-3) !important}.share-action{position:absolute;right:0}html[dir="rtl"] .share-action{left:0}.disabled{cursor:default !important;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled);pointer-events:none}.instant-app-share{height:50px !important;display:inline-flex}.border-top{border-top:1px solid var(--calcite-color-border-2)}.modal{--calcite-modal-content-padding:0}.esri-feature-table__table-container{height:100%}.search-container{background-color:var(--calcite-color-foreground-1) !important}.search{--calcite-color-border-input:var(--calcite-color-border-3);width:60%;padding:10px}.delete-red{--calcite-icon-color:var(--calcite-color-status-danger);--calcite-color-text-1:var(--calcite-color-status-danger);--calcite-color-text-3:var(--calcite-color-status-danger)}';const w=class{constructor(s){t(this,s),this.mapChanged=i(this,"mapChanged",7),this.beforeMapChanged=i(this,"beforeMapChanged",7),this.toggleFilter=i(this,"toggleFilter",7),this.clearSelection=i(this,"clearSelection",7),this.appLayout=void 0,this.appProxies=void 0,this.defaultWebmapId="",this.defaultLayerId=void 0,this.enableHome=void 0,this.enableLegend=void 0,this.enableFloorFilter=void 0,this.enableFullscreen=void 0,this.enableShare=!1,this.enableSingleExpand=!0,this.enableSearch=void 0,this.enableBasemap=void 0,this.basemapConfig=void 0,this.hidden=void 0,this.homeZoomIndex=3,this.homeZoomPosition="top-left",this.homeZoomToolsSize="m",this.locale=void 0,this.mapInfos=[],this.mapWidgetsIndex=0,this.mapWidgetsPosition="top-right",this.mapWidgetsSize="m",this.mapView=void 0,this.stackTools=!0,this.theme=void 0,this.toolOrder=void 0,this.isMapLayout=void 0,this.shareIncludeEmbed=void 0,this.shareIncludeSocial=void 0,this.selectedFeaturesIds=void 0,this.selectedLayer=void 0,this.zoomToScale=void 0,this.onlyShowUpdatableLayers=void 0,this.isMobile=void 0,this.mapInfo=void 0,this._translations=void 0,this._searchConfiguration=void 0,this._webMapInfo=void 0,this._showHideOpen=!1,this._toolInfos=void 0,this._controlsThatFit=void 0}get el(){return s(this)}esriConfig;Home;MapView;WebMap;_defaultWebmapHonored=!1;_homeWidget;_loadedId="";_mapDiv;_mapPicker;_mapTools;_moreDropdown;_mapListExpanded=!1;_filterActive=!1;_definitionExpression;_mapLayerPicker;_resizeObserver;_shareNode;_showHideDropdown;_toolbar;_timeout;_toolbarSizeInfos;_defaultVisibleToolSizeInfos;_observerSet=!1;appLayoutWatchHandler(){this._updateShareUrl()}enableHomeWatchHandler(){this._initHome()}enableShareWatchHandler(){this._toolbar&&this._updateToolbar()}async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}async mapViewWatchHandler(){this.mapView&&this._updateShareUrl()}async selectedLayerWatchHandler(){await(this.selectedLayer?.when((async()=>{this._definitionExpression=this.selectedLayer.definitionExpression})))}async selectedFeaturesIdsWatchHandler(){this._updateShareUrl(),this._validateEnabledActions()}_controlsThatFitWatchHandler(){const t=this._controlsThatFit?this._controlsThatFit.reduce(((t,i)=>(t.push(i.id),t)),[]):[];this._toolInfos=this._toolInfos?.map((i=>{if(i&&this._controlsThatFit){const s=this._getId(i.icon);return i.isOverflow=t.indexOf(s)<0,i}}))}async resetFilter(){this._filterActive=!1,this._updateShareUrl()}async updateFilterState(t){this._filterActive=t,this._updateShareUrl()}async updateLayer(){this._mapLayerPicker.updateLayer()}mapChanged;beforeMapChanged;toggleFilter;clearSelection;async mapInfoChange(t){await this._loadMap(t.detail)}noLayersFound(){this.selectedLayer=void 0,this.selectedFeaturesIds=[]}layerSelectionChange(){setTimeout((()=>{this._initToolInfos()}),50)}async componentWillLoad(){await this._getTranslations(),await this._initModules(),this._initToolInfos(),this._resizeObserver||(this._resizeObserver=new ResizeObserver((()=>this._updateToolbar())))}render(){const t=this.isMapLayout?"display-flex height-49-px":"",i=this.hidden?"visibility-hidden-1":"",s="dark"===this.theme?"calcite-mode-dark":"calcite-mode-light",a=this.mapInfos?.length>1||this.isMapLayout?"map-height":"height-full",o=this.isMapLayout?"":"display-none";return this._validateActiveActions(),e(h,{key:"a47f4ac21db985fb91ff3f5378594f60405f312c"},e("div",{key:"fdf76fd829a8e88725b43f8174a0d95fbf7a3dd1",class:`${t} width-full`,ref:t=>this._toolbar=t},this._getActionBar(),!this.isMobile&&this.isMapLayout&&this._getDropdown("more-table-options"),this.enableShare&&!this.isMobile&&this.isMapLayout?this._getShare("share"):void 0),e("calcite-progress",{key:"b5b672726b4a4c812c386faad2077135a1e1231c",class:o,value:0}),e("div",{key:"f815ef4dba45b53c0ec4a49fe12e741b3331ce51",class:`${a} ${i}`,ref:t=>this._mapDiv=t}),e("map-tools",{key:"8e2ed31f49d349786caa4827a473a8e70e6ae611",basemapConfig:this.basemapConfig,class:`box-shadow ${s}`,enableBasemap:this.enableBasemap,enableFloorFilter:this.enableFloorFilter,enableFullscreen:this.enableFullscreen,enableHome:this.enableHome,enableLegend:this.enableLegend,enableSearch:this.enableSearch,enableSingleExpand:this.enableSingleExpand,homeZoomToolsSize:this.homeZoomToolsSize,locale:this.locale,mapView:this.mapView,mapWidgetsSize:this.mapWidgetsSize,position:this.mapWidgetsPosition,ref:t=>this._mapTools=t,searchConfiguration:this._searchConfiguration,stackTools:this.stackTools,toolOrder:this.toolOrder}))}async componentDidRender(){this.isMapLayout&&this._updateToolbar(),document.onclick=t=>this._handleDocumentClick(t)}async componentDidLoad(){this.isMobile||this._observerSet||(this._resizeObserver.observe(this._toolbar),this._observerSet=!0),this._updateShareUrl()}async _initModules(){const[t,i,s,e]=await o(["esri/WebMap","esri/views/MapView","esri/widgets/Home","esri/config"]);this.WebMap=t,this.MapView=i,this.Home=s,this.esriConfig=e}async _loadMap(t){const i=!this._defaultWebmapHonored&&this.defaultWebmapId,s=this.mapInfos?.filter((t=>t.id===this.defaultWebmapId)),e=JSON.stringify(t)!==JSON.stringify(this._webMapInfo);this._webMapInfo=i&&s?s[0]:!t?.id&&this.mapInfos.length>0?this.mapInfos[0]:t;const h=this._webMapInfo.id,a=i&&t?.id===this.defaultWebmapId;if(this._loadedId!==h&&!i||a){const t=new this.WebMap({portalItem:{id:h}});this.appProxies&&(await t.load(),await(o=t,l=this.esriConfig,n=this.appProxies,n&&n.forEach((t=>{o.allLayers.forEach((i=>{i&&i.url===t.sourceUrl&&(i.url=v(t.proxyUrl),i.portalItem&&i.portalItem.when((()=>{i.portalItem.url=v(t.proxyUrl)})),l.request?.interceptors?.push({urls:t.sourceUrl,before:i=>{i.url&&i.url===t.sourceUrl&&(i.url=v(t.proxyUrl))}}))}))})),o)),this.mapView=new this.MapView({container:this._mapDiv,map:t,resizeAlign:"center"}),this._loadedId=h,this._searchConfiguration=this._webMapInfo.searchConfiguration,this.beforeMapChanged.emit(),await this.mapView.when((()=>{this._initHome(),this.mapView.ui.add(this._mapTools,{position:this.mapWidgetsPosition,index:this.mapWidgetsIndex}),this._defaultWebmapHonored=!!a||this._defaultWebmapHonored,this.mapChanged.emit({id:h,mapView:this.mapView})}))}else i?(this._defaultWebmapHonored=!0,this._mapPicker.setMapByID(h)):e&&(this._searchConfiguration=this._webMapInfo.searchConfiguration,this.beforeMapChanged.emit(),this.mapChanged.emit({id:h,mapView:this.mapView}));var o,l,n;this._updateShareUrl()}_updateToolbar(){this._timeout&&clearTimeout(this._timeout),!this.isMobile&&this._toolbar&&this._toolInfos&&(this._timeout=setTimeout((()=>{clearTimeout(this._timeout),this._setToolbarSizeInfos();const t=this._toolbar.offsetWidth;let i=this._toolbarSizeInfos.reduce(((t,i)=>t+i.width),0);const s=["solutions-more","solutions-map-layer-picker-container","map-picker","solutions-action-share"];if(i>t){if(this._toolbarSizeInfos.length>0){const e=[...this._toolbarSizeInfos].reverse().reduce(((e,h)=>(s.indexOf(h.id)<0&&(i>t?i-=h.width:e.push(h)),e)),[]).reverse();this._setControlsThatFit(e,s)}}else if(this._defaultVisibleToolSizeInfos){const e=this._toolbarSizeInfos.reduce(((t,i)=>(t.push(i.id),t)),[]);let h=!1;const a=[...this._defaultVisibleToolSizeInfos].reduce(((a,o)=>(!h&&s.indexOf(o.id)<0&&(e.indexOf(o.id)>-1||i+o.width<=t)?(e.indexOf(o.id)<0&&(i+=o.width),a.push(o)):s.indexOf(o.id)<0&&i+o.width>t&&(h=!0),a)),[]);this._setControlsThatFit(a,s)}}),250))}_setControlsThatFit(t,i){let s=JSON.stringify(t)!==JSON.stringify(this._controlsThatFit);const e=document.getElementById("solutions-action-bar");e?.childNodes?.forEach((t=>{i.indexOf(t.id)<0&&!s&&(s=this._controlsThatFit.map((t=>t.id)).indexOf(t.id)<0)})),s&&(this._controlsThatFit=[...t])}_setToolbarSizeInfos(){let t=!1;this._toolbarSizeInfos=[],this._toolbar.childNodes.forEach(((i,s)=>{0===s?i.childNodes.forEach((i=>{this._toolbarSizeInfos.push({id:i.id,width:i.offsetWidth}),t||(t=i.offsetWidth>0)})):i.referenceElement||(this._toolbarSizeInfos.push({id:i.id,width:i.offsetWidth}),t||(t=i.offsetWidth>0))})),t&&!this._defaultVisibleToolSizeInfos&&(this._defaultVisibleToolSizeInfos=[...this._toolbarSizeInfos])}_getActionBar(){const t=this.mapInfos?.length>1?"":"display-none",i=this.isMapLayout?"display-flex":"display-block",s=this.isMobile?"border-top":"",h=this.isMapLayout?"":"display-none";return e("calcite-action-bar",{class:i,expandDisabled:!0,expanded:!0,id:this._getId("bar"),layout:"horizontal"},e("map-picker",{class:t,id:"map-picker",isMapLayout:this.isMapLayout,locale:this.locale,mapInfos:this.mapInfos,ref:t=>this._mapPicker=t}),e("div",{class:`mapView-header display-flex ${h}`,id:"solutions-map-layer-picker-container"},e("div",{class:`border-end ${i} ${s}`},this.mapView&&e("map-layer-picker",{appearance:"transparent",defaultLayerId:this.defaultLayerId,display:"inline-flex",height:50,isMobile:this.isMobile,locale:this.locale,mapView:this.mapView,onlyShowUpdatableLayers:this.onlyShowUpdatableLayers,placeholderIcon:"layers",ref:t=>this._mapLayerPicker=t,scale:"l",selectedIds:this.selectedLayer?[this.selectedLayer.id]:[],showSingleLayerAsLabel:!0,showTables:!0,showTablesDisabled:!0,type:"dropdown"}))),!this.isMobile&&this.isMapLayout?this._getActions():void 0)}_getDropdown(t){const i=this._getDropdownItems();return i.length>0?e("calcite-dropdown",{closeOnSelectDisabled:!0,disabled:void 0===this.selectedLayer,id:"solutions-more",onCalciteDropdownBeforeClose:()=>this._forceShowHide(),ref:t=>this._moreDropdown=t},e("calcite-action",{appearance:"solid",id:t,label:"",onClick:()=>this._closeShowHide(),slot:"trigger",text:""},e("calcite-button",{appearance:"transparent",iconEnd:"chevron-down",kind:"neutral"},this._translations.more)),e("calcite-dropdown-group",{"selection-mode":"none"},i.map((t=>e("calcite-dropdown-group",{class:t.disabled?"disabled":"",selectionMode:"none"},e("calcite-dropdown-item",{disabled:t.loading,iconStart:t.icon,id:"solutions-subset-list",onClick:t.func},t.loading?e("div",{class:"display-flex"},e("calcite-loader",{inline:!0,label:t.label,scale:"m"}),t.label):t.label)))))):void 0}_getShare(t){return e("div",{class:"share-action",id:this._getId(t)},e("instant-apps-social-share",{autoUpdateShareUrl:!1,class:"instant-app-share",embed:this.shareIncludeEmbed,popoverButtonIconScale:"s",ref:t=>{this._shareNode=t,this._updateShareUrl()},scale:"m",shareButtonColor:"neutral",shareButtonType:"action",socialMedia:this.shareIncludeSocial,view:this.mapView}),this._getToolTip("bottom",t,this._translations.share))}_updateShareUrl(){const t=this._shareNode?.shareUrl;if(!t)return;const i=new URL(t);this._loadedId?i.searchParams.set("webmap",this._loadedId):i.searchParams.delete("webmap"),this.selectedLayer?.id?i.searchParams.set("layer",this.selectedLayer.id):i.searchParams.delete("layer"),this.selectedFeaturesIds?.length>0?i.searchParams.set("oid",this.selectedFeaturesIds.join(",")):i.searchParams.delete("oid"),i.searchParams.set("applayout",this.appLayout),this._shareNode.shareUrl=i.href}_closeShowHide(){this._showHideOpen=!1}_getDropdownItems(){return this._toolInfos?.filter((t=>t&&t.isOverflow))}_initToolInfos(){const t=this.selectedFeaturesIds?.length>0,i=this._hasFilterExpressions(),s=this.selectedFeaturesIds?.length>1&&!1;this._translations&&(this._toolInfos=[{active:!1,icon:"zoom-to-object",indicator:!1,label:this._translations.zoom,func:()=>this._zoom(),disabled:!t,isOverflow:!1},i?{active:!1,icon:"filter",indicator:!1,label:this._translations.filters,func:()=>this._toggleFilter(),disabled:!1,isOverflow:!1}:void 0,s?{active:!1,icon:"pencil",indicator:!1,label:this._translations.editMultiple,func:()=>alert(this._translations.editMultiple),disabled:!s,isOverflow:!1}:void 0,{active:!1,icon:"refresh",indicator:!1,label:this._translations.refresh,func:()=>this.selectedLayer.refresh(),disabled:!1,isOverflow:!1},{active:!1,icon:"erase",indicator:!1,label:this._translations.clearSelection,func:()=>this.clearSelection.emit(),disabled:!t,isOverflow:!1}],this._defaultVisibleToolSizeInfos=void 0)}_validateActiveActions(){const t=["filter"];this._toolInfos?.forEach((i=>{i&&t.indexOf(i.icon)>-1&&"filter"===i.icon&&(i.indicator=this._filterActive)}))}_validateEnabledActions(){const t=this.selectedFeaturesIds?.length>0,i=this.selectedFeaturesIds?.length>1&&this.selectedLayer?.capabilities?.operations?.supportsUpdate,s=["zoom-to-object","pencil","erase"];this._toolInfos?.forEach((e=>{e&&s.indexOf(e.icon)>-1&&(e.disabled="pencil"===e.icon?!i:!t)}))}_initHome(){if(this.enableHome){this._homeWidget=new this.Home({view:this.mapView}),this.mapView.ui.add(this._homeWidget,{position:this.homeZoomPosition,index:this.homeZoomIndex});const t="s"===this.homeZoomToolsSize?"32px":"m"===this.homeZoomToolsSize?"40px":"48px";this._homeWidget.domNode.style.height=t,this._homeWidget.domNode.style.width=t}else this._homeWidget&&this.mapView.ui.remove(this._homeWidget)}_toggleShowHide(){this._showHideOpen=!this._showHideOpen}_forceShowHide(){this._moreDropdown&&(this._moreDropdown.open=this._showHideOpen)}_handleDocumentClick(t){const i=t.target?.id;"solutions-subset-list"===i?this._moreDropdown.open=!0:this._showHideOpen&&"solutions-subset-list"!==i&&"solutions-more"!==i&&"chevron-down"!==i&&this._moreDropdown&&(this._showHideOpen=!1,this._moreDropdown.open=!1),"MAP-PICKER"===t.target.tagName&&(this._mapListExpanded=!this._mapListExpanded,this._mapPicker.toggle(this._mapListExpanded)),"MAP-PICKER"!==t.target.tagName&&(this._mapListExpanded=!1,this._mapPicker.close())}async _zoom(){if(this.selectedLayer){const t=await b(this.mapView,this.selectedLayer.id);await c(this.selectedFeaturesIds,t,this.mapView,!0,void 0,this.zoomToScale)}}async _toggleFilter(){this.toggleFilter.emit()}_hasFilterExpressions(){let t;return this.mapInfo?.filterConfig?.layerExpressions&&this.selectedLayer?.id&&(t=this.mapInfo.filterConfig.layerExpressions.filter((t=>t.id===this.selectedLayer.id))),t?.length>0}_getActions(){const t=this._getActionItems();return t?.reduce(((t,i)=>(i&&!i.isOverflow&&t.push(this._getAction(i.active,i.icon,i.indicator,i.label,i.func,i.disabled,i.loading)),t)),[])}_getToolTip(t,i,s){return document.getElementById(i)?e("calcite-tooltip",{placement:t,"reference-element":"map-"+i},e("span",null,s)):void 0}_getActionItems(){return this._toolInfos?.filter((t=>t&&!t.isOverflow))}_getAction(t,i,s,h,a,o,l,n){const c=void 0===this.selectedLayer||o;return e("div",{class:"display-flex",id:this._getId(i),slot:n},e("calcite-action",{active:t,appearance:"solid",disabled:c,icon:i,id:"map-"+i,indicator:s,label:h,loading:l,onClick:a,text:h,textEnabled:!0}),this._getToolTip("bottom",i,h))}_getId(t){return`solutions-action-${t}`}async _getTranslations(){const t=await a(this.el);this._translations=t[0]}static get watchers(){return{appLayout:["appLayoutWatchHandler"],enableHome:["enableHomeWatchHandler"],enableShare:["enableShareWatchHandler"],locale:["localeWatchHandler"],mapView:["mapViewWatchHandler"],selectedLayer:["selectedLayerWatchHandler"],selectedFeaturesIds:["selectedFeaturesIdsWatchHandler"],_controlsThatFit:["_controlsThatFitWatchHandler"]}}};w.style=":host{display:block;--calcite-label-margin-bottom:0;--calcite-block-padding:0}.map-height{height:calc(100% - 53px)}.height-full{height:100%}.height-49-px{height:49px}.box-shadow{box-shadow:none !important}.visibility-hidden-1{visibility:hidden;height:1px;}.display-none{display:none}.display-block{display:block}";export{u as card_manager,m as layer_table,w as map_card}
@@ -1,6 +0,0 @@
1
- /*!
2
- * Copyright 2022 Esri
3
- * Licensed under the Apache License, Version 2.0
4
- * http://www.apache.org/licenses/LICENSE-2.0
5
- */
6
- import{r as e,g as a,h as i,H as t}from"./p-e996c38f.js";import{c as l}from"./p-747d4b59.js";const s=class{constructor(a){e(this,a),this.showAddDeduct=!1}get el(){return a(this)}_deductValuesElement;render(){const e=this.showAddDeduct?"position-relative":"display-none";return i(t,{key:"6ee5741fe10030324155d5f05a9e4a0eeb337028"},i("div",{key:"14e0c3495ad57d8d1ec4da9b6c5df80323ef1735",class:this.showAddDeduct?"display-none":"display-grid"},i("div",{key:"ef2e48f06b194ee7806e2f6b5c60d77e17ac1e5f",class:"label-display"},i("calcite-label",{key:"60695651cdad1e30570f76f3621740fb8c0b62e9",class:"label-display"},"Enter comma delimited deduct values",this._getDeductValuesInput())),i("div",{key:"19e2db05e7b45fb012892ffa539cb2037da9f449"},this._getCalculateButton())),i("div",{key:"4a2cd1a80a86d2ba7e4b24935dbebbaecd316cd0",class:e},i("div",{key:"f288ef667dd2532c8f409ef12a033d6b4f13ad7e",class:"position-right"},i("calcite-action",{key:"0d62669dd9660098f6ac4eb10334c5a9ea3897aa",appearance:"transparent",class:"float-end",icon:"x",onClick:()=>this._toggleShowAddDeduct(),scale:"s",text:""})),i("deduct-calculator",{key:"dd0a3cb656e7e2c707b1956e40e8a597d8972cfa",class:"display-grid padding-top-1",onDeductValueComplete:e=>this._addDeductValue(e)})))}_getDeductValuesInput(){return i("div",{class:"display-flex"},i("calcite-input",{class:"main-input",ref:e=>{this._deductValuesElement=e}}),i("calcite-action",{appearance:"transparent",icon:"plus-circle",onClick:()=>this._toggleShowAddDeduct(),scale:"s",text:""}))}_getCalculateButton(){return i("calcite-button",{onClick:()=>this._calculatePCI(this._deductValuesElement.value)},"Calculate PCI")}_toggleShowAddDeduct(){this.showAddDeduct=!this.showAddDeduct}_addDeductValue(e){this._toggleShowAddDeduct(),this._deductValuesElement.value+=Math.abs(parseFloat(this._deductValuesElement.value))>0?`,${e.detail}`:e.detail}_calculatePCI(e){const a=l(e,!0),i=a<=10?"Failed":a<=25?"Serious":a<=40?"Very Poor":a<=55?"Poor":a<=70?"Fair":a<=85?"Satisfactory":"Good";console.log(`PCI: ${a}`),console.log(`Rating: ${i}`),alert("See debug console for results")}};s.style=":host{display:block;--calcite-label-margin-bottom:0}.label-display{display:block;padding-bottom:1rem}.display-flex{display:flex}.display-grid{display:grid}.display-table{display:table}.display-inline-table{display:inline-table}.display-none{display:none}.display-inherit{display:inherit}.padding-top-1{padding-top:1rem}.main-input{width:300px;padding-inline-end:1rem}.float-end{float:inline-end}.position-relative{position:relative}.position-right{position:absolute;right:0px}";export{s as pci_calculator}
@@ -1,6 +0,0 @@
1
- /*!
2
- * Copyright 2022 Esri
3
- * Licensed under the Apache License, Version 2.0
4
- * http://www.apache.org/licenses/LICENSE-2.0
5
- */
6
- import{l}from"./p-813c7077.js";async function n(n,t,e){const[o]=await l(["esri/layers/effects/jsonUtils"]),{toJSON:s,fromJSON:c}=o,i=null==t?void 0:t.layer;if(!n)return(null==i?void 0:i.effect)?i.effect:(null==i?void 0:i.featureEffect)?"includedEffect"===e?i.featureEffect.includedEffect:i.featureEffect.excludedEffect:null;const f=s(n);let r;r=i.featureEffect?"includedEffect"===e?i.featureEffect.includedEffect:i.featureEffect.excludedEffect:i.effect;const u=r?s(r):null;if(!u)return c(f);let a=[...u];return f&&f.forEach((l=>{a.forEach((n=>{const{value:t}=n;if(t)t.forEach(((e,o)=>{e.type===l.type?t[o]=l:!n.value.find((l=>l.type===f[0].type))&&(n.value=[...n.value,...f])}));else{const t=!a.find((l=>l.type===n.type));!a.find((n=>n.type===l.type))&&(a=[...a,l]),t&&(a=[...a,n])}}))})),c(a)}export{n as g}