@arcgis/map-components 5.1.0-next.130 → 5.1.0-next.131

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,112 +1,112 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
2
  import { c as D } from "../../chunks/runtime.js";
3
- import { css as U, html as a } from "lit";
4
- import { ref as f } from "lit/directives/ref.js";
3
+ import { css as U, html as o } from "lit";
4
+ import { ref as w } from "lit/directives/ref.js";
5
5
  import { keyed as F } from "lit/directives/keyed.js";
6
6
  import C from "@arcgis/core/webmap/Bookmark.js";
7
- import y from "@arcgis/core/core/Collection.js";
8
- import b from "@arcgis/core/core/Error.js";
7
+ import T from "@arcgis/core/core/Collection.js";
8
+ import v from "@arcgis/core/core/Error.js";
9
9
  import A from "@arcgis/core/webdoc/support/SlideThumbnail.js";
10
10
  import O from "@arcgis/core/Viewpoint.js";
11
11
  import "@arcgis/core/WebMap.js";
12
- import { LitElement as z, createEvent as x, nothing as B, safeClassMap as N } from "@arcgis/lumina";
13
- import { H as L } from "../../chunks/heading.js";
12
+ import { LitElement as z, createEvent as B, nothing as x, safeClassMap as L } from "@arcgis/lumina";
13
+ import { H as N } from "../../chunks/heading.js";
14
14
  import V from "@arcgis/core/core/Accessor.js";
15
- import { property as g, subclass as P } from "@arcgis/core/core/accessorSupport/decorators.js";
16
- import { isHTTPSProtocol as _, isDataProtocol as T } from "@arcgis/core/core/urlUtils.js";
17
- import { c as q } from "../../chunks/goTo.js";
18
- import { classes as R } from "@arcgis/toolkit/dom";
15
+ import { property as p, subclass as R } from "@arcgis/core/core/accessorSupport/decorators.js";
16
+ import { isHTTPSProtocol as f, isDataProtocol as y } from "@arcgis/core/core/urlUtils.js";
17
+ import { c as P } from "../../chunks/goTo.js";
18
+ import { classes as q } from "@arcgis/toolkit/dom";
19
19
  import { formatDate as S, convertDateFormatToIntlOptions as I } from "@arcgis/core/intl.js";
20
- import { generateGuid as H } from "@arcgis/toolkit/string";
21
- import { s as Z } from "../../chunks/sr.js";
22
- import { usePropertyChange as j } from "@arcgis/lumina/controllers";
20
+ import { generateGuid as Z } from "@arcgis/toolkit/string";
21
+ import { s as j } from "../../chunks/sr.js";
22
+ import { usePropertyChange as H } from "@arcgis/lumina/controllers";
23
23
  import { u as M } from "../../chunks/useT9n.js";
24
24
  import { u as G } from "../../chunks/useView.js";
25
25
  import { watch as $ } from "@arcgis/core/core/reactiveUtils.js";
