@esri/solutions-components 0.11.25 → 0.11.26

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 (60) hide show
  1. package/dist/cjs/card-manager_3.cjs.entry.js +12 -21
  2. package/dist/cjs/create-feature_4.cjs.entry.js +6 -4
  3. package/dist/cjs/create-related-feature_3.cjs.entry.js +2 -1
  4. package/dist/cjs/crowdsource-manager.cjs.entry.js +1 -1
  5. package/dist/cjs/crowdsource-reporter.cjs.entry.js +1 -1
  6. package/dist/cjs/{downloadUtils-fcae8eb1.js → downloadUtils-da9e19c6.js} +1 -1
  7. package/dist/cjs/feature-list.cjs.entry.js +3 -3
  8. package/dist/cjs/loader.cjs.js +1 -1
  9. package/dist/cjs/map-layer-picker.cjs.entry.js +1 -1
  10. package/dist/cjs/map-select-tools_3.cjs.entry.js +2 -2
  11. package/dist/cjs/{mapViewUtils-4ea7216c.js → mapViewUtils-8b26c9d0.js} +3 -1
  12. package/dist/cjs/{popupUtils-87b006a6.js → popupUtils-69ad52f5.js} +1 -1
  13. package/dist/cjs/public-notification.cjs.entry.js +2 -2
  14. package/dist/cjs/solutions-components.cjs.js +1 -1
  15. package/dist/collection/components/create-feature/create-feature.js +2 -1
  16. package/dist/collection/components/create-related-feature/create-related-feature.js +1 -0
  17. package/dist/collection/components/edit-card/edit-card.js +1 -0
  18. package/dist/collection/components/layer-table/layer-table.js +10 -21
  19. package/dist/collection/utils/queryUtils.js +3 -1
  20. package/dist/collection/utils/queryUtils.ts +3 -1
  21. package/dist/components/create-feature2.js +2 -1
  22. package/dist/components/create-related-feature2.js +1 -0
  23. package/dist/components/edit-card2.js +1 -0
  24. package/dist/components/layer-table2.js +10 -20
  25. package/dist/components/queryUtils.js +3 -1
  26. package/dist/esm/card-manager_3.entry.js +12 -21
  27. package/dist/esm/create-feature_4.entry.js +6 -4
  28. package/dist/esm/create-related-feature_3.entry.js +2 -1
  29. package/dist/esm/crowdsource-manager.entry.js +1 -1
  30. package/dist/esm/crowdsource-reporter.entry.js +1 -1
  31. package/dist/esm/{downloadUtils-078cd709.js → downloadUtils-0b6677dc.js} +1 -1
  32. package/dist/esm/feature-list.entry.js +3 -3
  33. package/dist/esm/loader.js +1 -1
  34. package/dist/esm/map-layer-picker.entry.js +1 -1
  35. package/dist/esm/map-select-tools_3.entry.js +2 -2
  36. package/dist/esm/{mapViewUtils-9da9be1c.js → mapViewUtils-2682c21a.js} +3 -1
  37. package/dist/esm/{popupUtils-6a965512.js → popupUtils-9233302d.js} +1 -1
  38. package/dist/esm/public-notification.entry.js +2 -2
  39. package/dist/esm/solutions-components.js +1 -1
  40. package/dist/solutions-components/p-3a7bde22.entry.js +6 -0
  41. package/dist/solutions-components/{p-db3391b9.js → p-4084e2d1.js} +1 -1
  42. package/dist/solutions-components/{p-3e16c433.entry.js → p-477dbafa.entry.js} +1 -1
  43. package/dist/solutions-components/{p-a9b81651.entry.js → p-47f13430.entry.js} +1 -1
  44. package/dist/solutions-components/p-5693ce7a.js +36 -0
  45. package/dist/solutions-components/p-61fe842c.entry.js +6 -0
  46. package/dist/solutions-components/p-824775f3.entry.js +6 -0
  47. package/dist/solutions-components/{p-84976ab1.entry.js → p-896b6028.entry.js} +1 -1
  48. package/dist/solutions-components/{p-0bc11bac.entry.js → p-9777c01f.entry.js} +1 -1
  49. package/dist/solutions-components/{p-abcdbba6.entry.js → p-d3e24466.entry.js} +1 -1
  50. package/dist/solutions-components/{p-c117b7f7.entry.js → p-ee8fa795.entry.js} +1 -1
  51. package/dist/solutions-components/{p-bf04c6f4.js → p-f3003b3a.js} +2 -2
  52. package/dist/solutions-components/solutions-components.esm.js +1 -1
  53. package/dist/solutions-components/utils/queryUtils.ts +3 -1
  54. package/dist/solutions-components_commit.txt +6 -6
  55. package/dist/types/components/layer-table/layer-table.d.ts +0 -4
  56. package/package.json +1 -1
  57. package/dist/solutions-components/p-12f91837.entry.js +0 -6
  58. package/dist/solutions-components/p-16c5c285.entry.js +0 -6
  59. package/dist/solutions-components/p-1dc077ec.entry.js +0 -6
  60. package/dist/solutions-components/p-dcd2f00b.js +0 -36
