@esri/solutions-components 0.5.14 → 0.5.15

Sign up to get free protection for your applications and to get access to all the features.
@@ -1143,7 +1143,8 @@ const MapSelectTools = class {
1143
1143
  if (!this.selectLayerView || id !== this.selectLayerView.layer.id) {
1144
1144
  this.selectLayerView = await mapViewUtils.getMapLayerView(this.mapView, id);
1145
1145
  this._updateLabel();
1146
- await this._highlightWithOIDsOrGeoms();
1146
+ this._bufferGeometry ? await this._selectFeatures([this._bufferGeometry]) :
1147
+ await this._highlightWithOIDsOrGeoms();
1147
1148
  }
1148
1149
  }
1149
1150
  /**
@@ -1555,7 +1556,7 @@ const PdfDownload = class {
1555
1556
  };
1556
1557
  PdfDownload.style = pdfDownloadCss;
1557
1558
 
1558
- const refineSelectionCss = ":host{display:block}.div-visible{display:inherit}.div-not-visible{display:none !important}.padding-top-1-2{padding-top:.5rem}.main-label{display:flex;float:left}html[dir=\"rtl\"] .main-label{display:flex;float:right}.border{outline:1px solid var(--calcite-ui-border-input)}.margin-top-1{margin-top:1rem}.esri-sketch{display:flex;flex-flow:column wrap}.esri-widget{box-sizing:border-box;color:#323232;font-size:14px;font-family:\"Avenir Next\",\"Helvetica Neue\",Helvetica,Arial,sans-serif;line-height:1.3em;background-color:var(--calcite-ui-foreground-1)}.esri-sketch__panel{align-items:center;display:flex;flex-flow:row nowrap;padding:0}*/ .esri-sketch__tool-section{border-right:1px solid rgba(110,110,110,.3)}.esri-sketch__section{align-items:center;display:flex;flex-flow:row nowrap;padding:0 7px;margin:6px 0;border-right:1px solid rgba(110,110,110,.3)}.display-flex{display:flex}.font-bold{font-weight:bold}.width-full{width:100%}.label-margin-0{--calcite-label-margin-bottom:0}.padding-start-1-2{-webkit-padding-start:0.5rem;padding-inline-start:0.5rem}";
1559
+ const refineSelectionCss = ":host{display:block}.div-visible{display:inherit}.div-not-visible{display:none !important}.padding-top-1-2{padding-top:.5rem}.main-label{display:flex;float:left}html[dir=\"rtl\"] .main-label{display:flex;float:right}.border{outline:1px solid var(--calcite-ui-border-input)}.margin-top-1{margin-top:1rem}.esri-sketch{display:flex;flex-flow:column wrap}.esri-widget{box-sizing:border-box;color:#323232;font-size:14px;font-family:\"Avenir Next\",\"Helvetica Neue\",Helvetica,Arial,sans-serif;line-height:1.3em;background-color:var(--calcite-ui-foreground-1)}.esri-sketch__panel{align-items:center;display:flex;flex-flow:row nowrap;padding:0}*/ .esri-sketch__tool-section{border-right:1px solid rgba(110,110,110,.3)}.esri-sketch__section{align-items:center;display:flex;flex-flow:row nowrap;padding:0 7px;margin:6px 0;border-right:1px solid rgba(110,110,110,.3)}.display-flex{display:flex}.font-bold{font-weight:bold}.width-full{width:100%}.label-margin-0{--calcite-label-margin-bottom:0}.padding-start-1-2{-webkit-padding-start:0.5rem;padding-inline-start:0.5rem}.font-weight-500{font-weight:500}";
1559
1560
 
