@esri/solutions-components 5.1.0-next.85 → 5.1.0-next.87

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (161) hide show
  1. package/dist/cdn/2LV7NQMM.js +2 -0
  2. package/dist/cdn/3PUFU3VY.js +2 -0
  3. package/dist/cdn/3S5XSBME.js +2 -0
  4. package/dist/cdn/5G5LMAT4.js +2 -0
  5. package/dist/cdn/5Z43RSKO.js +2 -0
  6. package/dist/cdn/67YHFNNT.js +2 -0
  7. package/dist/cdn/7FKMQ3QO.js +2 -0
  8. package/dist/cdn/{NANKLLS4.js → A73LPATI.js} +2 -2
  9. package/dist/cdn/AODE5TBO.js +2 -0
  10. package/dist/cdn/AUNFZODL.js +2 -0
  11. package/dist/cdn/{X7FPPH3E.js → B4Y2UZHO.js} +1 -1
  12. package/dist/cdn/{BXFMZEWK.js → DV6MFL2N.js} +1 -1
  13. package/dist/cdn/EJQKVRSG.js +2 -0
  14. package/dist/cdn/ERCI6HI5.js +2 -0
  15. package/dist/cdn/HWOOHVH5.js +2 -0
  16. package/dist/cdn/I33PCNP7.js +2 -0
  17. package/dist/cdn/{XZWWZKHK.js → I53PAKKW.js} +1 -1
  18. package/dist/cdn/IVFBBPSY.js +2 -0
  19. package/dist/cdn/JAITP34E.js +2 -0
  20. package/dist/cdn/{NVJH5A6R.js → JSXNTE4I.js} +1 -1
  21. package/dist/cdn/KXGN75L6.js +2 -0
  22. package/dist/cdn/LXI55MKX.js +2 -0
  23. package/dist/cdn/{6GRAP4DV.js → LYDP7VMM.js} +1 -1
  24. package/dist/cdn/N2XIWSCG.js +2 -0
  25. package/dist/cdn/{7UFXL2ZB.js → NYWSGPCD.js} +2 -2
  26. package/dist/cdn/O5CIRNTW.js +2 -0
  27. package/dist/cdn/PX2KKGLQ.js +2 -0
  28. package/dist/cdn/QHHYNSCP.js +2 -0
  29. package/dist/cdn/QK5IXICV.js +2 -0
  30. package/dist/cdn/QMPT2LSN.js +2 -0
  31. package/dist/cdn/QX5WB6H3.js +2 -0
  32. package/dist/cdn/QX742MCD.js +2 -0
  33. package/dist/cdn/R4CW26PN.js +2 -0
  34. package/dist/cdn/RLHHGWT4.js +2 -0
  35. package/dist/cdn/RQRAFBVO.js +2 -0
  36. package/dist/cdn/SY5KYHF4.js +2 -0
  37. package/dist/cdn/{IHD4JFYA.js → TMYE7YBP.js} +1 -1
  38. package/dist/cdn/TV7TG34E.js +2 -0
  39. package/dist/cdn/WOBPKAC2.js +2 -0
  40. package/dist/cdn/X7ZFLHUP.js +2 -0
  41. package/dist/cdn/{MH2KV42H.js → XFG55QXT.js} +1 -1
  42. package/dist/cdn/XYG3Z7ZY.js +2 -0
  43. package/dist/cdn/YSLCWEDP.js +2 -0
  44. package/dist/cdn/{VZ4XWWT6.js → ZDTDI643.js} +1 -1
  45. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.ar.json +1 -1
  46. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.bg.json +1 -1
  47. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.bs.json +1 -1
  48. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.ca.json +1 -1
  49. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.cs.json +1 -1
  50. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.da.json +1 -1
  51. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.de.json +1 -1
  52. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.el.json +1 -1
  53. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.en.json +1 -1
  54. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.es.json +1 -1
  55. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.et.json +1 -1
  56. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.fi.json +1 -1
  57. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.fr.json +1 -1
  58. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.he.json +1 -1
  59. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.hr.json +1 -1
  60. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.hu.json +1 -1
  61. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.id.json +1 -1
  62. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.it.json +1 -1
  63. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.ja.json +1 -1
  64. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.json +1 -1
  65. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.ko.json +1 -1
  66. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.lt.json +1 -1
  67. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.lv.json +1 -1
  68. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.nl.json +1 -1
  69. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.no.json +1 -1
  70. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.pl.json +1 -1
  71. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.pt-BR.json +1 -1
  72. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.pt-PT.json +1 -1
  73. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.ro.json +1 -1
  74. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.ru.json +1 -1
  75. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.sk.json +1 -1
  76. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.sl.json +1 -1
  77. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.sr.json +1 -1
  78. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.sv.json +1 -1
  79. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.th.json +1 -1
  80. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.tr.json +1 -1
  81. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.uk.json +1 -1
  82. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.vi.json +1 -1
  83. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.zh-CN.json +1 -1
  84. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.zh-HK.json +1 -1
  85. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.zh-TW.json +1 -1
  86. package/dist/cdn/assets/solution-configure-titles/t9n/messages.en.json +1 -1
  87. package/dist/cdn/assets/solution-configure-titles/t9n/messages.json +1 -1
  88. package/dist/cdn/index.js +1 -1
  89. package/dist/chunks/Auth.js +1 -1
  90. package/dist/chunks/cardFetchingUtils.js +13 -12
  91. package/dist/chunks/cardsHelpers.js +1 -1
  92. package/dist/chunks/common.js +26 -0
  93. package/dist/chunks/getRelatedInfos.js +1 -1
  94. package/dist/chunks/helpers.js +81 -560
  95. package/dist/chunks/interfaces.js +446 -0
  96. package/dist/chunks/solution-deploy-dialog.js +12 -11
  97. package/dist/chunks/solutions-deploy-app-nav.js +7 -6
  98. package/dist/chunks/validators.js +127 -0
  99. package/dist/components/arcgis-solutions-assistant/customElement.js +4 -3
  100. package/dist/components/layer-table/customElement.js +11 -10
  101. package/dist/components/map-card/customElement.js +19 -18
  102. package/dist/components/solution-builder-assistant/customElement.d.ts +72 -2
  103. package/dist/components/solution-builder-assistant/customElement.js +273 -67
  104. package/dist/components/solution-configure-titles/customElement.js +42 -41
  105. package/dist/components/solution-delete-dialog/customElement.js +5 -4
  106. package/dist/components/solution-deploy-dialog/customElement.js +3 -2
  107. package/dist/components/solution-deployed-card/customElement.js +4 -2
  108. package/dist/components/solution-deployed-card-panel/customElement.js +11 -9
  109. package/dist/components/solution-details-card/customElement.js +5 -4
  110. package/dist/components/solution-details-panel/customElement.js +17 -15
  111. package/dist/components/solution-resource-card/customElement.js +7 -6
  112. package/dist/components/solution-snapshot-gallery/customElement.js +14 -13
  113. package/dist/components/solution-social-share/customElement.js +35 -34
  114. package/dist/components/solution-user-avatar/customElement.js +1 -1
  115. package/dist/components/solutions-all-panel/customElement.js +12 -11
  116. package/dist/components/solutions-all-shell/customElement.js +1 -1
  117. package/dist/components/solutions-deploy-app/customElement.js +7 -13
  118. package/dist/components/solutions-deploy-app-nav/customElement.js +5 -3
  119. package/dist/components/solutions-deployed-panel/customElement.js +5 -4
  120. package/dist/components/solutions-deployed-shell/customElement.js +1 -1
  121. package/dist/components/solutions-filter-panel/customElement.js +8 -7
  122. package/dist/components/solutions-searchsort-toolbar/customElement.js +9 -8
  123. package/dist/docs/api.json +1 -1
  124. package/dist/docs/docs.json +1 -1
  125. package/dist/docs/vscode.html-custom-data.json +1 -1
  126. package/dist/docs/web-types.json +1 -1
  127. package/dist/index.js +1 -1
  128. package/dist/solutions-components_commit.txt +8 -5
  129. package/dist/utils/interfaces.d.ts +4 -4
  130. package/package.json +1 -1
  131. package/dist/cdn/2AUHEG2A.js +0 -2
  132. package/dist/cdn/2C4TQJVZ.js +0 -2
  133. package/dist/cdn/2KKQKCK4.js +0 -2
  134. package/dist/cdn/2QEXO7ZH.js +0 -2
  135. package/dist/cdn/3DR66XVF.js +0 -2
  136. package/dist/cdn/4GJHDLZU.js +0 -2
  137. package/dist/cdn/7QNQNET4.js +0 -2
  138. package/dist/cdn/ARGV7QZA.js +0 -2
  139. package/dist/cdn/BCDBB2P5.js +0 -2
  140. package/dist/cdn/E26MY5HW.js +0 -2
  141. package/dist/cdn/EUFBJHIH.js +0 -2
  142. package/dist/cdn/FSTBKODU.js +0 -2
  143. package/dist/cdn/GNIPC2YA.js +0 -2
  144. package/dist/cdn/HYJFW2H7.js +0 -2
  145. package/dist/cdn/IKHBFQZ5.js +0 -2
  146. package/dist/cdn/J3VPCRTT.js +0 -2
  147. package/dist/cdn/JHPCQXLT.js +0 -2
  148. package/dist/cdn/MSCYNDSA.js +0 -2
  149. package/dist/cdn/OILJWT3N.js +0 -2
  150. package/dist/cdn/PDKHXNYX.js +0 -2
  151. package/dist/cdn/PUDHZZVS.js +0 -2
  152. package/dist/cdn/R7QOGWYL.js +0 -2
  153. package/dist/cdn/RHM4UJGX.js +0 -2
  154. package/dist/cdn/TJDM5OLA.js +0 -2
  155. package/dist/cdn/TNS6HDBI.js +0 -2
  156. package/dist/cdn/TQWICREM.js +0 -2
  157. package/dist/cdn/UIR3N7OD.js +0 -2
  158. package/dist/cdn/VOEOIQVJ.js +0 -2
  159. package/dist/cdn/WCTKCI5Q.js +0 -2
  160. package/dist/cdn/WVVZVPWX.js +0 -2
  161. package/dist/cdn/Y4D7GWPH.js +0 -2