@@ -21,5 +21,5 @@ var patchBrowser = () => {
21
21
 
22
22
  patchBrowser().then(async (options) => {
23
23
  await globalScripts();
24
- return bootstrapLazy(JSON.parse("[[\"crowdsource-manager\",[[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\"],\"enableSnapping\":[4,\"enable-snapping\"],\"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],\"_mapExtentFilterChecked\":[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\"]}]]],[\"crowdsource-reporter\",[[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\"],\"enableSnapping\":[4,\"enable-snapping\"],\"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\"],\"submitNewReportsMessage\":[1,\"submit-new-reports-message\"],\"theme\":[1],\"zoomToScale\":[2,\"zoom-to-scale\"],\"floorLevel\":[1,\"floor-level\"],\"showFullCommentTitle\":[4,\"show-full-comment-title\"],\"filterByMapExtent\":[4,\"filter-by-map-extent\"],\"sortOption\":[1,\"sort-option\"],\"_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],\"_filterOpen\":[32],\"updateLayerExpressionsT9n\":[64]},null,{\"isMobile\":[\"isMobileWatchHandler\"],\"locale\":[\"localeWatchHandler\"],\"mapView\":[\"mapViewWatchHandler\"],\"floorLevel\":[\"floorLevelWatchHandler\"],\"showMyReportsOnly\":[\"showMyReportsOnlyWatchHandler\"],\"filterByMapExtent\":[\"filterByMapExtentChangeWatchHandler\"],\"layerExpressions\":[\"layerExpressionsWatchHandler\"],\"showFeatureSymbol\":[\"showFeatureSymbolWatchHandler\"]}]]],[\"solution-configuration\",[[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\"]}]]],[\"instant-apps-interactive-legend\",[[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\"]}]]],[\"public-notification\",[[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\"]}]]],[\"instant-apps-language-switcher\",[[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]}]]],[\"instant-apps-export\",[[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\"]}]]],[\"instant-apps-interactive-legend-group-legend-element-caption\",[[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]}]]],[\"instant-apps-landing-page\",[[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\"]}]]],[\"instant-apps-measurement\",[[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]}]]],[\"pci-calculator\",[[1,\"pci-calculator\",{\"showAddDeduct\":[32]}]]],[\"solution-item-accordion\",[[1,\"solution-item-accordion\",{\"locale\":[1],\"listSelectionMode\":[1,\"list-selection-mode\"],\"templateInfos\":[16],\"_sortedTemplateInfos\":[32],\"_translations\":[32],\"deselectAll\":[64],\"selectItem\":[64]},null,{\"locale\":[\"localeWatchHandler\"],\"templateInfos\":[\"templateInfosWatchHandler\"]}]]],[\"consent-manager\",[[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\"]}]]],[\"instant-apps-app-guide\",[[1,\"instant-apps-app-guide\",{\"header\":[4],\"data\":[16],\"messages\":[32],\"headerText\":[32]},null,{\"data\":[\"watchPropHandler\"],\"headerText\":[\"watchStateHandler\"]}]]],[\"instant-apps-control-panel\",[[1,\"instant-apps-control-panel\",{\"components\":[16],\"view\":[16]}]]],[\"instant-apps-create\",[[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\"]}]]],[\"instant-apps-export-views\",[[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\"]}]]],[\"instant-apps-keyboard-shortcuts\",[[1,\"instant-apps-keyboard-shortcuts\",{\"view\":[16],\"messages\":[32]}]]],[\"instant-apps-popover\",[[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]}]]],[\"instant-apps-popovers\",[[4,\"instant-apps-popovers\",{\"inTour\":[1540,\"in-tour\"],\"currentId\":[1537,\"current-id\"],\"instantAppsPopovers\":[16],\"beforeOpen\":[16],\"open\":[64],\"close\":[64],\"beginTour\":[64],\"endTour\":[64]}]]],[\"instant-apps-scoreboard\",[[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\"]}]]],[\"instant-apps-splash\",[[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\"]}]]],[\"instant-apps-time-filter\",[[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\"]}]]],[\"spatial-ref\",[[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\"]}]]],[\"store-manager\",[[0,\"store-manager\",{\"value\":[1537],\"templates\":[1040],\"authentication\":[1040],\"getStoreInfo\":[64]}]]],[\"instant-apps-interactive-legend-classic\",[[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\"]}]]],[\"instant-apps-language-translator\",[[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\"]}]]],[\"deduct-calculator\",[[1,\"deduct-calculator\"]]],[\"instant-apps-header\",[[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\"]}]]],[\"instant-apps-measurement-tool\",[[2,\"instant-apps-measurement-tool\",{\"view\":[16],\"measureConfiguration\":[16],\"activeTool\":[1,\"active-tool\"]},null,{\"activeTool\":[\"_updateToolType\"]}]]],[\"instant-apps-sign-in\",[[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\"]}]]],[\"feature-list\",[[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],\"showFullTitle\":[4,\"show-full-title\"],\"filterByMapExtent\":[4,\"filter-by-map-extent\"],\"_featureItems\":[32],\"_featuresCount\":[32],\"_isLoading\":[32],\"_searchPlaceHolder\":[32],\"_fullTextSearchInfo\":[32],\"_translations\":[32],\"refresh\":[64]},null,{\"locale\":[\"localeWatchHandler\"],\"selectedLayerId\":[\"selectedLayerWatchHandler\"],\"sortingInfo\":[\"sortingInfoWatchHandler\"],\"whereClause\":[\"whereClauseHandler\"],\"filterByMapExtent\":[\"filterByMapExtentHandler\"]}]]],[\"delete-dialog\",[[1,\"delete-dialog\",{\"ids\":[16],\"layer\":[16],\"locale\":[1],\"open\":[4],\"_isDeleting\":[32],\"_translations\":[32]},null,{\"locale\":[\"localeWatchHandler\"]}]]],[\"map-layer-picker\",[[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\"]}]]],[\"instant-apps-filter-list_2\",[[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]}]]],[\"card-manager_3\",[[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\"],\"enableSnapping\":[4,\"enable-snapping\"],\"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],\"validateTableUpdate\":[64],\"validateActiveEdits\":[64],\"refresh\":[64]},[[10,\"beforeMapInfoChange\",\"beforeMapInfoChange\"],[8,\"editorInitialized\",\"editorInitialized\"],[8,\"closeEdit\",\"closeEdit\"],[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\"]}]]],[\"solution-contents_3\",[[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\"]}]]],[\"create-related-feature_3\",[[0,\"feature-details\",{\"enableSnapping\":[4,\"enable-snapping\"],\"mapView\":[16],\"graphics\":[16],\"reportingOptions\":[16],\"layerItemsHash\":[16],\"locale\":[1],\"showUserImageInCommentsList\":[4,\"show-user-image-in-comments-list\"],\"showFullCommentTitle\":[4,\"show-full-comment-title\"],\"_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\",{\"customizeSubmit\":[4,\"customize-submit\"],\"enableSnapping\":[4,\"enable-snapping\"],\"locale\":[1],\"mapView\":[16],\"selectedFeature\":[16],\"showGuidingMsg\":[4,\"show-guiding-msg\"],\"table\":[16],\"_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\"],\"filterByMapExtent\":[4,\"filter-by-map-extent\"],\"_noLayersToDisplay\":[32],\"_mapLayerIds\":[32],\"_isLoading\":[32],\"_translations\":[32],\"refresh\":[64]},null,{\"locale\":[\"localeWatchHandler\"],\"filterByMapExtent\":[\"filterByMapExtentWatchHandler\"]}]]],[\"buffer-tools_2\",[[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\"]}]]],[\"map-select-tools_3\",[[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\"]}]]],[\"instant-apps-ckeditor-wrapper_3\",[[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\"]}]]],[\"solution-item-icon\",[[0,\"solution-item-icon\",{\"isPortal\":[4,\"is-portal\"],\"type\":[1],\"typeKeywords\":[16]}]]],[\"instant-apps-interactive-legend-count_2\",[[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]}]]],[\"instant-apps-interactive-legend-group-legend-element_5\",[[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]}]]],[\"json-editor_7\",[[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\"]}]]],[\"create-feature_4\",[[0,\"create-feature\",{\"customizeSubmit\":[4,\"customize-submit\"],\"enableSearch\":[4,\"enable-search\"],\"enableSnapping\":[4,\"enable-snapping\"],\"floorLevel\":[1,\"floor-level\"],\"formElements\":[8,\"form-elements\"],\"isMobile\":[4,\"is-mobile\"],\"locale\":[1],\"mapView\":[16],\"searchConfiguration\":[16],\"selectedLayerId\":[1,\"selected-layer-id\"],\"showGuidingMsg\":[4,\"show-guiding-msg\"],\"showGuidingMsgWhileDrawing\":[4,\"show-guiding-msg-while-drawing\"],\"submitNewReportsMessage\":[1,\"submit-new-reports-message\"],\"_currentPage\":[32],\"_editorLoading\":[32],\"_translations\":[32],\"submit\":[64],\"refresh\":[64]},null,{\"locale\":[\"localeWatchHandler\"],\"mapView\":[\"mapViewWatchHandler\"],\"isMobile\":[\"isMobileHandler\"],\"_editorLoading\":[\"_editorLoadingWatchHandler\"]}],[0,\"info-card\",{\"enableEditGeometry\":[4,\"enable-edit-geometry\"],\"enableSnapping\":[4,\"enable-snapping\"],\"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],\"showCloseBtn\":[4,\"show-close-btn\"],\"_alertOpen\":[32],\"_count\":[32],\"_editRecordOpen\":[32],\"_mobileTitle\":[32],\"_showListView\":[32],\"_translations\":[32],\"_navigatedToRelatedFeature\":[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\"],\"enableSnapping\":[4,\"enable-snapping\"],\"graphicIndex\":[2,\"graphic-index\"],\"graphics\":[1040],\"locale\":[1],\"mapView\":[16],\"open\":[1028],\"_editorLoading\":[32],\"_translations\":[32]},[[8,\"featureSelectionChange\",\"featureSelectionChange\"]],{\"graphics\":[\"graphicsWatchHandler\"],\"locale\":[\"localeWatchHandler\"],\"open\":[\"openWatchHandler\"]}]]],[\"basemap-gallery_7\",[[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\"]}]]]]"), options);
24
+ return bootstrapLazy(JSON.parse("[[\"crowdsource-manager\",[[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\"],\"enableSnapping\":[4,\"enable-snapping\"],\"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],\"_mapExtentFilterChecked\":[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\"]}]]],[\"crowdsource-reporter\",[[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\"],\"enableSnapping\":[4,\"enable-snapping\"],\"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\"],\"submitNewReportsMessage\":[1,\"submit-new-reports-message\"],\"theme\":[1],\"zoomToScale\":[2,\"zoom-to-scale\"],\"floorLevel\":[1,\"floor-level\"],\"showFullCommentTitle\":[4,\"show-full-comment-title\"],\"filterByMapExtent\":[4,\"filter-by-map-extent\"],\"sortOption\":[1,\"sort-option\"],\"_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],\"_filterOpen\":[32],\"updateLayerExpressionsT9n\":[64]},null,{\"isMobile\":[\"isMobileWatchHandler\"],\"locale\":[\"localeWatchHandler\"],\"mapView\":[\"mapViewWatchHandler\"],\"floorLevel\":[\"floorLevelWatchHandler\"],\"showMyReportsOnly\":[\"showMyReportsOnlyWatchHandler\"],\"filterByMapExtent\":[\"filterByMapExtentChangeWatchHandler\"],\"layerExpressions\":[\"layerExpressionsWatchHandler\"],\"showFeatureSymbol\":[\"showFeatureSymbolWatchHandler\"]}]]],[\"solution-configuration\",[[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\"]}]]],[\"instant-apps-interactive-legend\",[[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\"]}]]],[\"public-notification\",[[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\"]}]]],[\"instant-apps-language-switcher\",[[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]}]]],[\"instant-apps-export\",[[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\"]}]]],[\"instant-apps-interactive-legend-group-legend-element-caption\",[[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]}]]],[\"instant-apps-landing-page\",[[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\"]}]]],[\"instant-apps-measurement\",[[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]}]]],[\"pci-calculator\",[[1,\"pci-calculator\",{\"showAddDeduct\":[32]}]]],[\"solution-item-accordion\",[[1,\"solution-item-accordion\",{\"locale\":[1],\"listSelectionMode\":[1,\"list-selection-mode\"],\"templateInfos\":[16],\"_sortedTemplateInfos\":[32],\"_translations\":[32],\"deselectAll\":[64],\"selectItem\":[64]},null,{\"locale\":[\"localeWatchHandler\"],\"templateInfos\":[\"templateInfosWatchHandler\"]}]]],[\"consent-manager\",[[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\"]}]]],[\"instant-apps-app-guide\",[[1,\"instant-apps-app-guide\",{\"header\":[4],\"data\":[16],\"messages\":[32],\"headerText\":[32]},null,{\"data\":[\"watchPropHandler\"],\"headerText\":[\"watchStateHandler\"]}]]],[\"instant-apps-control-panel\",[[1,\"instant-apps-control-panel\",{\"components\":[16],\"view\":[16]}]]],[\"instant-apps-create\",[[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\"]}]]],[\"instant-apps-export-views\",[[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\"]}]]],[\"instant-apps-keyboard-shortcuts\",[[1,\"instant-apps-keyboard-shortcuts\",{\"view\":[16],\"messages\":[32]}]]],[\"instant-apps-popover\",[[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]}]]],[\"instant-apps-popovers\",[[4,\"instant-apps-popovers\",{\"inTour\":[1540,\"in-tour\"],\"currentId\":[1537,\"current-id\"],\"instantAppsPopovers\":[16],\"beforeOpen\":[16],\"open\":[64],\"close\":[64],\"beginTour\":[64],\"endTour\":[64]}]]],[\"instant-apps-scoreboard\",[[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\"]}]]],[\"instant-apps-splash\",[[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\"]}]]],[\"instant-apps-time-filter\",[[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\"]}]]],[\"spatial-ref\",[[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\"]}]]],[\"store-manager\",[[0,\"store-manager\",{\"value\":[1537],\"templates\":[1040],\"authentication\":[1040],\"getStoreInfo\":[64]}]]],[\"instant-apps-interactive-legend-classic\",[[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\"]}]]],[\"instant-apps-language-translator\",[[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\"]}]]],[\"deduct-calculator\",[[1,\"deduct-calculator\"]]],[\"instant-apps-header\",[[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\"]}]]],[\"instant-apps-measurement-tool\",[[2,\"instant-apps-measurement-tool\",{\"view\":[16],\"measureConfiguration\":[16],\"activeTool\":[1,\"active-tool\"]},null,{\"activeTool\":[\"_updateToolType\"]}]]],[\"instant-apps-sign-in\",[[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\"]}]]],[\"feature-list\",[[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],\"showFullTitle\":[4,\"show-full-title\"],\"filterByMapExtent\":[4,\"filter-by-map-extent\"],\"_featureItems\":[32],\"_featuresCount\":[32],\"_isLoading\":[32],\"_searchPlaceHolder\":[32],\"_fullTextSearchInfo\":[32],\"_translations\":[32],\"refresh\":[64]},null,{\"locale\":[\"localeWatchHandler\"],\"selectedLayerId\":[\"selectedLayerWatchHandler\"],\"sortingInfo\":[\"sortingInfoWatchHandler\"],\"whereClause\":[\"whereClauseHandler\"],\"filterByMapExtent\":[\"filterByMapExtentHandler\"]}]]],[\"delete-dialog\",[[1,\"delete-dialog\",{\"ids\":[16],\"layer\":[16],\"locale\":[1],\"open\":[4],\"_isDeleting\":[32],\"_translations\":[32]},null,{\"locale\":[\"localeWatchHandler\"]}]]],[\"map-layer-picker\",[[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\"]}]]],[\"instant-apps-filter-list_2\",[[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]}]]],[\"card-manager_3\",[[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\"],\"enableSnapping\":[4,\"enable-snapping\"],\"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],\"validateTableUpdate\":[64],\"validateActiveEdits\":[64],\"refresh\":[64]},[[10,\"beforeMapInfoChange\",\"beforeMapInfoChange\"],[8,\"editorInitialized\",\"editorInitialized\"],[8,\"closeEdit\",\"closeEdit\"],[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\"],\"mapView\":[\"mapViewWatchHandler\"],\"_layer\":[\"_layerWatchHandler\"],\"selectedIds\":[\"selectedIdsWatchHandler\"]}]]],[\"solution-contents_3\",[[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\"]}]]],[\"create-related-feature_3\",[[0,\"feature-details\",{\"enableSnapping\":[4,\"enable-snapping\"],\"mapView\":[16],\"graphics\":[16],\"reportingOptions\":[16],\"layerItemsHash\":[16],\"locale\":[1],\"showUserImageInCommentsList\":[4,\"show-user-image-in-comments-list\"],\"showFullCommentTitle\":[4,\"show-full-comment-title\"],\"_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\",{\"customizeSubmit\":[4,\"customize-submit\"],\"enableSnapping\":[4,\"enable-snapping\"],\"locale\":[1],\"mapView\":[16],\"selectedFeature\":[16],\"showGuidingMsg\":[4,\"show-guiding-msg\"],\"table\":[16],\"_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\"],\"filterByMapExtent\":[4,\"filter-by-map-extent\"],\"_noLayersToDisplay\":[32],\"_mapLayerIds\":[32],\"_isLoading\":[32],\"_translations\":[32],\"refresh\":[64]},null,{\"locale\":[\"localeWatchHandler\"],\"filterByMapExtent\":[\"filterByMapExtentWatchHandler\"]}]]],[\"buffer-tools_2\",[[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\"]}]]],[\"map-select-tools_3\",[[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\"]}]]],[\"instant-apps-ckeditor-wrapper_3\",[[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\"]}]]],[\"solution-item-icon\",[[0,\"solution-item-icon\",{\"isPortal\":[4,\"is-portal\"],\"type\":[1],\"typeKeywords\":[16]}]]],[\"instant-apps-interactive-legend-count_2\",[[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]}]]],[\"instant-apps-interactive-legend-group-legend-element_5\",[[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]}]]],[\"json-editor_7\",[[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\"]}]]],[\"create-feature_4\",[[0,\"create-feature\",{\"customizeSubmit\":[4,\"customize-submit\"],\"enableSearch\":[4,\"enable-search\"],\"enableSnapping\":[4,\"enable-snapping\"],\"floorLevel\":[1,\"floor-level\"],\"formElements\":[8,\"form-elements\"],\"isMobile\":[4,\"is-mobile\"],\"locale\":[1],\"mapView\":[16],\"searchConfiguration\":[16],\"selectedLayerId\":[1,\"selected-layer-id\"],\"showGuidingMsg\":[4,\"show-guiding-msg\"],\"showGuidingMsgWhileDrawing\":[4,\"show-guiding-msg-while-drawing\"],\"submitNewReportsMessage\":[1,\"submit-new-reports-message\"],\"_currentPage\":[32],\"_editorLoading\":[32],\"_translations\":[32],\"submit\":[64],\"refresh\":[64]},null,{\"locale\":[\"localeWatchHandler\"],\"mapView\":[\"mapViewWatchHandler\"],\"isMobile\":[\"isMobileHandler\"],\"_editorLoading\":[\"_editorLoadingWatchHandler\"]}],[0,\"info-card\",{\"enableEditGeometry\":[4,\"enable-edit-geometry\"],\"enableSnapping\":[4,\"enable-snapping\"],\"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],\"showCloseBtn\":[4,\"show-close-btn\"],\"_alertOpen\":[32],\"_count\":[32],\"_editRecordOpen\":[32],\"_mobileTitle\":[32],\"_showListView\":[32],\"_translations\":[32],\"_navigatedToRelatedFeature\":[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\"],\"enableSnapping\":[4,\"enable-snapping\"],\"graphicIndex\":[2,\"graphic-index\"],\"graphics\":[1040],\"locale\":[1],\"mapView\":[16],\"open\":[1028],\"_editorLoading\":[32],\"_translations\":[32]},[[8,\"featureSelectionChange\",\"featureSelectionChange\"]],{\"graphics\":[\"graphicsWatchHandler\"],\"locale\":[\"localeWatchHandler\"],\"open\":[\"openWatchHandler\"]}]]],[\"basemap-gallery_7\",[[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\"]}]]]]"), options);
25
25
  });
@@ -0,0 +1,6 @@
1
+ /*!
2
+ * Copyright 2022 Esri
3
+ * Licensed under the Apache License, Version 2.0
4
+ * http://www.apache.org/licenses/LICENSE-2.0
5
+ */
6
+ import{r as t,c as i,g as s,h as e,F as a}from"./p-e996c38f.js";import{l as h,g as n,f as c}from"./p-404cbf48.js";import{b as o,d as l,a as r,c as d}from"./p-5693ce7a.js";import{e as p}from"./p-0a24ad5f.js";import"./p-80cb7c73.js";import"./p-d4056c1c.js";const f=class{constructor(s){t(this,s),this.success=i(this,"success",7),this.fail=i(this,"fail",7),this.isActionPending=i(this,"isActionPending",7),this.formReady=i(this,"formReady",7),this.customizeSubmit=!1,this.enableSnapping=!1,this.locale=void 0,this.mapView=void 0,this.selectedFeature=void 0,this.showGuidingMsg=!0,this.table=void 0,this._editorLoading=!1,this._translations=void 0}get el(){return s(this)}Editor;reactiveUtils;_addingAttachment;_container;_editor;_isSubmitBtnClicked=!1;async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}async mapViewWatchHandler(){await this.mapView.when((async()=>{await this.init()}))}async _editorLoadingWatchHandler(t){t&&(this._container?.classList.add("display-none"),await this.startCreate(),this._container?.classList.remove("display-none"),this._editorLoading=!1)}async submit(){this._editor&&(this._isSubmitBtnClicked=!0,this._editor.viewModel.featureFormViewModel.submit())}success;fail;isActionPending;formReady;async componentWillLoad(){await this._getTranslations(),await this.initModules()}async init(){this.mapView&&await this.createEditorWidget()}async initModules(){const[t,i]=await h(["esri/widgets/Editor","esri/core/reactiveUtils"]);this.Editor=t,this.reactiveUtils=i}render(){const t=this._editorLoading?"":"display-none";return e(a,{key:"6c2bfcf17fc2ef0f1fc16c3c45d98b58101f629b"},this.showGuidingMsg&&e("calcite-notice",{key:"df2091f0435ef5ee4adcf71e177e35429c831d63",class:"notice-msg",icon:"lightbulb",kind:"success",open:!0},e("div",{key:"e0180f8e8d6c615507c18ad3d1b0c248d42a754f",slot:"message"},this._translations.provideDetailsMsg)),e("calcite-loader",{key:"235fb4b02ee3f6576ad5620517da6386774cfb7d",class:t,label:"",scale:"s"}))}async componentDidLoad(){await this.init()}disconnectedCallback(){this._editor&&this._editor.destroy()}async createEditorWidget(){this._editor&&this._editor.destroy(),this._container=document.createElement("div"),this._container?.classList.add("display-none"),this.enableSnapping||this._container.classList.add("hide-editor-toolbar"),this._editor=new this.Editor({view:this.mapView,visibleElements:{flow:!0,settingsMenu:this.enableSnapping,sketch:!1,snappingControls:this.enableSnapping},container:this._container}),this.el.appendChild(this._container);const t=this.reactiveUtils.watch((()=>this._editor.viewModel.featureTemplatesViewModel.state),(t=>{"ready"===t&&(this._editorLoading=!0)}));this._editor.viewModel.addHandles(t);const i=this.reactiveUtils.watch((()=>this._editor.viewModel.state),(t=>{"adding-attachment"===t||"editing-attachment"===t?(this._addingAttachment=!0,this.isActionPending.emit(!0)):this._addingAttachment&&(this.isActionPending.emit(!1),this._addingAttachment=!1)}));this._editor.viewModel.addHandles(i);const s=this.reactiveUtils.watch((()=>this._editor.viewModel.featureFormViewModel?.state),(t=>{"ready"===t&&this.formReady.emit()}));this._editor.viewModel.addHandles(s)}async startCreate(){const t=this.selectedFeature.layer,i=this.table,s=t.relationships[0],e=i.relationships.find((i=>t.layerId===i.relatedTableId)),a=await t.queryFeatures({objectIds:[this.selectedFeature.getObjectId()],outFields:[t.objectIdField,s.keyField]}),h=i.templates[0],n={attributeOverrides:this.makeAttributesForRelatedFeature(a.features[0],s,e),layer:i,template:h};await this._editor.startCreateFeaturesWorkflowAtFeatureCreation(n),await this.hideEditorsElements(),this._editor.viewModel.featureFormViewModel.on("submit",this.submitted.bind(this))}async hideEditorsElements(){this.customizeSubmit&&(await this.timeout(700),this.el.querySelector(".esri-editor")?.querySelectorAll("calcite-flow-item")?.forEach((t=>{const i=t.shadowRoot?.querySelector("calcite-panel")?.shadowRoot?.querySelector("article");i?.querySelector("header")?.setAttribute("style","display: none"),i?.querySelector("footer")?.setAttribute("style","display: none")})))}makeAttributesForRelatedFeature(t,i,s){const e=i.keyField;let a;t.attributes.hasOwnProperty(e)?a=t.getAttribute(e):t.attributes.hasOwnProperty(e.toLowerCase())?a=t.getAttribute(e.toLowerCase()):t.attributes.hasOwnProperty(e.toUpperCase())&&(a=t.getAttribute(e.toUpperCase()));let h=s.keyField;const n=this.table.fields.find((t=>t.name.toLocaleLowerCase()===h.toLocaleLowerCase()));return h=n.name,{[h]:a}}async submitted(t){if(t.invalid.length)this._isSubmitBtnClicked=!1;else if(t.valid.length&&this._isSubmitBtnClicked){this._isSubmitBtnClicked=!1;try{await this._editor.activeWorkflow.commit(),this._editor.viewModel.failures?.length&&this._editor.viewModel.failures.some((t=>{if(t.error)throw t.error}))}catch(t){return void this.fail.emit(t)}this.success.emit()}}timeout(t){return new Promise((i=>setTimeout(i,t)))}async _getTranslations(){const t=await n(this.el);this._translations=t[0]}static get watchers(){return{locale:["localeWatchHandler"],mapView:["mapViewWatchHandler"],_editorLoading:["_editorLoadingWatchHandler"]}}};f.style=":host{display:block}.hide-editor-toolbar .esri-editor__panel-toolbar{display:none !important}.display-none{display:none !important}.esri-editor__panel-content{padding-block:10px !important}.notice-msg{padding:10px;width:calc(100% - 20px)}";const y=class{constructor(s){t(this,s),this.loadingStatus=i(this,"loadingStatus",7),this.commentSelect=i(this,"commentSelect",7),this.addComment=i(this,"addComment",7),this.likeOrDislikeClicked=i(this,"likeOrDislikeClicked",7),this.featureSelectionChange=i(this,"featureSelectionChange",7),this.enableSnapping=!1,this.mapView=void 0,this.graphics=void 0,this.reportingOptions=void 0,this.layerItemsHash=void 0,this.locale=void 0,this.showUserImageInCommentsList=!1,this.showFullCommentTitle=!0,this._likeFieldAvailable=!1,this._likeCount=0,this._disLikeCount=0,this._dislikeFieldAvailable=!1,this._commentsAvailable=!1,this._isLikeBtnClicked=!1,this._isDislikeBtnClicked=!1,this._relatedFeaturesOIDs=void 0,this._updating=!1}get el(){return s(this)}_infoCard;_commentsList;_selectedGraphic;_likeField;_dislikeField;Graphic;RelationshipQuery;_validFieldTypes=["small-integer","integer","big-integer","single","long"];relatedTableId;async graphicsWatchHandler(){await this.getCompleteGraphic(this.graphics[0]),this.checkLikeDislikeFields(),await this.processComments()}async refresh(t){await this.getCompleteGraphic(t),await this.processComments(),this.isLikeDislikeConfigured(t.layer)?t&&this.graphics.length>1&&this.checkLikeDislikeFields():(this._likeFieldAvailable=!1,this._dislikeFieldAvailable=!1)}async back(){this._infoCard.back()}async next(){this._infoCard.next()}async toggleListView(){this._infoCard.toggleListView()}loadingStatus;commentSelect;addComment;likeOrDislikeClicked;featureSelectionChange;async componentWillLoad(){await this._initModules(),await this.getCompleteGraphic(this.graphics[0]),this.checkLikeDislikeFields(),await this.processComments()}render(){const t=this._relatedFeaturesOIDs?.length>0?`objectId in(${this._relatedFeaturesOIDs})`:"1=0";return e("calcite-panel",{key:"369276b48d989c7e15e86a507414e68b55c842b0","full-height":!0},e("info-card",{key:"1cc64b674205bc2b1b7a7c65d9f99ae551daf89d",allowEditing:!1,enableSnapping:this.enableSnapping,graphics:this.graphics,highlightEnabled:!1,isLoading:!1,isMobile:!1,locale:this.locale,mapView:this.mapView,onSelectionChanged:t=>{this.featureSelectionChange.emit(t.detail)},paginationEnabled:!1,position:"relative",ref:t=>this._infoCard=t}),(this._likeFieldAvailable||this._dislikeFieldAvailable||this._commentsAvailable)&&e("div",{key:"52d494236fbf3ea0db4894600885f25d8c9c021f",class:"buttons-container"},this._commentsAvailable&&e("calcite-button",{key:"f9844e33d90a3d5c4b950e9d7dcbd8c1f2b541af",appearance:"transparent",iconEnd:"speech-bubble",kind:"neutral",onClick:()=>{this.addComment.emit()},scale:"m"},this._relatedFeaturesOIDs.length),this._likeFieldAvailable&&e("calcite-button",{key:"0912473490c6ada2ba3e3a703a37d26e752ee4d5",appearance:"transparent",iconEnd:"thumbs-up",kind:this._isLikeBtnClicked?"brand":"neutral",loading:this._updating,onClick:this.onLikeButtonClick.bind(this),scale:"m"},this._likeCount??this._selectedGraphic.attributes[this._likeField]??0),this._dislikeFieldAvailable&&e("calcite-button",{key:"e6d62adf0d5669f50b829e78bd2b224d1e400b36",appearance:"transparent",iconEnd:"thumbs-down",kind:this._isDislikeBtnClicked?"brand":"neutral",loading:this._updating,onClick:this.onDislikeButtonClick.bind(this),scale:"m"},this._disLikeCount??this._selectedGraphic.attributes[this._dislikeField]??0)),this.relatedTableId&&this._commentsAvailable&&e("feature-list",{key:"8cd2570111a3425e6c4d9d8b7de1e2b522ce8833",class:"height-full",locale:this.locale,mapView:this.mapView,onFeatureSelect:t=>{this.commentSelect.emit(t.detail)},pageSize:5,ref:t=>this._commentsList=t,selectedLayerId:this.relatedTableId,showErrorWhenNoFeatures:!1,showFullTitle:this.showFullCommentTitle,showInitialLoading:!1,showUserImageInList:this.showUserImageInCommentsList,textSize:"small",whereClause:t}))}async _initModules(){const[t,i]=await h(["esri/rest/support/RelationshipQuery","esri/Graphic"]);this.RelationshipQuery=t,this.Graphic=i}async getCompleteGraphic(t){if(t){const i=t.layer,s=i.createQuery();s.objectIds=[t.getObjectId()];const e=await i.queryFeatures(s);this._selectedGraphic=e.features[0]}}async processComments(){const t=this._selectedGraphic.layer;if(this.reportingOptions&&this.reportingOptions[t.id]&&this.reportingOptions[t.id].comment&&t.relationships?.length>0){const i=await o(this.mapView);let s=null,e=null;if(t.relationships.some((a=>{const h=i.filter((i=>t.url===i.url&&i.layerId===a.relatedTableId));if(h&&h.length>0)return s=h[0],e=a.id,!0})),this.relatedTableId=s?.id??"",this.relatedTableId){const i=this._selectedGraphic.attributes[t.objectIdField],a=new this.RelationshipQuery({objectIds:[i],outFields:["*"],relationshipId:e}),h=await t.queryRelatedFeatures(a).catch((t=>{console.error(t)})),n=[];h[i]&&h[i].features.forEach((t=>{n.push(t.attributes[s.objectIdField])})),this._relatedFeaturesOIDs=n,this._commentsAvailable=!0}else this._relatedFeaturesOIDs=[],this._commentsAvailable=!1}else this._relatedFeaturesOIDs=[],this._commentsAvailable=!1,this.relatedTableId=""}isLikeDislikeConfigured(t){let i=!1,s=!1;if(this.reportingOptions&&this.reportingOptions[t.id]){if(!this.reportingOptions[t.id].like&&!this.reportingOptions[t.id].dislike)return!1;const e=this.reportingOptions[t.id].likeField,a=this.reportingOptions[t.id].dislikeField;if(!e&&!a)return!1;t.fields.forEach((h=>{this._validFieldTypes.indexOf(h.type)>-1&&this.layerItemsHash[t.id].supportsUpdate&&(h.name===e&&this.reportingOptions[t.id].like?i=!0:h.name===a&&this.reportingOptions[t.id].dislike&&(s=!0))}))}return i||s}checkLikeDislikeFields(){this._likeFieldAvailable=!1,this._dislikeFieldAvailable=!1,this._isLikeBtnClicked=!1,this._isDislikeBtnClicked=!1,this._likeCount=0,this._disLikeCount=0;const t=this._selectedGraphic.layer;if(this.reportingOptions&&this.reportingOptions[t.id]){if(this._likeField=this.reportingOptions[t.id].likeField,this._dislikeField=this.reportingOptions[t.id].dislikeField,!this._likeField&&!this._dislikeField)return;t.fields.forEach((i=>{this._validFieldTypes.indexOf(i.type)>-1&&this.layerItemsHash[t.id].supportsUpdate&&(i.name===this._likeField&&this.reportingOptions[t.id].like?(this._likeFieldAvailable=!0,this._likeCount=this._selectedGraphic.attributes[i.name]):i.name===this._dislikeField&&this.reportingOptions[t.id].dislike&&(this._dislikeFieldAvailable=!0,this._disLikeCount=this._selectedGraphic.attributes[i.name]))})),this.getFromLocalStorage()}}onLikeButtonClick(){this._isDislikeBtnClicked&&this.reportingOptions[this._selectedGraphic.layer.id].dislike&&this.onDislikeButtonClick(),this._isLikeBtnClicked=!this._isLikeBtnClicked,this._isLikeBtnClicked?this._likeCount++:this._likeCount--,this.updateFeaturesLikeDislikeField(this._likeField,this._isLikeBtnClicked)}onDislikeButtonClick(){this._isLikeBtnClicked&&this.reportingOptions[this._selectedGraphic.layer.id].like&&this.onLikeButtonClick(),this._isDislikeBtnClicked=!this._isDislikeBtnClicked,this._isDislikeBtnClicked?this._disLikeCount++:this._disLikeCount--,this.updateFeaturesLikeDislikeField(this._dislikeField,this._isDislikeBtnClicked)}async updateFeaturesLikeDislikeField(t,i){const s={},e=this._selectedGraphic.layer;this._updating=!0;const a=this._selectedGraphic;a.attributes[t]=Number(a.attributes[t])+(i?1:-1),s[e.objectIdField]=a.attributes[e.objectIdField],s[t]=a.attributes[t];const h=new this.Graphic;h.attributes=s;const n={updateFeatures:[h]};await e.applyEdits(n).then((()=>{this._selectedGraphic=a,this.setInLocalStorage(),this._updating=!1,this.likeOrDislikeClicked.emit()}),(t=>{this._updating=!1,console.log(t)}))}getFromLocalStorage(){const t=localStorage[this._selectedGraphic.layer.id];if(t){const i=JSON.parse(t).filter((t=>t.id===this._selectedGraphic.getObjectId()));i.length>0&&(this._isLikeBtnClicked=i[0].like,this._isDislikeBtnClicked=i[0].dislike)}}setInLocalStorage(){const t=this._selectedGraphic.layer.id,i=localStorage[t];let s=[];if(i){s=JSON.parse(i);const t=s.findIndex((t=>t.id===this._selectedGraphic.getObjectId()));t>=0&&s.splice(t,1)}s.push({id:this._selectedGraphic.getObjectId(),like:this._isLikeBtnClicked&&0!==this._likeCount,dislike:this._isDislikeBtnClicked&&0!==this._disLikeCount}),localStorage.setItem(t,JSON.stringify(s))}static get watchers(){return{graphics:["graphicsWatchHandler"]}}};y.style=":host{display:block}.buttons-container{align-items:center;display:flex;padding:4px;color:var(--calcite-color-text-1) !important;background-color:var(--calcite-color-foreground-1) !important;border-block-start:1px solid var(--calcite-color-border-3);border-block-end:1px solid var(--calcite-color-border-3)}";const b=class{constructor(s){t(this,s),this.layerSelect=i(this,"layerSelect",7),this.layersListLoaded=i(this,"layersListLoaded",7),this.mapView=void 0,this.layers=void 0,this.locale=void 0,this.showFeatureCount=!0,this.showNextIcon=!1,this.applyLayerViewFilter=!1,this.filterByMapExtent=!1,this._noLayersToDisplay=!1,this._mapLayerIds=[],this._isLoading=!1,this._translations=void 0}get el(){return s(this)}_layerItemsHash;reactiveUtils;_filterByMapExtentHandle;async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}filterByMapExtentWatchHandler(t){t?this.initializeMapExtentFilter():this._filterByMapExtentHandle&&this._filterByMapExtentHandle.remove()}async refresh(){await this.setLayers()}layerSelect;layersListLoaded;async componentWillLoad(){await this.initModules(),await this._getTranslations(),this.filterByMapExtent&&this.initializeMapExtentFilter()}async componentDidLoad(){await this.setLayers()}render(){return e(a,{key:"ac83dce884ea72ee461cc628efb51bce08cf4ce5"},this._isLoading&&e("calcite-loader",{key:"77d15458f7a081acdae63f26ffaf7b2a5ca143ec",label:"",scale:"m"}),!this._isLoading&&this.mapView&&this._noLayersToDisplay&&e("calcite-notice",{key:"d48169628cdaf271a1263f1ef3218a98e64897f1",class:"error-msg",icon:"layers-reference",kind:"danger",open:!0},e("div",{key:"e5568829b5c90524f0d9313e4812d30837609db2",slot:"title"},this._translations.error),e("div",{key:"13f04655936656439c1119c56a0f7f919994f402",slot:"message"},this._translations.noLayerToDisplayErrorMsg)),!this._isLoading&&this.mapView&&e("calcite-list",{key:"b20eeb9052c5f75a2bf798e797ec928d37729484",label:"","selection-appearance":"border","selection-mode":"none"},this.renderLayerList()))}async initModules(){const[t]=await p.exports.loadModules(["esri/core/reactiveUtils"]);this.reactiveUtils=t}initializeMapExtentFilter(){this._filterByMapExtentHandle=this.reactiveUtils.when((()=>this.mapView.stationary),(()=>{this.setLayers()}),{initial:!0})}async setLayers(){this.mapView&&(this._isLoading=!0,await this.initLayerHash(),this._isLoading=!1)}async initLayerHash(){const t=[];this._layerItemsHash=await l(this.mapView,!0);const i=await r(this.mapView);for(const s of i)if("feature"===s?.type&&this.showFeatureCount){const i=s.createQuery();if(s?.definitionExpression&&(i.where=i.where+" AND "+s.definitionExpression),this.applyLayerViewFilter){const t=await d(this.mapView,s.id);t?.filter?.where&&(i.where=i.where?i.where+" AND "+t.filter.where:t.filter.where)}i.geometry=this.filterByMapExtent?this.mapView.extent:null;const e=s.queryFeatureCount(i);t.push(e),e.then((async t=>{const i=isNaN(t)?"":await c(t,{places:0,api:4,type:"decimal"});this._layerItemsHash[s.id].formattedFeatureCount=i}))}await Promise.all(t).then((()=>{const t=this.getLayersToBeShownInList(this._layerItemsHash);this._mapLayerIds=t.reverse(),this.handleNoLayersToDisplay()}),(()=>{this._mapLayerIds=[],this.handleNoLayersToDisplay()}))}handleNoLayersToDisplay(){this._noLayersToDisplay=!(this._mapLayerIds.length>0),this.layersListLoaded.emit(this._mapLayerIds)}getLayersToBeShownInList(t){const i=this.layers?.length>0?this.layers:[];return Object.keys(t).reduce(((t,s)=>(i.indexOf(s)>-1&&t.push(s),t)),[])}renderLayerList(){return this._mapLayerIds.length>0&&this._mapLayerIds.reduce(((t,i)=>(this._layerItemsHash[i]&&t.push(this.getLayerListItem(i)),t)),[])}getLayerListItem(t){const i=this._layerItemsHash[t].formattedFeatureCount;return e("calcite-list-item",{onCalciteListItemSelect:()=>{this.onLayerItemSelected(t)}},e("div",{class:"layer-name",slot:"content-start"},this._layerItemsHash[t].name),this.showFeatureCount&&void 0!==i&&""!==i&&e("div",{class:"feature-count",slot:"content-end"},"("+i+")"),this.showNextIcon&&e("calcite-icon",{flipRtl:!0,icon:"chevron-right",scale:"s",slot:"content-end"}))}onLayerItemSelected(t){this.layerSelect.emit({layerId:t,layerName:this._layerItemsHash[t].name})}async _getTranslations(){const t=await n(this.el);this._translations=t[0]}static get watchers(){return{locale:["localeWatchHandler"],filterByMapExtent:["filterByMapExtentWatchHandler"]}}};b.style=":host{display:block}.error-msg{padding:10px}.layer-name{font-weight:500;word-break:break-word}.feature-count{padding:0 10px}";export{f as create_related_feature,y as feature_details,b as layer_list}
@@ -3,7 +3,7 @@
3
3
  * Licensed under the Apache License, Version 2.0
