@esri/solutions-components 5.1.0-next.164 → 5.1.0-next.165

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 (188) hide show
  1. package/dist/cdn/22BT2PBE.js +338 -0
  2. package/dist/cdn/{OZSFGLR6.js → 25HVM373.js} +1 -1
  3. package/dist/cdn/{44EC2SD3.js → 26LDC3OX.js} +1 -1
  4. package/dist/cdn/275IZ5I6.js +5 -0
  5. package/dist/cdn/{GUMEOBNQ.js → 2D6HFQD5.js} +1 -1
  6. package/dist/cdn/{QTFTJ4DQ.js → 2EXGHOIM.js} +1 -1
  7. package/dist/cdn/{F3A22NPP.js → 2NSMAAXL.js} +1 -1
  8. package/dist/cdn/{A2VP46QZ.js → 2R7Y2ZVX.js} +1 -1
  9. package/dist/cdn/{3KRXI2TQ.js → 2RL6H5TB.js} +1 -1
  10. package/dist/cdn/{A6VVARNG.js → 2TEBTKD4.js} +1 -1
  11. package/dist/cdn/354D2K6F.js +2 -0
  12. package/dist/cdn/{D4TEADUS.js → 37P3IMFV.js} +1 -1
  13. package/dist/cdn/{C5BQAX2M.js → 3A3CPQX4.js} +1 -1
  14. package/dist/cdn/{2V64PFN2.js → 3J5ZSELO.js} +1 -1
  15. package/dist/cdn/{Q4X6GXRI.js → 3JCHYXHA.js} +1 -1
  16. package/dist/cdn/{IXLVTSCY.js → 3SMHMC4L.js} +1 -1
  17. package/dist/cdn/{S4ZMJ42A.js → 3UCDO65S.js} +1 -1
  18. package/dist/cdn/{CPOZIWVH.js → 463CZQF6.js} +1 -1
  19. package/dist/cdn/{BQ7O62CG.js → 47FRMYZ4.js} +1 -1
  20. package/dist/cdn/4A77MNRM.js +2 -0
  21. package/dist/cdn/{H5KFQMYD.js → 4HRGPGDM.js} +1 -1
  22. package/dist/cdn/{U6DXEFHP.js → 4RCC4KA2.js} +1 -1
  23. package/dist/cdn/{WXM3KMEV.js → 4SORDX5Z.js} +1 -1
  24. package/dist/cdn/{EHSIODIO.js → 54A4C4RG.js} +1 -1
  25. package/dist/cdn/54TJQLYJ.js +69 -0
  26. package/dist/cdn/{D5JF7XQN.js → 56DNSWXG.js} +1 -1
  27. package/dist/cdn/{OMRM5EXN.js → 5FWKODDH.js} +1 -1
  28. package/dist/cdn/{G63OYQ7G.js → 5IDPOFIN.js} +1 -1
  29. package/dist/cdn/{TLRBE2TZ.js → 5LSNDSHW.js} +1 -1
  30. package/dist/cdn/{I4EEOB6Y.js → 5N4KGIIY.js} +1 -1
  31. package/dist/cdn/{QWGJAD3Z.js → 67CEWYTY.js} +1 -1
  32. package/dist/cdn/6FY64JKN.js +2 -0
  33. package/dist/cdn/{EYJQEBDF.js → 6HZBPFHA.js} +1 -1
  34. package/dist/cdn/{XEYYUNNX.js → 6PZSOVYB.js} +1 -1
  35. package/dist/cdn/{FZNRD2XJ.js → 6WNKGSHD.js} +1 -1
  36. package/dist/cdn/{NQBHAESW.js → 6WVYNWVR.js} +1 -1
  37. package/dist/cdn/{MBVY6OPY.js → 743J2ZUC.js} +1 -1
  38. package/dist/cdn/{7YJMTZFC.js → 77753TPX.js} +1 -1
  39. package/dist/cdn/{4G6CA64M.js → 7VY3RI7C.js} +1 -1
  40. package/dist/cdn/A2A3RFJ6.js +2 -0
  41. package/dist/cdn/{GABDTUB7.js → A6ZTIX3P.js} +1 -1
  42. package/dist/cdn/{R3PYC2H6.js → AAUM57XI.js} +1 -1
  43. package/dist/cdn/{Z226R5SF.js → ADURBGIK.js} +1 -1
  44. package/dist/cdn/{GVFCX2FF.js → APNDTPBA.js} +1 -1
  45. package/dist/cdn/{S47SVZPE.js → ARFBMFQW.js} +1 -1
  46. package/dist/cdn/ATEW4U4A.js +2 -0
  47. package/dist/cdn/{TSUSILGP.js → AYHTQTVS.js} +1 -1
  48. package/dist/cdn/{KU2LYW6K.js → BIX5DRQP.js} +1 -1
  49. package/dist/cdn/{G2RMWJ7R.js → BOFA5RH7.js} +1 -1
  50. package/dist/cdn/{P7LSYADG.js → BWWX52HV.js} +1 -1
  51. package/dist/cdn/{QPX33Y62.js → BXSBR2GT.js} +1 -1
  52. package/dist/cdn/{PN2P5EVA.js → CMCEF65U.js} +1 -1
  53. package/dist/cdn/CRDFUDM4.js +45 -0
  54. package/dist/cdn/{4AFANEZZ.js → CS5N3DOL.js} +1 -1
  55. package/dist/cdn/{CZ4A24AM.js → CU2JLCTZ.js} +1 -1
  56. package/dist/cdn/{KSAJFFJI.js → CV4B2O7J.js} +1 -1
  57. package/dist/cdn/{TTCTODAR.js → CVXDL2AT.js} +1 -1
  58. package/dist/cdn/{XHFFDKEQ.js → D22STVK5.js} +1 -1
  59. package/dist/cdn/{XF5N3NI5.js → DIBK4RSG.js} +1 -1
  60. package/dist/cdn/{JCQQIAIE.js → DQ47P6ES.js} +1 -1
  61. package/dist/cdn/{5NZT27OV.js → DVPYGOBV.js} +1 -1
  62. package/dist/cdn/E3F63VW4.js +2 -0
  63. package/dist/cdn/EL3OIP52.js +31 -0
  64. package/dist/cdn/{WQHJMFGP.js → ENXQ33P7.js} +1 -1
  65. package/dist/cdn/{Q6WCNWQE.js → ERLDQUNI.js} +1 -1
  66. package/dist/cdn/EUI6UDCN.js +43 -0
  67. package/dist/cdn/{RQIGAX6O.js → EWS72RFR.js} +1 -1
  68. package/dist/cdn/{4PNNKMNH.js → F4MS4NQL.js} +1 -1
  69. package/dist/cdn/{UA6XD7SQ.js → FFZ2XVRE.js} +1 -1
  70. package/dist/cdn/{YNCRTGYJ.js → FMPY32BG.js} +1 -1
  71. package/dist/cdn/{XKEKXTL2.js → FSF3T3OT.js} +1 -1
  72. package/dist/cdn/{JFLG3EKT.js → FYJMHXWV.js} +1 -1
  73. package/dist/cdn/{57SZHKM5.js → G4V4JPFI.js} +1 -1
  74. package/dist/cdn/GSCHQNQD.js +56 -0
  75. package/dist/cdn/{SHI2ULEO.js → GSR2GEY7.js} +1 -1
  76. package/dist/cdn/{2OCRSUSE.js → GUSPFJUQ.js} +1 -1
  77. package/dist/cdn/{LY3WRG7K.js → GVMTSUDH.js} +1 -1
  78. package/dist/cdn/{A62EWI7L.js → H4LZV33O.js} +1 -1
  79. package/dist/cdn/{OG4BNL2Z.js → HAMYUUYZ.js} +1 -1
  80. package/dist/cdn/{DVCYL5TO.js → HDMAFAEM.js} +1 -1
  81. package/dist/cdn/{X65HFYH4.js → HIB4BVGK.js} +1 -1
  82. package/dist/cdn/{2I5LGZNX.js → HIPZRG2Q.js} +1 -1
  83. package/dist/cdn/{LXGY2E55.js → HKFXHTYU.js} +1 -1
  84. package/dist/cdn/{EKK5FR2V.js → HM2QALUN.js} +1 -1
  85. package/dist/cdn/{MISU75DC.js → HQCHD3FH.js} +1 -1
  86. package/dist/cdn/HRQVJBRJ.js +2 -0
  87. package/dist/cdn/HXNARVYH.js +3 -0
  88. package/dist/cdn/{Q3MHT47G.js → I4PBOBUM.js} +1 -1
  89. package/dist/cdn/{V7WSQCQY.js → IAEFPE3L.js} +1 -1
  90. package/dist/cdn/INLWMPGE.js +2 -0
  91. package/dist/cdn/ITCC5G26.js +136 -0
  92. package/dist/cdn/IXPNZCW6.js +2 -0
  93. package/dist/cdn/{SMN3CVM5.js → IXRFWVBT.js} +1 -1
  94. package/dist/cdn/JFMNVOWH.js +2 -0
  95. package/dist/cdn/{AV2Q4PBA.js → JFPR5QIQ.js} +1 -1
  96. package/dist/cdn/{DF7TCZUS.js → KDDHPA54.js} +1 -1
  97. package/dist/cdn/{3IO2JXVB.js → KR2PPIBX.js} +1 -1
  98. package/dist/cdn/LGBRHJBY.js +109 -0
  99. package/dist/cdn/{5K5GHKON.js → LV5KMTCD.js} +1 -1
  100. package/dist/cdn/LVYAW6XF.js +2 -0
  101. package/dist/cdn/LWJF6EXD.js +85 -0
  102. package/dist/cdn/{55QBAVPE.js → M6AOD7GG.js} +1 -1
  103. package/dist/cdn/{J6CXULUZ.js → MFFM74RG.js} +1 -1
  104. package/dist/cdn/{XM3SRZWV.js → MIV34H66.js} +1 -1
  105. package/dist/cdn/{EF2TTWG5.js → MKSUYITL.js} +1 -1
  106. package/dist/cdn/{IXBI3PV7.js → MOSQBUUZ.js} +1 -1
  107. package/dist/cdn/MV7GEGP5.js +98 -0
  108. package/dist/cdn/{26QXT6ZT.js → O4DB2EXV.js} +1 -1
  109. package/dist/cdn/OAUHQK3Y.js +54 -0
  110. package/dist/cdn/{WGRSVQHE.js → OBCXHY24.js} +1 -1
  111. package/dist/cdn/{V5WXJLJN.js → ON4EBR25.js} +1 -1
  112. package/dist/cdn/{7RIJ2EMD.js → OUMIC7G7.js} +1 -1
  113. package/dist/cdn/{F5SUVMAE.js → OZ4IYASP.js} +1 -1
  114. package/dist/cdn/{X7WLU5YB.js → P666D4WT.js} +1 -1
  115. package/dist/cdn/PGTLLFW6.js +3 -0
  116. package/dist/cdn/{WCXR46D4.js → PLQEDCUG.js} +1 -1
  117. package/dist/cdn/PLXHBQBF.js +146 -0
  118. package/dist/cdn/{22BJ76LD.js → PM4EFNB2.js} +1 -1
  119. package/dist/cdn/PPFEO3UH.js +2 -0
  120. package/dist/cdn/{UBPOT5V3.js → QMAV4UTN.js} +1 -1
  121. package/dist/cdn/{MICWKD3Q.js → QYCERRRZ.js} +1 -1
  122. package/dist/cdn/{7JC52SFZ.js → QZ2ZMWIH.js} +1 -1
  123. package/dist/cdn/{CAYWD56D.js → R27S3IDW.js} +1 -1
  124. package/dist/cdn/RDJIKSXN.js +439 -0
  125. package/dist/cdn/{I2NTSKBD.js → RLSY4VUQ.js} +1 -1
  126. package/dist/cdn/{HVT2WBVC.js → S4GBMN37.js} +1 -1
  127. package/dist/cdn/{KTRKTBPS.js → SGFSVWTY.js} +1 -1
  128. package/dist/cdn/{3LZFERNW.js → SHEDDVHQ.js} +1 -1
  129. package/dist/cdn/{5F6KCXYP.js → SJLSYFK3.js} +1 -1
  130. package/dist/cdn/T3EPRHTT.js +4 -0
  131. package/dist/cdn/TLIIJ2QC.js +122 -0
  132. package/dist/cdn/{BM4VSEDV.js → TWJ6DAY5.js} +1 -1
  133. package/dist/cdn/{KKEERGX7.js → TZHRYPII.js} +1 -1
  134. package/dist/cdn/{I7MO6UJB.js → U27263JW.js} +1 -1
  135. package/dist/cdn/{DKXVDY6L.js → U2FC3BET.js} +1 -1
  136. package/dist/cdn/{FBGCV6YJ.js → UCYR537P.js} +1 -1
  137. package/dist/cdn/{SS6AENH6.js → UDPMO6YN.js} +1 -1
  138. package/dist/cdn/{DJYT367X.js → V5BIPD5T.js} +1 -1
  139. package/dist/cdn/{XXQVYXGC.js → VBJJQPZT.js} +1 -1
  140. package/dist/cdn/VDI7SDRK.js +5 -0
  141. package/dist/cdn/VDZT4UXB.js +36 -0
  142. package/dist/cdn/{24DOFCUH.js → VKHBBAXO.js} +1 -1
  143. package/dist/cdn/{O7VRD3Z3.js → VL2NVCIB.js} +1 -1
  144. package/dist/cdn/{RBSOCHJT.js → VN3AKGAY.js} +1 -1
  145. package/dist/cdn/{VTAQ6NBB.js → VUXNHQGR.js} +1 -1
  146. package/dist/cdn/{EFYLYWPE.js → W5TNQMAJ.js} +1 -1
  147. package/dist/cdn/{BATEZR3T.js → WNVC3PSY.js} +1 -1
  148. package/dist/cdn/WXDMML76.js +2 -0
  149. package/dist/cdn/{JEIP7CJK.js → XKFX43FE.js} +1 -1
  150. package/dist/cdn/{GLC7JVKG.js → XQ7SXIHI.js} +1 -1
  151. package/dist/cdn/{ISFTCFSJ.js → Y2AUIXNK.js} +1 -1
  152. package/dist/cdn/{L4BYLII5.js → Y3GFBLXF.js} +1 -1
  153. package/dist/cdn/{VCLTCEIQ.js → YEDC2OLI.js} +1 -1
  154. package/dist/cdn/{3QONPAFM.js → YLIWN2J2.js} +1 -1
  155. package/dist/cdn/YPDXQEUA.js +77 -0
  156. package/dist/cdn/{SXECIQ6Q.js → YSQDSGSF.js} +1 -1
  157. package/dist/cdn/{BEKMMPB7.js → YUI2MSOK.js} +1 -1
  158. package/dist/cdn/{ONARC6AZ.js → YUWXPLTE.js} +1 -1
  159. package/dist/cdn/{CKURBJFW.js → YW2WMW6B.js} +1 -1
  160. package/dist/cdn/{IEXNY45H.js → ZWASNOIQ.js} +1 -1
  161. package/dist/cdn/index.js +1 -1
  162. package/dist/chunks/classifyIntent.js +31 -44
  163. package/dist/chunks/solution-builder-assistant.js +11 -11
  164. package/dist/chunks/validators.js +4 -3
  165. package/dist/components/arcgis-solutions-assistant/customElement.js +1031 -792
  166. package/dist/docs/api.json +1 -1
  167. package/dist/docs/docs.json +1 -1
  168. package/dist/docs/web-types.json +1 -1
  169. package/dist/solutions-components_commit.txt +3 -3
  170. package/package.json +1 -1
  171. package/dist/cdn/5M3PCZM5.js +0 -2
  172. package/dist/cdn/7VD3Y4IF.js +0 -2
  173. package/dist/cdn/B5JYLQYP.js +0 -2
  174. package/dist/cdn/FE7HMUSZ.js +0 -2
  175. package/dist/cdn/FFF5HUPM.js +0 -4
  176. package/dist/cdn/FZUI77EG.js +0 -2
  177. package/dist/cdn/J6OVONBB.js +0 -2
  178. package/dist/cdn/JDI57IEI.js +0 -98
  179. package/dist/cdn/LDSV7DEV.js +0 -2
  180. package/dist/cdn/LHTDVWX2.js +0 -90
  181. package/dist/cdn/LQXIFBIM.js +0 -3
  182. package/dist/cdn/O4VFFJLQ.js +0 -2
  183. package/dist/cdn/TGMVIKID.js +0 -2
  184. package/dist/cdn/UHJVBWUV.js +0 -434
  185. package/dist/cdn/V4O3KYPD.js +0 -2
  186. package/dist/cdn/V4ZJH2HP.js +0 -2
  187. package/dist/cdn/VHYS3SP3.js +0 -2
  188. package/dist/cdn/WRQXYCRH.js +0 -2