26
- var J = Object.defineProperty, K = Object.getOwnPropertyDescriptor, u = (l, e, t, i) => {
27
- for (var r = i > 1 ? void 0 : i ? K(e, t) : e, o = l.length - 1, n; o >= 0; o--)
28
- (n = l[o]) && (r = (i ? n(e, t, r) : n(r)) || r);
26
+ var J = Object.defineProperty, K = Object.getOwnPropertyDescriptor, g = (s, e, t, i) => {
27
+ for (var r = i > 1 ? void 0 : i ? K(e, t) : e, a = s.length - 1, n; a >= 0; a--)
28
+ (n = s[a]) && (r = (i ? n(e, t, r) : n(r)) || r);
29
29
  return i && r && J(e, t, r), r;
30
30
  };
31
- let m = class extends V {
32
- constructor(l) {
33
- super(l);
31
+ let u = class extends V {
32
+ constructor(s) {
33
+ super(s);
34
34
  }
35
35
  get editedBookmark() {
36
- const { bookmark: l } = this;
37
- return l ? this._get("editedBookmark") || l.clone() : null;
36
+ const { bookmark: s } = this;
37
+ return s ? this._get("editedBookmark") || s.clone() : null;
38
38
  }
39
39
  get customUrl() {
40
40
  if (this._customUrl)
41
41
  return this._customUrl;
42
- const l = this.editedBookmark?.thumbnail?.url ?? "";
43
- return l ?? (_(l) ? l : null);
42
+ const s = this.editedBookmark?.thumbnail?.url ?? "";
43
+ return s ?? (f(s) ? s : null);
44
44
  }
45
- set customUrl(l) {
46
- this._customUrl = l;
45
+ set customUrl(s) {
46
+ this._customUrl = s;
47
47
  }
48
48
  get screenshotUrl() {
49
49
  if (this._screenshotUrl)
50
50
  return this._screenshotUrl;
51
- const l = this.editedBookmark?.thumbnail?.url ?? "";
52
- return l ?? (T(l) ? l : null);
51
+ const s = this.editedBookmark?.thumbnail?.url ?? "";
52
+ return s ?? (y(s) ? s : null);
53
53
  }
54
- set screenshotUrl(l) {
55
- this._screenshotUrl = l;
54
+ set screenshotUrl(s) {
55
+ this._screenshotUrl = s;
56
56
  }
57
57
  get state() {
58
58
  return this._get("state");
59
59
  }
60
- set state(l) {
61
- this.validationState = void 0, this.creatingBookmark = void 0, this._set("state", l);
60
+ set state(s) {
61
+ this.validationState = void 0, this.creatingBookmark = void 0, this._set("state", s);
62
62
  }
63
63
  get thumbnailState() {
64
64
  if (this._thumbnailState)
65
65
  return this._thumbnailState;
66
- const l = this.editedBookmark?.thumbnail?.url;
67
- return l ? _(l) ? "url" : "screenshot" : "none";
66
+ const s = this.editedBookmark?.thumbnail?.url;
67
+ return s ? f(s) ? "url" : "screenshot" : "none";
68
68
  }
69
- set thumbnailState(l) {
70
- this._thumbnailState = l;
69
+ set thumbnailState(s) {
70
+ this._thumbnailState = s;
71
71
  }
72
72
  };
73
- u([
74
- g()
75
- ], m.prototype, "bookmark", 2);
76
- u([
77
- g({ readOnly: !0 })
78
- ], m.prototype, "editedBookmark", 1);
79
- u([
80
- g()
81
- ], m.prototype, "_customUrl", 2);
82
- u([
83
- g()
84
- ], m.prototype, "customUrl", 1);
85
- u([
86
- g()
87
- ], m.prototype, "_screenshotUrl", 2);
88
- u([
89
- g()
90
- ], m.prototype, "screenshotUrl", 1);
91
- u([
92
- g()
93
- ], m.prototype, "state", 1);
94
- u([
95
- g()
96
- ], m.prototype, "_thumbnailState", 2);
97
- u([
98
- g()
99
- ], m.prototype, "thumbnailState", 1);
100
- u([
101
- g()
102
- ], m.prototype, "validationState", 2);
103
- u([
104
- g()
105
- ], m.prototype, "creatingBookmark", 2);
106
- m = u([
107
- P("UserState")
108
- ], m);
109
- const Q = U`.esri-widget__heading{color:var(--calcite-color-text-2);margin:0 0 .5rem;font-weight:var(--calcite-font-weight-semibold)}h1.esri-widget__heading{font-size:var(--calcite-font-size-xl)}h2.esri-widget__heading{font-size:var(--calcite-font-size-md)}h3.esri-widget__heading,h4.esri-widget__heading,h5.esri-widget__heading,h6.esri-widget__heading{font-size:var(--calcite-font-size)}.esri-widget{box-sizing:border-box;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size);line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget *,.esri-widget :before,.esri-widget :after{box-sizing:inherit}.esri-widget.esri-widget--disabled>*{opacity:.4;pointer-events:none}.esri-widget.esri-widget--compact{--esri-widget-padding-y: 0;--esri-widget-padding-x: 0}.esri-widget__anchor{color:var(--calcite-color-text-2)}.esri-widget__anchor:hover{color:var(--calcite-color-text-3)}.esri-widget__anchor:hover,.esri-widget__anchor:focus{text-decoration:underline}.esri-widget__anchor--disabled{opacity:.4;pointer-events:none}.esri-widget__header{background-color:var(--calcite-color-foreground-1);flex:1 0 100%;justify-content:space-between;align-items:center;width:100%;min-height:48px;padding:12px 0 12px 15px;display:flex}.esri-widget__heading{word-break:break-word}.esri-widget__header .esri-widget__heading{width:calc(100% - 48px);text-align:initial;color:var(--calcite-color-text-1);align-items:center;margin:0;padding:0;display:flex}.esri-widget__header-button{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);border:none;flex:0 0 48px;justify-content:center;align-self:stretch;align-items:center;width:48px;padding:0;display:flex}.esri-widget__footer{background-color:var(--calcite-color-foreground-1);justify-content:center;align-items:center;width:100%;min-height:48px;display:flex}.esri-widget__footer-pagination{color:var(--calcite-color-text-2);justify-content:space-between;align-items:center;display:flex}.esri-widget__footer-pagination-previous-button,.esri-widget__footer-pagination-next-button{cursor:pointer;background-color:var(--calcite-color-foreground-1);border:0;margin:0 7px;padding:12px 15px;transition:background-color .125s ease-in-out}.esri-widget__footer-pagination-previous-button:hover,.esri-widget__footer-pagination-previous-button:focus,.esri-widget__footer-pagination-next-button:hover,.esri-widget__footer-pagination-next-button:focus{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1)}.esri-menu{visibility:hidden;z-index:1;background-clip:padding;background-color:var(--calcite-color-foreground-1);background-clip:padding-box;width:100%;max-height:0;margin:2px 0 0;padding:0;font-size:var(--calcite-font-size);line-height:var(--calcite-spacing-xl);position:absolute;top:100%;left:0;overflow:hidden;box-shadow:0 1px 2px #0000004d}.esri-menu .esri-menu__header{color:var(--calcite-color-text-inverse);background-color:var(--calcite-color-inverse);padding:6px 12px}.esri-menu__list{margin:0;padding:0;list-style:none}.esri-menu__list-item{cursor:pointer;border-top:1px solid #adadad4d;border-left:3px solid #0000;padding:.8em 1em}.esri-menu__list-item [class^=esri-icon-],.esri-menu__list-item [class*=" esri-icon-"]{padding-right:2.8px}.esri-menu__list-item:first-child{border-top:none}.esri-menu__list-item--focus,.esri-menu__list-item:hover,.esri-menu__list-item:focus{background-color:var(--calcite-color-foreground-1)}.esri-menu__list-item:active{background-color:var(--calcite-color-foreground-current)}.esri-menu__list-item--active,.esri-menu__list-item--active:hover,.esri-menu__list-item--active:focus{background-color:var(--calcite-color-foreground-1);border-left-color:var(--calcite-color-brand)}.esri-widget__table{border-collapse:collapse;color:var(--calcite-color-text-1);border:none;width:100%;line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget__table tr:nth-child(odd){background-color:var(--calcite-color-transparent)}.esri-widget__table tr:nth-child(2n){background-color:var(--calcite-color-transparent-press)}.esri-widget__table tr a{color:var(--calcite-color-text-2)}.esri-widget__table tr a:hover,.esri-widget__table tr a:focus{color:var(--calcite-color-text-1)}.esri-widget__table tr td,.esri-widget__table tr th{vertical-align:top;word-break:break-word;padding:.5em .7em;font-size:var(--calcite-font-size-sm);font-weight:var(--calcite-font-weight-regular)}.esri-widget__table tr th{text-align:left;border-right:3px solid #0000000d;width:50%}.esri-widget__table tr td{width:50%}.esri-input{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1);border:1px solid #959595;font-size:var(--calcite-font-size)}.esri-input::-ms-clear{display:none}.esri-input::placeholder{opacity:1;color:var(--calcite-color-text-2)}.esri-input:placeholder-shown{text-overflow:ellipsis}.esri-input[type=text],.esri-input[type=password],.esri-input[type=number]{height:32px;padding:0 .5em}calcite-combobox.esri-input{border:none}.esri-widget__content--empty{text-align:center;color:var(--calcite-color-border-input);flex-flow:column wrap;align-items:center;padding:18px 22px;display:flex}.esri-widget__content--empty h1.esri-widget__heading,.esri-widget__content--empty h2.esri-widget__heading,.esri-widget__content--empty h3.esri-widget__heading,.esri-widget__content--empty h4.esri-widget__heading,.esri-widget__content--empty h5.esri-widget__heading{font-weight:var(--calcite-font-weight-regular)}.esri-widget__content-illustration--empty{width:128px;padding:1rem 0}.esri-widget__content-icon--empty{width:32px;padding:.5rem 0}.esri-select{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background:var(--calcite-color-foreground-1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-8 -8 32 32' width='32' height='32'%3E%3Cpath d='M8 11.207l-4-4V5.793l4 4 4-4v1.414z' fill='%23adadad' fillrule='nonzero'/%3E%3C/svg%3E") 100% no-repeat;border:1px solid #959595;border-radius:0;width:100%;height:32px;margin:0;padding:0 .5em;font-family:inherit;font-size:.85em;display:block}.esri-select[disabled]{cursor:auto}.esri-select::-ms-expand{display:none}.esri-disabled a,.esri-disabled [role=menu],.esri-disabled [role=checkbox],.esri-disabled [class^=esri-icon-],.esri-disabled [class*=" esri-icon-"]{color:var(--calcite-color-text-3)}.keynav-mode .esri-widget:focus,.keynav-mode .esri-widget :focus{z-index:1;outline-offset:2px;outline:2px solid #adadad}.esri-widget__loader-animation{border:.15em solid #adadad4d;border-top-color:var(--calcite-color-border-input);border-radius:100%;width:1em;height:1em;font-size:var(--calcite-font-size-md);animation:1.25s linear infinite esri-rotate;display:block;transform:translateZ(0)}:dir(rtl) .esri-widget__table th{text-align:right;border-left:3px solid #0000000d;border-right:none}:dir(rtl) .esri-select{background-position:0}:dir(rtl) .esri-menu__list-item{border-left:none;border-right:3px solid #0000}:dir(rtl) .esri-menu__list-item [class^=esri-icon-],:dir(rtl) .esri-menu__list-item [class*=" esri-icon-"]{padding-left:2px;padding-right:0}:dir(rtl) .esri-menu__list-item--active{border-right-color:var(--calcite-color-brand)}.esri-icon-font-fallback-text{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}.esri-rotating{animation:1.25s linear infinite esri-rotate;transform:translateZ(0)}.esri-clearfix:before,.esri-clearfix:after{content:" ";display:table}.esri-clearfix:after{clear:both}.esri-interactive{cursor:pointer}.esri-hidden{display:none!important}.esri-invisible{visibility:hidden!important}.esri-offscreen{position:absolute;top:-999em;left:-999em}.esri-match-height{flex-direction:column;flex:auto;display:flex;overflow:hidden}:host{display:flex}.root{display:flex;flex:1 1 auto;overflow:hidden auto;transition:max-height .25s ease-in-out}:host([closed]) .root{display:none}.empty{display:flex;flex-flow:column wrap;align-items:center;padding:var(--calcite-spacing-md) var(--calcite-spacing-lg);text-align:center;color:var(--calcite-color-text-1)}.root .arcgis-widget__content--empty{background-color:var(--calcite-color-foreground-2)}.root calcite-flow-item[loading]{min-height:150px}.loader{margin-inline-end:0}.filter-no-results{padding:var(--calcite-spacing-md) var(--calcite-spacing-lg)}.bookmark-image-container{display:flex;position:relative;margin:0;margin-inline-start:var(--calcite-spacing-xs);min-width:16px;min-height:16px}.bookmark-image-container .bookmark-image{max-width:64px;overflow:hidden}.drag-enabled .bookmark-image-container{margin-inline-start:0}.no-bookmarks-heading{margin:0;margin-block-start:var(--calcite-spacing-md);font-size:var(--calcite-font-size-md);line-height:var(--calcite-font-line-height-relative-tight);font-weight:var(--calcite-font-weight-regular)}.authoring{display:flex;flex-direction:column}.authoring-image-container{display:flex;align-items:middle;justify-content:center;margin-block-end:var(--calcite-spacing-md);margin-inline-end:var(--calcite-spacing-lg);background-image:repeating-conic-gradient(#ccc 0% 25%,#fff 0% 50%);background-position:0 0,10px 10px;background-size:20px 20px;background-color:#fff;width:128px;height:128px;text-align:center}.authoring-image-container .bookmark-image{max-width:128px;max-height:128px}.form{display:flex;height:100%}.form-content{padding-block:var(--calcite-spacing-md);padding-inline:var(--calcite-spacing-lg)}.authoring-refresh-thumbnail-button{margin-block-end:var(--calcite-spacing-md)}.bookmark-content-label{color:var(--calcite-color-text-1);font-size:var(--calcite-font-size-sm);line-height:var(--calcite-font-line-height-relative-normal)}.bookmark-content calcite-table{margin-inline-start:-.25rem}.bookmark-content calcite-table,.bookmark-content calcite-table-row{--calcite-table-border-color: transparent;--calcite-color-text-1: var(--calcite-color-text-3);--calcite-table-row-background-color: transparent;pointer-events:none}`, W = y.ofType(C), X = {
73
+ g([
74
+ p()
75
+ ], u.prototype, "bookmark", 2);
76
+ g([
77
+ p({ readOnly: !0 })
78
+ ], u.prototype, "editedBookmark", 1);
79
+ g([
80
+ p()
81
+ ], u.prototype, "_customUrl", 2);
82
+ g([
83
+ p()
84
+ ], u.prototype, "customUrl", 1);
85
+ g([
86
+ p()
87
+ ], u.prototype, "_screenshotUrl", 2);
88
+ g([
89
+ p()
90
+ ], u.prototype, "screenshotUrl", 1);
91
+ g([
92
+ p()
93
+ ], u.prototype, "state", 1);
94
+ g([
95
+ p()
96
+ ], u.prototype, "_thumbnailState", 2);
97
+ g([
98
+ p()
99
+ ], u.prototype, "thumbnailState", 1);
100
+ g([
101
+ p()
102
+ ], u.prototype, "validationState", 2);
103
+ g([
104
+ p()
105
+ ], u.prototype, "creatingBookmark", 2);
106
+ u = g([
107
+ R("UserState")
108
+ ], u);
109
+ const Q = U`.esri-widget__heading{color:var(--calcite-color-text-2);margin:0 0 .5rem;font-weight:var(--calcite-font-weight-semibold)}h1.esri-widget__heading{font-size:var(--calcite-font-size-xl)}h2.esri-widget__heading{font-size:var(--calcite-font-size-md)}h3.esri-widget__heading,h4.esri-widget__heading,h5.esri-widget__heading,h6.esri-widget__heading{font-size:var(--calcite-font-size)}.esri-widget{box-sizing:border-box;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size);line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget *,.esri-widget :before,.esri-widget :after{box-sizing:inherit}.esri-widget.esri-widget--disabled>*{opacity:.4;pointer-events:none}.esri-widget.esri-widget--compact{--esri-widget-padding-y: 0;--esri-widget-padding-x: 0}.esri-widget__anchor{color:var(--calcite-color-text-2)}.esri-widget__anchor:hover{color:var(--calcite-color-text-3)}.esri-widget__anchor:hover,.esri-widget__anchor:focus{text-decoration:underline}.esri-widget__anchor--disabled{opacity:.4;pointer-events:none}.esri-widget__header{background-color:var(--calcite-color-foreground-1);flex:1 0 100%;justify-content:space-between;align-items:center;width:100%;min-height:48px;padding:12px 0 12px 15px;display:flex}.esri-widget__heading{word-break:break-word}.esri-widget__header .esri-widget__heading{width:calc(100% - 48px);text-align:initial;color:var(--calcite-color-text-1);align-items:center;margin:0;padding:0;display:flex}.esri-widget__header-button{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);border:none;flex:0 0 48px;justify-content:center;align-self:stretch;align-items:center;width:48px;padding:0;display:flex}.esri-widget__footer{background-color:var(--calcite-color-foreground-1);justify-content:center;align-items:center;width:100%;min-height:48px;display:flex}.esri-widget__footer-pagination{color:var(--calcite-color-text-2);justify-content:space-between;align-items:center;display:flex}.esri-widget__footer-pagination-previous-button,.esri-widget__footer-pagination-next-button{cursor:pointer;background-color:var(--calcite-color-foreground-1);border:0;margin:0 7px;padding:12px 15px;transition:background-color .125s ease-in-out}.esri-widget__footer-pagination-previous-button:hover,.esri-widget__footer-pagination-previous-button:focus,.esri-widget__footer-pagination-next-button:hover,.esri-widget__footer-pagination-next-button:focus{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1)}.esri-menu{visibility:hidden;z-index:1;background-clip:padding;background-color:var(--calcite-color-foreground-1);background-clip:padding-box;width:100%;max-height:0;margin:2px 0 0;padding:0;font-size:var(--calcite-font-size);line-height:var(--calcite-spacing-xl);position:absolute;top:100%;left:0;overflow:hidden;box-shadow:0 1px 2px #0000004d}.esri-menu .esri-menu__header{color:var(--calcite-color-text-inverse);background-color:var(--calcite-color-inverse);padding:6px 12px}.esri-menu__list{margin:0;padding:0;list-style:none}.esri-menu__list-item{cursor:pointer;border-top:1px solid #adadad4d;border-left:3px solid #0000;padding:.8em 1em}.esri-menu__list-item [class^=esri-icon-],.esri-menu__list-item [class*=" esri-icon-"]{padding-right:2.8px}.esri-menu__list-item:first-child{border-top:none}.esri-menu__list-item--focus,.esri-menu__list-item:hover,.esri-menu__list-item:focus{background-color:var(--calcite-color-foreground-1)}.esri-menu__list-item:active{background-color:var(--calcite-color-foreground-current)}.esri-menu__list-item--active,.esri-menu__list-item--active:hover,.esri-menu__list-item--active:focus{background-color:var(--calcite-color-foreground-1);border-left-color:var(--calcite-color-brand)}.esri-widget__table{border-collapse:collapse;color:var(--calcite-color-text-1);border:none;width:100%;line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget__table tr:nth-child(odd){background-color:var(--calcite-color-transparent)}.esri-widget__table tr:nth-child(2n){background-color:var(--calcite-color-transparent-press)}.esri-widget__table tr a{color:var(--calcite-color-text-2)}.esri-widget__table tr a:hover,.esri-widget__table tr a:focus{color:var(--calcite-color-text-1)}.esri-widget__table tr td,.esri-widget__table tr th{vertical-align:top;word-break:break-word;padding:.5em .7em;font-size:var(--calcite-font-size-sm);font-weight:var(--calcite-font-weight-regular)}.esri-widget__table tr th{text-align:left;border-right:3px solid #0000000d;width:50%}.esri-widget__table tr td{width:50%}.esri-input{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1);border:1px solid #959595;font-size:var(--calcite-font-size)}.esri-input::-ms-clear{display:none}.esri-input::placeholder{opacity:1;color:var(--calcite-color-text-2)}.esri-input:placeholder-shown{text-overflow:ellipsis}.esri-input[type=text],.esri-input[type=password],.esri-input[type=number]{height:32px;padding:0 .5em}calcite-combobox.esri-input{border:none}.esri-widget__content--empty{text-align:center;color:var(--calcite-color-border-input);flex-flow:column wrap;align-items:center;padding:18px 22px;display:flex}.esri-widget__content--empty h1.esri-widget__heading,.esri-widget__content--empty h2.esri-widget__heading,.esri-widget__content--empty h3.esri-widget__heading,.esri-widget__content--empty h4.esri-widget__heading,.esri-widget__content--empty h5.esri-widget__heading{font-weight:var(--calcite-font-weight-regular)}.esri-widget__content-illustration--empty{width:128px;padding:1rem 0}.esri-widget__content-icon--empty{width:32px;padding:.5rem 0}.esri-select{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background:var(--calcite-color-foreground-1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-8 -8 32 32' width='32' height='32'%3E%3Cpath d='M8 11.207l-4-4V5.793l4 4 4-4v1.414z' fill='%23adadad' fillrule='nonzero'/%3E%3C/svg%3E") 100% no-repeat;border:1px solid #959595;border-radius:0;width:100%;height:32px;margin:0;padding:0 .5em;font-family:inherit;font-size:.85em;display:block}.esri-select[disabled]{cursor:auto}.esri-select::-ms-expand{display:none}.esri-disabled a,.esri-disabled [role=menu],.esri-disabled [role=checkbox],.esri-disabled [class^=esri-icon-],.esri-disabled [class*=" esri-icon-"]{color:var(--calcite-color-text-3)}.keynav-mode .esri-widget:focus,.keynav-mode .esri-widget :focus{z-index:1;outline-offset:2px;outline:2px solid #adadad}.esri-widget__loader-animation{border:.15em solid #adadad4d;border-top-color:var(--calcite-color-border-input);border-radius:100%;width:1em;height:1em;font-size:var(--calcite-font-size-md);animation:1.25s linear infinite esri-rotate;display:block;transform:translateZ(0)}:dir(rtl) .esri-widget__table th{text-align:right;border-left:3px solid #0000000d;border-right:none}:dir(rtl) .esri-select{background-position:0}:dir(rtl) .esri-menu__list-item{border-left:none;border-right:3px solid #0000}:dir(rtl) .esri-menu__list-item [class^=esri-icon-],:dir(rtl) .esri-menu__list-item [class*=" esri-icon-"]{padding-left:2px;padding-right:0}:dir(rtl) .esri-menu__list-item--active{border-right-color:var(--calcite-color-brand)}.esri-icon-font-fallback-text{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}.esri-rotating{animation:1.25s linear infinite esri-rotate;transform:translateZ(0)}.esri-clearfix:before,.esri-clearfix:after{content:" ";display:table}.esri-clearfix:after{clear:both}.esri-interactive{cursor:pointer}.esri-hidden{display:none!important}.esri-invisible{visibility:hidden!important}.esri-offscreen{position:absolute;top:-999em;left:-999em}.esri-match-height{flex-direction:column;flex:auto;display:flex;overflow:hidden}:host{display:flex}.root{display:flex;flex:1 1 auto;overflow:hidden auto;transition:max-height .25s ease-in-out}:host([closed]) .root{display:none}.empty{display:flex;flex-flow:column wrap;align-items:center;padding:var(--calcite-spacing-md) var(--calcite-spacing-lg);text-align:center;color:var(--calcite-color-text-1)}.root .arcgis-widget__content--empty{background-color:var(--calcite-color-foreground-2)}.root calcite-flow-item[loading]{min-height:150px}.loader{margin-inline-end:0}.filter-no-results{padding:var(--calcite-spacing-md) var(--calcite-spacing-lg)}.bookmark-image-container{display:flex;position:relative;margin:0;margin-inline-start:var(--calcite-spacing-xs);min-width:16px;min-height:16px}.bookmark-image-container .bookmark-image{max-width:64px;overflow:hidden}.drag-enabled .bookmark-image-container{margin-inline-start:0}.no-bookmarks-heading{margin:0;margin-block-start:var(--calcite-spacing-md);font-size:var(--calcite-font-size-md);line-height:var(--calcite-font-line-height-relative-tight);font-weight:var(--calcite-font-weight-regular)}.authoring{display:flex;flex-direction:column}.authoring-image-container{display:flex;align-items:middle;justify-content:center;margin-block-end:var(--calcite-spacing-md);margin-inline-end:var(--calcite-spacing-lg);background-image:repeating-conic-gradient(#ccc 0% 25%,#fff 0% 50%);background-position:0 0,10px 10px;background-size:20px 20px;background-color:#fff;width:128px;height:128px;text-align:center}.authoring-image-container .bookmark-image{max-width:128px;max-height:128px}.form{display:flex;height:100%}.form-content{padding-block:var(--calcite-spacing-md);padding-inline:var(--calcite-spacing-lg)}.authoring-refresh-thumbnail-button{margin-block-end:var(--calcite-spacing-md)}.bookmark-content-label{color:var(--calcite-color-text-1);font-size:var(--calcite-font-size-sm);line-height:var(--calcite-font-line-height-relative-normal)}.bookmark-content calcite-table{margin-inline-start:-.25rem}.bookmark-content calcite-table,.bookmark-content calcite-table-row{--calcite-table-border-color: transparent;--calcite-color-text-1: var(--calcite-color-text-3);--calcite-table-row-background-color: transparent;pointer-events:none}`, W = T.ofType(C), X = {
110
110
  width: 128,
111
111
  height: 128,
112
112
  format: "png"
@@ -119,19 +119,22 @@ const Q = U`.esri-widget__heading{color:var(--calcite-color-text-2);margin:0 0 .
119
119
  };
120
120
  class Y extends z {
121
121
  constructor() {
122
- super(...arguments), this._bookmarks = null, this._defaultCreateOptions = { ...E }, this._defaultEditOptions = { ...E }, this._defaultBookmarks = new W(), this._guid = H(), this._addInputNode = null, this._editInputNode = null, this._urlEditInputNode = null, this._lastDragDetail = null, this.messages = M({}), this._storeEditFlowItemNode = (e) => {
122
+ super(...arguments), this._bookmarks = null, this._defaultCreateOptions = { ...E }, this._defaultEditOptions = { ...E }, this._defaultBookmarks = new W(), this._guid = Z(), this._addInputNode = null, this._editInputNode = null, this._urlEditInputNode = null, this._lastDragDetail = null, this.messages = M({}), this._storeEditFlowItemNode = (e) => {
123
123
  this._editFlowItemEl = e;
124
124
  }, this._storeRootFlowItem = (e) => {
125
125
  this._rootFlowItemEl = e;
126
126
  }, this._storeAddFlowItemNode = (e) => {
127
127
  this._addFlowItemEl = e;
128
- }, this._activeBookmark = null, this._userState = null, this._userCreatingBookmark = !1, this.editIncludeTimeExtent = !1, this.view = G(this), this.icon = "bookmark", this.closed = !1, this.disabled = !1, this.dragEnabled = !1, this.filterPlaceholder = "", this.filterText = "", this.headingLevel = 2, this.showAddBookmarkButton = !1, this.showCloseButton = !1, this.showCollapseButton = !1, this.showEditBookmarkButton = !1, this.showFilter = !1, this.showHeading = !1, this.hideThumbnail = !1, this.hideTime = !1, this.timeDisabled = !1, this.autoDestroyDisabled = !1, this.state = this._state, this.arcgisBookmarkEdit = x(), this.arcgisBookmarkSelect = x(), this.arcgisPropertyChange = j()("state"), this.arcgisReady = x(), this.arcgisClose = x();
128
+ }, this._updateTimeExtentLayout = (e) => {
129
+ const t = e[0]?.contentRect.width;
130
+ this._useStackedTimeExtentRows = (t ?? 0) < 300;
131
+ }, this._activeBookmark = null, this._userState = null, this._userCreatingBookmark = !1, this.editIncludeTimeExtent = !1, this._useStackedTimeExtentRows = !1, this.view = G(this), this.icon = "bookmark", this.closed = !1, this.disabled = !1, this.dragEnabled = !1, this.filterPlaceholder = "", this.filterText = "", this.headingLevel = 2, this.showAddBookmarkButton = !1, this.showCloseButton = !1, this.showCollapseButton = !1, this.showEditBookmarkButton = !1, this.showFilter = !1, this.showHeading = !1, this.hideThumbnail = !1, this.hideTime = !1, this.timeDisabled = !1, this.autoDestroyDisabled = !1, this.state = this._state, this.arcgisBookmarkEdit = B(), this.arcgisBookmarkSelect = B(), this.arcgisPropertyChange = H()("state"), this.arcgisReady = B(), this.arcgisClose = B();
129
132
  }
130
133
  static {
131
- this.properties = { _bookmarkSelectedMessage: 16, _activeBookmark: 16, _userState: 16, _userStateValue: 16, _userValidationState: 16, _userThumbnailState: 16, _userCreatingBookmark: 16, editIncludeTimeExtent: 16, _state: 16, view: 0, referenceElement: 1, icon: 1, closed: 7, defaultCreateOptions: 0, defaultEditOptions: 0, bookmarks: [1, { type: y }], disabled: 5, dragEnabled: 5, filterPlaceholder: 1, filterText: 1, headingLevel: 9, goToOverride: 0, showAddBookmarkButton: 5, showCloseButton: 5, showCollapseButton: 5, showEditBookmarkButton: 5, showFilter: 5, showHeading: 5, hideThumbnail: 5, hideTime: 5, timeDisabled: 5, autoDestroyDisabled: 5, messageOverrides: 0, label: 1, state: 32 };
134
+ this.properties = { _bookmarkSelectedMessage: 16, _activeBookmark: 16, _userState: 16, _userStateValue: 16, _userValidationState: 16, _userThumbnailState: 16, _userCreatingBookmark: 16, editIncludeTimeExtent: 16, _useStackedTimeExtentRows: 16, _state: 16, view: 0, referenceElement: 1, icon: 1, closed: 7, defaultCreateOptions: 0, defaultEditOptions: 0, bookmarks: [1, { type: T }], disabled: 5, dragEnabled: 5, filterPlaceholder: 1, filterText: 1, headingLevel: 9, goToOverride: 0, showAddBookmarkButton: 5, showCloseButton: 5, showCollapseButton: 5, showEditBookmarkButton: 5, showFilter: 5, showHeading: 5, hideThumbnail: 5, hideTime: 5, timeDisabled: 5, autoDestroyDisabled: 5, messageOverrides: 0, label: 1, state: 32 };
132
135
  }
133
136
  static {
134
- this.styles = [Q, Z];
137
+ this.styles = [Q, j];
135
138
  }
136
139
  get _state() {
137
140
  const { view: e } = this;
@@ -153,7 +156,7 @@ class Y extends z {
153
156
  return this._bookmarks ?? this.view?.map?.bookmarks ?? this._defaultBookmarks;
154
157
  }
155
158
  set bookmarks(e) {
156
- this._bookmarks = y.isCollection(e) ? e : new y(e);
159
+ this._bookmarks = T.isCollection(e) ? e : new T(e);
157
160
  }
158
161
  async destroy() {
159
162
  await this.manager.destroy(), this._activeBookmark = null;
@@ -161,17 +164,20 @@ class Y extends z {
161
164
  goTo(e) {
162
165
  const { view: t } = this;
163
166
  if (!t)
164
- throw new b("go-to:invalid-view", "Cannot go to a bookmark without a view");
167
+ throw new v("go-to:invalid-view", "Cannot go to a bookmark without a view");
165
168
  const i = e?.viewpoint;
166
169
  if (!i)
167
- throw new b("go-to:invalid-bookmark", "Cannot go to a bookmark that does not contain a 'viewpoint'.", {
170
+ throw new v("go-to:invalid-bookmark", "Cannot go to a bookmark that does not contain a 'viewpoint'.", {
168
171
  bookmark: e
169
172
  });
170
173
  this._activeBookmark = e;
171
- const r = q({ target: i }, t, this.goToOverride), o = e?.timeExtent;
172
- return !this.timeDisabled && o && (t.timeExtent = o), this.arcgisBookmarkSelect.emit({ bookmark: e }), this._bookmarkSelectedMessage = this.messages?.bookmarkSelected?.replace("{bookmarkName}", e.name), r.catch(() => {
174
+ const r = P({ target: i }, t, this.goToOverride), a = e?.timeExtent;
175
+ return !this.timeDisabled && a && (t.timeExtent = a), this.arcgisBookmarkSelect.emit({ bookmark: e }), this._bookmarkSelectedMessage = this.messages?.bookmarkSelected?.replace("{bookmarkName}", e.name), r.catch(() => {
173
176
  }).then(() => this._activeBookmark = null), r;
174
177
  }
178
+ connectedCallback() {
179
+ super.connectedCallback(), this._resizeObserver = new ResizeObserver(this._updateTimeExtentLayout), this._resizeObserver.observe(this.el);
180
+ }
175
181
  loaded() {
176
182
  this.manager.onLifecycle(() => [
177
183
  $(() => this._userState?.state, (e) => this._userStateValue = e, { initial: !0 }),
@@ -180,19 +186,22 @@ class Y extends z {
180
186
  $(() => this._userState?.creatingBookmark, (e) => this._userCreatingBookmark = !!e, { initial: !0 })
181
187
  ]);
182
188
  }
189
+ disconnectedCallback() {
190
+ this._resizeObserver?.disconnect(), this._resizeObserver = void 0, super.disconnectedCallback();
191
+ }
183
192
  async _createBookmark(e) {
184
193
  const { view: t, defaultCreateOptions: i } = this;
185
194
  if (!t)
186
- throw new b("create-bookmark:invalid-view", "Cannot create a bookmark without a view.");
187
- const { takeScreenshot: r, screenshotSettings: o, captureViewpoint: n, captureRotation: s, captureScale: c, captureTimeExtent: h } = {
195
+ throw new v("create-bookmark:invalid-view", "Cannot create a bookmark without a view.");
196
+ const { takeScreenshot: r, screenshotSettings: a, captureViewpoint: n, captureRotation: c, captureScale: d, captureTimeExtent: m } = {
188
197
  ...i,
189
198
  ...e
190
- }, d = r ? await this._createThumbnail(o) : void 0, p = !this.timeDisabled && h && t.timeExtent != null ? t.timeExtent.clone() : void 0;
199
+ }, l = r ? await this._createThumbnail(a) : void 0, h = !this.timeDisabled && m && t.timeExtent != null ? t.timeExtent.clone() : void 0;
191
200
  return new C({
192
- ...d && { thumbnail: d },
193
- ...h && { timeExtent: p },
201
+ ...l && { thumbnail: l },
202
+ ...m && { timeExtent: h },
194
203
  ...n && {
195
- viewpoint: this._createViewpoint({ view: t, captureScale: c, captureRotation: s })
204
+ viewpoint: this._createViewpoint({ view: t, captureScale: d, captureRotation: c })
196
205
  }
197
206
  });
198
207
  }
@@ -201,17 +210,17 @@ class Y extends z {
201
210
  return e;
202
211
  const { view: i, defaultEditOptions: r } = this;
203
212
  if (!i)
204
- throw new b("edit-bookmark:invalid-view", "Cannot edit a bookmark without a view.");
205
- const { takeScreenshot: o, screenshotSettings: n, captureViewpoint: s, captureRotation: c, captureScale: h, captureTimeExtent: d } = {
213
+ throw new v("edit-bookmark:invalid-view", "Cannot edit a bookmark without a view.");
214
+ const { takeScreenshot: a, screenshotSettings: n, captureViewpoint: c, captureRotation: d, captureScale: m, captureTimeExtent: l } = {
206
215
  ...r,
207
216
  ...t
208
- }, p = o ? await this._createThumbnail(n) : void 0;
209
- return p && (e.thumbnail = p), s && (e.viewpoint = this._createViewpoint({ view: i, captureScale: h, captureRotation: c })), d && i.timeExtent != null && (e.timeExtent = i.timeExtent.clone()), this.arcgisBookmarkEdit.emit({ bookmark: e }), e;
217
+ }, h = a ? await this._createThumbnail(n) : void 0;
218
+ return h && (e.thumbnail = h), c && (e.viewpoint = this._createViewpoint({ view: i, captureScale: m, captureRotation: d })), l && i.timeExtent != null && (e.timeExtent = i.timeExtent.clone()), this.arcgisBookmarkEdit.emit({ bookmark: e }), e;
210
219
  }
211
220
  async _createThumbnail(e) {
212
221
  const { view: t } = this;
213
222
  if (!t)
214
- throw new b("bookmark:invalid-view", "Cannot create slide thumbnail without a view");
223
+ throw new v("bookmark:invalid-view", "Cannot create slide thumbnail without a view");
215
224
  const i = await t.takeScreenshot({
216
225
  ...X,
217
226
  ...e
@@ -230,7 +239,7 @@ class Y extends z {
230
239
  this.closed = !0, this.arcgisClose.emit();
231
240
  }
232
241
  startAddBookmark() {
233
- this._userState = new m({
242
+ this._userState = new u({
234
243
  state: "add"
235
244
  }), requestAnimationFrame(() => {
236
245
  this._addFlowItemEl?.setFocus();
@@ -243,19 +252,19 @@ class Y extends z {
243
252
  const { hideTime: t } = this, { timeExtent: i } = e;
244
253
  if (!i)
245
254
  return {};
246
- const { start: r, end: o } = i, n = o != null && r?.getTime() !== o.getTime(), s = r ? this._formatDate(r) : "", c = r && !t ? this._formatTime(r) : "";
255
+ const { start: r, end: a } = i, n = a != null && r?.getTime() !== a.getTime(), c = r ? this._formatDate(r) : "", d = r && !t ? this._formatTime(r) : "";
247
256
  if (!n)
248
- return { startDate: s, startTime: c };
249
- const h = this._formatDate(o), d = t ? "" : this._formatTime(o);
250
- return { startDate: s, startTime: c, endDate: h, endTime: d };
257
+ return { startDate: c, startTime: d };
258
+ const m = this._formatDate(a), l = t ? "" : this._formatTime(a);
259
+ return { startDate: c, startTime: d, endDate: m, endTime: l };
251
260
  }
252
261
  _handleUrlEditInputChange() {
253
262
  const { _userState: e, _urlEditInputNode: t } = this, i = t?.value;
254
263
  if (!e?.editedBookmark || !i)
255
264
  return;
256
- e.validationState = void 0, T(e.editedBookmark.thumbnail?.url ?? "") && (e.screenshotUrl = e.editedBookmark.thumbnail?.url);
265
+ e.validationState = void 0, y(e.editedBookmark.thumbnail?.url ?? "") && (e.screenshotUrl = e.editedBookmark.thumbnail?.url);
257
266
  const r = { url: i };
258
- _(r.url) && (e.customUrl = i, e.editedBookmark.thumbnail = r);
267
+ f(r.url) && (e.customUrl = i, e.editedBookmark.thumbnail = r);
259
268
  }
260
269
  _getBookmarkTitle(e) {
261
270
  return (e?.name || this.messages.untitled) ?? "";
@@ -279,24 +288,24 @@ class Y extends z {
279
288
  });
280
289
  }
281
290
  _onCalciteListOrderChange(e) {
282
- const { _lastDragDetail: t, bookmarks: i } = this, { toEl: r, fromEl: o, dragEl: n, newIndex: s } = e;
291
+ const { _lastDragDetail: t, bookmarks: i } = this, { toEl: r, fromEl: a, dragEl: n, newIndex: c } = e;
283
292
  if (!i.length)
284
293
  return;
285
- const c = t?.newIndex === s && t?.dragEl === n && t?.toEl === r && t?.fromEl === o;
286
- if (!o || !r || c)
294
+ const d = t?.newIndex === c && t?.dragEl === n && t?.toEl === r && t?.fromEl === a;
295
+ if (!a || !r || d)
287
296
  return;
288
297
  this._lastDragDetail = e;
289
- const h = Array.from(o.children).filter((d) => d?.matches("calcite-list-item")).map((d) => d.value);
290
- i.sort((d, p) => {
291
- const w = h.indexOf(d.uid), v = h.indexOf(p.uid);
292
- return w > v ? 1 : w < v ? -1 : 0;
298
+ const m = Array.from(a.children).filter((l) => l?.matches("calcite-list-item")).map((l) => l.value);
299
+ i.sort((l, h) => {
300
+ const k = m.indexOf(l.uid), b = m.indexOf(h.uid);
301
+ return k > b ? 1 : k < b ? -1 : 0;
293
302
  });
294
303
  }
295
304
  _endAddBookmark() {
296
305
  this._clearState(), this._focusRootFlowItem();
297
306
  }
298
307
  _showEditBookmarkForm(e) {
299
- e && (this.editIncludeTimeExtent = !!e.timeExtent, this._userState = new m({
308
+ e && (this.editIncludeTimeExtent = !!e.timeExtent, this._userState = new u({
300
309
  bookmark: e,
301
310
  state: "edit"
302
311
  }), requestAnimationFrame(() => {
@@ -308,14 +317,14 @@ class Y extends z {
308
317
  }
309
318
  _storeCurrentUrl() {
310
319
  const { _userState: e } = this, t = e?.editedBookmark?.thumbnail?.url;
311
- t && (_(t) ? e.customUrl = t : T(t) && (e.screenshotUrl = t));
320
+ t && (f(t) ? e.customUrl = t : y(t) && (e.screenshotUrl = t));
312
321
  }
313
322
  async _handleThumbnailTypeSelect(e) {
314
323
  const { _userState: t } = this;
315
324
  if (!t)
316
325
  return;
317
- const { screenshotUrl: i, customUrl: r, editedBookmark: o } = t, n = e === "screenshot" ? i ?? await this._createNewScreenshotUrl() : e === "url" && r ? r : null;
318
- this._storeCurrentUrl(), o && n && (o.thumbnail = {
326
+ const { screenshotUrl: i, customUrl: r, editedBookmark: a } = t, n = e === "screenshot" ? i ?? await this._createNewScreenshotUrl() : e === "url" && r ? r : null;
327
+ this._storeCurrentUrl(), a && n && (a.thumbnail = {
319
328
  url: n
320
329
  }), t.validationState = void 0, t.thumbnailState = e;
321
330
  }
@@ -340,8 +349,8 @@ class Y extends z {
340
349
  return;
341
350
  }
342
351
  t.creatingBookmark = !0;
343
- const o = await this._createBookmark();
344
- o.name = r, i.add(o), this._endAddBookmark();
352
+ const a = await this._createBookmark();
353
+ a.name = r, i.add(a), this._endAddBookmark();
345
354
  }
346
355
  async _editBookmarkAndClose(e, t) {
347
356
  const { defaultEditOptions: i } = this;
@@ -352,7 +361,7 @@ class Y extends z {
352
361
  }
353
362
  _editBookmarkSubmit(e) {
354
363
  e.preventDefault();
355
- const { _userState: t, _editInputNode: i, editIncludeTimeExtent: r, _urlEditInputNode: o } = this;
364
+ const { _userState: t, _editInputNode: i, editIncludeTimeExtent: r, _urlEditInputNode: a } = this;
356
365
  if (!t?.bookmark || !t.editedBookmark)
357
366
  return;
358
367
  t.validationState = void 0, t.customUrl = void 0, t.screenshotUrl = void 0;
@@ -361,13 +370,13 @@ class Y extends z {
361
370
  t.validationState = "name-required";
362
371
  return;
363
372
  }
364
- if (t.bookmark.name = n, t.bookmark.thumbnail = t.editedBookmark.thumbnail, r || (t.bookmark.timeExtent = null), t.thumbnailState === "url" && o) {
365
- const c = { url: o.value };
366
- if (!_(c.url)) {
373
+ if (t.bookmark.name = n, t.bookmark.thumbnail = t.editedBookmark.thumbnail, r || (t.bookmark.timeExtent = null), t.thumbnailState === "url" && a) {
374
+ const d = { url: a.value };
375
+ if (!f(d.url)) {
367
376
  t.validationState = "absolute-url-required";
368
377
  return;
369
378
  }
370
- t.bookmark.thumbnail = c;
379
+ t.bookmark.thumbnail = d;
371
380
  } else t.thumbnailState === "none" && (t.bookmark.thumbnail = null);
372
381
  this._editBookmarkAndClose(t.bookmark, {
373
382
  takeScreenshot: !1,
@@ -404,11 +413,11 @@ class Y extends z {
404
413
  r == null || !t || !i || t.insertBefore(i, t.children[r]);
405
414
  }
406
415
  render() {
407
- return a`<div class="root"><div class="sr-only" aria-live=polite>${this._bookmarkSelectedMessage}</div>${this._renderBookmarksContainer()}</div>`;
416
+ return o`<div class="root"><div class="sr-only" aria-live=polite>${this._bookmarkSelectedMessage}</div>${this._renderBookmarksContainer()}</div>`;
408
417
  }
409
418
  _renderNoBookmarksContainer(e) {
410
419
  const { messages: t, _state: i } = this;
411
- return !e.length && i !== "loading" ? a`<div class="empty"><calcite-icon .icon=${this.icon} scale=l></calcite-icon>${L({ class: "no-bookmarks-heading", level: this.headingLevel, children: t.noBookmarksHeading })}<p class="no-bookmarks-description">${t.noBookmarksDescription}</p></div>` : null;
420
+ return !e.length && i !== "loading" ? o`<div class="empty"><calcite-icon .icon=${this.icon} scale=l></calcite-icon>${N({ class: "no-bookmarks-heading", level: this.headingLevel, children: t.noBookmarksHeading })}<p class="no-bookmarks-description">${t.noBookmarksDescription}</p></div>` : null;
412
421
  }
413
422
  _renderEditBookmarkFlowItems() {
414
423
  const e = this._userStateValue === "edit", t = this._userState?.editedBookmark;
@@ -418,124 +427,127 @@ class Y extends z {
418
427
  return e ? e.toArray().map((t) => this._renderBookmark(t)) : [];
419
428
  }
420
429
  _renderBookmarksContainer() {
421
- const { _state: e, bookmarks: t, dragEnabled: i, messages: r, disabled: o, filterPlaceholder: n, filterText: s, closed: c, headingLevel: h } = this, d = t.filter((k) => k != null), w = d.length ? a`<calcite-list class="list" display-mode=flat .dragEnabled=${i} .filterEnabled=${this.showFilter} .filterPlaceholder=${n} .filterProps=${["label", "description", "metadata"]} .filterText=${s} .group=${`bookmarks-${this._guid}`} .label=${r.componentLabel ?? ""} selection-appearance=border selection-mode=none @calciteListDragEnd=${(k) => this._handleCalciteListDragEnd(k.detail)} @calciteListFilter=${(k) => this.filterText = k.currentTarget?.filterText ?? ""} @calciteListOrderChange=${(k) => this._onCalciteListOrderChange(k.detail)}>${this._renderBookmarkItems(d)}${this.showFilter ? a`<div class="filter-no-results" slot=filter-no-results><calcite-notice kind=info open width=full><div slot=message>${r.noBookmarksHeading}</div>;</calcite-notice></div>` : null}</calcite-list>` : null, v = [
422
- a`<calcite-flow-item .closable=${this.showCloseButton} .closed=${c} .collapsible=${this.showCollapseButton} .disabled=${o} .heading=${this.showHeading ? r.componentLabel : void 0} .headingLevel=${h} .loading=${e === "loading"} .selected=${!this._userStateValue} @calciteFlowItemClose=${this._handleClose} ${f(this._storeRootFlowItem)}>${this._renderNoBookmarksContainer(d)}${w}${this._renderAddBookmarkButton()}</calcite-flow-item>`,
430
+ const { _state: e, bookmarks: t, dragEnabled: i, messages: r, disabled: a, filterPlaceholder: n, filterText: c, closed: d, headingLevel: m } = this, l = t.filter((_) => _ != null), k = l.length ? o`<calcite-list class="list" display-mode=flat .dragEnabled=${i} .filterEnabled=${this.showFilter} .filterPlaceholder=${n} .filterProps=${["label", "description", "metadata"]} .filterText=${c} .group=${`bookmarks-${this._guid}`} .label=${r.componentLabel ?? ""} selection-appearance=border selection-mode=none @calciteListDragEnd=${(_) => this._handleCalciteListDragEnd(_.detail)} @calciteListFilter=${(_) => this.filterText = _.currentTarget?.filterText ?? ""} @calciteListOrderChange=${(_) => this._onCalciteListOrderChange(_.detail)}>${this._renderBookmarkItems(l)}${this.showFilter ? o`<div class="filter-no-results" slot=filter-no-results><calcite-notice kind=info open width=full><div slot=message>${r.noBookmarksHeading}</div>;</calcite-notice></div>` : null}</calcite-list>` : null, b = [
431
+ o`<calcite-flow-item .closable=${this.showCloseButton} .closed=${d} .collapsible=${this.showCollapseButton} .disabled=${a} .heading=${this.showHeading ? r.componentLabel : void 0} .headingLevel=${m} .loading=${e === "loading"} .selected=${!this._userStateValue} @calciteFlowItemClose=${this._handleClose} ${w(this._storeRootFlowItem)}>${this._renderNoBookmarksContainer(l)}${k}${this._renderAddBookmarkButton()}</calcite-flow-item>`,
423
432
  this._renderAddingBookmark(),
424
433
  this._renderEditBookmarkFlowItems()
425
434
  ];
426
- return c ? null : a`<calcite-flow>${v}</calcite-flow>`;
435
+ return d ? null : o`<calcite-flow>${b}</calcite-flow>`;
427
436
  }
428
437
  _renderAddBookmarkButton() {
429
- const { messages: e, disabled: t, view: i, _state: r } = this, o = this._userCreatingBookmark;
430
- return i && r !== "loading" && this.showAddBookmarkButton ? a`<calcite-fab appearance=outline-fill class="add-bookmark-button" .disabled=${t || o} icon=plus kind=neutral .loading=${o} @click=${this.startAddBookmark} slot=fab .text=${e.addBookmark} text-enabled title=${e.addBookmark ?? B}></calcite-fab>` : null;
438
+ const { messages: e, disabled: t, view: i, _state: r } = this, a = this._userCreatingBookmark;
439
+ return i && r !== "loading" && this.showAddBookmarkButton ? o`<calcite-fab appearance=outline-fill class="add-bookmark-button" .disabled=${t || a} icon=plus kind=neutral .loading=${a} @click=${this.startAddBookmark} slot=fab .text=${e.addBookmark} text-enabled title=${e.addBookmark ?? x}></calcite-fab>` : null;
431
440
  }
432
441
  _renderEditContainer(e) {
433
442
  const { messages: t } = this, i = `${t.edit} ${this._getBookmarkTitle(e)}`;
434
- return this.showEditBookmarkButton ? a`<calcite-action icon=pencil @click=${() => this._showEditBookmarkForm(e)} slot=actions-end .text=${i} title=${i ?? B}></calcite-action>` : null;
443
+ return this.showEditBookmarkButton ? o`<calcite-action icon=pencil @click=${() => this._showEditBookmarkForm(e)} slot=actions-end .text=${i} title=${i ?? x}></calcite-action>` : null;
435
444
  }
436
445
  _renderBookmarkImage(e, t) {
437
- return t ? a`<img alt class="bookmark-image" src=${e.thumbnail?.url ?? B}>` : null;
446
+ return t ? o`<img alt class="bookmark-image" src=${e.thumbnail?.url ?? x}>` : null;
438
447
  }
439
448
  _renderBookmarkTimeSwitch(e) {
440
449
  const { messages: t, view: i } = this, { timeExtent: r } = e;
441
- return i?.timeExtent ?? r ? a`<calcite-label layout=inline-space-between>${t.includeTimeExtent}<calcite-switch .checked=${!!r} @calciteSwitchChange=${(o) => {
442
- this.editIncludeTimeExtent = o.currentTarget.checked;
450
+ return i?.timeExtent ?? r ? o`<calcite-label layout=inline-space-between>${t.includeTimeExtent}<calcite-switch .checked=${!!r} @calciteSwitchChange=${(a) => {
451
+ this.editIncludeTimeExtent = a.currentTarget.checked;
443
452
  }}></calcite-switch></calcite-label>` : null;
444
453
  }
445
454
  _renderEditBookmarkTimeExtent(e) {
446
455
  return this.editIncludeTimeExtent ? this._renderBookmarkTimeExtent(e) : null;
447
456
  }
448
457
  _renderTimeExtentDescription(e) {
449
- const { startDate: t, startTime: i, endDate: r, endTime: o } = this._getTimeExtentStrings(e);
458
+ const { startDate: t, startTime: i, endDate: r, endTime: a } = this._getTimeExtentStrings(e);
450
459
  if (!t)
451
460
  return "";
452
- const n = `${t} ${i}`, s = `${r} ${o}`;
453
- return r ? `${n} - ${s}` : n;
461
+ const n = `${t} ${i}`, c = `${r} ${a}`;
462
+ return r ? `${n} - ${c}` : n;
454
463
  }
455
464
  _renderBookmarkTimeExtent(e, t = !1) {
456
- const { messages: i } = this, { startDate: r, startTime: o, endDate: n, endTime: s } = this._getTimeExtentStrings(e), c = t ? null : a`<calcite-table-row slot=table-header><calcite-table-header .heading=${i.startDate}></calcite-table-header>${n ? a`<calcite-table-header .heading=${i.endDate}></calcite-table-header>` : null}</calcite-table-row>`;
457
- return r ? a`<calcite-table .caption=${i.timeExtent ?? ""} scale=s>${c}<calcite-table-row><calcite-table-cell>${r} ${o ? [a`<br>`, o] : null}</calcite-table-cell>${n ? a`<calcite-table-cell>${n}${s ? [a`<br>`, s] : null}</calcite-table-cell>` : null}</calcite-table-row></calcite-table>` : null;
465
+ const { messages: i } = this, { startDate: r, startTime: a, endDate: n, endTime: c } = this._getTimeExtentStrings(e), d = this._useStackedTimeExtentRows && !!n, m = (h, k, b) => o`<calcite-table-cell title=${b ?? "" ?? x}>${h} ${k ? [o`<br>`, k] : null}</calcite-table-cell>`, l = [];
466
+ return r && l.push({ heading: i.startDate, date: r, time: a }), n && l.push({ heading: i.endDate, date: n, time: c }), r ? o`<calcite-table .caption=${i.timeExtent ?? ""} scale=s>${d ? l.map((h) => o`<calcite-table-row>${t ? null : o`<calcite-table-header .heading=${h.heading}></calcite-table-header>`}${m(h.date, h.time, h.heading)}</calcite-table-row>`) : [
467
+ t ? null : o`<calcite-table-row slot=table-header><calcite-table-header .heading=${i.startDate}></calcite-table-header>${n ? o`<calcite-table-header .heading=${i.endDate}></calcite-table-header>` : null}</calcite-table-row>`,
468
+ o`<calcite-table-row>${m(r, a, i.startDate)}${n ? m(n, c, i.endDate) : null}</calcite-table-row>`
469
+ ]}</calcite-table>` : null;
458
470
  }
459
471
  _renderBookmarkActiveScrim(e, t) {
460
- return this._activeBookmark === e && t ? a`<calcite-scrim loading></calcite-scrim>` : null;
472
+ return this._activeBookmark === e && t ? o`<calcite-scrim loading></calcite-scrim>` : null;
461
473
  }
462
474
  _renderBookmarkActiveLoader(e, t) {
463
- return this._activeBookmark === e && !t ? a`<calcite-loader class="loader" inline .label=${this.messages.loading ?? ""}></calcite-loader>` : null;
475
+ return this._activeBookmark === e && !t ? o`<calcite-loader class="loader" inline .label=${this.messages.loading ?? ""}></calcite-loader>` : null;
464
476
  }
465
477
  _renderBookmarkImageIcon(e, t) {
466
- return this._activeBookmark !== e && !t ? a`<calcite-icon icon=bookmark scale=s></calcite-icon>` : null;
478
+ return this._activeBookmark !== e && !t ? o`<calcite-icon icon=bookmark scale=s></calcite-icon>` : null;
467
479
  }
468
480
  _renderBookmarkThumbnail(e) {
469
481
  const t = !this.hideThumbnail && !!e.thumbnail?.url;
470
- return a`<div class="bookmark-image-container" slot=content-start>${this._renderBookmarkActiveScrim(e, t)}${this._renderBookmarkImage(e, t)}${this._renderBookmarkActiveLoader(e, t)}${this._renderBookmarkImageIcon(e, t)}</div>`;
482
+ return o`<div class="bookmark-image-container" slot=content-start>${this._renderBookmarkActiveScrim(e, t)}${this._renderBookmarkImage(e, t)}${this._renderBookmarkActiveLoader(e, t)}${this._renderBookmarkImageIcon(e, t)}</div>`;
471
483
  }
472
484
  _renderBookmark(e) {
473
- return F(e.uid, a`<calcite-list-item class=${N(R({ "drag-enabled": this.dragEnabled }))} .description=${this._renderTimeExtentDescription(e)} .label=${this._getBookmarkTitle(e)} .value=${e.uid} @calciteListItemSelect=${() => this._goToBookmark(e)}>${this._renderBookmarkThumbnail(e)}${this._renderBookmarkContent(e)}${this._renderEditContainer(e)}</calcite-list-item>`);
485
+ return F(e.uid, o`<calcite-list-item class=${L(q({ "drag-enabled": this.dragEnabled }))} .description=${this._renderTimeExtentDescription(e)} .label=${this._getBookmarkTitle(e)} .value=${e.uid} @calciteListItemSelect=${() => this._goToBookmark(e)}>${this._renderBookmarkThumbnail(e)}${this._renderBookmarkContent(e)}${this._renderEditContainer(e)}</calcite-list-item>`);
474
486
  }
475
487
  _renderBookmarkContent(e) {
476
- return a`<div class="bookmark-content" slot=content><span class="bookmark-content-label">${this._getBookmarkTitle(e)}</span>${this._renderBookmarkTimeExtent(e, !0)}</div>`;
488
+ return o`<div class="bookmark-content" slot=content><span class="bookmark-content-label">${this._getBookmarkTitle(e)}</span>${this._renderBookmarkTimeExtent(e, !0)}</div>`;
477
489
  }
478
490
  _renderEditingBookmarkName(e) {
479
491
  const { messages: t } = this, i = this._userValidationState === "name-required";
480
- return a`<calcite-label>${t.title}<calcite-input class="edit-bookmark-input" name=bookmark-name .placeholder=${t.titlePlaceholder} required type=text .value=${e.name} ${f(this._storeEditInput)}></calcite-input>${i ? a`<calcite-input-message icon=exclamation-mark-triangle status=invalid>${t.invalidTitle}</calcite-input-message>` : null}</calcite-label>`;
492
+ return o`<calcite-label>${t.title}<calcite-input class="edit-bookmark-input" name=bookmark-name .placeholder=${t.titlePlaceholder} required type=text .value=${e.name} ${w(this._storeEditInput)}></calcite-input>${i ? o`<calcite-input-message icon=exclamation-mark-triangle status=invalid>${t.invalidTitle}</calcite-input-message>` : null}</calcite-label>`;
481
493
  }
482
494
  _renderEditingBookmarkActions() {
483
495
  const { messages: e, _userState: t } = this, i = t?.bookmark;
484
496
  return [
485
- a`<calcite-button appearance=transparent kind=danger @click=${() => this._deleteBookmark(i)} slot=footer type=button width=full>${e.delete}</calcite-button>`,
486
- a`<calcite-button appearance=outline @click=${this._closeEditBookmarkForm} slot=footer type=button width=full>${e.cancel}</calcite-button>`,
487
- a`<calcite-button slot=footer type=submit width=full>${e.save}</calcite-button>`
497
+ o`<calcite-button appearance=transparent kind=danger @click=${() => this._deleteBookmark(i)} slot=footer type=button width=full>${e.delete}</calcite-button>`,
498
+ o`<calcite-button appearance=outline @click=${this._closeEditBookmarkForm} slot=footer type=button width=full>${e.cancel}</calcite-button>`,
499
+ o`<calcite-button slot=footer type=submit width=full>${e.save}</calcite-button>`
488
500
  ];
489
501
  }
490
502
  _renderEditingTimeExtent(e) {
491
503
  const { view: t } = this, { timeExtent: i } = e;
492
- return !this.timeDisabled && (t?.timeExtent ?? i) ? a`<div>${this._renderBookmarkTimeSwitch(e)}${this._renderEditBookmarkTimeExtent(e)}</div>` : null;
504
+ return !this.timeDisabled && (t?.timeExtent ?? i) ? o`<div>${this._renderBookmarkTimeSwitch(e)}${this._renderEditBookmarkTimeExtent(e)}</div>` : null;
493
505
  }
494
506
  _renderEditingBookmarkImage(e) {
495
- const { _userThumbnailState: t } = this, i = e.thumbnail?.url ?? "", r = _(i) ? t === "url" : T(i) ? t === "screenshot" : null;
507
+ const { _userThumbnailState: t } = this, i = e.thumbnail?.url ?? "", r = f(i) ? t === "url" : y(i) ? t === "screenshot" : null;
496
508
  if (r)
497
509
  return this._renderBookmarkImage(e, r);
498
510
  }
499
511
  _renderEditingThumbnail(e) {
500
512
  const { _userThumbnailState: t, hideThumbnail: i } = this;
501
- return !i && t !== "none" ? a`<div class="authoring-image-container">${this._renderEditingBookmarkImage(e)}</div>` : null;
513
+ return !i && t !== "none" ? o`<div class="authoring-image-container">${this._renderEditingBookmarkImage(e)}</div>` : null;
502
514
  }
503
515
  _renderUpdateThumbnailButton() {
504
516
  const { hideThumbnail: e, messages: t, _userThumbnailState: i } = this;
505
- return !e && i === "screenshot" ? a`<calcite-button appearance=outline class="authoring-refresh-thumbnail-button" icon-start=refresh kind=neutral @click=${() => {
517
+ return !e && i === "screenshot" ? o`<calcite-button appearance=outline class="authoring-refresh-thumbnail-button" icon-start=refresh kind=neutral @click=${() => {
506
518
  this._updateThumbnail();
507
519
  }} width=full>${t.updateThumbnail}</calcite-button>` : null;
508
520
  }
509
521
  _renderEditingBookmarkUrlInput(e) {
510
- const { messages: t, _userValidationState: i, _userThumbnailState: r } = this, o = e.thumbnail?.url ?? "", n = _(o) ? o : void 0, s = o && i === "absolute-url-required";
511
- return r === "url" ? a`<calcite-label><calcite-input name=bookmark-thumbnail-url pattern=https://.* .placeholder=${t ? `https://<${t.imageUrlPlaceholder}>` : void 0} required title=${t.imageUrlTooltip ?? B} type=text .value=${n} @calciteInputChange=${this._handleUrlEditInputChange} @calciteInputInput=${this._handleUrlEditInputChange} ${f(this._storeUrlEditInput)}></calcite-input>${s ? a`<calcite-input-message icon=exclamation-mark-triangle status=invalid>${t.invalidImageUrl}</calcite-input-message>` : null}</calcite-label>` : null;
522
+ const { messages: t, _userValidationState: i, _userThumbnailState: r } = this, a = e.thumbnail?.url ?? "", n = f(a) ? a : void 0, c = a && i === "absolute-url-required";
523
+ return r === "url" ? o`<calcite-label><calcite-input name=bookmark-thumbnail-url pattern=https://.* .placeholder=${t ? `https://<${t.imageUrlPlaceholder}>` : void 0} required title=${t.imageUrlTooltip ?? x} type=text .value=${n} @calciteInputChange=${this._handleUrlEditInputChange} @calciteInputInput=${this._handleUrlEditInputChange} ${w(this._storeUrlEditInput)}></calcite-input>${c ? o`<calcite-input-message icon=exclamation-mark-triangle status=invalid>${t.invalidImageUrl}</calcite-input-message>` : null}</calcite-label>` : null;
512
524
  }
513
525
  _renderThumbnailSelector() {
514
526
  const { hideThumbnail: e, messages: t, _userThumbnailState: i } = this;
515
- return e ? null : a`<calcite-label>${t.thumbnail}<calcite-chip-group .label=${t.thumbnail ?? ""} selection-mode=single-persist @calciteChipGroupSelect=${(r) => this._handleThumbnailTypeSelect(r.currentTarget.selectedItems[0].value)}><calcite-chip .label=${t.screenshot ?? ""} .selected=${i === "screenshot"} value=screenshot>${t.screenshot}</calcite-chip><calcite-chip .label=${t.url ?? ""} .selected=${i === "url"} value=url>${t.url}</calcite-chip><calcite-chip .label=${t.none ?? ""} .selected=${i === "none"} value=none>${t.none}</calcite-chip></calcite-chip-group></calcite-label>`;
527
+ return e ? null : o`<calcite-label>${t.thumbnail}<calcite-chip-group .label=${t.thumbnail ?? ""} selection-mode=single-persist @calciteChipGroupSelect=${(r) => this._handleThumbnailTypeSelect(r.currentTarget.selectedItems[0].value)}><calcite-chip .label=${t.screenshot ?? ""} .selected=${i === "screenshot"} value=screenshot>${t.screenshot}</calcite-chip><calcite-chip .label=${t.url ?? ""} .selected=${i === "url"} value=url>${t.url}</calcite-chip><calcite-chip .label=${t.none ?? ""} .selected=${i === "none"} value=none>${t.none}</calcite-chip></calcite-chip-group></calcite-label>`;
516
528
  }
517
529
  _renderEditingBookmark(e) {
518
530
  const { disabled: t, messages: i, headingLevel: r } = this;
519
- return e ? a`<form class="form" @submit=${this._editBookmarkSubmit}><calcite-flow-item .disabled=${t} .heading=${i.edit ?? ""} .headingLevel=${r} .selected=${this._userStateValue === "edit"} @calciteFlowItemBack=${(o) => {
520
- o.preventDefault(), this._closeEditBookmarkForm();
521
- }} ${f(this._storeEditFlowItemNode)}><div class="form-content"><div class="authoring">${this._renderEditingBookmarkName(e)}${this._renderThumbnailSelector()}${this._renderEditingThumbnail(e)}${this._renderEditingBookmarkUrlInput(e)}${this._renderUpdateThumbnailButton()}${this._renderEditingTimeExtent(e)}</div></div>${this._renderEditingBookmarkActions()}</calcite-flow-item></form>` : null;
531
+ return e ? o`<form class="form" @submit=${this._editBookmarkSubmit}><calcite-flow-item .disabled=${t} .heading=${i.edit ?? ""} .headingLevel=${r} .selected=${this._userStateValue === "edit"} @calciteFlowItemBack=${(a) => {
532
+ a.preventDefault(), this._closeEditBookmarkForm();
533
+ }} ${w(this._storeEditFlowItemNode)}><div class="form-content"><div class="authoring">${this._renderEditingBookmarkName(e)}${this._renderThumbnailSelector()}${this._renderEditingThumbnail(e)}${this._renderEditingBookmarkUrlInput(e)}${this._renderUpdateThumbnailButton()}${this._renderEditingTimeExtent(e)}</div></div>${this._renderEditingBookmarkActions()}</calcite-flow-item></form>` : null;
522
534
  }
523
535
  _renderAddingBookmarkName() {
524
536
  const { messages: e } = this, t = this._userValidationState === "name-required";
525
- return a`<calcite-label>${e.title}<calcite-input class="add-bookmark-input" name=bookmark-name .placeholder=${e.titlePlaceholder} required type=text value ${f(this._storeAddInput)}></calcite-input>${t ? a`<calcite-input-message icon=exclamation-mark-triangle status=invalid>${e.invalidTitle}</calcite-input-message>` : null}</calcite-label>`;
537
+ return o`<calcite-label>${e.title}<calcite-input class="add-bookmark-input" name=bookmark-name .placeholder=${e.titlePlaceholder} required type=text value ${w(this._storeAddInput)}></calcite-input>${t ? o`<calcite-input-message icon=exclamation-mark-triangle status=invalid>${e.invalidTitle}</calcite-input-message>` : null}</calcite-label>`;
526
538
  }
527
539
  _renderAddingBookmarkActions() {
528
540
  const { messages: e } = this;
529
541
  return [
530
- a`<calcite-button appearance=outline @click=${this._endAddBookmark} slot=footer type=button width=full>${e.cancel}</calcite-button>`,
531
- a`<calcite-button slot=footer type=submit width=full>${e.add}</calcite-button>`
542
+ o`<calcite-button appearance=outline @click=${this._endAddBookmark} slot=footer type=button width=full>${e.cancel}</calcite-button>`,
543
+ o`<calcite-button slot=footer type=submit width=full>${e.add}</calcite-button>`
532
544
  ];
533
545
  }
534
546
  _renderAddingBookmark() {
535
547
  const { disabled: e, messages: t, headingLevel: i, _userStateValue: r } = this;
536
- return r === "add" ? a`<form class="form" @submit=${this._addBookmarkSubmitClick}><calcite-flow-item .disabled=${e} .heading=${t.addBookmark} .headingLevel=${i} selected @calciteFlowItemBack=${(o) => {
537
- o.preventDefault(), this._endAddBookmark();
538
- }} ${f(this._storeAddFlowItemNode)}><div class="form-content">${this._renderAddingBookmarkName()}</div>${this._renderAddingBookmarkActions()}</calcite-flow-item></form>` : null;
548
+ return r === "add" ? o`<form class="form" @submit=${this._addBookmarkSubmitClick}><calcite-flow-item .disabled=${e} .heading=${t.addBookmark} .headingLevel=${i} selected @calciteFlowItemBack=${(a) => {
549
+ a.preventDefault(), this._endAddBookmark();
550
+ }} ${w(this._storeAddFlowItemNode)}><div class="form-content">${this._renderAddingBookmarkName()}</div>${this._renderAddingBookmarkActions()}</calcite-flow-item></form>` : null;
539
551
  }
540
552
  }
541
553
  D("arcgis-bookmarks", Y);