4
4
  * http://www.apache.org/licenses/LICENSE-2.0
5
5
  */
6
- import{t}from"./p-4fe489cf.js";import{a as n}from"./p-e996c38f.js";import{l as i}from"./p-404cbf48.js";import{q as r}from"./p-dcd2f00b.js";import{S as e}from"./p-2bc98cb0.js";import"./p-4f236b5d.js";import{g as s}from"./p-570b13d9.js";import{a as o,r as a,c as u}from"./p-0668e30d.js";
6
+ import{t}from"./p-4fe489cf.js";import{a as n}from"./p-e996c38f.js";import{l as i}from"./p-404cbf48.js";import{q as r}from"./p-5693ce7a.js";import{S as e}from"./p-2bc98cb0.js";import"./p-4f236b5d.js";import{g as s}from"./p-570b13d9.js";import{a as o,r as a,c as u}from"./p-0668e30d.js";
7
7
  /* @preserve
8
8
  * arcgis-pdf-creator v0.0.1
9
9
  * Thu Apr 27 2023 17:20:32 GMT-0700 (Pacific Daylight Time)
@@ -3,4 +3,4 @@
3
3
  * Licensed under the Apache License, Version 2.0
4
4
  * http://www.apache.org/licenses/LICENSE-2.0
5
5
  */