@@ -1,514 +1,74 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
- import * as m from "@esri/solution-common";
2
+ import * as o from "@esri/solution-common";
3
3
  import "@arcgis/core/intl.js";
4
- import { c as N } from "./runtime.js";
5
- import { css as L, html as l, svg as M } from "lit";
6
- import { u as x } from "./useT9n.js";
7
- import { LitElement as U, createEvent as P, nothing as f, safeClassMap as $ } from "@arcgis/lumina";
8
- import { useContextConsumer as T } from "@arcgis/lumina/context";
9
- import { c as G, i as B } from "./deployAppContexts.js";
10
- import { createRef as E, ref as _ } from "lit-html/directives/ref.js";
11
- import "@arcgis/core/identity/IdentityManager.js";
12
- import "@arcgis/core/identity/OAuthInfo.js";
13
- import "@arcgis/core/portal/Portal.js";
14
- import "@arcgis/lumina/controllers";
15
- const K = L`calcite-card{height:100%;padding-bottom:var(--calcite-spacing-base)}@media(max-width:400px){calcite-card{width:100%}}calcite-card:hover img{-webkit-filter:brightness(30%);filter:brightness(30%);-webkit-transition:all .1s ease;-moz-transition:all .1s ease;-o-transition:all .1s ease;-ms-transition:all .1s ease;transition:all .1s ease}calcite-card:hover .hover-text{opacity:1;color:#fff}calcite-card:hover{outline:var(--calcite-spacing-base) solid var(--calcite-color-brand);box-sizing:content-box;cursor:pointer}.hover-text{transition:.1s ease;opacity:0;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);text-align:center;display:flex;flex-direction:row;align-items:center;height:100%;font-size:var(--calcite-spacing-xl)}.card-image-wrap{flex:0 0 auto}.card-image-wrap{width:100%;position:relative;margin-bottom:0;-webkit-box-flex:0 0 auto;-ms-flex:0 0 auto;flex:0 0 auto}.card-image{width:100%;display:block}video,img{max-width:100%;height:auto}img{overflow-clip-margin:content-box;overflow:clip}.width-full{width:100%}.deployed-label-override{--calcite-label-text-color: var(--calcite-color-text-3);--calcite-label-margin-bottom: var(--calcite-spacing-none)}.svg-color{fill:var(--calcite-color-text-3)}.padding-end-1-2{padding-inline-end:var(--calcite-spacing-sm)}.padding-bottom-1-2{padding-bottom:var(--calcite-spacing-sm)}.display-flex{display:flex}.display-none{display:none}.flex-direction-column{flex-direction:column}.align-items-center{align-items:center}.font-weight-400,.font-weight-normal{font-weight:400}.font-color-text-2{--calcite-label-text-color: var(--calcite-color-text-2)}.font-line-height{line-height:1.4}.font-size-size--1{font-size:var(--calcite-font-size--1)}.icon-brand-color{--calcite-icon-color: var(--calcite-color-brand)}.header-line-height{--calcite-label-margin-bottom: 0;margin-top:var(--calcite-spacing-sm);margin-bottom:.7rem}.dialog-y-size{--calcite-dialog-size-y: 90% }.dialog-x-size{--calcite-dialog-size-x: 90% }.justify-content-space-between{justify-content:space-between}.panel-bg-color{--calcite-panel-header-background-color: var(--calcite-color-surface-2);--calcite-panel-background-color: var(--calcite-color-surface-2)}.cursor-default{cursor:default}`;
16
- async function F(t, e) {
17
- const i = await m.getItemDataAsJson(t, e);
18
- if (!i)
19
- throw new Error(`Solution ${t} was not found`);
20
- const s = e?.portal.replace("/sharing/rest", "") ?? "https://www.arcgis.com";
21
- let a = [];
22
- if (i.templates[0].item)
23
- a = i.templates.map((r) => ({
24
- id: r.itemId,
25
- title: r.item.title,
26
- type: r.item.type,
27
- typeKeywords: r.item.typeKeywords,
28
- dependencies: r.dependencies,
29
- snippet: r.item.snippet,
30
- owner: r.item.owner
31
- }));
32
- else {
33
- const r = i.templates.map((o) => o.type === "Group" ? m.getGroupBase(o.itemId, e) : m.getItemBase(o.itemId, e));
34
- a = (await Promise.allSettled(r)).filter((o) => o.status === "fulfilled").map((o) => o.value).map((o, h) => {
35
- const u = typeof o.type > "u" ? "group" : "item";
36
- return {
37
- id: o.id,
38
- title: o.title,
39
- type: o.type ?? "Group",
40
- typeKeywords: o.typeKeywords,
41
- dependencies: i.templates[h].dependencies,
42
- snippet: o.snippet,
43
- url: `${s}/home/${u}.html?id=${o.id}`,
44
- owner: o.owner
45
- };
46
- });
47
- }
48
- return a;
49
- }
50
- function ve(t, e, i) {
51
- const s = t.templates.map((h) => h.type), a = [];
52
- a.push(Q), s.indexOf("Group") >= 0 && (a.push(S), a.push(O)), s.indexOf("Feature Service") >= 0 && a.push(A);
53
- const r = s.indexOf("Feed") > -1;
54
- r && a.push(Z);
55
- const c = s.indexOf("Big Data Analytic") > -1;
56
- c && a.push(X);
57
- const n = s.indexOf("Real Time Analytic") > -1;
58
- n && a.push(te), (r || c || n) && a.push(re), s.indexOf("Workflow") > -1 && (a.push(S), a.push(A), a.push(O), a.push(le)), s.indexOf("Geoprocessing Service") > -1 && (a.push(ee), i.IsEnterprisePortal && a.push(se));
59
- const o = t.templates.reduce(
60
- (h, u) => h.concat(u.item.typeKeywords || []),
61
- []
62
- );
63
- return W(a, o, i), V(a, e), H(a, t), a;
64
- }
65
- function H(t, e) {
66
- e.templates.some((i) => i.type === "Group" && i.item?.membershipAccess === "collaboration") && t.push(J);
67
- }
68
- function W(t, e, i) {
69
- const s = D(i), a = z(i);
70
- ["Location Tracking View"].some((c) => e.indexOf(c) > -1) && (!s && !a ? t.push(ae) : s && !a ? t.push(ne) : !s && a && t.push(oe));
71
- }
72
- function V(t, e) {
73
- ["HubPremium"].some((s) => e.indexOf(s) > -1) && t.push(ie);
74
- }
75
- function D(t) {
76
- const e = t?.PortalUserSubset?.privileges, i = [
77
- "portal:admin:create",
78
- "portal:admin:delete",
79
- "portal:admin:update",
80
- "portal:admin:reassign"
81
- ];
82
- return e ? i.every(
83
- (s) => e.some((a) => a.startsWith(s))
84
- ) : !1;
85
- }
86
- function z(t) {
87
- return t.PortalSubset?.locationTrackingEnabled || !1;
88
- }
89
- function Re(t, e) {
90
- let i = {
91
- leadingMessages: [],
92
- bulletedMessages: [],
93
- trailingMessages: []
94
- };
95
- const s = [
96
- d.NOTEBOOK,
97
- d.VELOCITY,
98
- d.HUBPREMIUM,
99
- d.WORKFLOW,
100
- d.TRACKINGBASE
101
- ];
102
- let a = w(
103
- t,
104
- e,
105
- d.VELOCITY
106
- );
107
- a && i.leadingMessages.push(a);
108
- let r = w(
109
- t,
110
- e,
111
- d.NOTEBOOK
112
- );
113
- r && i.leadingMessages.push(r);
114
- let c = w(
115
- t,
116
- e,
117
- d.HUBPREMIUM
118
- );
119
- c && i.leadingMessages.push(c);
120
- let n = w(
121
- t,
122
- e,
123
- d.WORKFLOW
124
- );
125
- n && i.leadingMessages.push(n), e = e.filter((u) => s.indexOf(u) < 0), e.forEach((u) => {
126
- i.bulletedMessages.push(
127
- v(t, u)
128
- );
129
- });
130
- let o = w(
131
- t,
132
- e,
133
- d.TRACKINGBASE
134
- );
135
- return o && i.trailingMessages.push(o), (i.leadingMessages.length > 0 || i.trailingMessages.length > 0 || i.bulletedMessages.length > 0) && i.trailingMessages.push(
136
- t.missingPrivilegesPopup.suggestedProblemRemedyMessage
137
- ), i;
138
- }
139
- function w(t, e, i) {
140
- return e.filter((a) => a.includes(i)).length > 0 ? v(t, i) : "";
141
- }
142
- function v(t, e) {
143
- const i = t.missingPrivilegesPopup.requiredPrivilegesList;
144
- let s = "";
145
- switch (e) {
146
- case "portal:user:createItem":
147
- s = i.createItem;
148
- break;
149
- case "portal:publisher:publishFeatures":
150
- s = i.publishFeatures;
151
- break;
152
- case "portal:user:createGroup":
153
- s = i.createGroup;
154
- break;
155
- case "portal:user:shareToGroup":
156
- s = i.shareToGroup;
157
- break;
158
- case "portal:user:addExternalMembersToGroup":
159
- s = i.addMembers;
160
- break;
161
- case "portal:publisher:publishFeeds":
162
- s = i.publishFeeds;
163
- break;
164
- case "portal:publisher:publishBigDataAnalytics":
165
- s = i.publishBigDataAnalytics;
166
- break;
167
- case "portal:publisher:publishRealTimeAnalytics":
168
- s = i.publishRealTimeAnalytics;
169
- break;
170
- case "solutions:locationtracking:admin:tracking":
171
- s = i.requiresLocationTrackingAndAdmin;
172
- break;
173
- case "solutions:locationtracking:tracking":
174
- s = i.requiresLocationTracking;
175
- break;
176
- case "solutions:locationtracking:admin":
177
- s = i.requiresAdmin;
178
- break;
179
- case "solutions:hubPremium":
180
- s = i.hubPremium;
181
- break;
182
- case "solutions:workflowManager":
183
- s = i.workflowManager;
184
- break;
185
- case "solutions:velocity":
186
- s = i.velocity;
187
- break;
188
- case "solutions:notebook":
189
- s = i.requiresNotebookServer;
190
- break;
191
- case "portal:publisher:publishServerGPServices":
192
- s = i.publishGPServices;
193
- break;
194
- case "writable:Enterprise":
195
- s = i.writableEnterprise;
196
- break;
197
- case "writable:Online":
198
- s = i.writableOnline.replace("{{url}}", "https://status.arcgis.com");
199
- break;
200
- }
201
- return s;
202
- }
203
- function ke(t, e) {
204
- const i = R(e), s = de([{ k: "id", v: t }]) || "";
205
- return i ? `${i}/home/item.html${s}` : "";
206
- }
207
- function Ce(t, e, i, s) {
208
- const a = s || R(i);
209
- return a ? `${a}/sharing/rest/content/items/${t}/resources/${e}` : "";
210
- }
211
- function R(t) {
212
- return t?.PortalSubset?.orgUrl || t?.PortalUrl || "";
213
- }
214
- function Y(t, e) {
215
- const i = new URL(t);
216
- return i.searchParams.set("token", e), i.toString();
217
- }
218
- class q extends U {
219
- constructor() {
220
- super(), this.deployedDate = "", this.description = "", this.diagramKey = "", this.heading = "", this.itemId = "", this.owner = "", this.thumbnail = "", this.updateAvailable = !1, this.templateInfos = [], this._isDeleteOpen = !1, this._isDiagramOpen = !1, this.isMobile = !1, this.templateInfoGraph = [], this._configureTitlesOpen = !1, this._thumbnailUrl = "", this._translations = x({ name: "solution-deployed-card", blocking: !0 }), this._configContextConsumer = T({
221
- context: G,
222
- subscribe: !0,
223
- callback: async (e) => {
224
- e && (this._isOrgAdmin = D(e.authentication), this._thumbnailUrl = `${this.thumbnail}&token=${e.userSession?.token}`);
225
- }
226
- }), this._deleteDialogRef = E(), this._diagramDialogRef = E(), this._isOrgAdmin = !1, this._isMobileContextConsumer = T({
227
- context: B,
228
- subscribe: !0,
229
- callback: (e) => this.isMobile = e
230
- }), this.deployedCardSelected = P(), this.listenOn(window, "sessionRefreshed", (e) => {
231
- this._updateThumbnailToken(e.detail);
232
- });
233
- }
234
- static {
235
- this.properties = { card: 0, deployedDate: 1, description: 1, diagramKey: 1, heading: 1, itemId: 1, owner: 1, thumbnail: 1, updateAvailable: 5, templateInfos: 0, _isDeleteOpen: 16, _isDiagramOpen: 16, isMobile: 16, templateInfoGraph: 16, _configureTitlesOpen: 16, _thumbnailUrl: 16, _translations: 16 };
236
- }
237
- static {
238
- this.styles = K;
239
- }
240
- get _telemetry() {
241
- return this._configContextConsumer.value?.telemetrySession;
242
- }
243
- async renderDeleteDialog() {
244
- return this._isDeleteOpen = !0, this._renderDeleteDialog(), this._deleteDialogRef.value;
245
- }
246
- async renderDiagramDialog(e) {
247
- return await this._viewDiagram(e), await this._renderDiagramDialog(), this._diagramDialogRef.value;
248
- }
249
- async getTemplates() {
250
- return this._processTemplates(this.card);
251
- }
252
- async load() {
253
- this._isMobileContextConsumer.value && (this.isMobile = this._isMobileContextConsumer.value);
254
- }
255
- render() {
256
- return l`<calcite-card .label=${this.description} @click=${this._cardSelected} @keydown=${(e) => g(e, () => this._cardSelected())}>${this._getImage()}${this._getHeader()}<p class="font-color-text-2 font-line-height font-size-size--1" slot=description>${this.description}</p><div class="width-full display-flex flex-direction-column" slot=footer-start><div class="padding-bottom-1-2">${this.owner !== "" && this._getOwnerLabel() || ""}${this._getDeployedDate()}</div>${this._getConfigureButton()}</div></calcite-card>${this._renderDeleteDialog()}${this._renderDiagramDialog()}${this._renderConfigureTitlesDialog()}`;
257
- }
258
- _getImage() {
259
- return l`<div class="card-image-wrap" slot=thumbnail><img alt=${this.heading ?? f} class="thumbnail card-image" src=${this._thumbnailUrl ?? f}><div class="hover-text">${this._translations.openSolution}</div></div>`;
260
- }
261
- _getHeader() {
262
- return l`<div class="display-flex justify-content-space-between header-line-height" slot=heading><calcite-label layout=inline-space-between scale=l>${this.heading}</calcite-label></div>`;
263
- }
264
- _getOwnerLabel() {
265
- return l`<calcite-label class="font-weight-400 padding-end-1-2" layout=inline scale=s>${`${this._translations.owner}:`}<calcite-link class="font-weight-normal" @click=${this._openUserProfile} @keydown=${(e) => g(e, () => this._openUserProfile(e))}>${this.owner}</calcite-link></calcite-label>`;
266
- }
267
- _getDeployedDate() {
268
- return l`<div class="display-flex align-items-center"><div class="padding-end-1-2"><svg height=16px viewBox="0 0 32 32" width=16px xmlns=http://www.w3.org/2000/svg>${M`<path class="svg-color" d="M29.963 7.672a1.586 1.586 0 0 0-1.584-1.585h-5.274a.187.187 0 0 1-.188-.187V3.977A2 2 0 0 0 20.825 2h-9.672A2.095 2.095 0 0 0 9.06 4.093V5.9a.187.187 0 0 1-.187.187H3.598a1.586 1.586 0 0 0-1.584 1.585v4.016a.281.281 0 0 0 .281.28H4.9l.014-.013V9.153a.177.177 0 0 1 .177-.177h21.46a.456.456 0 0 1 .449.45v13.742A1.832 1.832 0 0 1 25.168 25h-8.892a.568.568 0 0 1-.534-.373 3.98 3.98 0 0 0-7.6.373H5.657a.757.757 0 0 1-.757-.757v-3.055A.188.188 0 0 0 4.714 21H2.028l-.014.014v4.58a2.35 2.35 0 0 0 2.347 2.346h4.161a3.963 3.963 0 0 0 6.8.256.569.569 0 0 1 .475-.256h12.065a2.102 2.102 0 0 0 2.101-2.101zM21 5.625a.375.375 0 0 1-.375.375h-9.25A.375.375 0 0 1 11 5.625V4.45a.456.456 0 0 1 .45-.45h9.1a.456.456 0 0 1 .45.45zM12 28a2 2 0 1 1 2-2 2 2 0 0 1-2 2z" /><path class="svg-color" d="M13.273 17.994a.57.57 0 0 1 .479.262A3.73 3.73 0 0 0 17 20a3.74 3.74 0 0 0 3.403-2.006h3.41a.188.188 0 0 0 .187-.188v-2.589a.187.187 0 0 0-.188-.188H20.8A3.8 3.8 0 0 0 17 12a4.058 4.058 0 0 0-3.69 2.647.568.568 0 0 1-.537.383H1.093a.094.094 0 0 0-.093.093V17.9a.094.094 0 0 0 .094.094zM17 13.9a2.1 2.1 0 1 1-2.1 2.1 2.1 2.1 0 0 1 2.1-2.1z" />`}</svg></div><calcite-label class="deployed-label-override" scale=s>${this._translations.deployedDate.replace("{{date}}", this.deployedDate)}</calcite-label></div>`;
269
- }
270
- _getConfigureButton() {
271
- const e = this._configContextConsumer.value?.userSession?.username, i = this._configContextConsumer.value?.authentication?.CanUpdateSolution, s = this._configContextConsumer.value?.authentication?.CanDeleteSolution && this._configContextConsumer.value?.authentication?.CanUpdateSolution, a = this.card?.owner === e || this._isOrgAdmin || i, r = this.card?.owner === e || this._isOrgAdmin || s, c = a ? "display-none" : "";
272
- return l`<calcite-split-button appearance=outline aria-label=${this._translations.openSolution ?? f} dropdown-label=${this._translations.moreActions ?? f} kind=neutral @calciteSplitButtonPrimaryClick=${this._cardSelected} @click=${(n) => n.stopPropagation()} @keydown=${(n) => n.stopPropagation()} overlay-positioning=fixed primary-text=${this._translations.openSolution ?? f} width=full><calcite-dropdown-group selection-mode=none>${!this.isMobile && l`<calcite-dropdown-item icon-start=model @click=${this._viewDiagram} @keydown=${(n) => g(n, () => this._viewDiagram(n))}>${this._translations.viewDiagram}</calcite-dropdown-item>` || ""}<calcite-dropdown-item icon-start=file-text @click=${this._viewDocumentation} @keydown=${(n) => g(n, () => this._viewDocumentation(n))}>${this._translations.documentation}</calcite-dropdown-item><calcite-dropdown-item icon-start=information @click=${this._viewItemDetails} @keydown=${(n) => g(n, () => this._viewItemDetails(n))}>${this._translations.viewItemDetails}</calcite-dropdown-item>${!this.isMobile && a && l`<calcite-dropdown-item icon-start=edit-attributes id=solution-configure-titles-dropdown @click=${async () => {
273
- this.templateInfos = await this._processTemplates(this.card), this._configureTitlesOpen = !0;
274
- }} @keydown=${(n) => g(n, async () => {
275
- this.templateInfos = await this._processTemplates(this.card), this._configureTitlesOpen = !0;
276
- })}>${this._translations.renameItems}</calcite-dropdown-item>` || ""}${!this.isMobile && r && l`<calcite-dropdown-item icon-start=trash @click=${this._deleteSolution} @keydown=${(n) => g(n, () => this._deleteSolution(n))}>${this._translations.deleteSolution}</calcite-dropdown-item>` || ""}</calcite-dropdown-group><calcite-tooltip class=${$(c)} overlay-positioning=fixed reference-element=solution-configure-titles-dropdown><span>${this._translations.mustOwnSolution}</span></calcite-tooltip></calcite-split-button>`;
277
- }
278
- _renderDeleteDialog() {
279
- return this._isDeleteOpen ? l`<solution-delete-dialog .card=${this.card} @solutionDeleteDialogOpen=${(e) => {
280
- this._isDeleteOpen = e.detail;
281
- }} .open=${this._isDeleteOpen} source="Card Dropdown" ${_(this._deleteDialogRef)}></solution-delete-dialog>` : "";
282
- }
283
- _renderDiagramDialog() {
284
- return this._isDiagramOpen ? l`<calcite-dialog class="dialog-y-size dialog-x-size panel-bg-color" .heading=${this._translations.diagramTitle.replace("{{solution}}", this.card?.title ?? "")} id=${this._translations.diagramTitle.replace("{{solution}}", this.card?.title ?? "") ?? f} modal .open=${this._isDiagramOpen} @calciteDialogClose=${() => {
285
- this._isDiagramOpen = !1;
286
- }} outside-close-disabled scale=m width=l ${_(this._diagramDialogRef)}><solution-item-diagram .diagramKey=${this.diagramKey} .templateInfoGraph=${this.templateInfoGraph} .typeKeywords=${this.card?.typeKeywords}></solution-item-diagram></calcite-dialog>` : "";
287
- }
288
- _renderConfigureTitlesDialog() {
289
- return this._configureTitlesOpen ? l`<solution-configure-titles .card=${this.card} @solutionConfigureTitlesBeforeClose=${async () => {
290
- this._processTemplates(this.card).then((e) => {
291
- this.templateInfos = e;
292
- }), this._configureTitlesOpen = !1;
293
- }} @solutionItemsTitlesChanged=${async () => {
294
- this._processTemplates(this.card).then((e) => {
295
- this.templateInfos = e;
296
- });
297
- }} .open=${this._configureTitlesOpen} source="Card Dropdown" .templateInfos=${this.templateInfos}></solution-configure-titles>` : "";
298
- }
299
- _cardSelected() {
300
- this.deployedCardSelected.emit({
301
- card: this.card,
302
- cardRef: this.el
303
- });
304
- }
305
- async _viewDiagram(e) {
306
- e.stopPropagation(), this.card && (this._telemetry?.logEvent({
307
- category: y.DEPLOYMENTS,
308
- action: "View Diagram",
309
- dimensions: [
310
- this.card.title || "",
311
- this.card.deployCommonId || "",
312
- this.card.deployVersion || "",
313
- "Card Dropdown"
314
- ]
315
- }), this.templateInfoGraph = await this._processTemplates(this.card), this._isDiagramOpen = !0);
316
- }
317
- _viewDocumentation(e) {
318
- e.stopPropagation(), this._telemetry?.logEvent({
319
- category: y.DEPLOYMENTS,
320
- action: "Open Help",
321
- dimensions: [
322
- this.card?.title || "",
323
- this.card?.deployCommonId || "",
324
- this.card?.deployVersion || "",
325
- "Card Dropdown"
326
- ]
327
- }), window.open(this.card.learnMoreUrl, "_blank");
328
- }
329
- _viewItemDetails(e) {
330
- e.stopPropagation(), this._telemetry?.logEvent({
331
- category: y.DEPLOYMENTS,
332
- action: "Open Item Details",
333
- dimensions: [
334
- this.card?.title || "",
335
- this.card?.deployCommonId || "",
336
- this.card?.deployVersion || "",
337
- "Card Dropdown"
338
- ]
339
- }), window.open(this.card.itemUrl, "_blank");
340
- }
341
- _deleteSolution(e) {
342
- e.stopPropagation(), this._isDeleteOpen = !0;
343
- }
344
- _openUserProfile(e) {
345
- e.stopPropagation();
346
- const i = this._configContextConsumer.value?.authentication?.PortalSubset?.orgUrl;
347
- i && window.open(`${i}/home/user.html?user=${this.owner}`, "_blank");
348
- }
349
- async _processTemplates(e) {
350
- return await F(e.id, this._configContextConsumer.value.userSession);
351
- }
352
- _updateThumbnailToken(e) {
353
- this._thumbnailUrl !== "" && (this._thumbnailUrl = Y(this._thumbnailUrl, e));
354
- }
355
- }
356
- N("solution-deployed-card", q);
357
- const Ne = 500, Le = {
358
- AEC: "Architecture, Engineering, and Construction (AEC)",
359
- AIRPORTPORTRAIL: "Airports, Ports, and Rails",
360
- BUSINESS: "Business",
361
- CONSERVATION: "Conservation",
362
- DEFENSE: "Defense",
363
- FACILITIES: "Facilities",
364
- HEALTHANDHUMANSERVICES: "Health and Human Services",
365
- PIPELINE: "Pipeline",
366
- PUBLICSAFETY: "Public Safety",
367
- RENEWABLES: "Renewables",
368
- STATEANDLOCALGOVERNMENT: "State and Local Government",
369
- TELECOMMUNICATIONS: "Telecommunications",
370
- UTILITIES: "Utilities"
371
- }, Me = {
372
- AIRPORT: "Airports",
373
- AGRICULTURE: "Agriculture",
374
- ASSESSMENTANDTAXATION: "Assessment and Taxation",
375
- DISTRICTENERGY: "District Energy",
376
- ELECTIONS: "Elections",
377
- ELECTRIC: "Electric",
378
- EMERGENCYMANAGEMENT: "Emergency Management",
379
- ENVIRONMENTANDNATURALRESOURCES: "Environment and Natural Resources",
380
- FIRESERVICE: "Fire Service",
381
- FISHANDWILDLIFE: "Fish and Wildlife",
382
- GAS: "Gas",
383
- HEALTHANDHUMANSERVICES: "Health and Human Services",
384
- LAWENFORCEMENT: "Law Enforcement",
385
- NATURALRESOURCES: "Natural Resources",
386
- PARKS: "Parks",
387
- PLANNINGANDDEVELOPMENT: "Planning and Development",
388
- PROTECTEDAREAS: "Protected Areas",
389
- PUBLICWORKS: "Public Works",
390
- SEWER: "Sewer",
391
- STORMWATER: "Stormwater",
392
- TELECOMMUNICATIONS: "Telecommunications",
393
- TRANSPORTATION: "Transportation",
394
- WATER: "Water Distribution"
395
- };
396
- var d = /* @__PURE__ */ ((t) => (t.HUBPREMIUM = "solutions:hubPremium", t.NOTEBOOK = "solutions:notebook", t.TRACKINGBASE = "solutions:locationtracking", t.TRACKING = "solutions:locationtracking:tracking", t.TRACKINGADMIN = "solutions:locationtracking:admin", t.TRACKINGADMINANDTRACKING = "solutions:locationtracking:admin:tracking", t.VELOCITY = "solutions:velocity", t.WORKFLOW = "solutions:workflowManager", t))(d || {}), j = /* @__PURE__ */ ((t) => (t.VELOCITYBIGDATA = "portal:publisher:publishBigDataAnalytics", t.VELOCITYFEEDS = "portal:publisher:publishFeeds", t.VELOCITYREALTIME = "portal:publisher:publishRealTimeAnalytics", t))(j || {});
397
- const xe = '((typekeywords:Solution,Deployed,"ArcGIS Solution") OR ((typekeywords:Solution,Deployed) AND (created:[1577862000000 TO 1622576880000])))', Ue = "(typekeywords:Solution,Template)", J = "portal:user:addExternalMembersToGroup", Q = "portal:user:createItem", S = "portal:user:createGroup", X = "portal:publisher:publishBigDataAnalytics", A = "portal:publisher:publishFeatures", Z = "portal:publisher:publishFeeds", ee = "portal:publisher:publishServerGPServices", te = "portal:publisher:publishRealTimeAnalytics", O = "portal:user:shareToGroup", ie = "solutions:hubPremium", se = "solutions:notebook", ae = "solutions:locationtracking:admin:tracking", ne = "solutions:locationtracking:tracking", oe = "solutions:locationtracking:admin", re = "solutions:velocity", le = "solutions:workflowManager", ce = 250, y = {
398
- SOLUTION_DETAILS: "Solution Details",
399
- GLOBAL_NAVIGATION: "Global Nav",
400
- ALL_SOLUTIONS: "Solutions",
401
- DEPLOYMENTS: "Deployments",
402
- ASSISTANT: "Assistant",
403
- RESOURCES: "Resources",
404
- BUILDER: "Solution Builder"
405
- }, Pe = {
406
- MINE: "My deployments",
407
- ORG: "Organization"
408
- }, $e = {
409
- BOTH: "New,Suggested",
410
- NEW: "New",
411
- SUGGESTED: "Suggested"
412
- }, Ge = {
413
- NEW: "new",
414
- NUMVIEWS: "views",
415
- RELEVANCE: "relevance",
416
- SUGGESTED: "suggested",
417
- TITLE: "title",
418
- UPDATED: "updated",
419
- CREATED: "created"
420
- }, Be = {
421
- DEPLOY: "deploy",
422
- AIOPEN: "aiOpen"
423
- };
424
- function de(t) {
425
- let e = "", i = "?";
426
- return t.forEach((s) => {
427
- s.k && s.v && (e += i + s.k + "=" + s.v, i = "&");
428
- }), e;
429
- }
430
- function Ke(t) {
431
- return t ? m.getVelocityUrlBase(t, {}).then((e) => Promise.resolve(!!e)) : Promise.resolve(!1);
432
- }
433
- async function ue(t, e) {
434
- const i = e, s = await i.getUsername(), r = {
435
- q: new m.SearchQueryBuilder().match(t).in("title").and().match(s).in("owner"),
436
- filter: "type:Solution",
437
- authentication: i
438
- }, n = (await m.searchAllItems(r)).results.map((p) => p.title), { folders: o } = await m.getFoldersAndGroups(i), h = o.map((p) => p.title), u = [...n, ...h].map((p) => p.trim().toLowerCase()), b = t.toLowerCase(), k = u.filter((p) => p === b), C = u.filter((p) => p.startsWith(b));
439
- return { conflictingNames: k, similiarNames: C };
440
- }
441
- async function Fe(t, e) {
442
- return pe(t) ? { status: !1, type: "empty" } : he(t) ? { status: !1, type: "exceed length" } : ge(t, "folder") ? { status: !1, type: "special character" } : (await ue(t.trim(), e)).conflictingNames.length > 0 ? { status: !1, type: "not unique" } : { status: !0, type: "" };
443
- }
444
- function pe(t) {
445
- return t.length <= 0;
446
- }
447
- function he(t) {
448
- return t.length > ce;
449
- }
450
- function ge(t, e) {
451
- return (e === "item" ? /[><~`$^+=|]/u : /[/<>]/u).test(t);
452
- }
453
- function He(t) {
454
- if (t) {
455
- const e = t.trim();
456
- return e ? "<div>" + e + "</div>" : "";
4
+ function u(e) {
5
+ let t = "", r = "?";
6
+ return e.forEach((n) => {
7
+ n.k && n.v && (t += r + n.k + "=" + n.v, r = "&");
8
+ }), t;
9
+ }
10
+ function l(e) {
11
+ return e ? o.getVelocityUrlBase(e, {}).then((t) => Promise.resolve(!!t)) : Promise.resolve(!1);
12
+ }
13
+ function f(e) {
14
+ if (e) {
15
+ const t = e.trim();
16
+ return t ? "<div>" + t + "</div>" : "";
457
17
  } else
458
18
  return "";
459
19
  }
460
- function me(t) {
461
- let e = "", i = "?";
462
- return t.forEach((s) => {
463
- s.k && s.v && (e += i + s.k + "=" + s.v, i = "&");
464
- }), e;
20
+ function a(e) {
21
+ let t = "", r = "?";
22
+ return e.forEach((n) => {
23
+ n.k && n.v && (t += r + n.k + "=" + n.v, r = "&");
24
+ }), t;
465
25
  }
466
- function We(t, e, i) {
26
+ function d(e, t, r) {
467
27
  try {
468
- const s = new URL(t);
469
- if (s.searchParams.get(e) === i)
470
- return s.searchParams.delete(e), s.toString();
28
+ const n = new URL(e);
29
+ if (n.searchParams.get(t) === r)
30
+ return n.searchParams.delete(t), n.toString();
471
31
  } catch {
472
32
  }
473
- return t;
33
+ return e;
474
34
  }
475
- function Ve(t, e, i, s) {
476
- let a = "";
477
- return e ? a = s + "/sharing/rest/content/items/" + t + "/info/" + e + me([{ k: "w", v: "400" }]) : a = i, a;
35
+ function g(e, t, r, n) {
36
+ let s = "";
37
+ return t ? s = n + "/sharing/rest/content/items/" + e + "/info/" + t + a([{ k: "w", v: "400" }]) : s = r, s;
478
38
  }
479
- function ze(t) {
480
- const e = t ? t.replace("https://", "").replace("www.", "") : "";
481
- return e.endsWith("devext.arcgis.com") || e.endsWith("mapsqa.arcgis.com") || e.endsWith("qaext.arcgis.com") ? t ?? "https://www.arcgis.com" : "https://www.arcgis.com";
39
+ function m(e) {
40
+ const t = e ? e.replace("https://", "").replace("www.", "") : "";
41
+ return t.endsWith("devext.arcgis.com") || t.endsWith("mapsqa.arcgis.com") || t.endsWith("qaext.arcgis.com") ? e ?? "https://www.arcgis.com" : "https://www.arcgis.com";
482
42
  }
483
- function Ye(t, e, i) {
484
- return e.some((s) => s.wkid === t ? (i = s.defaultExtent, !0) : !1), i;
43
+ function p(e, t, r) {
44
+ return t.some((n) => n.wkid === e ? (r = n.defaultExtent, !0) : !1), r;
485
45
  }
486
- function qe(t, e) {
487
- return I(e || t);
46
+ function h(e, t) {
47
+ return i(t || e);
488
48
  }
489
- function je(t, e = "en") {
490
- return new Intl.DateTimeFormat(e, {
49
+ function w(e, t = "en") {
50
+ return new Intl.DateTimeFormat(t, {
491
51
  year: "numeric",
492
52
  month: "long",
493
53
  day: "numeric"
494
- }).format(t);
54
+ }).format(e);
495
55
  }
496
- function Je(t, e) {
497
- let i = "";
498
- return t.some((s) => s.startsWith(e) ? (i = s.substring(e.length), !0) : !1), i;
56
+ function v(e, t) {
57
+ let r = "";
58
+ return e.some((n) => n.startsWith(t) ? (r = n.substring(t.length), !0) : !1), r;
499
59
  }
500
- function I(t) {
501
- const e = t.replace("www.", "");
502
- return e.endsWith("devext.arcgis.com") ? "dev" : e.endsWith("mapsqa.arcgis.com") || e.endsWith("qaext.arcgis.com") ? "qa" : e === "arcgis.com" || e.endsWith(".arcgis.com") ? "prod" : "dev";
60
+ function i(e) {
61
+ const t = e.replace("www.", "");
62
+ return t.endsWith("devext.arcgis.com") ? "dev" : t.endsWith("mapsqa.arcgis.com") || t.endsWith("qaext.arcgis.com") ? "qa" : t === "arcgis.com" || t.endsWith(".arcgis.com") ? "prod" : "dev";
503
63
  }
504
- function Qe(t, e) {
505
- let i = t?.reduce((s, a) => (s.indexOf(a.id) < 0 && s.push(a.id), s), []) || [];
506
- return e ? i.sort((s, a) => e.indexOf(s) - e.indexOf(a)) : i;
64
+ function y(e, t) {
65
+ let r = e?.reduce((n, s) => (n.indexOf(s.id) < 0 && n.push(s.id), n), []) || [];
66
+ return t ? r.sort((n, s) => t.indexOf(n) - t.indexOf(s)) : r;
507
67
  }
508
- function Xe(t) {
509
- return t.charAt(0).toUpperCase() + t.slice(1);
68
+ function S(e) {
69
+ return e.charAt(0).toUpperCase() + e.slice(1);
510
70
  }
511
- function Ze(t) {
71
+ function E(e) {
512
72
  return {
513
73
  relevance: "Relevance",
514
74
  title: "Title",
@@ -516,87 +76,48 @@ function Ze(t) {
516
76
  created: "Date deployed",
517
77
  updated: "Updated",
518
78
  suggested: "Suggested for you"
519
- }[t] || t;
79
+ }[e] || e;
520
80
  }
521
- function et(t) {
522
- if (!t)
81
+ function k(e) {
82
+ if (!e)
523
83
  return "Unknown error";
524
- if (t.message)
525
- return t.message;
84
+ if (e.message)
85
+ return e.message;
526
86
  try {
527
- const e = JSON.stringify(t);
528
- return e && e !== "{}" ? e : t.toString();
87
+ const t = JSON.stringify(e);
88
+ return t && t !== "{}" ? t : e.toString();
529
89
  } catch {
530
- return t.toString();
90
+ return e.toString();
531
91
  }
532
92
  }
533
- function tt(t) {
534
- return t ? parseFloat(((Date.now() - t) / 1e3).toFixed(2)) : 0;
93
+ function x(e) {
94
+ return e ? parseFloat(((Date.now() - e) / 1e3).toFixed(2)) : 0;
535
95
  }
536
- function g(t, e) {
537
- (t.key === "Enter" || t.code === "NumpadEnter" || t.key === " ") && (t.preventDefault(), t.stopPropagation(), e());
96
+ function b(e, t) {
97
+ (e.key === "Enter" || e.code === "NumpadEnter" || e.key === " ") && (e.preventDefault(), e.stopPropagation(), t());
538
98
  }
539
- function it(t) {
99
+ function D(e) {
540
100
  window.dispatchEvent(new CustomEvent("showGlobalAlert", {
541
- detail: t
101
+ detail: e
542
102
  }));
543
103
  }
544
104
  export {
545
- Fe as $,
546
- Je as A,
547
- xe as B,
548
- Qe as C,
549
- ge as D,
550
- d as E,
551
- D as F,
552
- ke as G,
553
- it as H,
554
- ce as I,
555
- Y as J,
556
- g as K,
557
- Ce as L,
558
- Xe as M,
559
- Ze as N,
560
- He as O,
561
- J as P,
562
- je as Q,
563
- Ve as R,
564
- ie as S,
565
- y as T,
566
- me as U,
567
- Ke as V,
568
- tt as W,
569
- et as X,
570
- ve as Y,
571
- Re as Z,
572
- qe as _,
573
- Ue as a,
574
- Ye as a0,
575
- ue as a1,
576
- q as a2,
577
- Ne as b,
578
- Pe as c,
579
- Me as d,
580
- Le as e,
581
- $e as f,
582
- j as g,
583
- Be as h,
584
- Ge as i,
585
- S as j,
586
- Q as k,
587
- X as l,
588
- A as m,
589
- Z as n,
590
- ee as o,
591
- te as p,
592
- O as q,
593
- se as r,
594
- ne as s,
595
- oe as t,
596
- ae as u,
597
- re as v,
598
- le as w,
599
- ze as x,
600
- We as y,
601
- F as z
105
+ u as a,
106
+ v as b,
107
+ y as c,
108
+ D as d,
109
+ E as e,
110
+ f,
111
+ m as g,
112
+ b as h,
113
+ w as i,
114
+ g as j,
115
+ a as k,
116
+ l,
117
+ x as m,
118
+ k as n,
119
+ h as o,
120
+ p,
121
+ d as r,
122
+ S as t
602
123
  };