1560
1561
  const RefineSelection = class {
1561
1562
  constructor(hostRef) {
@@ -1613,7 +1614,7 @@ const RefineSelection = class {
1613
1614
  render() {
1614
1615
  var _a, _b;
1615
1616
  const layerPickerClass = this._enabledLayerIds.length > 1 ? "display-block" : "display-none";
1616
- return (index.h(index.Host, null, index.h("div", { class: layerPickerClass + " padding-top-sides-1" }, index.h("div", { class: "display-flex" }, index.h("calcite-label", { class: "font-bold width-full label-margin-0" }, index.h("div", { class: "display-flex" }, this._translations.inputLayer, index.h("calcite-icon", { class: "padding-start-1-2 icon", icon: "question", id: "refine-input-layer", scale: "s" })), index.h("map-layer-picker", { enabledLayerIds: this._enabledLayerIds, mapView: this.mapView, onLayerSelectionChange: (evt) => { void this._layerSelectionChange(evt); }, ref: (el) => { this._layerPicker = el; }, selectedLayerIds: [this._refineLayer.layer.id], selectionMode: "single" })), index.h("calcite-popover", { closable: true, label: "", referenceElement: "refine-input-layer" }, index.h("span", { class: "tooltip-message" }, this._translations.inputLayerTip)))), index.h("div", { class: "padding-1" }, index.h("div", { class: "padding-bottom-1" }, index.h("calcite-segmented-control", { class: "w-100" }, index.h("calcite-segmented-control-item", { checked: this._addEnabled, class: "w-50", onClick: () => this._setSelectionMode(interfaces.ESelectionMode.ADD), value: interfaces.ESelectionMode.ADD }, this._translations.add), index.h("calcite-segmented-control-item", { checked: !this._addEnabled, class: "w-50", onClick: () => this._setSelectionMode(interfaces.ESelectionMode.REMOVE), value: interfaces.ESelectionMode.REMOVE }, this._translations.remove))), index.h("div", null, index.h("map-draw-tools", { active: true, drawMode: interfaces.EDrawMode.REFINE, mapView: this.mapView, onDrawRedo: () => this._redo(), onDrawUndo: () => this._undo(), onSketchGraphicsChange: (evt) => this._sketchGraphicsChanged(evt), pointSymbol: this.sketchPointSymbol, polygonSymbol: this.sketchPolygonSymbol, polylineSymbol: this.sketchLineSymbol, redoEnabled: ((_a = this._refineSelectionSet) === null || _a === void 0 ? void 0 : _a.redoStack.length) > 0, ref: (el) => { this._drawTools = el; }, undoEnabled: ((_b = this._refineSelectionSet) === null || _b === void 0 ? void 0 : _b.undoStack.length) > 0 })), index.h("br", null), (index.h("calcite-list", { class: "list-border" }, this._getRefineSelectionSetList())))));
1617
+ return (index.h(index.Host, null, index.h("div", { class: layerPickerClass + " padding-top-sides-1" }, index.h("div", { class: "display-flex" }, index.h("calcite-label", { class: "font-bold width-full label-margin-0" }, index.h("div", { class: "display-flex" }, this._translations.inputLayer, index.h("calcite-icon", { class: "padding-start-1-2 icon", icon: "question", id: "refine-input-layer", scale: "s" })), index.h("map-layer-picker", { enabledLayerIds: this._enabledLayerIds, mapView: this.mapView, onLayerSelectionChange: (evt) => { void this._layerSelectionChange(evt); }, ref: (el) => { this._layerPicker = el; }, selectedLayerIds: [this._refineLayer.layer.id], selectionMode: "single" })), index.h("calcite-popover", { closable: true, label: "", referenceElement: "refine-input-layer" }, index.h("span", { class: "tooltip-message" }, this._translations.inputLayerTip)))), index.h("div", { class: "padding-1" }, index.h("div", { class: "padding-bottom-1" }, index.h("calcite-segmented-control", { class: "w-100" }, index.h("calcite-segmented-control-item", { checked: this._addEnabled, class: "w-50", onClick: () => this._setSelectionMode(interfaces.ESelectionMode.ADD), value: interfaces.ESelectionMode.ADD }, index.h("span", { class: "font-weight-500" }, this._translations.add)), index.h("calcite-segmented-control-item", { checked: !this._addEnabled, class: "w-50", onClick: () => this._setSelectionMode(interfaces.ESelectionMode.REMOVE), value: interfaces.ESelectionMode.REMOVE }, index.h("span", { class: "font-weight-500" }, this._translations.remove)))), index.h("div", null, index.h("map-draw-tools", { active: true, drawMode: interfaces.EDrawMode.REFINE, mapView: this.mapView, onDrawRedo: () => this._redo(), onDrawUndo: () => this._undo(), onSketchGraphicsChange: (evt) => this._sketchGraphicsChanged(evt), pointSymbol: this.sketchPointSymbol, polygonSymbol: this.sketchPolygonSymbol, polylineSymbol: this.sketchLineSymbol, redoEnabled: ((_a = this._refineSelectionSet) === null || _a === void 0 ? void 0 : _a.redoStack.length) > 0, ref: (el) => { this._drawTools = el; }, undoEnabled: ((_b = this._refineSelectionSet) === null || _b === void 0 ? void 0 : _b.undoStack.length) > 0 })), index.h("br", null), (index.h("calcite-list", { class: "list-border" }, this._getRefineSelectionSetList())))));
1617
1618
  }
1618
1619
  //--------------------------------------------------------------------------
1619
1620
  //
@@ -17,7 +17,7 @@ const downloadUtils = require('./downloadUtils-7a0fd3c0.js');
17
17
  require('./index-e1b1954f.js');
18
18
  require('./_commonjsHelpers-384729db.js');
19
19
 
20
- const publicNotificationCss = ":host{display:block;--calcite-input-message-spacing-value:0}.align-center{align-items:center}.border-bottom-1{border-width:0px;border-bottom-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3)}.action-bar-size{height:3.5rem;width:100%}.w-1-2{width:50%}.w-1-3{width:33.33%}.action-center{-webkit-box-align:center;-webkit-align-items:center;-ms-grid-row-align:center;align-items:center;align-content:center;justify-content:center}.width-full{width:100%}.height-full{height:100%}.padding-1{padding:1rem}.padding-top-sides-1{-webkit-padding-before:1rem;padding-block-start:1rem;-webkit-padding-start:1rem;padding-inline-start:1rem;-webkit-padding-end:1rem;padding-inline-end:1rem}.padding-sides-1{-webkit-padding-start:1rem;padding-inline-start:1rem;-webkit-padding-end:1rem;padding-inline-end:1rem}.padding-end-1-2{-webkit-padding-end:.5rem;padding-inline-end:.5rem}.padding-top-1-2{-webkit-padding-before:.5rem;padding-block-start:.5rem}.padding-top-1{padding-top:1rem}.padding-bottom-1{padding-bottom:1rem}.padding-bottom-1-2{padding-bottom:.5rem}.info-blue{color:#00A0FF}.info-message{justify-content:center;display:grid}.font-bold{font-weight:bold}.display-flex{display:flex}.display-block{display:block}.display-none{display:none}.border-bottom{border-bottom:1px solid var(--calcite-ui-border-2)}.padding-start-1-2{-webkit-padding-start:0.5rem;padding-inline-start:0.5rem}.list-border{border:1px solid var(--calcite-ui-border-2)}.margin-sides-1{-webkit-margin-start:1rem;margin-inline-start:1rem;-webkit-margin-end:1rem;margin-inline-end:1rem}.margin-start-1-2{-webkit-margin-start:0.5rem;margin-inline-start:0.5rem}.float-right{float:right}.float-right[dir=\"rtl\"]{float:left}.float-left{float:left}.float-left[dir=\"rtl\"]{float:right}.margin-top-0{-webkit-margin-before:0 !important;margin-block-start:0 !important}.height-1-1-2{height:1.5rem}.main-background{background-color:var(--calcite-ui-foreground-2)}.position-right{position:absolute;right:1rem}.position-right[dir=\"rtl\"]{position:absolute;left:1rem}.label-margin-0{--calcite-label-margin-bottom:0}.list-label{color:var(--calcite-ui-text-1)}.list-label,.list-description{font-family:var(--calcite-sans-family);font-size:var(--calcite-font-size--2);font-weight:var(--calcite-font-weight-normal);overflow-wrap:break-word;word-break:break-word}.list-description{-webkit-margin-before:0.125rem;margin-block-start:0.125rem;color:var(--calcite-ui-text-3)}.img-container{width:100%;height:100%}";
20
+ const publicNotificationCss = ":host{display:block;--calcite-input-message-spacing-value:0}.align-center{align-items:center}.border-bottom-1{border-width:0px;border-bottom-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3)}.action-bar-size{height:3.5rem;width:100%}.w-1-2{width:50%}.w-1-3{width:33.33%}.action-center{-webkit-box-align:center;-webkit-align-items:center;-ms-grid-row-align:center;align-items:center;align-content:center;justify-content:center}.width-full{width:100%}.height-full{height:100%}.padding-1{padding:1rem}.padding-top-sides-1{-webkit-padding-before:1rem;padding-block-start:1rem;-webkit-padding-start:1rem;padding-inline-start:1rem;-webkit-padding-end:1rem;padding-inline-end:1rem}.padding-sides-1{-webkit-padding-start:1rem;padding-inline-start:1rem;-webkit-padding-end:1rem;padding-inline-end:1rem}.padding-end-1-2{-webkit-padding-end:.5rem;padding-inline-end:.5rem}.padding-top-1-2{-webkit-padding-before:.5rem;padding-block-start:.5rem}.padding-top-1{padding-top:1rem}.padding-bottom-1{padding-bottom:1rem}.padding-bottom-1-2{padding-bottom:.5rem}.info-blue{color:#00A0FF}.info-message{justify-content:center;display:grid}.font-bold{font-weight:bold}.display-flex{display:flex}.display-block{display:block}.display-none{display:none}.border-bottom{border-bottom:1px solid var(--calcite-ui-border-2)}.padding-start-1-2{-webkit-padding-start:0.5rem;padding-inline-start:0.5rem}.list-border{border:1px solid var(--calcite-ui-border-2)}.margin-sides-1{-webkit-margin-start:1rem;margin-inline-start:1rem;-webkit-margin-end:1rem;margin-inline-end:1rem}.margin-start-1-2{-webkit-margin-start:0.5rem;margin-inline-start:0.5rem}.float-right{float:right}.float-right[dir=\"rtl\"]{float:left}.float-left{float:left}.float-left[dir=\"rtl\"]{float:right}.margin-top-0{-webkit-margin-before:0 !important;margin-block-start:0 !important}.height-1-1-2{height:1.5rem}.main-background{background-color:var(--calcite-ui-foreground-2)}.position-right{position:absolute;right:1rem}.position-right[dir=\"rtl\"]{position:absolute;left:1rem}.label-margin-0{--calcite-label-margin-bottom:0}.list-label{color:var(--calcite-ui-text-1)}.list-label,.list-description{font-family:var(--calcite-sans-family);font-size:var(--calcite-font-size--2);font-weight:var(--calcite-font-weight-normal);overflow-wrap:break-word;word-break:break-word}.list-description{-webkit-margin-before:0.125rem;margin-block-start:0.125rem;color:var(--calcite-ui-text-3)}.img-container{width:100%;height:100%}.font-weight-500{font-weight:500}.background-override{height:100%;width:100%;--calcite-ui-foreground-3:var(--calcite-ui-brand);--calcite-ui-foreground-2:var(--calcite-ui-brand-hover);--calcite-ui-text-1:var(--calcite-ui-text-inverse)}";
21
21
 
22
22
  const PublicNotification = class {
23
23
  constructor(hostRef) {
@@ -286,7 +286,7 @@ const PublicNotification = class {
286
286
  */
287
287
  _getActionGroup(icon, pageType, tip) {
288
288
  const sizeClass = this.showRefineSelection ? " w-1-3" : " w-1-2";
289
- return (index.h("calcite-action-group", { class: "action-center" + sizeClass, layout: "horizontal" }, index.h("calcite-action", { active: this._pageType === pageType, alignment: "center", class: "width-full height-full", compact: false, icon: icon, id: icon, onClick: () => { this._setPageType(pageType); }, text: "" }), index.h("calcite-tooltip", { label: "", placement: "bottom", "reference-element": icon }, index.h("span", null, tip))));
289
+ return (index.h("calcite-action-group", { class: "action-center" + sizeClass, layout: "horizontal" }, index.h("div", { class: "background-override" }, index.h("calcite-action", { active: this._pageType === pageType, alignment: "center", class: "width-full height-full", compact: false, icon: icon, id: icon, onClick: () => { this._setPageType(pageType); }, text: "" })), index.h("calcite-tooltip", { label: "", placement: "bottom", "reference-element": icon }, index.h("span", null, tip))));
290
290
  }
291
291
  /**
292
292
  * Navigate to the defined page type
@@ -333,7 +333,7 @@ const PublicNotification = class {
333
333
  */
334
334
  _getListPage() {
335
335
  const hasSets = this._hasSelections();
336
- return (index.h("calcite-panel", null, this._getLabel(this._translations.myLists), this._getNotice(hasSets ? this._translations.listHasSetsTip : this._translations.selectLayerAndAdd, "padding-sides-1 padding-bottom-1"), hasSets ? this._getSelectionSetList() : (this._getOnboardingImage()), index.h("div", { class: "display-flex padding-1" }, index.h("calcite-button", { onClick: () => { this._setPageType(interfaces.EPageType.SELECT); }, width: "full" }, this._translations.add))));
336
+ return (index.h("calcite-panel", null, this._getLabel(this._translations.myLists), this._getNotice(hasSets ? this._translations.listHasSetsTip : this._translations.selectLayerAndAdd, "padding-sides-1 padding-bottom-1"), hasSets ? this._getSelectionSetList() : (this._getOnboardingImage()), index.h("div", { class: "display-flex padding-1" }, index.h("calcite-button", { onClick: () => { this._setPageType(interfaces.EPageType.SELECT); }, width: "full" }, index.h("span", { class: "font-weight-500" }, this._translations.add)))));
337
337
  }
338
338
  /**
339
339
  * Display an image to help illustrate the basic workflow of the widget
@@ -484,7 +484,7 @@ const PublicNotification = class {
484
484
  _getExportPage() {
485
485
  const hasSelections = this._hasSelections(this.showRefineSelection);
486
486
  const displayDuplicatesClass = this._numDuplicates > 0 ? "display-block" : "display-none";
487
- return (index.h("calcite-panel", null, index.h("div", null, this._getLabel(this._translations.export, false), hasSelections ? (index.h("div", null, this._getNotice(this._translations.exportTip, "padding-sides-1"), this._getLabel(this._translations.exportListsLabel), this._getExportSelectionLists(), index.h("div", { class: "padding-sides-1 " + displayDuplicatesClass }, index.h("div", { class: "display-flex" }, index.h("calcite-label", { layout: "inline" }, index.h("calcite-checkbox", { ref: (el) => { this._removeDuplicates = el; } }), index.h("div", { class: "display-flex" }, this._translations.removeDuplicate, index.h("div", { class: "info-message padding-start-1-2" }, index.h("calcite-input-message", { class: "info-blue margin-top-0", scale: "m" }, ` ${this._translations.numDuplicates.replace("{{n}}", this._numDuplicates.toString())}`)))), index.h("calcite-icon", { class: "padding-start-1-2 icon", icon: "question", id: "remove-duplicates-icon", scale: "s" })), index.h("calcite-popover", { closable: true, label: "", referenceElement: "remove-duplicates-icon" }, index.h("span", { class: "tooltip-message" }, this._translations.duplicatesTip))), index.h("div", { class: "border-bottom" }), index.h("div", { class: "padding-top-sides-1" }, index.h("calcite-segmented-control", { class: "w-100", onCalciteSegmentedControlChange: (evt) => this._exportTypeChange(evt) }, index.h("calcite-segmented-control-item", { checked: this._exportType === interfaces.EExportType.PDF, class: "w-50 end-border", value: interfaces.EExportType.PDF }, this._translations.pdf), index.h("calcite-segmented-control-item", { checked: this._exportType === interfaces.EExportType.CSV, class: "w-50", value: interfaces.EExportType.CSV }, this._translations.csv))), index.h("div", { class: "padding-bottom-1" }, this._getExportOptions()), index.h("div", { class: "padding-1 display-flex" }, index.h("calcite-button", { disabled: !this._downloadActive, onClick: () => void this._export(), width: "full" }, this._translations.export)))) : (this._getNotice(this._translations.downloadNoLists, "padding-sides-1 padding-bottom-1")))));
487
+ return (index.h("calcite-panel", null, index.h("div", null, this._getLabel(this._translations.export, false), hasSelections ? (index.h("div", null, this._getNotice(this._translations.exportTip, "padding-sides-1"), this._getLabel(this._translations.exportListsLabel), this._getExportSelectionLists(), index.h("div", { class: "padding-sides-1 " + displayDuplicatesClass }, index.h("div", { class: "display-flex" }, index.h("calcite-label", { layout: "inline" }, index.h("calcite-checkbox", { ref: (el) => { this._removeDuplicates = el; } }), index.h("div", { class: "display-flex" }, this._translations.removeDuplicate, index.h("div", { class: "info-message padding-start-1-2" }, index.h("calcite-input-message", { class: "info-blue margin-top-0", scale: "m" }, ` ${this._translations.numDuplicates.replace("{{n}}", this._numDuplicates.toString())}`)))), index.h("calcite-icon", { class: "padding-start-1-2 icon", icon: "question", id: "remove-duplicates-icon", scale: "s" })), index.h("calcite-popover", { closable: true, label: "", referenceElement: "remove-duplicates-icon" }, index.h("span", { class: "tooltip-message" }, this._translations.duplicatesTip))), index.h("div", { class: "border-bottom" }), index.h("div", { class: "padding-top-sides-1" }, index.h("calcite-segmented-control", { class: "w-100", onCalciteSegmentedControlChange: (evt) => this._exportTypeChange(evt) }, index.h("calcite-segmented-control-item", { checked: this._exportType === interfaces.EExportType.PDF, class: "w-50 end-border", value: interfaces.EExportType.PDF }, index.h("span", { class: "font-weight-500" }, this._translations.pdf)), index.h("calcite-segmented-control-item", { checked: this._exportType === interfaces.EExportType.CSV, class: "w-50", value: interfaces.EExportType.CSV }, index.h("span", { class: "font-weight-500" }, this._translations.csv)))), index.h("div", { class: "padding-bottom-1" }, this._getExportOptions()), index.h("div", { class: "padding-1 display-flex" }, index.h("calcite-button", { disabled: !this._downloadActive, onClick: () => void this._export(), width: "full" }, index.h("span", { class: "font-weight-500" }, this._translations.export))))) : (this._getNotice(this._translations.downloadNoLists, "padding-sides-1 padding-bottom-1")))));
488
488
  }
489
489
  /**
490
490
  * Store the user selected export type CSV || PDF
@@ -528,7 +528,7 @@ const PublicNotification = class {
528
528
  * @protected
529
529
  */
530
530
  _getPageNavButtons(topLabel, topDisabled, topFunc, bottomLabel, bottomDisabled, bottomFunc) {
531
- return (index.h("div", { class: "padding-bottom-1" }, index.h("div", { class: "display-flex padding-top-sides-1" }, index.h("calcite-button", { disabled: topDisabled, onClick: topFunc, width: "full" }, topLabel)), index.h("div", { class: "display-flex padding-top-1-2 padding-sides-1" }, index.h("calcite-button", { appearance: "outline", disabled: bottomDisabled, onClick: bottomFunc, width: "full" }, bottomLabel))));
531
+ return (index.h("div", { class: "padding-bottom-1" }, index.h("div", { class: "display-flex padding-top-sides-1" }, index.h("calcite-button", { disabled: topDisabled, onClick: topFunc, width: "full" }, index.h("span", { class: "font-weight-500" }, topLabel))), index.h("div", { class: "display-flex padding-top-1-2 padding-sides-1" }, index.h("calcite-button", { appearance: "outline", disabled: bottomDisabled, onClick: bottomFunc, width: "full" }, index.h("span", { class: "font-weight-500" }, bottomLabel)))));
532
532
  }
533
533
  /**
534
534
  * Create an informational notice
@@ -690,7 +690,8 @@ export class MapSelectTools {
690
690
  if (!this.selectLayerView || id !== this.selectLayerView.layer.id) {
691
691
  this.selectLayerView = await getMapLayerView(this.mapView, id);
692
692
  this._updateLabel();
693
- await this._highlightWithOIDsOrGeoms();
693
+ this._bufferGeometry ? await this._selectFeatures([this._bufferGeometry]) :
694
+ await this._highlightWithOIDsOrGeoms();
694
695
  }
695
696
  }
696
697
  /**
@@ -222,3 +222,15 @@
222
222
  width: 100%;
223
223
  height: 100%;
224
224
  }
225
+
226
+ .font-weight-500 {
227
+ font-weight: 500;
228
+ }
229
+
230
+ .background-override {
231
+ height: 100%;
232
+ width: 100%;
233
+ --calcite-ui-foreground-3: var(--calcite-ui-brand);
234
+ --calcite-ui-foreground-2: var(--calcite-ui-brand-hover);
235
+ --calcite-ui-text-1: var(--calcite-ui-text-inverse)
236
+ }
@@ -291,7 +291,7 @@ export class PublicNotification {
291
291
  */
292
292
  _getActionGroup(icon, pageType, tip) {
293
293
  const sizeClass = this.showRefineSelection ? " w-1-3" : " w-1-2";
294
- return (h("calcite-action-group", { class: "action-center" + sizeClass, layout: "horizontal" }, h("calcite-action", { active: this._pageType === pageType, alignment: "center", class: "width-full height-full", compact: false, icon: icon, id: icon, onClick: () => { this._setPageType(pageType); }, text: "" }), h("calcite-tooltip", { label: "", placement: "bottom", "reference-element": icon }, h("span", null, tip))));
294
+ return (h("calcite-action-group", { class: "action-center" + sizeClass, layout: "horizontal" }, h("div", { class: "background-override" }, h("calcite-action", { active: this._pageType === pageType, alignment: "center", class: "width-full height-full", compact: false, icon: icon, id: icon, onClick: () => { this._setPageType(pageType); }, text: "" })), h("calcite-tooltip", { label: "", placement: "bottom", "reference-element": icon }, h("span", null, tip))));
295
295
  }
296
296
  /**
297
297
  * Navigate to the defined page type
@@ -338,7 +338,7 @@ export class PublicNotification {
338
338
  */
339
339
  _getListPage() {
340
340
  const hasSets = this._hasSelections();
341
- return (h("calcite-panel", null, this._getLabel(this._translations.myLists), this._getNotice(hasSets ? this._translations.listHasSetsTip : this._translations.selectLayerAndAdd, "padding-sides-1 padding-bottom-1"), hasSets ? this._getSelectionSetList() : (this._getOnboardingImage()), h("div", { class: "display-flex padding-1" }, h("calcite-button", { onClick: () => { this._setPageType(EPageType.SELECT); }, width: "full" }, this._translations.add))));
341
+ return (h("calcite-panel", null, this._getLabel(this._translations.myLists), this._getNotice(hasSets ? this._translations.listHasSetsTip : this._translations.selectLayerAndAdd, "padding-sides-1 padding-bottom-1"), hasSets ? this._getSelectionSetList() : (this._getOnboardingImage()), h("div", { class: "display-flex padding-1" }, h("calcite-button", { onClick: () => { this._setPageType(EPageType.SELECT); }, width: "full" }, h("span", { class: "font-weight-500" }, this._translations.add)))));
342
342
  }
343
343
  /**
344
344
  * Display an image to help illustrate the basic workflow of the widget
@@ -489,7 +489,7 @@ export class PublicNotification {
489
489
  _getExportPage() {
490
490
  const hasSelections = this._hasSelections(this.showRefineSelection);
491
491
  const displayDuplicatesClass = this._numDuplicates > 0 ? "display-block" : "display-none";
492
- return (h("calcite-panel", null, h("div", null, this._getLabel(this._translations.export, false), hasSelections ? (h("div", null, this._getNotice(this._translations.exportTip, "padding-sides-1"), this._getLabel(this._translations.exportListsLabel), this._getExportSelectionLists(), h("div", { class: "padding-sides-1 " + displayDuplicatesClass }, h("div", { class: "display-flex" }, h("calcite-label", { layout: "inline" }, h("calcite-checkbox", { ref: (el) => { this._removeDuplicates = el; } }), h("div", { class: "display-flex" }, this._translations.removeDuplicate, h("div", { class: "info-message padding-start-1-2" }, h("calcite-input-message", { class: "info-blue margin-top-0", scale: "m" }, ` ${this._translations.numDuplicates.replace("{{n}}", this._numDuplicates.toString())}`)))), h("calcite-icon", { class: "padding-start-1-2 icon", icon: "question", id: "remove-duplicates-icon", scale: "s" })), h("calcite-popover", { closable: true, label: "", referenceElement: "remove-duplicates-icon" }, h("span", { class: "tooltip-message" }, this._translations.duplicatesTip))), h("div", { class: "border-bottom" }), h("div", { class: "padding-top-sides-1" }, h("calcite-segmented-control", { class: "w-100", onCalciteSegmentedControlChange: (evt) => this._exportTypeChange(evt) }, h("calcite-segmented-control-item", { checked: this._exportType === EExportType.PDF, class: "w-50 end-border", value: EExportType.PDF }, this._translations.pdf), h("calcite-segmented-control-item", { checked: this._exportType === EExportType.CSV, class: "w-50", value: EExportType.CSV }, this._translations.csv))), h("div", { class: "padding-bottom-1" }, this._getExportOptions()), h("div", { class: "padding-1 display-flex" }, h("calcite-button", { disabled: !this._downloadActive, onClick: () => void this._export(), width: "full" }, this._translations.export)))) : (this._getNotice(this._translations.downloadNoLists, "padding-sides-1 padding-bottom-1")))));
492
+ return (h("calcite-panel", null, h("div", null, this._getLabel(this._translations.export, false), hasSelections ? (h("div", null, this._getNotice(this._translations.exportTip, "padding-sides-1"), this._getLabel(this._translations.exportListsLabel), this._getExportSelectionLists(), h("div", { class: "padding-sides-1 " + displayDuplicatesClass }, h("div", { class: "display-flex" }, h("calcite-label", { layout: "inline" }, h("calcite-checkbox", { ref: (el) => { this._removeDuplicates = el; } }), h("div", { class: "display-flex" }, this._translations.removeDuplicate, h("div", { class: "info-message padding-start-1-2" }, h("calcite-input-message", { class: "info-blue margin-top-0", scale: "m" }, ` ${this._translations.numDuplicates.replace("{{n}}", this._numDuplicates.toString())}`)))), h("calcite-icon", { class: "padding-start-1-2 icon", icon: "question", id: "remove-duplicates-icon", scale: "s" })), h("calcite-popover", { closable: true, label: "", referenceElement: "remove-duplicates-icon" }, h("span", { class: "tooltip-message" }, this._translations.duplicatesTip))), h("div", { class: "border-bottom" }), h("div", { class: "padding-top-sides-1" }, h("calcite-segmented-control", { class: "w-100", onCalciteSegmentedControlChange: (evt) => this._exportTypeChange(evt) }, h("calcite-segmented-control-item", { checked: this._exportType === EExportType.PDF, class: "w-50 end-border", value: EExportType.PDF }, h("span", { class: "font-weight-500" }, this._translations.pdf)), h("calcite-segmented-control-item", { checked: this._exportType === EExportType.CSV, class: "w-50", value: EExportType.CSV }, h("span", { class: "font-weight-500" }, this._translations.csv)))), h("div", { class: "padding-bottom-1" }, this._getExportOptions()), h("div", { class: "padding-1 display-flex" }, h("calcite-button", { disabled: !this._downloadActive, onClick: () => void this._export(), width: "full" }, h("span", { class: "font-weight-500" }, this._translations.export))))) : (this._getNotice(this._translations.downloadNoLists, "padding-sides-1 padding-bottom-1")))));
493
493
  }
494
494
  /**
495
495
  * Store the user selected export type CSV || PDF
@@ -533,7 +533,7 @@ export class PublicNotification {
533
533
  * @protected
534
534
  */
535
535
  _getPageNavButtons(topLabel, topDisabled, topFunc, bottomLabel, bottomDisabled, bottomFunc) {
536
- return (h("div", { class: "padding-bottom-1" }, h("div", { class: "display-flex padding-top-sides-1" }, h("calcite-button", { disabled: topDisabled, onClick: topFunc, width: "full" }, topLabel)), h("div", { class: "display-flex padding-top-1-2 padding-sides-1" }, h("calcite-button", { appearance: "outline", disabled: bottomDisabled, onClick: bottomFunc, width: "full" }, bottomLabel))));
536
+ return (h("div", { class: "padding-bottom-1" }, h("div", { class: "display-flex padding-top-sides-1" }, h("calcite-button", { disabled: topDisabled, onClick: topFunc, width: "full" }, h("span", { class: "font-weight-500" }, topLabel))), h("div", { class: "display-flex padding-top-1-2 padding-sides-1" }, h("calcite-button", { appearance: "outline", disabled: bottomDisabled, onClick: bottomFunc, width: "full" }, h("span", { class: "font-weight-500" }, bottomLabel)))));
537
537
  }
538
538
  /**
539
539
  * Create an informational notice
@@ -104,4 +104,8 @@ html[dir="rtl"] .main-label {
104
104
  .padding-start-1-2 {
105
105
  -webkit-padding-start: 0.5rem;
106
106
  padding-inline-start: 0.5rem;
107
- }
107
+ }
108
+
109
+ .font-weight-500 {
110
+ font-weight: 500;
111
+ }
@@ -77,7 +77,7 @@ export class RefineSelection {
77
77
  render() {
78
78
  var _a, _b;
79
79
  const layerPickerClass = this._enabledLayerIds.length > 1 ? "display-block" : "display-none";
80
- return (h(Host, null, h("div", { class: layerPickerClass + " padding-top-sides-1" }, h("div", { class: "display-flex" }, h("calcite-label", { class: "font-bold width-full label-margin-0" }, h("div", { class: "display-flex" }, this._translations.inputLayer, h("calcite-icon", { class: "padding-start-1-2 icon", icon: "question", id: "refine-input-layer", scale: "s" })), h("map-layer-picker", { enabledLayerIds: this._enabledLayerIds, mapView: this.mapView, onLayerSelectionChange: (evt) => { void this._layerSelectionChange(evt); }, ref: (el) => { this._layerPicker = el; }, selectedLayerIds: [this._refineLayer.layer.id], selectionMode: "single" })), h("calcite-popover", { closable: true, label: "", referenceElement: "refine-input-layer" }, h("span", { class: "tooltip-message" }, this._translations.inputLayerTip)))), h("div", { class: "padding-1" }, h("div", { class: "padding-bottom-1" }, h("calcite-segmented-control", { class: "w-100" }, h("calcite-segmented-control-item", { checked: this._addEnabled, class: "w-50", onClick: () => this._setSelectionMode(ESelectionMode.ADD), value: ESelectionMode.ADD }, this._translations.add), h("calcite-segmented-control-item", { checked: !this._addEnabled, class: "w-50", onClick: () => this._setSelectionMode(ESelectionMode.REMOVE), value: ESelectionMode.REMOVE }, this._translations.remove))), h("div", null, h("map-draw-tools", { active: true, drawMode: EDrawMode.REFINE, mapView: this.mapView, onDrawRedo: () => this._redo(), onDrawUndo: () => this._undo(), onSketchGraphicsChange: (evt) => this._sketchGraphicsChanged(evt), pointSymbol: this.sketchPointSymbol, polygonSymbol: this.sketchPolygonSymbol, polylineSymbol: this.sketchLineSymbol, redoEnabled: ((_a = this._refineSelectionSet) === null || _a === void 0 ? void 0 : _a.redoStack.length) > 0, ref: (el) => { this._drawTools = el; }, undoEnabled: ((_b = this._refineSelectionSet) === null || _b === void 0 ? void 0 : _b.undoStack.length) > 0 })), h("br", null), (h("calcite-list", { class: "list-border" }, this._getRefineSelectionSetList())))));
80
+ return (h(Host, null, h("div", { class: layerPickerClass + " padding-top-sides-1" }, h("div", { class: "display-flex" }, h("calcite-label", { class: "font-bold width-full label-margin-0" }, h("div", { class: "display-flex" }, this._translations.inputLayer, h("calcite-icon", { class: "padding-start-1-2 icon", icon: "question", id: "refine-input-layer", scale: "s" })), h("map-layer-picker", { enabledLayerIds: this._enabledLayerIds, mapView: this.mapView, onLayerSelectionChange: (evt) => { void this._layerSelectionChange(evt); }, ref: (el) => { this._layerPicker = el; }, selectedLayerIds: [this._refineLayer.layer.id], selectionMode: "single" })), h("calcite-popover", { closable: true, label: "", referenceElement: "refine-input-layer" }, h("span", { class: "tooltip-message" }, this._translations.inputLayerTip)))), h("div", { class: "padding-1" }, h("div", { class: "padding-bottom-1" }, h("calcite-segmented-control", { class: "w-100" }, h("calcite-segmented-control-item", { checked: this._addEnabled, class: "w-50", onClick: () => this._setSelectionMode(ESelectionMode.ADD), value: ESelectionMode.ADD }, h("span", { class: "font-weight-500" }, this._translations.add)), h("calcite-segmented-control-item", { checked: !this._addEnabled, class: "w-50", onClick: () => this._setSelectionMode(ESelectionMode.REMOVE), value: ESelectionMode.REMOVE }, h("span", { class: "font-weight-500" }, this._translations.remove)))), h("div", null, h("map-draw-tools", { active: true, drawMode: EDrawMode.REFINE, mapView: this.mapView, onDrawRedo: () => this._redo(), onDrawUndo: () => this._undo(), onSketchGraphicsChange: (evt) => this._sketchGraphicsChanged(evt), pointSymbol: this.sketchPointSymbol, polygonSymbol: this.sketchPolygonSymbol, polylineSymbol: this.sketchLineSymbol, redoEnabled: ((_a = this._refineSelectionSet) === null || _a === void 0 ? void 0 : _a.redoStack.length) > 0, ref: (el) => { this._drawTools = el; }, undoEnabled: ((_b = this._refineSelectionSet) === null || _b === void 0 ? void 0 : _b.undoStack.length) > 0 })), h("br", null), (h("calcite-list", { class: "list-border" }, this._getRefineSelectionSetList())))));
81
81
  }
82
82
  //--------------------------------------------------------------------------
83
83
  //
@@ -57,6 +57,10 @@
57
57
  rel="stylesheet"
58
58
  href="https://js.arcgis.com/4.27/esri/themes/light/main.css"
59
59
  />
60
+ <!-- <link
61
+ rel="stylesheet"
62
+ href="https://js.arcgis.com/4.27/esri/themes/dark/main.css"
63
+ /> -->
60
64
  <link rel="stylesheet" href="https://webapps-cdn.esri.com/CDN/fonts/v1.4.1/fonts.css" />
61
65
  <link rel="stylesheet" href="../solutions-components.css" type="text/css">
62
66
 
@@ -111,6 +115,7 @@
111
115
  </script>
112
116
  </head>
113
117
 
118
+ <!-- <body class="calcite-mode-dark"> -->
114
119
  <body>
115
120
  <div id="viewDiv"></div>
116
121
  <public-notification id="demo" class="over-map column"></public-notification>
@@ -699,7 +699,8 @@ const MapSelectTools = /*@__PURE__*/ proxyCustomElement(class extends HTMLElemen
699
699
  if (!this.selectLayerView || id !== this.selectLayerView.layer.id) {
700
700
  this.selectLayerView = await getMapLayerView(this.mapView, id);
701
701
  this._updateLabel();
702
- await this._highlightWithOIDsOrGeoms();
702
+ this._bufferGeometry ? await this._selectFeatures([this._bufferGeometry]) :
703
+ await this._highlightWithOIDsOrGeoms();
703
704
  }
704
705
  }
705
706
  /**
@@ -48,7 +48,7 @@ import { d as defineCustomElement$4 } from './map-select-tools2.js';
48
48
  import { d as defineCustomElement$3 } from './pdf-download2.js';
49
49
  import { d as defineCustomElement$2 } from './refine-selection2.js';
50
50
 
51
- const publicNotificationCss = ":host{display:block;--calcite-input-message-spacing-value:0}.align-center{align-items:center}.border-bottom-1{border-width:0px;border-bottom-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3)}.action-bar-size{height:3.5rem;width:100%}.w-1-2{width:50%}.w-1-3{width:33.33%}.action-center{-webkit-box-align:center;-webkit-align-items:center;-ms-grid-row-align:center;align-items:center;align-content:center;justify-content:center}.width-full{width:100%}.height-full{height:100%}.padding-1{padding:1rem}.padding-top-sides-1{-webkit-padding-before:1rem;padding-block-start:1rem;-webkit-padding-start:1rem;padding-inline-start:1rem;-webkit-padding-end:1rem;padding-inline-end:1rem}.padding-sides-1{-webkit-padding-start:1rem;padding-inline-start:1rem;-webkit-padding-end:1rem;padding-inline-end:1rem}.padding-end-1-2{-webkit-padding-end:.5rem;padding-inline-end:.5rem}.padding-top-1-2{-webkit-padding-before:.5rem;padding-block-start:.5rem}.padding-top-1{padding-top:1rem}.padding-bottom-1{padding-bottom:1rem}.padding-bottom-1-2{padding-bottom:.5rem}.info-blue{color:#00A0FF}.info-message{justify-content:center;display:grid}.font-bold{font-weight:bold}.display-flex{display:flex}.display-block{display:block}.display-none{display:none}.border-bottom{border-bottom:1px solid var(--calcite-ui-border-2)}.padding-start-1-2{-webkit-padding-start:0.5rem;padding-inline-start:0.5rem}.list-border{border:1px solid var(--calcite-ui-border-2)}.margin-sides-1{-webkit-margin-start:1rem;margin-inline-start:1rem;-webkit-margin-end:1rem;margin-inline-end:1rem}.margin-start-1-2{-webkit-margin-start:0.5rem;margin-inline-start:0.5rem}.float-right{float:right}.float-right[dir=\"rtl\"]{float:left}.float-left{float:left}.float-left[dir=\"rtl\"]{float:right}.margin-top-0{-webkit-margin-before:0 !important;margin-block-start:0 !important}.height-1-1-2{height:1.5rem}.main-background{background-color:var(--calcite-ui-foreground-2)}.position-right{position:absolute;right:1rem}.position-right[dir=\"rtl\"]{position:absolute;left:1rem}.label-margin-0{--calcite-label-margin-bottom:0}.list-label{color:var(--calcite-ui-text-1)}.list-label,.list-description{font-family:var(--calcite-sans-family);font-size:var(--calcite-font-size--2);font-weight:var(--calcite-font-weight-normal);overflow-wrap:break-word;word-break:break-word}.list-description{-webkit-margin-before:0.125rem;margin-block-start:0.125rem;color:var(--calcite-ui-text-3)}.img-container{width:100%;height:100%}";
51
+ const publicNotificationCss = ":host{display:block;--calcite-input-message-spacing-value:0}.align-center{align-items:center}.border-bottom-1{border-width:0px;border-bottom-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3)}.action-bar-size{height:3.5rem;width:100%}.w-1-2{width:50%}.w-1-3{width:33.33%}.action-center{-webkit-box-align:center;-webkit-align-items:center;-ms-grid-row-align:center;align-items:center;align-content:center;justify-content:center}.width-full{width:100%}.height-full{height:100%}.padding-1{padding:1rem}.padding-top-sides-1{-webkit-padding-before:1rem;padding-block-start:1rem;-webkit-padding-start:1rem;padding-inline-start:1rem;-webkit-padding-end:1rem;padding-inline-end:1rem}.padding-sides-1{-webkit-padding-start:1rem;padding-inline-start:1rem;-webkit-padding-end:1rem;padding-inline-end:1rem}.padding-end-1-2{-webkit-padding-end:.5rem;padding-inline-end:.5rem}.padding-top-1-2{-webkit-padding-before:.5rem;padding-block-start:.5rem}.padding-top-1{padding-top:1rem}.padding-bottom-1{padding-bottom:1rem}.padding-bottom-1-2{padding-bottom:.5rem}.info-blue{color:#00A0FF}.info-message{justify-content:center;display:grid}.font-bold{font-weight:bold}.display-flex{display:flex}.display-block{display:block}.display-none{display:none}.border-bottom{border-bottom:1px solid var(--calcite-ui-border-2)}.padding-start-1-2{-webkit-padding-start:0.5rem;padding-inline-start:0.5rem}.list-border{border:1px solid var(--calcite-ui-border-2)}.margin-sides-1{-webkit-margin-start:1rem;margin-inline-start:1rem;-webkit-margin-end:1rem;margin-inline-end:1rem}.margin-start-1-2{-webkit-margin-start:0.5rem;margin-inline-start:0.5rem}.float-right{float:right}.float-right[dir=\"rtl\"]{float:left}.float-left{float:left}.float-left[dir=\"rtl\"]{float:right}.margin-top-0{-webkit-margin-before:0 !important;margin-block-start:0 !important}.height-1-1-2{height:1.5rem}.main-background{background-color:var(--calcite-ui-foreground-2)}.position-right{position:absolute;right:1rem}.position-right[dir=\"rtl\"]{position:absolute;left:1rem}.label-margin-0{--calcite-label-margin-bottom:0}.list-label{color:var(--calcite-ui-text-1)}.list-label,.list-description{font-family:var(--calcite-sans-family);font-size:var(--calcite-font-size--2);font-weight:var(--calcite-font-weight-normal);overflow-wrap:break-word;word-break:break-word}.list-description{-webkit-margin-before:0.125rem;margin-block-start:0.125rem;color:var(--calcite-ui-text-3)}.img-container{width:100%;height:100%}.font-weight-500{font-weight:500}.background-override{height:100%;width:100%;--calcite-ui-foreground-3:var(--calcite-ui-brand);--calcite-ui-foreground-2:var(--calcite-ui-brand-hover);--calcite-ui-text-1:var(--calcite-ui-text-inverse)}";
52
52
 
53
53
  const PublicNotification$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
54
54
  constructor() {
@@ -318,7 +318,7 @@ const PublicNotification$1 = /*@__PURE__*/ proxyCustomElement(class extends HTML
318
318
  */
319
319
  _getActionGroup(icon, pageType, tip) {
320
320
  const sizeClass = this.showRefineSelection ? " w-1-3" : " w-1-2";
321
- return (h("calcite-action-group", { class: "action-center" + sizeClass, layout: "horizontal" }, h("calcite-action", { active: this._pageType === pageType, alignment: "center", class: "width-full height-full", compact: false, icon: icon, id: icon, onClick: () => { this._setPageType(pageType); }, text: "" }), h("calcite-tooltip", { label: "", placement: "bottom", "reference-element": icon }, h("span", null, tip))));
321
+ return (h("calcite-action-group", { class: "action-center" + sizeClass, layout: "horizontal" }, h("div", { class: "background-override" }, h("calcite-action", { active: this._pageType === pageType, alignment: "center", class: "width-full height-full", compact: false, icon: icon, id: icon, onClick: () => { this._setPageType(pageType); }, text: "" })), h("calcite-tooltip", { label: "", placement: "bottom", "reference-element": icon }, h("span", null, tip))));
322
322
  }
323
323
  /**
324
324
  * Navigate to the defined page type
@@ -365,7 +365,7 @@ const PublicNotification$1 = /*@__PURE__*/ proxyCustomElement(class extends HTML
365
365
  */
366
366
  _getListPage() {
367
367
  const hasSets = this._hasSelections();
368
- return (h("calcite-panel", null, this._getLabel(this._translations.myLists), this._getNotice(hasSets ? this._translations.listHasSetsTip : this._translations.selectLayerAndAdd, "padding-sides-1 padding-bottom-1"), hasSets ? this._getSelectionSetList() : (this._getOnboardingImage()), h("div", { class: "display-flex padding-1" }, h("calcite-button", { onClick: () => { this._setPageType(EPageType.SELECT); }, width: "full" }, this._translations.add))));
368
+ return (h("calcite-panel", null, this._getLabel(this._translations.myLists), this._getNotice(hasSets ? this._translations.listHasSetsTip : this._translations.selectLayerAndAdd, "padding-sides-1 padding-bottom-1"), hasSets ? this._getSelectionSetList() : (this._getOnboardingImage()), h("div", { class: "display-flex padding-1" }, h("calcite-button", { onClick: () => { this._setPageType(EPageType.SELECT); }, width: "full" }, h("span", { class: "font-weight-500" }, this._translations.add)))));
369
369
  }
370
370
  /**
371
371
  * Display an image to help illustrate the basic workflow of the widget
@@ -516,7 +516,7 @@ const PublicNotification$1 = /*@__PURE__*/ proxyCustomElement(class extends HTML
516
516
  _getExportPage() {
517
517
  const hasSelections = this._hasSelections(this.showRefineSelection);
518
518
  const displayDuplicatesClass = this._numDuplicates > 0 ? "display-block" : "display-none";
519
- return (h("calcite-panel", null, h("div", null, this._getLabel(this._translations.export, false), hasSelections ? (h("div", null, this._getNotice(this._translations.exportTip, "padding-sides-1"), this._getLabel(this._translations.exportListsLabel), this._getExportSelectionLists(), h("div", { class: "padding-sides-1 " + displayDuplicatesClass }, h("div", { class: "display-flex" }, h("calcite-label", { layout: "inline" }, h("calcite-checkbox", { ref: (el) => { this._removeDuplicates = el; } }), h("div", { class: "display-flex" }, this._translations.removeDuplicate, h("div", { class: "info-message padding-start-1-2" }, h("calcite-input-message", { class: "info-blue margin-top-0", scale: "m" }, ` ${this._translations.numDuplicates.replace("{{n}}", this._numDuplicates.toString())}`)))), h("calcite-icon", { class: "padding-start-1-2 icon", icon: "question", id: "remove-duplicates-icon", scale: "s" })), h("calcite-popover", { closable: true, label: "", referenceElement: "remove-duplicates-icon" }, h("span", { class: "tooltip-message" }, this._translations.duplicatesTip))), h("div", { class: "border-bottom" }), h("div", { class: "padding-top-sides-1" }, h("calcite-segmented-control", { class: "w-100", onCalciteSegmentedControlChange: (evt) => this._exportTypeChange(evt) }, h("calcite-segmented-control-item", { checked: this._exportType === EExportType.PDF, class: "w-50 end-border", value: EExportType.PDF }, this._translations.pdf), h("calcite-segmented-control-item", { checked: this._exportType === EExportType.CSV, class: "w-50", value: EExportType.CSV }, this._translations.csv))), h("div", { class: "padding-bottom-1" }, this._getExportOptions()), h("div", { class: "padding-1 display-flex" }, h("calcite-button", { disabled: !this._downloadActive, onClick: () => void this._export(), width: "full" }, this._translations.export)))) : (this._getNotice(this._translations.downloadNoLists, "padding-sides-1 padding-bottom-1")))));
519
+ return (h("calcite-panel", null, h("div", null, this._getLabel(this._translations.export, false), hasSelections ? (h("div", null, this._getNotice(this._translations.exportTip, "padding-sides-1"), this._getLabel(this._translations.exportListsLabel), this._getExportSelectionLists(), h("div", { class: "padding-sides-1 " + displayDuplicatesClass }, h("div", { class: "display-flex" }, h("calcite-label", { layout: "inline" }, h("calcite-checkbox", { ref: (el) => { this._removeDuplicates = el; } }), h("div", { class: "display-flex" }, this._translations.removeDuplicate, h("div", { class: "info-message padding-start-1-2" }, h("calcite-input-message", { class: "info-blue margin-top-0", scale: "m" }, ` ${this._translations.numDuplicates.replace("{{n}}", this._numDuplicates.toString())}`)))), h("calcite-icon", { class: "padding-start-1-2 icon", icon: "question", id: "remove-duplicates-icon", scale: "s" })), h("calcite-popover", { closable: true, label: "", referenceElement: "remove-duplicates-icon" }, h("span", { class: "tooltip-message" }, this._translations.duplicatesTip))), h("div", { class: "border-bottom" }), h("div", { class: "padding-top-sides-1" }, h("calcite-segmented-control", { class: "w-100", onCalciteSegmentedControlChange: (evt) => this._exportTypeChange(evt) }, h("calcite-segmented-control-item", { checked: this._exportType === EExportType.PDF, class: "w-50 end-border", value: EExportType.PDF }, h("span", { class: "font-weight-500" }, this._translations.pdf)), h("calcite-segmented-control-item", { checked: this._exportType === EExportType.CSV, class: "w-50", value: EExportType.CSV }, h("span", { class: "font-weight-500" }, this._translations.csv)))), h("div", { class: "padding-bottom-1" }, this._getExportOptions()), h("div", { class: "padding-1 display-flex" }, h("calcite-button", { disabled: !this._downloadActive, onClick: () => void this._export(), width: "full" }, h("span", { class: "font-weight-500" }, this._translations.export))))) : (this._getNotice(this._translations.downloadNoLists, "padding-sides-1 padding-bottom-1")))));
520
520
  }
521
521
  /**
522
522
  * Store the user selected export type CSV || PDF
@@ -560,7 +560,7 @@ const PublicNotification$1 = /*@__PURE__*/ proxyCustomElement(class extends HTML
560
560
  * @protected
561
561
  */
562
562
  _getPageNavButtons(topLabel, topDisabled, topFunc, bottomLabel, bottomDisabled, bottomFunc) {
563
- return (h("div", { class: "padding-bottom-1" }, h("div", { class: "display-flex padding-top-sides-1" }, h("calcite-button", { disabled: topDisabled, onClick: topFunc, width: "full" }, topLabel)), h("div", { class: "display-flex padding-top-1-2 padding-sides-1" }, h("calcite-button", { appearance: "outline", disabled: bottomDisabled, onClick: bottomFunc, width: "full" }, bottomLabel))));
563
+ return (h("div", { class: "padding-bottom-1" }, h("div", { class: "display-flex padding-top-sides-1" }, h("calcite-button", { disabled: topDisabled, onClick: topFunc, width: "full" }, h("span", { class: "font-weight-500" }, topLabel))), h("div", { class: "display-flex padding-top-1-2 padding-sides-1" }, h("calcite-button", { appearance: "outline", disabled: bottomDisabled, onClick: bottomFunc, width: "full" }, h("span", { class: "font-weight-500" }, bottomLabel)))));
564
564
  }
565
565
  /**
566
566
  * Create an informational notice
@@ -29,7 +29,7 @@ import { d as defineCustomElement$4 } from './segmented-control-item.js';
29
29
  import { d as defineCustomElement$3 } from './select.js';
30
30
  import { d as defineCustomElement$2 } from './map-draw-tools2.js';
31
31
 
32
- const refineSelectionCss = ":host{display:block}.div-visible{display:inherit}.div-not-visible{display:none !important}.padding-top-1-2{padding-top:.5rem}.main-label{display:flex;float:left}html[dir=\"rtl\"] .main-label{display:flex;float:right}.border{outline:1px solid var(--calcite-ui-border-input)}.margin-top-1{margin-top:1rem}.esri-sketch{display:flex;flex-flow:column wrap}.esri-widget{box-sizing:border-box;color:#323232;font-size:14px;font-family:\"Avenir Next\",\"Helvetica Neue\",Helvetica,Arial,sans-serif;line-height:1.3em;background-color:var(--calcite-ui-foreground-1)}.esri-sketch__panel{align-items:center;display:flex;flex-flow:row nowrap;padding:0}*/ .esri-sketch__tool-section{border-right:1px solid rgba(110,110,110,.3)}.esri-sketch__section{align-items:center;display:flex;flex-flow:row nowrap;padding:0 7px;margin:6px 0;border-right:1px solid rgba(110,110,110,.3)}.display-flex{display:flex}.font-bold{font-weight:bold}.width-full{width:100%}.label-margin-0{--calcite-label-margin-bottom:0}.padding-start-1-2{-webkit-padding-start:0.5rem;padding-inline-start:0.5rem}";
32
+ const refineSelectionCss = ":host{display:block}.div-visible{display:inherit}.div-not-visible{display:none !important}.padding-top-1-2{padding-top:.5rem}.main-label{display:flex;float:left}html[dir=\"rtl\"] .main-label{display:flex;float:right}.border{outline:1px solid var(--calcite-ui-border-input)}.margin-top-1{margin-top:1rem}.esri-sketch{display:flex;flex-flow:column wrap}.esri-widget{box-sizing:border-box;color:#323232;font-size:14px;font-family:\"Avenir Next\",\"Helvetica Neue\",Helvetica,Arial,sans-serif;line-height:1.3em;background-color:var(--calcite-ui-foreground-1)}.esri-sketch__panel{align-items:center;display:flex;flex-flow:row nowrap;padding:0}*/ .esri-sketch__tool-section{border-right:1px solid rgba(110,110,110,.3)}.esri-sketch__section{align-items:center;display:flex;flex-flow:row nowrap;padding:0 7px;margin:6px 0;border-right:1px solid rgba(110,110,110,.3)}.display-flex{display:flex}.font-bold{font-weight:bold}.width-full{width:100%}.label-margin-0{--calcite-label-margin-bottom:0}.padding-start-1-2{-webkit-padding-start:0.5rem;padding-inline-start:0.5rem}.font-weight-500{font-weight:500}";
33
33
 
34
34
  const RefineSelection = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
35
35
  constructor() {
@@ -88,7 +88,7 @@ const RefineSelection = /*@__PURE__*/ proxyCustomElement(class extends HTMLEleme
88
88
  render() {
89
89
  var _a, _b;
90
90
  const layerPickerClass = this._enabledLayerIds.length > 1 ? "display-block" : "display-none";
91
- return (h(Host, null, h("div", { class: layerPickerClass + " padding-top-sides-1" }, h("div", { class: "display-flex" }, h("calcite-label", { class: "font-bold width-full label-margin-0" }, h("div", { class: "display-flex" }, this._translations.inputLayer, h("calcite-icon", { class: "padding-start-1-2 icon", icon: "question", id: "refine-input-layer", scale: "s" })), h("map-layer-picker", { enabledLayerIds: this._enabledLayerIds, mapView: this.mapView, onLayerSelectionChange: (evt) => { void this._layerSelectionChange(evt); }, ref: (el) => { this._layerPicker = el; }, selectedLayerIds: [this._refineLayer.layer.id], selectionMode: "single" })), h("calcite-popover", { closable: true, label: "", referenceElement: "refine-input-layer" }, h("span", { class: "tooltip-message" }, this._translations.inputLayerTip)))), h("div", { class: "padding-1" }, h("div", { class: "padding-bottom-1" }, h("calcite-segmented-control", { class: "w-100" }, h("calcite-segmented-control-item", { checked: this._addEnabled, class: "w-50", onClick: () => this._setSelectionMode(ESelectionMode.ADD), value: ESelectionMode.ADD }, this._translations.add), h("calcite-segmented-control-item", { checked: !this._addEnabled, class: "w-50", onClick: () => this._setSelectionMode(ESelectionMode.REMOVE), value: ESelectionMode.REMOVE }, this._translations.remove))), h("div", null, h("map-draw-tools", { active: true, drawMode: EDrawMode.REFINE, mapView: this.mapView, onDrawRedo: () => this._redo(), onDrawUndo: () => this._undo(), onSketchGraphicsChange: (evt) => this._sketchGraphicsChanged(evt), pointSymbol: this.sketchPointSymbol, polygonSymbol: this.sketchPolygonSymbol, polylineSymbol: this.sketchLineSymbol, redoEnabled: ((_a = this._refineSelectionSet) === null || _a === void 0 ? void 0 : _a.redoStack.length) > 0, ref: (el) => { this._drawTools = el; }, undoEnabled: ((_b = this._refineSelectionSet) === null || _b === void 0 ? void 0 : _b.undoStack.length) > 0 })), h("br", null), (h("calcite-list", { class: "list-border" }, this._getRefineSelectionSetList())))));
91
+ return (h(Host, null, h("div", { class: layerPickerClass + " padding-top-sides-1" }, h("div", { class: "display-flex" }, h("calcite-label", { class: "font-bold width-full label-margin-0" }, h("div", { class: "display-flex" }, this._translations.inputLayer, h("calcite-icon", { class: "padding-start-1-2 icon", icon: "question", id: "refine-input-layer", scale: "s" })), h("map-layer-picker", { enabledLayerIds: this._enabledLayerIds, mapView: this.mapView, onLayerSelectionChange: (evt) => { void this._layerSelectionChange(evt); }, ref: (el) => { this._layerPicker = el; }, selectedLayerIds: [this._refineLayer.layer.id], selectionMode: "single" })), h("calcite-popover", { closable: true, label: "", referenceElement: "refine-input-layer" }, h("span", { class: "tooltip-message" }, this._translations.inputLayerTip)))), h("div", { class: "padding-1" }, h("div", { class: "padding-bottom-1" }, h("calcite-segmented-control", { class: "w-100" }, h("calcite-segmented-control-item", { checked: this._addEnabled, class: "w-50", onClick: () => this._setSelectionMode(ESelectionMode.ADD), value: ESelectionMode.ADD }, h("span", { class: "font-weight-500" }, this._translations.add)), h("calcite-segmented-control-item", { checked: !this._addEnabled, class: "w-50", onClick: () => this._setSelectionMode(ESelectionMode.REMOVE), value: ESelectionMode.REMOVE }, h("span", { class: "font-weight-500" }, this._translations.remove)))), h("div", null, h("map-draw-tools", { active: true, drawMode: EDrawMode.REFINE, mapView: this.mapView, onDrawRedo: () => this._redo(), onDrawUndo: () => this._undo(), onSketchGraphicsChange: (evt) => this._sketchGraphicsChanged(evt), pointSymbol: this.sketchPointSymbol, polygonSymbol: this.sketchPolygonSymbol, polylineSymbol: this.sketchLineSymbol, redoEnabled: ((_a = this._refineSelectionSet) === null || _a === void 0 ? void 0 : _a.redoStack.length) > 0, ref: (el) => { this._drawTools = el; }, undoEnabled: ((_b = this._refineSelectionSet) === null || _b === void 0 ? void 0 : _b.undoStack.length) > 0 })), h("br", null), (h("calcite-list", { class: "list-border" }, this._getRefineSelectionSetList())))));
92
92
  }
93
93
  //--------------------------------------------------------------------------
94
94
  //
@@ -1139,7 +1139,8 @@ const MapSelectTools = class {
1139
1139
  if (!this.selectLayerView || id !== this.selectLayerView.layer.id) {
1140
1140
  this.selectLayerView = await getMapLayerView(this.mapView, id);
1141
1141
  this._updateLabel();
1142
- await this._highlightWithOIDsOrGeoms();
1142
+ this._bufferGeometry ? await this._selectFeatures([this._bufferGeometry]) :
1143
+ await this._highlightWithOIDsOrGeoms();
1143
1144
  }
1144
1145
  }
1145
1146
  /**
@@ -1551,7 +1552,7 @@ const PdfDownload = class {
1551
1552
  };
1552
1553
  PdfDownload.style = pdfDownloadCss;
1553
1554
 
1554
- const refineSelectionCss = ":host{display:block}.div-visible{display:inherit}.div-not-visible{display:none !important}.padding-top-1-2{padding-top:.5rem}.main-label{display:flex;float:left}html[dir=\"rtl\"] .main-label{display:flex;float:right}.border{outline:1px solid var(--calcite-ui-border-input)}.margin-top-1{margin-top:1rem}.esri-sketch{display:flex;flex-flow:column wrap}.esri-widget{box-sizing:border-box;color:#323232;font-size:14px;font-family:\"Avenir Next\",\"Helvetica Neue\",Helvetica,Arial,sans-serif;line-height:1.3em;background-color:var(--calcite-ui-foreground-1)}.esri-sketch__panel{align-items:center;display:flex;flex-flow:row nowrap;padding:0}*/ .esri-sketch__tool-section{border-right:1px solid rgba(110,110,110,.3)}.esri-sketch__section{align-items:center;display:flex;flex-flow:row nowrap;padding:0 7px;margin:6px 0;border-right:1px solid rgba(110,110,110,.3)}.display-flex{display:flex}.font-bold{font-weight:bold}.width-full{width:100%}.label-margin-0{--calcite-label-margin-bottom:0}.padding-start-1-2{-webkit-padding-start:0.5rem;padding-inline-start:0.5rem}";
1555
+ const refineSelectionCss = ":host{display:block}.div-visible{display:inherit}.div-not-visible{display:none !important}.padding-top-1-2{padding-top:.5rem}.main-label{display:flex;float:left}html[dir=\"rtl\"] .main-label{display:flex;float:right}.border{outline:1px solid var(--calcite-ui-border-input)}.margin-top-1{margin-top:1rem}.esri-sketch{display:flex;flex-flow:column wrap}.esri-widget{box-sizing:border-box;color:#323232;font-size:14px;font-family:\"Avenir Next\",\"Helvetica Neue\",Helvetica,Arial,sans-serif;line-height:1.3em;background-color:var(--calcite-ui-foreground-1)}.esri-sketch__panel{align-items:center;display:flex;flex-flow:row nowrap;padding:0}*/ .esri-sketch__tool-section{border-right:1px solid rgba(110,110,110,.3)}.esri-sketch__section{align-items:center;display:flex;flex-flow:row nowrap;padding:0 7px;margin:6px 0;border-right:1px solid rgba(110,110,110,.3)}.display-flex{display:flex}.font-bold{font-weight:bold}.width-full{width:100%}.label-margin-0{--calcite-label-margin-bottom:0}.padding-start-1-2{-webkit-padding-start:0.5rem;padding-inline-start:0.5rem}.font-weight-500{font-weight:500}";
1555
1556
 
1556
1557
  const RefineSelection = class {
1557
1558
  constructor(hostRef) {
@@ -1609,7 +1610,7 @@ const RefineSelection = class {
1609
1610
  render() {
1610
1611
  var _a, _b;
1611
1612
  const layerPickerClass = this._enabledLayerIds.length > 1 ? "display-block" : "display-none";
1612
- return (h(Host, null, h("div", { class: layerPickerClass + " padding-top-sides-1" }, h("div", { class: "display-flex" }, h("calcite-label", { class: "font-bold width-full label-margin-0" }, h("div", { class: "display-flex" }, this._translations.inputLayer, h("calcite-icon", { class: "padding-start-1-2 icon", icon: "question", id: "refine-input-layer", scale: "s" })), h("map-layer-picker", { enabledLayerIds: this._enabledLayerIds, mapView: this.mapView, onLayerSelectionChange: (evt) => { void this._layerSelectionChange(evt); }, ref: (el) => { this._layerPicker = el; }, selectedLayerIds: [this._refineLayer.layer.id], selectionMode: "single" })), h("calcite-popover", { closable: true, label: "", referenceElement: "refine-input-layer" }, h("span", { class: "tooltip-message" }, this._translations.inputLayerTip)))), h("div", { class: "padding-1" }, h("div", { class: "padding-bottom-1" }, h("calcite-segmented-control", { class: "w-100" }, h("calcite-segmented-control-item", { checked: this._addEnabled, class: "w-50", onClick: () => this._setSelectionMode(ESelectionMode.ADD), value: ESelectionMode.ADD }, this._translations.add), h("calcite-segmented-control-item", { checked: !this._addEnabled, class: "w-50", onClick: () => this._setSelectionMode(ESelectionMode.REMOVE), value: ESelectionMode.REMOVE }, this._translations.remove))), h("div", null, h("map-draw-tools", { active: true, drawMode: EDrawMode.REFINE, mapView: this.mapView, onDrawRedo: () => this._redo(), onDrawUndo: () => this._undo(), onSketchGraphicsChange: (evt) => this._sketchGraphicsChanged(evt), pointSymbol: this.sketchPointSymbol, polygonSymbol: this.sketchPolygonSymbol, polylineSymbol: this.sketchLineSymbol, redoEnabled: ((_a = this._refineSelectionSet) === null || _a === void 0 ? void 0 : _a.redoStack.length) > 0, ref: (el) => { this._drawTools = el; }, undoEnabled: ((_b = this._refineSelectionSet) === null || _b === void 0 ? void 0 : _b.undoStack.length) > 0 })), h("br", null), (h("calcite-list", { class: "list-border" }, this._getRefineSelectionSetList())))));
1613
+ return (h(Host, null, h("div", { class: layerPickerClass + " padding-top-sides-1" }, h("div", { class: "display-flex" }, h("calcite-label", { class: "font-bold width-full label-margin-0" }, h("div", { class: "display-flex" }, this._translations.inputLayer, h("calcite-icon", { class: "padding-start-1-2 icon", icon: "question", id: "refine-input-layer", scale: "s" })), h("map-layer-picker", { enabledLayerIds: this._enabledLayerIds, mapView: this.mapView, onLayerSelectionChange: (evt) => { void this._layerSelectionChange(evt); }, ref: (el) => { this._layerPicker = el; }, selectedLayerIds: [this._refineLayer.layer.id], selectionMode: "single" })), h("calcite-popover", { closable: true, label: "", referenceElement: "refine-input-layer" }, h("span", { class: "tooltip-message" }, this._translations.inputLayerTip)))), h("div", { class: "padding-1" }, h("div", { class: "padding-bottom-1" }, h("calcite-segmented-control", { class: "w-100" }, h("calcite-segmented-control-item", { checked: this._addEnabled, class: "w-50", onClick: () => this._setSelectionMode(ESelectionMode.ADD), value: ESelectionMode.ADD }, h("span", { class: "font-weight-500" }, this._translations.add)), h("calcite-segmented-control-item", { checked: !this._addEnabled, class: "w-50", onClick: () => this._setSelectionMode(ESelectionMode.REMOVE), value: ESelectionMode.REMOVE }, h("span", { class: "font-weight-500" }, this._translations.remove)))), h("div", null, h("map-draw-tools", { active: true, drawMode: EDrawMode.REFINE, mapView: this.mapView, onDrawRedo: () => this._redo(), onDrawUndo: () => this._undo(), onSketchGraphicsChange: (evt) => this._sketchGraphicsChanged(evt), pointSymbol: this.sketchPointSymbol, polygonSymbol: this.sketchPolygonSymbol, polylineSymbol: this.sketchLineSymbol, redoEnabled: ((_a = this._refineSelectionSet) === null || _a === void 0 ? void 0 : _a.redoStack.length) > 0, ref: (el) => { this._drawTools = el; }, undoEnabled: ((_b = this._refineSelectionSet) === null || _b === void 0 ? void 0 : _b.undoStack.length) > 0 })), h("br", null), (h("calcite-list", { class: "list-border" }, this._getRefineSelectionSetList())))));
1613
1614
  }
1614
1615
  //--------------------------------------------------------------------------
1615
1616
  //
@@ -13,7 +13,7 @@ import { c as consolidateLabels, r as removeDuplicateLabels } from './downloadUt
13
13
  import './index-4c4a4f3d.js';
14
14
  import './_commonjsHelpers-d5f9d613.js';
15
15
 
16
- const publicNotificationCss = ":host{display:block;--calcite-input-message-spacing-value:0}.align-center{align-items:center}.border-bottom-1{border-width:0px;border-bottom-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3)}.action-bar-size{height:3.5rem;width:100%}.w-1-2{width:50%}.w-1-3{width:33.33%}.action-center{-webkit-box-align:center;-webkit-align-items:center;-ms-grid-row-align:center;align-items:center;align-content:center;justify-content:center}.width-full{width:100%}.height-full{height:100%}.padding-1{padding:1rem}.padding-top-sides-1{-webkit-padding-before:1rem;padding-block-start:1rem;-webkit-padding-start:1rem;padding-inline-start:1rem;-webkit-padding-end:1rem;padding-inline-end:1rem}.padding-sides-1{-webkit-padding-start:1rem;padding-inline-start:1rem;-webkit-padding-end:1rem;padding-inline-end:1rem}.padding-end-1-2{-webkit-padding-end:.5rem;padding-inline-end:.5rem}.padding-top-1-2{-webkit-padding-before:.5rem;padding-block-start:.5rem}.padding-top-1{padding-top:1rem}.padding-bottom-1{padding-bottom:1rem}.padding-bottom-1-2{padding-bottom:.5rem}.info-blue{color:#00A0FF}.info-message{justify-content:center;display:grid}.font-bold{font-weight:bold}.display-flex{display:flex}.display-block{display:block}.display-none{display:none}.border-bottom{border-bottom:1px solid var(--calcite-ui-border-2)}.padding-start-1-2{-webkit-padding-start:0.5rem;padding-inline-start:0.5rem}.list-border{border:1px solid var(--calcite-ui-border-2)}.margin-sides-1{-webkit-margin-start:1rem;margin-inline-start:1rem;-webkit-margin-end:1rem;margin-inline-end:1rem}.margin-start-1-2{-webkit-margin-start:0.5rem;margin-inline-start:0.5rem}.float-right{float:right}.float-right[dir=\"rtl\"]{float:left}.float-left{float:left}.float-left[dir=\"rtl\"]{float:right}.margin-top-0{-webkit-margin-before:0 !important;margin-block-start:0 !important}.height-1-1-2{height:1.5rem}.main-background{background-color:var(--calcite-ui-foreground-2)}.position-right{position:absolute;right:1rem}.position-right[dir=\"rtl\"]{position:absolute;left:1rem}.label-margin-0{--calcite-label-margin-bottom:0}.list-label{color:var(--calcite-ui-text-1)}.list-label,.list-description{font-family:var(--calcite-sans-family);font-size:var(--calcite-font-size--2);font-weight:var(--calcite-font-weight-normal);overflow-wrap:break-word;word-break:break-word}.list-description{-webkit-margin-before:0.125rem;margin-block-start:0.125rem;color:var(--calcite-ui-text-3)}.img-container{width:100%;height:100%}";
16
+ const publicNotificationCss = ":host{display:block;--calcite-input-message-spacing-value:0}.align-center{align-items:center}.border-bottom-1{border-width:0px;border-bottom-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3)}.action-bar-size{height:3.5rem;width:100%}.w-1-2{width:50%}.w-1-3{width:33.33%}.action-center{-webkit-box-align:center;-webkit-align-items:center;-ms-grid-row-align:center;align-items:center;align-content:center;justify-content:center}.width-full{width:100%}.height-full{height:100%}.padding-1{padding:1rem}.padding-top-sides-1{-webkit-padding-before:1rem;padding-block-start:1rem;-webkit-padding-start:1rem;padding-inline-start:1rem;-webkit-padding-end:1rem;padding-inline-end:1rem}.padding-sides-1{-webkit-padding-start:1rem;padding-inline-start:1rem;-webkit-padding-end:1rem;padding-inline-end:1rem}.padding-end-1-2{-webkit-padding-end:.5rem;padding-inline-end:.5rem}.padding-top-1-2{-webkit-padding-before:.5rem;padding-block-start:.5rem}.padding-top-1{padding-top:1rem}.padding-bottom-1{padding-bottom:1rem}.padding-bottom-1-2{padding-bottom:.5rem}.info-blue{color:#00A0FF}.info-message{justify-content:center;display:grid}.font-bold{font-weight:bold}.display-flex{display:flex}.display-block{display:block}.display-none{display:none}.border-bottom{border-bottom:1px solid var(--calcite-ui-border-2)}.padding-start-1-2{-webkit-padding-start:0.5rem;padding-inline-start:0.5rem}.list-border{border:1px solid var(--calcite-ui-border-2)}.margin-sides-1{-webkit-margin-start:1rem;margin-inline-start:1rem;-webkit-margin-end:1rem;margin-inline-end:1rem}.margin-start-1-2{-webkit-margin-start:0.5rem;margin-inline-start:0.5rem}.float-right{float:right}.float-right[dir=\"rtl\"]{float:left}.float-left{float:left}.float-left[dir=\"rtl\"]{float:right}.margin-top-0{-webkit-margin-before:0 !important;margin-block-start:0 !important}.height-1-1-2{height:1.5rem}.main-background{background-color:var(--calcite-ui-foreground-2)}.position-right{position:absolute;right:1rem}.position-right[dir=\"rtl\"]{position:absolute;left:1rem}.label-margin-0{--calcite-label-margin-bottom:0}.list-label{color:var(--calcite-ui-text-1)}.list-label,.list-description{font-family:var(--calcite-sans-family);font-size:var(--calcite-font-size--2);font-weight:var(--calcite-font-weight-normal);overflow-wrap:break-word;word-break:break-word}.list-description{-webkit-margin-before:0.125rem;margin-block-start:0.125rem;color:var(--calcite-ui-text-3)}.img-container{width:100%;height:100%}.font-weight-500{font-weight:500}.background-override{height:100%;width:100%;--calcite-ui-foreground-3:var(--calcite-ui-brand);--calcite-ui-foreground-2:var(--calcite-ui-brand-hover);--calcite-ui-text-1:var(--calcite-ui-text-inverse)}";
17
17
 
18
18
  const PublicNotification = class {
19
19
  constructor(hostRef) {
@@ -282,7 +282,7 @@ const PublicNotification = class {
282
282
  */
283
283
  _getActionGroup(icon, pageType, tip) {
284
284
  const sizeClass = this.showRefineSelection ? " w-1-3" : " w-1-2";
285
- return (h("calcite-action-group", { class: "action-center" + sizeClass, layout: "horizontal" }, h("calcite-action", { active: this._pageType === pageType, alignment: "center", class: "width-full height-full", compact: false, icon: icon, id: icon, onClick: () => { this._setPageType(pageType); }, text: "" }), h("calcite-tooltip", { label: "", placement: "bottom", "reference-element": icon }, h("span", null, tip))));
285
+ return (h("calcite-action-group", { class: "action-center" + sizeClass, layout: "horizontal" }, h("div", { class: "background-override" }, h("calcite-action", { active: this._pageType === pageType, alignment: "center", class: "width-full height-full", compact: false, icon: icon, id: icon, onClick: () => { this._setPageType(pageType); }, text: "" })), h("calcite-tooltip", { label: "", placement: "bottom", "reference-element": icon }, h("span", null, tip))));
286
286
  }
287
287
  /**
288
288
  * Navigate to the defined page type
@@ -329,7 +329,7 @@ const PublicNotification = class {
329
329
  */
330
330
  _getListPage() {
331
331
  const hasSets = this._hasSelections();
332
- return (h("calcite-panel", null, this._getLabel(this._translations.myLists), this._getNotice(hasSets ? this._translations.listHasSetsTip : this._translations.selectLayerAndAdd, "padding-sides-1 padding-bottom-1"), hasSets ? this._getSelectionSetList() : (this._getOnboardingImage()), h("div", { class: "display-flex padding-1" }, h("calcite-button", { onClick: () => { this._setPageType(EPageType.SELECT); }, width: "full" }, this._translations.add))));
332
+ return (h("calcite-panel", null, this._getLabel(this._translations.myLists), this._getNotice(hasSets ? this._translations.listHasSetsTip : this._translations.selectLayerAndAdd, "padding-sides-1 padding-bottom-1"), hasSets ? this._getSelectionSetList() : (this._getOnboardingImage()), h("div", { class: "display-flex padding-1" }, h("calcite-button", { onClick: () => { this._setPageType(EPageType.SELECT); }, width: "full" }, h("span", { class: "font-weight-500" }, this._translations.add)))));
333
333
  }
334
334
  /**
335
335
  * Display an image to help illustrate the basic workflow of the widget
@@ -480,7 +480,7 @@ const PublicNotification = class {
480
480
  _getExportPage() {
481
481
  const hasSelections = this._hasSelections(this.showRefineSelection);
482
482
  const displayDuplicatesClass = this._numDuplicates > 0 ? "display-block" : "display-none";
483
- return (h("calcite-panel", null, h("div", null, this._getLabel(this._translations.export, false), hasSelections ? (h("div", null, this._getNotice(this._translations.exportTip, "padding-sides-1"), this._getLabel(this._translations.exportListsLabel), this._getExportSelectionLists(), h("div", { class: "padding-sides-1 " + displayDuplicatesClass }, h("div", { class: "display-flex" }, h("calcite-label", { layout: "inline" }, h("calcite-checkbox", { ref: (el) => { this._removeDuplicates = el; } }), h("div", { class: "display-flex" }, this._translations.removeDuplicate, h("div", { class: "info-message padding-start-1-2" }, h("calcite-input-message", { class: "info-blue margin-top-0", scale: "m" }, ` ${this._translations.numDuplicates.replace("{{n}}", this._numDuplicates.toString())}`)))), h("calcite-icon", { class: "padding-start-1-2 icon", icon: "question", id: "remove-duplicates-icon", scale: "s" })), h("calcite-popover", { closable: true, label: "", referenceElement: "remove-duplicates-icon" }, h("span", { class: "tooltip-message" }, this._translations.duplicatesTip))), h("div", { class: "border-bottom" }), h("div", { class: "padding-top-sides-1" }, h("calcite-segmented-control", { class: "w-100", onCalciteSegmentedControlChange: (evt) => this._exportTypeChange(evt) }, h("calcite-segmented-control-item", { checked: this._exportType === EExportType.PDF, class: "w-50 end-border", value: EExportType.PDF }, this._translations.pdf), h("calcite-segmented-control-item", { checked: this._exportType === EExportType.CSV, class: "w-50", value: EExportType.CSV }, this._translations.csv))), h("div", { class: "padding-bottom-1" }, this._getExportOptions()), h("div", { class: "padding-1 display-flex" }, h("calcite-button", { disabled: !this._downloadActive, onClick: () => void this._export(), width: "full" }, this._translations.export)))) : (this._getNotice(this._translations.downloadNoLists, "padding-sides-1 padding-bottom-1")))));
483
+ return (h("calcite-panel", null, h("div", null, this._getLabel(this._translations.export, false), hasSelections ? (h("div", null, this._getNotice(this._translations.exportTip, "padding-sides-1"), this._getLabel(this._translations.exportListsLabel), this._getExportSelectionLists(), h("div", { class: "padding-sides-1 " + displayDuplicatesClass }, h("div", { class: "display-flex" }, h("calcite-label", { layout: "inline" }, h("calcite-checkbox", { ref: (el) => { this._removeDuplicates = el; } }), h("div", { class: "display-flex" }, this._translations.removeDuplicate, h("div", { class: "info-message padding-start-1-2" }, h("calcite-input-message", { class: "info-blue margin-top-0", scale: "m" }, ` ${this._translations.numDuplicates.replace("{{n}}", this._numDuplicates.toString())}`)))), h("calcite-icon", { class: "padding-start-1-2 icon", icon: "question", id: "remove-duplicates-icon", scale: "s" })), h("calcite-popover", { closable: true, label: "", referenceElement: "remove-duplicates-icon" }, h("span", { class: "tooltip-message" }, this._translations.duplicatesTip))), h("div", { class: "border-bottom" }), h("div", { class: "padding-top-sides-1" }, h("calcite-segmented-control", { class: "w-100", onCalciteSegmentedControlChange: (evt) => this._exportTypeChange(evt) }, h("calcite-segmented-control-item", { checked: this._exportType === EExportType.PDF, class: "w-50 end-border", value: EExportType.PDF }, h("span", { class: "font-weight-500" }, this._translations.pdf)), h("calcite-segmented-control-item", { checked: this._exportType === EExportType.CSV, class: "w-50", value: EExportType.CSV }, h("span", { class: "font-weight-500" }, this._translations.csv)))), h("div", { class: "padding-bottom-1" }, this._getExportOptions()), h("div", { class: "padding-1 display-flex" }, h("calcite-button", { disabled: !this._downloadActive, onClick: () => void this._export(), width: "full" }, h("span", { class: "font-weight-500" }, this._translations.export))))) : (this._getNotice(this._translations.downloadNoLists, "padding-sides-1 padding-bottom-1")))));
484
484
  }
485
485
  /**
486
486
  * Store the user selected export type CSV || PDF
@@ -524,7 +524,7 @@ const PublicNotification = class {
524
524
  * @protected
525
525
  */
526
526
  _getPageNavButtons(topLabel, topDisabled, topFunc, bottomLabel, bottomDisabled, bottomFunc) {
527
- return (h("div", { class: "padding-bottom-1" }, h("div", { class: "display-flex padding-top-sides-1" }, h("calcite-button", { disabled: topDisabled, onClick: topFunc, width: "full" }, topLabel)), h("div", { class: "display-flex padding-top-1-2 padding-sides-1" }, h("calcite-button", { appearance: "outline", disabled: bottomDisabled, onClick: bottomFunc, width: "full" }, bottomLabel))));
527
+ return (h("div", { class: "padding-bottom-1" }, h("div", { class: "display-flex padding-top-sides-1" }, h("calcite-button", { disabled: topDisabled, onClick: topFunc, width: "full" }, h("span", { class: "font-weight-500" }, topLabel))), h("div", { class: "display-flex padding-top-1-2 padding-sides-1" }, h("calcite-button", { appearance: "outline", disabled: bottomDisabled, onClick: bottomFunc, width: "full" }, h("span", { class: "font-weight-500" }, bottomLabel)))));
528
528
  }
529
529
  /**
530
530
  * Create an informational notice
@@ -57,6 +57,10 @@
57
57
  rel="stylesheet"
58
58
  href="https://js.arcgis.com/4.27/esri/themes/light/main.css"
59
59
  />
60
+ <!-- <link
61
+ rel="stylesheet"
62
+ href="https://js.arcgis.com/4.27/esri/themes/dark/main.css"
63
+ /> -->
60
64
  <link rel="stylesheet" href="https://webapps-cdn.esri.com/CDN/fonts/v1.4.1/fonts.css" />
61
65
  <link rel="stylesheet" href="../solutions-components.css" type="text/css">
62
66
 
@@ -111,6 +115,7 @@
111
115
  </script>
112
116
  </head>
113
117
 
118
+ <!-- <body class="calcite-mode-dark"> -->
114
119
  <body>
115
120
  <div id="viewDiv"></div>
116
121
  <public-notification id="demo" class="over-map column"></public-notification>
@@ -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,a as s,h as e,H as a,g as l}from"./p-f8be5d5f.js";import{a as n,b as o,c}from"./p-92de1de9.js";import{l as d}from"./p-d7ddd3a2.js";import{g as r,h}from"./p-4b426bab.js";import{s as g}from"./p-a29ba58a.js";import{g as p}from"./p-fc2277fe.js";import{c as b,r as m}from"./p-345f517c.js";import"./p-4ff653eb.js";import"./p-e1a4994d.js";const u=class{constructor(s){t(this,s),this.searchConfigurationChange=i(this,"searchConfigurationChange",7),this._onboardingImageUrl="",this._numSelected=0,this.addresseeLayerIds=[],this.bufferColor=[227,139,79,.8],this.bufferOutlineColor=[255,255,255],this.customLabelEnabled=void 0,this.defaultBufferDistance=void 0,this.defaultBufferUnit=void 0,this.featureEffect=void 0,this.featureHighlightEnabled=void 0,this.mapView=void 0,this.noResultText=void 0,this.searchConfiguration=void 0,this.selectionLayerIds=[],this.showRefineSelection=!1,this.showSearchSettings=!0,this.sketchLineSymbol=void 0,this.sketchPointSymbol=void 0,this.sketchPolygonSymbol=void 0,this._addMap=!1,this._addTitle=!1,this._downloadActive=!0,this._exportType=n.PDF,this._isMobile=void 0,this._numDuplicates=0,this._pageType=o.LIST,this._saveEnabled=!1,this._selectionSets=[],this._translations=void 0}async mapViewWatchHandler(t){(null==t?void 0:t.popup)&&(this._popupsEnabled=null==t?void 0:t.popup.autoOpenEnabled)}async watchSearchConfigurationHandler(t,i){const s=JSON.stringify(t);s!==JSON.stringify(i)&&(this._searchConfiguration=JSON.parse(s),this.searchConfigurationChange.emit(this._searchConfiguration),this._home())}async sketchLineSymbolWatchHandler(t,i){t&&JSON.stringify(t)!==JSON.stringify(i)&&this._setLineSymbol(t)}async sketchPointSymbolWatchHandler(t,i){t&&JSON.stringify(t)!==JSON.stringify(i)&&this._setPointSymbol(t)}async sketchPolygonSymbolWatchHandler(t,i){t&&JSON.stringify(t)!==JSON.stringify(i)&&this._setPolygonSymbol(t)}async pageTypeWatchHandler(t,i){var s;if(this._checkPopups(),(null===(s=this.mapView)||void 0===s?void 0:s.popup)&&(this.mapView.popup.autoOpenEnabled=t===o.LIST&&this._popupsEnabled),t===o.EXPORT&&(this._numDuplicates=await this._getNumDuplicates()),this._clearHighlight(),i!==o.SELECT&&i!==o.REFINE||await this._clearSelection(),t!==o.SELECT)return this._highlightFeatures()}selectionSetsChanged(t){this._selectionSets=[...t.detail]}connectedCallback(){this._mediaQuery=window.matchMedia("(max-width: 600px)"),this._mediaQuery.addEventListener("change",(t=>this._setIsMobile(t)))}async componentWillLoad(){await this._getTranslations(),await this._initModules(),this._initSymbols(),this._onboardingImageUrl=s("../assets/data/images/onboarding.png")}render(){return e(a,null,e("calcite-shell",null,e("calcite-action-bar",{class:"border-bottom-1 action-bar-size","expand-disabled":!0,layout:"horizontal",slot:this._isMobile?"footer":"header"},this._getActionGroup("list-check",o.LIST,this._translations.myLists),this.showRefineSelection?this._getActionGroup("test-data",o.REFINE,this._translations.refineSelection):null,this._getActionGroup("export",o.EXPORT,this._translations.export)),this._getPage(this._pageType)))}disconnectedCallback(){this._mediaQuery.removeEventListener("change",(t=>this._setIsMobile(t)))}async _initModules(){const[t,i]=await d(["esri/geometry/geometryEngine","esri/symbols/support/jsonUtils"]);this._geometryEngine=t,this._jsonUtils=i}_initSymbols(){this._setLineSymbol(this.sketchLineSymbol),this._setPointSymbol(this.sketchPointSymbol),this._setPolygonSymbol(this.sketchPolygonSymbol)}_setLineSymbol(t){this.sketchLineSymbol="simple-line"===(null==t?void 0:t.type)?t:this._jsonUtils.fromJSON(t||{type:"esriSLS",color:[130,130,130,255],width:2,style:"esriSLSSolid"})}_setPointSymbol(t){this.sketchPointSymbol="simple-marker"===(null==t?void 0:t.type)?t:this._jsonUtils.fromJSON(t||{type:"esriSMS",color:[255,255,255,255],angle:0,xoffset:0,yoffset:0,size:6,style:"esriSMSCircle",outline:{type:"esriSLS",color:[50,50,50,255],width:1,style:"esriSLSSolid"}})}_setPolygonSymbol(t){this.sketchPolygonSymbol="simple-fill"===(null==t?void 0:t.type)?t:this._jsonUtils.fromJSON(t||{type:"esriSFS",color:[150,150,150,51],outline:{type:"esriSLS",color:[50,50,50,255],width:2,style:"esriSLSSolid"},style:"esriSFSSolid"})}_setIsMobile(t){this._isMobile=t.matches}_getActionGroup(t,i,s){return e("calcite-action-group",{class:"action-center"+(this.showRefineSelection?" w-1-3":" w-1-2"),layout:"horizontal"},e("div",{class:"background-override"},e("calcite-action",{active:this._pageType===i,alignment:"center",class:"width-full height-full",compact:!1,icon:t,id:t,onClick:()=>{this._setPageType(i)},text:""})),e("calcite-tooltip",{label:"",placement:"bottom","reference-element":t},e("span",null,s)))}_setPageType(t){this._pageType=t}_getPage(t){let i;switch(t){case o.LIST:i=this._getListPage();break;case o.SELECT:i=this._getSelectPage();break;case o.EXPORT:i=this._getExportPage();break;case o.REFINE:i=this._getRefinePage()}return i}_getListPage(){const t=this._hasSelections();return e("calcite-panel",null,this._getLabel(this._translations.myLists),this._getNotice(t?this._translations.listHasSetsTip:this._translations.selectLayerAndAdd,"padding-sides-1 padding-bottom-1"),t?this._getSelectionSetList():this._getOnboardingImage(),e("div",{class:"display-flex padding-1"},e("calcite-button",{onClick:()=>{this._setPageType(o.SELECT)},width:"full"},e("span",{class:"font-weight-500"},this._translations.add))))}_getOnboardingImage(){return e("div",{class:"display-flex padding-sides-1"},e("img",{class:"img-container",src:this._onboardingImageUrl}))}_getSelectionSetList(){return e("div",{class:"padding-top-1-2 padding-bottom-1-2"},e("calcite-list",{class:"list-border margin-sides-1"},this._selectionSets.reduce(((t,i,s)=>{var a;const l=this._getSelectionSetIds(i);let n=!0;return i.workflowType===c.REFINE&&(n=Object.keys(i.refineInfos).reduce(((t,s)=>{const e=i.refineInfos[s];return t+(e.addIds.length+e.removeIds.length)}),0)>0),n&&t.push(e("calcite-list-item",{label:i.label,onClick:()=>this._gotoSelection(i,this.mapView)},e("div",{slot:"content"},e("div",{class:"list-label"},i.label),e("div",{class:"list-description"},null===(a=null==i?void 0:i.layerView)||void 0===a?void 0:a.layer.title),e("div",{class:"list-description"},this._translations.selectedFeatures.replace("{{n}}",l.length.toString()))),this._getAction(!0,"pencil","",(t=>this._openSelection(i,t)),!1,"actions-end"),this._getAction(!0,"x","",(t=>this._deleteSelection(s,t)),!1,"actions-end"))),t}),[])))}_getSelectionSetIds(t){return t.workflowType!==c.REFINE?t.selectedIds:Object.keys(t.refineInfos).reduce(((i,s)=>[...i,...t.refineInfos[s].addIds]),[])}_hasSelections(t=!1){let i=[];const s=this._selectionSets.some((t=>{if(t.workflowType===c.REFINE)return i=this._getSelectionSetIds(t),!0}));return t&&s?i.length>0||this._selectionSets.length>1:this._selectionSets.length>0}async _getNumDuplicates(){const t=this._getExportInfos(),i=await b(t),s=m(i);return i.length-s.length}_getExportInfos(){return this._selectionSets.reduce(((t,i)=>(i.download&&(i.workflowType!==c.REFINE?this._updateIds(i.layerView.layer.id,i.layerView,i.selectedIds,t):Object.keys(i.refineInfos).forEach((s=>{const e=i.refineInfos[s];e.addIds.length>0&&this._updateIds(s,e.layerView,e.addIds,t)}))),t)),{})}_updateIds(t,i,s,e){return e[t]?e[t].ids=e[t].ids.concat(s):e[t]={layerView:i,ids:s},e}_getSelectPage(){const t=this._translations.selectSearchTip;return e("calcite-panel",null,this._getLabel(this._translations.stepTwoFull,!0),this._getNotice(t),e("div",null,e("map-select-tools",{bufferColor:this.bufferColor,bufferOutlineColor:this.bufferOutlineColor,class:"font-bold",customLabelEnabled:this.customLabelEnabled,defaultBufferDistance:this.defaultBufferDistance,defaultBufferUnit:this.defaultBufferUnit,enabledLayerIds:this.addresseeLayerIds,isUpdate:!!this._activeSelection,mapView:this.mapView,noResultText:this.noResultText,onSelectionSetChange:t=>this._updateForSelection(t),ref:t=>{this._selectTools=t},searchConfiguration:this._searchConfiguration,selectionLayerIds:this.selectionLayerIds,selectionSet:this._activeSelection,sketchLineSymbol:this.sketchLineSymbol,sketchPointSymbol:this.sketchPointSymbol,sketchPolygonSymbol:this.sketchPolygonSymbol})),this._getPageNavButtons(this._translations.done,0===this._numSelected,(()=>{this._saveSelection()}),this._translations.cancel,!1,(()=>{this._home()})))}_getExportPage(){const t=this._hasSelections(this.showRefineSelection),i=this._numDuplicates>0?"display-block":"display-none";return e("calcite-panel",null,e("div",null,this._getLabel(this._translations.export,!1),t?e("div",null,this._getNotice(this._translations.exportTip,"padding-sides-1"),this._getLabel(this._translations.exportListsLabel),this._getExportSelectionLists(),e("div",{class:"padding-sides-1 "+i},e("div",{class:"display-flex"},e("calcite-label",{layout:"inline"},e("calcite-checkbox",{ref:t=>{this._removeDuplicates=t}}),e("div",{class:"display-flex"},this._translations.removeDuplicate,e("div",{class:"info-message padding-start-1-2"},e("calcite-input-message",{class:"info-blue margin-top-0",scale:"m"},` ${this._translations.numDuplicates.replace("{{n}}",this._numDuplicates.toString())}`)))),e("calcite-icon",{class:"padding-start-1-2 icon",icon:"question",id:"remove-duplicates-icon",scale:"s"})),e("calcite-popover",{closable:!0,label:"",referenceElement:"remove-duplicates-icon"},e("span",{class:"tooltip-message"},this._translations.duplicatesTip))),e("div",{class:"border-bottom"}),e("div",{class:"padding-top-sides-1"},e("calcite-segmented-control",{class:"w-100",onCalciteSegmentedControlChange:t=>this._exportTypeChange(t)},e("calcite-segmented-control-item",{checked:this._exportType===n.PDF,class:"w-50 end-border",value:n.PDF},e("span",{class:"font-weight-500"},this._translations.pdf)),e("calcite-segmented-control-item",{checked:this._exportType===n.CSV,class:"w-50",value:n.CSV},e("span",{class:"font-weight-500"},this._translations.csv)))),e("div",{class:"padding-bottom-1"},this._getExportOptions()),e("div",{class:"padding-1 display-flex"},e("calcite-button",{disabled:!this._downloadActive,onClick:()=>{this._export()},width:"full"},e("span",{class:"font-weight-500"},this._translations.export)))):this._getNotice(this._translations.downloadNoLists,"padding-sides-1 padding-bottom-1")))}_exportTypeChange(t){this._exportType=t.target.value}_getExportOptions(){const t=this._addTitle?"display-block":"display-none";return e("div",{class:this._exportType===n.PDF?"display-block":"display-none"},this._getLabel(this._translations.pdfOptions,!0),e("div",{class:"padding-top-sides-1"},e("calcite-label",{class:"label-margin-0"},this._translations.selectPDFLabelOption)),e("div",{class:"padding-sides-1"},e("pdf-download",{disabled:!this._downloadActive,ref:t=>{this._downloadTools=t}})),e("div",{class:"padding-top-sides-1"},e("calcite-label",{class:"label-margin-0",layout:"inline"},e("calcite-checkbox",{checked:this._addTitle,onCalciteCheckboxChange:()=>this._addTitle=!this._addTitle}),this._translations.addTitle)),e("div",{class:t},this._getLabel(this._translations.title,!0,""),e("calcite-input-text",{class:"padding-sides-1",placeholder:this._translations.titlePlaceholder,ref:t=>{this._title=t}})),e("div",{class:"padding-top-sides-1"},e("calcite-label",{class:"label-margin-0",layout:"inline"},e("calcite-checkbox",{checked:this._addMap,onCalciteCheckboxChange:()=>this._addMap=!this._addMap}),this._translations.includeMap)))}_getRefinePage(){const t=this._hasSelections();return e("calcite-panel",null,this._getLabel(this._translations.refineSelection),t?e("div",null,this._getNotice(this._translations.refineTip,"padding-sides-1"),e("refine-selection",{enabledLayerIds:this.selectionLayerIds,mapView:this.mapView,selectionSets:this._selectionSets,sketchLineSymbol:this.sketchLineSymbol,sketchPointSymbol:this.sketchPointSymbol,sketchPolygonSymbol:this.sketchPolygonSymbol})):this._getNotice(this._translations.refineTipNoSelections,"padding-sides-1"))}_getPageNavButtons(t,i,s,a,l,n){return e("div",{class:"padding-bottom-1"},e("div",{class:"display-flex padding-top-sides-1"},e("calcite-button",{disabled:i,onClick:s,width:"full"},e("span",{class:"font-weight-500"},t))),e("div",{class:"display-flex padding-top-1-2 padding-sides-1"},e("calcite-button",{appearance:"outline",disabled:l,onClick:n,width:"full"},e("span",{class:"font-weight-500"},a))))}_getNotice(t,i="padding-1"){return e("calcite-notice",{class:i,icon:"lightbulb",kind:"success",open:!0},e("div",{slot:"message"},t))}_getLabel(t,i=!1,s="font-bold"){return e("div",{class:"padding-top-sides-1"},e("calcite-label",{class:s+=i?" label-margin-0":""},t))}_getExportSelectionLists(){return this._selectionSets.reduce(((t,i)=>{var s;const a=this._getSelectionSetIds(i),l=i.workflowType!==c.REFINE||a.length>0;return!this._downloadActive&&i.download&&l&&(this._downloadActive=!0),l&&t.push(e("div",{class:"display-flex padding-sides-1 padding-bottom-1"},e("calcite-checkbox",{checked:i.download,class:"align-center",onClick:()=>{this._toggleDownload(i.id)}}),e("calcite-list",{class:"list-border margin-start-1-2 width-full",id:"download-list"},e("calcite-list-item",{disabled:!i.download,label:i.label,onClick:()=>{this._toggleDownload(i.id)}},e("div",{slot:"content"},e("div",{class:"list-label"},i.label),e("div",{class:"list-description"},null===(s=null==i?void 0:i.layerView)||void 0===s?void 0:s.layer.title),e("div",{class:"list-description"},this._translations.selectedFeatures.replace("{{n}}",a.length.toString()))))))),t}),[])||e("div",null)}async _toggleDownload(t){let i=!1;this._selectionSets=this._selectionSets.map((s=>(s.download=s.id===t?!s.download:s.download,i=!!s.download||i,s))),this._downloadActive=i,this._numDuplicates=await this._getNumDuplicates(),await this._highlightFeatures()}async _export(){const t=this._getSelectionIdsAndViews(this._selectionSets,!0);if(this._exportType===n.PDF){let i="";if(this._addMap&&this.mapView){const t=await this.mapView.takeScreenshot({width:1500,height:2e3});i=null==t?void 0:t.dataUrl}this._downloadTools.downloadPDF(t,this._removeDuplicates.checked,this._addTitle?this._title.value:"",i)}this._exportType===n.CSV&&this._downloadTools.downloadCSV(t,this._removeDuplicates.checked)}_getSelectionIdsAndViews(t,i=!1){return(i?t.filter((t=>t.download)):t).reduce(((t,i)=>{var s;if(i.workflowType===c.REFINE)Object.keys(i.refineInfos).forEach((s=>{const e=i.refineInfos[s];e.addIds&&(t=this._updateExportInfos(t,e.layerView.layer.id,i.label,e.addIds,e.layerView))}));else{const e=null===(s=null==i?void 0:i.layerView)||void 0===s?void 0:s.layer.id;t=this._updateExportInfos(t,e,i.label,i.selectedIds,i.layerView)}return t}),{})}_updateExportInfos(t,i,s,e,a){return i&&Object.keys(t).indexOf(i)>-1?(t[i].ids=[...new Set([...t[i].ids,...e])],t[i].selectionSetNames.push(s)):i&&(t[i]={ids:e,layerView:a,selectionSetNames:[s]}),t}_getAction(t,i,s,a,l=!1,n=""){return e("calcite-action",{disabled:!t,icon:i,indicator:l,onClick:a,slot:n,text:s})}_updateForSelection(t){this._numSelected=t.detail,this._saveEnabled=this._numSelected>0}async _home(){await this._clearSelection(),this._setPageType(o.LIST)}async _saveSelection(){var t,i;const s=await(null===(t=this._selectTools)||void 0===t?void 0:t.getSelection()),e=null===(i=this._selectTools)||void 0===i?void 0:i.isUpdate;return this._selectionSets=e?this._selectionSets.map((t=>t.id===s.id?s:t)):[...this._selectionSets,s],this._home()}async _clearSelection(){var t;await(null===(t=this._selectTools)||void 0===t?void 0:t.clearSelection()),this._numSelected=0,this._activeSelection=void 0}_deleteSelection(t,i){return i.stopPropagation(),this._selectionSets=this._selectionSets.filter(((i,s)=>{if(s!==t)return i})),this._highlightFeatures()}_gotoSelection(t,i){r(t.selectedIds,t.layerView,i,this.featureHighlightEnabled,this.featureEffect)}_openSelection(t,i){i.stopPropagation(),this._activeSelection=t,this._pageType=t.workflowType===c.REFINE?o.REFINE:o.SELECT}async _highlightFeatures(){this._clearHighlight();const t=this._getSelectionIdsAndViews(this._selectionSets,this._pageType===o.EXPORT),i=Object.keys(t);if(i.length>0)for(let s=0;s<i.length;s++){const e=t[i[s]];g.highlightHandles.push(await h(e.ids,e.layerView,this.mapView))}}_checkPopups(){var t;"boolean"!=typeof this._popupsEnabled&&(this._popupsEnabled=null===(t=this.mapView)||void 0===t?void 0:t.popup.autoOpenEnabled)}_clearHighlight(){g&&g.highlightHandles&&g.removeHandles()}async _getTranslations(){const t=await p(this.el);this._translations=t[0]}get el(){return l(this)}static get watchers(){return{mapView:["mapViewWatchHandler"],searchConfiguration:["watchSearchConfigurationHandler"],sketchLineSymbol:["sketchLineSymbolWatchHandler"],sketchPointSymbol:["sketchPointSymbolWatchHandler"],sketchPolygonSymbol:["sketchPolygonSymbolWatchHandler"],_pageType:["pageTypeWatchHandler"]}}};u.style=':host{display:block;--calcite-input-message-spacing-value:0}.align-center{align-items:center}.border-bottom-1{border-width:0px;border-bottom-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3)}.action-bar-size{height:3.5rem;width:100%}.w-1-2{width:50%}.w-1-3{width:33.33%}.action-center{-webkit-box-align:center;-webkit-align-items:center;-ms-grid-row-align:center;align-items:center;align-content:center;justify-content:center}.width-full{width:100%}.height-full{height:100%}.padding-1{padding:1rem}.padding-top-sides-1{-webkit-padding-before:1rem;padding-block-start:1rem;-webkit-padding-start:1rem;padding-inline-start:1rem;-webkit-padding-end:1rem;padding-inline-end:1rem}.padding-sides-1{-webkit-padding-start:1rem;padding-inline-start:1rem;-webkit-padding-end:1rem;padding-inline-end:1rem}.padding-end-1-2{-webkit-padding-end:.5rem;padding-inline-end:.5rem}.padding-top-1-2{-webkit-padding-before:.5rem;padding-block-start:.5rem}.padding-top-1{padding-top:1rem}.padding-bottom-1{padding-bottom:1rem}.padding-bottom-1-2{padding-bottom:.5rem}.info-blue{color:#00A0FF}.info-message{justify-content:center;display:grid}.font-bold{font-weight:bold}.display-flex{display:flex}.display-block{display:block}.display-none{display:none}.border-bottom{border-bottom:1px solid var(--calcite-ui-border-2)}.padding-start-1-2{-webkit-padding-start:0.5rem;padding-inline-start:0.5rem}.list-border{border:1px solid var(--calcite-ui-border-2)}.margin-sides-1{-webkit-margin-start:1rem;margin-inline-start:1rem;-webkit-margin-end:1rem;margin-inline-end:1rem}.margin-start-1-2{-webkit-margin-start:0.5rem;margin-inline-start:0.5rem}.float-right{float:right}.float-right[dir="rtl"]{float:left}.float-left{float:left}.float-left[dir="rtl"]{float:right}.margin-top-0{-webkit-margin-before:0 !important;margin-block-start:0 !important}.height-1-1-2{height:1.5rem}.main-background{background-color:var(--calcite-ui-foreground-2)}.position-right{position:absolute;right:1rem}.position-right[dir="rtl"]{position:absolute;left:1rem}.label-margin-0{--calcite-label-margin-bottom:0}.list-label{color:var(--calcite-ui-text-1)}.list-label,.list-description{font-family:var(--calcite-sans-family);font-size:var(--calcite-font-size--2);font-weight:var(--calcite-font-weight-normal);overflow-wrap:break-word;word-break:break-word}.list-description{-webkit-margin-before:0.125rem;margin-block-start:0.125rem;color:var(--calcite-ui-text-3)}.img-container{width:100%;height:100%}.font-weight-500{font-weight:500}.background-override{height:100%;width:100%;--calcite-ui-foreground-3:var(--calcite-ui-brand);--calcite-ui-foreground-2:var(--calcite-ui-brand-hover);--calcite-ui-text-1:var(--calcite-ui-text-inverse)}';export{u as public_notification}
@@ -14,4 +14,4 @@ import{r as i,c as t,h as e,H as s,g as a}from"./p-f8be5d5f.js";import{a as n,e
14
14
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
15
15
  * v1.2.0
16
16
  */
17
- const J="actions-end",U=class{constructor(e){i(this,e),this.calciteNoticeClose=t(this,"calciteNoticeClose",6),this.calciteNoticeOpen=t(this,"calciteNoticeOpen",6),this.close=()=>{this.open=!1,this.calciteNoticeClose.emit()},this.open=!1,this.kind="brand",this.closable=!1,this.icon=void 0,this.iconFlipRtl=!1,this.scale="m",this.width="auto",this.messages=void 0,this.messageOverrides=void 0,this.effectiveLocale=void 0,this.defaultMessages=void 0}onMessagesChange(){}updateRequestedIcon(){this.requestedIcon=o(P,this.icon,this.kind)}connectedCallback(){I(this),w(this),L(this)}disconnectedCallback(){C(this),x(this),S(this)}async componentWillLoad(){v(this),this.requestedIcon=o(P,this.icon,this.kind),await D(this)}componentDidLoad(){f(this)}render(){const{el:i}=this,t=e("button",{"aria-label":this.messages.close,class:"notice-close",onClick:this.close,ref:i=>this.closeButton=i},e("calcite-icon",{icon:"x",scale:"l"===this.scale?"m":"s"})),s=n(i,J);return e("div",{class:"container"},this.requestedIcon?e("div",{class:"notice-icon"},e("calcite-icon",{flipRtl:this.iconFlipRtl,icon:this.requestedIcon,scale:"l"===this.scale?"m":"s"})):null,e("div",{class:"notice-content"},e("slot",{name:"title"}),e("slot",{name:"message"}),e("slot",{name:"link"})),s?e("div",{class:"actions-end"},e("slot",{name:J})):null,this.closable?t:null)}async setFocus(){await y(this);const i=this.el.querySelector("calcite-link");(this.closeButton||i)&&(i?i.setFocus():this.closeButton&&this.closeButton.focus())}effectiveLocaleChange(){_(this,this.effectiveLocale)}static get assetsDirs(){return["assets"]}get el(){return a(this)}static get watchers(){return{messageOverrides:["onMessagesChange"],icon:["updateRequestedIcon"],kind:["updateRequestedIcon"],effectiveLocale:["effectiveLocaleChange"]}}};U.style="@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:600}:host([hidden]){display:none}:host([scale=s]){--calcite-notice-spacing-token-small:0.5rem;--calcite-notice-spacing-token-large:0.75rem}:host([scale=s]) .container slot[name=title]::slotted(*),:host([scale=s]) .container *::slotted([slot=title]){margin-block:0.125rem;font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=s]) .container slot[name=message]::slotted(*),:host([scale=s]) .container *::slotted([slot=message]){margin-block:0.125rem;font-size:var(--calcite-font-size--2);line-height:1.375}:host([scale=s]) ::slotted(calcite-link){margin-block:0.125rem;font-size:var(--calcite-font-size--2);line-height:1.375}:host([scale=s]) .notice-close{padding:0.5rem}:host([scale=m]){--calcite-notice-spacing-token-small:0.75rem;--calcite-notice-spacing-token-large:1rem}:host([scale=m]) .container slot[name=title]::slotted(*),:host([scale=m]) .container *::slotted([slot=title]){margin-block:0.125rem;font-size:var(--calcite-font-size-0);line-height:1.375}:host([scale=m]) .container slot[name=message]::slotted(*),:host([scale=m]) .container *::slotted([slot=message]){margin-block:0.125rem;font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=m]) ::slotted(calcite-link){margin-block:0.125rem;font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=l]){--calcite-notice-spacing-token-small:1rem;--calcite-notice-spacing-token-large:1.25rem}:host([scale=l]) .container slot[name=title]::slotted(*),:host([scale=l]) .container *::slotted([slot=title]){margin-block:0.125rem;font-size:var(--calcite-font-size-1);line-height:1.375}:host([scale=l]) .container slot[name=message]::slotted(*),:host([scale=l]) .container *::slotted([slot=message]){margin-block:0.125rem;font-size:var(--calcite-font-size-0);line-height:1.375}:host([scale=l]) ::slotted(calcite-link){margin-block:0.125rem;font-size:var(--calcite-font-size-0);line-height:1.375}:host([width=auto]){--calcite-notice-width:auto}:host([width=half]){--calcite-notice-width:50%}:host([width=full]){--calcite-notice-width:100%}:host{margin-inline:auto;display:none;max-inline-size:100%;align-items:center;inline-size:var(--calcite-notice-width)}.container{pointer-events:none;margin-block:0px;box-sizing:border-box;display:none;inline-size:100%;background-color:var(--calcite-ui-foreground-1);opacity:0;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;max-block-size:0;text-align:start;-webkit-border-start:0px solid;border-inline-start:0px solid;box-shadow:0 0 0 0 transparent}.notice-close{outline-color:transparent}.notice-close:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}:host{display:flex}:host([open]) .container{pointer-events:auto;display:flex;max-block-size:100%;align-items:center;border-width:2px;opacity:1;--tw-shadow:0 4px 8px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);--tw-shadow-colored:0 4px 8px -1px var(--tw-shadow-color), 0 2px 4px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.container slot[name=title]::slotted(*),.container *::slotted([slot=title]){margin:0px;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1)}.container slot[name=message]::slotted(*),.container *::slotted([slot=message]){margin:0px;display:inline;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-2);-webkit-margin-end:var(--calcite-notice-spacing-token-small);margin-inline-end:var(--calcite-notice-spacing-token-small)}.notice-content{box-sizing:border-box;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;padding-inline:var(--calcite-notice-spacing-token-large);flex:0 0 auto;display:flex;min-inline-size:0px;flex-direction:column;overflow-wrap:break-word;flex:1 1 0;padding-block:var(--calcite-notice-spacing-token-small);padding-inline:0 var(--calcite-notice-spacing-token-small)}.notice-content:first-of-type:not(:only-child){-webkit-padding-start:var(--calcite-notice-spacing-token-large);padding-inline-start:var(--calcite-notice-spacing-token-large)}.notice-content:only-of-type{padding-block:var(--calcite-notice-spacing-token-small);padding-inline:var(--calcite-notice-spacing-token-large)}.notice-icon{display:flex;align-items:center;box-sizing:border-box;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;padding-block:var(--calcite-notice-spacing-token-small);padding-inline:var(--calcite-notice-spacing-token-large);flex:0 0 auto}.notice-close{display:flex;cursor:pointer;align-items:center;align-self:stretch;border-style:none;background-color:transparent;color:var(--calcite-ui-text-3);outline:2px solid transparent;outline-offset:2px;box-sizing:border-box;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;padding-block:var(--calcite-notice-spacing-token-small);padding-inline:var(--calcite-notice-spacing-token-large);flex:0 0 auto;-webkit-appearance:none}.notice-close:hover,.notice-close:focus{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1)}.notice-close:active{background-color:var(--calcite-ui-foreground-3)}.actions-end{display:flex;align-self:stretch}:host([kind=brand]) .container{border-color:var(--calcite-ui-brand)}:host([kind=brand]) .container .notice-icon{color:var(--calcite-ui-brand)}:host([kind=info]) .container{border-color:var(--calcite-ui-info)}:host([kind=info]) .container .notice-icon{color:var(--calcite-ui-info)}:host([kind=danger]) .container{border-color:var(--calcite-ui-danger)}:host([kind=danger]) .container .notice-icon{color:var(--calcite-ui-danger)}:host([kind=success]) .container{border-color:var(--calcite-ui-success)}:host([kind=success]) .container .notice-icon{color:var(--calcite-ui-success)}:host([kind=warning]) .container{border-color:var(--calcite-ui-warning)}:host([kind=warning]) .container .notice-icon{color:var(--calcite-ui-warning)}";const Q=class{constructor(e){i(this,e),this.selectionSetChange=t(this,"selectionSetChange",7),this._selectedIds=[],this._selectionLabel="",this._graphics=[],this._featuresCollection={},this.bufferColor=[227,139,79,.8],this.bufferOutlineColor=[255,255,255],this.customLabelEnabled=void 0,this.enabledLayerIds=[],this.defaultBufferDistance=void 0,this.defaultBufferUnit=void 0,this.geometries=[],this.isUpdate=!1,this.layerViews=[],this.mapView=void 0,this.noResultText=void 0,this.searchConfiguration=void 0,this.selectionSet=void 0,this.selectionLayerIds=[],this.selectLayerView=void 0,this.sketchLineSymbol=void 0,this.sketchPointSymbol=void 0,this.sketchPolygonSymbol=void 0,this._numSelected=0,this._searchDistanceEnabled=!1,this._searchTerm=void 0,this._selectionLoading=!1,this._translations=void 0,this._useLayerFeaturesEnabled=!1}async watchGeometriesHandler(i,t){if(i!==t){const t=0===i.length;if(await this._clearResults(t,t),i.length>0)return this._highlightWithOIDsOrGeoms()}}async watchSearchConfigurationHandler(i,t){JSON.stringify(i)!==JSON.stringify(t)&&this._initSearchWidget()}async clearSelection(){return this._clearResults(!0,!0)}async getSelection(){return/\S+/gm.test(this._selectionLabel)||this._updateLabel(),{id:this.isUpdate?this.selectionSet.id:Date.now(),searchResult:this._searchResult,buffer:this._bufferGeometry,distance:this._bufferTools.distance,download:!0,unit:this._bufferTools.unit,label:this._selectionLabel,selectedIds:this._selectedIds,layerView:this.selectLayerView,geometries:this.geometries,graphics:this._graphics,selectLayers:this.layerViews,skipGeomOIDs:this._skipGeomOIDs,searchDistanceEnabled:this._searchDistanceEnabled,workflowType:this._workflowType,useLayerFeaturesEnabled:this._useLayerFeaturesEnabled,sketchGraphic:this._sketchGraphic}}searchConfigurationChangeChanged(i){this.searchConfiguration=i.detail}distanceChanged(i){this._distanceChanged(i.detail)}unitChanged(i){i.detail.newValue!==i.detail.oldValue&&(this._unit=i.detail.newValue,this._updateLabel())}async componentWillLoad(){await this._getTranslations(),await this._initModules()}async componentDidLoad(){return this._init()}render(){return e(s,null,this._getMapLayerPicker(),e("div",{class:"border-bottom"}),e("div",{class:"padding-top-sides-1"},e("div",{class:"search-widget",ref:i=>{this._searchElement=i}}),e("div",{class:"padding-top-1"},e("map-draw-tools",{active:!0,editGraphicsEnabled:!this._useLayerFeaturesEnabled,graphics:this._graphics,mapView:this.mapView,onSketchGraphicsChange:i=>this._sketchGraphicsChanged(i),pointSymbol:this.sketchPointSymbol,polygonSymbol:this.sketchPolygonSymbol,polylineSymbol:this.sketchLineSymbol,ref:i=>{this._drawTools=i}})),this._getBufferOptions(),this._getUseLayerFeaturesOptions(),this._getNumSelected()),e("div",{class:"border-bottom"}),this._getNameInput())}_getBufferOptions(){var i,t;const s=this._searchDistanceEnabled?"search-distance":"div-not-visible",a="number"==typeof(null===(i=this.selectionSet)||void 0===i?void 0:i.distance)?this.selectionSet.distance:this.defaultBufferDistance;return e("div",null,e("div",{class:"padding-top-1 display-flex"},e("calcite-label",{class:"label-margin-0 w-100",layout:"inline-space-between"},e("div",{class:"tooltip-container"},this._translations.searchDistance,e("calcite-icon",{class:"padding-start-1-2 icon",icon:"question",id:"search-distance-icon",scale:"s"}))),e("calcite-popover",{closable:!0,label:"",referenceElement:"search-distance-icon"},e("span",{class:"tooltip-message"},this._translations.useSearchDistanceTootip)),e("calcite-switch",{checked:this._searchDistanceEnabled,onCalciteSwitchChange:()=>this._searchDistanceEnabled=!this._searchDistanceEnabled})),e("div",{class:s},e("buffer-tools",{disabled:!this._searchDistanceEnabled,distance:a,geometries:this.geometries,onBufferComplete:i=>this._bufferComplete(i),ref:i=>this._bufferTools=i,unit:(null===(t=this.selectionSet)||void 0===t?void 0:t.unit)||this.defaultBufferUnit})))}_getUseLayerFeaturesOptions(){const i=this._useLayerFeaturesEnabled?"div-visible":"div-not-visible";return e("div",null,e("div",{class:"padding-top-1 display-flex"},e("calcite-label",{class:"label-margin-0 w-100",layout:"inline-space-between"},e("div",{class:"tooltip-container"},this._translations.useLayerFeatures,e("calcite-icon",{class:"padding-start-1-2 icon",icon:"question",id:"use-layer-features-icon",scale:"s"}))),e("calcite-popover",{closable:!0,label:"",referenceElement:"use-layer-features-icon"},e("span",{class:"tooltip-message"},this._translations.useLayerFeaturesTooltip)),e("calcite-switch",{checked:this._useLayerFeaturesEnabled,onCalciteSwitchChange:()=>{this._useLayerFeaturesEnabledChanged()}})),e("div",{class:i+" padding-top-1"},e("map-layer-picker",{enabledLayerIds:this.selectionLayerIds,mapView:this.mapView,onLayerSelectionChange:i=>{this._layerSelectionChange(i)},selectedLayerIds:this.layerViews.map((i=>i.layer.id)),selectionMode:"single"})))}_getNumSelected(){const i=q(this.el),t=i&&"en"===i?`${this._translations.selectionLoading}...`:this._translations.selectionLoading;return e("div",{class:"padding-top-1 padding-bottom-1",style:{"align-items":"end",display:"flex"}},this._selectionLoading?e("div",null,e("calcite-loader",{class:"info-blue",inline:!0,label:t,scale:"m",type:"indeterminate"})):e("calcite-icon",{class:"info-blue padding-end-1-2",icon:"feature-layer",scale:"s"}),e("calcite-input-message",{class:"info-blue",scale:"m"},this._selectionLoading?t:this.noResultText&&0===this._numSelected?this.noResultText:this._translations.selectedFeatures.replace("{{n}}",this._numSelected.toString())))}_getNameInput(){return e("div",{class:"padding-sides-1 padding-top-1 "+(this.customLabelEnabled?"":"display-none")},e("calcite-label",{class:"font-bold"},this._translations.listName,e("calcite-input",{onInput:()=>{this._selectionLabel=this._labelName.value},placeholder:this._translations.listNamePlaceholder,ref:i=>{this._labelName=i},value:this._selectionLabel||""})))}_getMapLayerPicker(){return e("div",{class:"display-flex padding-sides-1 padding-bottom-1"},e("calcite-label",{class:"font-bold width-full label-margin-0"},this._translations.inputLayer,e("map-layer-picker",{enabledLayerIds:this.enabledLayerIds,mapView:this.mapView,onLayerSelectionChange:i=>this._inputLayerSelectionChange(i),selectedLayerIds:this.selectLayerView?[this.selectLayerView.layer.id]:this.selectionSet?[this.selectionSet.layerView.layer.id]:[],selectionMode:"single"})))}async _initModules(){const[i,t,e,s,a]=await M(["esri/layers/GraphicsLayer","esri/Graphic","esri/widgets/Search","esri/geometry/geometryEngine","esri/layers/FeatureLayer"]);this.GraphicsLayer=i,this.Graphic=t,this.Search=e,this._geometryEngine=s,this.FeatureLayer=a}async _init(){this._initGraphicsLayer(),await this._initSelectionSet(),this._initSearchWidget()}async _initSelectionSet(){var i,t,e,s;this.selectionSet&&(this._searchTerm=null===(i=this.selectionSet.searchResult)||void 0===i?void 0:i.name,this._searchResult=this.selectionSet.searchResult,this._selectLayers=this.selectionSet.selectLayers,this._selectedIds=this.selectionSet.selectedIds,this._skipGeomOIDs=this.selectionSet.skipGeomOIDs,this._searchDistanceEnabled=this.selectionSet.searchDistanceEnabled,this._useLayerFeaturesEnabled=this.selectionSet.useLayerFeaturesEnabled,this._distance=this.selectionSet.searchDistanceEnabled?this.selectionSet.distance:0,this._unit=this.selectionSet.unit,this._workflowType=this.selectionSet.workflowType,this.selectLayerView=this.selectionSet.layerView,this._sketchGraphic=this.selectionSet.sketchGraphic,this.geometries=[...(null===(t=this.selectionSet)||void 0===t?void 0:t.geometries)||[]],this._graphics=this.geometries.map((i=>new this.Graphic({geometry:i,symbol:"point"===i.type?this.sketchPointSymbol:"polyline"===i.type?this.sketchLineSymbol:this.sketchPolygonSymbol}))),this._selectionLabel=null===(e=this.selectionSet)||void 0===e?void 0:e.label,this._useLayerFeaturesEnabled||null===(s=this._drawTools)||void 0===s||s.updateGraphics(),await j(this.selectionSet.selectedIds,this.selectionSet.layerView,this.mapView,!1))}_initSearchWidget(){if(this.mapView&&this._searchElement){const i=this._getSearchConfig(this.searchConfiguration,this.mapView),t=Object.assign({view:this.mapView,container:this._searchElement,searchTerm:this._searchTerm},i);this._searchWidget=new this.Search(t),this._searchWidget.popupEnabled=!1,this._searchWidget.on("search-clear",(()=>{const i=this._searchClearLabel();this._clearResults(!1,i)})),this._searchWidget.on("select-result",(i=>{var t,e;if(i.result){this._searchResult=i.result;const s=(null===(e=null===(t=i.source)||void 0===t?void 0:t.layer)||void 0===e?void 0:e.id)&&i.source.layer.id===this.selectLayerView.layer.id,a=s?[i.result.feature.getObjectId()]:void 0;this._workflowType=F.SEARCH,this._updateLabel();const n=[i.result.feature];this._updateSelection(n,s,a),this._drawTools.graphics=n,this._drawTools.updateGraphics()}else{const i=this._searchClearLabel();this._clearResults(!1,i)}}))}}_searchClearLabel(){var i;return(null===(i=this._searchResult)||void 0===i?void 0:i.name)&&this._labelName.value.indexOf(this._searchResult.name)>-1}_getSearchConfig(i,t){const e=null==i?void 0:i.sources;return(null==e?void 0:e.length)>0?(i.includeDefaultSources=!1,e.forEach((i=>{var e,s;if(i.hasOwnProperty("layer")){const a=i,n=null===(e=a.layer)||void 0===e?void 0:e.id,o=n?t.map.findLayerById(n):null,l=null===(s=null==a?void 0:a.layer)||void 0===s?void 0:s.url;o?a.layer=o:l&&(a.layer=new this.FeatureLayer(l))}})),null==e||e.forEach((i=>{if(i.hasOwnProperty("locator")){const t=i;"ArcGIS World Geocoding Service"===(null==t?void 0:t.name)&&(t.outFields=t.outFields||["Addr_type","Match_addr","StAddr","City"],t.singleLineFieldName="SingleLine"),t.url=t.url,delete t.url}}))):i=Object.assign(Object.assign({},i),{includeDefaultSources:!0}),i}_initGraphicsLayer(){const i=this._translations.bufferLayer,t=this.mapView.map.layers.findIndex((t=>t.title===i));if(t>-1)this._bufferGraphicsLayer=this.mapView.map.layers.getItemAt(t);else{this._bufferGraphicsLayer=new this.GraphicsLayer({title:i,listMode:"hide"}),T.managedLayers.push(i);const t=this.mapView.map.layers.findIndex((i=>i.title===this._translations.sketchLayer));t>-1?this.mapView.map.layers.add(this._bufferGraphicsLayer,t):this.mapView.map.layers.add(this._bufferGraphicsLayer)}}async _sketchGraphicsChanged(i,t=!1){const e=i.detail.graphics;if(e.length>0&&e[0])if(t||(this._sketchGraphic=e[0]),this._workflowType=this._useLayerFeaturesEnabled?F.SELECT:F.SKETCH,this._workflowType===F.SKETCH&&this._drawTools.updateGraphics(),this._updateLabel(),this._clearSearchWidget(),this._useLayerFeaturesEnabled&&!t){const i=Array.isArray(e)?e.map((i=>i.geometry)):this.geometries;await this._selectLayerFeatures(i[0])}else{const t=e.reduce(((i,t)=>{var e;return(null===(e=null==t?void 0:t.layer)||void 0===e?void 0:e.objectIdField)?i.push(t.attributes[t.layer.objectIdField]):t.getObjectId&&i.push(t.getObjectId()),i}),[]),s=i.detail.useOIDs&&t.length>0;this._updateSelection(e,s,t),s&&await this._highlightFeatures(t)}else await this._clearResults(!0,!0)}async _highlightWithOIDsOrGeoms(){var i;return(null===(i=this._skipGeomOIDs)||void 0===i?void 0:i.length)>0?(this._selectedIds=this._skipGeomOIDs,this._highlightFeatures(this._selectedIds)):this._geomQuery(this.geometries)}async _highlightFeatures(i){T.removeHandles(),i.length>0&&T.highlightHandles.push(await A(i,this.selectLayerView,this.mapView)),this._numSelected=i.length,this.selectionSetChange.emit(i.length)}async _selectFeatures(i){this._selectionLoading=!0,this._selectedIds=await N(i,this.selectLayerView.layer),this._selectionLoading=!1,this._drawTools.graphics=this._graphics,await this._highlightFeatures(this._selectedIds)}async _bufferComplete(i){this._bufferGeometry=Array.isArray(i.detail)?i.detail[0]:i.detail;let t=this._bufferTools.distance,e=0;if(this._bufferGeometry){const i=new this.Graphic({geometry:this._bufferGeometry,symbol:{type:"simple-fill",color:this.bufferColor,outline:{color:this.bufferOutlineColor,width:1}}});this._bufferGraphicsLayer.removeAll(),this._bufferGraphicsLayer.add(i),await this._selectFeatures([this._bufferGeometry]),await this.mapView.goTo(i.geometry.extent),e=t,t=0}else this._bufferGraphicsLayer&&this._bufferGraphicsLayer.removeAll(),await this._highlightWithOIDsOrGeoms();this._distanceChanged({oldValue:t,newValue:e})}_geomQuery(i){const t=G(i,this._geometryEngine);return this._selectFeatures(t)}async _clearResults(i=!0,t=!1){var e;this._selectedIds=[],this._distance=void 0,this._unit=void 0,t&&(this._selectionLabel="",this._labelName.value=""),this._bufferGraphicsLayer&&this._bufferGraphicsLayer.removeAll(),i&&this._searchWidget&&this._clearSearchWidget(),T.removeHandles(),(null===(e=this._drawTools)||void 0===e?void 0:e.clear)&&(this._graphics=[],await this._drawTools.clear()),this.selectionSetChange.emit(this._selectedIds.length)}_clearSearchWidget(){this._searchWidget.clear(),this._searchResult=void 0}_updateSelection(i,t,e){this._selectedIds=t&&e?e:this._selectedIds,this._skipGeomOIDs=t?e:void 0,this.geometries=Array.isArray(i)?i.map((i=>i.geometry)):this.geometries,this._graphics=i}_updateLabel(){var i,t;const e=this._selectionLabel.indexOf(this._translations.sketch)>-1,s=this._selectionLabel.indexOf(this._translations.select)>-1,a=this._selectionLabel.indexOf(null===(i=this._searchResult)||void 0===i?void 0:i.name)>-1,n=this._workflowType===F.SEARCH?null===(t=this._searchResult)||void 0===t?void 0:t.name:this._workflowType===F.SELECT?this._translations.select:this._translations.sketch,o=this._unit?this._unit:this._bufferTools.unit,l=isNaN(this._distance)?this._bufferTools.distance:this._distance;this._selectionLabel=e||s||a||!this._selectionLabel?`${n} ${l} ${o}`:this._selectionLabel,this._labelName.value=this._selectionLabel}async _layerSelectionChange(i){if(Array.isArray(i.detail)&&i.detail.length>0){const t=i.detail.map((i=>O(this.mapView,i)));return Promise.all(t).then((i=>{this.layerViews=i,this._featuresCollection={},this._sketchGraphic&&this._sketchGraphicsChanged({detail:{graphics:[this._sketchGraphic],useOIDs:!1}})}))}}async _inputLayerSelectionChange(i){var t;const e=(null===(t=null==i?void 0:i.detail)||void 0===t?void 0:t.length)>0?i.detail[0]:"";this.selectLayerView&&e===this.selectLayerView.layer.id||(this.selectLayerView=await O(this.mapView,e),this._updateLabel(),await this._highlightWithOIDsOrGeoms())}_distanceChanged(i){i.newValue!==i.oldValue&&(this._distance=i.newValue,this._updateLabel())}async _selectLayerFeatures(i){this._selectionLoading=!0;const t=this.layerViews.map((t=>(this._featuresCollection[t.layer.id]=[],H(0,t.layer,i,this._featuresCollection))));return Promise.all(t).then((async i=>{this._selectionLoading=!1;let t=[];i.forEach((i=>{Object.keys(i).forEach((e=>{t=t.concat(i[e])}))}));let e=!1;t.forEach((i=>{var t;const s=i.geometry;i.symbol="point"===s.type?this.sketchPointSymbol:"polyline"===s.type?this.sketchLineSymbol:"polygon"===s.type?this.sketchPolygonSymbol:void 0,e=(null===(t=null==i?void 0:i.layer)||void 0===t?void 0:t.hasOwnProperty("objectIdField"))||i.hasOwnProperty("getObjectId")}));const s=this.layerViews[0].layer.title===this.selectLayerView.layer.title&&e;await this._sketchGraphicsChanged({detail:{graphics:t,useOIDs:s}},!0)}))}_useLayerFeaturesEnabledChanged(){this._useLayerFeaturesEnabled=!this._useLayerFeaturesEnabled,this._sketchGraphic&&this._sketchGraphicsChanged({detail:{graphics:[this._sketchGraphic],useOIDs:!1}})}async _getTranslations(){const i=await Y(this.el);this._translations=i[0]}get el(){return a(this)}static get watchers(){return{geometries:["watchGeometriesHandler"],searchConfiguration:["watchSearchConfigurationHandler"]}}};Q.style=':host{display:block}.div-visible{display:inherit}.div-visible-search{display:flex;height:44px;align-items:center;padding-bottom:0}.div-not-visible{display:none}.padding-bottom-1{padding-bottom:1rem}.padding-top-1{padding-top:1rem}.search-widget{width:100% !important;border:1px solid var(--calcite-ui-border-input)}.w-100{width:100%}.w-50{width:50%}.search-distance-container{padding-top:"1rem" !important}.end-border{-webkit-border-end:1px solid var(--calcite-ui-border-2);border-inline-end:1px solid var(--calcite-ui-border-2)}.search-distance{display:flex;padding-top:1rem}.font-bold{font:bold}.border-bottom{border-bottom:1px solid var(--calcite-ui-border-2)}.tooltip-container{display:flex}.padding-start-1-2{-webkit-padding-start:0.5rem;padding-inline-start:0.5rem}.icon{--calcite-ui-icon-color:var(--calcite-ui-brand)}.tooltip-message{padding:5px 8px;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-2)}';const X=Object.freeze({__proto__:null,default:[{descriptionPDF:{labelWidthDisplay:"2-5/8",labelHeightDisplay:"1",labelsPerPageDisplay:"30",averyPartNumber:"*60"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.1875,rightMargin:.1875,topMargin:.5,bottomMargin:.5},numLabelsAcross:3,numLabelsDown:10,labelWidth:2.625,labelHeight:1,horizGapIn:.125,vertGapIn:0,labelPadding:.1,fontSizePx:11,maxNumLabelLines:4}},{descriptionPDF:{labelWidthDisplay:"4",labelHeightDisplay:"1",labelsPerPageDisplay:"20",averyPartNumber:"*61"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.15625,rightMargin:.15625,topMargin:.47637821,bottomMargin:.5},numLabelsAcross:2,numLabelsDown:10,labelWidth:4,labelHeight:1.0025,horizGapIn:.1875,vertGapIn:0,labelPadding:.1,fontSizePx:11,maxNumLabelLines:4}},{descriptionPDF:{labelWidthDisplay:"4",labelHeightDisplay:"1-1/3",labelsPerPageDisplay:"14",averyPartNumber:"*62"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.15625,rightMargin:.15625,topMargin:.81889808,bottomMargin:.83464612},numLabelsAcross:2,numLabelsDown:7,labelWidth:4,labelHeight:1.3352,horizGapIn:.1875,vertGapIn:0,labelPadding:.1,fontSizePx:11,maxNumLabelLines:6}},{descriptionPDF:{labelWidthDisplay:"4",labelHeightDisplay:"2",labelsPerPageDisplay:"10",averyPartNumber:"*63"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.15625,rightMargin:.15625,topMargin:.5,bottomMargin:.5},numLabelsAcross:2,numLabelsDown:5,labelWidth:4,labelHeight:2,horizGapIn:.1875,vertGapIn:0,labelPadding:.1,fontSizePx:12,maxNumLabelLines:10}},{descriptionPDF:{labelWidthDisplay:"4",labelHeightDisplay:"3-1/3",labelsPerPageDisplay:"6",averyPartNumber:"*64"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.15625,rightMargin:.15625,topMargin:.4724412,bottomMargin:.50000027},numLabelsAcross:2,numLabelsDown:3,labelWidth:4,labelHeight:3.342,horizGapIn:.1875,vertGapIn:0,labelPadding:.1,fontSizePx:14,maxNumLabelLines:12}},{descriptionPDF:{labelWidthDisplay:"1-3/4",labelHeightDisplay:"1/2",labelsPerPageDisplay:"80",averyPartNumber:"*67"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.307086375,rightMargin:.307086375,topMargin:.4724412,bottomMargin:.49606326},numLabelsAcross:4,numLabelsDown:20,labelWidth:1.75,labelHeight:.50155,horizGapIn:.29527575,vertGapIn:0,labelPadding:.1,fontSizePx:8,maxNumLabelLines:3}},{descriptionPDF:{labelWidthDisplay:"1-3/4",labelHeightDisplay:"2/3",labelsPerPageDisplay:"60",averyPartNumber:"*95"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.28936983,rightMargin:.28936983,topMargin:.53937037,bottomMargin:.5511814},numLabelsAcross:4,numLabelsDown:15,labelWidth:1.75,labelHeight:.6605,horizGapIn:.30708678,vertGapIn:0,labelPadding:.1,fontSizePx:8,maxNumLabelLines:4}}]}),Z=class{constructor(t){i(this,t),this.disabled=!1,this._translations=void 0}async downloadCSV(i,t,e=!0){$(i,!0,t,e)}async downloadPDF(i,t=!1,e="",s=""){B(i,this._labelInfoElement.selectedOption.value,t,e,s)}async componentWillLoad(){await this._getTranslations(),await this._initModules()}render(){return e(s,null,e("calcite-select",{disabled:this.disabled,label:"",ref:i=>{this._labelInfoElement=i}},this._renderItems()))}async _initModules(){const[i]=await M(["esri/intl"]);this._intl=i}_getLabelSizeText(i){const t=`${i.descriptionPDF.labelWidthDisplay} x ${i.descriptionPDF.labelHeightDisplay}`;return this._translations.pdfLabel.replace("{{n}}",i.descriptionPDF.labelsPerPageDisplay).replace("{{labelSize}}",t)}async _getTranslations(){const i=await Y(this.el);this._translations=i[0]}_renderItems(){return(X.default||X).sort(((i,t)=>{const e=parseInt(i.descriptionPDF.labelsPerPageDisplay,10),s=parseInt(t.descriptionPDF.labelsPerPageDisplay,10);return e<s?-1:e>s?1:0})).map((i=>e("calcite-option",{value:i},this._getLabelSizeText(i))))}get el(){return a(this)}};Z.style=":host{display:block}";const ii=class{constructor(e){i(this,e),this.selectionLoadingChange=t(this,"selectionLoadingChange",7),this.selectionSetsChanged=t(this,"selectionSetsChanged",7),this._addEnabled=!0,this._refineSets=[],this._enabledLayerIds=[],this._featuresCollection={},this.addresseeLayer=void 0,this.enabledLayerIds=[],this.mapView=void 0,this.selectionSets=[],this.sketchLineSymbol=void 0,this.sketchPointSymbol=void 0,this.sketchPolygonSymbol=void 0,this._translations=void 0,this._selectionMode=R.ADD,this._refineLayer=void 0}async componentWillLoad(){await this._getTranslations(),this._enabledLayerIds=this._getEnabledLayerIds(),await this._setRefineSet(this._enabledLayerIds[0])}render(){var i,t;return e(s,null,e("div",{class:(this._enabledLayerIds.length>1?"display-block":"display-none")+" padding-top-sides-1"},e("div",{class:"display-flex"},e("calcite-label",{class:"font-bold width-full label-margin-0"},e("div",{class:"display-flex"},this._translations.inputLayer,e("calcite-icon",{class:"padding-start-1-2 icon",icon:"question",id:"refine-input-layer",scale:"s"})),e("map-layer-picker",{enabledLayerIds:this._enabledLayerIds,mapView:this.mapView,onLayerSelectionChange:i=>{this._layerSelectionChange(i)},ref:i=>{this._layerPicker=i},selectedLayerIds:[this._refineLayer.layer.id],selectionMode:"single"})),e("calcite-popover",{closable:!0,label:"",referenceElement:"refine-input-layer"},e("span",{class:"tooltip-message"},this._translations.inputLayerTip)))),e("div",{class:"padding-1"},e("div",{class:"padding-bottom-1"},e("calcite-segmented-control",{class:"w-100"},e("calcite-segmented-control-item",{checked:this._addEnabled,class:"w-50",onClick:()=>this._setSelectionMode(R.ADD),value:R.ADD},this._translations.add),e("calcite-segmented-control-item",{checked:!this._addEnabled,class:"w-50",onClick:()=>this._setSelectionMode(R.REMOVE),value:R.REMOVE},this._translations.remove))),e("div",null,e("map-draw-tools",{active:!0,drawMode:V.REFINE,mapView:this.mapView,onDrawRedo:()=>this._redo(),onDrawUndo:()=>this._undo(),onSketchGraphicsChange:i=>this._sketchGraphicsChanged(i),pointSymbol:this.sketchPointSymbol,polygonSymbol:this.sketchPolygonSymbol,polylineSymbol:this.sketchLineSymbol,redoEnabled:(null===(i=this._refineSelectionSet)||void 0===i?void 0:i.redoStack.length)>0,ref:i=>{this._drawTools=i},undoEnabled:(null===(t=this._refineSelectionSet)||void 0===t?void 0:t.undoStack.length)>0})),e("br",null),e("calcite-list",{class:"list-border"},this._getRefineSelectionSetList())))}_layerSelectionChange(i){this._setRefineSet(i.detail[0])}_setSelectionMode(i){this._selectionMode=i}_sketchGraphicsChanged(i){var t;const e=null===(t=i.detail)||void 0===t?void 0:t.graphics[0].geometry;this._selectFeatures(e)}_getEnabledLayerIds(){return this.selectionSets.reduce(((i,t)=>{var e;const s=null===(e=null==t?void 0:t.layerView)||void 0===e?void 0:e.layer.id;return s&&i.indexOf(s)<0?i.push(s):t.workflowType===F.REFINE&&Object.keys(t.refineInfos).forEach((t=>{i.indexOf(t)<0&&i.push(t)})),i}),[])}async _setRefineSet(i){this.selectionSets.some((t=>{if(t.workflowType===F.REFINE)return this._refineSelectionSet=t,Object.keys(t.refineInfos).indexOf(i)>-1}))||await this._initRefineSet(i,this._refineSelectionSet),this._refineLayer=this._refineSelectionSet.refineInfos[i].layerView}async _initRefineSet(i,t){const e={};e[i]={addIds:[],removeIds:[],layerView:await O(this.mapView,i)},t?t.refineInfos=Object.assign(Object.assign({},t.refineInfos),e):(this._refineSelectionSet={id:Date.now(),searchResult:void 0,buffer:void 0,distance:0,download:!0,unit:"feet",label:"Refine",selectedIds:[],layerView:void 0,geometries:[],graphics:[],selectLayers:[],workflowType:F.REFINE,searchDistanceEnabled:!1,useLayerFeaturesEnabled:!1,refineInfos:e,redoStack:[],undoStack:[],sketchGraphic:void 0},this.selectionSets.push(this._refineSelectionSet))}_undo(){const i=this._refineSelectionSet.undoStack.pop();this._updateIds(i.ids,i.mode===R.ADD?R.REMOVE:R.ADD,this._refineSelectionSet.redoStack,i.layerView)}_redo(){const i=this._refineSelectionSet.redoStack.pop();this._updateIds(i.ids,i.mode===R.ADD?R.REMOVE:R.ADD,this._refineSelectionSet.undoStack,i.layerView)}_getRefineSelectionSetList(){const i=this._getTotal(this.selectionSets);let t;this.selectionSets.some((i=>{if(i.workflowType===F.REFINE)return t=i,!0}));let s=0,a=0;return Object.keys(t.refineInfos).forEach((i=>{s+=t.refineInfos[i].addIds.length,a+=t.refineInfos[i].removeIds.length})),[e("calcite-list-item",{label:this._translations.featuresAdded.replace("{{n}}",s.toString()),"non-interactive":!0}),e("calcite-list-item",{label:this._translations.featuresRemoved.replace("{{n}}",a.toString()),"non-interactive":!0}),e("calcite-list-item",{label:this._translations.totalSelected.replace("{{n}}",i.toString()),"non-interactive":!0})]}_getTotal(i){const t=W(i);return Object.keys(t).reduce(((i,e)=>i+t[e].ids.length),0)}async _getTranslations(){const i=await Y(this.el);this._translations=i[0]}async _selectFeatures(i){var t,e;this.selectionLoadingChange.emit(!0),this._featuresCollection[null===(t=this._refineLayer)||void 0===t?void 0:t.layer.id]=[];const s=await H(0,null===(e=this._refineLayer)||void 0===e?void 0:e.layer,i,this._featuresCollection);this.selectionLoadingChange.emit(!1);let a=[];Object.keys(s).forEach((i=>{var t;i===(null===(t=this._refineLayer)||void 0===t?void 0:t.layer.id)&&(a=a.concat(s[i]))}));const n=Array.isArray(a)?a.map((i=>{var t;return i.attributes[null===(t=null==i?void 0:i.layer)||void 0===t?void 0:t.objectIdField]})):[];await this._updateIds(n,this._selectionMode,this._refineSelectionSet.undoStack,this._refineLayer),this._drawTools.clear()}async _highlightFeatures(){this._clearHighlight(),T.highlightHandles=await E(this.selectionSets)}_clearHighlight(){T.removeHandles()}async _updateIds(i,t,e,s){let a=!1;const n=this._refineSelectionSet.refineInfos,o=s.layer.id,l={};l[o]={addIds:[],removeIds:[],layerView:s};const r=Object.keys(n).indexOf(o)>-1?n[o]:l[o];if(t===R.ADD)r.addIds=[...new Set([...i,...r.addIds])],r.addIds.length>0&&e.push({ids:i,mode:t,layerView:s}),r.removeIds.length>0&&(r.removeIds=r.removeIds.filter((t=>i.indexOf(t)<0)));else{const n=this.selectionSets.reduce(((t,e)=>(i.forEach((i=>{e.workflowType!==F.REFINE?e.selectedIds.indexOf(i)>-1&&t.push(i):Object.keys(e.refineInfos).some((a=>{const n=e.refineInfos[a];if(n.layerView.layer.id===s.layer.id&&n.addIds.indexOf(i)>-1)return t.push(i),!0}))})),t)),[]);r.removeIds=[...new Set([...n,...r.removeIds])],r.addIds=r.addIds.filter((i=>n.indexOf(i)<0)),r.removeIds.length>0&&e.push({ids:n,mode:t,layerView:s}),this.selectionSets=this.selectionSets.reduce(((i,t)=>(t.workflowType!==F.REFINE&&t.layerView.layer.id===s.layer.id?(t.selectedIds=t.selectedIds.filter((i=>r.removeIds.indexOf(i)<0)),t.selectedIds.length>0?i.push(t):a=!0):i.push(t),i)),[])}this._refineSelectionSet.refineInfos[o]=r,this.selectionSets=[...this.selectionSets],a&&this.selectionSetsChanged.emit(this.selectionSets),await this._highlightFeatures()}get el(){return a(this)}};ii.style=':host{display:block}.div-visible{display:inherit}.div-not-visible{display:none !important}.padding-top-1-2{padding-top:.5rem}.main-label{display:flex;float:left}html[dir="rtl"] .main-label{display:flex;float:right}.border{outline:1px solid var(--calcite-ui-border-input)}.margin-top-1{margin-top:1rem}.esri-sketch{display:flex;flex-flow:column wrap}.esri-widget{box-sizing:border-box;color:#323232;font-size:14px;font-family:"Avenir Next","Helvetica Neue",Helvetica,Arial,sans-serif;line-height:1.3em;background-color:var(--calcite-ui-foreground-1)}.esri-sketch__panel{align-items:center;display:flex;flex-flow:row nowrap;padding:0}*/ .esri-sketch__tool-section{border-right:1px solid rgba(110,110,110,.3)}.esri-sketch__section{align-items:center;display:flex;flex-flow:row nowrap;padding:0 7px;margin:6px 0;border-right:1px solid rgba(110,110,110,.3)}.display-flex{display:flex}.font-bold{font-weight:bold}.width-full{width:100%}.label-margin-0{--calcite-label-margin-bottom:0}.padding-start-1-2{-webkit-padding-start:0.5rem;padding-inline-start:0.5rem}';export{K as calcite_input_text,U as calcite_notice,Q as map_select_tools,Z as pdf_download,ii as refine_selection}
17
+ const J="actions-end",U=class{constructor(e){i(this,e),this.calciteNoticeClose=t(this,"calciteNoticeClose",6),this.calciteNoticeOpen=t(this,"calciteNoticeOpen",6),this.close=()=>{this.open=!1,this.calciteNoticeClose.emit()},this.open=!1,this.kind="brand",this.closable=!1,this.icon=void 0,this.iconFlipRtl=!1,this.scale="m",this.width="auto",this.messages=void 0,this.messageOverrides=void 0,this.effectiveLocale=void 0,this.defaultMessages=void 0}onMessagesChange(){}updateRequestedIcon(){this.requestedIcon=o(P,this.icon,this.kind)}connectedCallback(){I(this),w(this),L(this)}disconnectedCallback(){C(this),x(this),S(this)}async componentWillLoad(){v(this),this.requestedIcon=o(P,this.icon,this.kind),await D(this)}componentDidLoad(){f(this)}render(){const{el:i}=this,t=e("button",{"aria-label":this.messages.close,class:"notice-close",onClick:this.close,ref:i=>this.closeButton=i},e("calcite-icon",{icon:"x",scale:"l"===this.scale?"m":"s"})),s=n(i,J);return e("div",{class:"container"},this.requestedIcon?e("div",{class:"notice-icon"},e("calcite-icon",{flipRtl:this.iconFlipRtl,icon:this.requestedIcon,scale:"l"===this.scale?"m":"s"})):null,e("div",{class:"notice-content"},e("slot",{name:"title"}),e("slot",{name:"message"}),e("slot",{name:"link"})),s?e("div",{class:"actions-end"},e("slot",{name:J})):null,this.closable?t:null)}async setFocus(){await y(this);const i=this.el.querySelector("calcite-link");(this.closeButton||i)&&(i?i.setFocus():this.closeButton&&this.closeButton.focus())}effectiveLocaleChange(){_(this,this.effectiveLocale)}static get assetsDirs(){return["assets"]}get el(){return a(this)}static get watchers(){return{messageOverrides:["onMessagesChange"],icon:["updateRequestedIcon"],kind:["updateRequestedIcon"],effectiveLocale:["effectiveLocaleChange"]}}};U.style="@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:600}:host([hidden]){display:none}:host([scale=s]){--calcite-notice-spacing-token-small:0.5rem;--calcite-notice-spacing-token-large:0.75rem}:host([scale=s]) .container slot[name=title]::slotted(*),:host([scale=s]) .container *::slotted([slot=title]){margin-block:0.125rem;font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=s]) .container slot[name=message]::slotted(*),:host([scale=s]) .container *::slotted([slot=message]){margin-block:0.125rem;font-size:var(--calcite-font-size--2);line-height:1.375}:host([scale=s]) ::slotted(calcite-link){margin-block:0.125rem;font-size:var(--calcite-font-size--2);line-height:1.375}:host([scale=s]) .notice-close{padding:0.5rem}:host([scale=m]){--calcite-notice-spacing-token-small:0.75rem;--calcite-notice-spacing-token-large:1rem}:host([scale=m]) .container slot[name=title]::slotted(*),:host([scale=m]) .container *::slotted([slot=title]){margin-block:0.125rem;font-size:var(--calcite-font-size-0);line-height:1.375}:host([scale=m]) .container slot[name=message]::slotted(*),:host([scale=m]) .container *::slotted([slot=message]){margin-block:0.125rem;font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=m]) ::slotted(calcite-link){margin-block:0.125rem;font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=l]){--calcite-notice-spacing-token-small:1rem;--calcite-notice-spacing-token-large:1.25rem}:host([scale=l]) .container slot[name=title]::slotted(*),:host([scale=l]) .container *::slotted([slot=title]){margin-block:0.125rem;font-size:var(--calcite-font-size-1);line-height:1.375}:host([scale=l]) .container slot[name=message]::slotted(*),:host([scale=l]) .container *::slotted([slot=message]){margin-block:0.125rem;font-size:var(--calcite-font-size-0);line-height:1.375}:host([scale=l]) ::slotted(calcite-link){margin-block:0.125rem;font-size:var(--calcite-font-size-0);line-height:1.375}:host([width=auto]){--calcite-notice-width:auto}:host([width=half]){--calcite-notice-width:50%}:host([width=full]){--calcite-notice-width:100%}:host{margin-inline:auto;display:none;max-inline-size:100%;align-items:center;inline-size:var(--calcite-notice-width)}.container{pointer-events:none;margin-block:0px;box-sizing:border-box;display:none;inline-size:100%;background-color:var(--calcite-ui-foreground-1);opacity:0;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;max-block-size:0;text-align:start;-webkit-border-start:0px solid;border-inline-start:0px solid;box-shadow:0 0 0 0 transparent}.notice-close{outline-color:transparent}.notice-close:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}:host{display:flex}:host([open]) .container{pointer-events:auto;display:flex;max-block-size:100%;align-items:center;border-width:2px;opacity:1;--tw-shadow:0 4px 8px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);--tw-shadow-colored:0 4px 8px -1px var(--tw-shadow-color), 0 2px 4px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.container slot[name=title]::slotted(*),.container *::slotted([slot=title]){margin:0px;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1)}.container slot[name=message]::slotted(*),.container *::slotted([slot=message]){margin:0px;display:inline;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-2);-webkit-margin-end:var(--calcite-notice-spacing-token-small);margin-inline-end:var(--calcite-notice-spacing-token-small)}.notice-content{box-sizing:border-box;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;padding-inline:var(--calcite-notice-spacing-token-large);flex:0 0 auto;display:flex;min-inline-size:0px;flex-direction:column;overflow-wrap:break-word;flex:1 1 0;padding-block:var(--calcite-notice-spacing-token-small);padding-inline:0 var(--calcite-notice-spacing-token-small)}.notice-content:first-of-type:not(:only-child){-webkit-padding-start:var(--calcite-notice-spacing-token-large);padding-inline-start:var(--calcite-notice-spacing-token-large)}.notice-content:only-of-type{padding-block:var(--calcite-notice-spacing-token-small);padding-inline:var(--calcite-notice-spacing-token-large)}.notice-icon{display:flex;align-items:center;box-sizing:border-box;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;padding-block:var(--calcite-notice-spacing-token-small);padding-inline:var(--calcite-notice-spacing-token-large);flex:0 0 auto}.notice-close{display:flex;cursor:pointer;align-items:center;align-self:stretch;border-style:none;background-color:transparent;color:var(--calcite-ui-text-3);outline:2px solid transparent;outline-offset:2px;box-sizing:border-box;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;padding-block:var(--calcite-notice-spacing-token-small);padding-inline:var(--calcite-notice-spacing-token-large);flex:0 0 auto;-webkit-appearance:none}.notice-close:hover,.notice-close:focus{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1)}.notice-close:active{background-color:var(--calcite-ui-foreground-3)}.actions-end{display:flex;align-self:stretch}:host([kind=brand]) .container{border-color:var(--calcite-ui-brand)}:host([kind=brand]) .container .notice-icon{color:var(--calcite-ui-brand)}:host([kind=info]) .container{border-color:var(--calcite-ui-info)}:host([kind=info]) .container .notice-icon{color:var(--calcite-ui-info)}:host([kind=danger]) .container{border-color:var(--calcite-ui-danger)}:host([kind=danger]) .container .notice-icon{color:var(--calcite-ui-danger)}:host([kind=success]) .container{border-color:var(--calcite-ui-success)}:host([kind=success]) .container .notice-icon{color:var(--calcite-ui-success)}:host([kind=warning]) .container{border-color:var(--calcite-ui-warning)}:host([kind=warning]) .container .notice-icon{color:var(--calcite-ui-warning)}";const Q=class{constructor(e){i(this,e),this.selectionSetChange=t(this,"selectionSetChange",7),this._selectedIds=[],this._selectionLabel="",this._graphics=[],this._featuresCollection={},this.bufferColor=[227,139,79,.8],this.bufferOutlineColor=[255,255,255],this.customLabelEnabled=void 0,this.enabledLayerIds=[],this.defaultBufferDistance=void 0,this.defaultBufferUnit=void 0,this.geometries=[],this.isUpdate=!1,this.layerViews=[],this.mapView=void 0,this.noResultText=void 0,this.searchConfiguration=void 0,this.selectionSet=void 0,this.selectionLayerIds=[],this.selectLayerView=void 0,this.sketchLineSymbol=void 0,this.sketchPointSymbol=void 0,this.sketchPolygonSymbol=void 0,this._numSelected=0,this._searchDistanceEnabled=!1,this._searchTerm=void 0,this._selectionLoading=!1,this._translations=void 0,this._useLayerFeaturesEnabled=!1}async watchGeometriesHandler(i,t){if(i!==t){const t=0===i.length;if(await this._clearResults(t,t),i.length>0)return this._highlightWithOIDsOrGeoms()}}async watchSearchConfigurationHandler(i,t){JSON.stringify(i)!==JSON.stringify(t)&&this._initSearchWidget()}async clearSelection(){return this._clearResults(!0,!0)}async getSelection(){return/\S+/gm.test(this._selectionLabel)||this._updateLabel(),{id:this.isUpdate?this.selectionSet.id:Date.now(),searchResult:this._searchResult,buffer:this._bufferGeometry,distance:this._bufferTools.distance,download:!0,unit:this._bufferTools.unit,label:this._selectionLabel,selectedIds:this._selectedIds,layerView:this.selectLayerView,geometries:this.geometries,graphics:this._graphics,selectLayers:this.layerViews,skipGeomOIDs:this._skipGeomOIDs,searchDistanceEnabled:this._searchDistanceEnabled,workflowType:this._workflowType,useLayerFeaturesEnabled:this._useLayerFeaturesEnabled,sketchGraphic:this._sketchGraphic}}searchConfigurationChangeChanged(i){this.searchConfiguration=i.detail}distanceChanged(i){this._distanceChanged(i.detail)}unitChanged(i){i.detail.newValue!==i.detail.oldValue&&(this._unit=i.detail.newValue,this._updateLabel())}async componentWillLoad(){await this._getTranslations(),await this._initModules()}async componentDidLoad(){return this._init()}render(){return e(s,null,this._getMapLayerPicker(),e("div",{class:"border-bottom"}),e("div",{class:"padding-top-sides-1"},e("div",{class:"search-widget",ref:i=>{this._searchElement=i}}),e("div",{class:"padding-top-1"},e("map-draw-tools",{active:!0,editGraphicsEnabled:!this._useLayerFeaturesEnabled,graphics:this._graphics,mapView:this.mapView,onSketchGraphicsChange:i=>this._sketchGraphicsChanged(i),pointSymbol:this.sketchPointSymbol,polygonSymbol:this.sketchPolygonSymbol,polylineSymbol:this.sketchLineSymbol,ref:i=>{this._drawTools=i}})),this._getBufferOptions(),this._getUseLayerFeaturesOptions(),this._getNumSelected()),e("div",{class:"border-bottom"}),this._getNameInput())}_getBufferOptions(){var i,t;const s=this._searchDistanceEnabled?"search-distance":"div-not-visible",a="number"==typeof(null===(i=this.selectionSet)||void 0===i?void 0:i.distance)?this.selectionSet.distance:this.defaultBufferDistance;return e("div",null,e("div",{class:"padding-top-1 display-flex"},e("calcite-label",{class:"label-margin-0 w-100",layout:"inline-space-between"},e("div",{class:"tooltip-container"},this._translations.searchDistance,e("calcite-icon",{class:"padding-start-1-2 icon",icon:"question",id:"search-distance-icon",scale:"s"}))),e("calcite-popover",{closable:!0,label:"",referenceElement:"search-distance-icon"},e("span",{class:"tooltip-message"},this._translations.useSearchDistanceTootip)),e("calcite-switch",{checked:this._searchDistanceEnabled,onCalciteSwitchChange:()=>this._searchDistanceEnabled=!this._searchDistanceEnabled})),e("div",{class:s},e("buffer-tools",{disabled:!this._searchDistanceEnabled,distance:a,geometries:this.geometries,onBufferComplete:i=>this._bufferComplete(i),ref:i=>this._bufferTools=i,unit:(null===(t=this.selectionSet)||void 0===t?void 0:t.unit)||this.defaultBufferUnit})))}_getUseLayerFeaturesOptions(){const i=this._useLayerFeaturesEnabled?"div-visible":"div-not-visible";return e("div",null,e("div",{class:"padding-top-1 display-flex"},e("calcite-label",{class:"label-margin-0 w-100",layout:"inline-space-between"},e("div",{class:"tooltip-container"},this._translations.useLayerFeatures,e("calcite-icon",{class:"padding-start-1-2 icon",icon:"question",id:"use-layer-features-icon",scale:"s"}))),e("calcite-popover",{closable:!0,label:"",referenceElement:"use-layer-features-icon"},e("span",{class:"tooltip-message"},this._translations.useLayerFeaturesTooltip)),e("calcite-switch",{checked:this._useLayerFeaturesEnabled,onCalciteSwitchChange:()=>{this._useLayerFeaturesEnabledChanged()}})),e("div",{class:i+" padding-top-1"},e("map-layer-picker",{enabledLayerIds:this.selectionLayerIds,mapView:this.mapView,onLayerSelectionChange:i=>{this._layerSelectionChange(i)},selectedLayerIds:this.layerViews.map((i=>i.layer.id)),selectionMode:"single"})))}_getNumSelected(){const i=q(this.el),t=i&&"en"===i?`${this._translations.selectionLoading}...`:this._translations.selectionLoading;return e("div",{class:"padding-top-1 padding-bottom-1",style:{"align-items":"end",display:"flex"}},this._selectionLoading?e("div",null,e("calcite-loader",{class:"info-blue",inline:!0,label:t,scale:"m",type:"indeterminate"})):e("calcite-icon",{class:"info-blue padding-end-1-2",icon:"feature-layer",scale:"s"}),e("calcite-input-message",{class:"info-blue",scale:"m"},this._selectionLoading?t:this.noResultText&&0===this._numSelected?this.noResultText:this._translations.selectedFeatures.replace("{{n}}",this._numSelected.toString())))}_getNameInput(){return e("div",{class:"padding-sides-1 padding-top-1 "+(this.customLabelEnabled?"":"display-none")},e("calcite-label",{class:"font-bold"},this._translations.listName,e("calcite-input",{onInput:()=>{this._selectionLabel=this._labelName.value},placeholder:this._translations.listNamePlaceholder,ref:i=>{this._labelName=i},value:this._selectionLabel||""})))}_getMapLayerPicker(){return e("div",{class:"display-flex padding-sides-1 padding-bottom-1"},e("calcite-label",{class:"font-bold width-full label-margin-0"},this._translations.inputLayer,e("map-layer-picker",{enabledLayerIds:this.enabledLayerIds,mapView:this.mapView,onLayerSelectionChange:i=>this._inputLayerSelectionChange(i),selectedLayerIds:this.selectLayerView?[this.selectLayerView.layer.id]:this.selectionSet?[this.selectionSet.layerView.layer.id]:[],selectionMode:"single"})))}async _initModules(){const[i,t,e,s,a]=await M(["esri/layers/GraphicsLayer","esri/Graphic","esri/widgets/Search","esri/geometry/geometryEngine","esri/layers/FeatureLayer"]);this.GraphicsLayer=i,this.Graphic=t,this.Search=e,this._geometryEngine=s,this.FeatureLayer=a}async _init(){this._initGraphicsLayer(),await this._initSelectionSet(),this._initSearchWidget()}async _initSelectionSet(){var i,t,e,s;this.selectionSet&&(this._searchTerm=null===(i=this.selectionSet.searchResult)||void 0===i?void 0:i.name,this._searchResult=this.selectionSet.searchResult,this._selectLayers=this.selectionSet.selectLayers,this._selectedIds=this.selectionSet.selectedIds,this._skipGeomOIDs=this.selectionSet.skipGeomOIDs,this._searchDistanceEnabled=this.selectionSet.searchDistanceEnabled,this._useLayerFeaturesEnabled=this.selectionSet.useLayerFeaturesEnabled,this._distance=this.selectionSet.searchDistanceEnabled?this.selectionSet.distance:0,this._unit=this.selectionSet.unit,this._workflowType=this.selectionSet.workflowType,this.selectLayerView=this.selectionSet.layerView,this._sketchGraphic=this.selectionSet.sketchGraphic,this.geometries=[...(null===(t=this.selectionSet)||void 0===t?void 0:t.geometries)||[]],this._graphics=this.geometries.map((i=>new this.Graphic({geometry:i,symbol:"point"===i.type?this.sketchPointSymbol:"polyline"===i.type?this.sketchLineSymbol:this.sketchPolygonSymbol}))),this._selectionLabel=null===(e=this.selectionSet)||void 0===e?void 0:e.label,this._useLayerFeaturesEnabled||null===(s=this._drawTools)||void 0===s||s.updateGraphics(),await j(this.selectionSet.selectedIds,this.selectionSet.layerView,this.mapView,!1))}_initSearchWidget(){if(this.mapView&&this._searchElement){const i=this._getSearchConfig(this.searchConfiguration,this.mapView),t=Object.assign({view:this.mapView,container:this._searchElement,searchTerm:this._searchTerm},i);this._searchWidget=new this.Search(t),this._searchWidget.popupEnabled=!1,this._searchWidget.on("search-clear",(()=>{const i=this._searchClearLabel();this._clearResults(!1,i)})),this._searchWidget.on("select-result",(i=>{var t,e;if(i.result){this._searchResult=i.result;const s=(null===(e=null===(t=i.source)||void 0===t?void 0:t.layer)||void 0===e?void 0:e.id)&&i.source.layer.id===this.selectLayerView.layer.id,a=s?[i.result.feature.getObjectId()]:void 0;this._workflowType=F.SEARCH,this._updateLabel();const n=[i.result.feature];this._updateSelection(n,s,a),this._drawTools.graphics=n,this._drawTools.updateGraphics()}else{const i=this._searchClearLabel();this._clearResults(!1,i)}}))}}_searchClearLabel(){var i;return(null===(i=this._searchResult)||void 0===i?void 0:i.name)&&this._labelName.value.indexOf(this._searchResult.name)>-1}_getSearchConfig(i,t){const e=null==i?void 0:i.sources;return(null==e?void 0:e.length)>0?(i.includeDefaultSources=!1,e.forEach((i=>{var e,s;if(i.hasOwnProperty("layer")){const a=i,n=null===(e=a.layer)||void 0===e?void 0:e.id,o=n?t.map.findLayerById(n):null,l=null===(s=null==a?void 0:a.layer)||void 0===s?void 0:s.url;o?a.layer=o:l&&(a.layer=new this.FeatureLayer(l))}})),null==e||e.forEach((i=>{if(i.hasOwnProperty("locator")){const t=i;"ArcGIS World Geocoding Service"===(null==t?void 0:t.name)&&(t.outFields=t.outFields||["Addr_type","Match_addr","StAddr","City"],t.singleLineFieldName="SingleLine"),t.url=t.url,delete t.url}}))):i=Object.assign(Object.assign({},i),{includeDefaultSources:!0}),i}_initGraphicsLayer(){const i=this._translations.bufferLayer,t=this.mapView.map.layers.findIndex((t=>t.title===i));if(t>-1)this._bufferGraphicsLayer=this.mapView.map.layers.getItemAt(t);else{this._bufferGraphicsLayer=new this.GraphicsLayer({title:i,listMode:"hide"}),T.managedLayers.push(i);const t=this.mapView.map.layers.findIndex((i=>i.title===this._translations.sketchLayer));t>-1?this.mapView.map.layers.add(this._bufferGraphicsLayer,t):this.mapView.map.layers.add(this._bufferGraphicsLayer)}}async _sketchGraphicsChanged(i,t=!1){const e=i.detail.graphics;if(e.length>0&&e[0])if(t||(this._sketchGraphic=e[0]),this._workflowType=this._useLayerFeaturesEnabled?F.SELECT:F.SKETCH,this._workflowType===F.SKETCH&&this._drawTools.updateGraphics(),this._updateLabel(),this._clearSearchWidget(),this._useLayerFeaturesEnabled&&!t){const i=Array.isArray(e)?e.map((i=>i.geometry)):this.geometries;await this._selectLayerFeatures(i[0])}else{const t=e.reduce(((i,t)=>{var e;return(null===(e=null==t?void 0:t.layer)||void 0===e?void 0:e.objectIdField)?i.push(t.attributes[t.layer.objectIdField]):t.getObjectId&&i.push(t.getObjectId()),i}),[]),s=i.detail.useOIDs&&t.length>0;this._updateSelection(e,s,t),s&&await this._highlightFeatures(t)}else await this._clearResults(!0,!0)}async _highlightWithOIDsOrGeoms(){var i;return(null===(i=this._skipGeomOIDs)||void 0===i?void 0:i.length)>0?(this._selectedIds=this._skipGeomOIDs,this._highlightFeatures(this._selectedIds)):this._geomQuery(this.geometries)}async _highlightFeatures(i){T.removeHandles(),i.length>0&&T.highlightHandles.push(await A(i,this.selectLayerView,this.mapView)),this._numSelected=i.length,this.selectionSetChange.emit(i.length)}async _selectFeatures(i){this._selectionLoading=!0,this._selectedIds=await N(i,this.selectLayerView.layer),this._selectionLoading=!1,this._drawTools.graphics=this._graphics,await this._highlightFeatures(this._selectedIds)}async _bufferComplete(i){this._bufferGeometry=Array.isArray(i.detail)?i.detail[0]:i.detail;let t=this._bufferTools.distance,e=0;if(this._bufferGeometry){const i=new this.Graphic({geometry:this._bufferGeometry,symbol:{type:"simple-fill",color:this.bufferColor,outline:{color:this.bufferOutlineColor,width:1}}});this._bufferGraphicsLayer.removeAll(),this._bufferGraphicsLayer.add(i),await this._selectFeatures([this._bufferGeometry]),await this.mapView.goTo(i.geometry.extent),e=t,t=0}else this._bufferGraphicsLayer&&this._bufferGraphicsLayer.removeAll(),await this._highlightWithOIDsOrGeoms();this._distanceChanged({oldValue:t,newValue:e})}_geomQuery(i){const t=G(i,this._geometryEngine);return this._selectFeatures(t)}async _clearResults(i=!0,t=!1){var e;this._selectedIds=[],this._distance=void 0,this._unit=void 0,t&&(this._selectionLabel="",this._labelName.value=""),this._bufferGraphicsLayer&&this._bufferGraphicsLayer.removeAll(),i&&this._searchWidget&&this._clearSearchWidget(),T.removeHandles(),(null===(e=this._drawTools)||void 0===e?void 0:e.clear)&&(this._graphics=[],await this._drawTools.clear()),this.selectionSetChange.emit(this._selectedIds.length)}_clearSearchWidget(){this._searchWidget.clear(),this._searchResult=void 0}_updateSelection(i,t,e){this._selectedIds=t&&e?e:this._selectedIds,this._skipGeomOIDs=t?e:void 0,this.geometries=Array.isArray(i)?i.map((i=>i.geometry)):this.geometries,this._graphics=i}_updateLabel(){var i,t;const e=this._selectionLabel.indexOf(this._translations.sketch)>-1,s=this._selectionLabel.indexOf(this._translations.select)>-1,a=this._selectionLabel.indexOf(null===(i=this._searchResult)||void 0===i?void 0:i.name)>-1,n=this._workflowType===F.SEARCH?null===(t=this._searchResult)||void 0===t?void 0:t.name:this._workflowType===F.SELECT?this._translations.select:this._translations.sketch,o=this._unit?this._unit:this._bufferTools.unit,l=isNaN(this._distance)?this._bufferTools.distance:this._distance;this._selectionLabel=e||s||a||!this._selectionLabel?`${n} ${l} ${o}`:this._selectionLabel,this._labelName.value=this._selectionLabel}async _layerSelectionChange(i){if(Array.isArray(i.detail)&&i.detail.length>0){const t=i.detail.map((i=>O(this.mapView,i)));return Promise.all(t).then((i=>{this.layerViews=i,this._featuresCollection={},this._sketchGraphic&&this._sketchGraphicsChanged({detail:{graphics:[this._sketchGraphic],useOIDs:!1}})}))}}async _inputLayerSelectionChange(i){var t;const e=(null===(t=null==i?void 0:i.detail)||void 0===t?void 0:t.length)>0?i.detail[0]:"";this.selectLayerView&&e===this.selectLayerView.layer.id||(this.selectLayerView=await O(this.mapView,e),this._updateLabel(),this._bufferGeometry?await this._selectFeatures([this._bufferGeometry]):await this._highlightWithOIDsOrGeoms())}_distanceChanged(i){i.newValue!==i.oldValue&&(this._distance=i.newValue,this._updateLabel())}async _selectLayerFeatures(i){this._selectionLoading=!0;const t=this.layerViews.map((t=>(this._featuresCollection[t.layer.id]=[],H(0,t.layer,i,this._featuresCollection))));return Promise.all(t).then((async i=>{this._selectionLoading=!1;let t=[];i.forEach((i=>{Object.keys(i).forEach((e=>{t=t.concat(i[e])}))}));let e=!1;t.forEach((i=>{var t;const s=i.geometry;i.symbol="point"===s.type?this.sketchPointSymbol:"polyline"===s.type?this.sketchLineSymbol:"polygon"===s.type?this.sketchPolygonSymbol:void 0,e=(null===(t=null==i?void 0:i.layer)||void 0===t?void 0:t.hasOwnProperty("objectIdField"))||i.hasOwnProperty("getObjectId")}));const s=this.layerViews[0].layer.title===this.selectLayerView.layer.title&&e;await this._sketchGraphicsChanged({detail:{graphics:t,useOIDs:s}},!0)}))}_useLayerFeaturesEnabledChanged(){this._useLayerFeaturesEnabled=!this._useLayerFeaturesEnabled,this._sketchGraphic&&this._sketchGraphicsChanged({detail:{graphics:[this._sketchGraphic],useOIDs:!1}})}async _getTranslations(){const i=await Y(this.el);this._translations=i[0]}get el(){return a(this)}static get watchers(){return{geometries:["watchGeometriesHandler"],searchConfiguration:["watchSearchConfigurationHandler"]}}};Q.style=':host{display:block}.div-visible{display:inherit}.div-visible-search{display:flex;height:44px;align-items:center;padding-bottom:0}.div-not-visible{display:none}.padding-bottom-1{padding-bottom:1rem}.padding-top-1{padding-top:1rem}.search-widget{width:100% !important;border:1px solid var(--calcite-ui-border-input)}.w-100{width:100%}.w-50{width:50%}.search-distance-container{padding-top:"1rem" !important}.end-border{-webkit-border-end:1px solid var(--calcite-ui-border-2);border-inline-end:1px solid var(--calcite-ui-border-2)}.search-distance{display:flex;padding-top:1rem}.font-bold{font:bold}.border-bottom{border-bottom:1px solid var(--calcite-ui-border-2)}.tooltip-container{display:flex}.padding-start-1-2{-webkit-padding-start:0.5rem;padding-inline-start:0.5rem}.icon{--calcite-ui-icon-color:var(--calcite-ui-brand)}.tooltip-message{padding:5px 8px;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-2)}';const X=Object.freeze({__proto__:null,default:[{descriptionPDF:{labelWidthDisplay:"2-5/8",labelHeightDisplay:"1",labelsPerPageDisplay:"30",averyPartNumber:"*60"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.1875,rightMargin:.1875,topMargin:.5,bottomMargin:.5},numLabelsAcross:3,numLabelsDown:10,labelWidth:2.625,labelHeight:1,horizGapIn:.125,vertGapIn:0,labelPadding:.1,fontSizePx:11,maxNumLabelLines:4}},{descriptionPDF:{labelWidthDisplay:"4",labelHeightDisplay:"1",labelsPerPageDisplay:"20",averyPartNumber:"*61"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.15625,rightMargin:.15625,topMargin:.47637821,bottomMargin:.5},numLabelsAcross:2,numLabelsDown:10,labelWidth:4,labelHeight:1.0025,horizGapIn:.1875,vertGapIn:0,labelPadding:.1,fontSizePx:11,maxNumLabelLines:4}},{descriptionPDF:{labelWidthDisplay:"4",labelHeightDisplay:"1-1/3",labelsPerPageDisplay:"14",averyPartNumber:"*62"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.15625,rightMargin:.15625,topMargin:.81889808,bottomMargin:.83464612},numLabelsAcross:2,numLabelsDown:7,labelWidth:4,labelHeight:1.3352,horizGapIn:.1875,vertGapIn:0,labelPadding:.1,fontSizePx:11,maxNumLabelLines:6}},{descriptionPDF:{labelWidthDisplay:"4",labelHeightDisplay:"2",labelsPerPageDisplay:"10",averyPartNumber:"*63"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.15625,rightMargin:.15625,topMargin:.5,bottomMargin:.5},numLabelsAcross:2,numLabelsDown:5,labelWidth:4,labelHeight:2,horizGapIn:.1875,vertGapIn:0,labelPadding:.1,fontSizePx:12,maxNumLabelLines:10}},{descriptionPDF:{labelWidthDisplay:"4",labelHeightDisplay:"3-1/3",labelsPerPageDisplay:"6",averyPartNumber:"*64"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.15625,rightMargin:.15625,topMargin:.4724412,bottomMargin:.50000027},numLabelsAcross:2,numLabelsDown:3,labelWidth:4,labelHeight:3.342,horizGapIn:.1875,vertGapIn:0,labelPadding:.1,fontSizePx:14,maxNumLabelLines:12}},{descriptionPDF:{labelWidthDisplay:"1-3/4",labelHeightDisplay:"1/2",labelsPerPageDisplay:"80",averyPartNumber:"*67"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.307086375,rightMargin:.307086375,topMargin:.4724412,bottomMargin:.49606326},numLabelsAcross:4,numLabelsDown:20,labelWidth:1.75,labelHeight:.50155,horizGapIn:.29527575,vertGapIn:0,labelPadding:.1,fontSizePx:8,maxNumLabelLines:3}},{descriptionPDF:{labelWidthDisplay:"1-3/4",labelHeightDisplay:"2/3",labelsPerPageDisplay:"60",averyPartNumber:"*95"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.28936983,rightMargin:.28936983,topMargin:.53937037,bottomMargin:.5511814},numLabelsAcross:4,numLabelsDown:15,labelWidth:1.75,labelHeight:.6605,horizGapIn:.30708678,vertGapIn:0,labelPadding:.1,fontSizePx:8,maxNumLabelLines:4}}]}),Z=class{constructor(t){i(this,t),this.disabled=!1,this._translations=void 0}async downloadCSV(i,t,e=!0){$(i,!0,t,e)}async downloadPDF(i,t=!1,e="",s=""){B(i,this._labelInfoElement.selectedOption.value,t,e,s)}async componentWillLoad(){await this._getTranslations(),await this._initModules()}render(){return e(s,null,e("calcite-select",{disabled:this.disabled,label:"",ref:i=>{this._labelInfoElement=i}},this._renderItems()))}async _initModules(){const[i]=await M(["esri/intl"]);this._intl=i}_getLabelSizeText(i){const t=`${i.descriptionPDF.labelWidthDisplay} x ${i.descriptionPDF.labelHeightDisplay}`;return this._translations.pdfLabel.replace("{{n}}",i.descriptionPDF.labelsPerPageDisplay).replace("{{labelSize}}",t)}async _getTranslations(){const i=await Y(this.el);this._translations=i[0]}_renderItems(){return(X.default||X).sort(((i,t)=>{const e=parseInt(i.descriptionPDF.labelsPerPageDisplay,10),s=parseInt(t.descriptionPDF.labelsPerPageDisplay,10);return e<s?-1:e>s?1:0})).map((i=>e("calcite-option",{value:i},this._getLabelSizeText(i))))}get el(){return a(this)}};Z.style=":host{display:block}";const ii=class{constructor(e){i(this,e),this.selectionLoadingChange=t(this,"selectionLoadingChange",7),this.selectionSetsChanged=t(this,"selectionSetsChanged",7),this._addEnabled=!0,this._refineSets=[],this._enabledLayerIds=[],this._featuresCollection={},this.addresseeLayer=void 0,this.enabledLayerIds=[],this.mapView=void 0,this.selectionSets=[],this.sketchLineSymbol=void 0,this.sketchPointSymbol=void 0,this.sketchPolygonSymbol=void 0,this._translations=void 0,this._selectionMode=R.ADD,this._refineLayer=void 0}async componentWillLoad(){await this._getTranslations(),this._enabledLayerIds=this._getEnabledLayerIds(),await this._setRefineSet(this._enabledLayerIds[0])}render(){var i,t;return e(s,null,e("div",{class:(this._enabledLayerIds.length>1?"display-block":"display-none")+" padding-top-sides-1"},e("div",{class:"display-flex"},e("calcite-label",{class:"font-bold width-full label-margin-0"},e("div",{class:"display-flex"},this._translations.inputLayer,e("calcite-icon",{class:"padding-start-1-2 icon",icon:"question",id:"refine-input-layer",scale:"s"})),e("map-layer-picker",{enabledLayerIds:this._enabledLayerIds,mapView:this.mapView,onLayerSelectionChange:i=>{this._layerSelectionChange(i)},ref:i=>{this._layerPicker=i},selectedLayerIds:[this._refineLayer.layer.id],selectionMode:"single"})),e("calcite-popover",{closable:!0,label:"",referenceElement:"refine-input-layer"},e("span",{class:"tooltip-message"},this._translations.inputLayerTip)))),e("div",{class:"padding-1"},e("div",{class:"padding-bottom-1"},e("calcite-segmented-control",{class:"w-100"},e("calcite-segmented-control-item",{checked:this._addEnabled,class:"w-50",onClick:()=>this._setSelectionMode(R.ADD),value:R.ADD},e("span",{class:"font-weight-500"},this._translations.add)),e("calcite-segmented-control-item",{checked:!this._addEnabled,class:"w-50",onClick:()=>this._setSelectionMode(R.REMOVE),value:R.REMOVE},e("span",{class:"font-weight-500"},this._translations.remove)))),e("div",null,e("map-draw-tools",{active:!0,drawMode:V.REFINE,mapView:this.mapView,onDrawRedo:()=>this._redo(),onDrawUndo:()=>this._undo(),onSketchGraphicsChange:i=>this._sketchGraphicsChanged(i),pointSymbol:this.sketchPointSymbol,polygonSymbol:this.sketchPolygonSymbol,polylineSymbol:this.sketchLineSymbol,redoEnabled:(null===(i=this._refineSelectionSet)||void 0===i?void 0:i.redoStack.length)>0,ref:i=>{this._drawTools=i},undoEnabled:(null===(t=this._refineSelectionSet)||void 0===t?void 0:t.undoStack.length)>0})),e("br",null),e("calcite-list",{class:"list-border"},this._getRefineSelectionSetList())))}_layerSelectionChange(i){this._setRefineSet(i.detail[0])}_setSelectionMode(i){this._selectionMode=i}_sketchGraphicsChanged(i){var t;const e=null===(t=i.detail)||void 0===t?void 0:t.graphics[0].geometry;this._selectFeatures(e)}_getEnabledLayerIds(){return this.selectionSets.reduce(((i,t)=>{var e;const s=null===(e=null==t?void 0:t.layerView)||void 0===e?void 0:e.layer.id;return s&&i.indexOf(s)<0?i.push(s):t.workflowType===F.REFINE&&Object.keys(t.refineInfos).forEach((t=>{i.indexOf(t)<0&&i.push(t)})),i}),[])}async _setRefineSet(i){this.selectionSets.some((t=>{if(t.workflowType===F.REFINE)return this._refineSelectionSet=t,Object.keys(t.refineInfos).indexOf(i)>-1}))||await this._initRefineSet(i,this._refineSelectionSet),this._refineLayer=this._refineSelectionSet.refineInfos[i].layerView}async _initRefineSet(i,t){const e={};e[i]={addIds:[],removeIds:[],layerView:await O(this.mapView,i)},t?t.refineInfos=Object.assign(Object.assign({},t.refineInfos),e):(this._refineSelectionSet={id:Date.now(),searchResult:void 0,buffer:void 0,distance:0,download:!0,unit:"feet",label:"Refine",selectedIds:[],layerView:void 0,geometries:[],graphics:[],selectLayers:[],workflowType:F.REFINE,searchDistanceEnabled:!1,useLayerFeaturesEnabled:!1,refineInfos:e,redoStack:[],undoStack:[],sketchGraphic:void 0},this.selectionSets.push(this._refineSelectionSet))}_undo(){const i=this._refineSelectionSet.undoStack.pop();this._updateIds(i.ids,i.mode===R.ADD?R.REMOVE:R.ADD,this._refineSelectionSet.redoStack,i.layerView)}_redo(){const i=this._refineSelectionSet.redoStack.pop();this._updateIds(i.ids,i.mode===R.ADD?R.REMOVE:R.ADD,this._refineSelectionSet.undoStack,i.layerView)}_getRefineSelectionSetList(){const i=this._getTotal(this.selectionSets);let t;this.selectionSets.some((i=>{if(i.workflowType===F.REFINE)return t=i,!0}));let s=0,a=0;return Object.keys(t.refineInfos).forEach((i=>{s+=t.refineInfos[i].addIds.length,a+=t.refineInfos[i].removeIds.length})),[e("calcite-list-item",{label:this._translations.featuresAdded.replace("{{n}}",s.toString()),"non-interactive":!0}),e("calcite-list-item",{label:this._translations.featuresRemoved.replace("{{n}}",a.toString()),"non-interactive":!0}),e("calcite-list-item",{label:this._translations.totalSelected.replace("{{n}}",i.toString()),"non-interactive":!0})]}_getTotal(i){const t=W(i);return Object.keys(t).reduce(((i,e)=>i+t[e].ids.length),0)}async _getTranslations(){const i=await Y(this.el);this._translations=i[0]}async _selectFeatures(i){var t,e;this.selectionLoadingChange.emit(!0),this._featuresCollection[null===(t=this._refineLayer)||void 0===t?void 0:t.layer.id]=[];const s=await H(0,null===(e=this._refineLayer)||void 0===e?void 0:e.layer,i,this._featuresCollection);this.selectionLoadingChange.emit(!1);let a=[];Object.keys(s).forEach((i=>{var t;i===(null===(t=this._refineLayer)||void 0===t?void 0:t.layer.id)&&(a=a.concat(s[i]))}));const n=Array.isArray(a)?a.map((i=>{var t;return i.attributes[null===(t=null==i?void 0:i.layer)||void 0===t?void 0:t.objectIdField]})):[];await this._updateIds(n,this._selectionMode,this._refineSelectionSet.undoStack,this._refineLayer),this._drawTools.clear()}async _highlightFeatures(){this._clearHighlight(),T.highlightHandles=await E(this.selectionSets)}_clearHighlight(){T.removeHandles()}async _updateIds(i,t,e,s){let a=!1;const n=this._refineSelectionSet.refineInfos,o=s.layer.id,l={};l[o]={addIds:[],removeIds:[],layerView:s};const r=Object.keys(n).indexOf(o)>-1?n[o]:l[o];if(t===R.ADD)r.addIds=[...new Set([...i,...r.addIds])],r.addIds.length>0&&e.push({ids:i,mode:t,layerView:s}),r.removeIds.length>0&&(r.removeIds=r.removeIds.filter((t=>i.indexOf(t)<0)));else{const n=this.selectionSets.reduce(((t,e)=>(i.forEach((i=>{e.workflowType!==F.REFINE?e.selectedIds.indexOf(i)>-1&&t.push(i):Object.keys(e.refineInfos).some((a=>{const n=e.refineInfos[a];if(n.layerView.layer.id===s.layer.id&&n.addIds.indexOf(i)>-1)return t.push(i),!0}))})),t)),[]);r.removeIds=[...new Set([...n,...r.removeIds])],r.addIds=r.addIds.filter((i=>n.indexOf(i)<0)),r.removeIds.length>0&&e.push({ids:n,mode:t,layerView:s}),this.selectionSets=this.selectionSets.reduce(((i,t)=>(t.workflowType!==F.REFINE&&t.layerView.layer.id===s.layer.id?(t.selectedIds=t.selectedIds.filter((i=>r.removeIds.indexOf(i)<0)),t.selectedIds.length>0?i.push(t):a=!0):i.push(t),i)),[])}this._refineSelectionSet.refineInfos[o]=r,this.selectionSets=[...this.selectionSets],a&&this.selectionSetsChanged.emit(this.selectionSets),await this._highlightFeatures()}get el(){return a(this)}};ii.style=':host{display:block}.div-visible{display:inherit}.div-not-visible{display:none !important}.padding-top-1-2{padding-top:.5rem}.main-label{display:flex;float:left}html[dir="rtl"] .main-label{display:flex;float:right}.border{outline:1px solid var(--calcite-ui-border-input)}.margin-top-1{margin-top:1rem}.esri-sketch{display:flex;flex-flow:column wrap}.esri-widget{box-sizing:border-box;color:#323232;font-size:14px;font-family:"Avenir Next","Helvetica Neue",Helvetica,Arial,sans-serif;line-height:1.3em;background-color:var(--calcite-ui-foreground-1)}.esri-sketch__panel{align-items:center;display:flex;flex-flow:row nowrap;padding:0}*/ .esri-sketch__tool-section{border-right:1px solid rgba(110,110,110,.3)}.esri-sketch__section{align-items:center;display:flex;flex-flow:row nowrap;padding:0 7px;margin:6px 0;border-right:1px solid rgba(110,110,110,.3)}.display-flex{display:flex}.font-bold{font-weight:bold}.width-full{width:100%}.label-margin-0{--calcite-label-margin-bottom:0}.padding-start-1-2{-webkit-padding-start:0.5rem;padding-inline-start:0.5rem}.font-weight-500{font-weight:500}';export{K as calcite_input_text,U as calcite_notice,Q as map_select_tools,Z as pdf_download,ii as refine_selection}
@@ -3,4 +3,4 @@
3
3
  * Licensed under the Apache License, Version 2.0
4
4
  * http://www.apache.org/licenses/LICENSE-2.0
5
5
  */
6
- import{p as e,b as a}from"./p-f8be5d5f.js";export{s as setNonce}from"./p-f8be5d5f.js";import{g as t}from"./p-62f98a4a.js";import"./p-062f1fe7.js";(()=>{const a=import.meta.url,t={};return""!==a&&(t.resourcesUrl=new URL(".",a).href),e(t)})().then((e=>(t(),a(JSON.parse('[["p-ba11771a",[[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"],"featureEffect":[16],"featureHighlightEnabled":[4,"feature-highlight-enabled"],"mapView":[16],"noResultText":[1,"no-result-text"],"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"],"_addMap":[32],"_addTitle":[32],"_downloadActive":[32],"_exportType":[32],"_isMobile":[32],"_numDuplicates":[32],"_pageType":[32],"_saveEnabled":[32],"_selectionSets":[32],"_translations":[32]},[[8,"selectionSetsChanged","selectionSetsChanged"]]]]],["p-b4b19fd3",[[0,"solution-configuration",{"authentication":[1040],"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"]]]]],["p-7ed79fea",[[0,"crowdsource-manager",{"mapInfos":[16],"_translations":[32],"_layoutMode":[32],"_mapView":[32],"_panelOpen":[32]},[[8,"mapChanged","mapChanged"]]]]],["p-4efa5cc0",[[17,"calcite-color-picker",{"allowEmpty":[516,"allow-empty"],"color":[1040],"disabled":[516],"format":[513],"hideHex":[516,"hide-hex"],"hideChannels":[516,"hide-channels"],"hideSaved":[516,"hide-saved"],"scale":[513],"storageId":[513,"storage-id"],"messageOverrides":[1040],"numberingSystem":[513,"numbering-system"],"value":[1025],"messages":[1040],"defaultMessages":[32],"colorFieldAndSliderInteractive":[32],"channelMode":[32],"channels":[32],"dimensions":[32],"effectiveLocale":[32],"savedColors":[32],"colorFieldScopeTop":[32],"colorFieldScopeLeft":[32],"scopeOrientation":[32],"hueScopeLeft":[32],"hueScopeTop":[32],"setFocus":[64]},[[2,"keydown","handleChannelKeyUpOrDown"],[2,"keyup","handleChannelKeyUpOrDown"]]]]],["p-309ab62c",[[1,"add-record-modal",{"open":[1028],"_translations":[32]}]]],["p-28e4d2de",[[1,"calcite-flow-item",{"closable":[516],"closed":[516],"beforeBack":[16],"description":[1],"disabled":[516],"heading":[1],"headingLevel":[514,"heading-level"],"loading":[516],"menuOpen":[516,"menu-open"],"messageOverrides":[1040],"messages":[1040],"showBackButton":[4,"show-back-button"],"backButtonEl":[32],"defaultMessages":[32],"effectiveLocale":[32],"setFocus":[64],"scrollContentTo":[64]}]]],["p-a09fd6c8",[[17,"calcite-input-date-picker",{"disabled":[516],"form":[513],"readOnly":[516,"read-only"],"value":[1025],"flipPlacements":[16],"headingLevel":[514,"heading-level"],"valueAsDate":[1040],"minAsDate":[1040],"maxAsDate":[1040],"min":[1],"max":[1],"open":[1540],"name":[513],"numberingSystem":[513,"numbering-system"],"scale":[513],"placement":[513],"range":[516],"required":[516],"overlayPositioning":[513,"overlay-positioning"],"proximitySelectionDisabled":[4,"proximity-selection-disabled"],"layout":[513],"messageOverrides":[1040],"datePickerActiveDate":[32],"effectiveLocale":[32],"focusedInput":[32],"globalAttributes":[32],"localeData":[32],"setFocus":[64],"reposition":[64]},[[0,"calciteDaySelect","calciteDaySelectHandler"]]]]],["p-d3068e12",[[17,"calcite-input-time-picker",{"open":[1540],"disabled":[516],"form":[513],"readOnly":[516,"read-only"],"messagesOverrides":[16],"name":[1],"numberingSystem":[1,"numbering-system"],"required":[516],"scale":[513],"overlayPositioning":[1,"overlay-positioning"],"placement":[513],"step":[2],"value":[1025],"effectiveLocale":[32],"localizedValue":[32],"setFocus":[64],"reposition":[64]},[[0,"click","clickHandler"],[0,"calciteInternalTimePickerBlur","timePickerBlurHandler"],[0,"calciteInternalTimePickerFocus","timePickerFocusHandler"]]]]],["p-74488b74",[[17,"calcite-action-pad",{"expandDisabled":[516,"expand-disabled"],"expanded":[1540],"layout":[513],"position":[513],"scale":[513],"messages":[1040],"messageOverrides":[1040],"effectiveLocale":[32],"defaultMessages":[32],"setFocus":[64]}]]],["p-f1aaf8d9",[[1,"card-manager",{"_translations":[32]}]]],["p-24100fca",[[1,"calcite-card",{"loading":[516],"selected":[1540],"selectable":[516],"thumbnailPosition":[513,"thumbnail-position"],"messages":[1040],"messageOverrides":[1040],"effectiveLocale":[32],"defaultMessages":[32]}]]],["p-a568f19e",[[1,"calcite-fab",{"appearance":[513],"kind":[513],"disabled":[516],"icon":[513],"iconFlipRtl":[516,"icon-flip-rtl"],"label":[1],"loading":[516],"scale":[513],"text":[1],"textEnabled":[516,"text-enabled"],"setFocus":[64]}]]],["p-f1c95d2d",[[17,"calcite-inline-editable",{"disabled":[516],"editingEnabled":[1540,"editing-enabled"],"loading":[1540],"controls":[516],"scale":[1537],"afterConfirm":[16],"messages":[1040],"messageOverrides":[1040],"defaultMessages":[32],"effectiveLocale":[32],"setFocus":[64]},[[0,"calciteInternalInputBlur","blurHandler"]]]]],["p-2e6f4ece",[[1,"calcite-tile-select",{"checked":[1540],"description":[513],"disabled":[516],"heading":[513],"hidden":[516],"icon":[513],"iconFlipRtl":[516,"icon-flip-rtl"],"name":[520],"inputEnabled":[516,"input-enabled"],"inputAlignment":[513,"input-alignment"],"type":[513],"value":[8],"width":[513],"focused":[32],"setFocus":[64]},[[0,"calciteCheckboxChange","checkboxChangeHandler"],[0,"calciteInternalCheckboxFocus","checkboxFocusBlurHandler"],[0,"calciteInternalCheckboxBlur","checkboxFocusBlurHandler"],[0,"calciteRadioButtonChange","radioButtonChangeHandler"],[0,"calciteInternalRadioButtonCheckedChange","radioButtonCheckedChangeHandler"],[0,"calciteInternalRadioButtonFocus","radioButtonFocusBlurHandler"],[0,"calciteInternalRadioButtonBlur","radioButtonFocusBlurHandler"],[0,"click","clickHandler"],[1,"pointerenter","pointerEnterHandler"],[1,"pointerleave","pointerLeaveHandler"]]]]],["p-d93ac5f7",[[1,"calcite-tip",{"closed":[1540],"closeDisabled":[516,"close-disabled"],"heading":[1],"headingLevel":[514,"heading-level"],"selected":[516],"messages":[1040],"messageOverrides":[1040],"defaultMessages":[32],"effectiveLocale":[32]}]]],["p-cb3b622f",[[1,"calcite-tip-manager",{"closed":[1540],"headingLevel":[514,"heading-level"],"messages":[1040],"messageOverrides":[1040],"selectedIndex":[32],"tips":[32],"total":[32],"direction":[32],"groupTitle":[32],"defaultMessages":[32],"effectiveLocale":[32],"nextTip":[64],"previousTip":[64]}]]],["p-46a734f6",[[1,"calcite-alert",{"open":[1540],"autoClose":[516,"auto-close"],"autoCloseDuration":[513,"auto-close-duration"],"kind":[513],"icon":[520],"iconFlipRtl":[516,"icon-flip-rtl"],"label":[1],"numberingSystem":[513,"numbering-system"],"placement":[513],"scale":[513],"messages":[1040],"messageOverrides":[1040],"slottedInShell":[1028,"slotted-in-shell"],"effectiveLocale":[32],"defaultMessages":[32],"hasEndActions":[32],"queue":[32],"queueLength":[32],"queued":[32],"requestedIcon":[32],"setFocus":[64]},[[8,"calciteInternalAlertSync","alertSync"],[8,"calciteInternalAlertRegister","alertRegister"]]]]],["p-89e11cd7",[[1,"calcite-block-section",{"open":[1540],"status":[513],"text":[1],"toggleDisplay":[513,"toggle-display"],"messages":[1040],"messageOverrides":[1040],"effectiveLocale":[32],"defaultMessages":[32]}]]],["p-6d58612a",[[1,"calcite-input-number",{"alignment":[513],"autofocus":[516],"clearable":[516],"disabled":[516],"form":[513],"groupSeparator":[516,"group-separator"],"hidden":[516],"icon":[520],"iconFlipRtl":[516,"icon-flip-rtl"],"label":[1],"loading":[516],"numberingSystem":[513,"numbering-system"],"localeFormat":[4,"locale-format"],"max":[514],"min":[514],"maxLength":[514,"max-length"],"minLength":[514,"min-length"],"name":[513],"numberButtonType":[513,"number-button-type"],"placeholder":[1],"prefixText":[1,"prefix-text"],"readOnly":[516,"read-only"],"required":[516],"scale":[1537],"status":[513],"step":[520],"autocomplete":[1],"inputMode":[1,"input-mode"],"enterKeyHint":[1,"enter-key-hint"],"suffixText":[1,"suffix-text"],"editingEnabled":[1540,"editing-enabled"],"value":[1025],"messages":[1040],"messageOverrides":[1040],"effectiveLocale":[32],"defaultMessages":[32],"localizedValue":[32],"slottedActionElDisabledInternally":[32],"setFocus":[64],"selectText":[64]}]]],["p-237df0c8",[[1,"calcite-rating",{"average":[514],"count":[514],"disabled":[516],"form":[513],"messages":[1040],"messageOverrides":[1040],"name":[513],"readOnly":[516,"read-only"],"required":[516],"scale":[513],"showChip":[516,"show-chip"],"value":[1538],"effectiveLocale":[32],"defaultMessages":[32],"hoverValue":[32],"focusValue":[32],"hasFocus":[32],"setFocus":[64]}]]],["p-17f2a222",[[1,"calcite-accordion-item",{"expanded":[1540],"heading":[1],"description":[1],"iconStart":[513,"icon-start"],"iconEnd":[513,"icon-end"],"iconFlipRtl":[513,"icon-flip-rtl"]},[[0,"keydown","keyDownHandler"],[16,"calciteInternalAccordionChange","updateActiveItemOnChange"]]]]],["p-ab8d5222",[[1,"calcite-avatar",{"scale":[513],"thumbnail":[513],"fullName":[513,"full-name"],"username":[513],"userId":[513,"user-id"],"thumbnailFailedToLoad":[32]}]]],["p-2ed9ead7",[[17,"calcite-pagination",{"groupSeparator":[516,"group-separator"],"messageOverrides":[1040],"pageSize":[514,"page-size"],"numberingSystem":[1,"numbering-system"],"startItem":[1538,"start-item"],"totalItems":[514,"total-items"],"scale":[513],"messages":[1040],"defaultMessages":[32],"effectiveLocale":[32],"setFocus":[64],"nextPage":[64],"previousPage":[64]}]]],["p-79b8a5f8",[[1,"calcite-stepper-item",{"selected":[1540],"complete":[516],"error":[516],"disabled":[516],"heading":[1],"description":[1],"layout":[1537],"icon":[1028],"iconFlipRtl":[516,"icon-flip-rtl"],"numbered":[1028],"scale":[1537],"effectiveLocale":[32],"setFocus":[64]},[[16,"calciteInternalStepperItemChange","updateActiveItemOnChange"]]]]],["p-5821b39b",[[1,"calcite-accordion",{"appearance":[513],"iconPosition":[513,"icon-position"],"iconType":[513,"icon-type"],"scale":[513],"selectionMode":[513,"selection-mode"]},[[0,"calciteInternalAccordionItemRegister","registerCalciteAccordionItem"],[0,"calciteInternalAccordionItemSelect","updateActiveItemOnChange"]]]]],["p-f8acb89b",[[1,"calcite-combobox-item-group",{"ancestors":[1040],"label":[1]}]]],["p-c82aa9db",[[1,"calcite-flow",{"flowDirection":[32],"itemCount":[32],"items":[32],"back":[64]},[[0,"calciteFlowItemBack","handleItemBackClick"]]]]],["p-7e847fc8",[[1,"calcite-list-item-group",{"disabled":[516],"heading":[513],"visualLevel":[32]}]]],["p-c781ae28",[[1,"calcite-option-group",{"disabled":[516],"label":[1]}]]],["p-f621722d",[[1,"calcite-pick-list-group",{"groupTitle":[513,"group-title"],"headingLevel":[514,"heading-level"]}]]],["p-c6bd7fa0",[[1,"calcite-radio-button",{"checked":[1540],"disabled":[516],"focused":[1540],"form":[513],"guid":[1537],"hidden":[516],"hovered":[1540],"label":[1],"name":[513],"required":[516],"scale":[513],"value":[1032],"setFocus":[64],"emitCheckedChange":[64]},[[1,"pointerenter","mouseenter"],[1,"pointerleave","mouseleave"]]]]],["p-a50e409f",[[17,"calcite-radio-button-group",{"disabled":[516],"hidden":[516],"layout":[513],"name":[513],"required":[516],"selectedItem":[1040],"scale":[513]},[[0,"calciteRadioButtonChange","radioButtonChangeHandler"]]]]],["p-8b814023",[[1,"calcite-shell-center-row",{"detached":[516],"heightScale":[513,"height-scale"],"position":[513]}]]],["p-d744bb71",[[1,"calcite-sortable-list",{"dragSelector":[513,"drag-selector"],"group":[513],"handleSelector":[513,"handle-selector"],"layout":[513],"disabled":[516],"loading":[516],"handleActivated":[32]},[[0,"calciteHandleNudge","calciteHandleNudgeNextHandler"]]]]],["p-4c726834",[[1,"calcite-stepper",{"icon":[516],"layout":[513],"numbered":[516],"numberingSystem":[513,"numbering-system"],"selectedItem":[1040],"scale":[513],"nextStep":[64],"prevStep":[64],"goToStep":[64],"startStep":[64],"endStep":[64]},[[0,"calciteInternalStepperItemKeyEvent","calciteInternalStepperItemKeyEvent"],[0,"calciteInternalStepperItemRegister","registerItem"],[0,"calciteInternalStepperItemSelect","updateItem"],[0,"calciteInternalUserRequestedStepperItemSelect","handleUserRequestedStepperItemSelect"]]]]],["p-368613d8",[[1,"calcite-text-area",{"autofocus":[516],"columns":[514],"disabled":[516],"form":[513],"groupSeparator":[516,"group-separator"],"label":[1],"maxLength":[514,"max-length"],"messages":[1040],"name":[513],"numberingSystem":[1,"numbering-system"],"placeholder":[1],"readOnly":[516,"read-only"],"required":[516],"resize":[513],"rows":[514],"scale":[513],"value":[1025],"wrap":[513],"messageOverrides":[1040],"defaultMessages":[32],"endSlotHasElements":[32],"startSlotHasElements":[32],"effectiveLocale":[32],"setFocus":[64],"selectText":[64]}]]],["p-45ecd824",[[1,"calcite-tile-select-group",{"disabled":[516],"layout":[513]}]]],["p-3984ca5b",[[1,"calcite-tip-group",{"groupTitle":[1,"group-title"]}]]],["p-6aabe903",[[1,"comment-card"]]],["p-ad41cd27",[[1,"crowdsource-reporter"]]],["p-ce3e73ae",[[1,"list-item"]]],["p-6aeb2614",[[0,"map-search",{"mapView":[16],"searchConfiguration":[1040],"_searchTerm":[32],"_translations":[32],"clear":[64]}]]],["p-8008b2fe",[[1,"deduct-calculator"]]],["p-653358ce",[[1,"pci-calculator",{"showAddDeduct":[32]}]]],["p-1c810f4c",[[0,"store-manager",{"value":[1537],"templates":[1040],"authentication":[1040]}]]],["p-69c5964a",[[1,"calcite-color-picker-hex-input",{"hexLabel":[1,"hex-label"],"allowEmpty":[4,"allow-empty"],"scale":[513],"value":[1537],"numberingSystem":[1,"numbering-system"],"internalColor":[32],"setFocus":[64]},[[2,"keydown","onInputKeyDown"]]]]],["p-b6d1419d",[[17,"calcite-date-picker",{"activeDate":[1040],"activeRange":[513,"active-range"],"value":[1025],"headingLevel":[514,"heading-level"],"valueAsDate":[1040],"minAsDate":[1040],"maxAsDate":[1040],"min":[513],"max":[513],"numberingSystem":[513,"numbering-system"],"scale":[513],"range":[516],"proximitySelectionDisabled":[516,"proximity-selection-disabled"],"messageOverrides":[1040],"messages":[1040],"activeStartDate":[32],"activeEndDate":[32],"startAsDate":[32],"endAsDate":[32],"effectiveLocale":[32],"defaultMessages":[32],"localeData":[32],"hoverRange":[32],"setFocus":[64]}]]],["p-5c343e95",[[1,"calcite-tile",{"active":[516],"description":[513],"disabled":[516],"embed":[516],"focused":[516],"heading":[513],"hidden":[516],"href":[513],"icon":[513],"iconFlipRtl":[516,"icon-flip-rtl"]}]]],["p-21418d87",[[17,"calcite-time-picker",{"scale":[513],"step":[514],"numberingSystem":[1,"numbering-system"],"value":[1025],"messages":[1040],"messageOverrides":[1040],"effectiveLocale":[32],"hour":[32],"hourCycle":[32],"localizedHour":[32],"localizedHourSuffix":[32],"localizedMeridiem":[32],"localizedMinute":[32],"localizedMinuteSuffix":[32],"localizedSecond":[32],"localizedSecondSuffix":[32],"meridiem":[32],"minute":[32],"second":[32],"showSecond":[32],"defaultMessages":[32],"setFocus":[64]},[[0,"blur","hostBlurHandler"],[0,"focus","hostFocusHandler"],[0,"keydown","keyDownHandler"]]]]],["p-f595a05f",[[1,"calcite-label",{"alignment":[513],"for":[513],"scale":[513],"layout":[513]}]]],["p-60d82fa1",[[1,"calcite-icon",{"icon":[513],"flipRtl":[516,"flip-rtl"],"scale":[513],"textLabel":[1,"text-label"],"pathData":[32],"visible":[32]}]]],["p-2f4e1ddf",[[0,"layer-table",{"mapView":[16],"_layerView":[32],"_selectedIndexes":[32],"_translations":[32]}],[0,"map-card",{"mapInfos":[16],"mapView":[16],"_mapListExpanded":[32],"_translations":[32],"_webMapId":[32]}]]],["p-50ebdbe1",[[1,"media-card",{"values":[16],"_index":[32],"_translations":[32]}],[1,"info-card",{"cardTitle":[1,"card-title"],"values":[16]}]]],["p-26a04692",[[1,"calcite-link",{"disabled":[516],"download":[520],"href":[513],"iconEnd":[513,"icon-end"],"iconFlipRtl":[513,"icon-flip-rtl"],"iconStart":[513,"icon-start"],"rel":[1],"target":[1],"setFocus":[64]},[[0,"click","clickHandler"]]]]],["p-9f6b4972",[[1,"calcite-color-picker-swatch",{"active":[516],"color":[1],"scale":[513]}]]],["p-2c28ce25",[[1,"calcite-action",{"active":[516],"alignment":[513],"appearance":[513],"compact":[516],"disabled":[516],"icon":[1],"iconFlipRtl":[516,"icon-flip-rtl"],"indicator":[516],"label":[1],"loading":[516],"scale":[513],"text":[1],"textEnabled":[516,"text-enabled"],"messages":[1040],"messageOverrides":[1040],"effectiveLocale":[32],"defaultMessages":[32],"setFocus":[64]}],[1,"calcite-loader",{"inline":[516],"label":[1],"scale":[513],"type":[513],"value":[2],"text":[1]}]]],["p-a2aaa843",[[1,"calcite-pick-list-item",{"description":[513],"disabled":[516],"deselectDisabled":[516,"deselect-disabled"],"nonInteractive":[516,"non-interactive"],"icon":[513],"iconFlipRtl":[516,"icon-flip-rtl"],"label":[513],"messageOverrides":[1040],"messages":[1040],"metadata":[16],"removable":[516],"selected":[1540],"value":[8],"defaultMessages":[32],"effectiveLocale":[32],"toggleSelected":[64],"setFocus":[64]}]]],["p-20222c16",[[1,"calcite-switch",{"disabled":[516],"form":[513],"label":[1],"name":[513],"scale":[513],"checked":[1540],"value":[8],"setFocus":[64]}]]],["p-5db22a5b",[[1,"calcite-checkbox",{"checked":[1540],"disabled":[516],"form":[513],"guid":[1537],"hovered":[516],"indeterminate":[1540],"label":[1],"name":[520],"required":[516],"scale":[513],"value":[8],"setFocus":[64]}]]],["p-7de66003",[[1,"calcite-scrim",{"loading":[516],"messages":[1040],"messageOverrides":[1040],"defaultMessages":[32],"effectiveLocale":[32]}]]],["p-caae8177",[[1,"calcite-button",{"alignment":[513],"appearance":[513],"label":[1],"kind":[513],"disabled":[516],"form":[513],"href":[513],"iconEnd":[513,"icon-end"],"iconFlipRtl":[513,"icon-flip-rtl"],"iconStart":[513,"icon-start"],"loading":[516],"name":[513],"rel":[513],"round":[516],"scale":[513],"splitChild":[520,"split-child"],"target":[513],"type":[513],"width":[513],"messages":[1040],"messageOverrides":[1040],"hasContent":[32],"hasLoader":[32],"effectiveLocale":[32],"defaultMessages":[32],"setFocus":[64]}]]],["p-14180490",[[1,"calcite-action-menu",{"expanded":[516],"flipPlacements":[16],"label":[1],"open":[1540],"overlayPositioning":[513,"overlay-positioning"],"placement":[513],"scale":[513],"menuButtonEl":[32],"activeMenuItemIndex":[32],"setFocus":[64]},[[9,"pointerdown","closeCalciteActionMenuOnClick"]]],[1,"calcite-popover",{"autoClose":[516,"auto-close"],"closable":[516],"flipDisabled":[516,"flip-disabled"],"focusTrapDisabled":[516,"focus-trap-disabled"],"pointerDisabled":[516,"pointer-disabled"],"flipPlacements":[16],"heading":[1],"headingLevel":[514,"heading-level"],"label":[1],"messageOverrides":[1040],"messages":[1040],"offsetDistance":[514,"offset-distance"],"offsetSkidding":[514,"offset-skidding"],"open":[1540],"overlayPositioning":[513,"overlay-positioning"],"placement":[513],"referenceElement":[1,"reference-element"],"scale":[513],"triggerDisabled":[516,"trigger-disabled"],"effectiveLocale":[32],"effectiveReferenceElement":[32],"defaultMessages":[32],"reposition":[64],"setFocus":[64],"updateFocusTrapElements":[64]}]]],["p-5ed755a2",[[0,"solution-item",{"authentication":[1040],"itemId":[1537,"item-id"],"solutionVariables":[1537,"solution-variables"],"organizationVariables":[1537,"organization-variables"],"itemType":[32],"_translations":[32]}],[0,"solution-spatial-ref",{"defaultWkid":[1538,"default-wkid"],"locked":[1540],"value":[1537],"services":[1040],"loaded":[32],"spatialRef":[32],"_srSearchText":[32],"_translations":[32],"createSpatialRefDisplay":[64],"getSpatialRef":[64],"wkidToDisplay":[64]}],[0,"solution-contents",{"selectedItemId":[1537,"selected-item-id"],"templateHierarchy":[1040]}]]],["p-c273f446",[[1,"calcite-modal",{"open":[1540],"beforeClose":[16],"closeButtonDisabled":[516,"close-button-disabled"],"focusTrapDisabled":[516,"focus-trap-disabled"],"outsideCloseDisabled":[516,"outside-close-disabled"],"docked":[516],"escapeDisabled":[516,"escape-disabled"],"scale":[513],"width":[513],"fullscreen":[516],"kind":[513],"messages":[1040],"messageOverrides":[1040],"slottedInShell":[1028,"slotted-in-shell"],"cssWidth":[32],"cssHeight":[32],"hasFooter":[32],"hasContentTop":[32],"hasContentBottom":[32],"isOpen":[32],"effectiveLocale":[32],"defaultMessages":[32],"setFocus":[64],"updateFocusTrapElements":[64],"scrollContent":[64]},[[8,"keydown","handleEscape"]]]]],["p-5a858526",[[1,"calcite-graph",{"data":[16],"colorStops":[16],"highlightMin":[2,"highlight-min"],"highlightMax":[2,"highlight-max"],"min":[514],"max":[514]}]]],["p-38a02d9b",[[1,"calcite-tooltip",{"closeOnClick":[516,"close-on-click"],"label":[1],"offsetDistance":[514,"offset-distance"],"offsetSkidding":[514,"offset-skidding"],"open":[516],"overlayPositioning":[513,"overlay-positioning"],"placement":[513],"referenceElement":[1,"reference-element"],"effectiveReferenceElement":[32],"reposition":[64]}]]],["p-f8525286",[[1,"calcite-chip",{"appearance":[513],"kind":[513],"closable":[516],"icon":[513],"iconFlipRtl":[516,"icon-flip-rtl"],"scale":[513],"value":[8],"closed":[1540],"messageOverrides":[1040],"messages":[1040],"defaultMessages":[32],"effectiveLocale":[32],"hasContent":[32],"hasImage":[32],"setFocus":[64]}]]],["p-4bf4814f",[[1,"buffer-tools",{"appearance":[1025],"distance":[1026],"geometries":[1040],"max":[1026],"min":[1026],"sliderTicks":[1026,"slider-ticks"],"unionResults":[1028,"union-results"],"unit":[1025],"disabled":[4],"_translations":[32]}],[1,"calcite-input-message",{"icon":[520],"iconFlipRtl":[516,"icon-flip-rtl"],"scale":[1537],"status":[513]}],[0,"map-draw-tools",{"active":[4],"drawMode":[1,"draw-mode"],"editGraphicsEnabled":[4,"edit-graphics-enabled"],"graphics":[1040],"mapView":[1040],"pointSymbol":[1040],"polylineSymbol":[1040],"polygonSymbol":[1040],"redoEnabled":[4,"redo-enabled"],"undoEnabled":[4,"undo-enabled"],"_translations":[32],"_selectionMode":[32],"clear":[64],"updateGraphics":[64]}],[17,"calcite-slider",{"disabled":[516],"form":[513],"groupSeparator":[516,"group-separator"],"hasHistogram":[1540,"has-histogram"],"histogram":[16],"histogramStops":[16],"labelHandles":[516,"label-handles"],"labelTicks":[516,"label-ticks"],"max":[514],"maxLabel":[1,"max-label"],"maxValue":[1026,"max-value"],"min":[514],"minLabel":[1,"min-label"],"minValue":[1026,"min-value"],"mirrored":[516],"name":[513],"numberingSystem":[1,"numbering-system"],"pageStep":[514,"page-step"],"precise":[516],"required":[516],"snap":[516],"step":[514],"ticks":[514],"value":[1538],"scale":[513],"effectiveLocale":[32],"minMaxValueRange":[32],"minValueDragRange":[32],"maxValueDragRange":[32],"tickValues":[32],"setFocus":[64]},[[0,"keydown","keyDownHandler"],[1,"pointerdown","pointerDownHandler"]]]]],["p-c51549ae",[[0,"refine-selection",{"addresseeLayer":[16],"enabledLayerIds":[16],"mapView":[16],"selectionSets":[1040],"sketchLineSymbol":[16],"sketchPointSymbol":[16],"sketchPolygonSymbol":[16],"_translations":[32],"_selectionMode":[32],"_refineLayer":[32]}],[0,"map-select-tools",{"bufferColor":[8,"buffer-color"],"bufferOutlineColor":[8,"buffer-outline-color"],"customLabelEnabled":[4,"custom-label-enabled"],"enabledLayerIds":[16],"defaultBufferDistance":[2,"default-buffer-distance"],"defaultBufferUnit":[1,"default-buffer-unit"],"geometries":[16],"isUpdate":[4,"is-update"],"layerViews":[16],"mapView":[16],"noResultText":[1,"no-result-text"],"searchConfiguration":[1040],"selectionSet":[16],"selectionLayerIds":[16],"selectLayerView":[16],"sketchLineSymbol":[16],"sketchPointSymbol":[16],"sketchPolygonSymbol":[16],"_numSelected":[32],"_searchDistanceEnabled":[32],"_searchTerm":[32],"_selectionLoading":[32],"_translations":[32],"_useLayerFeaturesEnabled":[32],"clearSelection":[64],"getSelection":[64]},[[8,"searchConfigurationChange","searchConfigurationChangeChanged"],[8,"distanceChanged","distanceChanged"],[8,"unitChanged","unitChanged"]]],[1,"pdf-download",{"disabled":[4],"_translations":[32],"downloadCSV":[64],"downloadPDF":[64]}],[1,"calcite-input-text",{"alignment":[513],"autofocus":[516],"clearable":[516],"disabled":[516],"form":[513],"hidden":[516],"icon":[520],"iconFlipRtl":[516,"icon-flip-rtl"],"label":[1],"loading":[516],"maxLength":[514,"max-length"],"minLength":[514,"min-length"],"name":[513],"placeholder":[1],"prefixText":[1,"prefix-text"],"readOnly":[516,"read-only"],"required":[516],"scale":[1537],"status":[513],"autocomplete":[1],"inputMode":[1,"input-mode"],"enterKeyHint":[1,"enter-key-hint"],"pattern":[1],"suffixText":[1,"suffix-text"],"editingEnabled":[1540,"editing-enabled"],"value":[1025],"messages":[1040],"messageOverrides":[1040],"effectiveLocale":[32],"defaultMessages":[32],"slottedActionElDisabledInternally":[32],"setFocus":[64],"selectText":[64]}],[1,"calcite-notice",{"open":[1540],"kind":[513],"closable":[516],"icon":[520],"iconFlipRtl":[516,"icon-flip-rtl"],"scale":[513],"width":[513],"messages":[1040],"messageOverrides":[1040],"effectiveLocale":[32],"defaultMessages":[32],"setFocus":[64]}]]],["p-7fe8073a",[[1,"calcite-date-picker-month",{"selectedDate":[16],"activeDate":[16],"startDate":[16],"endDate":[16],"min":[16],"max":[16],"scale":[513],"localeData":[16],"hoverRange":[16]},[[1,"pointerout","mouseoutHandler"]]],[1,"calcite-date-picker-month-header",{"selectedDate":[16],"activeDate":[16],"headingLevel":[2,"heading-level"],"min":[16],"max":[16],"scale":[513],"localeData":[16],"messages":[1040],"globalAttributes":[32],"nextMonthDate":[32],"prevMonthDate":[32]}],[1,"calcite-date-picker-day",{"day":[2],"disabled":[516],"currentMonth":[516,"current-month"],"selected":[516],"highlighted":[516],"range":[516],"startOfRange":[516,"start-of-range"],"endOfRange":[516,"end-of-range"],"rangeHover":[516,"range-hover"],"active":[516],"scale":[513],"value":[16]},[[1,"pointerover","mouseoverHandler"]]]]],["p-33efdea8",[[17,"calcite-action-group",{"expanded":[516],"layout":[513],"columns":[514],"menuOpen":[1540,"menu-open"],"scale":[513],"messages":[1040],"messageOverrides":[1040],"effectiveLocale":[32],"defaultMessages":[32],"setFocus":[64]}]]],["p-a9f4a115",[[1,"calcite-block",{"collapsible":[516],"disabled":[516],"dragHandle":[516,"drag-handle"],"heading":[1],"headingLevel":[514,"heading-level"],"loading":[516],"open":[1540],"status":[513],"description":[1],"messages":[1040],"messageOverrides":[1040],"effectiveLocale":[32],"defaultMessages":[32]}],[1,"calcite-pick-list",{"disabled":[516],"filteredItems":[1040],"filteredData":[1040],"filterEnabled":[516,"filter-enabled"],"filterPlaceholder":[513,"filter-placeholder"],"filterText":[1537,"filter-text"],"headingLevel":[514,"heading-level"],"loading":[516],"multiple":[516],"selectionFollowsFocus":[516,"selection-follows-focus"],"selectedValues":[32],"dataForFilter":[32],"getSelectedItems":[64],"setFocus":[64]},[[0,"calciteListItemRemove","calciteListItemRemoveHandler"],[0,"calciteListItemChange","calciteListItemChangeHandler"],[0,"calciteInternalListItemPropsChange","calciteInternalListItemPropsChangeHandler"],[0,"calciteInternalListItemValueChange","calciteInternalListItemValueChangeHandler"],[0,"focusout","calciteListFocusOutHandler"]]],[17,"calcite-action-bar",{"expandDisabled":[516,"expand-disabled"],"expanded":[1540],"layout":[513],"overflowActionsDisabled":[516,"overflow-actions-disabled"],"position":[513],"scale":[513],"messages":[1040],"messageOverrides":[1040],"effectiveLocale":[32],"defaultMessages":[32],"overflowActions":[64],"setFocus":[64]}],[1,"calcite-handle",{"activated":[1540],"dragHandle":[513,"drag-handle"],"messages":[16],"messageOverrides":[16],"effectiveLocale":[32],"defaultMessages":[32],"setFocus":[64]}]]],["p-add081e4",[[1,"edit-record-modal",{"open":[1028],"_translations":[32]}],[17,"calcite-split-button",{"appearance":[513],"kind":[513],"disabled":[516],"active":[1540],"dropdownIconType":[513,"dropdown-icon-type"],"dropdownLabel":[513,"dropdown-label"],"loading":[516],"overlayPositioning":[513,"overlay-positioning"],"primaryIconEnd":[513,"primary-icon-end"],"primaryIconFlipRtl":[513,"primary-icon-flip-rtl"],"primaryIconStart":[513,"primary-icon-start"],"primaryLabel":[513,"primary-label"],"primaryText":[513,"primary-text"],"scale":[513],"width":[513],"setFocus":[64]}],[1,"calcite-dropdown-item",{"selected":[1540],"iconFlipRtl":[513,"icon-flip-rtl"],"iconStart":[513,"icon-start"],"iconEnd":[513,"icon-end"],"href":[513],"label":[1],"rel":[513],"target":[513],"setFocus":[64]},[[0,"click","onClick"],[0,"keydown","keyDownHandler"],[16,"calciteInternalDropdownItemChange","updateActiveItemOnChange"]]],[17,"calcite-dropdown-group",{"groupTitle":[513,"group-title"],"selectionMode":[513,"selection-mode"],"scale":[513]},[[0,"calciteInternalDropdownItemSelect","updateActiveItemOnChange"]]],[17,"calcite-dropdown",{"open":[1540],"closeOnSelectDisabled":[516,"close-on-select-disabled"],"disabled":[516],"flipPlacements":[16],"maxItems":[514,"max-items"],"overlayPositioning":[513,"overlay-positioning"],"placement":[513],"scale":[513],"selectedItems":[1040],"type":[513],"width":[513],"setFocus":[64],"reposition":[64]},[[9,"pointerdown","closeCalciteDropdownOnClick"],[0,"calciteInternalDropdownCloseRequest","closeCalciteDropdownOnEvent"],[8,"calciteDropdownOpen","closeCalciteDropdownOnOpenEvent"],[1,"pointerenter","mouseEnterHandler"],[1,"pointerleave","mouseLeaveHandler"],[0,"calciteInternalDropdownItemKeyEvent","calciteInternalDropdownItemKeyEvent"],[0,"calciteInternalDropdownItemSelect","handleItemSelect"]]]]],["p-377184ef",[[1,"calcite-list",{"disabled":[516],"filterEnabled":[516,"filter-enabled"],"filteredItems":[1040],"filteredData":[1040],"filterPlaceholder":[513,"filter-placeholder"],"filterText":[1537,"filter-text"],"label":[1],"loading":[516],"openable":[4],"selectedItems":[1040],"selectionMode":[513,"selection-mode"],"selectionAppearance":[513,"selection-appearance"],"dataForFilter":[32],"setFocus":[64]},[[0,"calciteInternalFocusPreviousItem","handleCalciteInternalFocusPreviousItem"],[0,"calciteInternalListItemActive","handleCalciteListItemActive"],[0,"calciteInternalListItemSelect","handleCalciteListItemSelect"]]],[1,"calcite-list-item",{"active":[4],"description":[1],"disabled":[516],"label":[1],"metadata":[16],"open":[1540],"setSize":[2,"set-size"],"setPosition":[2,"set-position"],"selected":[1540],"value":[8],"selectionMode":[1025,"selection-mode"],"selectionAppearance":[1025,"selection-appearance"],"level":[32],"visualLevel":[32],"parentListEl":[32],"openable":[32],"hasActionsStart":[32],"hasActionsEnd":[32],"hasCustomContent":[32],"hasContentStart":[32],"hasContentEnd":[32],"setFocus":[64]}],[1,"calcite-segmented-control-item",{"checked":[1540],"iconFlipRtl":[516,"icon-flip-rtl"],"iconStart":[513,"icon-start"],"iconEnd":[513,"icon-end"],"value":[1032]}],[1,"calcite-segmented-control",{"appearance":[513],"disabled":[516],"form":[513],"required":[516],"layout":[513],"name":[513],"scale":[513],"value":[1025],"selectedItem":[1040],"width":[513],"setFocus":[64]},[[0,"calciteInternalSegmentedControlItemChange","handleSelected"],[0,"keydown","handleKeyDown"]]],[17,"calcite-filter",{"items":[16],"disabled":[516],"filteredItems":[1040],"placeholder":[1],"scale":[513],"value":[1025],"messages":[1040],"messageOverrides":[1040],"effectiveLocale":[32],"defaultMessages":[32],"setFocus":[64]}]]],["p-a134fb69",[[1,"calcite-shell",{"contentBehind":[516,"content-behind"],"hasHeader":[32],"hasFooter":[32],"hasAlerts":[32],"hasModals":[32]}],[1,"calcite-panel",{"closed":[1540],"disabled":[516],"closable":[516],"headingLevel":[514,"heading-level"],"loading":[516],"heading":[1],"description":[1],"menuOpen":[516,"menu-open"],"messageOverrides":[1040],"messages":[1040],"hasStartActions":[32],"hasEndActions":[32],"hasMenuItems":[32],"hasHeaderContent":[32],"hasFooterContent":[32],"hasFooterActions":[32],"hasFab":[32],"defaultMessages":[32],"effectiveLocale":[32],"setFocus":[64],"scrollContentTo":[64]}]]],["p-db099e05",[[0,"map-layer-picker",{"enabledLayerIds":[16],"mapView":[16],"selectedLayerIds":[1040],"selectionMode":[1537,"selection-mode"],"layerIds":[32]}],[1,"calcite-combobox",{"open":[1540],"disabled":[516],"form":[513],"label":[1],"placeholder":[1],"placeholderIcon":[513,"placeholder-icon"],"placeholderIconFlipRtl":[516,"placeholder-icon-flip-rtl"],"maxItems":[514,"max-items"],"name":[513],"allowCustomValues":[516,"allow-custom-values"],"overlayPositioning":[513,"overlay-positioning"],"required":[516],"selectionMode":[513,"selection-mode"],"scale":[513],"value":[1025],"flipPlacements":[16],"messages":[1040],"messageOverrides":[1040],"selectedItems":[1040],"filteredItems":[1040],"items":[32],"groupItems":[32],"needsIcon":[32],"activeItemIndex":[32],"activeChipIndex":[32],"activeDescendant":[32],"text":[32],"effectiveLocale":[32],"defaultMessages":[32],"reposition":[64],"setFocus":[64]},[[5,"pointerdown","documentClickHandler"],[0,"calciteComboboxItemChange","calciteComboboxItemChangeHandler"]]],[1,"calcite-combobox-item",{"disabled":[516],"selected":[1540],"active":[516],"ancestors":[1040],"guid":[513],"icon":[513],"iconFlipRtl":[516,"icon-flip-rtl"],"textLabel":[513,"text-label"],"value":[8],"filterDisabled":[516,"filter-disabled"]}]]],["p-d4bc51f5",[[0,"solution-item-icon",{"isPortal":[4,"is-portal"],"type":[1],"typeKeywords":[16]}],[1,"calcite-tree-item",{"disabled":[516],"expanded":[1540],"iconFlipRtl":[513,"icon-flip-rtl"],"iconStart":[513,"icon-start"],"selected":[1540],"parentExpanded":[4,"parent-expanded"],"depth":[1538],"hasChildren":[1540,"has-children"],"lines":[1540],"scale":[1537],"indeterminate":[516],"selectionMode":[1537,"selection-mode"],"updateAfterInitialRender":[32],"hasEndActions":[32]},[[0,"click","onClick"],[0,"keydown","keyDownHandler"]]],[1,"calcite-tree",{"lines":[1540],"child":[1540],"scale":[1537],"selectionMode":[1537,"selection-mode"],"selectedItems":[1040]},[[0,"focus","onFocus"],[0,"focusin","onFocusIn"],[0,"focusout","onFocusOut"],[0,"calciteInternalTreeItemSelect","onClick"],[0,"keydown","keyDownHandler"]]]]],["p-f82d8b5d",[[1,"calcite-select",{"disabled":[516],"form":[513],"label":[1],"name":[513],"required":[516],"scale":[513],"value":[1025],"selectedOption":[1040],"width":[513],"setFocus":[64]},[[0,"calciteInternalOptionChange","handleOptionOrGroupChange"],[0,"calciteInternalOptionGroupChange","handleOptionOrGroupChange"]]],[1,"calcite-option",{"disabled":[516],"label":[1025],"selected":[516],"value":[1032]}]]],["p-c749227e",[[1,"calcite-input",{"alignment":[513],"autofocus":[516],"clearable":[516],"disabled":[516],"form":[513],"groupSeparator":[516,"group-separator"],"hidden":[516],"icon":[520],"iconFlipRtl":[516,"icon-flip-rtl"],"label":[1],"loading":[516],"numberingSystem":[513,"numbering-system"],"localeFormat":[4,"locale-format"],"max":[514],"min":[514],"maxLength":[514,"max-length"],"minLength":[514,"min-length"],"name":[513],"numberButtonType":[513,"number-button-type"],"placeholder":[1],"prefixText":[1,"prefix-text"],"readOnly":[516,"read-only"],"required":[516],"scale":[1537],"status":[1537],"step":[520],"autocomplete":[1],"pattern":[1],"accept":[1],"multiple":[4],"inputMode":[1,"input-mode"],"enterKeyHint":[1,"enter-key-hint"],"suffixText":[1,"suffix-text"],"editingEnabled":[1540,"editing-enabled"],"type":[513],"value":[1025],"messages":[1040],"messageOverrides":[1040],"effectiveLocale":[32],"defaultMessages":[32],"localizedValue":[32],"slottedActionElDisabledInternally":[32],"setFocus":[64],"selectText":[64],"internalSyncChildElValue":[64]}],[1,"calcite-progress",{"type":[513],"value":[2],"label":[1],"text":[1],"reversed":[516]}]]],["p-16dfb254",[[0,"solution-template-data",{"instanceid":[1537],"itemId":[1537,"item-id"],"organizationVariables":[1537,"organization-variables"],"solutionVariables":[1537,"solution-variables"],"varsOpen":[1540,"vars-open"],"_translations":[32],"value":[32]}],[1,"solution-resource-item",{"authentication":[1040],"itemId":[1537,"item-id"],"resourceFilePaths":[32],"resources":[32],"_translations":[32]}],[0,"solution-item-details",{"itemId":[1537,"item-id"],"itemDetails":[32],"itemEdit":[32],"_translations":[32],"thumbnail":[32],"thumbnailContainer":[32]},[[0,"calciteInputInput","inputReceivedHandler"]]],[1,"solution-item-sharing",{"groupId":[1537,"group-id"],"_translations":[32],"sharing":[32],"getShareInfo":[64]}],[1,"solution-variables",{"value":[1537],"_solutionVariables":[32],"_translations":[32]}],[1,"calcite-value-list-item",{"description":[513],"disabled":[516],"deselectDisabled":[4,"deselect-disabled"],"nonInteractive":[516,"non-interactive"],"handleActivated":[1028,"handle-activated"],"icon":[513],"iconFlipRtl":[516,"icon-flip-rtl"],"label":[513],"metadata":[16],"removable":[516],"selected":[1540],"value":[8],"toggleSelected":[64],"setFocus":[64]},[[0,"calciteListItemChange","calciteListItemChangeHandler"]]],[1,"solution-organization-variables",{"value":[1537],"_organizationVariables":[32],"_translations":[32]}],[0,"json-editor",{"hasChanges":[1540,"has-changes"],"hasErrors":[1540,"has-errors"],"instanceid":[1544],"value":[1544],"getEditorContents":[64],"prepareForDeletion":[64],"replaceCurrentSelection":[64],"reset":[64]}],[1,"calcite-tab-title",{"selected":[1540],"disabled":[516],"iconEnd":[513,"icon-end"],"iconFlipRtl":[513,"icon-flip-rtl"],"iconStart":[513,"icon-start"],"layout":[1537],"position":[1537],"scale":[1537],"bordered":[1540],"tab":[513],"controls":[32],"hasText":[32],"getTabIndex":[64],"getTabIdentifier":[64],"updateAriaInfo":[64]},[[16,"calciteInternalTabChange","internalTabChangeHandler"],[0,"click","onClick"],[0,"keydown","keyDownHandler"]]],[1,"calcite-shell-panel",{"collapsed":[516],"detached":[516],"detachedHeightScale":[513,"detached-height-scale"],"widthScale":[513,"width-scale"],"position":[513],"resizable":[516],"messages":[1040],"messageOverrides":[1040],"contentWidth":[32],"defaultMessages":[32],"effectiveLocale":[32]}],[1,"calcite-tab",{"tab":[513],"selected":[1540],"scale":[1537],"labeledBy":[32],"getTabIndex":[64],"updateAriaInfo":[64]},[[16,"calciteInternalTabChange","internalTabChangeHandler"]]],[1,"calcite-tab-nav",{"storageId":[513,"storage-id"],"syncId":[513,"sync-id"],"selectedTitle":[1040],"scale":[1537],"layout":[1537],"position":[1537],"bordered":[1540],"indicatorOffset":[1026,"indicator-offset"],"indicatorWidth":[1026,"indicator-width"],"selectedTabId":[32]},[[0,"calciteInternalTabsFocusPrevious","focusPreviousTabHandler"],[0,"calciteInternalTabsFocusNext","focusNextTabHandler"],[0,"calciteInternalTabsFocusFirst","focusFirstTabHandler"],[0,"calciteInternalTabsFocusLast","focusLastTabHandler"],[0,"calciteInternalTabsActivate","internalActivateTabHandler"],[0,"calciteTabsActivate","activateTabHandler"],[0,"calciteInternalTabTitleRegister","updateTabTitles"],[16,"calciteInternalTabChange","globalInternalTabChangeHandler"],[0,"calciteInternalTabIconChanged","iconStartChangeHandler"]]],[1,"calcite-tabs",{"layout":[513],"position":[513],"scale":[513],"bordered":[4],"titles":[32],"tabs":[32]},[[0,"calciteInternalTabTitleRegister","calciteInternalTabTitleRegister"],[16,"calciteTabTitleUnregister","calciteTabTitleUnregister"],[0,"calciteInternalTabRegister","calciteInternalTabRegister"],[16,"calciteTabUnregister","calciteTabUnregister"]]],[1,"calcite-value-list",{"disabled":[516],"dragEnabled":[516,"drag-enabled"],"filteredItems":[1040],"filteredData":[1040],"filterEnabled":[516,"filter-enabled"],"filterPlaceholder":[513,"filter-placeholder"],"filterText":[1537,"filter-text"],"group":[513],"loading":[516],"multiple":[516],"selectionFollowsFocus":[516,"selection-follows-focus"],"messageOverrides":[1040],"messages":[1040],"dataForFilter":[32],"defaultMessages":[32],"effectiveLocale":[32],"selectedValues":[32],"getSelectedItems":[64],"setFocus":[64]},[[0,"focusout","calciteListFocusOutHandler"],[0,"calciteListItemRemove","calciteListItemRemoveHandler"],[0,"calciteListItemChange","calciteListItemChangeHandler"],[0,"calciteInternalListItemPropsChange","calciteInternalListItemPropsChangeHandler"],[0,"calciteInternalListItemValueChange","calciteInternalListItemValueChangeHandler"],[0,"calciteValueListItemDragHandleBlur","handleValueListItemBlur"]]]]]]'),e))));
6
+ import{p as e,b as a}from"./p-f8be5d5f.js";export{s as setNonce}from"./p-f8be5d5f.js";import{g as t}from"./p-62f98a4a.js";import"./p-062f1fe7.js";(()=>{const a=import.meta.url,t={};return""!==a&&(t.resourcesUrl=new URL(".",a).href),e(t)})().then((e=>(t(),a(JSON.parse('[["p-7931d297",[[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"],"featureEffect":[16],"featureHighlightEnabled":[4,"feature-highlight-enabled"],"mapView":[16],"noResultText":[1,"no-result-text"],"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"],"_addMap":[32],"_addTitle":[32],"_downloadActive":[32],"_exportType":[32],"_isMobile":[32],"_numDuplicates":[32],"_pageType":[32],"_saveEnabled":[32],"_selectionSets":[32],"_translations":[32]},[[8,"selectionSetsChanged","selectionSetsChanged"]]]]],["p-b4b19fd3",[[0,"solution-configuration",{"authentication":[1040],"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"]]]]],["p-7ed79fea",[[0,"crowdsource-manager",{"mapInfos":[16],"_translations":[32],"_layoutMode":[32],"_mapView":[32],"_panelOpen":[32]},[[8,"mapChanged","mapChanged"]]]]],["p-4efa5cc0",[[17,"calcite-color-picker",{"allowEmpty":[516,"allow-empty"],"color":[1040],"disabled":[516],"format":[513],"hideHex":[516,"hide-hex"],"hideChannels":[516,"hide-channels"],"hideSaved":[516,"hide-saved"],"scale":[513],"storageId":[513,"storage-id"],"messageOverrides":[1040],"numberingSystem":[513,"numbering-system"],"value":[1025],"messages":[1040],"defaultMessages":[32],"colorFieldAndSliderInteractive":[32],"channelMode":[32],"channels":[32],"dimensions":[32],"effectiveLocale":[32],"savedColors":[32],"colorFieldScopeTop":[32],"colorFieldScopeLeft":[32],"scopeOrientation":[32],"hueScopeLeft":[32],"hueScopeTop":[32],"setFocus":[64]},[[2,"keydown","handleChannelKeyUpOrDown"],[2,"keyup","handleChannelKeyUpOrDown"]]]]],["p-309ab62c",[[1,"add-record-modal",{"open":[1028],"_translations":[32]}]]],["p-28e4d2de",[[1,"calcite-flow-item",{"closable":[516],"closed":[516],"beforeBack":[16],"description":[1],"disabled":[516],"heading":[1],"headingLevel":[514,"heading-level"],"loading":[516],"menuOpen":[516,"menu-open"],"messageOverrides":[1040],"messages":[1040],"showBackButton":[4,"show-back-button"],"backButtonEl":[32],"defaultMessages":[32],"effectiveLocale":[32],"setFocus":[64],"scrollContentTo":[64]}]]],["p-a09fd6c8",[[17,"calcite-input-date-picker",{"disabled":[516],"form":[513],"readOnly":[516,"read-only"],"value":[1025],"flipPlacements":[16],"headingLevel":[514,"heading-level"],"valueAsDate":[1040],"minAsDate":[1040],"maxAsDate":[1040],"min":[1],"max":[1],"open":[1540],"name":[513],"numberingSystem":[513,"numbering-system"],"scale":[513],"placement":[513],"range":[516],"required":[516],"overlayPositioning":[513,"overlay-positioning"],"proximitySelectionDisabled":[4,"proximity-selection-disabled"],"layout":[513],"messageOverrides":[1040],"datePickerActiveDate":[32],"effectiveLocale":[32],"focusedInput":[32],"globalAttributes":[32],"localeData":[32],"setFocus":[64],"reposition":[64]},[[0,"calciteDaySelect","calciteDaySelectHandler"]]]]],["p-d3068e12",[[17,"calcite-input-time-picker",{"open":[1540],"disabled":[516],"form":[513],"readOnly":[516,"read-only"],"messagesOverrides":[16],"name":[1],"numberingSystem":[1,"numbering-system"],"required":[516],"scale":[513],"overlayPositioning":[1,"overlay-positioning"],"placement":[513],"step":[2],"value":[1025],"effectiveLocale":[32],"localizedValue":[32],"setFocus":[64],"reposition":[64]},[[0,"click","clickHandler"],[0,"calciteInternalTimePickerBlur","timePickerBlurHandler"],[0,"calciteInternalTimePickerFocus","timePickerFocusHandler"]]]]],["p-74488b74",[[17,"calcite-action-pad",{"expandDisabled":[516,"expand-disabled"],"expanded":[1540],"layout":[513],"position":[513],"scale":[513],"messages":[1040],"messageOverrides":[1040],"effectiveLocale":[32],"defaultMessages":[32],"setFocus":[64]}]]],["p-f1aaf8d9",[[1,"card-manager",{"_translations":[32]}]]],["p-24100fca",[[1,"calcite-card",{"loading":[516],"selected":[1540],"selectable":[516],"thumbnailPosition":[513,"thumbnail-position"],"messages":[1040],"messageOverrides":[1040],"effectiveLocale":[32],"defaultMessages":[32]}]]],["p-a568f19e",[[1,"calcite-fab",{"appearance":[513],"kind":[513],"disabled":[516],"icon":[513],"iconFlipRtl":[516,"icon-flip-rtl"],"label":[1],"loading":[516],"scale":[513],"text":[1],"textEnabled":[516,"text-enabled"],"setFocus":[64]}]]],["p-f1c95d2d",[[17,"calcite-inline-editable",{"disabled":[516],"editingEnabled":[1540,"editing-enabled"],"loading":[1540],"controls":[516],"scale":[1537],"afterConfirm":[16],"messages":[1040],"messageOverrides":[1040],"defaultMessages":[32],"effectiveLocale":[32],"setFocus":[64]},[[0,"calciteInternalInputBlur","blurHandler"]]]]],["p-2e6f4ece",[[1,"calcite-tile-select",{"checked":[1540],"description":[513],"disabled":[516],"heading":[513],"hidden":[516],"icon":[513],"iconFlipRtl":[516,"icon-flip-rtl"],"name":[520],"inputEnabled":[516,"input-enabled"],"inputAlignment":[513,"input-alignment"],"type":[513],"value":[8],"width":[513],"focused":[32],"setFocus":[64]},[[0,"calciteCheckboxChange","checkboxChangeHandler"],[0,"calciteInternalCheckboxFocus","checkboxFocusBlurHandler"],[0,"calciteInternalCheckboxBlur","checkboxFocusBlurHandler"],[0,"calciteRadioButtonChange","radioButtonChangeHandler"],[0,"calciteInternalRadioButtonCheckedChange","radioButtonCheckedChangeHandler"],[0,"calciteInternalRadioButtonFocus","radioButtonFocusBlurHandler"],[0,"calciteInternalRadioButtonBlur","radioButtonFocusBlurHandler"],[0,"click","clickHandler"],[1,"pointerenter","pointerEnterHandler"],[1,"pointerleave","pointerLeaveHandler"]]]]],["p-d93ac5f7",[[1,"calcite-tip",{"closed":[1540],"closeDisabled":[516,"close-disabled"],"heading":[1],"headingLevel":[514,"heading-level"],"selected":[516],"messages":[1040],"messageOverrides":[1040],"defaultMessages":[32],"effectiveLocale":[32]}]]],["p-cb3b622f",[[1,"calcite-tip-manager",{"closed":[1540],"headingLevel":[514,"heading-level"],"messages":[1040],"messageOverrides":[1040],"selectedIndex":[32],"tips":[32],"total":[32],"direction":[32],"groupTitle":[32],"defaultMessages":[32],"effectiveLocale":[32],"nextTip":[64],"previousTip":[64]}]]],["p-46a734f6",[[1,"calcite-alert",{"open":[1540],"autoClose":[516,"auto-close"],"autoCloseDuration":[513,"auto-close-duration"],"kind":[513],"icon":[520],"iconFlipRtl":[516,"icon-flip-rtl"],"label":[1],"numberingSystem":[513,"numbering-system"],"placement":[513],"scale":[513],"messages":[1040],"messageOverrides":[1040],"slottedInShell":[1028,"slotted-in-shell"],"effectiveLocale":[32],"defaultMessages":[32],"hasEndActions":[32],"queue":[32],"queueLength":[32],"queued":[32],"requestedIcon":[32],"setFocus":[64]},[[8,"calciteInternalAlertSync","alertSync"],[8,"calciteInternalAlertRegister","alertRegister"]]]]],["p-89e11cd7",[[1,"calcite-block-section",{"open":[1540],"status":[513],"text":[1],"toggleDisplay":[513,"toggle-display"],"messages":[1040],"messageOverrides":[1040],"effectiveLocale":[32],"defaultMessages":[32]}]]],["p-6d58612a",[[1,"calcite-input-number",{"alignment":[513],"autofocus":[516],"clearable":[516],"disabled":[516],"form":[513],"groupSeparator":[516,"group-separator"],"hidden":[516],"icon":[520],"iconFlipRtl":[516,"icon-flip-rtl"],"label":[1],"loading":[516],"numberingSystem":[513,"numbering-system"],"localeFormat":[4,"locale-format"],"max":[514],"min":[514],"maxLength":[514,"max-length"],"minLength":[514,"min-length"],"name":[513],"numberButtonType":[513,"number-button-type"],"placeholder":[1],"prefixText":[1,"prefix-text"],"readOnly":[516,"read-only"],"required":[516],"scale":[1537],"status":[513],"step":[520],"autocomplete":[1],"inputMode":[1,"input-mode"],"enterKeyHint":[1,"enter-key-hint"],"suffixText":[1,"suffix-text"],"editingEnabled":[1540,"editing-enabled"],"value":[1025],"messages":[1040],"messageOverrides":[1040],"effectiveLocale":[32],"defaultMessages":[32],"localizedValue":[32],"slottedActionElDisabledInternally":[32],"setFocus":[64],"selectText":[64]}]]],["p-237df0c8",[[1,"calcite-rating",{"average":[514],"count":[514],"disabled":[516],"form":[513],"messages":[1040],"messageOverrides":[1040],"name":[513],"readOnly":[516,"read-only"],"required":[516],"scale":[513],"showChip":[516,"show-chip"],"value":[1538],"effectiveLocale":[32],"defaultMessages":[32],"hoverValue":[32],"focusValue":[32],"hasFocus":[32],"setFocus":[64]}]]],["p-17f2a222",[[1,"calcite-accordion-item",{"expanded":[1540],"heading":[1],"description":[1],"iconStart":[513,"icon-start"],"iconEnd":[513,"icon-end"],"iconFlipRtl":[513,"icon-flip-rtl"]},[[0,"keydown","keyDownHandler"],[16,"calciteInternalAccordionChange","updateActiveItemOnChange"]]]]],["p-ab8d5222",[[1,"calcite-avatar",{"scale":[513],"thumbnail":[513],"fullName":[513,"full-name"],"username":[513],"userId":[513,"user-id"],"thumbnailFailedToLoad":[32]}]]],["p-2ed9ead7",[[17,"calcite-pagination",{"groupSeparator":[516,"group-separator"],"messageOverrides":[1040],"pageSize":[514,"page-size"],"numberingSystem":[1,"numbering-system"],"startItem":[1538,"start-item"],"totalItems":[514,"total-items"],"scale":[513],"messages":[1040],"defaultMessages":[32],"effectiveLocale":[32],"setFocus":[64],"nextPage":[64],"previousPage":[64]}]]],["p-79b8a5f8",[[1,"calcite-stepper-item",{"selected":[1540],"complete":[516],"error":[516],"disabled":[516],"heading":[1],"description":[1],"layout":[1537],"icon":[1028],"iconFlipRtl":[516,"icon-flip-rtl"],"numbered":[1028],"scale":[1537],"effectiveLocale":[32],"setFocus":[64]},[[16,"calciteInternalStepperItemChange","updateActiveItemOnChange"]]]]],["p-5821b39b",[[1,"calcite-accordion",{"appearance":[513],"iconPosition":[513,"icon-position"],"iconType":[513,"icon-type"],"scale":[513],"selectionMode":[513,"selection-mode"]},[[0,"calciteInternalAccordionItemRegister","registerCalciteAccordionItem"],[0,"calciteInternalAccordionItemSelect","updateActiveItemOnChange"]]]]],["p-f8acb89b",[[1,"calcite-combobox-item-group",{"ancestors":[1040],"label":[1]}]]],["p-c82aa9db",[[1,"calcite-flow",{"flowDirection":[32],"itemCount":[32],"items":[32],"back":[64]},[[0,"calciteFlowItemBack","handleItemBackClick"]]]]],["p-7e847fc8",[[1,"calcite-list-item-group",{"disabled":[516],"heading":[513],"visualLevel":[32]}]]],["p-c781ae28",[[1,"calcite-option-group",{"disabled":[516],"label":[1]}]]],["p-f621722d",[[1,"calcite-pick-list-group",{"groupTitle":[513,"group-title"],"headingLevel":[514,"heading-level"]}]]],["p-c6bd7fa0",[[1,"calcite-radio-button",{"checked":[1540],"disabled":[516],"focused":[1540],"form":[513],"guid":[1537],"hidden":[516],"hovered":[1540],"label":[1],"name":[513],"required":[516],"scale":[513],"value":[1032],"setFocus":[64],"emitCheckedChange":[64]},[[1,"pointerenter","mouseenter"],[1,"pointerleave","mouseleave"]]]]],["p-a50e409f",[[17,"calcite-radio-button-group",{"disabled":[516],"hidden":[516],"layout":[513],"name":[513],"required":[516],"selectedItem":[1040],"scale":[513]},[[0,"calciteRadioButtonChange","radioButtonChangeHandler"]]]]],["p-8b814023",[[1,"calcite-shell-center-row",{"detached":[516],"heightScale":[513,"height-scale"],"position":[513]}]]],["p-d744bb71",[[1,"calcite-sortable-list",{"dragSelector":[513,"drag-selector"],"group":[513],"handleSelector":[513,"handle-selector"],"layout":[513],"disabled":[516],"loading":[516],"handleActivated":[32]},[[0,"calciteHandleNudge","calciteHandleNudgeNextHandler"]]]]],["p-4c726834",[[1,"calcite-stepper",{"icon":[516],"layout":[513],"numbered":[516],"numberingSystem":[513,"numbering-system"],"selectedItem":[1040],"scale":[513],"nextStep":[64],"prevStep":[64],"goToStep":[64],"startStep":[64],"endStep":[64]},[[0,"calciteInternalStepperItemKeyEvent","calciteInternalStepperItemKeyEvent"],[0,"calciteInternalStepperItemRegister","registerItem"],[0,"calciteInternalStepperItemSelect","updateItem"],[0,"calciteInternalUserRequestedStepperItemSelect","handleUserRequestedStepperItemSelect"]]]]],["p-368613d8",[[1,"calcite-text-area",{"autofocus":[516],"columns":[514],"disabled":[516],"form":[513],"groupSeparator":[516,"group-separator"],"label":[1],"maxLength":[514,"max-length"],"messages":[1040],"name":[513],"numberingSystem":[1,"numbering-system"],"placeholder":[1],"readOnly":[516,"read-only"],"required":[516],"resize":[513],"rows":[514],"scale":[513],"value":[1025],"wrap":[513],"messageOverrides":[1040],"defaultMessages":[32],"endSlotHasElements":[32],"startSlotHasElements":[32],"effectiveLocale":[32],"setFocus":[64],"selectText":[64]}]]],["p-45ecd824",[[1,"calcite-tile-select-group",{"disabled":[516],"layout":[513]}]]],["p-3984ca5b",[[1,"calcite-tip-group",{"groupTitle":[1,"group-title"]}]]],["p-6aabe903",[[1,"comment-card"]]],["p-ad41cd27",[[1,"crowdsource-reporter"]]],["p-ce3e73ae",[[1,"list-item"]]],["p-6aeb2614",[[0,"map-search",{"mapView":[16],"searchConfiguration":[1040],"_searchTerm":[32],"_translations":[32],"clear":[64]}]]],["p-8008b2fe",[[1,"deduct-calculator"]]],["p-653358ce",[[1,"pci-calculator",{"showAddDeduct":[32]}]]],["p-1c810f4c",[[0,"store-manager",{"value":[1537],"templates":[1040],"authentication":[1040]}]]],["p-69c5964a",[[1,"calcite-color-picker-hex-input",{"hexLabel":[1,"hex-label"],"allowEmpty":[4,"allow-empty"],"scale":[513],"value":[1537],"numberingSystem":[1,"numbering-system"],"internalColor":[32],"setFocus":[64]},[[2,"keydown","onInputKeyDown"]]]]],["p-b6d1419d",[[17,"calcite-date-picker",{"activeDate":[1040],"activeRange":[513,"active-range"],"value":[1025],"headingLevel":[514,"heading-level"],"valueAsDate":[1040],"minAsDate":[1040],"maxAsDate":[1040],"min":[513],"max":[513],"numberingSystem":[513,"numbering-system"],"scale":[513],"range":[516],"proximitySelectionDisabled":[516,"proximity-selection-disabled"],"messageOverrides":[1040],"messages":[1040],"activeStartDate":[32],"activeEndDate":[32],"startAsDate":[32],"endAsDate":[32],"effectiveLocale":[32],"defaultMessages":[32],"localeData":[32],"hoverRange":[32],"setFocus":[64]}]]],["p-5c343e95",[[1,"calcite-tile",{"active":[516],"description":[513],"disabled":[516],"embed":[516],"focused":[516],"heading":[513],"hidden":[516],"href":[513],"icon":[513],"iconFlipRtl":[516,"icon-flip-rtl"]}]]],["p-21418d87",[[17,"calcite-time-picker",{"scale":[513],"step":[514],"numberingSystem":[1,"numbering-system"],"value":[1025],"messages":[1040],"messageOverrides":[1040],"effectiveLocale":[32],"hour":[32],"hourCycle":[32],"localizedHour":[32],"localizedHourSuffix":[32],"localizedMeridiem":[32],"localizedMinute":[32],"localizedMinuteSuffix":[32],"localizedSecond":[32],"localizedSecondSuffix":[32],"meridiem":[32],"minute":[32],"second":[32],"showSecond":[32],"defaultMessages":[32],"setFocus":[64]},[[0,"blur","hostBlurHandler"],[0,"focus","hostFocusHandler"],[0,"keydown","keyDownHandler"]]]]],["p-f595a05f",[[1,"calcite-label",{"alignment":[513],"for":[513],"scale":[513],"layout":[513]}]]],["p-60d82fa1",[[1,"calcite-icon",{"icon":[513],"flipRtl":[516,"flip-rtl"],"scale":[513],"textLabel":[1,"text-label"],"pathData":[32],"visible":[32]}]]],["p-2f4e1ddf",[[0,"layer-table",{"mapView":[16],"_layerView":[32],"_selectedIndexes":[32],"_translations":[32]}],[0,"map-card",{"mapInfos":[16],"mapView":[16],"_mapListExpanded":[32],"_translations":[32],"_webMapId":[32]}]]],["p-50ebdbe1",[[1,"media-card",{"values":[16],"_index":[32],"_translations":[32]}],[1,"info-card",{"cardTitle":[1,"card-title"],"values":[16]}]]],["p-26a04692",[[1,"calcite-link",{"disabled":[516],"download":[520],"href":[513],"iconEnd":[513,"icon-end"],"iconFlipRtl":[513,"icon-flip-rtl"],"iconStart":[513,"icon-start"],"rel":[1],"target":[1],"setFocus":[64]},[[0,"click","clickHandler"]]]]],["p-9f6b4972",[[1,"calcite-color-picker-swatch",{"active":[516],"color":[1],"scale":[513]}]]],["p-2c28ce25",[[1,"calcite-action",{"active":[516],"alignment":[513],"appearance":[513],"compact":[516],"disabled":[516],"icon":[1],"iconFlipRtl":[516,"icon-flip-rtl"],"indicator":[516],"label":[1],"loading":[516],"scale":[513],"text":[1],"textEnabled":[516,"text-enabled"],"messages":[1040],"messageOverrides":[1040],"effectiveLocale":[32],"defaultMessages":[32],"setFocus":[64]}],[1,"calcite-loader",{"inline":[516],"label":[1],"scale":[513],"type":[513],"value":[2],"text":[1]}]]],["p-a2aaa843",[[1,"calcite-pick-list-item",{"description":[513],"disabled":[516],"deselectDisabled":[516,"deselect-disabled"],"nonInteractive":[516,"non-interactive"],"icon":[513],"iconFlipRtl":[516,"icon-flip-rtl"],"label":[513],"messageOverrides":[1040],"messages":[1040],"metadata":[16],"removable":[516],"selected":[1540],"value":[8],"defaultMessages":[32],"effectiveLocale":[32],"toggleSelected":[64],"setFocus":[64]}]]],["p-20222c16",[[1,"calcite-switch",{"disabled":[516],"form":[513],"label":[1],"name":[513],"scale":[513],"checked":[1540],"value":[8],"setFocus":[64]}]]],["p-5db22a5b",[[1,"calcite-checkbox",{"checked":[1540],"disabled":[516],"form":[513],"guid":[1537],"hovered":[516],"indeterminate":[1540],"label":[1],"name":[520],"required":[516],"scale":[513],"value":[8],"setFocus":[64]}]]],["p-7de66003",[[1,"calcite-scrim",{"loading":[516],"messages":[1040],"messageOverrides":[1040],"defaultMessages":[32],"effectiveLocale":[32]}]]],["p-caae8177",[[1,"calcite-button",{"alignment":[513],"appearance":[513],"label":[1],"kind":[513],"disabled":[516],"form":[513],"href":[513],"iconEnd":[513,"icon-end"],"iconFlipRtl":[513,"icon-flip-rtl"],"iconStart":[513,"icon-start"],"loading":[516],"name":[513],"rel":[513],"round":[516],"scale":[513],"splitChild":[520,"split-child"],"target":[513],"type":[513],"width":[513],"messages":[1040],"messageOverrides":[1040],"hasContent":[32],"hasLoader":[32],"effectiveLocale":[32],"defaultMessages":[32],"setFocus":[64]}]]],["p-14180490",[[1,"calcite-action-menu",{"expanded":[516],"flipPlacements":[16],"label":[1],"open":[1540],"overlayPositioning":[513,"overlay-positioning"],"placement":[513],"scale":[513],"menuButtonEl":[32],"activeMenuItemIndex":[32],"setFocus":[64]},[[9,"pointerdown","closeCalciteActionMenuOnClick"]]],[1,"calcite-popover",{"autoClose":[516,"auto-close"],"closable":[516],"flipDisabled":[516,"flip-disabled"],"focusTrapDisabled":[516,"focus-trap-disabled"],"pointerDisabled":[516,"pointer-disabled"],"flipPlacements":[16],"heading":[1],"headingLevel":[514,"heading-level"],"label":[1],"messageOverrides":[1040],"messages":[1040],"offsetDistance":[514,"offset-distance"],"offsetSkidding":[514,"offset-skidding"],"open":[1540],"overlayPositioning":[513,"overlay-positioning"],"placement":[513],"referenceElement":[1,"reference-element"],"scale":[513],"triggerDisabled":[516,"trigger-disabled"],"effectiveLocale":[32],"effectiveReferenceElement":[32],"defaultMessages":[32],"reposition":[64],"setFocus":[64],"updateFocusTrapElements":[64]}]]],["p-5ed755a2",[[0,"solution-item",{"authentication":[1040],"itemId":[1537,"item-id"],"solutionVariables":[1537,"solution-variables"],"organizationVariables":[1537,"organization-variables"],"itemType":[32],"_translations":[32]}],[0,"solution-spatial-ref",{"defaultWkid":[1538,"default-wkid"],"locked":[1540],"value":[1537],"services":[1040],"loaded":[32],"spatialRef":[32],"_srSearchText":[32],"_translations":[32],"createSpatialRefDisplay":[64],"getSpatialRef":[64],"wkidToDisplay":[64]}],[0,"solution-contents",{"selectedItemId":[1537,"selected-item-id"],"templateHierarchy":[1040]}]]],["p-c273f446",[[1,"calcite-modal",{"open":[1540],"beforeClose":[16],"closeButtonDisabled":[516,"close-button-disabled"],"focusTrapDisabled":[516,"focus-trap-disabled"],"outsideCloseDisabled":[516,"outside-close-disabled"],"docked":[516],"escapeDisabled":[516,"escape-disabled"],"scale":[513],"width":[513],"fullscreen":[516],"kind":[513],"messages":[1040],"messageOverrides":[1040],"slottedInShell":[1028,"slotted-in-shell"],"cssWidth":[32],"cssHeight":[32],"hasFooter":[32],"hasContentTop":[32],"hasContentBottom":[32],"isOpen":[32],"effectiveLocale":[32],"defaultMessages":[32],"setFocus":[64],"updateFocusTrapElements":[64],"scrollContent":[64]},[[8,"keydown","handleEscape"]]]]],["p-5a858526",[[1,"calcite-graph",{"data":[16],"colorStops":[16],"highlightMin":[2,"highlight-min"],"highlightMax":[2,"highlight-max"],"min":[514],"max":[514]}]]],["p-38a02d9b",[[1,"calcite-tooltip",{"closeOnClick":[516,"close-on-click"],"label":[1],"offsetDistance":[514,"offset-distance"],"offsetSkidding":[514,"offset-skidding"],"open":[516],"overlayPositioning":[513,"overlay-positioning"],"placement":[513],"referenceElement":[1,"reference-element"],"effectiveReferenceElement":[32],"reposition":[64]}]]],["p-f8525286",[[1,"calcite-chip",{"appearance":[513],"kind":[513],"closable":[516],"icon":[513],"iconFlipRtl":[516,"icon-flip-rtl"],"scale":[513],"value":[8],"closed":[1540],"messageOverrides":[1040],"messages":[1040],"defaultMessages":[32],"effectiveLocale":[32],"hasContent":[32],"hasImage":[32],"setFocus":[64]}]]],["p-4bf4814f",[[1,"buffer-tools",{"appearance":[1025],"distance":[1026],"geometries":[1040],"max":[1026],"min":[1026],"sliderTicks":[1026,"slider-ticks"],"unionResults":[1028,"union-results"],"unit":[1025],"disabled":[4],"_translations":[32]}],[1,"calcite-input-message",{"icon":[520],"iconFlipRtl":[516,"icon-flip-rtl"],"scale":[1537],"status":[513]}],[0,"map-draw-tools",{"active":[4],"drawMode":[1,"draw-mode"],"editGraphicsEnabled":[4,"edit-graphics-enabled"],"graphics":[1040],"mapView":[1040],"pointSymbol":[1040],"polylineSymbol":[1040],"polygonSymbol":[1040],"redoEnabled":[4,"redo-enabled"],"undoEnabled":[4,"undo-enabled"],"_translations":[32],"_selectionMode":[32],"clear":[64],"updateGraphics":[64]}],[17,"calcite-slider",{"disabled":[516],"form":[513],"groupSeparator":[516,"group-separator"],"hasHistogram":[1540,"has-histogram"],"histogram":[16],"histogramStops":[16],"labelHandles":[516,"label-handles"],"labelTicks":[516,"label-ticks"],"max":[514],"maxLabel":[1,"max-label"],"maxValue":[1026,"max-value"],"min":[514],"minLabel":[1,"min-label"],"minValue":[1026,"min-value"],"mirrored":[516],"name":[513],"numberingSystem":[1,"numbering-system"],"pageStep":[514,"page-step"],"precise":[516],"required":[516],"snap":[516],"step":[514],"ticks":[514],"value":[1538],"scale":[513],"effectiveLocale":[32],"minMaxValueRange":[32],"minValueDragRange":[32],"maxValueDragRange":[32],"tickValues":[32],"setFocus":[64]},[[0,"keydown","keyDownHandler"],[1,"pointerdown","pointerDownHandler"]]]]],["p-aa22cb4f",[[0,"refine-selection",{"addresseeLayer":[16],"enabledLayerIds":[16],"mapView":[16],"selectionSets":[1040],"sketchLineSymbol":[16],"sketchPointSymbol":[16],"sketchPolygonSymbol":[16],"_translations":[32],"_selectionMode":[32],"_refineLayer":[32]}],[0,"map-select-tools",{"bufferColor":[8,"buffer-color"],"bufferOutlineColor":[8,"buffer-outline-color"],"customLabelEnabled":[4,"custom-label-enabled"],"enabledLayerIds":[16],"defaultBufferDistance":[2,"default-buffer-distance"],"defaultBufferUnit":[1,"default-buffer-unit"],"geometries":[16],"isUpdate":[4,"is-update"],"layerViews":[16],"mapView":[16],"noResultText":[1,"no-result-text"],"searchConfiguration":[1040],"selectionSet":[16],"selectionLayerIds":[16],"selectLayerView":[16],"sketchLineSymbol":[16],"sketchPointSymbol":[16],"sketchPolygonSymbol":[16],"_numSelected":[32],"_searchDistanceEnabled":[32],"_searchTerm":[32],"_selectionLoading":[32],"_translations":[32],"_useLayerFeaturesEnabled":[32],"clearSelection":[64],"getSelection":[64]},[[8,"searchConfigurationChange","searchConfigurationChangeChanged"],[8,"distanceChanged","distanceChanged"],[8,"unitChanged","unitChanged"]]],[1,"pdf-download",{"disabled":[4],"_translations":[32],"downloadCSV":[64],"downloadPDF":[64]}],[1,"calcite-input-text",{"alignment":[513],"autofocus":[516],"clearable":[516],"disabled":[516],"form":[513],"hidden":[516],"icon":[520],"iconFlipRtl":[516,"icon-flip-rtl"],"label":[1],"loading":[516],"maxLength":[514,"max-length"],"minLength":[514,"min-length"],"name":[513],"placeholder":[1],"prefixText":[1,"prefix-text"],"readOnly":[516,"read-only"],"required":[516],"scale":[1537],"status":[513],"autocomplete":[1],"inputMode":[1,"input-mode"],"enterKeyHint":[1,"enter-key-hint"],"pattern":[1],"suffixText":[1,"suffix-text"],"editingEnabled":[1540,"editing-enabled"],"value":[1025],"messages":[1040],"messageOverrides":[1040],"effectiveLocale":[32],"defaultMessages":[32],"slottedActionElDisabledInternally":[32],"setFocus":[64],"selectText":[64]}],[1,"calcite-notice",{"open":[1540],"kind":[513],"closable":[516],"icon":[520],"iconFlipRtl":[516,"icon-flip-rtl"],"scale":[513],"width":[513],"messages":[1040],"messageOverrides":[1040],"effectiveLocale":[32],"defaultMessages":[32],"setFocus":[64]}]]],["p-7fe8073a",[[1,"calcite-date-picker-month",{"selectedDate":[16],"activeDate":[16],"startDate":[16],"endDate":[16],"min":[16],"max":[16],"scale":[513],"localeData":[16],"hoverRange":[16]},[[1,"pointerout","mouseoutHandler"]]],[1,"calcite-date-picker-month-header",{"selectedDate":[16],"activeDate":[16],"headingLevel":[2,"heading-level"],"min":[16],"max":[16],"scale":[513],"localeData":[16],"messages":[1040],"globalAttributes":[32],"nextMonthDate":[32],"prevMonthDate":[32]}],[1,"calcite-date-picker-day",{"day":[2],"disabled":[516],"currentMonth":[516,"current-month"],"selected":[516],"highlighted":[516],"range":[516],"startOfRange":[516,"start-of-range"],"endOfRange":[516,"end-of-range"],"rangeHover":[516,"range-hover"],"active":[516],"scale":[513],"value":[16]},[[1,"pointerover","mouseoverHandler"]]]]],["p-33efdea8",[[17,"calcite-action-group",{"expanded":[516],"layout":[513],"columns":[514],"menuOpen":[1540,"menu-open"],"scale":[513],"messages":[1040],"messageOverrides":[1040],"effectiveLocale":[32],"defaultMessages":[32],"setFocus":[64]}]]],["p-a9f4a115",[[1,"calcite-block",{"collapsible":[516],"disabled":[516],"dragHandle":[516,"drag-handle"],"heading":[1],"headingLevel":[514,"heading-level"],"loading":[516],"open":[1540],"status":[513],"description":[1],"messages":[1040],"messageOverrides":[1040],"effectiveLocale":[32],"defaultMessages":[32]}],[1,"calcite-pick-list",{"disabled":[516],"filteredItems":[1040],"filteredData":[1040],"filterEnabled":[516,"filter-enabled"],"filterPlaceholder":[513,"filter-placeholder"],"filterText":[1537,"filter-text"],"headingLevel":[514,"heading-level"],"loading":[516],"multiple":[516],"selectionFollowsFocus":[516,"selection-follows-focus"],"selectedValues":[32],"dataForFilter":[32],"getSelectedItems":[64],"setFocus":[64]},[[0,"calciteListItemRemove","calciteListItemRemoveHandler"],[0,"calciteListItemChange","calciteListItemChangeHandler"],[0,"calciteInternalListItemPropsChange","calciteInternalListItemPropsChangeHandler"],[0,"calciteInternalListItemValueChange","calciteInternalListItemValueChangeHandler"],[0,"focusout","calciteListFocusOutHandler"]]],[17,"calcite-action-bar",{"expandDisabled":[516,"expand-disabled"],"expanded":[1540],"layout":[513],"overflowActionsDisabled":[516,"overflow-actions-disabled"],"position":[513],"scale":[513],"messages":[1040],"messageOverrides":[1040],"effectiveLocale":[32],"defaultMessages":[32],"overflowActions":[64],"setFocus":[64]}],[1,"calcite-handle",{"activated":[1540],"dragHandle":[513,"drag-handle"],"messages":[16],"messageOverrides":[16],"effectiveLocale":[32],"defaultMessages":[32],"setFocus":[64]}]]],["p-add081e4",[[1,"edit-record-modal",{"open":[1028],"_translations":[32]}],[17,"calcite-split-button",{"appearance":[513],"kind":[513],"disabled":[516],"active":[1540],"dropdownIconType":[513,"dropdown-icon-type"],"dropdownLabel":[513,"dropdown-label"],"loading":[516],"overlayPositioning":[513,"overlay-positioning"],"primaryIconEnd":[513,"primary-icon-end"],"primaryIconFlipRtl":[513,"primary-icon-flip-rtl"],"primaryIconStart":[513,"primary-icon-start"],"primaryLabel":[513,"primary-label"],"primaryText":[513,"primary-text"],"scale":[513],"width":[513],"setFocus":[64]}],[1,"calcite-dropdown-item",{"selected":[1540],"iconFlipRtl":[513,"icon-flip-rtl"],"iconStart":[513,"icon-start"],"iconEnd":[513,"icon-end"],"href":[513],"label":[1],"rel":[513],"target":[513],"setFocus":[64]},[[0,"click","onClick"],[0,"keydown","keyDownHandler"],[16,"calciteInternalDropdownItemChange","updateActiveItemOnChange"]]],[17,"calcite-dropdown-group",{"groupTitle":[513,"group-title"],"selectionMode":[513,"selection-mode"],"scale":[513]},[[0,"calciteInternalDropdownItemSelect","updateActiveItemOnChange"]]],[17,"calcite-dropdown",{"open":[1540],"closeOnSelectDisabled":[516,"close-on-select-disabled"],"disabled":[516],"flipPlacements":[16],"maxItems":[514,"max-items"],"overlayPositioning":[513,"overlay-positioning"],"placement":[513],"scale":[513],"selectedItems":[1040],"type":[513],"width":[513],"setFocus":[64],"reposition":[64]},[[9,"pointerdown","closeCalciteDropdownOnClick"],[0,"calciteInternalDropdownCloseRequest","closeCalciteDropdownOnEvent"],[8,"calciteDropdownOpen","closeCalciteDropdownOnOpenEvent"],[1,"pointerenter","mouseEnterHandler"],[1,"pointerleave","mouseLeaveHandler"],[0,"calciteInternalDropdownItemKeyEvent","calciteInternalDropdownItemKeyEvent"],[0,"calciteInternalDropdownItemSelect","handleItemSelect"]]]]],["p-377184ef",[[1,"calcite-list",{"disabled":[516],"filterEnabled":[516,"filter-enabled"],"filteredItems":[1040],"filteredData":[1040],"filterPlaceholder":[513,"filter-placeholder"],"filterText":[1537,"filter-text"],"label":[1],"loading":[516],"openable":[4],"selectedItems":[1040],"selectionMode":[513,"selection-mode"],"selectionAppearance":[513,"selection-appearance"],"dataForFilter":[32],"setFocus":[64]},[[0,"calciteInternalFocusPreviousItem","handleCalciteInternalFocusPreviousItem"],[0,"calciteInternalListItemActive","handleCalciteListItemActive"],[0,"calciteInternalListItemSelect","handleCalciteListItemSelect"]]],[1,"calcite-list-item",{"active":[4],"description":[1],"disabled":[516],"label":[1],"metadata":[16],"open":[1540],"setSize":[2,"set-size"],"setPosition":[2,"set-position"],"selected":[1540],"value":[8],"selectionMode":[1025,"selection-mode"],"selectionAppearance":[1025,"selection-appearance"],"level":[32],"visualLevel":[32],"parentListEl":[32],"openable":[32],"hasActionsStart":[32],"hasActionsEnd":[32],"hasCustomContent":[32],"hasContentStart":[32],"hasContentEnd":[32],"setFocus":[64]}],[1,"calcite-segmented-control-item",{"checked":[1540],"iconFlipRtl":[516,"icon-flip-rtl"],"iconStart":[513,"icon-start"],"iconEnd":[513,"icon-end"],"value":[1032]}],[1,"calcite-segmented-control",{"appearance":[513],"disabled":[516],"form":[513],"required":[516],"layout":[513],"name":[513],"scale":[513],"value":[1025],"selectedItem":[1040],"width":[513],"setFocus":[64]},[[0,"calciteInternalSegmentedControlItemChange","handleSelected"],[0,"keydown","handleKeyDown"]]],[17,"calcite-filter",{"items":[16],"disabled":[516],"filteredItems":[1040],"placeholder":[1],"scale":[513],"value":[1025],"messages":[1040],"messageOverrides":[1040],"effectiveLocale":[32],"defaultMessages":[32],"setFocus":[64]}]]],["p-a134fb69",[[1,"calcite-shell",{"contentBehind":[516,"content-behind"],"hasHeader":[32],"hasFooter":[32],"hasAlerts":[32],"hasModals":[32]}],[1,"calcite-panel",{"closed":[1540],"disabled":[516],"closable":[516],"headingLevel":[514,"heading-level"],"loading":[516],"heading":[1],"description":[1],"menuOpen":[516,"menu-open"],"messageOverrides":[1040],"messages":[1040],"hasStartActions":[32],"hasEndActions":[32],"hasMenuItems":[32],"hasHeaderContent":[32],"hasFooterContent":[32],"hasFooterActions":[32],"hasFab":[32],"defaultMessages":[32],"effectiveLocale":[32],"setFocus":[64],"scrollContentTo":[64]}]]],["p-db099e05",[[0,"map-layer-picker",{"enabledLayerIds":[16],"mapView":[16],"selectedLayerIds":[1040],"selectionMode":[1537,"selection-mode"],"layerIds":[32]}],[1,"calcite-combobox",{"open":[1540],"disabled":[516],"form":[513],"label":[1],"placeholder":[1],"placeholderIcon":[513,"placeholder-icon"],"placeholderIconFlipRtl":[516,"placeholder-icon-flip-rtl"],"maxItems":[514,"max-items"],"name":[513],"allowCustomValues":[516,"allow-custom-values"],"overlayPositioning":[513,"overlay-positioning"],"required":[516],"selectionMode":[513,"selection-mode"],"scale":[513],"value":[1025],"flipPlacements":[16],"messages":[1040],"messageOverrides":[1040],"selectedItems":[1040],"filteredItems":[1040],"items":[32],"groupItems":[32],"needsIcon":[32],"activeItemIndex":[32],"activeChipIndex":[32],"activeDescendant":[32],"text":[32],"effectiveLocale":[32],"defaultMessages":[32],"reposition":[64],"setFocus":[64]},[[5,"pointerdown","documentClickHandler"],[0,"calciteComboboxItemChange","calciteComboboxItemChangeHandler"]]],[1,"calcite-combobox-item",{"disabled":[516],"selected":[1540],"active":[516],"ancestors":[1040],"guid":[513],"icon":[513],"iconFlipRtl":[516,"icon-flip-rtl"],"textLabel":[513,"text-label"],"value":[8],"filterDisabled":[516,"filter-disabled"]}]]],["p-d4bc51f5",[[0,"solution-item-icon",{"isPortal":[4,"is-portal"],"type":[1],"typeKeywords":[16]}],[1,"calcite-tree-item",{"disabled":[516],"expanded":[1540],"iconFlipRtl":[513,"icon-flip-rtl"],"iconStart":[513,"icon-start"],"selected":[1540],"parentExpanded":[4,"parent-expanded"],"depth":[1538],"hasChildren":[1540,"has-children"],"lines":[1540],"scale":[1537],"indeterminate":[516],"selectionMode":[1537,"selection-mode"],"updateAfterInitialRender":[32],"hasEndActions":[32]},[[0,"click","onClick"],[0,"keydown","keyDownHandler"]]],[1,"calcite-tree",{"lines":[1540],"child":[1540],"scale":[1537],"selectionMode":[1537,"selection-mode"],"selectedItems":[1040]},[[0,"focus","onFocus"],[0,"focusin","onFocusIn"],[0,"focusout","onFocusOut"],[0,"calciteInternalTreeItemSelect","onClick"],[0,"keydown","keyDownHandler"]]]]],["p-f82d8b5d",[[1,"calcite-select",{"disabled":[516],"form":[513],"label":[1],"name":[513],"required":[516],"scale":[513],"value":[1025],"selectedOption":[1040],"width":[513],"setFocus":[64]},[[0,"calciteInternalOptionChange","handleOptionOrGroupChange"],[0,"calciteInternalOptionGroupChange","handleOptionOrGroupChange"]]],[1,"calcite-option",{"disabled":[516],"label":[1025],"selected":[516],"value":[1032]}]]],["p-c749227e",[[1,"calcite-input",{"alignment":[513],"autofocus":[516],"clearable":[516],"disabled":[516],"form":[513],"groupSeparator":[516,"group-separator"],"hidden":[516],"icon":[520],"iconFlipRtl":[516,"icon-flip-rtl"],"label":[1],"loading":[516],"numberingSystem":[513,"numbering-system"],"localeFormat":[4,"locale-format"],"max":[514],"min":[514],"maxLength":[514,"max-length"],"minLength":[514,"min-length"],"name":[513],"numberButtonType":[513,"number-button-type"],"placeholder":[1],"prefixText":[1,"prefix-text"],"readOnly":[516,"read-only"],"required":[516],"scale":[1537],"status":[1537],"step":[520],"autocomplete":[1],"pattern":[1],"accept":[1],"multiple":[4],"inputMode":[1,"input-mode"],"enterKeyHint":[1,"enter-key-hint"],"suffixText":[1,"suffix-text"],"editingEnabled":[1540,"editing-enabled"],"type":[513],"value":[1025],"messages":[1040],"messageOverrides":[1040],"effectiveLocale":[32],"defaultMessages":[32],"localizedValue":[32],"slottedActionElDisabledInternally":[32],"setFocus":[64],"selectText":[64],"internalSyncChildElValue":[64]}],[1,"calcite-progress",{"type":[513],"value":[2],"label":[1],"text":[1],"reversed":[516]}]]],["p-16dfb254",[[0,"solution-template-data",{"instanceid":[1537],"itemId":[1537,"item-id"],"organizationVariables":[1537,"organization-variables"],"solutionVariables":[1537,"solution-variables"],"varsOpen":[1540,"vars-open"],"_translations":[32],"value":[32]}],[1,"solution-resource-item",{"authentication":[1040],"itemId":[1537,"item-id"],"resourceFilePaths":[32],"resources":[32],"_translations":[32]}],[0,"solution-item-details",{"itemId":[1537,"item-id"],"itemDetails":[32],"itemEdit":[32],"_translations":[32],"thumbnail":[32],"thumbnailContainer":[32]},[[0,"calciteInputInput","inputReceivedHandler"]]],[1,"solution-item-sharing",{"groupId":[1537,"group-id"],"_translations":[32],"sharing":[32],"getShareInfo":[64]}],[1,"solution-variables",{"value":[1537],"_solutionVariables":[32],"_translations":[32]}],[1,"calcite-value-list-item",{"description":[513],"disabled":[516],"deselectDisabled":[4,"deselect-disabled"],"nonInteractive":[516,"non-interactive"],"handleActivated":[1028,"handle-activated"],"icon":[513],"iconFlipRtl":[516,"icon-flip-rtl"],"label":[513],"metadata":[16],"removable":[516],"selected":[1540],"value":[8],"toggleSelected":[64],"setFocus":[64]},[[0,"calciteListItemChange","calciteListItemChangeHandler"]]],[1,"solution-organization-variables",{"value":[1537],"_organizationVariables":[32],"_translations":[32]}],[0,"json-editor",{"hasChanges":[1540,"has-changes"],"hasErrors":[1540,"has-errors"],"instanceid":[1544],"value":[1544],"getEditorContents":[64],"prepareForDeletion":[64],"replaceCurrentSelection":[64],"reset":[64]}],[1,"calcite-tab-title",{"selected":[1540],"disabled":[516],"iconEnd":[513,"icon-end"],"iconFlipRtl":[513,"icon-flip-rtl"],"iconStart":[513,"icon-start"],"layout":[1537],"position":[1537],"scale":[1537],"bordered":[1540],"tab":[513],"controls":[32],"hasText":[32],"getTabIndex":[64],"getTabIdentifier":[64],"updateAriaInfo":[64]},[[16,"calciteInternalTabChange","internalTabChangeHandler"],[0,"click","onClick"],[0,"keydown","keyDownHandler"]]],[1,"calcite-shell-panel",{"collapsed":[516],"detached":[516],"detachedHeightScale":[513,"detached-height-scale"],"widthScale":[513,"width-scale"],"position":[513],"resizable":[516],"messages":[1040],"messageOverrides":[1040],"contentWidth":[32],"defaultMessages":[32],"effectiveLocale":[32]}],[1,"calcite-tab",{"tab":[513],"selected":[1540],"scale":[1537],"labeledBy":[32],"getTabIndex":[64],"updateAriaInfo":[64]},[[16,"calciteInternalTabChange","internalTabChangeHandler"]]],[1,"calcite-tab-nav",{"storageId":[513,"storage-id"],"syncId":[513,"sync-id"],"selectedTitle":[1040],"scale":[1537],"layout":[1537],"position":[1537],"bordered":[1540],"indicatorOffset":[1026,"indicator-offset"],"indicatorWidth":[1026,"indicator-width"],"selectedTabId":[32]},[[0,"calciteInternalTabsFocusPrevious","focusPreviousTabHandler"],[0,"calciteInternalTabsFocusNext","focusNextTabHandler"],[0,"calciteInternalTabsFocusFirst","focusFirstTabHandler"],[0,"calciteInternalTabsFocusLast","focusLastTabHandler"],[0,"calciteInternalTabsActivate","internalActivateTabHandler"],[0,"calciteTabsActivate","activateTabHandler"],[0,"calciteInternalTabTitleRegister","updateTabTitles"],[16,"calciteInternalTabChange","globalInternalTabChangeHandler"],[0,"calciteInternalTabIconChanged","iconStartChangeHandler"]]],[1,"calcite-tabs",{"layout":[513],"position":[513],"scale":[513],"bordered":[4],"titles":[32],"tabs":[32]},[[0,"calciteInternalTabTitleRegister","calciteInternalTabTitleRegister"],[16,"calciteTabTitleUnregister","calciteTabTitleUnregister"],[0,"calciteInternalTabRegister","calciteInternalTabRegister"],[16,"calciteTabUnregister","calciteTabUnregister"]]],[1,"calcite-value-list",{"disabled":[516],"dragEnabled":[516,"drag-enabled"],"filteredItems":[1040],"filteredData":[1040],"filterEnabled":[516,"filter-enabled"],"filterPlaceholder":[513,"filter-placeholder"],"filterText":[1537,"filter-text"],"group":[513],"loading":[516],"multiple":[516],"selectionFollowsFocus":[516,"selection-follows-focus"],"messageOverrides":[1040],"messages":[1040],"dataForFilter":[32],"defaultMessages":[32],"effectiveLocale":[32],"selectedValues":[32],"getSelectedItems":[64],"setFocus":[64]},[[0,"focusout","calciteListFocusOutHandler"],[0,"calciteListItemRemove","calciteListItemRemoveHandler"],[0,"calciteListItemChange","calciteListItemChangeHandler"],[0,"calciteInternalListItemPropsChange","calciteInternalListItemPropsChangeHandler"],[0,"calciteInternalListItemValueChange","calciteInternalListItemValueChangeHandler"],[0,"calciteValueListItemDragHandleBlur","handleValueListItemBlur"]]]]]]'),e))));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@esri/solutions-components",
3
- "version": "0.5.14",
3
+ "version": "0.5.15",
4
4
  "description": "Web Components for Esri's Solutions Applications",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.js",
@@ -1,6 +0,0 @@
1
- /*!
2
- * Copyright 2022 Esri
3
- * Licensed under the Apache License, Version 2.0
4
- * http://www.apache.org/licenses/LICENSE-2.0
5
- */
6
- import{r as i,c as t,a as s,h as e,H as a,g as l}from"./p-f8be5d5f.js";import{a as n,b as o,c as d}from"./p-92de1de9.js";import{l as c}from"./p-d7ddd3a2.js";import{g as h,h as r}from"./p-4b426bab.js";import{s as p}from"./p-a29ba58a.js";import{g}from"./p-fc2277fe.js";import{c as b,r as m}from"./p-345f517c.js";import"./p-4ff653eb.js";import"./p-e1a4994d.js";const u=class{constructor(s){i(this,s),this.searchConfigurationChange=t(this,"searchConfigurationChange",7),this._onboardingImageUrl="",this._numSelected=0,this.addresseeLayerIds=[],this.bufferColor=[227,139,79,.8],this.bufferOutlineColor=[255,255,255],this.customLabelEnabled=void 0,this.defaultBufferDistance=void 0,this.defaultBufferUnit=void 0,this.featureEffect=void 0,this.featureHighlightEnabled=void 0,this.mapView=void 0,this.noResultText=void 0,this.searchConfiguration=void 0,this.selectionLayerIds=[],this.showRefineSelection=!1,this.showSearchSettings=!0,this.sketchLineSymbol=void 0,this.sketchPointSymbol=void 0,this.sketchPolygonSymbol=void 0,this._addMap=!1,this._addTitle=!1,this._downloadActive=!0,this._exportType=n.PDF,this._isMobile=void 0,this._numDuplicates=0,this._pageType=o.LIST,this._saveEnabled=!1,this._selectionSets=[],this._translations=void 0}async mapViewWatchHandler(i){(null==i?void 0:i.popup)&&(this._popupsEnabled=null==i?void 0:i.popup.autoOpenEnabled)}async watchSearchConfigurationHandler(i,t){const s=JSON.stringify(i);s!==JSON.stringify(t)&&(this._searchConfiguration=JSON.parse(s),this.searchConfigurationChange.emit(this._searchConfiguration),this._home())}async sketchLineSymbolWatchHandler(i,t){i&&JSON.stringify(i)!==JSON.stringify(t)&&this._setLineSymbol(i)}async sketchPointSymbolWatchHandler(i,t){i&&JSON.stringify(i)!==JSON.stringify(t)&&this._setPointSymbol(i)}async sketchPolygonSymbolWatchHandler(i,t){i&&JSON.stringify(i)!==JSON.stringify(t)&&this._setPolygonSymbol(i)}async pageTypeWatchHandler(i,t){var s;if(this._checkPopups(),(null===(s=this.mapView)||void 0===s?void 0:s.popup)&&(this.mapView.popup.autoOpenEnabled=i===o.LIST&&this._popupsEnabled),i===o.EXPORT&&(this._numDuplicates=await this._getNumDuplicates()),this._clearHighlight(),t!==o.SELECT&&t!==o.REFINE||await this._clearSelection(),i!==o.SELECT)return this._highlightFeatures()}selectionSetsChanged(i){this._selectionSets=[...i.detail]}connectedCallback(){this._mediaQuery=window.matchMedia("(max-width: 600px)"),this._mediaQuery.addEventListener("change",(i=>this._setIsMobile(i)))}async componentWillLoad(){await this._getTranslations(),await this._initModules(),this._initSymbols(),this._onboardingImageUrl=s("../assets/data/images/onboarding.png")}render(){return e(a,null,e("calcite-shell",null,e("calcite-action-bar",{class:"border-bottom-1 action-bar-size","expand-disabled":!0,layout:"horizontal",slot:this._isMobile?"footer":"header"},this._getActionGroup("list-check",o.LIST,this._translations.myLists),this.showRefineSelection?this._getActionGroup("test-data",o.REFINE,this._translations.refineSelection):null,this._getActionGroup("export",o.EXPORT,this._translations.export)),this._getPage(this._pageType)))}disconnectedCallback(){this._mediaQuery.removeEventListener("change",(i=>this._setIsMobile(i)))}async _initModules(){const[i,t]=await c(["esri/geometry/geometryEngine","esri/symbols/support/jsonUtils"]);this._geometryEngine=i,this._jsonUtils=t}_initSymbols(){this._setLineSymbol(this.sketchLineSymbol),this._setPointSymbol(this.sketchPointSymbol),this._setPolygonSymbol(this.sketchPolygonSymbol)}_setLineSymbol(i){this.sketchLineSymbol="simple-line"===(null==i?void 0:i.type)?i:this._jsonUtils.fromJSON(i||{type:"esriSLS",color:[130,130,130,255],width:2,style:"esriSLSSolid"})}_setPointSymbol(i){this.sketchPointSymbol="simple-marker"===(null==i?void 0:i.type)?i:this._jsonUtils.fromJSON(i||{type:"esriSMS",color:[255,255,255,255],angle:0,xoffset:0,yoffset:0,size:6,style:"esriSMSCircle",outline:{type:"esriSLS",color:[50,50,50,255],width:1,style:"esriSLSSolid"}})}_setPolygonSymbol(i){this.sketchPolygonSymbol="simple-fill"===(null==i?void 0:i.type)?i:this._jsonUtils.fromJSON(i||{type:"esriSFS",color:[150,150,150,51],outline:{type:"esriSLS",color:[50,50,50,255],width:2,style:"esriSLSSolid"},style:"esriSFSSolid"})}_setIsMobile(i){this._isMobile=i.matches}_getActionGroup(i,t,s){return e("calcite-action-group",{class:"action-center"+(this.showRefineSelection?" w-1-3":" w-1-2"),layout:"horizontal"},e("calcite-action",{active:this._pageType===t,alignment:"center",class:"width-full height-full",compact:!1,icon:i,id:i,onClick:()=>{this._setPageType(t)},text:""}),e("calcite-tooltip",{label:"",placement:"bottom","reference-element":i},e("span",null,s)))}_setPageType(i){this._pageType=i}_getPage(i){let t;switch(i){case o.LIST:t=this._getListPage();break;case o.SELECT:t=this._getSelectPage();break;case o.EXPORT:t=this._getExportPage();break;case o.REFINE:t=this._getRefinePage()}return t}_getListPage(){const i=this._hasSelections();return e("calcite-panel",null,this._getLabel(this._translations.myLists),this._getNotice(i?this._translations.listHasSetsTip:this._translations.selectLayerAndAdd,"padding-sides-1 padding-bottom-1"),i?this._getSelectionSetList():this._getOnboardingImage(),e("div",{class:"display-flex padding-1"},e("calcite-button",{onClick:()=>{this._setPageType(o.SELECT)},width:"full"},this._translations.add)))}_getOnboardingImage(){return e("div",{class:"display-flex padding-sides-1"},e("img",{class:"img-container",src:this._onboardingImageUrl}))}_getSelectionSetList(){return e("div",{class:"padding-top-1-2 padding-bottom-1-2"},e("calcite-list",{class:"list-border margin-sides-1"},this._selectionSets.reduce(((i,t,s)=>{var a;const l=this._getSelectionSetIds(t);let n=!0;return t.workflowType===d.REFINE&&(n=Object.keys(t.refineInfos).reduce(((i,s)=>{const e=t.refineInfos[s];return i+(e.addIds.length+e.removeIds.length)}),0)>0),n&&i.push(e("calcite-list-item",{label:t.label,onClick:()=>this._gotoSelection(t,this.mapView)},e("div",{slot:"content"},e("div",{class:"list-label"},t.label),e("div",{class:"list-description"},null===(a=null==t?void 0:t.layerView)||void 0===a?void 0:a.layer.title),e("div",{class:"list-description"},this._translations.selectedFeatures.replace("{{n}}",l.length.toString()))),this._getAction(!0,"pencil","",(i=>this._openSelection(t,i)),!1,"actions-end"),this._getAction(!0,"x","",(i=>this._deleteSelection(s,i)),!1,"actions-end"))),i}),[])))}_getSelectionSetIds(i){return i.workflowType!==d.REFINE?i.selectedIds:Object.keys(i.refineInfos).reduce(((t,s)=>[...t,...i.refineInfos[s].addIds]),[])}_hasSelections(i=!1){let t=[];const s=this._selectionSets.some((i=>{if(i.workflowType===d.REFINE)return t=this._getSelectionSetIds(i),!0}));return i&&s?t.length>0||this._selectionSets.length>1:this._selectionSets.length>0}async _getNumDuplicates(){const i=this._getExportInfos(),t=await b(i),s=m(t);return t.length-s.length}_getExportInfos(){return this._selectionSets.reduce(((i,t)=>(t.download&&(t.workflowType!==d.REFINE?this._updateIds(t.layerView.layer.id,t.layerView,t.selectedIds,i):Object.keys(t.refineInfos).forEach((s=>{const e=t.refineInfos[s];e.addIds.length>0&&this._updateIds(s,e.layerView,e.addIds,i)}))),i)),{})}_updateIds(i,t,s,e){return e[i]?e[i].ids=e[i].ids.concat(s):e[i]={layerView:t,ids:s},e}_getSelectPage(){const i=this._translations.selectSearchTip;return e("calcite-panel",null,this._getLabel(this._translations.stepTwoFull,!0),this._getNotice(i),e("div",null,e("map-select-tools",{bufferColor:this.bufferColor,bufferOutlineColor:this.bufferOutlineColor,class:"font-bold",customLabelEnabled:this.customLabelEnabled,defaultBufferDistance:this.defaultBufferDistance,defaultBufferUnit:this.defaultBufferUnit,enabledLayerIds:this.addresseeLayerIds,isUpdate:!!this._activeSelection,mapView:this.mapView,noResultText:this.noResultText,onSelectionSetChange:i=>this._updateForSelection(i),ref:i=>{this._selectTools=i},searchConfiguration:this._searchConfiguration,selectionLayerIds:this.selectionLayerIds,selectionSet:this._activeSelection,sketchLineSymbol:this.sketchLineSymbol,sketchPointSymbol:this.sketchPointSymbol,sketchPolygonSymbol:this.sketchPolygonSymbol})),this._getPageNavButtons(this._translations.done,0===this._numSelected,(()=>{this._saveSelection()}),this._translations.cancel,!1,(()=>{this._home()})))}_getExportPage(){const i=this._hasSelections(this.showRefineSelection),t=this._numDuplicates>0?"display-block":"display-none";return e("calcite-panel",null,e("div",null,this._getLabel(this._translations.export,!1),i?e("div",null,this._getNotice(this._translations.exportTip,"padding-sides-1"),this._getLabel(this._translations.exportListsLabel),this._getExportSelectionLists(),e("div",{class:"padding-sides-1 "+t},e("div",{class:"display-flex"},e("calcite-label",{layout:"inline"},e("calcite-checkbox",{ref:i=>{this._removeDuplicates=i}}),e("div",{class:"display-flex"},this._translations.removeDuplicate,e("div",{class:"info-message padding-start-1-2"},e("calcite-input-message",{class:"info-blue margin-top-0",scale:"m"},` ${this._translations.numDuplicates.replace("{{n}}",this._numDuplicates.toString())}`)))),e("calcite-icon",{class:"padding-start-1-2 icon",icon:"question",id:"remove-duplicates-icon",scale:"s"})),e("calcite-popover",{closable:!0,label:"",referenceElement:"remove-duplicates-icon"},e("span",{class:"tooltip-message"},this._translations.duplicatesTip))),e("div",{class:"border-bottom"}),e("div",{class:"padding-top-sides-1"},e("calcite-segmented-control",{class:"w-100",onCalciteSegmentedControlChange:i=>this._exportTypeChange(i)},e("calcite-segmented-control-item",{checked:this._exportType===n.PDF,class:"w-50 end-border",value:n.PDF},this._translations.pdf),e("calcite-segmented-control-item",{checked:this._exportType===n.CSV,class:"w-50",value:n.CSV},this._translations.csv))),e("div",{class:"padding-bottom-1"},this._getExportOptions()),e("div",{class:"padding-1 display-flex"},e("calcite-button",{disabled:!this._downloadActive,onClick:()=>{this._export()},width:"full"},this._translations.export))):this._getNotice(this._translations.downloadNoLists,"padding-sides-1 padding-bottom-1")))}_exportTypeChange(i){this._exportType=i.target.value}_getExportOptions(){const i=this._addTitle?"display-block":"display-none";return e("div",{class:this._exportType===n.PDF?"display-block":"display-none"},this._getLabel(this._translations.pdfOptions,!0),e("div",{class:"padding-top-sides-1"},e("calcite-label",{class:"label-margin-0"},this._translations.selectPDFLabelOption)),e("div",{class:"padding-sides-1"},e("pdf-download",{disabled:!this._downloadActive,ref:i=>{this._downloadTools=i}})),e("div",{class:"padding-top-sides-1"},e("calcite-label",{class:"label-margin-0",layout:"inline"},e("calcite-checkbox",{checked:this._addTitle,onCalciteCheckboxChange:()=>this._addTitle=!this._addTitle}),this._translations.addTitle)),e("div",{class:i},this._getLabel(this._translations.title,!0,""),e("calcite-input-text",{class:"padding-sides-1",placeholder:this._translations.titlePlaceholder,ref:i=>{this._title=i}})),e("div",{class:"padding-top-sides-1"},e("calcite-label",{class:"label-margin-0",layout:"inline"},e("calcite-checkbox",{checked:this._addMap,onCalciteCheckboxChange:()=>this._addMap=!this._addMap}),this._translations.includeMap)))}_getRefinePage(){const i=this._hasSelections();return e("calcite-panel",null,this._getLabel(this._translations.refineSelection),i?e("div",null,this._getNotice(this._translations.refineTip,"padding-sides-1"),e("refine-selection",{enabledLayerIds:this.selectionLayerIds,mapView:this.mapView,selectionSets:this._selectionSets,sketchLineSymbol:this.sketchLineSymbol,sketchPointSymbol:this.sketchPointSymbol,sketchPolygonSymbol:this.sketchPolygonSymbol})):this._getNotice(this._translations.refineTipNoSelections,"padding-sides-1"))}_getPageNavButtons(i,t,s,a,l,n){return e("div",{class:"padding-bottom-1"},e("div",{class:"display-flex padding-top-sides-1"},e("calcite-button",{disabled:t,onClick:s,width:"full"},i)),e("div",{class:"display-flex padding-top-1-2 padding-sides-1"},e("calcite-button",{appearance:"outline",disabled:l,onClick:n,width:"full"},a)))}_getNotice(i,t="padding-1"){return e("calcite-notice",{class:t,icon:"lightbulb",kind:"success",open:!0},e("div",{slot:"message"},i))}_getLabel(i,t=!1,s="font-bold"){return e("div",{class:"padding-top-sides-1"},e("calcite-label",{class:s+=t?" label-margin-0":""},i))}_getExportSelectionLists(){return this._selectionSets.reduce(((i,t)=>{var s;const a=this._getSelectionSetIds(t),l=t.workflowType!==d.REFINE||a.length>0;return!this._downloadActive&&t.download&&l&&(this._downloadActive=!0),l&&i.push(e("div",{class:"display-flex padding-sides-1 padding-bottom-1"},e("calcite-checkbox",{checked:t.download,class:"align-center",onClick:()=>{this._toggleDownload(t.id)}}),e("calcite-list",{class:"list-border margin-start-1-2 width-full",id:"download-list"},e("calcite-list-item",{disabled:!t.download,label:t.label,onClick:()=>{this._toggleDownload(t.id)}},e("div",{slot:"content"},e("div",{class:"list-label"},t.label),e("div",{class:"list-description"},null===(s=null==t?void 0:t.layerView)||void 0===s?void 0:s.layer.title),e("div",{class:"list-description"},this._translations.selectedFeatures.replace("{{n}}",a.length.toString()))))))),i}),[])||e("div",null)}async _toggleDownload(i){let t=!1;this._selectionSets=this._selectionSets.map((s=>(s.download=s.id===i?!s.download:s.download,t=!!s.download||t,s))),this._downloadActive=t,this._numDuplicates=await this._getNumDuplicates(),await this._highlightFeatures()}async _export(){const i=this._getSelectionIdsAndViews(this._selectionSets,!0);if(this._exportType===n.PDF){let t="";if(this._addMap&&this.mapView){const i=await this.mapView.takeScreenshot({width:1500,height:2e3});t=null==i?void 0:i.dataUrl}this._downloadTools.downloadPDF(i,this._removeDuplicates.checked,this._addTitle?this._title.value:"",t)}this._exportType===n.CSV&&this._downloadTools.downloadCSV(i,this._removeDuplicates.checked)}_getSelectionIdsAndViews(i,t=!1){return(t?i.filter((i=>i.download)):i).reduce(((i,t)=>{var s;if(t.workflowType===d.REFINE)Object.keys(t.refineInfos).forEach((s=>{const e=t.refineInfos[s];e.addIds&&(i=this._updateExportInfos(i,e.layerView.layer.id,t.label,e.addIds,e.layerView))}));else{const e=null===(s=null==t?void 0:t.layerView)||void 0===s?void 0:s.layer.id;i=this._updateExportInfos(i,e,t.label,t.selectedIds,t.layerView)}return i}),{})}_updateExportInfos(i,t,s,e,a){return t&&Object.keys(i).indexOf(t)>-1?(i[t].ids=[...new Set([...i[t].ids,...e])],i[t].selectionSetNames.push(s)):t&&(i[t]={ids:e,layerView:a,selectionSetNames:[s]}),i}_getAction(i,t,s,a,l=!1,n=""){return e("calcite-action",{disabled:!i,icon:t,indicator:l,onClick:a,slot:n,text:s})}_updateForSelection(i){this._numSelected=i.detail,this._saveEnabled=this._numSelected>0}async _home(){await this._clearSelection(),this._setPageType(o.LIST)}async _saveSelection(){var i,t;const s=await(null===(i=this._selectTools)||void 0===i?void 0:i.getSelection()),e=null===(t=this._selectTools)||void 0===t?void 0:t.isUpdate;return this._selectionSets=e?this._selectionSets.map((i=>i.id===s.id?s:i)):[...this._selectionSets,s],this._home()}async _clearSelection(){var i;await(null===(i=this._selectTools)||void 0===i?void 0:i.clearSelection()),this._numSelected=0,this._activeSelection=void 0}_deleteSelection(i,t){return t.stopPropagation(),this._selectionSets=this._selectionSets.filter(((t,s)=>{if(s!==i)return t})),this._highlightFeatures()}_gotoSelection(i,t){h(i.selectedIds,i.layerView,t,this.featureHighlightEnabled,this.featureEffect)}_openSelection(i,t){t.stopPropagation(),this._activeSelection=i,this._pageType=i.workflowType===d.REFINE?o.REFINE:o.SELECT}async _highlightFeatures(){this._clearHighlight();const i=this._getSelectionIdsAndViews(this._selectionSets,this._pageType===o.EXPORT),t=Object.keys(i);if(t.length>0)for(let s=0;s<t.length;s++){const e=i[t[s]];p.highlightHandles.push(await r(e.ids,e.layerView,this.mapView))}}_checkPopups(){var i;"boolean"!=typeof this._popupsEnabled&&(this._popupsEnabled=null===(i=this.mapView)||void 0===i?void 0:i.popup.autoOpenEnabled)}_clearHighlight(){p&&p.highlightHandles&&p.removeHandles()}async _getTranslations(){const i=await g(this.el);this._translations=i[0]}get el(){return l(this)}static get watchers(){return{mapView:["mapViewWatchHandler"],searchConfiguration:["watchSearchConfigurationHandler"],sketchLineSymbol:["sketchLineSymbolWatchHandler"],sketchPointSymbol:["sketchPointSymbolWatchHandler"],sketchPolygonSymbol:["sketchPolygonSymbolWatchHandler"],_pageType:["pageTypeWatchHandler"]}}};u.style=':host{display:block;--calcite-input-message-spacing-value:0}.align-center{align-items:center}.border-bottom-1{border-width:0px;border-bottom-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3)}.action-bar-size{height:3.5rem;width:100%}.w-1-2{width:50%}.w-1-3{width:33.33%}.action-center{-webkit-box-align:center;-webkit-align-items:center;-ms-grid-row-align:center;align-items:center;align-content:center;justify-content:center}.width-full{width:100%}.height-full{height:100%}.padding-1{padding:1rem}.padding-top-sides-1{-webkit-padding-before:1rem;padding-block-start:1rem;-webkit-padding-start:1rem;padding-inline-start:1rem;-webkit-padding-end:1rem;padding-inline-end:1rem}.padding-sides-1{-webkit-padding-start:1rem;padding-inline-start:1rem;-webkit-padding-end:1rem;padding-inline-end:1rem}.padding-end-1-2{-webkit-padding-end:.5rem;padding-inline-end:.5rem}.padding-top-1-2{-webkit-padding-before:.5rem;padding-block-start:.5rem}.padding-top-1{padding-top:1rem}.padding-bottom-1{padding-bottom:1rem}.padding-bottom-1-2{padding-bottom:.5rem}.info-blue{color:#00A0FF}.info-message{justify-content:center;display:grid}.font-bold{font-weight:bold}.display-flex{display:flex}.display-block{display:block}.display-none{display:none}.border-bottom{border-bottom:1px solid var(--calcite-ui-border-2)}.padding-start-1-2{-webkit-padding-start:0.5rem;padding-inline-start:0.5rem}.list-border{border:1px solid var(--calcite-ui-border-2)}.margin-sides-1{-webkit-margin-start:1rem;margin-inline-start:1rem;-webkit-margin-end:1rem;margin-inline-end:1rem}.margin-start-1-2{-webkit-margin-start:0.5rem;margin-inline-start:0.5rem}.float-right{float:right}.float-right[dir="rtl"]{float:left}.float-left{float:left}.float-left[dir="rtl"]{float:right}.margin-top-0{-webkit-margin-before:0 !important;margin-block-start:0 !important}.height-1-1-2{height:1.5rem}.main-background{background-color:var(--calcite-ui-foreground-2)}.position-right{position:absolute;right:1rem}.position-right[dir="rtl"]{position:absolute;left:1rem}.label-margin-0{--calcite-label-margin-bottom:0}.list-label{color:var(--calcite-ui-text-1)}.list-label,.list-description{font-family:var(--calcite-sans-family);font-size:var(--calcite-font-size--2);font-weight:var(--calcite-font-weight-normal);overflow-wrap:break-word;word-break:break-word}.list-description{-webkit-margin-before:0.125rem;margin-block-start:0.125rem;color:var(--calcite-ui-text-3)}.img-container{width:100%;height:100%}';export{u as public_notification}