6
- import{r as t,c as i,g as s,h as e}from"./p-e996c38f.js";import{l as a,g as h}from"./p-404cbf48.js";import{P as l}from"./p-bf04c6f4.js";import{g as n,c as o,h as r}from"./p-dcd2f00b.js";import"./p-0a24ad5f.js";import"./p-d4056c1c.js";import"./p-db3391b9.js";import"./p-4fe489cf.js";import"./p-2bc98cb0.js";import"./p-4f236b5d.js";import"./p-570b13d9.js";import"./p-0668e30d.js";import"./p-80cb7c73.js";const c=class{constructor(s){t(this,s),this.featureSelect=i(this,"featureSelect",7),this.selectedLayerId=void 0,this.mapView=void 0,this.noFeaturesFoundMsg=void 0,this.pageSize=100,this.highlightOnMap=!1,this.highlightOnHover=!1,this.locale=void 0,this.sortingInfo=void 0,this.whereClause=void 0,this.textSize="large",this.showInitialLoading=!0,this.showErrorWhenNoFeatures=!0,this.showUserImageInList=!1,this.showFeatureSymbol=!1,this.applyLayerViewFilter=!1,this.reportingOptions=void 0,this.showFullTitle=!0,this.filterByMapExtent=!1,this._featureItems=[],this._featuresCount=0,this._isLoading=!1,this._searchPlaceHolder="",this._fullTextSearchInfo=void 0,this._translations=void 0}get el(){return s(this)}Color;esriConfig;symbolUtils;reactiveUtils;_popupUtils;_selectedLayer;_highlightHandle;_filterByMapExtentHandle;_highlights;_pagination;_calciteList;_validFieldTypes=["small-integer","integer","big-integer","single","long"];_abbreviatedLikeCount;_likeFieldAvailable=!1;_searchExpression;async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}async selectedLayerWatchHandler(){this._selectedLayer=await n(this.mapView,this.selectedLayerId),await this.initializeFeatureItems()}async sortingInfoWatchHandler(){await this.initializeFeatureItems()}async whereClauseHandler(){await this.initializeFeatureItems()}async filterByMapExtentHandler(t){t?this.initializeMapExtentFilter():this._filterByMapExtentHandle&&this._filterByMapExtentHandle.remove()}async refresh(t){if(t&&this._pagination){const t={target:{startItem:this._pagination.startItem}};await this.pageChanged(t)}else this._searchExpression?await this._searchFullText():await this.initializeFeatureItems()}featureSelect;async componentWillLoad(){await this.initModules(),await this._getTranslations(),this._isLoading=this.showInitialLoading,this._popupUtils=new l,this.mapView&&this.selectedLayerId&&(this._selectedLayer=await n(this.mapView,this.selectedLayerId),this._getFullTextSearchInfo()),this.filterByMapExtent&&this.initializeMapExtentFilter()}async componentDidLoad(){await this.initializeFeatureItems()}render(){const t=this._canShowFullTextSearch();return e("calcite-panel",{key:"da51d35e66ceea64f32ddf7872ac7133f98bfc48","full-height":!0,"full-width":!0},t&&e("calcite-input",{key:"04a50538873d5a87eb194edca98fa5a86818bfc4",class:"search",clearable:!0,icon:"search",onCalciteInputChange:this._searchTextChanged.bind(this),placeholder:this._searchPlaceHolder,title:"",type:"search"}),this._isLoading&&e("calcite-loader",{key:"f89602c8d36c41d8ed5b028619853ba8e1dedbc9",label:"",scale:"m"}),this.showErrorWhenNoFeatures&&0===this._featureItems.length&&!this._isLoading&&e("calcite-notice",{key:"147d2072a916b9a0ec34d3819a8c88ded50673b1",class:"error-msg",icon:"feature-details",kind:"info",open:!0},e("div",{key:"ab769558c1489e9b24eff945b970230b5015a35c",slot:"message"},this.filterByMapExtent?this._translations.featureErrorMsgInCurrentMapView:this.noFeaturesFoundMsg?this.noFeaturesFoundMsg:this._translations.featureErrorMsg)),e("calcite-list",{key:"aa05260aa25bd5023be842969f6660950269221e",class:"small"!==this.textSize||this.showFullTitle?"":"overflow-hidden",label:"",ref:t=>this._calciteList=t,"selection-appearance":"border","selection-mode":"none"},!this._isLoading&&this._featureItems.length>0&&this._featureItems),this._featuresCount>this.pageSize&&e("div",{key:"6db2614c585cc95605998c2ddd96e9d8980ed875",class:"width-full",slot:"footer"},e("calcite-pagination",{key:"59f0c7e97b02215ec717d902fdf6294ed7c82a67",class:"pagination","full-width":!0,onCalcitePaginationChange:this.pageChanged.bind(this),"page-size":this.pageSize,ref:t=>this._pagination=t,"start-item":"1","total-items":this._featuresCount})))}async initModules(){const[t,i,s,e]=await a(["esri/Color","esri/config","esri/symbols/support/symbolUtils","esri/core/reactiveUtils"]);this.Color=t,this.esriConfig=i,this.symbolUtils=s,this.reactiveUtils=e}async getWhereCondition(){let t="1=1";if(this.whereClause&&(t=this.whereClause),this._selectedLayer?.definitionExpression&&(t=t+" AND "+this._selectedLayer.definitionExpression),this.applyLayerViewFilter){const i=await o(this.mapView,this.selectedLayerId);i?.filter?.where&&(t=t+" AND "+i.filter.where)}return t}async initializeFeatureItems(){if(this._selectedLayer){this._pagination?.goTo("start"),this._isLoading=this.showInitialLoading,this._featureItems=await this.queryPage(0);const t={where:await this.getWhereCondition(),geometry:this.filterByMapExtent?this.mapView.extent:null};this._featuresCount=await this._selectedLayer.queryFeatureCount(t),this._isLoading=!1}}initializeMapExtentFilter(){this._filterByMapExtentHandle=this.reactiveUtils.when((()=>this.mapView.stationary),(()=>{this.initializeFeatureItems()}),{initial:!0})}async pageChanged(t){this._isLoading=!0,this._highlightHandle&&(this._highlightHandle.remove(),this._highlightHandle=null);const i=t.target.startItem-1;this._featureItems=await this.queryPage(i),this._isLoading=!1}_canShowFullTextSearch(){return((this._selectedLayer?.capabilities)?.query)?.supportsFullTextSearch&&this._selectedLayer.indexes.items.filter((t=>"FullText"==t.indexType)).length>0}_getFullTextSearchInfo(){if(this._fullTextSearchInfo=[],((this._selectedLayer?.capabilities)?.query)?.supportsFullTextSearch){const t=this._selectedLayer.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._selectedLayer.getField(t.trim());s.push(i.alias)})),this._searchPlaceHolder=this._translations.searchPlaceholder.replace("{{fields}}",s.join(", ")),this._fullTextSearchInfo.push({onFields:["*"],searchTerm:"",searchType:"prefix"})}}}async _searchTextChanged(t){this._fullTextSearchInfo.forEach((i=>{i.searchTerm=t.target.value})),await this._searchFullText()}async _searchFullText(){this._searchExpression&&this._clearSearchDefinitionExpression();let t=[];if(this._fullTextSearchInfo&&this._fullTextSearchInfo[0].searchTerm){const i=this._selectedLayer.createQuery();i.fullText=this._fullTextSearchInfo,t=await this._selectedLayer.queryObjectIds(i),await this._updateSearchDefinitionExpression(t?.length?t:[-1])}await this.initializeFeatureItems()}async _updateSearchDefinitionExpression(t){const i=this._selectedLayer.definitionExpression;if(t?.length){const s=`objectId in(${t})`;this._selectedLayer.definitionExpression=i?.indexOf(this._searchExpression)>-1?i.replace(this._searchExpression,s):i?`${i} AND (${s})`:s,this._searchExpression=s}else this._clearSearchDefinitionExpression()}_clearSearchDefinitionExpression(){const t=this._selectedLayer.definitionExpression;this._searchExpression&&t?.indexOf(this._searchExpression)>-1&&(this._selectedLayer.definitionExpression=t?.indexOf(" AND ("+this._searchExpression)>-1?t.replace(` AND (${this._searchExpression})`,""):t.replace(this._searchExpression,"")),this._searchExpression=void 0}async featureClicked(t,i){if(this.clearHighlights(),this.highlightOnMap){const i=Number(t.target.value),s=await o(this.mapView,this.selectedLayerId);this._highlightHandle=await r([i],s,this.mapView,!0)}await this.emitSelectedFeature(i)}async emitSelectedFeature(t){const i=t.layer,s=i.createQuery();s.returnGeometry=!0,s.objectIds=[t.getObjectId()];const e=await i.queryFeatures(s);this.featureSelect.emit(e.features[0])}async onFeatureHover(t){if(this.clearHighlights(),this.highlightOnHover){const i=t.getObjectId(),s=await o(this.mapView,this.selectedLayerId);this._highlights&&(s.highlights=JSON.parse(this._highlights)),s.highlightOptions={color:new this.Color("#FFFF00")},this._highlights=JSON.stringify(s.highlights),this._highlightHandle=s.highlight([i])}}clearHighlights(){this._highlightHandle&&this._highlightHandle.remove()}async queryPage(t){const i=this._selectedLayer,s=this.sortingInfo?.field?this.sortingInfo.field:i.objectIdField,e=this.sortingInfo?.order?this.sortingInfo.order:"desc",a=await this.getWhereCondition(),h={start:t,num:this.pageSize,outFields:["*"],returnGeometry:!0,where:a,outSpatialReference:this.mapView.spatialReference.toJSON(),geometry:this.filterByMapExtent?this.mapView.extent:null};s&&e&&(h.orderByFields=[s.toString()+" "+e]);const l=await i.queryFeatures(h);return await this.createFeatureItem(l)}async createFeatureItem(t){const i=t?.features,s=this.reportingOptions&&this.reportingOptions[this.selectedLayerId].like,e=i.map((async t=>{const i=await this._popupUtils.getPopupTitle(t,this.mapView.map);let e,a;if(this.showUserImageInList){const i=this._selectedLayer.editFieldsInfo?.creatorField;i&&(e=await this.getUserInformation(t))}return this.showFeatureSymbol&&(a=await this.getFeatureSymbol(t)),s&&this.getAbbreviatedLikeCount(t),this.getFeatureItem(t,i,a,e)}));return Promise.all(e)}getAbbreviatedLikeCount(t){const i=this._selectedLayer,s=this.reportingOptions[i.id].likeField;i.fields.forEach((e=>{if(this._validFieldTypes.indexOf(e.type)>-1&&e.name===s&&this.reportingOptions[i.id].like){this._likeFieldAvailable=!0;let i=t.attributes[s]||0;i>999&&(i=i>999999?this._translations.millionsAbbreviation.replace("{{abbreviated_value}}",Math.floor(i/1e6).toString()):this._translations.thousandsAbbreviation.replace("{{abbreviated_value}}",Math.floor(i/1e3).toString())),this._abbreviatedLikeCount=i}}))}getFeatureItem(t,i,s,a){const h=t.attributes[this._selectedLayer.objectIdField].toString();i=i??h;const l=Number(t.attributes[this.reportingOptions?.[this._selectedLayer.id].likeField]).toLocaleString(),n="small"!==this.textSize||this.showFullTitle?"small"===this.textSize?"feature-list-popup-title-small":"feature-list-popup-title":"feature-list-popup-title-small-ellipsis",o=this._calciteList.offsetWidth-(this.showUserImageInList?115:65);return e("calcite-list-item",{onCalciteListItemSelect:i=>{this.featureClicked(i,t)},onMouseLeave:()=>{this.clearHighlights()},onMouseOver:()=>{this.onFeatureHover(t)},value:h},this.showUserImageInList&&e("calcite-avatar",{class:"profile-img","full-name":a?.fullName,scale:"m",slot:"content-start",thumbnail:a?.userProfileUrl,userId:a?.id,username:a?.fullName?a.username:void 0}),this.showFeatureSymbol&&e("div",{class:"feature-symbol",ref:t=>t&&t.replaceChildren(s),slot:"content-start"}),e("div",{class:`popup-title ${n}`,slot:"content-start",style:{maxWidth:"large"===this.textSize?"none":`${o}px`}},i),this._likeFieldAvailable&&e("div",{class:"like-container",id:h.concat("like"),slot:"content-end"},e("span",null,this._abbreviatedLikeCount),e("calcite-icon",{icon:"thumbs-up",scale:"s"}),e("calcite-tooltip",{overlayPositioning:"fixed",placement:"top","reference-element":h.concat("like")},l)),e("calcite-icon",{flipRtl:!0,icon:"chevron-right",scale:"s",slot:"content-end"}))}async getUserInformation(t){let i=this._selectedLayer.editFieldsInfo?.creatorField;t.attributes.hasOwnProperty(i.toLowerCase())?i=i.toLowerCase():t.attributes.hasOwnProperty(i.toUpperCase())&&(i=i.toUpperCase());let s=`${this.esriConfig.portalUrl}/sharing/rest/community/users/${t.attributes[i]}?f=json&returnUserLicensedItems=true`;const e=this.mapView.map.portalItem.portal?.credential?.token;e&&(s+=`&token=${e}`);const a=await fetch(s),h=await a.json();let l=`${this.esriConfig.portalUrl}/sharing/rest/community/users/${h?.username??t.attributes[i]}/info/blob.png`;return h?.access&&e&&(l+=`?token=${e}`),h.userProfileUrl=l,h}async getFeatureSymbol(t){const i=document.createElement("div");return await this.symbolUtils.getDisplayedSymbol(t).then((async t=>{if(t&&await(this.symbolUtils?.renderPreviewHTML(t,{node:i})),i.children?.length){const t=i.children[0];if(t){const i=Number(t.getAttribute("height")),s=Number(t.getAttribute("width"));s>30&&t.setAttribute("width","30"),i>30&&t.setAttribute("height","30"),t.setAttribute("viewBox",`0 0 ${s} ${i}`)}}})),i}async _getTranslations(){const t=await h(this.el);this._translations=t[0]}static get watchers(){return{locale:["localeWatchHandler"],selectedLayerId:["selectedLayerWatchHandler"],sortingInfo:["sortingInfoWatchHandler"],whereClause:["whereClauseHandler"],filterByMapExtent:["filterByMapExtentHandler"]}}};c.style=":host{display:block}.width-full{width:100%}.pagination{display:flex;justify-content:center}.error-msg{padding:10px;width:calc(100% - 20px)}.feature-list-popup-title{font-weight:500;white-space:pre-line}.feature-list-popup-title-small{font-size:small;white-space:pre-line}.feature-list-popup-title-small-ellipsis{font-size:small;white-space:nowrap !important;text-overflow:ellipsis;overflow:hidden}.popup-title{padding:0 5px;word-break:break-word}.profile-img{margin:0 5px;min-width:32px}.like-container{display:flex;align-items:center;gap:5px;color:gray !important;font-style:italic}.feature-symbol{padding:0 3px;min-width:30px;display:flex;justify-content:center}.search{padding:10px;background-color:var(--calcite-color-foreground-1) !important;border-block-end:1px solid var(--calcite-color-border-3)}";export{c as feature_list}
6
+ import{r as t,c as i,g as s,h as e}from"./p-e996c38f.js";import{l as a,g as h}from"./p-404cbf48.js";import{P as l}from"./p-f3003b3a.js";import{g as n,c as o,h as r}from"./p-5693ce7a.js";import"./p-0a24ad5f.js";import"./p-d4056c1c.js";import"./p-4084e2d1.js";import"./p-4fe489cf.js";import"./p-2bc98cb0.js";import"./p-4f236b5d.js";import"./p-570b13d9.js";import"./p-0668e30d.js";import"./p-80cb7c73.js";const c=class{constructor(s){t(this,s),this.featureSelect=i(this,"featureSelect",7),this.selectedLayerId=void 0,this.mapView=void 0,this.noFeaturesFoundMsg=void 0,this.pageSize=100,this.highlightOnMap=!1,this.highlightOnHover=!1,this.locale=void 0,this.sortingInfo=void 0,this.whereClause=void 0,this.textSize="large",this.showInitialLoading=!0,this.showErrorWhenNoFeatures=!0,this.showUserImageInList=!1,this.showFeatureSymbol=!1,this.applyLayerViewFilter=!1,this.reportingOptions=void 0,this.showFullTitle=!0,this.filterByMapExtent=!1,this._featureItems=[],this._featuresCount=0,this._isLoading=!1,this._searchPlaceHolder="",this._fullTextSearchInfo=void 0,this._translations=void 0}get el(){return s(this)}Color;esriConfig;symbolUtils;reactiveUtils;_popupUtils;_selectedLayer;_highlightHandle;_filterByMapExtentHandle;_highlights;_pagination;_calciteList;_validFieldTypes=["small-integer","integer","big-integer","single","long"];_abbreviatedLikeCount;_likeFieldAvailable=!1;_searchExpression;async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}async selectedLayerWatchHandler(){this._selectedLayer=await n(this.mapView,this.selectedLayerId),await this.initializeFeatureItems()}async sortingInfoWatchHandler(){await this.initializeFeatureItems()}async whereClauseHandler(){await this.initializeFeatureItems()}async filterByMapExtentHandler(t){t?this.initializeMapExtentFilter():this._filterByMapExtentHandle&&this._filterByMapExtentHandle.remove()}async refresh(t){if(t&&this._pagination){const t={target:{startItem:this._pagination.startItem}};await this.pageChanged(t)}else this._searchExpression?await this._searchFullText():await this.initializeFeatureItems()}featureSelect;async componentWillLoad(){await this.initModules(),await this._getTranslations(),this._isLoading=this.showInitialLoading,this._popupUtils=new l,this.mapView&&this.selectedLayerId&&(this._selectedLayer=await n(this.mapView,this.selectedLayerId),this._getFullTextSearchInfo()),this.filterByMapExtent&&this.initializeMapExtentFilter()}async componentDidLoad(){await this.initializeFeatureItems()}render(){const t=this._canShowFullTextSearch();return e("calcite-panel",{key:"da51d35e66ceea64f32ddf7872ac7133f98bfc48","full-height":!0,"full-width":!0},t&&e("calcite-input",{key:"04a50538873d5a87eb194edca98fa5a86818bfc4",class:"search",clearable:!0,icon:"search",onCalciteInputChange:this._searchTextChanged.bind(this),placeholder:this._searchPlaceHolder,title:"",type:"search"}),this._isLoading&&e("calcite-loader",{key:"f89602c8d36c41d8ed5b028619853ba8e1dedbc9",label:"",scale:"m"}),this.showErrorWhenNoFeatures&&0===this._featureItems.length&&!this._isLoading&&e("calcite-notice",{key:"147d2072a916b9a0ec34d3819a8c88ded50673b1",class:"error-msg",icon:"feature-details",kind:"info",open:!0},e("div",{key:"ab769558c1489e9b24eff945b970230b5015a35c",slot:"message"},this.filterByMapExtent?this._translations.featureErrorMsgInCurrentMapView:this.noFeaturesFoundMsg?this.noFeaturesFoundMsg:this._translations.featureErrorMsg)),e("calcite-list",{key:"aa05260aa25bd5023be842969f6660950269221e",class:"small"!==this.textSize||this.showFullTitle?"":"overflow-hidden",label:"",ref:t=>this._calciteList=t,"selection-appearance":"border","selection-mode":"none"},!this._isLoading&&this._featureItems.length>0&&this._featureItems),this._featuresCount>this.pageSize&&e("div",{key:"6db2614c585cc95605998c2ddd96e9d8980ed875",class:"width-full",slot:"footer"},e("calcite-pagination",{key:"59f0c7e97b02215ec717d902fdf6294ed7c82a67",class:"pagination","full-width":!0,onCalcitePaginationChange:this.pageChanged.bind(this),"page-size":this.pageSize,ref:t=>this._pagination=t,"start-item":"1","total-items":this._featuresCount})))}async initModules(){const[t,i,s,e]=await a(["esri/Color","esri/config","esri/symbols/support/symbolUtils","esri/core/reactiveUtils"]);this.Color=t,this.esriConfig=i,this.symbolUtils=s,this.reactiveUtils=e}async getWhereCondition(){let t="1=1";if(this.whereClause&&(t=this.whereClause),this._selectedLayer?.definitionExpression&&(t=t+" AND "+this._selectedLayer.definitionExpression),this.applyLayerViewFilter){const i=await o(this.mapView,this.selectedLayerId);i?.filter?.where&&(t=t+" AND "+i.filter.where)}return t}async initializeFeatureItems(){if(this._selectedLayer){this._pagination?.goTo("start"),this._isLoading=this.showInitialLoading,this._featureItems=await this.queryPage(0);const t={where:await this.getWhereCondition(),geometry:this.filterByMapExtent?this.mapView.extent:null};this._featuresCount=await this._selectedLayer.queryFeatureCount(t),this._isLoading=!1}}initializeMapExtentFilter(){this._filterByMapExtentHandle=this.reactiveUtils.when((()=>this.mapView.stationary),(()=>{this.initializeFeatureItems()}),{initial:!0})}async pageChanged(t){this._isLoading=!0,this._highlightHandle&&(this._highlightHandle.remove(),this._highlightHandle=null);const i=t.target.startItem-1;this._featureItems=await this.queryPage(i),this._isLoading=!1}_canShowFullTextSearch(){return((this._selectedLayer?.capabilities)?.query)?.supportsFullTextSearch&&this._selectedLayer.indexes.items.filter((t=>"FullText"==t.indexType)).length>0}_getFullTextSearchInfo(){if(this._fullTextSearchInfo=[],((this._selectedLayer?.capabilities)?.query)?.supportsFullTextSearch){const t=this._selectedLayer.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._selectedLayer.getField(t.trim());s.push(i.alias)})),this._searchPlaceHolder=this._translations.searchPlaceholder.replace("{{fields}}",s.join(", ")),this._fullTextSearchInfo.push({onFields:["*"],searchTerm:"",searchType:"prefix"})}}}async _searchTextChanged(t){this._fullTextSearchInfo.forEach((i=>{i.searchTerm=t.target.value})),await this._searchFullText()}async _searchFullText(){this._searchExpression&&this._clearSearchDefinitionExpression();let t=[];if(this._fullTextSearchInfo&&this._fullTextSearchInfo[0].searchTerm){const i=this._selectedLayer.createQuery();i.fullText=this._fullTextSearchInfo,t=await this._selectedLayer.queryObjectIds(i),await this._updateSearchDefinitionExpression(t?.length?t:[-1])}await this.initializeFeatureItems()}async _updateSearchDefinitionExpression(t){const i=this._selectedLayer.definitionExpression;if(t?.length){const s=`objectId in(${t})`;this._selectedLayer.definitionExpression=i?.indexOf(this._searchExpression)>-1?i.replace(this._searchExpression,s):i?`${i} AND (${s})`:s,this._searchExpression=s}else this._clearSearchDefinitionExpression()}_clearSearchDefinitionExpression(){const t=this._selectedLayer.definitionExpression;this._searchExpression&&t?.indexOf(this._searchExpression)>-1&&(this._selectedLayer.definitionExpression=t?.indexOf(" AND ("+this._searchExpression)>-1?t.replace(` AND (${this._searchExpression})`,""):t.replace(this._searchExpression,"")),this._searchExpression=void 0}async featureClicked(t,i){if(this.clearHighlights(),this.highlightOnMap){const i=Number(t.target.value),s=await o(this.mapView,this.selectedLayerId);this._highlightHandle=await r([i],s,this.mapView,!0)}await this.emitSelectedFeature(i)}async emitSelectedFeature(t){const i=t.layer,s=i.createQuery();s.returnGeometry=!0,s.objectIds=[t.getObjectId()];const e=await i.queryFeatures(s);this.featureSelect.emit(e.features[0])}async onFeatureHover(t){if(this.clearHighlights(),this.highlightOnHover){const i=t.getObjectId(),s=await o(this.mapView,this.selectedLayerId);this._highlights&&(s.highlights=JSON.parse(this._highlights)),s.highlightOptions={color:new this.Color("#FFFF00")},this._highlights=JSON.stringify(s.highlights),this._highlightHandle=s.highlight([i])}}clearHighlights(){this._highlightHandle&&this._highlightHandle.remove()}async queryPage(t){const i=this._selectedLayer,s=this.sortingInfo?.field?this.sortingInfo.field:i.objectIdField,e=this.sortingInfo?.order?this.sortingInfo.order:"desc",a=await this.getWhereCondition(),h={start:t,num:this.pageSize,outFields:["*"],returnGeometry:!0,where:a,outSpatialReference:this.mapView.spatialReference.toJSON(),geometry:this.filterByMapExtent?this.mapView.extent:null};s&&e&&(h.orderByFields=[s.toString()+" "+e]);const l=await i.queryFeatures(h);return await this.createFeatureItem(l)}async createFeatureItem(t){const i=t?.features,s=this.reportingOptions&&this.reportingOptions[this.selectedLayerId].like,e=i.map((async t=>{const i=await this._popupUtils.getPopupTitle(t,this.mapView.map);let e,a;if(this.showUserImageInList){const i=this._selectedLayer.editFieldsInfo?.creatorField;i&&(e=await this.getUserInformation(t))}return this.showFeatureSymbol&&(a=await this.getFeatureSymbol(t)),s&&this.getAbbreviatedLikeCount(t),this.getFeatureItem(t,i,a,e)}));return Promise.all(e)}getAbbreviatedLikeCount(t){const i=this._selectedLayer,s=this.reportingOptions[i.id].likeField;i.fields.forEach((e=>{if(this._validFieldTypes.indexOf(e.type)>-1&&e.name===s&&this.reportingOptions[i.id].like){this._likeFieldAvailable=!0;let i=t.attributes[s]||0;i>999&&(i=i>999999?this._translations.millionsAbbreviation.replace("{{abbreviated_value}}",Math.floor(i/1e6).toString()):this._translations.thousandsAbbreviation.replace("{{abbreviated_value}}",Math.floor(i/1e3).toString())),this._abbreviatedLikeCount=i}}))}getFeatureItem(t,i,s,a){const h=t.attributes[this._selectedLayer.objectIdField].toString();i=i??h;const l=Number(t.attributes[this.reportingOptions?.[this._selectedLayer.id].likeField]).toLocaleString(),n="small"!==this.textSize||this.showFullTitle?"small"===this.textSize?"feature-list-popup-title-small":"feature-list-popup-title":"feature-list-popup-title-small-ellipsis",o=this._calciteList.offsetWidth-(this.showUserImageInList?115:65);return e("calcite-list-item",{onCalciteListItemSelect:i=>{this.featureClicked(i,t)},onMouseLeave:()=>{this.clearHighlights()},onMouseOver:()=>{this.onFeatureHover(t)},value:h},this.showUserImageInList&&e("calcite-avatar",{class:"profile-img","full-name":a?.fullName,scale:"m",slot:"content-start",thumbnail:a?.userProfileUrl,userId:a?.id,username:a?.fullName?a.username:void 0}),this.showFeatureSymbol&&e("div",{class:"feature-symbol",ref:t=>t&&t.replaceChildren(s),slot:"content-start"}),e("div",{class:`popup-title ${n}`,slot:"content-start",style:{maxWidth:"large"===this.textSize?"none":`${o}px`}},i),this._likeFieldAvailable&&e("div",{class:"like-container",id:h.concat("like"),slot:"content-end"},e("span",null,this._abbreviatedLikeCount),e("calcite-icon",{icon:"thumbs-up",scale:"s"}),e("calcite-tooltip",{overlayPositioning:"fixed",placement:"top","reference-element":h.concat("like")},l)),e("calcite-icon",{flipRtl:!0,icon:"chevron-right",scale:"s",slot:"content-end"}))}async getUserInformation(t){let i=this._selectedLayer.editFieldsInfo?.creatorField;t.attributes.hasOwnProperty(i.toLowerCase())?i=i.toLowerCase():t.attributes.hasOwnProperty(i.toUpperCase())&&(i=i.toUpperCase());let s=`${this.esriConfig.portalUrl}/sharing/rest/community/users/${t.attributes[i]}?f=json&returnUserLicensedItems=true`;const e=this.mapView.map.portalItem.portal?.credential?.token;e&&(s+=`&token=${e}`);const a=await fetch(s),h=await a.json();let l=`${this.esriConfig.portalUrl}/sharing/rest/community/users/${h?.username??t.attributes[i]}/info/blob.png`;return h?.access&&e&&(l+=`?token=${e}`),h.userProfileUrl=l,h}async getFeatureSymbol(t){const i=document.createElement("div");return await this.symbolUtils.getDisplayedSymbol(t).then((async t=>{if(t&&await(this.symbolUtils?.renderPreviewHTML(t,{node:i})),i.children?.length){const t=i.children[0];if(t){const i=Number(t.getAttribute("height")),s=Number(t.getAttribute("width"));s>30&&t.setAttribute("width","30"),i>30&&t.setAttribute("height","30"),t.setAttribute("viewBox",`0 0 ${s} ${i}`)}}})),i}async _getTranslations(){const t=await h(this.el);this._translations=t[0]}static get watchers(){return{locale:["localeWatchHandler"],selectedLayerId:["selectedLayerWatchHandler"],sortingInfo:["sortingInfoWatchHandler"],whereClause:["whereClauseHandler"],filterByMapExtent:["filterByMapExtentHandler"]}}};c.style=":host{display:block}.width-full{width:100%}.pagination{display:flex;justify-content:center}.error-msg{padding:10px;width:calc(100% - 20px)}.feature-list-popup-title{font-weight:500;white-space:pre-line}.feature-list-popup-title-small{font-size:small;white-space:pre-line}.feature-list-popup-title-small-ellipsis{font-size:small;white-space:nowrap !important;text-overflow:ellipsis;overflow:hidden}.popup-title{padding:0 5px;word-break:break-word}.profile-img{margin:0 5px;min-width:32px}.like-container{display:flex;align-items:center;gap:5px;color:gray !important;font-style:italic}.feature-symbol{padding:0 3px;min-width:30px;display:flex;justify-content:center}.search{padding:10px;background-color:var(--calcite-color-foreground-1) !important;border-block-end:1px solid var(--calcite-color-border-3)}";export{c as feature_list}
@@ -3,4 +3,4 @@
3
3
  * Licensed under the Apache License, Version 2.0