@@ -0,0 +1,77 @@
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
+ import"./EXBEKVP5.js";var e=`## Task: Summarize Geographic Features
3
+
4
+ You are given features from ArcGIS Feature layer for multiple layers:
5
+ {queryResponse}
6
+
7
+ ## Input
8
+
9
+ Assigned task:
10
+ {assignedTask}
11
+
12
+ Latest user request:
13
+ {userRequest}
14
+
15
+ Prior steps:
16
+ {priorSteps}
17
+
18
+ Use the assigned task as the primary instruction for the current query.
19
+ Use the latest user request as supporting context when needed.
20
+ Use prior steps only when the assigned task clearly depends on earlier results.
21
+ Use chat history only when necessary to understand conversational references, and do not override the assigned task.
22
+
23
+ ### Your goal:
24
+
25
+ 1. If the assigned task is about a **specific calculation** (e.g., average, total, count, min, max), return a **single concise sentence** that includes the numeric result.
26
+
27
+ - Example: \u201CThe average price is $4.00.\u201D
28
+ - Never return a bare number by itself (for example: \`4\`).
29
+ - When a value is already present in \`queryResponse\` (for example in \`details.value\` or \`summary\`), copy that value **verbatim**.
30
+ - Do NOT reformat values (including numbers, dates, and times):
31
+ - Do not add/remove grouping commas.
32
+ - Do not change decimals, round values, or change numeric type/text.
33
+ - Do not change date/time format, timezone notation, separators, or precision.
34
+
35
+ 2. If the question is more general or there are **multiple features with varying attributes**, write a **brief summary** (2\u20133 sentences max) that highlights key patterns or insights.
36
+
37
+ 3. The response can be per layer, or summarize based on the question.
38
+
39
+ 4. DO NOT ramble.
40
+
41
+ 5. If a \`geometryFilter\` is used, do NOT assume the feature referenced in that geometry (e.g., "ApplicationNumber = 'XYZ'") must appear in the results. It may only be used as a spatial anchor.
42
+
43
+ Only describe what _was_ found \u2014 not what was _used to search_.
44
+
45
+ 6. If no feature \`attributes\` are returned but \`totalCount\` is present, assume the spatial filter was applied correctly. There is no need to say the subset was not returned \u2014 just summarize based on the count and available context.
46
+
47
+ 7. Do not give suggestions like exporting the results as the tools are not capable to do that.
48
+
49
+ 8. Format all responses using **Markdown** suitable for chat display.
50
+
51
+ - Use bullet points for lists and use new lines (\\n) and appropriate formatting in your response.
52
+ - Use Markdown emphasis (for example, **bold**) only when it improves clarity; keep formatting minimal and readable.
53
+ - If results are best presented in rows/columns (for example, multiple features sharing the same fields), format them as a **Markdown table**.
54
+ - The table must be valid Markdown with a header row and separator row (e.g., \`| Column |\` and \`| --- |\`).
55
+ - Do not use plain aligned text, CSV-like output, or code fences for tabular data.
56
+
57
+ 9. Do NOT say things like "I can't change the map", "I can't highlight features", or suggest WHERE clauses for the user to run manually. A separate system handles map visualization automatically after this step. Your job is ONLY to summarize the data returned by the query.
58
+
59
+ In all cases:
60
+
61
+ - Focus on **notable attribute values**, **commonalities or differences**, and **interesting trends**.
62
+ - If the feature list is empty or not meaningful, state that clearly.
63
+ - Only use fields present in query results. Do not make guesses.
64
+
65
+ ### STRICT OUTPUT RULES
66
+
67
+ - Do NOT ask follow-up questions.
68
+ - Do NOT offer additional actions or suggestions.
69
+ - Do NOT explain what you can do next.
70
+ - Do NOT add conversational phrases.
71
+ - Do NOT add any text beyond the requested summary or numeric answer.
72
+ - End the response immediately after the summary.
73
+ - Do NOT include introductory phrases (e.g., "Found", "Here are", "The results show").
74
+ - Do NOT restate the assigned task or user\u2019s question.
75
+ - Use Markdown formatting for the response.
76
+ - When presenting tabular data, output a valid Markdown table.
77
+ `;export{e as default};
@@ -1,2 +1,2 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
- import a from"./WDASGI72.js";import{a as f,b as v}from"./2B4SGB3I.js";import{b as r}from"./I2NTSKBD.js";import{a as b}from"./XF5N3NI5.js";import{b as g}from"./2I5LGZNX.js";import{E as s,F as l,G as p,J as u,h as d,i,j as h,q as o}from"./FFF5HUPM.js";export default $arcgis.t(([{s:m,t:x}])=>{var w=d`calcite-shell-panel{z-index:var(--calcite-z-index-1)}.display-flex{display:flex}.flex-1,.flex-grow{flex:1}.flex-shrink-0{flex:0 0 auto}.leader-1{margin-top:var(--calcite-spacing-xxl)}.trailer-1{margin-bottom:var(--calcite-spacing-xxl)}.warning-text{max-width:35em;margin-left:auto;margin-right:auto;font-size:var(--calcite-font-size-md)}.text-center{text-align:center}.border-override{border-top-width:var(--calcite-border-width-none);border-bottom-width:var(--calcite-border-width-none)}.header-override{--calcite-panel-header-content-space: var(--calcite-spacing-none);--calcite-panel-header-background-color: var(--calcite-color-surface-3)}.panel-override{--calcite-panel-background-color: var(--calcite-color-surface-3);--calcite-panel-border-color: none}.label-override{--calcite-label-margin-bottom: var(--calcite-spacing-none);font-weight:var(--calcite-font-weight-medium)}.header-content-wrapper{padding-inline-start:var(--calcite-spacing-xxs)}.header-button-padding{padding-top:var(--calcite-spacing-sm);padding-bottom:var(--calcite-spacing-sm);padding-inline-start:var(--calcite-spacing-lg);padding-inline-end:var(--calcite-spacing-lg)}.padding-start{padding-inline-start:var(--calcite-spacing-lg)}.align-items-center{align-items:center}.justify-content-end{justify-content:end}.justify-content-start{justify-content:start}.filter-width-350{--calcite-shell-panel-width: 350px}.z-index-2{z-index:2}.mock-fab{--calcite-fab-shadow-internal: 0 6px 20px -4px rgba(0, 0, 0, .1), 0 4px 12px -2px rgba(0, 0, 0, .08);box-shadow:var(--calcite-fab-shadow, var(--calcite-fab-shadow-internal));--calcite-button-background-color: var(--calcite-fab-background-color);--calcite-button-border-color: var(--calcite-fab-border-color);--calcite-button-text-color: var(--calcite-fab-text-color);--calcite-button-loader-color: var(--calcite-fab-loader-color)}.position-relative{position:relative;height:100%;overflow:hidden}.height-100{height:100%}.height-50{height:50px}.sign-in-prompt{display:flex;flex-direction:column;justify-content:center;align-items:center;width:100%;height:100%}.sign-in-icon{transform:translate(-20px)}.height-150{height:150px}.width-150{width:150px}.padding-top-8{padding-top:8px}`,c=class extends p{constructor(){super(),this.solutionsCount=0,this.filterOpen=!0,this.isMobile=!1,this._translations=b({name:"solutions-deployed-shell",blocking:!0}),this._configContextConsumer=r({context:v,subscribe:!0}),this._isMobileContextConsumer=r({context:f,subscribe:!0,callback:e=>this.isMobile=e}),this._solutionsDeployedPanelRef=s(),this._mainPanelRef=s(),this._panelFixed=!1,this.filterRemoved=o(),this.tokenRefreshed=o(),this._handleSignIn=()=>{let e=window.location.pathname.endsWith("deployments")?"":"deployments";this._configContextConsumer.value?.authentication?.signIn(e)},this.listenOn(window,"deployedCardFetchFailed",e=>{let t=e.detail;x({kind:"danger",icon:"exclamation-mark-triangle",title:t.title,message:t.message,autoClose:!0})})}static{this.properties={solutionsCount:9,filterOpen:16,isMobile:16,_translations:16}}static{this.styles=w}willUpdate(e){e.has("isMobile")&&(this.filterOpen=!this.isMobile)}async searchSolutions(e){this._solutionsDeployedPanelRef.value?.setSearchOptions(e),("sortType"in e||"searchTerm"in e)&&this._solutionsDeployedPanelRef.value?.searchSolutions(e)}async load(){this._isMobileContextConsumer.value&&(this.isMobile=this._isMobileContextConsumer.value)}updated(){this._fixPanelContentWrapperFocus()}_fixPanelContentWrapperFocus(){if(!this._panelFixed&&this._mainPanelRef.value){let e=this._mainPanelRef.value;e.componentOnReady?.().then(()=>{if(e.shadowRoot){let t=e.shadowRoot.querySelector(".content-wrapper");t&&(t.tabIndex=-1,this._panelFixed=!0,this._setupPanelObserver())}}).catch(()=>{this._panelFixed=!0})}}_setupPanelObserver(){if(this._panelObserver)return;this._panelObserver=new MutationObserver(t=>{t.forEach(n=>{if(n.type==="attributes"&&n.attributeName==="tabindex"){let a=n.target;a.classList.contains("content-wrapper")&&a.tabIndex===0&&(a.tabIndex=-1)}})});let e=this._mainPanelRef.value;if(e?.shadowRoot){let t=e.shadowRoot.querySelector(".content-wrapper");t&&this._panelObserver.observe(t,{attributes:!0,attributeFilter:["tabindex"]})}}disconnectedCallback(){super.disconnectedCallback(),this._panelObserver?.disconnect()}render(){if(!this._configContextConsumer.value?.authentication?.IsSignedIn)return this._getSignInPrompt();let e=this.isMobile?"justify-content-start":"";return i`<calcite-shell class="position-relative"><calcite-panel class="border-override header-override panel-override z-index-1" ${l(this._mainPanelRef)}><div class=${`display-flex align-items-center height-50 header-content-wrapper ${e}`} slot=header-content><calcite-label class="label-override flex-shrink-0 padding-top-8" layout=inline>${this._translations.numberOfDeployments?.replace("{{count}}",this.solutionsCount.toString())}</calcite-label></div>${this._getSolutionsDeployedPanel()}</calcite-panel></calcite-shell>`}_getSignInPrompt(){return i`<div class="sign-in-prompt">${this._getSignInIcon()}<div class="text-center leader-1 warning-text trailer-1">${this._translations.signInMessage}</div><calcite-button appearance=outline @click=${this._handleSignIn} @keydown=${e=>m(e,()=>this._handleSignIn())} scale=l>${this._translations.signIn}</calcite-button></div>`}_getSolutionsDeployedPanel(){let e=this.isMobile&&this.filterOpen?{display:"none"}:"";return i`<div><solutions-deployed-panel @deployedCardsFetched=${this._updateSolutionCount} style=${u(e)} ${l(this._solutionsDeployedPanelRef)}></solutions-deployed-panel></div>`}_updateSolutionCount(e){this.solutionsCount=e.detail}_getSignInIcon(){return i`<div class="sign-in-icon"><svg aria-hidden=true viewBox="0 0 64 64" width=200 height=200 xmlns=http://www.w3.org/2000/svg>${h`<path d="M56.9 4.1V60h-.8V4.9H23.3l25.6 7.47v39.26l-28.8 8.4V35h.8v23.97l27.2-7.94V12.97L20.9 5.03V30h-.8V4.1h36.8zM30.735 41.7l.565.566 9.766-9.766-9.766-9.766-.565.567 8.799 8.799H5v.8h34.534l-8.8 8.8z" fill=var(--calcite-color-text-3) />`}</svg></div>`}};g("solutions-deployed-shell",c);return c},a)
2
+ import a from"./WDASGI72.js";import{a as f,b as v}from"./2B4SGB3I.js";import{b as r}from"./RLSY4VUQ.js";import{a as b}from"./DIBK4RSG.js";import{b as g}from"./HIPZRG2Q.js";import{F as s,G as l,H as p,K as u,h as d,i,j as h,q as o}from"./T3EPRHTT.js";export default $arcgis.t(([{s:m,t:x}])=>{var w=d`calcite-shell-panel{z-index:var(--calcite-z-index-1)}.display-flex{display:flex}.flex-1,.flex-grow{flex:1}.flex-shrink-0{flex:0 0 auto}.leader-1{margin-top:var(--calcite-spacing-xxl)}.trailer-1{margin-bottom:var(--calcite-spacing-xxl)}.warning-text{max-width:35em;margin-left:auto;margin-right:auto;font-size:var(--calcite-font-size-md)}.text-center{text-align:center}.border-override{border-top-width:var(--calcite-border-width-none);border-bottom-width:var(--calcite-border-width-none)}.header-override{--calcite-panel-header-content-space: var(--calcite-spacing-none);--calcite-panel-header-background-color: var(--calcite-color-surface-3)}.panel-override{--calcite-panel-background-color: var(--calcite-color-surface-3);--calcite-panel-border-color: none}.label-override{--calcite-label-margin-bottom: var(--calcite-spacing-none);font-weight:var(--calcite-font-weight-medium)}.header-content-wrapper{padding-inline-start:var(--calcite-spacing-xxs)}.header-button-padding{padding-top:var(--calcite-spacing-sm);padding-bottom:var(--calcite-spacing-sm);padding-inline-start:var(--calcite-spacing-lg);padding-inline-end:var(--calcite-spacing-lg)}.padding-start{padding-inline-start:var(--calcite-spacing-lg)}.align-items-center{align-items:center}.justify-content-end{justify-content:end}.justify-content-start{justify-content:start}.filter-width-350{--calcite-shell-panel-width: 350px}.z-index-2{z-index:2}.mock-fab{--calcite-fab-shadow-internal: 0 6px 20px -4px rgba(0, 0, 0, .1), 0 4px 12px -2px rgba(0, 0, 0, .08);box-shadow:var(--calcite-fab-shadow, var(--calcite-fab-shadow-internal));--calcite-button-background-color: var(--calcite-fab-background-color);--calcite-button-border-color: var(--calcite-fab-border-color);--calcite-button-text-color: var(--calcite-fab-text-color);--calcite-button-loader-color: var(--calcite-fab-loader-color)}.position-relative{position:relative;height:100%;overflow:hidden}.height-100{height:100%}.height-50{height:50px}.sign-in-prompt{display:flex;flex-direction:column;justify-content:center;align-items:center;width:100%;height:100%}.sign-in-icon{transform:translate(-20px)}.height-150{height:150px}.width-150{width:150px}.padding-top-8{padding-top:8px}`,c=class extends p{constructor(){super(),this.solutionsCount=0,this.filterOpen=!0,this.isMobile=!1,this._translations=b({name:"solutions-deployed-shell",blocking:!0}),this._configContextConsumer=r({context:v,subscribe:!0}),this._isMobileContextConsumer=r({context:f,subscribe:!0,callback:e=>this.isMobile=e}),this._solutionsDeployedPanelRef=s(),this._mainPanelRef=s(),this._panelFixed=!1,this.filterRemoved=o(),this.tokenRefreshed=o(),this._handleSignIn=()=>{let e=window.location.pathname.endsWith("deployments")?"":"deployments";this._configContextConsumer.value?.authentication?.signIn(e)},this.listenOn(window,"deployedCardFetchFailed",e=>{let t=e.detail;x({kind:"danger",icon:"exclamation-mark-triangle",title:t.title,message:t.message,autoClose:!0})})}static{this.properties={solutionsCount:9,filterOpen:16,isMobile:16,_translations:16}}static{this.styles=w}willUpdate(e){e.has("isMobile")&&(this.filterOpen=!this.isMobile)}async searchSolutions(e){this._solutionsDeployedPanelRef.value?.setSearchOptions(e),("sortType"in e||"searchTerm"in e)&&this._solutionsDeployedPanelRef.value?.searchSolutions(e)}async load(){this._isMobileContextConsumer.value&&(this.isMobile=this._isMobileContextConsumer.value)}updated(){this._fixPanelContentWrapperFocus()}_fixPanelContentWrapperFocus(){if(!this._panelFixed&&this._mainPanelRef.value){let e=this._mainPanelRef.value;e.componentOnReady?.().then(()=>{if(e.shadowRoot){let t=e.shadowRoot.querySelector(".content-wrapper");t&&(t.tabIndex=-1,this._panelFixed=!0,this._setupPanelObserver())}}).catch(()=>{this._panelFixed=!0})}}_setupPanelObserver(){if(this._panelObserver)return;this._panelObserver=new MutationObserver(t=>{t.forEach(n=>{if(n.type==="attributes"&&n.attributeName==="tabindex"){let a=n.target;a.classList.contains("content-wrapper")&&a.tabIndex===0&&(a.tabIndex=-1)}})});let e=this._mainPanelRef.value;if(e?.shadowRoot){let t=e.shadowRoot.querySelector(".content-wrapper");t&&this._panelObserver.observe(t,{attributes:!0,attributeFilter:["tabindex"]})}}disconnectedCallback(){super.disconnectedCallback(),this._panelObserver?.disconnect()}render(){if(!this._configContextConsumer.value?.authentication?.IsSignedIn)return this._getSignInPrompt();let e=this.isMobile?"justify-content-start":"";return i`<calcite-shell class="position-relative"><calcite-panel class="border-override header-override panel-override z-index-1" ${l(this._mainPanelRef)}><div class=${`display-flex align-items-center height-50 header-content-wrapper ${e}`} slot=header-content><calcite-label class="label-override flex-shrink-0 padding-top-8" layout=inline>${this._translations.numberOfDeployments?.replace("{{count}}",this.solutionsCount.toString())}</calcite-label></div>${this._getSolutionsDeployedPanel()}</calcite-panel></calcite-shell>`}_getSignInPrompt(){return i`<div class="sign-in-prompt">${this._getSignInIcon()}<div class="text-center leader-1 warning-text trailer-1">${this._translations.signInMessage}</div><calcite-button appearance=outline @click=${this._handleSignIn} @keydown=${e=>m(e,()=>this._handleSignIn())} scale=l>${this._translations.signIn}</calcite-button></div>`}_getSolutionsDeployedPanel(){let e=this.isMobile&&this.filterOpen?{display:"none"}:"";return i`<div><solutions-deployed-panel @deployedCardsFetched=${this._updateSolutionCount} style=${u(e)} ${l(this._solutionsDeployedPanelRef)}></solutions-deployed-panel></div>`}_updateSolutionCount(e){this.solutionsCount=e.detail}_getSignInIcon(){return i`<div class="sign-in-icon"><svg aria-hidden=true viewBox="0 0 64 64" width=200 height=200 xmlns=http://www.w3.org/2000/svg>${h`<path d="M56.9 4.1V60h-.8V4.9H23.3l25.6 7.47v39.26l-28.8 8.4V35h.8v23.97l27.2-7.94V12.97L20.9 5.03V30h-.8V4.1h36.8zM30.735 41.7l.565.566 9.766-9.766-9.766-9.766-.565.567 8.799 8.799H5v.8h34.534l-8.8 8.8z" fill=var(--calcite-color-text-3) />`}</svg></div>`}};g("solutions-deployed-shell",c);return c},a)
@@ -1,2 +1,2 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
- import{a as v}from"./BM666UZR.js";import e from"./2C4DK6YC.js";import a from"./WV7QX3ED.js";import{b as w}from"./I2NTSKBD.js";import{a as L}from"./XF5N3NI5.js";import"./UBPOT5V3.js";import"./ISFTCFSJ.js";import{b as u}from"./2I5LGZNX.js";import{E as d,F as o,G as g,I as p,J as c,h as b,i,l,q as h,t as _}from"./FFF5HUPM.js";import"./EXBEKVP5.js";export default $arcgis.t(([,{a:f,b:I,d:y}])=>{var $=b`@layer{:host{display:block}.map-layer-picker-container{width:100%;align-items:center}.map-layer-picker{position:relative;width:100%;display:inline-block}.padding-bottom-1{padding-bottom:1rem}.layer-picker-dropdown{height:100%;width:100%}.max-width-350{max-width:350px}.height-100{height:100%}.disabled{cursor:default!important;user-select:none;opacity:var(--calcite-opacity-disabled);pointer-events:none}.no-bottom-margin{--calcite-label-margin-bottom: 0px}.layer-picker-label-container{align-items:center;display:inline-flex;height:100%;padding-inline-start:1rem;padding-inline-end:1rem}.padding-start-1{padding-inline-start:1rem}.cursor-default{cursor:default}.popover-list{overflow:auto;width:250px}}`,m=class extends g{constructor(){super(),this.appearance="transparent",this.configLayerOrderDefined=!1,this.defaultLayerId="",this.disabled=!1,this.display="inline-block",this.enabledLayerIds=[],this.isMobile=!1,this.showOnlyUpdatableLayers=!1,this.selectedIds=[],this.scale="m",this.showTables=!1,this.showTablesDisabled=!1,this.showSingleLayerAsLabel=!1,this.type="select",this.showLayersListInPopover=!1,this.referenceElement="",this.force=!1,this._hasMultipleLayers=!0,this._hasValidLayers=!0,this._isDropdownOpen=!1,this.ids=[],this.selectedName="",this._translations=L({name:"map-layer-picker",blocking:!0}),this.defaultLayerHonored=!1,this._layerSelectElement=d(),this._layerComboboxElement=d(),this._pnContextConsumer=w({context:v,subscribe:!0}),this._skipEditCheck=!1,this._popover=d(),this.beforeLayerSelectionChange=h(),this.idsFound=h(),this.noLayersFound=h(),this.layerSelectionChange=h(),this.listenOn(window,"mapChanged",this.mapChanged),this.listenOn(window,"requestLayerSelectionChange",this.requestLayerSelectionChange)}static{this.properties={appearance:1,configLayerOrderDefined:5,defaultLayerId:1,disabled:5,display:1,enabledLayerIds:0,height:9,isMobile:5,mapView:0,showOnlyUpdatableLayers:5,placeholderIcon:1,selectedIds:0,scale:1,showTables:5,showTablesDisabled:5,showSingleLayerAsLabel:5,type:1,showLayersListInPopover:5,referenceElement:1,force:16,_hasMultipleLayers:16,_hasValidLayers:16,_isDropdownOpen:16,ids:16,selectedName:16,_translations:16}}static{this.styles=$}static{this.shadowRootOptions=_}willUpdate(e){e.has("mapView")&&this.hasUpdated&&this.mapViewWatchHandler(),e.has("type")&&(this._layerElement=this.type==="select"?this._layerSelectElement:this._layerComboboxElement),e.has("selectedIds")&&this.hasUpdated&&this.mapView&&(async()=>{let t=await y(this.mapView,this.selectedIds[0]);this.selectedName=t?.title??""})(),e.has("enabledLayerIds")&&this.hasUpdated&&this.enabledLayerIdsWatchHandler()}async enabledLayerIdsWatchHandler(){let e=this.selectedIds.length>0&&!this.enabledLayerIds.includes(this.selectedIds[0]),t=this.enabledLayerIds.some(a=>!this.ids.includes(a)),s=this.ids.toString()!==this.enabledLayerIds.toString();e?this.mapViewWatchHandler():(t||s)&&this._setLayers(),this._hasMultipleLayers=this.enabledLayerIds.length>1}async mapViewWatchHandler(){if(await this._setLayers(),this.ids?.length>0){this._hasValidLayers=!0,this._hasMultipleLayers=this.ids.length>1;let e=this.ids[0];this.defaultLayerId&&!this.defaultLayerHonored&&(e=this.defaultLayerId),await this._setSelectedLayer(e)}else this.mapView&&(this._hasValidLayers=!1,this.noLayersFound.emit())}async setLayerById(e,t=!1){this._skipEditCheck=t,!t||t&&e!==this.selectedIds[0]?this._setSelectedLayer(e):t&&e===this.selectedIds[0]&&(this.force=!0,setTimeout(()=>{this.force=!1},10)),this._skipEditCheck=!1}async setLayerByIds(e,t=!1){this._skipEditCheck=t,this._layerSelectionChange(e),this._skipEditCheck=!1}async updateLayer(){await this._setSelectedLayer(this.ids[0])}async mapChanged(e){let t=e.detail.isValid;t&&!this._hasValidLayers?await this.load():t||(this._hasValidLayers=!1,this.noLayersFound.emit())}async requestLayerSelectionChange(e){let t=e.detail;await this._setSelectedLayer(t)}async load(){await this._setLayers(),this.ids?.length>0?(this._hasValidLayers=!0,this._hasMultipleLayers=this.ids.length>1,this.defaultLayerId||await this._setSelectedLayer(this.ids[0])):this.mapView&&(this._hasValidLayers=!1,this.noLayersFound.emit())}render(){let e="map-layer-picker",t=this.height&&this.height>0&&!this.showLayersListInPopover?{height:`${this.height.toString()}px`}:{};return t={...t,display:this.display},i`<div class="map-layer-picker-container" style=${c(t)}><div class="map-layer-picker" style=${c(t)}>${this._hasValidLayers?!this._hasMultipleLayers&&this.showSingleLayerAsLabel?this._getSingleLayerPlaceholder():this.type==="combobox"?this._getCombobox(e):this.type==="select"?this._getSelect(e):this.showLayersListInPopover?this._getMapLayerPopOver():this._getDropdown(e):this._getInvalidPlaceholder()}</div></div>`}loaded(){if(this.ids?.length>0||this.selectedIds?.length===1){let e=this.selectedIds.length===1?this.selectedIds[0]:this.ids[0];this.type==="select"?this._layerElement.value&&(this._layerElement.value.value=e):this.type==="dropdown"&&(this.selectedName=this._layerNameHash&&Object.keys(this._layerNameHash).indexOf(e)>-1?this._layerNameHash[e].name:this._tableNameHash&&Object.keys(this._tableNameHash).indexOf(e)>-1?this._tableNameHash[e].name:"")}this._popover.value?.addEventListener("calcitePopoverOpen",()=>{this.el.querySelector("calcite-dropdown-item[selected]")?.setFocus()})}_getMapLayerPopOver(){let e=this.height&&this.height>0?{"max-height":`${this.height.toString()}px`}:{};return i`<calcite-popover auto-close focus-trap-disabled .label=${this.referenceElement} placement=left .referenceElement=${this.referenceElement} scale=s ${o(this._popover)}><div class=popover-list style=${c(e)}>${this._getMapLayerOptions()}</div></calcite-popover>`}_getInvalidPlaceholder(){return i`<div><calcite-notice class="height-100" icon=exclamation-mark-triangle id=no-valid-layers kind=danger open><div slot=message>${this._translations.noLayersFound}</div></calcite-notice><calcite-tooltip .label=${this._translations.enableEditUpdate} placement=bottom reference-element=no-valid-layers><span>${this._translations.enableEditUpdate}</span></calcite-tooltip></div>`}_getSingleLayerPlaceholder(){let e=this._getItemTypeIcon();return i`<div class="layer-picker-label-container cursor-default"><calcite-icon aria-hidden=true .icon=${e} scale=s></calcite-icon><calcite-label class="no-bottom-margin padding-start-1">${this.selectedName}</calcite-label></div>`}_getSelect(e){return i`<calcite-select .disabled=${this.disabled} id=${e??l} label @calciteSelectChange=${()=>this._layerSelectionChange()} .scale=${this.scale} ${o(this._layerElement)}>${this._getMapLayerOptions()}</calcite-select>`}_getCombobox(e){return i`<calcite-combobox clear-disabled id=${e??l} label @calciteComboboxChange=${()=>this._layerSelectionChange()} .placeholderIcon=${this.placeholderIcon} .scale=${this.scale} selection-mode=single ${o(this._layerElement)}>${this._getMapLayerOptions()}</calcite-combobox>`}_getDropdown(e){return i`<calcite-dropdown class="layer-picker-dropdown" @calciteDropdownBeforeClose=${()=>this._isDropdownOpen=!1} @calciteDropdownBeforeOpen=${()=>this._isDropdownOpen=!0}>${this.isMobile?this._getDropdownButton():this._getActionDropdownButton(e)}<calcite-dropdown-group selection-mode=single>${this._getMapLayerOptions()}</calcite-dropdown-group></calcite-dropdown>`}_getActionDropdownButton(e){return i`<calcite-action id=${e??l} slot=trigger .text=${this.selectedName}>${this._getDropdownButton()}</calcite-action>`}_getDropdownButton(){let e=this._getItemTypeIcon(),t=this.isMobile?"":"max-width-350",s=this.isMobile?"trigger":"",a=this._isDropdownOpen?"chevron-up":"chevron-down";return i`<calcite-button alignment=icon-end-space-between .appearance=${this.appearance} class=${p(t)} .iconEnd=${a} .iconStart=${e} kind=neutral slot=${s??l} width=full><div>${this.selectedName}</div></calcite-button>`}_getItemTypeIcon(){let e=this.selectedIds.length>0&&this._layerNameHash,t=e?this.selectedIds[0]:void 0;return e?Object.keys(this._layerNameHash).indexOf(t)>-1?"layers":"table":"layers"}_getMapLayerOptions(){return this.ids.reduce((e,t)=>(this._validLayer(t)?e.push(this._getItem(t,"layer")):this._validTable(t)&&e.push(this._getItem(t,"table")),e),[])}_getItem(e,t){let s=t==="layer"&&this._layerNameHash?this._layerNameHash[e]:this._tableNameHash?this._tableNameHash[e]:void 0,a=this.showOnlyUpdatableLayers?s&&!s.supportsUpdate:!1,r=s?.name||"",n=this.selectedIds.indexOf(e)>-1;return this.type==="combobox"?i`<calcite-combobox-item .disabled=${a} .heading=${r} .selected=${n} .value=${e}></calcite-combobox-item>`:this.type==="select"?i`<calcite-option .disabled=${a} .label=${r} .selected=${n} .value=${e}></calcite-option>`:this.force&&n||!this.force?i`<calcite-dropdown-group class=${p(a?"disabled":"")} id=${r??l} .selectionMode=${a?"none":"single"}><calcite-dropdown-item .disabled=${!!(t==="table"&&this.showTablesDisabled)} .iconStart=${t} @click=${a?void 0:()=>{this._setSelectedLayer(e)}} .selected=${n}>${r}</calcite-dropdown-item></calcite-dropdown-group>`:null}async _setSelectedLayer(e){if(e!==this.selectedIds[0]){let t;if(this.defaultLayerId&&!this.defaultLayerHonored&&(t=this._getLayerFromHash(this.defaultLayerId),this.defaultLayerHonored=t!==void 0,e=this.defaultLayerHonored?this.defaultLayerId:e),t=t||this._getLayerFromHash(e),!this._skipEditCheck&&this.beforeLayerSelectionChange.emit({currentId:this.selectedIds[0],newId:e,ref:this.el}).defaultPrevented)return;this.selectedName=t?.name,this.selectedIds=[e],this._popover.value&&(this._popover.value.open=!1),this.layerSelectionChange.emit(this.selectedIds)}else{let t=this.mapView&&await y(this.mapView,this.selectedIds[0]);this.selectedName=t?.title||""}}_getLayerFromHash(e){return this._layerNameHash&&Object.keys(this._layerNameHash).indexOf(e)>-1?this._layerNameHash[e]:this._tableNameHash&&Object.keys(this._tableNameHash).indexOf(e)>-1?this._tableNameHash[e]:void 0}async _setLayers(){if(this.mapView){await this._initLayerTableHash();let e=[];this._layerNameHash&&(e=this.showOnlyUpdatableLayers?this._getEditableIds(this._layerNameHash):Object.keys(this._layerNameHash));let t=[];if(this._tableNameHash&&(t=this.showTables?this.showOnlyUpdatableLayers?this._getEditableIds(this._tableNameHash):Object.keys(this._tableNameHash):[]),this.configLayerOrderDefined){let s=[...e.reverse(),...t.reverse()];this.ids=this.enabledLayerIds.length>0?this.enabledLayerIds.filter(a=>s.includes(a)):s}else this.ids=[...e.reverse().filter(s=>this.enabledLayerIds?.length>0?this.enabledLayerIds.indexOf(s)>-1:!0),...t.reverse().filter(s=>this.enabledLayerIds?.length>0?this.enabledLayerIds.indexOf(s)>-1:!0)];this.idsFound.emit(this.ids)}}_getEditableIds(e){return Object.keys(e).filter(t=>e[t].supportsUpdate)}async _initLayerTableHash(){this._layerNameHash=this.mapView&&await f(this.mapView,this.showOnlyUpdatableLayers),this._tableNameHash=this.showTables&&this.mapView?await I(this.mapView,this.showOnlyUpdatableLayers):{}}_validLayer(e){let t=this._pnContextConsumer.value,s=this._layerNameHash&&this._layerNameHash[e]?.name;return s!==void 0&&Object.keys(t?.managedLayers||[]).indexOf(s)<0&&(this.enabledLayerIds?.length>0?this.enabledLayerIds.indexOf(e)>-1:!0)}_validTable(e){let t=this._pnContextConsumer.value,s=this._tableNameHash&&this._tableNameHash[e]?.name,a=s&&this.showTables;return a?(t?.managedTables||[]).indexOf(s)<0&&(this.enabledLayerIds?.length>0?this.enabledLayerIds.indexOf(e)>-1:!0):a!==void 0}_layerSelectionChange(e){if(this._layerElement.value){let t=e||(Array.isArray(this._layerElement.value.value)?this._layerElement.value.value:[this._layerElement.value.value]);if(JSON.stringify(t)!==JSON.stringify([""])){if(JSON.stringify(t)===JSON.stringify(this.selectedIds)||!this._skipEditCheck&&this.beforeLayerSelectionChange.emit({currentIds:this.selectedIds,newIds:t,ref:this.el}).defaultPrevented)return;this.selectedIds=t,this.layerSelectionChange.emit(this.selectedIds)}}}};u("map-layer-picker",m);return m},a,e)
2
+ import{a as v}from"./BM666UZR.js";import e from"./2C4DK6YC.js";import a from"./WV7QX3ED.js";import{b as w}from"./RLSY4VUQ.js";import{a as L}from"./DIBK4RSG.js";import"./QMAV4UTN.js";import"./Y2AUIXNK.js";import{b as u}from"./HIPZRG2Q.js";import{F as d,G as o,H as g,J as p,K as c,h as b,i,l,q as h,u as _}from"./T3EPRHTT.js";import"./EXBEKVP5.js";export default $arcgis.t(([,{a:f,b:I,d:y}])=>{var $=b`@layer{:host{display:block}.map-layer-picker-container{width:100%;align-items:center}.map-layer-picker{position:relative;width:100%;display:inline-block}.padding-bottom-1{padding-bottom:1rem}.layer-picker-dropdown{height:100%;width:100%}.max-width-350{max-width:350px}.height-100{height:100%}.disabled{cursor:default!important;user-select:none;opacity:var(--calcite-opacity-disabled);pointer-events:none}.no-bottom-margin{--calcite-label-margin-bottom: 0px}.layer-picker-label-container{align-items:center;display:inline-flex;height:100%;padding-inline-start:1rem;padding-inline-end:1rem}.padding-start-1{padding-inline-start:1rem}.cursor-default{cursor:default}.popover-list{overflow:auto;width:250px}}`,m=class extends g{constructor(){super(),this.appearance="transparent",this.configLayerOrderDefined=!1,this.defaultLayerId="",this.disabled=!1,this.display="inline-block",this.enabledLayerIds=[],this.isMobile=!1,this.showOnlyUpdatableLayers=!1,this.selectedIds=[],this.scale="m",this.showTables=!1,this.showTablesDisabled=!1,this.showSingleLayerAsLabel=!1,this.type="select",this.showLayersListInPopover=!1,this.referenceElement="",this.force=!1,this._hasMultipleLayers=!0,this._hasValidLayers=!0,this._isDropdownOpen=!1,this.ids=[],this.selectedName="",this._translations=L({name:"map-layer-picker",blocking:!0}),this.defaultLayerHonored=!1,this._layerSelectElement=d(),this._layerComboboxElement=d(),this._pnContextConsumer=w({context:v,subscribe:!0}),this._skipEditCheck=!1,this._popover=d(),this.beforeLayerSelectionChange=h(),this.idsFound=h(),this.noLayersFound=h(),this.layerSelectionChange=h(),this.listenOn(window,"mapChanged",this.mapChanged),this.listenOn(window,"requestLayerSelectionChange",this.requestLayerSelectionChange)}static{this.properties={appearance:1,configLayerOrderDefined:5,defaultLayerId:1,disabled:5,display:1,enabledLayerIds:0,height:9,isMobile:5,mapView:0,showOnlyUpdatableLayers:5,placeholderIcon:1,selectedIds:0,scale:1,showTables:5,showTablesDisabled:5,showSingleLayerAsLabel:5,type:1,showLayersListInPopover:5,referenceElement:1,force:16,_hasMultipleLayers:16,_hasValidLayers:16,_isDropdownOpen:16,ids:16,selectedName:16,_translations:16}}static{this.styles=$}static{this.shadowRootOptions=_}willUpdate(e){e.has("mapView")&&this.hasUpdated&&this.mapViewWatchHandler(),e.has("type")&&(this._layerElement=this.type==="select"?this._layerSelectElement:this._layerComboboxElement),e.has("selectedIds")&&this.hasUpdated&&this.mapView&&(async()=>{let t=await y(this.mapView,this.selectedIds[0]);this.selectedName=t?.title??""})(),e.has("enabledLayerIds")&&this.hasUpdated&&this.enabledLayerIdsWatchHandler()}async enabledLayerIdsWatchHandler(){let e=this.selectedIds.length>0&&!this.enabledLayerIds.includes(this.selectedIds[0]),t=this.enabledLayerIds.some(a=>!this.ids.includes(a)),s=this.ids.toString()!==this.enabledLayerIds.toString();e?this.mapViewWatchHandler():(t||s)&&this._setLayers(),this._hasMultipleLayers=this.enabledLayerIds.length>1}async mapViewWatchHandler(){if(await this._setLayers(),this.ids?.length>0){this._hasValidLayers=!0,this._hasMultipleLayers=this.ids.length>1;let e=this.ids[0];this.defaultLayerId&&!this.defaultLayerHonored&&(e=this.defaultLayerId),await this._setSelectedLayer(e)}else this.mapView&&(this._hasValidLayers=!1,this.noLayersFound.emit())}async setLayerById(e,t=!1){this._skipEditCheck=t,!t||t&&e!==this.selectedIds[0]?this._setSelectedLayer(e):t&&e===this.selectedIds[0]&&(this.force=!0,setTimeout(()=>{this.force=!1},10)),this._skipEditCheck=!1}async setLayerByIds(e,t=!1){this._skipEditCheck=t,this._layerSelectionChange(e),this._skipEditCheck=!1}async updateLayer(){await this._setSelectedLayer(this.ids[0])}async mapChanged(e){let t=e.detail.isValid;t&&!this._hasValidLayers?await this.load():t||(this._hasValidLayers=!1,this.noLayersFound.emit())}async requestLayerSelectionChange(e){let t=e.detail;await this._setSelectedLayer(t)}async load(){await this._setLayers(),this.ids?.length>0?(this._hasValidLayers=!0,this._hasMultipleLayers=this.ids.length>1,this.defaultLayerId||await this._setSelectedLayer(this.ids[0])):this.mapView&&(this._hasValidLayers=!1,this.noLayersFound.emit())}render(){let e="map-layer-picker",t=this.height&&this.height>0&&!this.showLayersListInPopover?{height:`${this.height.toString()}px`}:{};return t={...t,display:this.display},i`<div class="map-layer-picker-container" style=${c(t)}><div class="map-layer-picker" style=${c(t)}>${this._hasValidLayers?!this._hasMultipleLayers&&this.showSingleLayerAsLabel?this._getSingleLayerPlaceholder():this.type==="combobox"?this._getCombobox(e):this.type==="select"?this._getSelect(e):this.showLayersListInPopover?this._getMapLayerPopOver():this._getDropdown(e):this._getInvalidPlaceholder()}</div></div>`}loaded(){if(this.ids?.length>0||this.selectedIds?.length===1){let e=this.selectedIds.length===1?this.selectedIds[0]:this.ids[0];this.type==="select"?this._layerElement.value&&(this._layerElement.value.value=e):this.type==="dropdown"&&(this.selectedName=this._layerNameHash&&Object.keys(this._layerNameHash).indexOf(e)>-1?this._layerNameHash[e].name:this._tableNameHash&&Object.keys(this._tableNameHash).indexOf(e)>-1?this._tableNameHash[e].name:"")}this._popover.value?.addEventListener("calcitePopoverOpen",()=>{this.el.querySelector("calcite-dropdown-item[selected]")?.setFocus()})}_getMapLayerPopOver(){let e=this.height&&this.height>0?{"max-height":`${this.height.toString()}px`}:{};return i`<calcite-popover auto-close focus-trap-disabled .label=${this.referenceElement} placement=left .referenceElement=${this.referenceElement} scale=s ${o(this._popover)}><div class=popover-list style=${c(e)}>${this._getMapLayerOptions()}</div></calcite-popover>`}_getInvalidPlaceholder(){return i`<div><calcite-notice class="height-100" icon=exclamation-mark-triangle id=no-valid-layers kind=danger open><div slot=message>${this._translations.noLayersFound}</div></calcite-notice><calcite-tooltip .label=${this._translations.enableEditUpdate} placement=bottom reference-element=no-valid-layers><span>${this._translations.enableEditUpdate}</span></calcite-tooltip></div>`}_getSingleLayerPlaceholder(){let e=this._getItemTypeIcon();return i`<div class="layer-picker-label-container cursor-default"><calcite-icon aria-hidden=true .icon=${e} scale=s></calcite-icon><calcite-label class="no-bottom-margin padding-start-1">${this.selectedName}</calcite-label></div>`}_getSelect(e){return i`<calcite-select .disabled=${this.disabled} id=${e??l} label @calciteSelectChange=${()=>this._layerSelectionChange()} .scale=${this.scale} ${o(this._layerElement)}>${this._getMapLayerOptions()}</calcite-select>`}_getCombobox(e){return i`<calcite-combobox clear-disabled id=${e??l} label @calciteComboboxChange=${()=>this._layerSelectionChange()} .placeholderIcon=${this.placeholderIcon} .scale=${this.scale} selection-mode=single ${o(this._layerElement)}>${this._getMapLayerOptions()}</calcite-combobox>`}_getDropdown(e){return i`<calcite-dropdown class="layer-picker-dropdown" @calciteDropdownBeforeClose=${()=>this._isDropdownOpen=!1} @calciteDropdownBeforeOpen=${()=>this._isDropdownOpen=!0}>${this.isMobile?this._getDropdownButton():this._getActionDropdownButton(e)}<calcite-dropdown-group selection-mode=single>${this._getMapLayerOptions()}</calcite-dropdown-group></calcite-dropdown>`}_getActionDropdownButton(e){return i`<calcite-action id=${e??l} slot=trigger .text=${this.selectedName}>${this._getDropdownButton()}</calcite-action>`}_getDropdownButton(){let e=this._getItemTypeIcon(),t=this.isMobile?"":"max-width-350",s=this.isMobile?"trigger":"",a=this._isDropdownOpen?"chevron-up":"chevron-down";return i`<calcite-button alignment=icon-end-space-between .appearance=${this.appearance} class=${p(t)} .iconEnd=${a} .iconStart=${e} kind=neutral slot=${s??l} width=full><div>${this.selectedName}</div></calcite-button>`}_getItemTypeIcon(){let e=this.selectedIds.length>0&&this._layerNameHash,t=e?this.selectedIds[0]:void 0;return e?Object.keys(this._layerNameHash).indexOf(t)>-1?"layers":"table":"layers"}_getMapLayerOptions(){return this.ids.reduce((e,t)=>(this._validLayer(t)?e.push(this._getItem(t,"layer")):this._validTable(t)&&e.push(this._getItem(t,"table")),e),[])}_getItem(e,t){let s=t==="layer"&&this._layerNameHash?this._layerNameHash[e]:this._tableNameHash?this._tableNameHash[e]:void 0,a=this.showOnlyUpdatableLayers?s&&!s.supportsUpdate:!1,r=s?.name||"",n=this.selectedIds.indexOf(e)>-1;return this.type==="combobox"?i`<calcite-combobox-item .disabled=${a} .heading=${r} .selected=${n} .value=${e}></calcite-combobox-item>`:this.type==="select"?i`<calcite-option .disabled=${a} .label=${r} .selected=${n} .value=${e}></calcite-option>`:this.force&&n||!this.force?i`<calcite-dropdown-group class=${p(a?"disabled":"")} id=${r??l} .selectionMode=${a?"none":"single"}><calcite-dropdown-item .disabled=${!!(t==="table"&&this.showTablesDisabled)} .iconStart=${t} @click=${a?void 0:()=>{this._setSelectedLayer(e)}} .selected=${n}>${r}</calcite-dropdown-item></calcite-dropdown-group>`:null}async _setSelectedLayer(e){if(e!==this.selectedIds[0]){let t;if(this.defaultLayerId&&!this.defaultLayerHonored&&(t=this._getLayerFromHash(this.defaultLayerId),this.defaultLayerHonored=t!==void 0,e=this.defaultLayerHonored?this.defaultLayerId:e),t=t||this._getLayerFromHash(e),!this._skipEditCheck&&this.beforeLayerSelectionChange.emit({currentId:this.selectedIds[0],newId:e,ref:this.el}).defaultPrevented)return;this.selectedName=t?.name,this.selectedIds=[e],this._popover.value&&(this._popover.value.open=!1),this.layerSelectionChange.emit(this.selectedIds)}else{let t=this.mapView&&await y(this.mapView,this.selectedIds[0]);this.selectedName=t?.title||""}}_getLayerFromHash(e){return this._layerNameHash&&Object.keys(this._layerNameHash).indexOf(e)>-1?this._layerNameHash[e]:this._tableNameHash&&Object.keys(this._tableNameHash).indexOf(e)>-1?this._tableNameHash[e]:void 0}async _setLayers(){if(this.mapView){await this._initLayerTableHash();let e=[];this._layerNameHash&&(e=this.showOnlyUpdatableLayers?this._getEditableIds(this._layerNameHash):Object.keys(this._layerNameHash));let t=[];if(this._tableNameHash&&(t=this.showTables?this.showOnlyUpdatableLayers?this._getEditableIds(this._tableNameHash):Object.keys(this._tableNameHash):[]),this.configLayerOrderDefined){let s=[...e.reverse(),...t.reverse()];this.ids=this.enabledLayerIds.length>0?this.enabledLayerIds.filter(a=>s.includes(a)):s}else this.ids=[...e.reverse().filter(s=>this.enabledLayerIds?.length>0?this.enabledLayerIds.indexOf(s)>-1:!0),...t.reverse().filter(s=>this.enabledLayerIds?.length>0?this.enabledLayerIds.indexOf(s)>-1:!0)];this.idsFound.emit(this.ids)}}_getEditableIds(e){return Object.keys(e).filter(t=>e[t].supportsUpdate)}async _initLayerTableHash(){this._layerNameHash=this.mapView&&await f(this.mapView,this.showOnlyUpdatableLayers),this._tableNameHash=this.showTables&&this.mapView?await I(this.mapView,this.showOnlyUpdatableLayers):{}}_validLayer(e){let t=this._pnContextConsumer.value,s=this._layerNameHash&&this._layerNameHash[e]?.name;return s!==void 0&&Object.keys(t?.managedLayers||[]).indexOf(s)<0&&(this.enabledLayerIds?.length>0?this.enabledLayerIds.indexOf(e)>-1:!0)}_validTable(e){let t=this._pnContextConsumer.value,s=this._tableNameHash&&this._tableNameHash[e]?.name,a=s&&this.showTables;return a?(t?.managedTables||[]).indexOf(s)<0&&(this.enabledLayerIds?.length>0?this.enabledLayerIds.indexOf(e)>-1:!0):a!==void 0}_layerSelectionChange(e){if(this._layerElement.value){let t=e||(Array.isArray(this._layerElement.value.value)?this._layerElement.value.value:[this._layerElement.value.value]);if(JSON.stringify(t)!==JSON.stringify([""])){if(JSON.stringify(t)===JSON.stringify(this.selectedIds)||!this._skipEditCheck&&this.beforeLayerSelectionChange.emit({currentIds:this.selectedIds,newIds:t,ref:this.el}).defaultPrevented)return;this.selectedIds=t,this.layerSelectionChange.emit(this.selectedIds)}}}};u("map-layer-picker",m);return m},a,e)
@@ -1,2 +1,2 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
- import{A as o,l as r,w as s,x as i}from"./FFF5HUPM.js";var u=s(class extends i{constructor(){super(...arguments),this.key=r}render(t,e){return this.key=t,e}update(t,[e,m]){return e!==this.key&&(o(t),this.key=e),m}});export{u as a};
2
+ import{B as o,l as r,x as s,y as i}from"./T3EPRHTT.js";var u=s(class extends i{constructor(){super(...arguments),this.key=r}render(t,e){return this.key=t,e}update(t,[e,m]){return e!==this.key&&(o(t),this.key=e),m}});export{u as a};
@@ -1,2 +1,2 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
- import c from"./3LZFERNW.js";import b from"./I7MO6UJB.js";import a from"./WDASGI72.js";import"./2B4SGB3I.js";import"./I2NTSKBD.js";import"./RDRCAA3H.js";import"./XF5N3NI5.js";import"./UBPOT5V3.js";import"./ISFTCFSJ.js";import"./TEHBW75B.js";import"./IHG7KTNC.js";import"./ZCU2WWVN.js";import"./WGO4EVOV.js";import"./YKB6256M.js";import"./N22MFQSQ.js";import"./N7BXCDA3.js";import"./ZX3UHK6P.js";import"./Z4F2NZOT.js";import"./KOIDWEP3.js";import"./3KXMYZCU.js";import"./LP2JYX4X.js";import"./GF4QELNV.js";import"./AYSQIO6L.js";import"./YQHYMLC7.js";import"./DKD2EGQP.js";import"./5O53T3SW.js";import"./AJZDBHB6.js";import"./FES7B3SJ.js";import"./2I5LGZNX.js";import"./FFF5HUPM.js";import"./EXBEKVP5.js";export default $arcgis.t(([,,a])=>{return a},a,b,c)
2
+ import c from"./26LDC3OX.js";import b from"./U27263JW.js";import a from"./WDASGI72.js";import"./2B4SGB3I.js";import"./RLSY4VUQ.js";import"./RDRCAA3H.js";import"./DIBK4RSG.js";import"./QMAV4UTN.js";import"./Y2AUIXNK.js";import"./TEHBW75B.js";import"./IHG7KTNC.js";import"./ZCU2WWVN.js";import"./WGO4EVOV.js";import"./YKB6256M.js";import"./N22MFQSQ.js";import"./N7BXCDA3.js";import"./ZX3UHK6P.js";import"./Z4F2NZOT.js";import"./KOIDWEP3.js";import"./3KXMYZCU.js";import"./LP2JYX4X.js";import"./GF4QELNV.js";import"./AYSQIO6L.js";import"./YQHYMLC7.js";import"./DKD2EGQP.js";import"./5O53T3SW.js";import"./AJZDBHB6.js";import"./FES7B3SJ.js";import"./HIPZRG2Q.js";import"./T3EPRHTT.js";import"./EXBEKVP5.js";export default $arcgis.t(([,,a])=>{return a},a,b,c)
@@ -1,2 +1,2 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
- import{a}from"./Q6WCNWQE.js";import"./2B4SGB3I.js";import"./I2NTSKBD.js";import"./RDRCAA3H.js";import"./XF5N3NI5.js";import"./UBPOT5V3.js";import"./ISFTCFSJ.js";import"./TEHBW75B.js";import"./IHG7KTNC.js";import"./ZCU2WWVN.js";import"./WGO4EVOV.js";import"./YKB6256M.js";import"./N22MFQSQ.js";import"./N7BXCDA3.js";import"./ZX3UHK6P.js";import"./Z4F2NZOT.js";import"./KOIDWEP3.js";import"./3KXMYZCU.js";import"./LP2JYX4X.js";import"./GF4QELNV.js";import"./AYSQIO6L.js";import"./YQHYMLC7.js";import"./DKD2EGQP.js";import"./5O53T3SW.js";import"./AJZDBHB6.js";import"./FES7B3SJ.js";import"./2I5LGZNX.js";import"./FFF5HUPM.js";import"./EXBEKVP5.js";export{a as SolutionItemAccordion};
2
+ import{a}from"./ERLDQUNI.js";import"./2B4SGB3I.js";import"./RLSY4VUQ.js";import"./RDRCAA3H.js";import"./DIBK4RSG.js";import"./QMAV4UTN.js";import"./Y2AUIXNK.js";import"./TEHBW75B.js";import"./IHG7KTNC.js";import"./ZCU2WWVN.js";import"./WGO4EVOV.js";import"./YKB6256M.js";import"./N22MFQSQ.js";import"./N7BXCDA3.js";import"./ZX3UHK6P.js";import"./Z4F2NZOT.js";import"./KOIDWEP3.js";import"./3KXMYZCU.js";import"./LP2JYX4X.js";import"./GF4QELNV.js";import"./AYSQIO6L.js";import"./YQHYMLC7.js";import"./DKD2EGQP.js";import"./5O53T3SW.js";import"./AJZDBHB6.js";import"./FES7B3SJ.js";import"./HIPZRG2Q.js";import"./T3EPRHTT.js";import"./EXBEKVP5.js";export{a as SolutionItemAccordion};
package/dist/cdn/index.js CHANGED
@@ -1,2 +1,2 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
- import{a}from"./2I5LGZNX.js";import{u as e}from"./FFF5HUPM.js";import"./EXBEKVP5.js";var o=e(a,{"arcgis-solutions-assistant":[()=>import("./LHTDVWX2.js"),"_translations:,builderVisible,hasActiveBuilderDesign,open,userFirstName"],"buffer-tools":[()=>import("./VTAQ6NBB.js"),"_translations:,appearance,disabled,distance,geometries:,max,min,sliderTicks,unionResults,unit;getTranslatedUnit"],"card-manager":[()=>import("./MISU75DC.js"),"_translations:,allowedPasteLayerIds:,createBtnLabel,customInfoText,enableCreateFeatures,enableEditGeometry,enableSnapping,isMobile,layerOrTable:,mapComponentId,mapView:,pasteEnabled,selectedFeaturesIds:,selectingFeatureFromMap,showCopyPasteActions,showSketchWidgets,zoomAndScrollToSelected"],"consent-manager":[()=>import("./KTRKTBPS.js"),"_translations:,amazonAppId,amazonAppName,amazonUserPoolID,amazonVersion,firstUseVar,measurementIds:,portal:;getInstance"],"create-feature":[()=>import("./O7VRD3Z3.js"),"_translations:,aiImageExtraction:,aiTextExtraction:,allowMultipleCreation,appName,customizeSubmit,enableMessageLocation,enablePhotoLocation,enableSearch,enableSnapping,floorLevel,formElements,isMobile,mapView:,popupEnabled,reportingArea,reportingAreaLayer,reportingAreaMessage,searchConfiguration:,selectedLayerId,showGuidingMsg,showLayerVisibilityMsg,showSketchWidgets,submitNewReportsMessage,updateMapPosition;refresh,showForm,submit"],"create-related-feature":[()=>import("./F3A22NPP.js"),"_translations:,customizeSubmit,enableSnapping,mapView:,selectedFeature:,showGuidingMsg,table:;submit"],"crowdsource-manager":[()=>import("./WQHJMFGP.js"),"_translations:,appLayout,appProxies,basemapConfig:,coverPageEnabled,customInfoText,defaultAppLayout,defaultCenter,defaultGlobalId,defaultLayer,defaultLevel,defaultOid,defaultWebmap,enableAutoRefresh,enableBasemap,enableColumnReorder,enableCopyPaste,enableCSV,enableFloorFilter,enableFullscreen,enableHome,enableLayerList,enableLegend,enableMapList,enableSearch,enableSelectionTool,enableShare,enableSnapping,enableZoom,featureSelectionMode,honorMapFieldSettings,introductionWindowEnabled,mapInfos:,onlyShowUpdatableLayers,popupHeaderColor,popupHeaderHoverColor,popupHeaderHoverTextColor,popupHeaderTextColor,searchConfiguration:,shareIncludeEmbed,shareIncludeSocial,showNewestFirst,theme,visibilityIcon,zoomAndScrollToSelected,zoomToScale"],"crowdsource-reporter":[()=>import("./L4BYLII5.js"),"_translations:,aiImageExtraction:,aiTextExtraction:,center,commentButtonText,commentSubmittedMessage,defaultWebmap,description,enableAnonymousAccess,enableAnonymousComments,enableComments,enableHome,enableLogin,enableMessageLocation,enableNewReports,enablePhotoLocation,enableSearch,enableSnapping,enableZoom,filterByMapExtent,floorLevel,isMobile,layerExpressions:,layerId,level,loginTitle,mapInfos:,mapView:,objectId,reportButtonText,reportingArea,reportingAreaLayer,reportingAreaMessage,reportingOptions:,reportsHeader,reportSubmittedMessage,searchConfiguration:,showComments,showFeatureSymbol,showFullCommentTitle,showMyReportsOnly,showUserImageInCommentsList,sortFields:,sortOption,submitNewReportsMessage,theme,zoomToScale;updateLayerExpressionsT9n"],"deduct-calculator":[()=>import("./FZNRD2XJ.js")],"delete-button":[()=>import("./XKEKXTL2.js"),"_translations:,buttonType,deleteDialog,disabled,icon,ids:,layer:,showDeleteCount"],"delete-dialog":[()=>import("./TLRBE2TZ.js"),"_translations:,ids:,layer:,open"],"edit-card":[()=>import("./5K5GHKON.js"),"_translations:,allowMultipleEditing,enableEditGeometry,enableSnapping,graphicIndex,graphics:,mapView:,open"],"feature-details":[()=>import("./EHSIODIO.js"),"enableSnapping,graphics:,layerItemsHash:,mapView:,reportingOptions:,showFullCommentTitle,showUserImageInCommentsList;back,next,refresh,toggleListView"],"feature-list":[()=>import("./3QONPAFM.js"),"_translations:,applyLayerViewFilter,filterByMapExtent,highlightOnHover,highlightOnMap,mapView:,noFeaturesFoundMsg,pageSize,reportingOptions:,selectedLayerId,showErrorWhenNoFeatures,showFeatureSymbol,showFullTitle,showInitialLoading,showUserImageInList,sortingInfo:,textSize,whereClause;refresh"],"field-selection":[()=>import("./R3PYC2H6.js"),"_translations:,configExtraFields,layer:,mapView:,table:,tableRef:"],"info-card":[()=>import("./FZUI77EG.js"),"_translations:,allowEditing,enableEditGeometry,enableSnapping,featuresReferenceId,graphics:,highlightEnabled,isLoading,isMobile,mapView:,paginationEnabled,pasteEnabled,position,showCloseBtn,showCopyPasteActions;back,getSelectedFeature,next,refresh,toggleListView"],"layer-list":[()=>import("./G2RMWJ7R.js"),"_translations:,applyLayerViewFilter,filterByMapExtent,layers:,mapView:,showFeatureCount,showNextIcon;refresh"],"layer-list-widget":[()=>import("./JFLG3EKT.js"),"layerListRef:,mapView:,visibilityIcon"],"layer-table":[()=>import("./5M3PCZM5.js"),"_translations:,appLayout,defaultGlobalId:,defaultLayerId,defaultOid:,enableAutoRefresh,enableColumnReorder,enableCSV,enableInlineEdit,enableShare,enableTableAutosave,featureSelectionMode,honorMapFieldSettings,isMobile,layerIds:,mapHidden,mapInfo:,mapView:,pasteEnabled,selectedIds:,selectedRelatedIds:,shareIncludeEmbed,shareIncludeSocial,showCopyPasteActions,showNewestFirst,showOnlyUpdatableLayers,zoomAndScrollToSelected,zoomToScale;closeFilter,filterReset,filterUpdate,refresh,setColumnOrder,validateActiveEdits,validateTableUpdate"],"map-basemap-gallery":[()=>import("./RQIGAX6O.js"),"basemapConfig:,basemapGalleryRef:,mapView:"],"map-card":[()=>import("./KSAJFFJI.js"),"_translations:,appLayout,appProxies,basemapConfig:,defaultLayerId,defaultWebmapId,enableBasemap,enableFloorFilter,enableFullscreen,enableHome,enableLayerList,enableLegend,enableMapLayerPicker,enableMapPicker,enableSearch,enableSelectionTool,enableShare,enableSingleExpand,featureSelectionMode,hide,isMapLayout,isMobile,mapComponentId,mapInfo:,mapInfos:,mapToolsOrder:,mapView:,mapWidgetsIndex,mapWidgetsPosition,mapWidgetsSize,mobileMapWidgetsPosition,mobileToolsOrder:,pasteEnabled,selectedFeaturesIds:,selectedLayer:,shareIncludeEmbed,shareIncludeSocial,showCopyPasteActions,showOnlyUpdatableLayers,stackTools,theme,visibilityIcon,zoomToolsSize,zoomToScale;resetFilter,updateFilterState,updateLayer"],"map-draw-tools":[()=>import("./MBVY6OPY.js"),"_translations:,active,drawMode,editGraphicsEnabled,graphics:,mapView:,pointSymbol:,polygonSymbol:,polylineSymbol:,redoEnabled,undoEnabled;clear,updateGraphics"],"map-floor-filter":[()=>import("./OMRM5EXN.js"),"enabled,floorFilterRef:,mapView:"],"map-fullscreen":[()=>import("./XHFFDKEQ.js"),"fullscreenRef:,mapView:"],"map-layer-picker":[()=>import("./BEKMMPB7.js"),"_translations:,appearance,configLayerOrderDefined,defaultLayerId,disabled,display,enabledLayerIds:,height,isMobile,mapView:,placeholderIcon,referenceElement,scale,selectedIds:,showLayersListInPopover,showOnlyUpdatableLayers,showSingleLayerAsLabel,showTables,showTablesDisabled,type;setLayerById,setLayerByIds,updateLayer"],"map-legend":[()=>import("./I4EEOB6Y.js"),"legendRef:,mapView:"],"map-picker":[()=>import("./22BJ76LD.js"),"_translations:,height,isMapLayout,mapInfos:,referenceElement,selectedWebMapId,showMapListInPopover;close,setMapByID,toggle"],"map-search":[()=>import("./D4TEADUS.js"),"mapView:,popupEnabled,resultGraphicEnabled,searchComponent:,searchConfiguration:,searchTerm"],"map-select-tools":[()=>import("./A2VP46QZ.js"),"_translations:,bufferColor,bufferOutlineColor,customLabelEnabled,defaultBufferDistance,defaultBufferUnit,enabledLayerIds:,enableLayerFeatures,enableLayerFeaturesOnLoad,enableSearchDistance,enableSearchDistanceOnLoad,enableSketchTools,geometries:,headerLabelClass,isUpdate,layerViews:,mapView:,noResultText,searchConfiguration:,searchDistanceEnabled,selectionLayerIds:,selectionSet:,selectLayerView:,sketchLineSymbol:,sketchPointSymbol:,sketchPolygonSymbol:,useLayerFeaturesEnabled;clearSelection,getSelection"],"map-tools":[()=>import("./3IO2JXVB.js"),"_translations:,basemapConfig:,configLayerOrderDefined,defaultLayerId,enableBasemap,enabledLayerIds:,enableFloorFilter,enableFullscreen,enableHome,enableLayerList,enableLegend,enableMapLayerPicker,enableMapPicker,enableSearch,enableSelectionTool,enableSingleExpand,isMobile,layout,mapInfo:,mapInfos:,mapView:,mapWidgetsSize,parentComponentHeight,parentComponentWidth,position,searchConfiguration:,selectedFeaturesIds:,selectedLayer:,selectedWebMapId,selectionTools:,showOnlyUpdatableLayers,stackTools,toolOrder:,visibilityIcon,zoomToolsSize"],"pci-calculator":[()=>import("./C5BQAX2M.js")],"pdf-download":[()=>import("./MICWKD3Q.js"),"_translations:,defaultNumLabelsPerPage,disabled;downloadCSV,downloadPDF"],"public-notification":[()=>import("./4G6CA64M.js"),"_translations:,addresseeLayerIds:,bufferColor,bufferOutlineColor,customExport,customExportURL,customLabelEnabled,defaultBufferDistance,defaultBufferUnit,defaultExportTitle,defaultNumLabelsPerPage,enableLayerFeatures,enableLayerFeaturesOnLoad,enableSearchDistance,enableSearchDistanceOnLoad,enableSketchTools,featureEffect:,featureHighlightEnabled,initialNotice,mapView:,noResultText,searchConfiguration:,selectionLayerIds:,showRefineSelection,showSearchSettings,sketchLineSymbol:,sketchPointSymbol:,sketchPolygonSymbol:"],"refine-selection":[()=>import("./O4VFFJLQ.js"),"_translations:,addresseeLayer:,bufferColor,bufferOutlineColor,defaultBufferDistance,defaultBufferUnit,drawnGraphicsArr:,enabledLayerIds:,enableSearchDistance,enableSearchDistanceOnLoad,geometries:,mapView:,searchDistanceEnabled,selectionSets:,sketchLineSymbol:,sketchPointSymbol:,sketchPolygonSymbol:"],"selection-tool":[()=>import("./EYJQEBDF.js"),"mapView:,selectedLayerId,tool;toggleSelectionTool"],"solution-builder-assistant":[()=>import("./B5JYLQYP.js"),"_translations:,design,readOnlyNotice"],"solution-configure-titles":[()=>import("./AV2Q4PBA.js"),"_translations:,card:,open,solutionData,source,templateInfos:"],"solution-delete-dialog":[()=>import("./OG4BNL2Z.js"),"_translations:,card:,open,source;;close,delete"],"solution-deploy-dialog":[()=>import("./QWGJAD3Z.js"),"_translations:,card:,debugFailDeployment,design:,open,userOptions:;;close,deploy"],"solution-deployed-card":[()=>import("./X7WLU5YB.js"),"_translations:,card:,deployedDate,description,diagramKey,heading,itemId,owner,templateInfos:,thumbnail,updateAvailable;getTemplates,renderDeleteDialog,renderDiagramDialog"],"solution-deployed-card-panel":[()=>import("./YNCRTGYJ.js"),"_translations:,card:,cardRef,diagramKey,open,readOnlyNotice,templateInfos:"],"solution-deploying-dialog":[()=>import("./J6OVONBB.js"),"_translations:,abortController:,card:,deploymentProgress,isWaitingForCard,open;;cancelDeployment,close,confirmCancel"],"solution-details-card":[()=>import("./7RIJ2EMD.js"),"_translations:,card:,referrerSolutionId,referrerSolutionTitle,referrerSolutionVersion,source"],"solution-details-panel":[()=>import("./LDSV7DEV.js"),"_translations:,card:,readOnlyNotice"],"solution-item-accordion":[()=>import("./IEXNY45H.js"),"_translations:,itemRelationshipDependencies:,linkType,listSelectionMode,reuseWarning,templateInfos:,typeKeywords:,usageContext;collapseAll,deselectAll,expandFirstItem,expandItemById,expandItems,selectFirstItem,selectItem,selectItems"],"solution-item-diagram":[()=>import("./Z226R5SF.js"),"_translations:,diagramKey,templateInfoGraph:,typeKeywords:"],"solution-item-icon":[()=>import("./CAYWD56D.js"),"designType,isPortal,type,typeKeywords:"],"solution-resource-card":[()=>import("./CKURBJFW.js"),"_translations:,description,heading,headingEn,icon,meridianIcon,sectionHeadingEn,url"],"solution-snapshot-gallery":[()=>import("./XXQVYXGC.js"),"_translations:,card:,itemProperties:,open,screenshot:"],"solution-social-share":[()=>import("./SS6AENH6.js"),"_translations:,actionApperance,autoUpdateShareUrl,buttonAppearance,inlineSuccessPopoverPlacement,mode,popoverButtonIconScale,popoverPositioning,removePopoverOffset,scale,shareButtonKind,shareButtonScale,shareButtonText,shareButtonType,shareIconsLayout,shareText,shareUrl,shortenShareUrl,socialMedia,solutionId,solutionTitle,solutionVersion,successMessage"],"solution-user-avatar":[()=>import("./V5WXJLJN.js"),"fullname,lookupProfile,thumbnailUrl,username"],"solutions-all-panel":[()=>import("./IXLVTSCY.js"),"_translations:,sortType;searchSolutions,setSearchOptions;getDisplayedSolutionIds"],"solutions-all-shell":[()=>import("./V4O3KYPD.js"),"_translations:,solutionsCount;searchSolutions"],"solutions-deploy-app":[()=>import("./VCLTCEIQ.js"),"_translations:,appConfig,initTab,initTitleOrId,loadExampleBuilderData,sortType,useLocalAppConfig;selectTab"],"solutions-deploy-app-nav":[()=>import("./NQBHAESW.js"),"_translations:,appConfig,assistantOpen,initTab;;activateMenuItem,clearMenuItems"],"solutions-deployed-list":[()=>import("./GVFCX2FF.js"),"_translations:,hasLinks,listTitle,referenceCards:,results:"],"solutions-deployed-panel":[()=>import("./DVCYL5TO.js"),"_translations:,sortType;reload,searchSolutions,setSearchOptions"],"solutions-deployed-shell":[()=>import("./PN2P5EVA.js"),"_translations:,solutionsCount;searchSolutions"],"solutions-filter-panel":[()=>import("./XEYYUNNX.js"),"_translations:,hideIndustryFilter,showReset;;changeIndustryFilter,clearFilters"],"solutions-resources-section":[()=>import("./RBSOCHJT.js"),"cards,heading,subheading"],"solutions-resources-shell":[()=>import("./TGMVIKID.js"),"_translations:;scrollToSection"],"solutions-searchsort-toolbar":[()=>import("./H5KFQMYD.js"),"_translations:,defaultSortType,isOrgSolutions,scope;;changeOwnerFilter,changeSearchFilter,sortChanged"]});o({resourcesUrl:import.meta.url});var t=new CSSStyleSheet;t.replaceSync("@layer{:not([hydrated]):is(arcgis-solutions-assistant,buffer-tools,card-manager,consent-manager,create-feature,create-related-feature,crowdsource-manager,crowdsource-reporter,deduct-calculator,delete-button,delete-dialog,edit-card,feature-details,feature-list,field-selection,info-card,layer-list,layer-list-widget,layer-table,map-basemap-gallery,map-card,map-draw-tools,map-floor-filter,map-fullscreen,map-layer-picker,map-legend,map-picker,map-search,map-select-tools,map-tools,pci-calculator,pdf-download,public-notification,refine-selection,selection-tool,solution-builder-assistant,solution-configure-titles,solution-delete-dialog,solution-deploy-dialog,solution-deployed-card,solution-deployed-card-panel,solution-deploying-dialog,solution-details-card,solution-details-panel,solution-item-accordion,solution-item-diagram,solution-item-icon,solution-resource-card,solution-snapshot-gallery,solution-social-share,solution-user-avatar,solutions-all-panel,solutions-all-shell,solutions-deploy-app,solutions-deploy-app-nav,solutions-deployed-list,solutions-deployed-panel,solutions-deployed-shell,solutions-filter-panel,solutions-resources-section,solutions-resources-shell,solutions-searchsort-toolbar){visibility:hidden}}");document.adoptedStyleSheets=[...document.adoptedStyleSheets,t];window.$arcgis||Object.defineProperty(window,"$arcgis",{configurable:!1,enumerable:!0,writable:!1,value:{}}),((a,r)=>{a.t=(c,...x)=>Promise.all(x.map(x=>x.then?x:(!a?.forceESM&&a?.import||(x=>import(x+".js").then(m=>m.default??m)))("@arcgis/core/"+x))).then(c);r.p=a.t(([m])=>{r.t=m.trackAccess;r.o=m.createObservable;r.c=m.createTrackingTarget;r.r=m.runTracked},"applications/Components/reactiveUtils")})($arcgis,a)
2
+ import{a}from"./HIPZRG2Q.js";import{v as e}from"./T3EPRHTT.js";import"./EXBEKVP5.js";var o=e(a,{"arcgis-solutions-assistant":[()=>import("./22BT2PBE.js"),"_translations:,builderVisible,hasActiveBuilderDesign,open,userFirstName"],"buffer-tools":[()=>import("./VUXNHQGR.js"),"_translations:,appearance,disabled,distance,geometries:,max,min,sliderTicks,unionResults,unit;getTranslatedUnit"],"card-manager":[()=>import("./HQCHD3FH.js"),"_translations:,allowedPasteLayerIds:,createBtnLabel,customInfoText,enableCreateFeatures,enableEditGeometry,enableSnapping,isMobile,layerOrTable:,mapComponentId,mapView:,pasteEnabled,selectedFeaturesIds:,selectingFeatureFromMap,showCopyPasteActions,showSketchWidgets,zoomAndScrollToSelected"],"consent-manager":[()=>import("./SGFSVWTY.js"),"_translations:,amazonAppId,amazonAppName,amazonUserPoolID,amazonVersion,firstUseVar,measurementIds:,portal:;getInstance"],"create-feature":[()=>import("./VL2NVCIB.js"),"_translations:,aiImageExtraction:,aiTextExtraction:,allowMultipleCreation,appName,customizeSubmit,enableMessageLocation,enablePhotoLocation,enableSearch,enableSnapping,floorLevel,formElements,isMobile,mapView:,popupEnabled,reportingArea,reportingAreaLayer,reportingAreaMessage,searchConfiguration:,selectedLayerId,showGuidingMsg,showLayerVisibilityMsg,showSketchWidgets,submitNewReportsMessage,updateMapPosition;refresh,showForm,submit"],"create-related-feature":[()=>import("./2NSMAAXL.js"),"_translations:,customizeSubmit,enableSnapping,mapView:,selectedFeature:,showGuidingMsg,table:;submit"],"crowdsource-manager":[()=>import("./ENXQ33P7.js"),"_translations:,appLayout,appProxies,basemapConfig:,coverPageEnabled,customInfoText,defaultAppLayout,defaultCenter,defaultGlobalId,defaultLayer,defaultLevel,defaultOid,defaultWebmap,enableAutoRefresh,enableBasemap,enableColumnReorder,enableCopyPaste,enableCSV,enableFloorFilter,enableFullscreen,enableHome,enableLayerList,enableLegend,enableMapList,enableSearch,enableSelectionTool,enableShare,enableSnapping,enableZoom,featureSelectionMode,honorMapFieldSettings,introductionWindowEnabled,mapInfos:,onlyShowUpdatableLayers,popupHeaderColor,popupHeaderHoverColor,popupHeaderHoverTextColor,popupHeaderTextColor,searchConfiguration:,shareIncludeEmbed,shareIncludeSocial,showNewestFirst,theme,visibilityIcon,zoomAndScrollToSelected,zoomToScale"],"crowdsource-reporter":[()=>import("./Y3GFBLXF.js"),"_translations:,aiImageExtraction:,aiTextExtraction:,center,commentButtonText,commentSubmittedMessage,defaultWebmap,description,enableAnonymousAccess,enableAnonymousComments,enableComments,enableHome,enableLogin,enableMessageLocation,enableNewReports,enablePhotoLocation,enableSearch,enableSnapping,enableZoom,filterByMapExtent,floorLevel,isMobile,layerExpressions:,layerId,level,loginTitle,mapInfos:,mapView:,objectId,reportButtonText,reportingArea,reportingAreaLayer,reportingAreaMessage,reportingOptions:,reportsHeader,reportSubmittedMessage,searchConfiguration:,showComments,showFeatureSymbol,showFullCommentTitle,showMyReportsOnly,showUserImageInCommentsList,sortFields:,sortOption,submitNewReportsMessage,theme,zoomToScale;updateLayerExpressionsT9n"],"deduct-calculator":[()=>import("./6WNKGSHD.js")],"delete-button":[()=>import("./FSF3T3OT.js"),"_translations:,buttonType,deleteDialog,disabled,icon,ids:,layer:,showDeleteCount"],"delete-dialog":[()=>import("./5LSNDSHW.js"),"_translations:,ids:,layer:,open"],"edit-card":[()=>import("./LV5KMTCD.js"),"_translations:,allowMultipleEditing,enableEditGeometry,enableSnapping,graphicIndex,graphics:,mapView:,open"],"feature-details":[()=>import("./54A4C4RG.js"),"enableSnapping,graphics:,layerItemsHash:,mapView:,reportingOptions:,showFullCommentTitle,showUserImageInCommentsList;back,next,refresh,toggleListView"],"feature-list":[()=>import("./YLIWN2J2.js"),"_translations:,applyLayerViewFilter,filterByMapExtent,highlightOnHover,highlightOnMap,mapView:,noFeaturesFoundMsg,pageSize,reportingOptions:,selectedLayerId,showErrorWhenNoFeatures,showFeatureSymbol,showFullTitle,showInitialLoading,showUserImageInList,sortingInfo:,textSize,whereClause;refresh"],"field-selection":[()=>import("./AAUM57XI.js"),"_translations:,configExtraFields,layer:,mapView:,table:,tableRef:"],"info-card":[()=>import("./JFMNVOWH.js"),"_translations:,allowEditing,enableEditGeometry,enableSnapping,featuresReferenceId,graphics:,highlightEnabled,isLoading,isMobile,mapView:,paginationEnabled,pasteEnabled,position,showCloseBtn,showCopyPasteActions;back,getSelectedFeature,next,refresh,toggleListView"],"layer-list":[()=>import("./BOFA5RH7.js"),"_translations:,applyLayerViewFilter,filterByMapExtent,layers:,mapView:,showFeatureCount,showNextIcon;refresh"],"layer-list-widget":[()=>import("./FYJMHXWV.js"),"layerListRef:,mapView:,visibilityIcon"],"layer-table":[()=>import("./A2A3RFJ6.js"),"_translations:,appLayout,defaultGlobalId:,defaultLayerId,defaultOid:,enableAutoRefresh,enableColumnReorder,enableCSV,enableInlineEdit,enableShare,enableTableAutosave,featureSelectionMode,honorMapFieldSettings,isMobile,layerIds:,mapHidden,mapInfo:,mapView:,pasteEnabled,selectedIds:,selectedRelatedIds:,shareIncludeEmbed,shareIncludeSocial,showCopyPasteActions,showNewestFirst,showOnlyUpdatableLayers,zoomAndScrollToSelected,zoomToScale;closeFilter,filterReset,filterUpdate,refresh,setColumnOrder,validateActiveEdits,validateTableUpdate"],"map-basemap-gallery":[()=>import("./EWS72RFR.js"),"basemapConfig:,basemapGalleryRef:,mapView:"],"map-card":[()=>import("./CV4B2O7J.js"),"_translations:,appLayout,appProxies,basemapConfig:,defaultLayerId,defaultWebmapId,enableBasemap,enableFloorFilter,enableFullscreen,enableHome,enableLayerList,enableLegend,enableMapLayerPicker,enableMapPicker,enableSearch,enableSelectionTool,enableShare,enableSingleExpand,featureSelectionMode,hide,isMapLayout,isMobile,mapComponentId,mapInfo:,mapInfos:,mapToolsOrder:,mapView:,mapWidgetsIndex,mapWidgetsPosition,mapWidgetsSize,mobileMapWidgetsPosition,mobileToolsOrder:,pasteEnabled,selectedFeaturesIds:,selectedLayer:,shareIncludeEmbed,shareIncludeSocial,showCopyPasteActions,showOnlyUpdatableLayers,stackTools,theme,visibilityIcon,zoomToolsSize,zoomToScale;resetFilter,updateFilterState,updateLayer"],"map-draw-tools":[()=>import("./743J2ZUC.js"),"_translations:,active,drawMode,editGraphicsEnabled,graphics:,mapView:,pointSymbol:,polygonSymbol:,polylineSymbol:,redoEnabled,undoEnabled;clear,updateGraphics"],"map-floor-filter":[()=>import("./5FWKODDH.js"),"enabled,floorFilterRef:,mapView:"],"map-fullscreen":[()=>import("./D22STVK5.js"),"fullscreenRef:,mapView:"],"map-layer-picker":[()=>import("./YUI2MSOK.js"),"_translations:,appearance,configLayerOrderDefined,defaultLayerId,disabled,display,enabledLayerIds:,height,isMobile,mapView:,placeholderIcon,referenceElement,scale,selectedIds:,showLayersListInPopover,showOnlyUpdatableLayers,showSingleLayerAsLabel,showTables,showTablesDisabled,type;setLayerById,setLayerByIds,updateLayer"],"map-legend":[()=>import("./5N4KGIIY.js"),"legendRef:,mapView:"],"map-picker":[()=>import("./PM4EFNB2.js"),"_translations:,height,isMapLayout,mapInfos:,referenceElement,selectedWebMapId,showMapListInPopover;close,setMapByID,toggle"],"map-search":[()=>import("./37P3IMFV.js"),"mapView:,popupEnabled,resultGraphicEnabled,searchComponent:,searchConfiguration:,searchTerm"],"map-select-tools":[()=>import("./2R7Y2ZVX.js"),"_translations:,bufferColor,bufferOutlineColor,customLabelEnabled,defaultBufferDistance,defaultBufferUnit,enabledLayerIds:,enableLayerFeatures,enableLayerFeaturesOnLoad,enableSearchDistance,enableSearchDistanceOnLoad,enableSketchTools,geometries:,headerLabelClass,isUpdate,layerViews:,mapView:,noResultText,searchConfiguration:,searchDistanceEnabled,selectionLayerIds:,selectionSet:,selectLayerView:,sketchLineSymbol:,sketchPointSymbol:,sketchPolygonSymbol:,useLayerFeaturesEnabled;clearSelection,getSelection"],"map-tools":[()=>import("./KR2PPIBX.js"),"_translations:,basemapConfig:,configLayerOrderDefined,defaultLayerId,enableBasemap,enabledLayerIds:,enableFloorFilter,enableFullscreen,enableHome,enableLayerList,enableLegend,enableMapLayerPicker,enableMapPicker,enableSearch,enableSelectionTool,enableSingleExpand,isMobile,layout,mapInfo:,mapInfos:,mapView:,mapWidgetsSize,parentComponentHeight,parentComponentWidth,position,searchConfiguration:,selectedFeaturesIds:,selectedLayer:,selectedWebMapId,selectionTools:,showOnlyUpdatableLayers,stackTools,toolOrder:,visibilityIcon,zoomToolsSize"],"pci-calculator":[()=>import("./3A3CPQX4.js")],"pdf-download":[()=>import("./QYCERRRZ.js"),"_translations:,defaultNumLabelsPerPage,disabled;downloadCSV,downloadPDF"],"public-notification":[()=>import("./7VY3RI7C.js"),"_translations:,addresseeLayerIds:,bufferColor,bufferOutlineColor,customExport,customExportURL,customLabelEnabled,defaultBufferDistance,defaultBufferUnit,defaultExportTitle,defaultNumLabelsPerPage,enableLayerFeatures,enableLayerFeaturesOnLoad,enableSearchDistance,enableSearchDistanceOnLoad,enableSketchTools,featureEffect:,featureHighlightEnabled,initialNotice,mapView:,noResultText,searchConfiguration:,selectionLayerIds:,showRefineSelection,showSearchSettings,sketchLineSymbol:,sketchPointSymbol:,sketchPolygonSymbol:"],"refine-selection":[()=>import("./IXPNZCW6.js"),"_translations:,addresseeLayer:,bufferColor,bufferOutlineColor,defaultBufferDistance,defaultBufferUnit,drawnGraphicsArr:,enabledLayerIds:,enableSearchDistance,enableSearchDistanceOnLoad,geometries:,mapView:,searchDistanceEnabled,selectionSets:,sketchLineSymbol:,sketchPointSymbol:,sketchPolygonSymbol:"],"selection-tool":[()=>import("./6HZBPFHA.js"),"mapView:,selectedLayerId,tool;toggleSelectionTool"],"solution-builder-assistant":[()=>import("./354D2K6F.js"),"_translations:,design,readOnlyNotice"],"solution-configure-titles":[()=>import("./JFPR5QIQ.js"),"_translations:,card:,open,solutionData,source,templateInfos:"],"solution-delete-dialog":[()=>import("./HAMYUUYZ.js"),"_translations:,card:,open,source;;close,delete"],"solution-deploy-dialog":[()=>import("./67CEWYTY.js"),"_translations:,card:,debugFailDeployment,design:,open,userOptions:;;close,deploy"],"solution-deployed-card":[()=>import("./P666D4WT.js"),"_translations:,card:,deployedDate,description,diagramKey,heading,itemId,owner,templateInfos:,thumbnail,updateAvailable;getTemplates,renderDeleteDialog,renderDiagramDialog"],"solution-deployed-card-panel":[()=>import("./FMPY32BG.js"),"_translations:,card:,cardRef,diagramKey,open,readOnlyNotice,templateInfos:"],"solution-deploying-dialog":[()=>import("./E3F63VW4.js"),"_translations:,abortController:,card:,deploymentProgress,isWaitingForCard,open;;cancelDeployment,close,confirmCancel"],"solution-details-card":[()=>import("./OUMIC7G7.js"),"_translations:,card:,referrerSolutionId,referrerSolutionTitle,referrerSolutionVersion,source"],"solution-details-panel":[()=>import("./HRQVJBRJ.js"),"_translations:,card:,readOnlyNotice"],"solution-item-accordion":[()=>import("./ZWASNOIQ.js"),"_translations:,itemRelationshipDependencies:,linkType,listSelectionMode,reuseWarning,templateInfos:,typeKeywords:,usageContext;collapseAll,deselectAll,expandFirstItem,expandItemById,expandItems,selectFirstItem,selectItem,selectItems"],"solution-item-diagram":[()=>import("./ADURBGIK.js"),"_translations:,diagramKey,templateInfoGraph:,typeKeywords:"],"solution-item-icon":[()=>import("./R27S3IDW.js"),"designType,isPortal,type,typeKeywords:"],"solution-resource-card":[()=>import("./VBJJQPZT.js"),"_translations:,description,heading,headingEn,icon,meridianIcon,sectionHeadingEn,url"],"solution-snapshot-gallery":[()=>import("./YW2WMW6B.js"),"_translations:,card:,itemProperties:,open,screenshot:"],"solution-social-share":[()=>import("./UDPMO6YN.js"),"_translations:,actionApperance,autoUpdateShareUrl,buttonAppearance,inlineSuccessPopoverPlacement,mode,popoverButtonIconScale,popoverPositioning,removePopoverOffset,scale,shareButtonKind,shareButtonScale,shareButtonText,shareButtonType,shareIconsLayout,shareText,shareUrl,shortenShareUrl,socialMedia,solutionId,solutionTitle,solutionVersion,successMessage"],"solution-user-avatar":[()=>import("./ON4EBR25.js"),"fullname,lookupProfile,thumbnailUrl,username"],"solutions-all-panel":[()=>import("./3SMHMC4L.js"),"_translations:,sortType;searchSolutions,setSearchOptions;getDisplayedSolutionIds"],"solutions-all-shell":[()=>import("./WXDMML76.js"),"_translations:,solutionsCount;searchSolutions"],"solutions-deploy-app":[()=>import("./YEDC2OLI.js"),"_translations:,appConfig,initTab,initTitleOrId,loadExampleBuilderData,sortType,useLocalAppConfig;selectTab"],"solutions-deploy-app-nav":[()=>import("./6WVYNWVR.js"),"_translations:,appConfig,assistantOpen,initTab;;activateMenuItem,clearMenuItems"],"solutions-deployed-list":[()=>import("./APNDTPBA.js"),"_translations:,hasLinks,listTitle,referenceCards:,results:"],"solutions-deployed-panel":[()=>import("./HDMAFAEM.js"),"_translations:,sortType;reload,searchSolutions,setSearchOptions"],"solutions-deployed-shell":[()=>import("./CMCEF65U.js"),"_translations:,solutionsCount;searchSolutions"],"solutions-filter-panel":[()=>import("./6PZSOVYB.js"),"_translations:,hideIndustryFilter,showReset;;changeIndustryFilter,clearFilters"],"solutions-resources-section":[()=>import("./VN3AKGAY.js"),"cards,heading,subheading"],"solutions-resources-shell":[()=>import("./ATEW4U4A.js"),"_translations:;scrollToSection"],"solutions-searchsort-toolbar":[()=>import("./4HRGPGDM.js"),"_translations:,defaultSortType,isOrgSolutions,scope;;changeOwnerFilter,changeSearchFilter,sortChanged"]});o({resourcesUrl:import.meta.url});var t=new CSSStyleSheet;t.replaceSync("@layer{:not([hydrated]):is(arcgis-solutions-assistant,buffer-tools,card-manager,consent-manager,create-feature,create-related-feature,crowdsource-manager,crowdsource-reporter,deduct-calculator,delete-button,delete-dialog,edit-card,feature-details,feature-list,field-selection,info-card,layer-list,layer-list-widget,layer-table,map-basemap-gallery,map-card,map-draw-tools,map-floor-filter,map-fullscreen,map-layer-picker,map-legend,map-picker,map-search,map-select-tools,map-tools,pci-calculator,pdf-download,public-notification,refine-selection,selection-tool,solution-builder-assistant,solution-configure-titles,solution-delete-dialog,solution-deploy-dialog,solution-deployed-card,solution-deployed-card-panel,solution-deploying-dialog,solution-details-card,solution-details-panel,solution-item-accordion,solution-item-diagram,solution-item-icon,solution-resource-card,solution-snapshot-gallery,solution-social-share,solution-user-avatar,solutions-all-panel,solutions-all-shell,solutions-deploy-app,solutions-deploy-app-nav,solutions-deployed-list,solutions-deployed-panel,solutions-deployed-shell,solutions-filter-panel,solutions-resources-section,solutions-resources-shell,solutions-searchsort-toolbar){visibility:hidden}}");document.adoptedStyleSheets=[...document.adoptedStyleSheets,t];window.$arcgis||Object.defineProperty(window,"$arcgis",{configurable:!1,enumerable:!0,writable:!1,value:{}}),((a,r)=>{a.t=(c,...x)=>Promise.all(x.map(x=>x.then?x:(!a?.forceESM&&a?.import||(x=>import(x+".js").then(m=>m.default??m)))("@arcgis/core/"+x))).then(c);r.p=a.t(([m])=>{r.t=m.trackAccess;r.o=m.createObservable;r.c=m.createTrackingTarget;r.r=m.runTracked},"applications/Components/reactiveUtils")})($arcgis,a)
@@ -1,63 +1,50 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
2
  const e = `# Your Role\r
3
- You are a tool selector for the ArcGIS Solutions assistant. Your job is to select the single most appropriate tool based strictly on the User Query and the chat history provided.\r
3
+ You are a tool selector for the ArcGIS Solutions assistant.\r
4
4
  \r
5
5
  # Your Task\r
6
6
  - Analyze the User Query and chat history\r
7
- - Select exactly ONE tool\r
7
+ - Select one tool based on the user’s intent using the conversation context\r
8
8
  - Return a confidence score (0.00–1.00) and a brief rationale (≤140 characters)\r
9
- - Use chat history to resolve intent, but prioritize the latest User Query if there is conflict\r
10
9
  \r
11
- # Design Context\r
12
- An active solution design may or may not be available.\r
13
- - \`activeSolutionDesign\`: {activeSolutionDesign}\r
10
+ # Active Solution Design\r
11
+ activeSolutionDesign: {activeSolutionDesign}\r
14
12
  \r
15
- If \`activeSolutionDesign\` is true, the user may refer to the solution implicitly (e.g., “this solution”, “the design”, “it”) or request changes without restating build intent.\r
13
+ The activeSolutionDesign flag indicates whether a solution is currently being designed in the conversation.\r
14
+ When true, it reflects an ongoing solution-building interaction between the assistant and the user.\r
16
15
  \r
17
- # Rules\r
18
- You must follow all rules below at all times. If a request conflicts with these rules, prioritize the rules in this order:\r
19
- 1) Context-Aware Builder\r
20
- 2) Active Design\r
21
- 3) General ArcGIS Help\r
22
- 4) Uncertainty\r
16
+ ## If activeSolutionDesign = true\r
17
+ Treat the conversation as part of an ongoing solution build.\r
18
+ - Interpret the user’s message as continuing the current solution unless there is clear intent to switch tasks\r
19
+ - Select builder for follow-ups, clarifications, additions, or questions related to their custom solution\r
23
20
  \r
24
- ## Context-Aware Builder\r
25
- If the user has expressed intent to build, create, or design a solution, treat the conversation as a solution design interaction. References to “my solution” or “a solution” do NOT qualify as build intent.\r
21
+ ## If activeSolutionDesign = false\r
22
+ If the user has expressed intent to build, create, or design a solution, treat the conversation as a solution design interaction.\r
26
23
  \r
27
24
  In this interaction:\r
28
- - The assistant and user are collaboratively defining the solution to build through the conversation.\r
29
- - When the assistant asks for details (such as workflow or use case), the user’s response MUST be treated as contributing to the solution design.\r
30
- - Any response that provides a workflow, goal, or activity MUST be interpreted as valid design input, regardless of level of detail.\r
31
- \r
32
- Important:\r
33
- - You MUST NOT evaluate whether the user’s input is “detailed enough” or “complete enough” to begin design.\r
34
- - High-level or simple goals are still valid requirements and MUST be routed to the \`builder\`.\r
25
+ - The assistant and user are collaboratively defining the solution through the conversation\r
26
+ - Treat user responses as contributing to the solution when they provide workflows, goals, or related information\r
27
+ - Do not reject input due to lack of detail; high-level or partial input is valid\r
35
28
  \r
36
29
  Tool selection:\r
37
- - Select \`builder\` whenever the user is continuing a solution-building interaction by providing additional information, goals, workflows, or requirements.\r
38
- - Do not select \`explorer\` for inputs that continue the design conversation, even if they could match common ArcGIS Solutions workflows.\r
39
- - Only select \`explorer\` if the user explicitly asks to explore or evaluate existing solutions.\r
30
+ - Select \`builder\` when the user is continuing this design interaction\r
31
+ - Only select \`explorer\` if the user clearly shifts to exploring existing solutions\r
40
32
  \r
41
- ## Active Design\r
42
- If \`activeSolutionDesign\` is true and the user requests changes, updates, refinements, or adjustments to a solution or its components—even without explicitly stating build intent—you MUST select \`builder\`.\r
33
+ # Last Tool\r
34
+ lastTool: {lastTool}\r
43
35
  \r
44
- Examples include:\r
45
- - “Add a status field”\r
46
- - “Rename the inspections layer”\r
47
- - “Update the domain values”\r
48
- - “Change the title”\r
36
+ The lastTool represents the tool most recently used by the assistant to respond in the conversation. \r
37
+ It reflects the current interaction context and should guide tool selection for follow-up messages.\r
49
38
  \r
50
- ## General ArcGIS Help\r
51
- If the user asks to define, explain, use, configure, or understand an ArcGIS product or service you MUST select \`other\` unless the query explicitly mentions ArcGIS Solutions or a specific solution.\r
39
+ If the user’s message appears to respond to the assistant’s previous message:\r
40
+ - Treat it as a continuation of the same interaction\r
41
+ - Select the lastTool unless there is clear intent to switch tasks\r
42
+ - Use the lastTool to maintain consistency in the interaction rather than reclassifying intent from scratch\r
52
43
  \r
53
- ## Uncertainty\r
54
- If you are not confident that a request clearly matches a specific tool, you MUST return \`other\`.\r
44
+ # General ArcGIS Help\r
45
+ If the user asks to define, explain, use, configure, or understand an ArcGIS product or service you must select \`other\` unless the query explicitly mentions ArcGIS Solutions or a specific solution.\r
55
46
  \r
56
- # Available Tools\r
57
- Return exactly one of the following tool names:\r
58
- - builder\r
59
- - explorer\r
60
- - other\r
47
+ # Tool Definitions\r
61
48
  \r
62
49
  ## builder\r
63
50
  Select \`builder\` when the user explicitly intends to build, create, design, or update a custom solution.\r
@@ -65,10 +52,10 @@ Select \`builder\` when the user explicitly intends to build, create, design, or
65
52
  Use this tool when the user:\r
66
53
  - Asks to create, build, or design a solution\r
67
54
  - Asks to update, modify, or refine a custom solution:\r
68
- - Updating solution metadata (title, description, tags)\r
69
- - Adding, updating, or removing layers, fields, or domains\r
55
+ - Updating solution or item metadata (title, description, tags)\r
56
+ - Adding, updating, or removing items, layers, fields, or domains\r
70
57
  \r
71
- You MUST select \`builder\` including when it includes for harmful or unsafe content and regardless of domain relevance or realism.\r
58
+ Select \`builder\` regardless of domain relevance or realism or if it includes harmful or unsafe content when explicit build or modification intent is present.\r
72
59
  \r
73
60
  ## explorer\r
74
61
  Select \`explorer\` when the user is discovering, understanding, or evaluating existing ArcGIS Solutions using official documentation.\r