4
4
  * http://www.apache.org/licenses/LICENSE-2.0
5
5
  */
6
- import{r as t,c as i,g as e,h as s,H as a}from"./p-e996c38f.js";import{g as h}from"./p-404cbf48.js";import{g as n,d as o,n as c}from"./p-dcd2f00b.js";import{s as l}from"./p-e6859850.js";import"./p-0a24ad5f.js";import"./p-d4056c1c.js";import"./p-80cb7c73.js";import"./p-8717729a.js";const r=class{constructor(e){t(this,e),this.beforeLayerSelectionChange=i(this,"beforeLayerSelectionChange",7),this.idsFound=i(this,"idsFound",7),this.noLayersFound=i(this,"noLayersFound",7),this.layerSelectionChange=i(this,"layerSelectionChange",7),this.appearance="transparent",this.defaultLayerId="",this.display="inline-block",this.enabledLayerIds=[],this.enabledTableIds=[],this.height=void 0,this.isMobile=void 0,this.locale=void 0,this.mapView=void 0,this.onlyShowUpdatableLayers=void 0,this.placeholderIcon="",this.selectedIds=[],this.scale="m",this.showTables=void 0,this.showTablesDisabled=void 0,this.showSingleLayerAsLabel=!1,this.type="select",this._hasMultipleLayers=!0,this._hasValidLayers=!0,this._isDropdownOpen=void 0,this.ids=[],this.selectedName="",this._translations=void 0}get el(){return e(this)}defaultLayerHonored=!1;_layerElement;_layerNameHash;_skipEditCheck=!1;_tableNameHash;async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}async mapViewWatchHandler(){await this._setLayers(),this.ids.length>0?(this._hasValidLayers=!0,this._hasMultipleLayers=this.ids.length>1,this._setSelectedLayer(this.ids[0])):(this._hasValidLayers=!1,this.noLayersFound.emit())}async setLayerById(t,i=!1){this._skipEditCheck=i,this._setSelectedLayer(t),this._skipEditCheck=!1}async setLayerByIds(t,i=!1){this._skipEditCheck=i,this._layerSelectionChange(t),this._skipEditCheck=!1}async updateLayer(){this._setSelectedLayer(this.ids[0])}beforeLayerSelectionChange;idsFound;noLayersFound;layerSelectionChange;async componentWillLoad(){await this._getTranslations(),await this._setLayers()}async componentWillRender(){if(this.ids.length>0||1===this.selectedIds.length){const t=1===this.selectedIds.length?this.selectedIds[0]:this.ids[0];if(t!==this.selectedIds[0])this._setSelectedLayer(t);else{const t=await n(this.mapView,this.selectedIds[0]);this.selectedName=t?.title}}}render(){const t="map-layer-picker";let i=this.height>0?{height:`${this.height.toString()}px`}:{};return i={...i,display:this.display},s(a,{key:"147cfa11bb6bcfd439045cbf8718efb40847a80e"},s("div",{key:"7955f81d7b76f36c267cdc0716f117db44dce46e",class:"map-layer-picker-container",style:i},s("div",{key:"930a397e3504991e6681253b06c2e36bc7abf184",class:"map-layer-picker",style:i},this._hasValidLayers?!this._hasMultipleLayers&&this.showSingleLayerAsLabel?this._getSingleLayerPlaceholder():"combobox"===this.type?this._getCombobox(t):"select"===this.type?this._getSelect(t):this._getDropdown(t):this._getInvalidPlaceholder())))}async componentDidLoad(){if(this.ids.length>0||1===this.selectedIds.length){const t=1===this.selectedIds.length?this.selectedIds[0]:this.ids[0];"select"===this.type?this._layerElement.value=t:"dropdown"===this.type&&(this.selectedName=Object.keys(this._layerNameHash).indexOf(t)>-1?this._layerNameHash[t].name:Object.keys(this._tableNameHash).indexOf(t)>-1?this._tableNameHash[t].name:"")}}_getInvalidPlaceholder(){return s("div",null,s("calcite-notice",{class:"height-100",icon:"exclamation-mark-triangle",id:"no-valid-layers",kind:"danger",open:!0},s("div",{slot:"message"},this._translations.noLayersFound)),s("calcite-tooltip",{label:this._translations.enableEditUpdate,placement:"bottom","reference-element":"no-valid-layers"},s("span",null,this._translations.enableEditUpdate)))}_getSingleLayerPlaceholder(){const t=this._getItemTypeIcon();return s("div",{class:"layer-picker-label-container cursor-default"},s("calcite-icon",{icon:t,scale:"s"}),s("calcite-label",{class:"no-bottom-margin padding-start-1"},this.selectedName))}_getSelect(t){return s("calcite-select",{id:t,label:"",onCalciteSelectChange:()=>this._layerSelectionChange(),ref:t=>{this._layerElement=t},scale:this.scale},this._getMapLayerOptions())}_getCombobox(t){return s("calcite-combobox",{clearDisabled:!0,id:t,label:"",onCalciteComboboxChange:()=>this._layerSelectionChange(),"placeholder-icon":this.placeholderIcon,ref:t=>{this._layerElement=t},scale:this.scale,"selection-mode":"single"},this._getMapLayerOptions())}_getDropdown(t){return s("calcite-dropdown",{class:"layer-picker-dropdown",onCalciteDropdownBeforeClose:()=>this._isDropdownOpen=!1,onCalciteDropdownBeforeOpen:()=>this._isDropdownOpen=!0},this.isMobile?this._getDropdownButton():this._getActionDropdownButton(t),s("calcite-dropdown-group",{"selection-mode":"single"},this._getMapLayerOptions()))}_getActionDropdownButton(t){return s("calcite-action",{id:t,slot:"trigger",text:""},this._getDropdownButton())}_getDropdownButton(){const t=this._getItemTypeIcon();return s("calcite-button",{alignment:"icon-end-space-between",appearance:this.appearance,class:this.isMobile?"":"max-width-350",iconEnd:this._isDropdownOpen?"chevron-up":"chevron-down",iconStart:t,kind:"neutral",slot:this.isMobile?"trigger":"",width:"full"},s("div",null,this.selectedName))}_getItemTypeIcon(){let t="layers";if(this.selectedIds.length>0&&this._layerNameHash){const i=this.selectedIds[0];t=Object.keys(this._layerNameHash).indexOf(i)>-1?"layers":"table"}return t}_getMapLayerOptions(){return this.ids.reduce(((t,i)=>(this._validLayer(i)?t.push(this._getItem(i,"layer")):this._validTable(i)&&t.push(this._getItem(i,"table")),t)),[])}_getItem(t,i){const e="layer"===i?this._layerNameHash[t]:this._tableNameHash[t],a=!!this.onlyShowUpdatableLayers&&!e.supportsUpdate,h=e.name,n=this.selectedIds.indexOf(t)>-1;return"combobox"===this.type?s("calcite-combobox-item",{disabled:a,selected:n,textLabel:h,value:t}):"select"===this.type?s("calcite-option",{disabled:a,label:h,selected:n,value:t}):s("calcite-dropdown-group",{class:a?"disabled":"",selectionMode:a?"none":"single"},s("calcite-dropdown-item",{disabled:"table"===i&&this.showTablesDisabled,"icon-start":i,onClick:a?void 0:()=>{this._setSelectedLayer(t)},selected:n},h))}_setSelectedLayer(t){let i;this.defaultLayerId&&!this.defaultLayerHonored&&(i=this._getLayerFromHash(this.defaultLayerId),this.defaultLayerHonored=void 0!==i,t=this.defaultLayerHonored?this.defaultLayerId:t),i=i||this._getLayerFromHash(t),(this._skipEditCheck||!this.beforeLayerSelectionChange.emit({currentId:this.selectedIds[0],newId:t,ref:this.el}).defaultPrevented)&&(this.selectedName=i?.name,this.selectedIds=[t],this.layerSelectionChange.emit(this.selectedIds))}_getLayerFromHash(t){return Object.keys(this._layerNameHash).indexOf(t)>-1?this._layerNameHash[t]:Object.keys(this._tableNameHash).indexOf(t)>-1?this._tableNameHash[t]:void 0}async _setLayers(){if(this.mapView){await this._initLayerTableHash();const t=this.onlyShowUpdatableLayers?this._getEditableIds(this._layerNameHash):Object.keys(this._layerNameHash),i=this.showTables?this.onlyShowUpdatableLayers?this._getEditableIds(this._tableNameHash):Object.keys(this._tableNameHash):[];this.ids=[...t.reverse().filter((t=>!(this.enabledLayerIds?.length>0)||this.enabledLayerIds.reverse().indexOf(t)>-1)),...i.reverse().filter((t=>!(this.enabledTableIds?.length>0)||this.enabledTableIds.reverse().indexOf(t)>-1))],this.idsFound.emit({layerIds:t,tableIds:i})}}_getEditableIds(t){return Object.keys(t).reduce(((i,e)=>(t[e].supportsUpdate&&i.push(e),i)),[])}async _initLayerTableHash(){this._layerNameHash=await o(this.mapView,this.onlyShowUpdatableLayers),this._tableNameHash=this.showTables?await c(this.mapView,this.onlyShowUpdatableLayers):{}}_validLayer(t){const i=this._layerNameHash[t]?.name;return i&&Object.keys(l.managedLayers).indexOf(i)<0&&(!(this.enabledLayerIds.length>0)||this.enabledLayerIds.indexOf(t)>-1)}_validTable(t){const i=this._tableNameHash[t]?.name,e=i&&this.showTables;return e?l.managedTables.indexOf(i)<0&&(!(this.enabledTableIds.length>0)||this.enabledTableIds.indexOf(t)>-1):e}_layerSelectionChange(t){const i=t||(Array.isArray(this._layerElement.value)?this._layerElement.value:[this._layerElement.value]);if(JSON.stringify(i)!==JSON.stringify([""])){if(!this._skipEditCheck&&this.beforeLayerSelectionChange.emit({currentIds:this.selectedIds,newIds:i,ref:this.el}).defaultPrevented)return;this.selectedIds=i,this.layerSelectionChange.emit(this.selectedIds)}}async _getTranslations(){const t=await h(this.el);this._translations=t[0]}static get watchers(){return{locale:["localeWatchHandler"],mapView:["mapViewWatchHandler"]}}};r.style=":host{display:block}.map-layer-picker-container{width:100%;align-items:center}.map-layer-picker{position:relative;width:100%;display:inline-block}.padding-bottom-1{padding-bottom:1rem}.layer-picker-dropdown{height:100%;width:100%}.max-width-350{max-width:350px}.height-100{height:100%}.disabled{cursor:default !important;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled);pointer-events:none}.no-bottom-margin{--calcite-label-margin-bottom:0px}.layer-picker-label-container{align-items:center;display:inline-flex;height:100%;padding-inline-start:1rem;padding-inline-end:1rem}.padding-start-1{padding-inline-start:1rem}.cursor-default{cursor:default}";export{r as map_layer_picker}
6
+ import{r as t,c as i,g as e,h as s,H as a}from"./p-e996c38f.js";import{g as h}from"./p-404cbf48.js";import{g as n,d as o,n as c}from"./p-5693ce7a.js";import{s as l}from"./p-e6859850.js";import"./p-0a24ad5f.js";import"./p-d4056c1c.js";import"./p-80cb7c73.js";import"./p-8717729a.js";const r=class{constructor(e){t(this,e),this.beforeLayerSelectionChange=i(this,"beforeLayerSelectionChange",7),this.idsFound=i(this,"idsFound",7),this.noLayersFound=i(this,"noLayersFound",7),this.layerSelectionChange=i(this,"layerSelectionChange",7),this.appearance="transparent",this.defaultLayerId="",this.display="inline-block",this.enabledLayerIds=[],this.enabledTableIds=[],this.height=void 0,this.isMobile=void 0,this.locale=void 0,this.mapView=void 0,this.onlyShowUpdatableLayers=void 0,this.placeholderIcon="",this.selectedIds=[],this.scale="m",this.showTables=void 0,this.showTablesDisabled=void 0,this.showSingleLayerAsLabel=!1,this.type="select",this._hasMultipleLayers=!0,this._hasValidLayers=!0,this._isDropdownOpen=void 0,this.ids=[],this.selectedName="",this._translations=void 0}get el(){return e(this)}defaultLayerHonored=!1;_layerElement;_layerNameHash;_skipEditCheck=!1;_tableNameHash;async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}async mapViewWatchHandler(){await this._setLayers(),this.ids.length>0?(this._hasValidLayers=!0,this._hasMultipleLayers=this.ids.length>1,this._setSelectedLayer(this.ids[0])):(this._hasValidLayers=!1,this.noLayersFound.emit())}async setLayerById(t,i=!1){this._skipEditCheck=i,this._setSelectedLayer(t),this._skipEditCheck=!1}async setLayerByIds(t,i=!1){this._skipEditCheck=i,this._layerSelectionChange(t),this._skipEditCheck=!1}async updateLayer(){this._setSelectedLayer(this.ids[0])}beforeLayerSelectionChange;idsFound;noLayersFound;layerSelectionChange;async componentWillLoad(){await this._getTranslations(),await this._setLayers()}async componentWillRender(){if(this.ids.length>0||1===this.selectedIds.length){const t=1===this.selectedIds.length?this.selectedIds[0]:this.ids[0];if(t!==this.selectedIds[0])this._setSelectedLayer(t);else{const t=await n(this.mapView,this.selectedIds[0]);this.selectedName=t?.title}}}render(){const t="map-layer-picker";let i=this.height>0?{height:`${this.height.toString()}px`}:{};return i={...i,display:this.display},s(a,{key:"147cfa11bb6bcfd439045cbf8718efb40847a80e"},s("div",{key:"7955f81d7b76f36c267cdc0716f117db44dce46e",class:"map-layer-picker-container",style:i},s("div",{key:"930a397e3504991e6681253b06c2e36bc7abf184",class:"map-layer-picker",style:i},this._hasValidLayers?!this._hasMultipleLayers&&this.showSingleLayerAsLabel?this._getSingleLayerPlaceholder():"combobox"===this.type?this._getCombobox(t):"select"===this.type?this._getSelect(t):this._getDropdown(t):this._getInvalidPlaceholder())))}async componentDidLoad(){if(this.ids.length>0||1===this.selectedIds.length){const t=1===this.selectedIds.length?this.selectedIds[0]:this.ids[0];"select"===this.type?this._layerElement.value=t:"dropdown"===this.type&&(this.selectedName=Object.keys(this._layerNameHash).indexOf(t)>-1?this._layerNameHash[t].name:Object.keys(this._tableNameHash).indexOf(t)>-1?this._tableNameHash[t].name:"")}}_getInvalidPlaceholder(){return s("div",null,s("calcite-notice",{class:"height-100",icon:"exclamation-mark-triangle",id:"no-valid-layers",kind:"danger",open:!0},s("div",{slot:"message"},this._translations.noLayersFound)),s("calcite-tooltip",{label:this._translations.enableEditUpdate,placement:"bottom","reference-element":"no-valid-layers"},s("span",null,this._translations.enableEditUpdate)))}_getSingleLayerPlaceholder(){const t=this._getItemTypeIcon();return s("div",{class:"layer-picker-label-container cursor-default"},s("calcite-icon",{icon:t,scale:"s"}),s("calcite-label",{class:"no-bottom-margin padding-start-1"},this.selectedName))}_getSelect(t){return s("calcite-select",{id:t,label:"",onCalciteSelectChange:()=>this._layerSelectionChange(),ref:t=>{this._layerElement=t},scale:this.scale},this._getMapLayerOptions())}_getCombobox(t){return s("calcite-combobox",{clearDisabled:!0,id:t,label:"",onCalciteComboboxChange:()=>this._layerSelectionChange(),"placeholder-icon":this.placeholderIcon,ref:t=>{this._layerElement=t},scale:this.scale,"selection-mode":"single"},this._getMapLayerOptions())}_getDropdown(t){return s("calcite-dropdown",{class:"layer-picker-dropdown",onCalciteDropdownBeforeClose:()=>this._isDropdownOpen=!1,onCalciteDropdownBeforeOpen:()=>this._isDropdownOpen=!0},this.isMobile?this._getDropdownButton():this._getActionDropdownButton(t),s("calcite-dropdown-group",{"selection-mode":"single"},this._getMapLayerOptions()))}_getActionDropdownButton(t){return s("calcite-action",{id:t,slot:"trigger",text:""},this._getDropdownButton())}_getDropdownButton(){const t=this._getItemTypeIcon();return s("calcite-button",{alignment:"icon-end-space-between",appearance:this.appearance,class:this.isMobile?"":"max-width-350",iconEnd:this._isDropdownOpen?"chevron-up":"chevron-down",iconStart:t,kind:"neutral",slot:this.isMobile?"trigger":"",width:"full"},s("div",null,this.selectedName))}_getItemTypeIcon(){let t="layers";if(this.selectedIds.length>0&&this._layerNameHash){const i=this.selectedIds[0];t=Object.keys(this._layerNameHash).indexOf(i)>-1?"layers":"table"}return t}_getMapLayerOptions(){return this.ids.reduce(((t,i)=>(this._validLayer(i)?t.push(this._getItem(i,"layer")):this._validTable(i)&&t.push(this._getItem(i,"table")),t)),[])}_getItem(t,i){const e="layer"===i?this._layerNameHash[t]:this._tableNameHash[t],a=!!this.onlyShowUpdatableLayers&&!e.supportsUpdate,h=e.name,n=this.selectedIds.indexOf(t)>-1;return"combobox"===this.type?s("calcite-combobox-item",{disabled:a,selected:n,textLabel:h,value:t}):"select"===this.type?s("calcite-option",{disabled:a,label:h,selected:n,value:t}):s("calcite-dropdown-group",{class:a?"disabled":"",selectionMode:a?"none":"single"},s("calcite-dropdown-item",{disabled:"table"===i&&this.showTablesDisabled,"icon-start":i,onClick:a?void 0:()=>{this._setSelectedLayer(t)},selected:n},h))}_setSelectedLayer(t){let i;this.defaultLayerId&&!this.defaultLayerHonored&&(i=this._getLayerFromHash(this.defaultLayerId),this.defaultLayerHonored=void 0!==i,t=this.defaultLayerHonored?this.defaultLayerId:t),i=i||this._getLayerFromHash(t),(this._skipEditCheck||!this.beforeLayerSelectionChange.emit({currentId:this.selectedIds[0],newId:t,ref:this.el}).defaultPrevented)&&(this.selectedName=i?.name,this.selectedIds=[t],this.layerSelectionChange.emit(this.selectedIds))}_getLayerFromHash(t){return Object.keys(this._layerNameHash).indexOf(t)>-1?this._layerNameHash[t]:Object.keys(this._tableNameHash).indexOf(t)>-1?this._tableNameHash[t]:void 0}async _setLayers(){if(this.mapView){await this._initLayerTableHash();const t=this.onlyShowUpdatableLayers?this._getEditableIds(this._layerNameHash):Object.keys(this._layerNameHash),i=this.showTables?this.onlyShowUpdatableLayers?this._getEditableIds(this._tableNameHash):Object.keys(this._tableNameHash):[];this.ids=[...t.reverse().filter((t=>!(this.enabledLayerIds?.length>0)||this.enabledLayerIds.reverse().indexOf(t)>-1)),...i.reverse().filter((t=>!(this.enabledTableIds?.length>0)||this.enabledTableIds.reverse().indexOf(t)>-1))],this.idsFound.emit({layerIds:t,tableIds:i})}}_getEditableIds(t){return Object.keys(t).reduce(((i,e)=>(t[e].supportsUpdate&&i.push(e),i)),[])}async _initLayerTableHash(){this._layerNameHash=await o(this.mapView,this.onlyShowUpdatableLayers),this._tableNameHash=this.showTables?await c(this.mapView,this.onlyShowUpdatableLayers):{}}_validLayer(t){const i=this._layerNameHash[t]?.name;return i&&Object.keys(l.managedLayers).indexOf(i)<0&&(!(this.enabledLayerIds.length>0)||this.enabledLayerIds.indexOf(t)>-1)}_validTable(t){const i=this._tableNameHash[t]?.name,e=i&&this.showTables;return e?l.managedTables.indexOf(i)<0&&(!(this.enabledTableIds.length>0)||this.enabledTableIds.indexOf(t)>-1):e}_layerSelectionChange(t){const i=t||(Array.isArray(this._layerElement.value)?this._layerElement.value:[this._layerElement.value]);if(JSON.stringify(i)!==JSON.stringify([""])){if(!this._skipEditCheck&&this.beforeLayerSelectionChange.emit({currentIds:this.selectedIds,newIds:i,ref:this.el}).defaultPrevented)return;this.selectedIds=i,this.layerSelectionChange.emit(this.selectedIds)}}async _getTranslations(){const t=await h(this.el);this._translations=t[0]}static get watchers(){return{locale:["localeWatchHandler"],mapView:["mapViewWatchHandler"]}}};r.style=":host{display:block}.map-layer-picker-container{width:100%;align-items:center}.map-layer-picker{position:relative;width:100%;display:inline-block}.padding-bottom-1{padding-bottom:1rem}.layer-picker-dropdown{height:100%;width:100%}.max-width-350{max-width:350px}.height-100{height:100%}.disabled{cursor:default !important;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled);pointer-events:none}.no-bottom-margin{--calcite-label-margin-bottom:0px}.layer-picker-label-container{align-items:center;display:inline-flex;height:100%;padding-inline-start:1rem;padding-inline-end:1rem}.padding-start-1{padding-inline-start:1rem}.cursor-default{cursor:default}";export{r as map_layer_picker}
@@ -0,0 +1,36 @@
1
+ /*!
2
+ * Copyright 2022 Esri
3
+ * Licensed under the Apache License, Version 2.0
4
+ * http://www.apache.org/licenses/LICENSE-2.0
5
+ */
6
+ import{a as t}from"./p-80cb7c73.js";
7
+ /** @license
8
+ * Copyright 2022 Esri
9
+ *
10
+ * Licensed under the Apache License, Version 2.0 (the "License");
11
+ * you may not use this file except in compliance with the License.
12
+ * You may obtain a copy of the License at
13
+ *
14
+ * http://www.apache.org/licenses/LICENSE-2.0
15
+ *
16
+ * Unless required by applicable law or agreed to in writing, software
17
+ * distributed under the License is distributed on an "AS IS" BASIS,
18
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19
+ * See the License for the specific language governing permissions and
20
+ * limitations under the License.
21
+ */async function n(t,n){let a=[];const s=t?t.map((t=>async function(t,n){const a=n.createQuery();return a.spatialRelationship="intersects",a.geometry=t,n.queryObjectIds(a)}
22
+ /** @license
23
+ * Copyright 2022 Esri
24
+ *
25
+ * Licensed under the Apache License, Version 2.0 (the "License");
26
+ * you may not use this file except in compliance with the License.
27
+ * You may obtain a copy of the License at
28
+ *
29
+ * http://www.apache.org/licenses/LICENSE-2.0
30
+ *
31
+ * Unless required by applicable law or agreed to in writing, software
32
+ * distributed under the License is distributed on an "AS IS" BASIS,
33
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
34
+ * See the License for the specific language governing permissions and
35
+ * limitations under the License.
36
+ */(t,n))):[Promise.resolve()];return(await Promise.all(s)).forEach((t=>{a=[...a,...t||[]]})),a}async function a(t,n,s,o,c,e){const i=n.capabilities?.query.maxRecordCount;0===t.length&&(t=await n.queryObjectIds());const r=n.createQuery();if(r.returnGeometry=o,r.objectIds=t.slice(0,i),c&&(r.outSpatialReference=c),e){const t=n.fields.map((t=>t.name.toLowerCase()));r.outFields=e.filter((n=>t.indexOf(n.toLowerCase())>-1))}const u=await n.queryFeatures(r);s=s.concat(u.features);const f=t.slice(i,t.length);return f.length>0?a(f,n,s,o,c,e):Promise.resolve(s)}async function s(t,n){const a=n.globalIdField;if(!a)return[];const s=n.createQuery();return s.returnGeometry=!1,s.outFields=[n.objectIdField],s.where=t.map((t=>`${a} = '${t}'`)).join(" or "),(await n.queryFeatures(s)).features}async function o(t,n,a,s){const c=n.capabilities.query.maxRecordCount,e=n.createQuery();e.start=t,e.num=c,e.geometry=a;const i=await n.queryFeatures(e);return s[n.id]=s[n.id].concat(i.features),i.exceededTransferLimit?o(t+=c,n,a,s):Promise.resolve(s)}function c(t,n){return[...e(t,"polygon",n),...e(t,"polyline",n),...e(t,"point",n)]}function e(t,n,a){const s=t?.filter((t=>t.type===n))||[];return s.length<=1?s:[a.union(s)]}async function i(t,n){let a;return await t.when((()=>{a=t.map.allLayers.toArray().reduce(((t,n)=>("feature"!==n.type&&"subtype-group"!==n?.type||(t[n.id]={name:n.title,supportsUpdate:void 0}),t)),{})})),u(n,a,t)}async function r(t,n){let a;return await t.when((()=>{a=t.map.allTables.toArray().reduce(((t,n)=>(t[n.id]={name:n.title,supportsUpdate:void 0},t)),{})})),u(n,a,t)}async function u(t,n,a){if(t){const t={},s=Object.keys(n);for(let o=0;o<s.length;o++){const c=s[o],e=await w(a,c);await e.load(),await e.when(),t[c]={name:n[c].name,supportsUpdate:e.editingEnabled&&e.capabilities.operations.supportsUpdate}}return t}return n}async function f(t,n){const a=await w(t,n);return a?await t.whenLayerView(a):void 0}async function w(t,n){let a=[];return await(t?.when((()=>{a=[...t.map.allLayers.toArray(),...t.map.allTables.toArray()].filter((t=>t.id===n))}))),a.length>0?a[0]:void 0}async function y(t){const n=t.map.allLayers.toArray();let a;return await t.when((()=>{a=n.map((n=>t.whenLayerView(n)))})),await Promise.allSettled(a),n}async function p(t){const n=t.map.allTables.toArray();let a;return await t.when((()=>{a=n.map((t=>t.load()))})),await Promise.allSettled(a),n}async function m(t,n,a,s=!1,o=0){return s&&(await b(t,n,a,!1,void 0,o),await new Promise((t=>setTimeout(t,1e3)))),n.highlight(t)}async function l(t){const n=d(t);return Object.keys(n).reduce(((t,a)=>{const s=n[a];return t.push(s.layerView.highlight(s.ids)),t}),[])}function d(n){return n.reduce(((n,a)=>{const s=a.layerView,o=s?.layer.id;return o&&Object.keys(n).indexOf(o)>-1?n[o].ids=[...new Set([...a.selectedIds,...n[o].ids])]:o&&(n[o]={layerView:s,ids:a.selectedIds}),a.workflowType===t.REFINE&&Object.keys(a.refineInfos).forEach((t=>{const s=a.refineInfos[t];Object.keys(n).indexOf(t)>-1&&(n[t].ids=[...new Set([...s.addIds,...n[t].ids])],n[t].ids=n[t].ids.filter((t=>s.removeIds.indexOf(t)<0)))})),n}),{})}async function b(t,n,a,s=!0,o,c=0){const e=await async function(t,n){const a=n.createQuery();return a.objectIds=t,n.queryExtent(a)}(t,n.layer),i={target:e.extent};1===e.count&&"point"===n.layer.geometryType&&c&&(i.scale=c),await a.goTo(i),s&&await async function(t,n,a){n.featureEffect={...a,filter:{objectIds:t}},setTimeout((()=>{n.featureEffect=void 0}),1300)}(t,n,o)}export{y as a,p as b,f as c,i as d,b as e,s as f,w as g,m as h,n as i,c as j,o as k,d as l,l as m,r as n,a as q}